/* Base Styles */
:root {
  --primary-color: #008080;
  --secondary-color: #495057;
  --accent-color: #00b894;
  --text-color: #212529;
  --light-bg: #f1f3f5;
  --border-color: #ced4da;
  --white: #ffffff;

  --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 6px 12px rgba(0, 0, 0, 0.15); /* Slightly stronger shadow */

  --spacing-xs: 0.5rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  overflow-x: hidden;
}

main {
  width: 100%;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  width: 100%;
  box-sizing: border-box;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-color); /* Maintain hover color */
  text-decoration: underline;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  margin-bottom: var(--spacing-sm);
  color: var(--text-color);
}

h1 {
  font-size: 44.8px;
  line-height: 1.2;
}

h2 {
  font-size: 35.2px;
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

h3 {
  font-size: 28.8px;
}

p {
  margin-bottom: var(--spacing-sm);
}

section {
  padding: var(--spacing-xl) 0;
  /* Added scroll-margin-top for all sections to align properly with fixed header */
  scroll-margin-top: 80px; /* Adjust this value based on header height */
}

.btn {
  display: inline-block;
  /* padding: 0.75rem 1.5rem; */
  padding: 4px 16px;

  border-radius: 5px;
  font-weight: var(--font-weight-semibold);
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease;
  border: 2px solid transparent;
}

.btn--primary {
  background-color: var(--primary-color);
  color: var(--white);
}
.btn--request {
  background-color: white;
  color: var(--primary-color);
}

.btn--primary:hover {
  /* background-color: #218838; */
  background-color: #006666;
  color: var(--white);
  text-decoration: none;
}

.btn--secondary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn--secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
}

.btn--large {
  padding: 1rem 2rem;
  font-size: 17.6px;
}

.btn--small {
  padding: 0.5rem 1rem;
  font-size: 14.4px;
}

/* Header */
.header {
  background-color: var(--white);
  padding: var(--spacing-sm) 0;
  box-shadow: var(--shadow-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  font-family: 'Poppins', sans-serif;
  font-size: 28.8px;
  font-weight: var(--font-weight-bold);
  color: var(--primary-color);
}
.logo-img {
  height: 50px;
  width: auto;
  cursor: pointer;
}

.header__nav {
  display: flex;
  align-items: center;
}

.header__menu {
  display: flex;
  margin-right: var(--spacing-md);
}

.header__menu-item {
  position: relative;
  margin-left: var(--spacing-lg);
}

.header__menu-item a {
  color: var(--text-color);
  font-weight: var(--font-weight-medium);
  padding: 0.5rem 0;
  display: block;
  transition: color 0.3s ease;
}

.header__menu-item a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.header__menu-item--has-dropdown {
  position: relative;
}

.header__menu-item--has-dropdown > a i {
  font-size: 12px;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.header__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  box-shadow: var(--shadow-light);
  border-radius: 5px;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

.header__menu-item--has-dropdown:hover .header__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header__submenu li a {
  padding: 10px 15px;
  white-space: nowrap;
  color: var(--text-color);
}

.header__submenu li a:hover {
  background-color: var(--light-bg);
  color: var(--primary-color);
}

.header__hamburger {
  display: none; /* Hidden on desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger__line {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, #eaf2f8, #d4e6f1);
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.hero__container {
  display: flex;
  flex-direction: column; /* Default to column on small screens */
  align-items: center;
  gap: var(--spacing-xl);
}

.hero__content {
  max-width: 700px;
}

.hero__title {
  font-size: 48px;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-md);
  color: var(--primary-color);
}

.hero__description {
  font-size: 20px;
  margin-bottom: var(--spacing-lg);
  color: var(--text-color);
}

.hero__cta-group {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.hero__image {
  width: 100%;
  max-width: 700px;
}

.hero__img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-light);
}

/* Client Strip Section */
.client-strip {
  background-color: var(--light-bg);
  padding: var(--spacing-lg) 0;
  text-align: center;
}

