:root {
  --brand: #198754;
  --clinical: #0B5ED7;
  --surface: #F8FAFC;
}

html { scroll-behavior: smooth; }
html, body { max-width: 100%; }

body {
  background-image:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(11, 110, 79, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(27, 108, 168, 0.08), transparent);
}

/* Top utility bar */
.topbar {
  background: #0f4a73;
  color: #fff;
  font-size: 0.8125rem;
  line-height: 1.2;
}

.topbar-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.55rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .topbar-inner { padding: 0.6rem 1.5rem; }
}
@media (min-width: 1024px) {
  .topbar-inner { padding: 0.65rem 2rem; }
}

.topbar-emergency {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.topbar-emergency:hover .topbar-emergency-phone {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.topbar-pulse {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #6ee7b7;
  box-shadow: 0 0 0 0 rgba(110, 231, 183, 0.55);
  animation: topbarPulse 1.6s ease-out infinite;
  flex-shrink: 0;
}

@keyframes topbarPulse {
  0% { box-shadow: 0 0 0 0 rgba(110, 231, 183, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(110, 231, 183, 0); }
  100% { box-shadow: 0 0 0 0 rgba(110, 231, 183, 0); }
}

.topbar-emergency-label {
  opacity: 0.9;
  white-space: nowrap;
}

.topbar-emergency-phone {
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.topbar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  transition: background .2s ease, border-color .2s ease;
}

.topbar-btn:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.35);
}

.topbar-btn-icon {
  width: 2rem;
  padding-inline: 0;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  min-width: 10.5rem;
  border-radius: 0.85rem;
  background: #fff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 40px -18px rgba(15, 74, 115, 0.35);
  overflow: hidden;
  z-index: 60;
}

.dark .lang-menu {
  background: #0f172a;
  color: #e2e8f0;
  border-color: #334155;
}

.lang-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  text-align: left;
  font-size: 0.875rem;
  background: transparent;
  border: 0;
  color: inherit;
}

.lang-option:hover { background: #eef9f4; }
.dark .lang-option:hover { background: #1e293b; }
.lang-option.is-active {
  background: #eef9f4;
  color: #0B6E4F;
  font-weight: 600;
}
.dark .lang-option.is-active {
  background: #1e293b;
  color: #7ccbb0;
}
.lang-code {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 600;
}

.dark body {
  background-image:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(11, 110, 79, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(27, 108, 168, 0.12), transparent);
}

.glass-nav {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.dark .glass-nav {
  background: rgba(2, 6, 23, 0.82);
}

.glass-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(15, 74, 115, 0.08);
}

.dark .glass-card {
  background: rgba(15, 23, 42, 0.72);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #0B6E4F, #0a5f44 45%, #155a8c);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 10px 24px -10px rgba(11, 110, 79, 0.55);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.85);
  color: #0f4a73;
  font-weight: 600;
  border: 1px solid rgba(27, 108, 168, 0.2);
  transition: background .2s ease, transform .2s ease;
}

.dark .btn-secondary {
  background: rgba(15, 23, 42, 0.7);
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.25);
}

.btn-secondary:hover { transform: translateY(-1px); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: 0.9rem;
  background: #25D366;
  color: #fff;
  font-weight: 600;
}

.section-title {
  font-family: Outfit, "Noto Sans Devanagari", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Hindi: Devanagari-first stacks; never tighten letter-spacing on Indic text */
html[lang="hi"] body {
  font-family: "Noto Sans Devanagari", "DM Sans", system-ui, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html[lang="hi"] .font-display,
html[lang="hi"] .section-title,
html[lang="hi"] .hero-title,
html[lang="hi"] .doctor-card-name,
html[lang="hi"] .treatment-media-title,
html[lang="hi"] .why-card-title,
html[lang="hi"] .why-metric-value,
html[lang="hi"] .facility-card-content,
html[lang="hi"] .btn-primary,
html[lang="hi"] .btn-secondary,
html[lang="hi"] .btn-whatsapp,
html[lang="hi"] .btn-hero-primary,
html[lang="hi"] .btn-hero-whatsapp,
html[lang="hi"] .btn-hero-ghost,
html[lang="hi"] .doctor-card-cta,
html[lang="hi"] .doctor-card-spec,
html[lang="hi"] .doctor-card-qual,
html[lang="hi"] .doctor-card-badge,
html[lang="hi"] .why-kicker,
html[lang="hi"] nav a,
html[lang="hi"] footer {
  font-family: "Noto Sans Devanagari", "Hind", "Mukta", "Outfit", sans-serif;
  letter-spacing: normal;
}

html[lang="hi"] .section-title,
html[lang="hi"] .why-metric-value,
html[lang="hi"] .why-kicker {
  letter-spacing: normal;
}

html[lang="hi"] .why-kicker {
  text-transform: none;
  font-size: 0.8rem;
}

/* Keep Latin-only chrome on Latin faces even in Hindi mode */
html[lang="hi"] .hero-badge,
html[lang="hi"] .lang-btn,
html[lang="hi"] .topbar {
  font-family: "DM Sans", "Noto Sans Devanagari", sans-serif;
  letter-spacing: normal;
}

html[lang="hi"] .leading-tight {
  line-height: 1.35;
}

html[lang="hi"] .leading-none {
  line-height: 1.3;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #052c65 0%, #0a3d7a 42%, #146c43 100%);
  transition: opacity .55s ease, visibility .55s ease;
}

html.splash-skip .page-loader {
  display: none !important;
}

.page-loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.is-splash-active {
  overflow: hidden;
}

.page-loader__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
  padding: 1.5rem;
}

.page-loader__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7.5rem;
  height: 7.5rem;
  margin: -3.75rem 0 0 -3.75rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  animation: loaderRing 1.35s ease-out forwards;
}

.page-loader__logo {
  position: relative;
  z-index: 1;
  height: 4.75rem;
  width: auto;
  max-width: 6.5rem;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.28));
  animation: loaderLogoIn 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
}

