@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;800&display=swap");

* {
  box-sizing: border-box;
}

:root {
  --color-primary: #34BAFA;
  --color-primary-dark: #2E9FCC;
  --color-mint: #2DD4A0;
  --color-secondary: #0F172A;
  --color-background: #F8FAFC;
  --color-accent: #2DD4A0;
  --color-success: #10B981;

  --color-text: var(--color-secondary);
  --color-text-muted: color-mix(in srgb, var(--color-secondary) 70%, var(--color-background));
  --color-text-soft: color-mix(in srgb, var(--color-secondary) 58%, var(--color-background));
  --color-on-dark: var(--color-background);

  --color-surface: color-mix(in srgb, var(--color-background) 96%, var(--color-accent));
  --color-surface-strong: color-mix(in srgb, var(--color-background) 90%, var(--color-primary));
  --color-border: color-mix(in srgb, var(--color-secondary) 12%, var(--color-background));
  --color-border-strong: color-mix(in srgb, var(--color-primary) 32%, var(--color-background));

  --overlay: linear-gradient(135deg, gba(52, 186, 250, 0.58) 0%, rgba(45, 212, 160, 0.38) 100%);
  --nav-glass: rgba(15, 23, 42, 0.82);
  --on-dark-muted: rgba(248, 250, 252, 0.9);
  --on-dark-subtle: rgba(248, 250, 252, 0.72);
  --shadow-soft: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -1px rgba(15, 23, 42, 0.05);
  --shadow-lift: 0 20px 25px -5px rgba(52, 186, 250, 0.16);
  --shadow-hover: 0 10px 20px rgba(15, 23, 42, 0.18);
  --shadow-image: 0 10px 30px rgba(15, 23, 42, 0.06), 0 30px 60px rgba(15, 23, 42, 0.06);
  --shadow-badge: 0 15px 30px rgba(52, 186, 250, 0.3);
  --image-border: color-mix(in srgb, var(--color-background) 80%, var(--color-accent));
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body.menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  font-family: "Manrope", sans-serif;
  line-height: 1.5;
  background-color: var(--color-background);
  color: var(--color-text);
}

/* --- Global Container --- */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 6vw, 5rem); 
  width: 100%;
}

/* --- Hero Section --- */
.hero {
  min-height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--color-secondary);
  background-image: url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay);
  z-index: 0;
  backdrop-filter: blur(0.5px);
}

/* --- Navigation --- */
.site-nav {
  width: 100%;
  position: fixed; /* This "sticks" the menu to the viewport */
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  padding: 1.3rem clamp(1.8rem, 5vw, 3.5rem); /* Increased vertical and horizontal padding for more breathing room */
  z-index: 1000; /* Ensures it stays on top of every other section */

  /* ... keep your existing code ... */
  transition: transform 0.4s ease-in-out; /* This makes the slide smooth */

  /* Clean solid medical blue background */
  background: #34BAFA;
  border-bottom: none;
  box-shadow: 0 4px 12px rgba(52, 186, 250, 0.15);
}

.site-nav::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.5) 15%,
    rgba(255, 255, 255, 0.5) 85%,
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4), 0 0 24px rgba(255, 255, 255, 0.2);
}

.site-nav.nav-hidden {
  transform: translateY(-110%);
}

body.menu-open .site-nav.nav-hidden {
  transform: translateY(0);
}

.site-nav.nav-hidden::after {
  transform: translateY(110%);
}



.brand {
  grid-column: 1;
  text-decoration: none;
  color: var(--color-on-dark);
  font-weight: 800;
  font-size: clamp(1.2rem, 1.2vw + 0.8rem, 1.45rem);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  z-index: 1401;
  position: relative;
}

.brand-logo {
  height: auto;
  max-height: 70px;
  width: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
}

.nav-links {
  grid-column: 2;
  justify-self: center;
  list-style: none;
  display: flex;
  gap: clamp(1rem, 2vw, 1.8rem);
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--on-dark-muted); /* High visibility white */
  font-weight: 500;
  font-size: clamp(0.86rem, 0.38vw + 0.74rem, 0.96rem);
  position: relative;
  padding-bottom: 0.2rem;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.8);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.nav-links a:hover {
  color: rgba(248, 250, 252, 1); /* Brighter white on hover */
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
  opacity: 1;
}

