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 Section ===== */
.hero {
  text-align: center;
  padding: 80px 20px;
  background-color: #f1efe7;
}

.hero h1, .hero h2 {
  font-size: 36px;
  font-weight: 700;
  color: #042348;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  color: #555;
  max-width: 700px;
  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;
  display: inline-block;
  transition: background 0.3s ease;
}

.button:hover {
  background-color: #2563eb;
}

.card-icon {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto 30px;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* ===== Highlight Cards Section ===== */
.service-highlights {
  background-color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.service-highlights h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #292929;
  font-weight: 600;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.highlight-card {
  background-color: #f1efe7;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-6px);
}

.highlight-card i {
  font-size: 36px;
  color: #3c82f6;
  margin-bottom: 15px;
}

.highlight-card h3 {
  font-size: 20px;
  color: #1e1e1e;
  margin-bottom: 10px;
}

.highlight-card p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/* ===== Services Section / Process Steps ===== */
.services {
  padding: 80px 20px;
  background-color: #f1efe7;
}

.services h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 50px;
  color: #1e1e1e;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.service-card h3 {
  font-size: 22px;
  color: #1e1e1e;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 16px;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.6;
}
.techstack-section {
  background-color: #ffffff;
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.techstack-section h2 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 15px;
  color: #042348;
}

.techstack-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #555;
  font-size: 16px;
}

.tech-category {
  margin-bottom: 40px;
}

.tech-category h3 {
  font-size: 22px;
  color: #292929;
  margin-bottom: 15px;
  border-bottom: 2px solid #f1efe7;
  padding-bottom: 8px;
}

.tech-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.tech-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  position: relative;
}

.tech-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}

.tech-content {
  display: none;
  text-align: left;
  margin-top: 10px;
}

.tech-item.open .tech-content {
  display: block;
}

.tech-content h4 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #042348;
}

.tech-content p {
  margin: 0;
  font-size: 14.5px;
  color: #444;
  line-height: 1.5;
}

.ml-tech-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .ml-tech-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ml-tech-items {
    grid-template-columns: 1fr;
  }
}


/* Optional: make responsive */
@media (max-width: 768px) {
  .tech-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .tech-item img {
    margin-bottom: 10px;
  }
}

.infrastructure-tech-items {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.tech-item {
  flex: 1 1 22%; /* Adjust each item to take equal width (approx 22%) */
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .infrastructure-tech-items {
    flex-direction: column;
    align-items: center;
  }

  .tech-item {
    width: 80%; /* Stack items vertically on smaller screens */
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .tech-item {
    width: 100%; /* Full width on mobile */
  }
}

  .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 */
    }
  }