.page-loader__name {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: Poppins, "Noto Sans Devanagari", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  animation: loaderNameIn 0.7s ease 0.35s forwards;
  opacity: 0;
}

.page-loader.is-exiting .page-loader__logo {
  animation: loaderLogoOut 0.55s ease forwards;
}

.page-loader.is-exiting .page-loader__name {
  animation: loaderNameOut 0.4s ease forwards;
}

.page-loader.is-exiting .page-loader__ring {
  animation: loaderRingOut 0.5s ease forwards;
}

@keyframes loaderLogoIn {
  0% {
    opacity: 0;
    transform: scale(0.55) translateY(18px);
  }
  65% {
    opacity: 1;
    transform: scale(1.06) translateY(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes loaderNameIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loaderRing {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes loaderLogoOut {
  to {
    opacity: 0;
    transform: scale(1.12);
  }
}

@keyframes loaderNameOut {
  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@keyframes loaderRingOut {
  to {
    opacity: 0;
    transform: scale(1.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader__logo,
  .page-loader__name,
  .page-loader__ring {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.feature-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(11,110,79,.12), rgba(27,108,168,.14));
  color: #0B6E4F;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
}

.dark .feature-icon {
  color: #7ccbb0;
  background: linear-gradient(145deg, rgba(11,110,79,.22), rgba(27,108,168,.22));
}

.facility-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.15rem;
  aspect-ratio: 16 / 9;
  min-height: 9.5rem;
  display: flex;
  align-items: flex-end;
  color: #fff;
  box-shadow: 0 10px 24px -18px rgba(15, 74, 115, 0.4);
  background: #0f2744;
}
.facility-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}
.facility-card:hover .facility-card-img {
  transform: scale(1.05);
}
.facility-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 39, 68, 0.08) 0%, rgba(15, 39, 68, 0.55) 55%, rgba(10, 30, 55, 0.88) 100%);
  pointer-events: none;
}
.facility-card-content {
  position: relative;
  z-index: 2;
  padding: 1rem;
  width: 100%;
}

.treatment-media {
  position: relative;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 10rem;
  overflow: hidden;
  background: #0f2744;
}
.treatment-media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}
.group:hover .treatment-media-img {
  transform: scale(1.05);
}
.treatment-media:has(.treatment-media-title)::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 35%, rgba(10, 30, 55, 0.78));
  pointer-events: none;
}
.treatment-media-title {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 2;
  color: #fff;
  font-family: Outfit, "Noto Sans Devanagari", "DM Sans", system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.float-btn {
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(15, 74, 115, 0.55);
  transition: transform .2s ease, filter .2s ease;
}
.float-btn:hover { transform: translateY(-2px) scale(1.04); filter: brightness(1.05); }

.user-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255,255,255,.75);
  color: #0f4a73;
}
.dark .user-chip {
  background: rgba(15,23,42,.7);
  color: #e2e8f0;
}