.nav-cta {
  grid-column: 3;
  justify-self: end;
  padding: 0.68rem clamp(0.9rem, 1.2vw, 1.35rem);
  background: #97CE84;
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: clamp(0.84rem, 0.45vw + 0.64rem, 0.94rem);
  transition: all 0.28s ease;
  box-shadow: 0 4px 8px rgba(151, 206, 132, 0.25);
  border: none;
}

.nav-cta:hover {
  transform: translateY(-2px);
  background: #82B570;
  box-shadow: 0 6px 12px rgba(151, 206, 132, 0.35);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid color-mix(in srgb, var(--color-on-dark) 30%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--color-secondary) 60%, transparent);
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  z-index: 1401;
  position: relative;
}

.nav-overlay {
  display: none;
}

.nav-toggle__line {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-on-dark);
  transition: transform 0.28s ease, opacity 0.2s ease, width 0.28s ease;
}

.nav-toggle.is-open .nav-toggle__line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle__line:nth-child(2) {
  opacity: 0;
  width: 0;
}

.nav-toggle.is-open .nav-toggle__line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* --- Hero Content --- */
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(92%, 850px);
  padding: 88px clamp(1.25rem, 4vw, 3rem) 8.5rem clamp(1.25rem, 4vw, 3rem); /* Added bottom space so trust cards do not collide with the scroll indicator */
  position: relative;
  z-index: 1;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  color: var(--color-on-dark);
  line-height: 1.1;
  font-weight: 800;
}

.hero-content p {
  margin: 1.5rem 0 2rem;
  max-width: 55ch;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--on-dark-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 8px;
  border: 1px solid rgba(248, 250, 252, 0.15);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-mint) 100%);
  color: var(--color-on-dark);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 16px rgba(52, 186, 250, 0.2);
}

.cta-secondary {
  background: color-mix(in srgb, var(--color-background) 96%, var(--color-accent));
  color: var(--color-primary);
  border-color: color-mix(in srgb, var(--color-primary) 28%, var(--color-border));
  box-shadow: none;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(52, 186, 250, 0.32);
  border-color: rgba(248, 250, 252, 0.25);
}

.cta-secondary:hover {
  background: color-mix(in srgb, var(--color-primary) 8%, var(--color-background) 92%);
  border-color: color-mix(in srgb, var(--color-primary) 32%, var(--color-border));
}

/* --- Trust Cards (Inside Hero) --- */
.hero-trust-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  max-width: 520px;
  align-self: flex-start;
  justify-items: start;
}

.card-icon {
  background: color-mix(in srgb, var(--color-primary) 20%, transparent);
  color: var(--color-accent);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.75rem;
  border: 1px solid var(--color-primary);
}

.card-text {
  color: var(--color-on-dark);
  font-weight: 500;
  font-size: 0.95rem;
}

/* --- Scroll Indicator --- */
.scroll-indicator {
  position: absolute;
  /* Changed from 2rem to 5rem to give the overlapping section room */
  bottom: 5rem; 
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--color-on-dark);
  opacity: 0.78;
  text-decoration: none;
}

.scroll-indicator--desktop {
  display: flex;
}

.scroll-indicator--touch {
  display: none;
  gap: 0.65rem;
  opacity: 0.82;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-secondary) 45%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-on-dark) 18%, transparent);
}

.scroll-indicator__mouse {
  width: 20px;
  height: 32px;
  border: 2px solid var(--color-on-dark);
  border-radius: 10px;
  position: relative;
}

.scroll-indicator__dot {
  width: 4px;
  height: 4px;
  background: var(--color-on-dark);
  border-radius: 50%;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDot 1.5s infinite;
}

@keyframes scrollDot {
  0% { transform: translate(-50%, 0); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translate(-50%, 12px); opacity: 0; }
}

.scroll-indicator__touch {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-subtle);
}

.scroll-indicator__text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-on-dark);
}

