:root {
  --primary: #1a4d2e;
  --accent: #f4a261;
  --text: #333;
}

body, html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  color: var(--text);
}

.container {
  width: 90%;
  margin: auto;
  max-width: 1200px;
}

/* Header */
.site-header {
  background: var(--primary);
  color: white;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 0;
}
.nav ul {
  list-style: none;
  display: flex;
  gap: 1em;
}
.nav a {
  color: white;
  text-decoration: none;
}
.nav-toggle {
  display: none;
  font-size: 1.5em;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  height: 700px;
}
.hero img {
  width: 100%;
  height: 733px;
  object-fit: cover;
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}
.btn-primary {
  background: var(--accent);
  color: white;
  padding: 0.5em 1em;
  text-decoration: none;
  border-radius: 4px;
}

/* Services */
.services .service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1em;
  margin: 2em 0;
}
.service-card {
  border: 1px solid #ddd;
  padding: 1em;
  text-align: center;
}
.service-card i {
  font-size: 2em;
  margin-bottom: 0.5em;
}
.service-card a {
  display: inline-block;
  margin-top: 0.5em;
  color: var(--accent);
}

/* Blogs */

.blogs h2 {
  text-align: center;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1em;
}
.blog-card {
  border: 1px solid #ddd;
  padding: 1em;
}
.blog-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}



/* Footer */
.footer {
    margin-top: 10px;
  background: #222;
  color: white;
  padding: 2em 0;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
}
.footer-container > div {
  flex: 1 1 200px;
}
.footer a {
  color: #ddd;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 60px; /* below header */
    left: 0;
    width: 100%;
    background: var(--primary);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
  }
  .nav ul {
    flex-direction: column;
    padding: 0;
    margin: 0;
  }
  .nav ul li {
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav ul li a {
    display: block;
    padding: 1em;
  }
  .nav.active {
    max-height: 500px; /* enough to show all links */
  }
  .nav-toggle {
    display: block;
    font-size: 1.5em;
    cursor: pointer;
  }
  .site-header {
  position: relative;
  z-index: 10;
}

}
.login-container {
    max-width: 500px;
    margin: 50px auto;
}
.login-card {
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    width: 500px;
}
.login-card h2 {
    margin-bottom: 1.5rem;
    text-align: center;
}
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
}




     .team-section {
            padding: 40px 20px;
            background-color: #f7f7f7;
        }

        .team-section h2 {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 40px;
            font-weight: bold;
            color: #333;
        }

        .group-title {
            font-size: 1.8rem;
            margin: 30px 0 20px;
            color: #444;
            font-weight: 600;
            text-align: center;
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 20px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .team-card {
            background-color: #ffffff;
            border-radius: 12px;
            text-align: center;
            padding: 20px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            transition: 0.3s ease;
            cursor: pointer;
            margin: 10px 0px;
        }

        .team-card:hover {
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
            transform: translateY(-5px);
        }

        .team-card img {
            width: 100px;
            height: 100px;
            object-fit: cover;
            border-radius: 50%;
            border: 3px solid #ddd;
            margin-bottom: 15px;
        }

        .team-card h4 {
            font-size: 1rem;
            font-weight: 600;
            color: #333;
            margin-bottom: 5px;
        }

        .team-card p {
            font-size: 0.9rem;
            color: #777;
        }

        /* Modal */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.5);
        }

        .modal-content {
            background-color: #fff;
            margin: 10% auto;
            padding: 20px;
            border-radius: 10px;
            max-width: 500px;
            position: relative;
        }

        .modal-content h3 {
            margin-bottom: 10px;
        }

        .close-modal {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 24px;
            cursor: pointer;
            color: #888;
        }

        .close-modal:hover {
            color: #000;
        }


           .services-nav .nav-link {
            background-color: #cce6d8;
            /* light green-ish for inactive */
            color: #1a4d2e;
            /* text color dark green */
            border-radius: 0.375rem;
            /* rounded corners */
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        .services-nav .nav-link:hover {
            background-color: #a6d0b8;
            /* slightly darker on hover */
            color: #134225;
        }

        .services-nav .nav-link.active {
            background-color: #1a4d2e !important;
            /* your dark green */
            color: #ffffff !important;
            /* white text */
        }