.avatar-frame {
  position: relative;
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 20px 50px -24px rgba(11, 110, 79, 0.55);
}

.avatar-frame::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(6, 30, 50, .78));
}

.trust-icon {
  width: 2.25rem;
  height: 2.25rem;
  margin: 0 auto .5rem;
  border-radius: .75rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(11,110,79,.1), rgba(27,108,168,.12));
  color: #0B6E4F;
}

.dark .trust-icon { color: #7ccbb0; }

.hero-mesh {
  position: relative;
  isolation: isolate;
  background: #e8eef3;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.1s ease, transform 6.5s ease;
  will-change: opacity, transform;
  filter: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

/* Soft readability wash only — no heavy green mask */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.82) 0%, rgba(248, 250, 252, 0.55) 42%, rgba(248, 250, 252, 0.12) 68%, transparent 100%),
    linear-gradient(180deg, rgba(15, 74, 115, 0.08) 0%, transparent 35%, rgba(2, 20, 30, 0.18) 100%);
}

.hero-copy {
  max-width: 36rem;
  padding: 1.25rem 1.35rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 50px -28px rgba(15, 74, 115, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

html[lang="hi"] .hero-copy {
  max-width: min(42rem, 100%);
}

@media (min-width: 768px) {
  .hero-copy { padding: 1.5rem 1.6rem; }
}

/* Hero heading — Devanagari-safe sizing & leading */
.hero-title {
  font-family: Outfit, "Noto Sans Devanagari", sans-serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 4.2vw, 2.65rem);
  line-height: 1.35;
  letter-spacing: normal;
  word-spacing: normal;
  max-width: min(42rem, 100%);
  margin-bottom: 0.9rem;
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: balance;
  text-rendering: optimizeLegibility;
}

html[lang="hi"] .hero-title {
  font-family: "Noto Sans Devanagari", "Hind", "Mukta", sans-serif;
  font-weight: 700;
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  line-height: 1.45;
  letter-spacing: 0.02em;
  word-spacing: 0.12em;
  max-width: min(44rem, 100%);
}

.hero-sub {
  font-family: inherit;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  letter-spacing: normal;
}

html[lang="hi"] .hero-sub {
  font-family: "Noto Sans Devanagari", "DM Sans", sans-serif;
  line-height: 1.7;
  letter-spacing: 0.01em;
  word-spacing: 0.04em;
}

html[lang="hi"] .hero-stat-label,
html[lang="hi"] .hero-stat-num {
  font-family: "Noto Sans Devanagari", "Outfit", sans-serif;
  letter-spacing: normal;
}

.hero-slider-dots {
  display: flex;
  gap: 0.45rem;
  margin-top: 1.25rem;
  justify-content: flex-start;
}

.hero-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  border: 0;
  padding: 0;
  background: rgba(15, 74, 115, 0.28);
  transition: width .25s ease, background .25s ease;
  cursor: pointer;
}

.hero-dot.is-active {
  width: 1.5rem;
  background: #0B6E4F;
}

.hero-dot:focus-visible {
  outline: 2px solid #0B6E4F;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: opacity .35s ease;
    transform: none !important;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  color: #0f4a73;
  background: #eef9f4;
  border: 1px solid #d6f1e6;
}

.btn-hero-primary,
.btn-hero-whatsapp,
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.1rem;
  border-radius: 0.85rem;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: transform .2s ease, filter .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn-hero-primary:hover,
.btn-hero-whatsapp:hover,
.btn-hero-ghost:hover { transform: translateY(-1px); }