.scroll-indicator__arrow {
  font-size: 1rem;
  line-height: 1;
  animation: slideDownTouch 1.8s ease-in-out infinite;
}

.jump-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-on-dark);
  background: color-mix(in srgb, var(--color-primary) 86%, var(--color-secondary));
  border: 1px solid color-mix(in srgb, var(--color-on-dark) 22%, transparent);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.28);
  z-index: 1100;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.jump-to-top:hover {
  transform: translateY(-2px);
  background: var(--color-accent);
}

.jump-to-top:active {
  transform: translateY(0);
}

@keyframes slideDownTouch {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.55;
  }
  50% {
    transform: translateY(5px);
    opacity: 1;
  }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Services Styles --- */
.services-section {
  margin-top: -50px; 
  position: relative;
  z-index: 5;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  padding: clamp(8rem, 15vw, 12rem) 0;
  background-color: var(--color-background); /* Now it uses the 'shade' */
}
.services-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto clamp(2.25rem, 4.5vw, 3.75rem); 
  padding: 0; 
}

.section-subtitle {
  display: block;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.25em; 
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1.5rem; 
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: 2rem; 
  letter-spacing: -0.03em;
}

.section-description {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 60ch;
  margin: 0 auto;
}

.services-header::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--color-primary);
  margin: 2rem auto 0; 
  border-radius: 10px;
  opacity: 0.4;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); 
  gap: 2.5rem; 
  align-items: stretch;
}

.service-card {
  background: var(--color-surface);
  padding: 2.75rem 2.25rem; 
  border-radius: 20px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  
  /* ADD THESE THREE LINES */
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-lift);
}

.service-icon {
  width: 64px;
  height: 64px;
  background-color: var(--color-surface-strong);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  transition: all 0.4s ease;
}

.service-icon svg { width: 28px; height: 28px; }

.service-card:hover .service-icon {
  background-color: var(--color-primary); 
  color: var(--color-on-dark);
  transform: scale(1.1) rotate(-3deg);
}

.service-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 0.85rem 0;
}

.service-card-text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0 0 2rem 0;
  
  /* THIS LINE IS THE SECRET SAUCE */
  flex-grow: 1; 
}

.service-link {
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-link span { transition: transform 0.3s ease; }

.service-card:hover .service-link span { transform: translateX(5px); }

/* --- About Styles --- */
.about-section {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background-color: var(--color-background);
}

.about-flex {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 8vw, 6rem);
}

.about-image { 
  flex: 1; 
  position: relative; 
  /* This ensures the badge stays aligned with the image container */
  display: flex;
}

.about-image img { 
  width: 100%; 
  /* 1. Sets a consistent proportion (Width / Height) */
  aspect-ratio: 4 / 5; 
  /* 2. Ensures the image fills the space without stretching */
  object-fit: cover; 
  /* 3. Smooth rounded corners */
  border-radius: 30px; 
  /* 4. A very soft, multi-layered shadow for a 'floating' effect */
  box-shadow: var(--shadow-image);
  /* 5. A tiny border to make it pop against the light grey background */
  border: 1px solid var(--image-border);
}
.experience-badge {
  position: absolute;
  /* Moves it slightly inside the image corner */
  bottom: 20px;
  right: -10px;
  background: var(--color-primary);
  color: var(--color-on-dark);
  padding: 1.25rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-badge);
  animation: float 4s ease-in-out infinite;
  z-index: 2;
}

.experience-badge .years { display: block; font-size: 2rem; font-weight: 800; }
.experience-badge .exp-text { font-size: 0.7rem; text-transform: uppercase; }