.client-strip__title {
  font-size: 28.8px;
  margin-bottom: var(--spacing-md);
  color: var(--primary-color);
}

.client-strip__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-md);
}

.client-strip__logos img {
  /* Adjusted heights and widths to simulate varied sizes */
  max-height: 75px;
  max-width: 160px;
  width: auto; /* Ensure aspect ratio is maintained */
  height: auto; /* Ensure aspect ratio is maintained */
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.client-strip__logos img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Features Section */
.features {
  background-color: var(--white);
}

.features__heading,
.features__subheading {
  text-align: center;
}

.features__subheading {
  font-size: 17.6px;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-xl);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.feature-card {
  background-color: var(--light-bg);
  padding: var(--spacing-lg);
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.feature-card__icon {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.feature-card__title {
  font-size: 22.4px;
  margin-bottom: var(--spacing-xs);
  color: var(--text-color);
}

.feature-card__description {
  font-size: 15.2px;
  color: var(--secondary-color);
}
/* small hero */

/* Services Section */
.services {
  background-color: #f0f8ff; /* Light blue background */
}

.services__heading,
.services__subheading {
  text-align: center;
}

.services__subheading {
  font-size: 17.6px;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-xl);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.service-card {
  background-color: var(--white);
  padding: var(--spacing-lg);
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Pushes button to bottom */
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.service-card__icon {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.service-card__title {
  font-size: 22.4px;
  margin-bottom: var(--spacing-xs);
  color: var(--text-color);
}

.service-card__description {
  font-size: 15.2px;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-md); /* Space before button */
  flex-grow: 1; /* Allows description to take up available space */
}

/* How It Works Section */
.how-it-works {
  background-color: var(--white);
}

.how-it-works__heading,
.how-it-works__subheading {
  text-align: center;
}

.how-it-works__subheading {
  font-size: 17.6px;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-xl);
}

.how-it-works__steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-lg);
  position: relative;
}

/* Line connecting steps for desktop */
.how-it-works__steps::before {
  content: '';
  position: absolute;
  top: 50px; /* Adjust based on step-card__number position */
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2 * var(--spacing-lg)); /* Adjust width */
  height: 2px;
  background-color: var(--border-color);
  z-index: 0;
  display: none; /* Hidden by default, enable on larger screens */
}

.step-card {
  background-color: var(--light-bg);
  padding: var(--spacing-lg);
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-light);
  position: relative;
  z-index: 1; /* Ensures cards are above the line */
  flex: 1 1 calc(25% - var(--spacing-lg)); /* Roughly 4 items per row */
  max-width: 280px; /* Max width for each card */
}

.step-card__number {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  margin: 0 auto var(--spacing-sm);
  border: 3px solid var(--white); /* White border to stand out against line */
}

.step-card__title {
  font-size: 20.8px;
  margin-bottom: var(--spacing-xs);
  color: var(--text-color);
}

.step-card__description {
  font-size: 14.4px;
  color: var(--secondary-color);
}

/* Benefits Section */
.benefits {
  background-color: #e6f3ff; /* Lighter blue */
}

.benefits__heading,
.benefits__subheading {
  text-align: center;
}