.btn-hero-primary {
  background: linear-gradient(135deg, #0B6E4F, #155a8c);
  color: #fff;
  box-shadow: 0 12px 24px -14px rgba(11, 110, 79, 0.7);
}
.btn-hero-whatsapp {
  background: #25D366;
  color: #fff;
}
.btn-hero-ghost {
  background: #fff;
  color: #0f4a73;
  border: 1px solid #cbd5e1;
}

.hero-stats {
  padding: 0.7rem;
  border-radius: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.hero-stat {
  text-align: center;
  padding: 0.25rem;
}
.hero-stat-num {
  display: block;
  font-family: Outfit, "Noto Sans Devanagari", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.15;
  color: #0B6E4F;
}
.hero-stat-label {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  line-height: 1.25;
  color: #64748b;
}

.doctor-slider {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .doctor-slider {
    max-width: 340px;
    margin-right: 0;
    margin-left: auto;
  }
}

.doctor-slider-track {
  position: relative;
  min-height: 1px;
}

/* Must beat .doctor-card { display:grid } or every slide stacks visibly */
.doctor-card.doctor-slide {
  display: none;
}
.doctor-card.doctor-slide.is-active {
  display: flex;
  flex-direction: column;
  animation: doctorFade .4s ease;
}

@keyframes doctorFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.doctor-card {
  position: relative;
  width: 100%;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 28px 56px -24px rgba(15, 74, 115, 0.5),
    0 12px 28px -18px rgba(11, 110, 79, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.doctor-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  flex: 0 0 auto;
  overflow: hidden;
  background: linear-gradient(145deg, #c7e4f5, #e8f5f0 45%, #dbeafe);
}

.doctor-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 47, 74, 0.35) 100%);
}

.doctor-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
  display: block;
  filter: brightness(1.07) contrast(1.07) saturate(1.1);
}

.doctor-card-badge {
  position: absolute;
  z-index: 3;
  top: 0.8rem;
  left: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.97);
  color: #0B6E4F;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid rgba(11, 110, 79, 0.12);
  box-shadow: 0 10px 22px -12px rgba(15, 74, 115, 0.55);
}

.doctor-card-body {
  display: flex;
  flex-direction: column;
  padding: 1.05rem 1.15rem 1.2rem;
  background: linear-gradient(180deg, #ffffff 0%, #f5faf8 100%);
}

.doctor-card-name {
  font-family: Outfit, "Noto Sans Devanagari", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.4;
  color: #0f2744;
  margin-bottom: 0.2rem;
}

.doctor-card-qual {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0B6E4F;
  margin-bottom: 0.35rem;
}

.doctor-card-spec {
  font-size: 0.84rem;
  line-height: 1.45;
  color: #64748b;
  margin-bottom: 1rem;
}

.doctor-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  min-height: 2.7rem;
  padding: 0.65rem 1rem;
  border-radius: 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #0B6E4F, #1B6CA8);
  box-shadow: 0 14px 28px -16px rgba(11, 110, 79, 0.85);
  transition: filter .2s ease, transform .2s ease, box-shadow .2s ease;
}
.doctor-card-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px -14px rgba(11, 110, 79, 0.9);
  color: #fff;
}

