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;
}

.hero {
  padding: 150px 25px 55px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 400;
}

.hero p {
  font-size: 18px;
  color: #666;
  max-width: 600px;
  margin: 0 auto 40px;
}

.button {
  background-color: #3c82f6;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 9999px;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.3s;
}

.button:hover {
  background-color: #2563eb;
}
.services {
  padding: 80px 20px;
  background-color: #f8f8f8;
}

.services h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 50px;
  color: #1e1e1e;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
}

.card-icon {
  width: 100%;
  max-width: 350px; /* Adjust this value as needed */
  height: auto;
  display: block;
  margin: 0 auto 20px auto; /* Center the image and add spacing below */
  border-radius: 12px; /* Optional: makes corners slightly rounded */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Optional: image shadow */
}


.service-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #1e1e1e;
}

.service-card p {
  font-size: 15px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

  .service-button {
  display: inline-block;
  background-color: #3c82f6;
  color: white !important;
  padding: 10px 20px;
  border: none;
  border-radius: 9999px;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none !important;  /* remove underline */
  transition: background 0.3s;
  text-align: center;
}

.service-button:hover {
  background-color: #2563eb;
}

.introduction {
  padding: 80px 20px;
  background-color: #f1efe7;
  text-align: center;
}

.introduction h4 {
  font-size: 18px;
  color: #3c82f6;
  margin-bottom: 20px;
  font-weight: 500;
}

.introduction p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 30px;
  color: #292929;
  line-height: 1.6;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  color: #3c82f6;
  font-size: 24px;
  margin: 0 10px;
  transition: transform 0.3s, color 0.3s;
  text-decoration: none;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: #2563eb;
}

.features {
  padding: 80px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.features h4 {
  font-size: 18px;
  color: #3c82f6;
  margin-bottom: 10px;
  font-weight: 500;
}

.features h2 {
  font-size: 32px;
  color: #292929;
  margin-bottom: 50px;
  font-weight: 600;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}


.feature-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 0 24px #00000014;
  text-align: center;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #292929;
}

.feature-card p {
  font-size: 16px;
  color: #666;
}

.icon-circle {
  width: 60px;
  height: 60px;
  background-color: #3c82f6; /* Or any color you like */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  color: white;
  font-size: 24px; /* Adjust as needed */
}

.how-it-works {
  padding: 80px 20px;
  background-color: #f1efe7;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

.how-left, .how-right {
  flex: 1 1 400px;
}

.how-left {
  background-color: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 0 24px #00000014;
  text-align: left;
}

.stars {
  font-size: 24px;
  margin-bottom: 20px;
  color: #ffb400;
}

.how-left p {
  font-size: 18px;
  color: #292929;
  line-height: 1.6;
}

.how-right h4 {
  font-size: 18px;
  color: #3c82f6;
  margin-bottom: 10px;
  font-weight: 500;
}

.how-right h2 {
  font-size: 32px;
  color: #292929;
  margin-bottom: 30px;
}

.how-right ul {
  list-style: none;
  padding: 0;
}

.how-right li {
  margin-bottom: 30px;
  text-align: left;
}

.how-right li strong {
  display: block;
  font-size: 20px;
  margin-bottom: 5px;
  color: #292929;
}

.how-right li p {
  color: #666;
  font-size: 16px;
}
.timeline {
  position: relative;
  list-style: none;
  padding-left: 30px;
  margin-left: 10px;
  border-left: 2px solid #3c82f6;
}

.timeline li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 40px;
}

.timeline-marker {
  position: absolute;
  left: -12px;
  top: 0;
  width: 14px;
  height: 14px;
  background-color: #3c82f6;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 2px #3c82f6;
}

.timeline-content strong {
  font-size: 20px;
  color: #292929;
  display: block;
  margin-bottom: 5px;
}

.timeline-content p {
  color: #666;
  font-size: 16px;
  line-height: 0.8;
}


.about-us {
  padding: 80px 20px;
  background-color: #f8f8f8;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: 0 0 24px #00000014;
}

.about-content {
  flex: 1 1 500px;
}

.about-content h4 {
  font-size: 18px;
  color: #3c82f6;
  margin-bottom: 10px;
  font-weight: 500;
}

.about-content h2 {
  font-size: 32px;
  color: #292929;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

.about-content .button {
  margin-bottom: 40px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
}

.about-stats .stat {
  text-align: center;
}

.about-stats .stat h3 {
  font-size: 24px;
  color: #292929;
  margin-bottom: 8px;
}

.about-stats .stat p {
  font-size: 14px;
  color: #666;
}

.team {
  padding: 80px 20px;
  background-color: #f1efe7;
  text-align: center;
}

.team h4 {
  font-size: 18px;
  color: #3c82f6;
  margin-bottom: 10px;
  font-weight: 500;
}

.team h2 {
  font-size: 32px;
  color: #292929;
  margin-bottom: 50px;
  font-weight: 600;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.team-member {
  background: white;
  padding: 20px;
  border-radius: 16px;
  width: 220px;
  box-shadow: 0 0 24px #00000014;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.team-member img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 15px;
}

.team-member h3 {
  font-size: 18px;
  color: #292929;
  margin-bottom: 5px;
}

.team-member p {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.arrow {
  font-size: 20px;
  color: #3c82f6;
  margin-top: auto;
  cursor: pointer;
}

.team-grid.hidden {
  display: none;
}

/* Bio slider styles */
.team-bio-slider {
  display: none;
  padding: 40px 20px;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: slideIn 0.5s ease forwards;
  max-width: 600px;
  margin: 40px auto 0;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.bio-content {
  text-align: center;
}

.bio-content h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.bio-content p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.back-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #3c82f6;
  color: white;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease;
}

.back-btn:hover {
  background-color: #2563eb;
}


.cta {
  padding: 80px 20px;
  background: linear-gradient(135deg, #3c82f6, #74b9ff);
  border-radius: 24px;
  margin: 80px auto;
  max-width: 1000px;
  text-align: center;
  color: white;
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-icon {
  font-size: 24px;
  background: white;
  color: #3c82f6;
  padding: 10px;
  border-radius: 9999px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta h2 {
  font-size: 24px;
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
}

.cta-button {
  background-color: white;
  color: #3c82f6;
  padding: 12px 24px;
  border: none;
  border-radius: 9999px;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: #e6f0ff;
}

.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 */
  }
}