.about-content { flex: 1.1; }
.about-text { font-size: 1.15rem; line-height: 1.7; color: var(--color-text-muted); margin-bottom: 2rem; }
.about-highlights {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.highlight-icon {
  width: 44px;
  height: 44px;
  background-color: var(--color-surface-strong); /* Light primary tint */
  color: var(--color-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* Prevents icon from squishing */
}

.highlight-icon svg {
  width: 22px;
  height: 22px;
}

.highlight-text h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
}

.highlight-text p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-soft);
  line-height: 1.5;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 1200px) {
  .nav-links {
    gap: 1rem;
  }

  .hero-content h1 {
    font-size: clamp(2.2rem, 5.2vw, 3.8rem);
  }

  .services-grid {
    gap: 1.8rem;
  }
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero {
    min-height: auto;
  }
  .about-flex { flex-direction: column; text-align: center; }
  .about-image { max-width: 500px; margin-bottom: 3rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .site-nav { grid-template-columns: 1fr auto; padding: 0.9rem 1.2rem; }
  .brand-logo { max-height: 56px; }
     .nav-links {
    display: flex;
    position: fixed;

    /* Keep the cyan header visible */
    top: 80px;
    right: 0;
    bottom: 0;
    left: 0;

    width: 100%;
    height: calc(100dvh - 80px);
    max-height: none;

    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;

    gap: 0;
    counter-reset: nav-item;
    margin: 0;
    padding: clamp(3.5rem, 10vh, 5rem) 2rem 2.5rem;

    /* Premium neutral navigation surface */
        background:
      radial-gradient(circle at 100% 0%, rgba(52, 186, 250, 0.08), transparent 34%),
      #F8FAFC;

    border: none;
    border-radius: 0;

    box-shadow: none;

    z-index: 1300;

    /* Closed state */
    transform: translateY(24px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    overflow-y: auto;

    transition:
      transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.35s ease,
      visibility 0.45s ease;
  }

  .nav-menu-slogan {
    width: 100%;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;

    border-bottom: 1px solid rgba(15, 23, 42, 0.08);

    counter-increment: none !important;
    list-style: none;
  }

  .nav-menu-slogan span {
    display: block;

    color: #34BAFA;

    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.5;

    text-transform: uppercase;
    letter-spacing: 0.14em;
  }

  .nav-menu-slogan::before,
  .nav-menu-slogan::after {
    content: none !important;
  }

     .nav-links a {
    display: inline-flex;
    align-items: center;

    color: #334155;
    font-size: clamp(1.2rem, 4.2vw, 1.55rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.015em;
    text-decoration: none;

    padding: 1.1rem 0;

    opacity: 0;
    transform: translateY(24px);

    transition:
      color 0.25s ease,
      transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.45s ease;
  }
  .nav-links li {
    width: 100%;
    counter-increment: nav-item;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.nav-links li.nav-menu-slogan {
    counter-increment: none;
    border-bottom: none;
}

.nav-links li:last-child {
    border-bottom: none;
}

.nav-links li a::before {
    content: counter(nav-item, decimal-leading-zero);

    display: inline-block;

    min-width: 2.5rem;
    margin-right: 1rem;

    color: rgba(15, 23, 42, 0.38);

    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;

    transform: translateY(-0.1rem);

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

    body.menu-open .nav-links a {
    opacity: 1;
    transform: translateY(0);
  }

    body.menu-open .nav-links li:nth-child(1) a {
    transition-delay: 0.08s;
  }

  body.menu-open .nav-links li:nth-child(2) a {
    transition-delay: 0.14s;
  }

  body.menu-open .nav-links li:nth-child(3) a {
    transition-delay: 0.20s;
  }

  body.menu-open .nav-links li:nth-child(4) a {
    transition-delay: 0.26s;
  }

  body.menu-open .nav-links li:nth-child(5) a {
    transition-delay: 0.32s;
  }

  body:not(.menu-open) .nav-links a {
    transition-delay: 0s;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:hover,
.nav-links a:focus-visible {
    color: #34BAFA;
    transform: translateX(6px);
}

.nav-links a:hover::before,
.nav-links a:focus-visible::before {
    color: #34BAFA;
    transform: translateY(-0.1rem) translateX(2px);
}

    .nav-toggle {
    display: inline-flex;

    grid-column: 2;
    justify-self: end;
    align-self: center;

    position: relative;
    top: auto;
    right: auto;

    z-index: 1400;

    width: 3.25rem;
    height: 3.25rem;

    padding: 0;

    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 0.38rem;

    border: none;
    border-radius: 0;

    background: transparent;
    box-shadow: none;

    cursor: pointer;

    -webkit-tap-highlight-color: transparent;

    transition:
      transform 0.25s ease,
      opacity 0.25s ease;
  }

    .nav-toggle__line {
    display: block;

    width: 1.7rem;
    height: 2px;

    background: #ffffff;
    border-radius: 999px;

    transform-origin: center;

    transition:
      transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.2s ease,
      width 0.3s ease;
  }

    .nav-toggle.is-open .nav-toggle__line:nth-child(1) {
    transform: translateY(0.38rem) rotate(45deg);
  }

  .nav-toggle.is-open .nav-toggle__line:nth-child(2) {
    opacity: 0;
    width: 0;
  }

  .nav-toggle.is-open .nav-toggle__line:nth-child(3) {
    transform: translateY(-0.38rem) rotate(-45deg);
  }

    .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;

    background: rgba(248, 250, 252, 0.35);

    opacity: 0;
    pointer-events: none;

    z-index: 1200;

    transition: opacity 0.35s ease;
  }

  body.menu-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  body.menu-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav {
    z-index: 1350;
    transition: transform 0.4s ease-in-out;
  }

  .nav-cta { display: none; }

    .hero-content {
    padding: 6.5rem 1.5rem 3rem;
  }
  .hero-content h1 { font-size: clamp(2rem, 8vw, 3.1rem); }
  .hero-content p { max-width: 62ch; }
  .hero-trust-cards { max-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-banner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .highlight-item { text-align: left; }
  .scroll-indicator--desktop { display: none; }
  .scroll-indicator--touch { display: none; }

}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .services-section,
  .why-choose-section,
  .contact-section {
    padding: clamp(4.25rem, 10vw, 6rem) 0;
  }

  .services-header,
  .why-header {
    margin-bottom: 3rem;
  }

  .section-description {
    font-size: 1.02rem;
    line-height: 1.65;
  }

  .service-card {
    padding: 2rem 1.6rem;
  }

  .about-text {
    font-size: 1.02rem;
  }

  .hero-actions {
    width: 100%;
  }

  .cta {
    flex: 1 1 220px;
    text-align: center;
  }

  .contact-info-card {
    padding: 1rem;
  }

    .contact-column--info {
    display: block !important; 
    text-align: center; /* Centers your heading on mobile */
    margin-bottom: 2rem;
  }

  /* We hide ONLY the list of cards (Phone, Email, etc.) */
  .contact-info-list {
    display: none !important;
  }

  /* 2. FIX THE FORM ALIGNMENT AND WIDTH */
  .contact-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Centers everything */
    width: 100% !important;
    gap: 0;
  }

  .contact-column--form {
    width: 100% !important;   /* Force it to be full width */
    max-width: 100% !important; /* Remove any desktop limits */
    margin: 0 !important;      /* Remove any leftover margins pushing it left */
    padding: 1.5rem !important; /* Give the inside of the form some breathing room */
    box-sizing: border-box;    /* Ensures padding doesn't make it wider than the screen */
  }

  /* 3. ENSURE THE FORM ITSELF FILLS THE BOX */
  .appointment-form {
    width: 100% !important;
    display: flex;
    flex-direction: column;
  }

  /* 4. CLEAN UP THE SCREEN EDGES */
  .contact-section .container {
    padding: 0 1rem !important; /* Small gap so it's not touching the very edge of the glass */
  }

}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  .site-nav {
    grid-template-columns: 1fr auto;
  }

  .nav-cta {
    display: none;
  }

  .contact-banner {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: clamp(1.75rem, 7vw, 2.2rem);
  }

  .hero-content {
    padding-top: 84px;
    padding-bottom: 7rem;
  }

  .jump-to-top {
    right: 1rem;
    bottom: 1rem;
  }

  .contact-column--form {
    padding: 1rem;
  }
}
/* --- Why Choose Us Section --- */
.why-choose-section {
  /* Using the light grey shade you liked */
  padding: clamp(8rem, 15vw, 12rem) 0;
  background-color: var(--color-background);
}

.why-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem auto; /* Creates space between header and the grid */
}

/* This creates the responsive grid */
.why-grid {
  display: grid;
  /* This magic line makes the grid responsive automatically */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Reusing your existing section-description style but ensuring it's centered */
.why-header .section-description {
  margin-left: auto;
  margin-right: auto;
}

/* --- Contact Section --- */
.contact-section {
  padding: clamp(7rem, 14vw, 10rem) 0;
  background-color: var(--color-background);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.contact-banner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 2rem 0;
}

.contact-banner-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.1rem 1.2rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--color-primary) 30%, var(--color-border));
  background: var(--color-surface);
  box-shadow:
    var(--shadow-soft),
    0 0 0 1px color-mix(in srgb, var(--color-primary) 18%, transparent),
    0 0 20px color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.contact-banner-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    color-mix(in srgb, var(--color-primary) 35%, transparent) 70deg,
    color-mix(in srgb, var(--color-primary) 80%, transparent) 110deg,
    color-mix(in srgb, var(--color-primary) 35%, transparent) 150deg,
    transparent 220deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: contactGlowOrbit 8s linear infinite;
  opacity: 0.9;
}