.doctor-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.doctor-nav {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  border: 1px solid #cbd5e1;
  background: rgba(255,255,255,0.92);
  color: #0f4a73;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 16px -12px rgba(15, 74, 115, 0.45);
  transition: background .2s ease;
}
.doctor-nav:hover { background: #fff; }

.doctor-slider-dots {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.doctor-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 9999px;
  border: 0;
  padding: 0;
  background: rgba(15, 74, 115, 0.28);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.doctor-dot.is-active {
  width: 1.1rem;
  background: #0B6E4F;
}

/* Floating actions — clear of content */
.float-actions {
  position: fixed;
  right: 1rem;
  bottom: 1.25rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: flex-end;
}
@media (min-width: 1024px) {
  .float-actions {
    right: 1.5rem;
    bottom: 1.75rem;
  }
}
@media (max-width: 640px) {
  .float-actions {
    right: 0.75rem;
    bottom: 0.85rem;
  }
  .float-btn {
    width: 2.85rem;
    height: 2.85rem;
  }
}

.journey-step::after {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: calc(50% + 2rem);
  width: calc(100% - 4rem);
  height: 2px;
  background: linear-gradient(90deg, #0B6E4F, #1B6CA8);
}

@media (max-width: 767px) {
  .journey-step::after { display: none; }
}

.faq-item[open] summary { color: #0B6E4F; }
.faq-item summary::-webkit-details-marker { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(2,6,23,.88);
  display: none;
  place-items: center;
  padding: 1rem;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: min(960px, 100%); max-height: 90vh; border-radius: 1rem; }

input, select, textarea {
  accent-color: #0B6E4F;
}

.form-input {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}
.dark .form-input {
  background: #0f172a;
  border-color: #334155;
  color: #e2e8f0;
}
.form-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(11,110,79,.2);
  border-color: #0B6E4F;
}

/* Why Choose Us — metrics + animated advantages */
.why-section {
  background: linear-gradient(180deg, #f4faf8 0%, #f8fafc 45%, #ffffff 100%);
}
.dark .why-section {
  background: linear-gradient(180deg, #0b1220 0%, #0f172a 50%, #020617 100%);
}
.why-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 10% 20%, rgba(11, 110, 79, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 35% at 90% 80%, rgba(27, 108, 168, 0.07), transparent 55%);
  pointer-events: none;
}
.why-kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}
.why-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 768px) {
  .why-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
.why-metric {
  text-align: center;
  padding: 1.15rem 0.75rem 1.25rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(11, 110, 79, 0.1);
  box-shadow: 0 10px 30px -18px rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(8px);
}
.dark .why-metric {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(148, 163, 184, 0.15);
}
.why-metric-ring {
  position: relative;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.75rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--brand);
  background: linear-gradient(145deg, rgba(11, 110, 79, 0.12), rgba(27, 108, 168, 0.1));
}
.why-metric-ring::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 2px solid transparent;
  border-top-color: var(--brand);
  border-right-color: var(--clinical);
  animation: why-ring-spin 4s linear infinite;
}
.why-metric-icon {
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}
.why-metric-value {
  font-family: Outfit, "Noto Sans Devanagari", "DM Sans", system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.1;
  color: #0f2744;
  letter-spacing: -0.02em;
}
.dark .why-metric-value { color: #f1f5f9; }
.why-metric-label {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.35;
}
.dark .why-metric-label { color: #94a3b8; }

.why-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.2rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid #e8eef3;
  box-shadow: 0 12px 28px -22px rgba(15, 23, 42, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  transition-delay: var(--delay, 0ms);
}
.dark .why-card {
  background: #0f172a;
  border-color: #1e293b;
}
.why-card:hover {
  transform: translateY(-3px);
  border-color: rgba(11, 110, 79, 0.28);
  box-shadow: 0 18px 36px -20px rgba(11, 110, 79, 0.35);
}
.why-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  color: #fff;
  background: linear-gradient(145deg, #0B6E4F, #1B6CA8);
  box-shadow: 0 8px 18px -10px rgba(11, 110, 79, 0.7);
}
.why-card-title {
  font-family: Outfit, "Noto Sans Devanagari", "DM Sans", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f2744;
  margin-bottom: 0.25rem;
}
.dark .why-card-title { color: #f8fafc; }
.why-card-desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #64748b;
}
.dark .why-card-desc { color: #94a3b8; }

@keyframes why-ring-spin {
  to { transform: rotate(360deg); }
}
@keyframes why-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 18px -10px rgba(11, 110, 79, 0.7); }
  50% { transform: scale(1.06); box-shadow: 0 10px 22px -8px rgba(27, 108, 168, 0.55); }
}
@keyframes why-beat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.12); }
  30% { transform: scale(1); }
  45% { transform: scale(1.08); }
  60% { transform: scale(1); }
}
@keyframes why-spin-soft {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes why-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes why-bounce {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
  60% { transform: translateY(-2px); }
}
.why-anim-pulse { animation: why-pulse 2.4s ease-in-out infinite; }
.why-anim-beat { animation: why-beat 1.6s ease-in-out infinite; }
.why-anim-spin svg { animation: why-spin-soft 6s linear infinite; transform-origin: center; }
.why-anim-float { animation: why-float 2.8s ease-in-out infinite; }
.why-anim-bounce { animation: why-bounce 2.2s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
