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;
  margin-bottom: 20px;
}

.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.08);
  margin-top: 20px;
}

/* Chat Demo */
.chat-demo {
  background-color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.chat-demo h2 {
  font-size: 30px;
  margin-bottom: 40px;
  color: #042348;
}

.chat-card {
  background: #f9f9f9;
  border: 1px solid #e3e3e3;
  border-radius: 20px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: left;
}

.chat-header {
  background-color: #3c82f6;
  color: white;
  padding: 16px 20px;
  font-weight: bold;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-status {
  font-size: 13px;
  font-weight: normal;
  color: #d6eaff;
}

.chat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: #f1efe7;
}

.chat-message {
  display: flex;
}

.chat-message.user {
  justify-content: flex-end;
}

.chat-message.bot {
  justify-content: flex-start;
}

.bubble {
  padding: 12px 16px;
  border-radius: 20px;
  max-width: 75%;
  font-size: 15px;
  line-height: 1.5;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.chat-message.user .bubble {
  background-color: #ffffff;
  color: #292929;
  border-bottom-right-radius: 4px;
}

.chat-message.bot .bubble {
  background-color: #e6f0ff;
  color: #042348;
  border-bottom-left-radius: 4px;
}

.typing {
  background-color: #e6f0ff;
  color: #042348;
  padding: 12px 16px;
  border-radius: 20px;
  font-size: 15px;
  display: inline-block;
  font-style: italic;
  opacity: 0.7;
}

@keyframes dots {
  0% { content: ''; }
  33% { content: '.'; }
  66% { content: '..'; }
  100% { content: '...'; }
}


/* Responsive */
@media (max-width: 600px) {
  .bubble {
    font-size: 14px;
    max-width: 90%;
  }
}


/* Benefits */
.benefits-section {
  background: #f1efe7;
  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;
}

.benefit p {
  font-size: 15px;
  color: #444;
}

/* Platforms */
.platform-section {
  background-color: #ffffff;
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.platform-section h2 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 15px;
  color: #042348;
}

.platform-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #555;
  font-size: 16px;
}

.platform-category {
  margin-bottom: 40px;
}

.platform-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.platform-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  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;
}

.platform-item img:first-of-type {
  width: 55px;
  height: 55px;
  object-fit: contain;
  margin-bottom: 10px;
}

.platform-preview {
  width: 100%;
  max-height: 120px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}

.platform-content {
  display: none;
  text-align: left;
  margin-top: 10px;
}

.platform-item.open .platform-content {
  display: block;
}

.platform-content h4 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #042348;
}

.platform-content p {
  margin: 0;
  font-size: 14.5px;
  color: #444;
  line-height: 1.5;
}

.usecases {
  background: #f1efe7;
  padding: 80px 20px;
  text-align: center;
}

.usecases h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #042348;
}

.usecase-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.usecase-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
  padding: 15px 20px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease;
}

.usecase-list li:hover {
  transform: translateY(-3px);
}

.usecase-list i {
  font-size: 22px;
  color: #3c82f6;
  flex-shrink: 0;
  margin-top: 2px;
}

.usecase-list strong {
  font-size: 16px;
  color: #042348;
}

.usecase-list div {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}

.usecase-list li {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.usecase-list li:nth-child(1) { animation-delay: 0.1s; }
.usecase-list li:nth-child(2) { animation-delay: 0.2s; }
.usecase-list li:nth-child(3) { animation-delay: 0.3s; }
.usecase-list li:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* CTA */
.cta-section {
  background: #f1efe7;
  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;
  color: #555;
}

.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 */
    }
  }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }

  .chat-window {
    padding: 15px;
  }

  .message {
    font-size: 14px;
  }

  .benefits-grid {
    flex-direction: column;
    align-items: center;
  }

  .platform-icons {
    gap: 20px;
  }
}
