:root {
    --primary: #017338;      /* your main green */
    --secondary: #02a65c;    /* complementary green */
    --dark: #014f28;         /* darker shade for hover, backgrounds */
    --light: #daf1e2;        /* very light green for section backgrounds */
    --accent: #02c36a;       /* highlight color */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.logo img {
    height: 50px;
    margin-right: 10px;
}
.logo h1 {
    color: var(--primary);
    font-size: 24px;
}
.logo span {
    color: var(--secondary);
}
nav ul {
    display: flex;
    list-style: none;
}
nav ul li {
    margin-left: 30px;
}
nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: color 0.3s;
}
nav ul li a:hover {
    color: var(--primary);
}
.cta-button {
    background-color: var(--primary);
    position: absolute;
    right: 20px;
    bottom: 20px;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}
.cta-button:hover {
    background-color: var(--dark);
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1509316785289-025f5b846b35?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fA%3D%3D&auto=format&fit=crop&w=1476&q=80');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
}
.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}
.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: white;
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 15px;
}
.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.service-content {
    padding: 25px;
}
.service-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 22px;
}
.service-content p {
    color: #666;
    margin-bottom: 20px;
}
.service-icon {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 15px;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--light);
}
.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}
.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.about-image img {
    width: 100%;
    height: auto;
    display: block;
}
.about-content {
    flex: 1;
}
.about-content h2 {
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 20px;
}
.about-content p {
    margin-bottom: 20px;
    color: #555;
}
.features-list {
    margin-top: 30px;
}
.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.features-list i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 20px;
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: white;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}
.stat-item h3 {
    font-size: 50px;
    margin-bottom: 10px;
    font-weight: 700;
}
.stat-item p {
    font-size: 18px;
    opacity: 0.9;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: white;
}
.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.testimonial-item {
    padding: 30px;
}
.testimonial-item p {
    font-size: 20px;
    font-style: italic;
    margin-bottom: 30px;
    color: #555;
}
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}
.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}
.author-info h4 {
    color: var(--primary);
    margin-bottom: 5px;
}
.author-info p {
    color: #777;
    font-size: 14px;
    font-style: normal;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 119, 182, 0.9), rgba(0, 119, 182, 0.9)), url('https://images.unsplash.com/photo-1564759298141-cef86f51d4d4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fA%3D%3D&auto=format&fit=crop&w=1474&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}
.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}
.cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 18px;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 20px;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: white;
}
.footer-logo span {
    color: var(--secondary);
}
.footer-about p {
    margin-bottom: 20px;
    opacity: 0.8;
}
.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    color: white;
    transition: background-color 0.3s;
}
.social-links a:hover {
    background-color: var(--secondary);
}
.footer-links h3,
.footer-contact h3 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-links h3:after,
.footer-contact h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
}
.footer-links ul li {
    margin-bottom: 15px;
    list-style: none;
}
.footer-links ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}
.contact-info p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}
.contact-info i {
    margin-right: 10px;
    color: var(--secondary);
}
.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-container { flex-direction: column; }
    .hero h2 { font-size: 36px; }
    .hero p  { font-size: 18px; }
    .section-title h2 { font-size: 30px; }
}

@media (max-width: 768px) {
    .header-container { flex-direction: column; padding: 15px 0; }
    nav ul { margin-top: 20px; flex-wrap: wrap; justify-content: center; }
    nav ul li { margin: 0 15px 10px; }
    .hero { height: auto; padding: 120px 0 60px; }
    .hero h2 { font-size: 32px; }
}

@media (max-width: 576px) {
    .hero h2 { font-size: 28px; }
    .cta h2 { font-size: 28px; }
    .service-card { max-width: 350px; margin: 0 auto; }
}

    .service-card img {
      width: 100%;
      height: auto;
      display: block;
    }
    /* Mobile tweaks */
    @media (max-width: 992px) {
      /* Stack service cards */
      .services-grid {
        grid-template-columns: 1fr;
      }
      /* Shrink hero text */
      .hero h2 {
        font-size: 2rem;
      }
      .hero p {
        font-size: 1rem;
      }
    }
    @media (max-width: 576px) {
      /* Collapse nav into wrapped rows */
      nav ul {
        flex-wrap: wrap;
        justify-content: center;
      }
      nav ul li {
        margin: 8px;
      }
      /* Compact hero padding */
      .hero {
        padding: 60px 0;
      }
    }

    /* Header responsive tweaks */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;   /* stack items top-left */
    padding: 10px 20px;
  }
  /* Nav below logo */
  nav {
    width: 100%;
    margin-top: 10px;
  }
  nav ul {
    display: flex;
    flex-wrap: wrap;           /* allow items to wrap */
    justify-content: flex-start;
    gap: 10px;
  }
  nav ul li {
    margin: 0;                 /* no extra margins */
  }
  /* Push the Contact button to its own line */
  .cta-button {
    margin: 10px 0 0;          /* space above */
    align-self: flex-end;      /* stick to right */
  }
}