.benefits__subheading {
  font-size: 17.6px;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-xl);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.benefit-card {
  background-color: var(--white);
  padding: var(--spacing-lg);
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.benefit-card__icon {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.benefit-card__title {
  font-size: 22.4px;
  margin-bottom: var(--spacing-xs);
  color: var(--text-color);
}

.benefit-card__description {
  font-size: 15.2px;
  color: var(--secondary-color);
}

/* Testimonials Section */
.testimonials {
  background-color: var(--light-bg);
}

.testimonials__heading,
.testimonials__subheading {
  text-align: center;
}

.testimonials__subheading {
  font-size: 17.6px;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-xl);
}

.testimonial-slider {
  display: flex;
  overflow-x: auto; /* Enable horizontal scrolling */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: var(--spacing-lg);
  padding-bottom: var(--spacing-sm); /* Space for scrollbar */
}

.testimonial-card {
  flex: 0 0 auto; /* Do not grow or shrink, take auto width */
  width: 100%; /* Default to full width on small screens */
  min-width: 300px; /* Minimum width for the card */
  max-width: 500px; /* Max width for card */
  background-color: var(--white);
  padding: var(--spacing-lg);
  border-radius: 8px;
  box-shadow: var(--shadow-light);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card__quote {
  font-size: 17.6px;
  font-style: italic;
  color: var(--text-color);
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  margin-top: var(--spacing-md);
}

.testimonial-card__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: var(--spacing-sm);
  border: 2px solid var(--primary-color);
}

.testimonial-card__info {
  display: flex;
  flex-direction: column;
}

.testimonial-card__name {
  font-weight: var(--font-weight-semibold);
  color: var(--primary-color);
}

.testimonial-card__title {
  font-size: 14.4px;
  color: var(--secondary-color);
}

/* CTA Section */
.cta {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: var(--spacing-xl) 0;
}

.cta__heading {
  font-size: 40px;
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

.cta__description {
  font-size: 19.2px;
  margin-bottom: var(--spacing-lg);
  opacity: 0.9;
}

.cta .btn--primary {
  background-color: var(--accent-color); /* Use accent color for stronger CTA */
  border-color: var(--accent-color);
}

.cta .btn--primary:hover {
  background-color: #218838; /* Darker green */
  border-color: #218838;
}

/* Contact Section */
/* CSS */
.contact-section {
  padding: 4rem 2rem;
  font-family: 'Arial', sans-serif;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}

.subtitle {
  text-align: center;
  margin-bottom: 2rem;
  color: #555;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 14.4px;
}

.contact-form input,
.contact-form textarea {
  margin-top: 0.4rem;
  padding: 0.75rem;
  font-size: 15.2px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.btn-submit {
  /* background-color: #004fc4; */
  background-color: #00a8a8;
  color: white;
  padding: 0.9rem;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-submit:hover {
  /* background-color: #003fa0; */
  background-color: #00a8a8;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  background: #f1f7fe;
  padding: 2rem;
  border-radius: 10px;
}

.contact-info h3 {
  margin-bottom: 1rem;
  font-size: 20.8px;
}

.contact-info p {
  margin-bottom: 1.2rem;
  color: #666;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.contact-info li {
  margin-bottom: 0.75rem;
  font-size: 15.2px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-icons a {
  margin-right: 10px;
  color: #333;
  font-size: 19.2px;
  text-decoration: none;
}

.social-icons a:hover {
  color: #004fc4;
}
s body,
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Footer */
/* Footer Base */
.footer {
  background-color: #0f172a;
  color: #cbd5e1;
  padding: 3rem 2rem;
  font-family: 'Segoe UI', sans-serif;
  width: 100%;
}

/* Footer Inner Layout */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

/* Footer Columns */
.footer-column {
  flex: 1 1 200px;
  min-width: 180px;
}

.footer-title {
  color: white;
  font-size: 16px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-description {
  font-size: 14.4px;
  color: #94a3b8;
  line-height: 1.5;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  /* color: #60a5fa; */
  color: #00a8a8;
  text-decoration: none;
  font-size: 14.4px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Footer Bottom Section */
.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  color: #94a3b8;
  font-size: 13.6px;
}

.footer-bottom hr {
  border: none;
  border-top: 1px solid #334155;
  margin-bottom: 1rem;
}

/* Responsive: Stack columns on small screens */
@media (max-width: 992px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-column {
    min-width: 100%;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: var(--spacing-md);
  right: var(--spacing-md);
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: var(--shadow-light);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 999;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  /* background-color: #004085; */
  background-color: #00a8a8;
}

/* Responsive Design */
@media (min-width: 992px) {
  .hero__container {
    flex-direction: row; /* Side-by-side for larger screens */
    text-align: left;
    justify-content: center; /* Center content horizontally */
    align-items: center;
  }

  .hero__content {
    text-align: left; /* Align text to left */
    flex: 1;
    padding-right: var(--spacing-xl); /* Space between text and image */
  }

  .hero__image {
    flex: 1;
    max-width: 50%; /* Adjust max-width for image */
  }

  .hero__cta-group {
    justify-content: flex-start; /* Align CTA buttons to left */
  }
}

@media (max-width: 992px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28.8px;
  }

  .header__menu {
    margin-right: var(--spacing-sm);
  }

  .header__menu-item {
    margin-left: var(--spacing-md);
  }

  .hero__container {
    flex-direction: column;
    text-align: center;
  }

  .hero__content,
  .hero__image {
    max-width: 100%;
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__description {
    font-size: 17.6px;
  }

  .hero__cta-group {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .how-it-works__steps::before {
    display: none; /* Hide line on smaller screens */
  }

  .testimonial-card {
    width: 90%; /* Adjust width for better scroll on tablet */
    max-width: 450px;
  }

  .contact__content {
    flex-direction: column;
    align-items: center;
  }

  .contact__form,
  .contact__info {
    max-width: 100%;
    flex: 1 1 auto;
  }

  .footer__container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer__brand,
  .footer__nav-group {
    flex: 1 1 100%;
    text-align: center;
  }

  .footer__social {
    justify-content: center;
  }

  /* Tablet typography adjustments */
  .feature-card__title,
  .service-card__title,
  .benefit-card__title {
    font-size: 20px;
  }

  .feature-card__description,
  .service-card__description,
  .benefit-card__description,
  .testimonial-card__quote {
    font-size: 16px;
  }

  .cta__heading {
    font-size: 36px;
  }

  .cta__description {
    font-size: 18px;
  }

  .title {
    font-size: 28px;
  }

  .contact-info h3 {
    font-size: 19px;
  }

  .footer-title {
    font-size: 15px;
  }

  .footer-links a {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  /* Mobile typography adjustments */
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 22px;
  }

  .hero__title {
    font-size: 32px;
  }

  .hero__description {
    font-size: 16px;
  }

  .feature-card__title,
  .service-card__title,
  .benefit-card__title {
    font-size: 18px;
  }

  .feature-card__description,
  .service-card__description,
  .benefit-card__description,
  .testimonial-card__quote {
    font-size: 15px;
  }

  .cta__heading {
    font-size: 32px;
  }

  .cta__description {
    font-size: 16px;
  }

  .title {
    font-size: 26px;
  }

  .contact-info h3 {
    font-size: 18px;
  }

  .footer-title {
    font-size: 14px;
  }

  .footer-links a {
    font-size: 14px;
  }

  .header__nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-light);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--spacing-md) 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
  }

  .header__nav--active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .header__menu {
    flex-direction: column;
    width: 100%;
    margin-right: 0;
  }

  .header__menu-item {
    margin: 0;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
  }

  .header__menu-item:last-child {
    border-bottom: none;
  }

  .header__menu-item a {
    padding: 1rem var(--spacing-md);
  }

  .header__cta {
    width: 100%;
    padding: var(--spacing-md);
    border-top: 1px solid var(--border-color);
    text-align: center;
  }

  .header__hamburger {
    display: block;
  }

  .header__submenu {
    position: static; /* Occupy normal flow */
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out, opacity 0.3s ease;
    box-shadow: none; /* No shadow for nested menu */
    border-radius: 0;
    background-color: var(--light-bg);
  }

  .header__submenu--active {
    opacity: 1;
    visibility: visible;
    max-height: 500px; /* Or a sufficiently large value */
    transition: max-height 0.5s ease-in, opacity 0.3s ease;
  }

  .header__submenu li a {
    padding: 0.75rem var(--spacing-lg); /* Indent submenu items */
  }

  .hero__cta-group {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .btn--large {
    width: 100%;
  }

  .testimonial-card {
    min-width: 280px; /* Ensure it's not too small */
  }
}

@media (max-width: 480px) {
  /* Extra-small screens typography tweaks */
  h1 {
    font-size: 28.8px;
  }

  h2 {
    font-size: 25.6px;
  }

  h3 {
    font-size: 20px;
  }

  .hero__title {
    font-size: 28px;
  }

  .hero__description {
    font-size: 15px;
  }

  .feature-card__title,
  .service-card__title,
  .benefit-card__title {
    font-size: 16px;
  }

  .feature-card__description,
  .service-card__description,
  .benefit-card__description,
  .testimonial-card__quote {
    font-size: 14px;
  }

  .cta__heading {
    font-size: 28px;
  }

  .cta__description {
    font-size: 15px;
  }

  .title {
    font-size: 24px;
  }

  .contact-info h3 {
    font-size: 17px;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }

  .feature-card,
  .service-card,
  .benefit-card,
  .step-card,
  .testimonial-card {
    padding: var(--spacing-md);
  }

  .client-strip__logos img {
    height: 45px; /* Adjust for very small screens */
  }

  .testimonial-card {
    min-width: 100%; /* Full width on very small screens */
  }

  .contact__form,
  .contact__info {
    padding: var(--spacing-lg);
  }

  .footer__nav-group {
    padding-left: var(--spacing-md); /* Basic indentation for lists */
    padding-right: var(--spacing-md);
  }
}

/* --- How It Works Section Block --- */
.how-it-works {
  /* Renamed from how-it-works-section */
  background-color: var(--color-white);
}

.steps-grid {
  /* Kept as is, but could be how-it-works__grid */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  text-align: center;
}

.step-card {
  /* Block */
  position: relative;
  padding: var(--spacing-md);
}

.step-card__number {
  /* Element */
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: 700;
  margin: 0 auto var(--spacing-sm);
  box-shadow: var(--shadow-md);
}

.step-card__title {
  /* Element */
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: var(--color-text-dark);
}

.step-card__description {
  /* Element */
  color: var(--color-text-light);
  font-size: 0.95em;
}

/* Add lines between steps for desktop only */
@media (min-width: 769px) {
  .steps-grid {
    position: relative;
  }
  .steps-grid::before {
    content: '';
    position: absolute;
    top: 85px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 2px;
    background-color: var(--color-border);
    z-index: 0;
  }
  .step-card {
    z-index: 1;
    background-color: var(--color-white);
  }
}
/* Section Padding */
.section-padded {
  padding: var(--spacing-xl) 0;
}
.section-padded--sm {
  /* Added for client-logos section */
  padding: var(--spacing-lg) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-md);
  font-weight: 700;
}
.section-title--light {
  /* Modifier for light background sections */
  color: var(--color-white);
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
  font-size: 1.1em;
  color: var(--color-text-light);
  /* white-space: nowrap; */
}
.section-description--light {
  /* Modifier for light background sections */
  color: var(--white);
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
  text-align: center;
}

.btn--light {
  /* Modifier for CTA section */
  background-color: var(--white);
  color: var(--primary-color);
  border: 1px solid var(--white);
}
.hero__buttons {
  /* Element */
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  justify-content: center; /* Center buttons in hero--small */
}
.btn--no-wrap {
  white-space: nowrap;
}

/* Only show submenu on desktop hover */
/* @media (min-width: 769px) {
  .header__menu-item--has-dropdown:hover .header__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .header__submenu {
    position: static;
    background-color: transparent;
    box-shadow: none;
    padding-left: 1rem;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .header__submenu--active {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
  }

  .header__submenu li a {
    display: block;
    padding: 8px 0;
  }
} */
.header__submenu--active {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.header__menu-item--has-dropdown:hover .header__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .header__menu {
    flex-direction: column;
  }

  .header__submenu {
    position: static;
    transform: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    padding-left: 1rem; /* indent submenu */
    display: none; /* hide by default */
  }

  .header__submenu--active {
    display: block;
  }

  .header__menu-item--has-dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