.contact-banner-card > * {
  position: relative;
  z-index: 1;
}

@keyframes contactGlowOrbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.contact-banner-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-surface-strong);
  color: var(--color-primary);
}

.contact-banner-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

.contact-banner-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.contact-column--info h3 {
  margin: 0 0 0.75rem 0;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.2;
  color: var(--color-text);
}

.contact-column--info > p {
  margin: 0 0 2rem 0;
  max-width: 56ch;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.2rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.contact-info-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-surface-strong);
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-info-content h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  color: var(--color-text);
}

.contact-info-content {
  min-width: 0;
}

.contact-info-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-column--form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.appointment-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.appointment-form.is-hidden {
  display: none;
}

.appointment-success {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--color-success) 38%, var(--color-border));
  background: color-mix(in srgb, var(--color-success) 14%, var(--color-surface));
  box-shadow: var(--shadow-soft);
}

.appointment-success.is-visible {
  display: flex;
}

.appointment-success.is-error {
  border: 1px solid color-mix(in srgb, #dc2626 38%, var(--color-border));
  background: color-mix(in srgb, #dc2626 10%, var(--color-surface));
}

.appointment-success__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-success);
  color: var(--color-on-dark);
  font-weight: 800;
}

.appointment-success.is-error .appointment-success__icon {
  background: #dc2626;
}

