body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #f1efe7;
  color: #292929;
  text-align: center;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #f1efe7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  box-shadow: none;
  border-bottom: none;
}
/* Mobile navbar styles */
.nav-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #292929;
}

@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: #f1efe7;
    flex-direction: column;
    display: none;
    padding: 20px 0;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  }

  nav a {
    padding: 10px 0;
    display: block;
  }

  .nav-toggle {
    display: block;
  }

  nav.active {
    display: flex;
  }

  header {
    flex-wrap: wrap;
  }
}



.logo img {
  max-height: 60px; /* control height properly */
  max-width: 220px; /* allow it to stretch horizontally */
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}


.logo small {
  font-weight: 300;
  font-size: 12px;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #666;
  font-weight: 500;
}

main {
  padding-top: 100px;
}

.hero {
  text-align: center;
  padding: 80px 20px;
}

.hero h1 {
  font-size: 42px;
  color: #042348;
}

.hero p {
  font-size: 18px;
  color: #555;
  max-width: 700px;
  margin: 0 auto 30px;
}

.hero-img {
  max-width: 600px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Benefits Section */
.benefits-section {
  background: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.benefits-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.benefit {
  max-width: 300px;
}

.benefit i {
  font-size: 36px;
  color: #3c82f6;
  margin-bottom: 10px;
}

.benefit h3 {
  font-size: 20px;
  color: #042348;
  margin-bottom: 10px;
}

/* Timeline Section */
.timeline-section {
  padding: 80px 20px;
  background-color: #f1efe7;
  text-align: center;
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  border-left: 3px solid #3c82f6;
  position: relative;
}

.timeline-step {
  position: relative;
  padding-left: 40px;
  margin-bottom: 40px;
  text-align: left;
}

.circle {
  width: 28px;
  height: 28px;
  background: #3c82f6;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  position: absolute;
  left: -15px;
  top: 0;
}

.timeline-content h3 {
  margin: 0;
  font-size: 18px;
  color: #042348;
}

.timeline-content p {
  margin-top: 5px;
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

.comparison-section {
  background-color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.comparison-section h2 {
  font-size: 30px;
  color: #042348;
  margin-bottom: 40px;
}

.comparison-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.comparison-box {
  background-color: #f1efe7;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  width: 280px;
  transition: transform 0.3s ease;
}

.comparison-box:hover {
  transform: translateY(-5px);
}

.comparison-box h4 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #3c82f6;
}

.comparison-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comparison-box ul li {
  font-size: 15px;
  color: #292929;
  margin-bottom: 10px;
}

.comparison-box.after {
  background-color: #e6f0ff;
}
.impact-stats {
  background-color: #f1efe7;
  padding: 80px 20px;
  text-align: center;
}

.impact-stats h2 {
  font-size: 30px;
  color: #042348;
  margin-bottom: 40px;
}

.stats-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat h3 {
  font-size: 48px;
  color: #3c82f6;
  margin-bottom: 10px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.stat p {
  font-size: 16px;
  color: #292929;
}

@media (max-width: 768px) {
  .stats-container {
    flex-direction: column;
    align-items: center;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .comparison-grid {
    flex-direction: column;
    align-items: center;
  }

  .impact-stats .stat {
    display: block;
    margin-bottom: 30px;
  }
}


/* CTA Section */
.cta-section {
  background: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.cta-section h2 {
  font-size: 30px;
  margin-bottom: 20px;
  color: #042348;
}

.cta-section p {
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 30px;
}

.button {
  background-color: #3c82f6;
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease;
}

.button:hover {
  background-color: #2563eb;
}

  .footer {
    background-color: #faf8f2;
    padding: 60px 20px 20px;
  }

  .footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;     
    text-align: center;           
    gap: 60px;                    
    max-width: 1000px;
    margin: 0 auto 40px;
  }

  .footer-branding {
    flex: 1 1 250px;
  }

  .footer-branding .logo {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
  }

  .footer-branding p {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;     
    gap: 60px;
  }


  .footer-column h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #292929;
  }

  .footer-column ul {
    list-style: none;
    padding: 0;
  }

  .footer-column ul li {
    margin-bottom: 8px;
  }

  .footer-column ul li a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
  }

  .footer-column ul li a:hover {
    color: #3c82f6;
  }

  .footer-bottom {
    background-color: #f8f8f8;
    padding: 20px 0;
    text-align: center;
  }

  .footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 14px;
    color: #777;
  }

  .footer-bottom a {
    color: #666;
    text-decoration: none;
  }

  .footer-bottom a:hover {
    color: #3c82f6;
  }

  /* ===== Responsive Layout Fixes ===== */
  @media (max-width: 768px) {
    /* Stack service cards */
    .services-grid {
      grid-template-columns: 1fr;
    }

    /* Stack feature cards */
    .features-grid {
      grid-template-columns: 1fr;
    }

    /* Stack how-it-works left and right columns */
    .how-it-works {
      flex-direction: column;
    }

    /* Stack about-us image and content */
    .about-container {
      flex-direction: column;
      align-items: center;
    }

    /* Stack team members vertically */
    .team-grid {
      flex-direction: column;
      align-items: center;
    }

    /* Center timeline content on small screens */
    .timeline {
      padding-left: 20px;
      margin-left: 0;
      border-left: 2px solid #3c82f6;
    }

    .timeline-marker {
      left: -10px;
    }

    .timeline-content p {
      font-size: 15px;
      line-height: 1.4;
    }

    /* Resize headings and text for mobile */
    h1 {
      font-size: 2rem;
    }

    h2 {
      font-size: 1.75rem;
    }

    p, li p {
      font-size: 1rem;
    }

    .hero {
      padding-top: 180px; /* ensure space for fixed header */
    }
  }