.appointment-success h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--color-text);
}

.appointment-success p {
  margin: 0;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background-color: var(--color-background);
  color: var(--color-text);
  font: inherit;
  padding: 0.8rem 0.9rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: color-mix(in srgb, var(--color-primary) 50%, var(--color-border));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.appointment-submit {
  margin-top: 0.35rem;
  border: none;
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  background: var(--color-primary);
  color: var(--color-on-dark);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.appointment-submit:hover {
  background: var(--color-accent);
  transform: translateY(-1px);
}

.appointment-submit:active {
  transform: translateY(0);
}


/* --- Footer --- */
.site-footer {
  background: var(--color-secondary);
  color: var(--color-on-dark);
  padding: 4rem 0 1.25rem;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-column h3,
.footer-logo {
  margin: 0 0 1rem 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-on-dark);
}

.footer-logo {
  display: inline-block;
  text-decoration: none;
}

.footer-column p,
.footer-column li,
.footer-column a {
  color: var(--on-dark-muted);
}

.footer-column p {
  margin: 0 0 1rem 0;
  line-height: 1.6;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-column a {
  text-decoration: none;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--color-on-dark) 20%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
}

.footer-bottom {
  border-top: 1px solid color-mix(in srgb, var(--color-on-dark) 14%, transparent);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
  color: var(--on-dark-subtle);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-legal a {
  color: var(--on-dark-muted);
  text-decoration: none;
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* --- Final mobile contact-card layout --- */
@media (max-width: 480px) {
  .contact-banner {
    grid-template-columns: 1fr;
  }

  .contact-banner-card {
    width: 100%;
    box-sizing: border-box;
  }
}