/* ==========================================================================
   DR. RAGHU'S CHEST CLINIC — PRODUCTION STYLESHEET
   Stack: Pure CSS3 (Modern, Lightweight, Accessible, Mobile-First)
   Standard: #responsive (Strict zero horizontal scroll across 320px–1920px)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette */
  --primary: #0a2540;         /* Deep authoritative navy */
  --primary-dark: #061729;    /* Near-black navy */
  --primary-light: #153e6b;   /* Mid navy */
  --accent: #0891b2;          /* Clean medical cyan */
  --accent-hover: #0e7490;    /* Darker cyan */
  --accent-light: #e0f2fe;    /* Soft cyan tint */
  --teal: #0d9488;            /* Medical teal */
  --teal-light: #ccfbf1;      /* Soft teal tint */
  --whatsapp: #25d366;        /* WhatsApp official green */
  --whatsapp-hover: #1eb954;
  --linkedin: #0a66c2;        /* LinkedIn official blue */

  /* Neutral Surface & Text */
  --bg-page: #ffffff;
  --bg-surface: #f8fafc;
  --bg-surface-elevated: #ffffff;
  --border-subtle: #e2e8f0;
  --border-focus: #0891b2;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  /* Typography */
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --line-height-base: 1.6;
  --line-height-heading: 1.25;

  /* Spacing & Layout */
  --container-max: 1240px;
  --container-pad: clamp(1rem, 4vw, 2.25rem);
  --section-pad-y: clamp(3.5rem, 6vw, 6rem);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(10, 37, 64, 0.08), 0 2px 4px rgba(10, 37, 64, 0.04);
  --shadow-lg: 0 12px 32px rgba(10, 37, 64, 0.12), 0 4px 8px rgba(10, 37, 64, 0.06);
  --shadow-glow: 0 0 20px rgba(8, 145, 178, 0.35);

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s ease;
  --transition-slow: 0.4s ease;
}

/* --------------------------------------------------------------------------
   2. Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 85px; /* Account for sticky header */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: var(--line-height-base);
  font-weight: 400;
  position: relative;
  /* Strictly DO NOT slap overflow-x: hidden on body — layout is designed to never overflow */
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Focus Visibility for Accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. Fluid Typography & Utilities (No mid-word hyphenation)
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  font-weight: 700;
  line-height: var(--line-height-heading);
  text-wrap: balance;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
}

h1 {
  font-size: clamp(2rem, 4.5vw + 0.8rem, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.65rem, 3.2vw + 0.5rem, 2.5rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.2rem, 1.8vw + 0.4rem, 1.6rem);
}

h4 {
  font-size: clamp(1.05rem, 1.2vw + 0.3rem, 1.25rem);
}

p {
  text-wrap: pretty;
  overflow-wrap: break-word;
  word-break: normal;
}

.text-accent { color: var(--accent); }
.text-whatsapp { color: var(--whatsapp); }
.text-linkedin { color: var(--linkedin); }
.text-success { color: #10b981; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.max-w-narrow {
  max-width: 900px;
}

.section {
  padding-block: var(--section-pad-y);
}

.bg-light {
  background-color: var(--bg-surface);
}

.text-center {
  text-align: center;
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.section-sub-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background-color: var(--accent-light);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.badge-white {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.section-heading {
  margin-bottom: 0.85rem;
}

.section-lead {
  font-size: clamp(1rem, 1.2vw + 0.2rem, 1.15rem);
  color: var(--text-muted);
  max-width: 680px;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   4. Buttons & Interactive Controls
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  min-height: 48px; /* Minimum 44-48px touch target */
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
  text-align: center;
  transition: all var(--transition-fast);
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(8, 145, 178, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(8, 145, 178, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
  background: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  background: transparent;
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.9rem 1.85rem;
  font-size: 1.05rem;
  min-height: 52px;
}

.btn-sm {
  padding: 0.55rem 1rem;
  min-height: 40px;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   5. Top Emergency & Announcement Bar
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--primary-dark);
  color: #cbd5e1;
  font-size: 0.84rem;
  padding-block: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .top-bar {
    display: none !important;
  }
}

.top-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-item, .top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.top-bar-link:hover {
  color: #ffffff;
}

/* Mobile-only header social media icons */
.mobile-header-socials {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  margin-right: 0.35rem;
}

.m-social-link {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #ffffff !important;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.m-social-link:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.m-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.m-facebook {
  background: #1877F2;
}

.m-linkedin {
  background: #0A66C2;
}

@media (min-width: 993px) {
  .mobile-header-socials {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   6. Sticky Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: clamp(0.5rem, 1.2vw, 1.25rem);
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.logo-img {
  height: clamp(58px, 6vw, 76px);
  width: auto;
  object-fit: contain;
}

.logo-fallback {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 2.1rem;
  box-shadow: 0 4px 14px rgba(8, 145, 178, 0.3);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.52rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.logo-subtitle {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* Desktop Nav */
.desktop-nav {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1vw, 1.35rem);
}

.nav-link {
  font-weight: 600;
  font-size: clamp(0.82rem, 0.95vw, 0.92rem);
  color: var(--text-main);
  padding: 0.4rem 0.2rem;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-header-cta {
  display: none;
  white-space: nowrap !important;
  flex-shrink: 0;
  min-width: max-content;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  transition: all var(--transition-fast);
}

.menu-toggle:hover {
  background-color: var(--accent-light);
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   7. Mobile Drawer Navigation
   -------------------------------------------------------------------------- */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(85vw, 360px);
  background: #ffffff;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--transition-normal), visibility var(--transition-normal);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}

.mobile-drawer.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.drawer-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
}

.drawer-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
}

.drawer-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
}

.drawer-close:hover {
  color: var(--primary);
  background: var(--bg-surface);
}

.drawer-nav {
  padding: 1rem 0;
  flex: 1;
}

.drawer-links {
  display: flex;
  flex-direction: column;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.5rem;
  font-weight: 600;
  color: var(--text-main);
  font-size: 1rem;
  border-left: 3px solid transparent;
  transition: all var(--transition-fast);
}

.drawer-link i {
  font-size: 1.25rem;
  color: var(--accent);
}

.drawer-link:hover, .drawer-link.active {
  background-color: var(--accent-light);
  color: var(--accent);
  border-left-color: var(--accent);
}

.drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.drawer-contact-pills {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pill-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.65rem 1rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

/* --------------------------------------------------------------------------
   8. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background-color: var(--primary);
  color: #ffffff;
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: 0;
  overflow: hidden;
}

.hero-media-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.60;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 37, 64, 0.76) 0%,
    rgba(10, 37, 64, 0.62) 50%,
    rgba(15, 23, 42, 0.74) 100%
  );
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4.5vw, 3.5rem);
  align-items: center;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 700;
  background: rgba(8, 145, 178, 0.25);
  border: 1px solid rgba(8, 145, 178, 0.45);
  color: #67e8f9;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.hero-badge.single-line-badge {
  white-space: nowrap;
  max-width: 100%;
}

.badge-pulse-icon {
  display: inline-block;
  color: #38bdf8;
  font-size: 1.05rem;
  animation: badgeIconPulse 2s infinite ease-in-out;
}

@keyframes badgeIconPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(56, 189, 248, 0.4)); }
  50% { transform: scale(1.28); filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.95)); }
}

.hero-title {
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.hero-description {
  font-size: clamp(1rem, 1.2vw + 0.3rem, 1.18rem);
  line-height: 1.65;
  color: #e2e8f0;
  margin-bottom: 2rem;
}

.hero-description strong {
  color: #ffffff;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-highlight-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.84rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Hero Doctor Showcase Stage */
.hero-doctor-showcase {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  animation: heroShowcaseFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.showcase-glow-circle {
  position: absolute;
  top: 15%;
  left: 10%;
  width: 80%;
  height: 70%;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.45) 0%, rgba(13, 148, 136, 0.2) 45%, transparent 70%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 1;
  animation: glowPulse 6s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.1); opacity: 0.95; }
}

/* Floating Animated Cards */
.hero-floating-card {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--primary);
  pointer-events: auto;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-floating-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.floating-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.icon-gold { background: #fef3c7; color: #d97706; }
.icon-cyan { background: #e0f2fe; color: #0284c7; }
.icon-teal { background: #ccfbf1; color: #0d9488; }

.floating-card-body {
  display: flex;
  flex-direction: column;
}

.floating-card-val {
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary);
}

.floating-card-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Desktop Floating Positions (>= 1024px) */
@media (min-width: 1024px) {
  .card-experience {
    top: 20px;
    left: -32px;
  }

  .card-procedures {
    top: 48%;
    right: -32px;
  }

  .card-critical {
    bottom: 25px;
    left: -24px;
  }
}

/* Tablet Floating Positions (768px – 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .card-experience {
    top: 15px;
    left: -12px;
  }

  .card-procedures {
    top: 48%;
    right: -12px;
  }

  .card-critical {
    bottom: 20px;
    left: -8px;
  }
}

/* Float Keyframe Animations */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes floatMid {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes floatReverse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

.animate-float-slow {
  animation: floatSlow 5.5s ease-in-out infinite;
}

.animate-float-mid {
  animation: floatMid 4.5s ease-in-out infinite;
}

.animate-float-reverse {
  animation: floatReverse 5s ease-in-out infinite;
}

/* Hero Doctor Floating Card */
.hero-doctor-card {
  position: relative;
  z-index: 2;
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 3.5vw, 1.5rem);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 440px;
  min-width: 0;
  box-sizing: border-box;
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.doctor-badge-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.82rem;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #059669;
  font-weight: 700;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.clinic-location-badge {
  font-weight: 600;
  color: var(--text-muted);
}

.hero-doctor-media {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
  background-color: var(--bg-surface);
  aspect-ratio: 4 / 3.8;
}

.hero-doctor-photo {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.doctor-media-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
}

.doctor-exp-pill {
  background: rgba(10, 37, 64, 0.9);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.82rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(8, 145, 178, 0.5);
}

.doctor-exp-pill strong {
  color: #38bdf8;
}

.card-doctor-name {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.card-doctor-degrees {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.card-doctor-role {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.hospital-ties {
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  margin-bottom: 1.25rem;
}

.hospital-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: clamp(0.68rem, 2.7vw, 0.82rem);
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
}

.hospital-item span {
  white-space: nowrap;
}

.single-line-heading {
  white-space: nowrap !important;
  font-size: clamp(1.02rem, 5.2vw, 2.5rem) !important;
  letter-spacing: -0.015em;
  max-width: 100%;
}

/* Compact Doctor Card Streamlining */
.compact-doctor-card {
  padding: clamp(0.9rem, 2.5vw, 1.25rem);
  max-width: 410px;
}

.compact-doctor-card .hero-doctor-media {
  aspect-ratio: 16 / 11;
  max-height: 230px;
  margin-bottom: 0.85rem;
}

.compact-doctor-card .card-doctor-name {
  font-size: 1.18rem;
  margin-bottom: 0.2rem;
}

.compact-doctor-card .card-doctor-degrees {
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

.compact-doctor-card .card-doctor-role {
  font-size: 0.82rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.compact-doctor-card .hospital-ties {
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.85rem;
}

/* 3 Highlights Side-by-Side at Bottom of Hero */
.hero-bottom-highlights {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 0.5rem;
  width: 100%;
}

.hero-highlight-card {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.highlight-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.highlight-card-body {
  display: flex;
  flex-direction: column;
}

.highlight-card-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
}

.highlight-card-sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

@media (max-width: 860px) {
  .hero-bottom-highlights {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .hero-highlight-card {
    padding: 0.85rem 1rem;
  }
}

/* Hero Stats Band */
.hero-stats-band {
  position: relative;
  z-index: 4;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.5rem;
  padding-block: 2rem;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition-bounce), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.stat-card-gold {
  border-color: rgba(245, 158, 11, 0.28);
  background: linear-gradient(135deg, #ffffff 0%, #fffdf5 100%);
}
.stat-card-gold .stat-icon-wrapper {
  background: #fef3c7;
  color: #d97706;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.18);
}
.stat-card-gold .stat-number {
  color: #b45309;
}

.stat-card-cyan {
  border-color: rgba(2, 132, 199, 0.28);
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}
.stat-card-cyan .stat-icon-wrapper {
  background: #e0f2fe;
  color: #0284c7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.18);
}
.stat-card-cyan .stat-number {
  color: #0369a1;
}

.stat-card-purple {
  border-color: rgba(147, 51, 234, 0.28);
  background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
}
.stat-card-purple .stat-icon-wrapper {
  background: #f3e8ff;
  color: #9333ea;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.18);
}
.stat-card-purple .stat-number {
  color: #7e22ce;
}

.stat-card-teal {
  border-color: rgba(13, 148, 136, 0.28);
  background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
}
.stat-card-teal .stat-icon-wrapper {
  background: #ccfbf1;
  color: #0d9488;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.18);
}
.stat-card-teal .stat-number {
  color: #0f766e;
}

.stat-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.stat-card:hover .stat-icon-wrapper {
  transform: scale(1.08);
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   9. About Doctor Section
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.lead-quote {
  position: relative;
  background: var(--bg-surface);
  border-left: 4px solid var(--accent);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 1.75rem;
}

.lead-quote p {
  font-size: clamp(1.02rem, 1.2vw + 0.2rem, 1.15rem);
  font-style: italic;
  color: var(--primary);
  line-height: 1.6;
}

.quote-icon {
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.25;
  position: absolute;
  top: 10px;
  right: 15px;
}

.about-paragraphs p {
  margin-bottom: 1.25rem;
  color: #334155;
  font-size: 1.02rem;
}

.interest-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.75rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.interest-title {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.interest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.interest-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--bg-surface);
  color: var(--primary);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.about-social-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}

.social-prompt {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.social-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  transition: all var(--transition-fast);
}

.social-badge-link:hover {
  background: #e2e8f0;
  border-color: var(--linkedin);
  color: var(--linkedin);
}

/* Credentials Cards & Timelines */
.about-credentials-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.credentials-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}

.credentials-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.2rem;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}

.timeline-list::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 95px;
  width: 2px;
  background-color: #e2e8f0;
}

/* Animated Timeline Connecting Line & Glowing Nodes */
.animated-timeline::before {
  background: linear-gradient(180deg, #e2e8f0 0%, var(--accent) 30%, #0d9488 70%, #e2e8f0 100%);
  background-size: 100% 200%;
  animation: timelineFlow 4.5s ease-in-out infinite alternate;
}

@keyframes timelineFlow {
  0% { background-position: 0% 0%; }
  100% { background-position: 0% 100%; }
}

.timeline-item {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 1.5rem;
  position: relative;
  transition: transform var(--transition-fast);
}

.timeline-item:hover {
  transform: translateX(4px);
}

.timeline-year {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  text-align: right;
  line-height: 1.4;
  padding-top: 2px;
}

.timeline-body {
  position: relative;
  padding-left: 0.5rem;
}

.timeline-body::before {
  content: '';
  position: absolute;
  top: 6px;
  left: -18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 0 3px #e0f2fe;
}

.animated-timeline .timeline-body::before {
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  animation: nodePulse 3s infinite ease-in-out;
}

.animated-timeline .timeline-item:nth-child(2) .timeline-body::before { animation-delay: 0.6s; }
.animated-timeline .timeline-item:nth-child(3) .timeline-body::before { animation-delay: 1.2s; }
.animated-timeline .timeline-item:nth-child(4) .timeline-body::before { animation-delay: 1.8s; }
.animated-timeline .timeline-item:nth-child(5) .timeline-body::before { animation-delay: 2.4s; }

@keyframes nodePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 3px #e0f2fe; }
  50% { transform: scale(1.35); box-shadow: 0 0 0 6px rgba(8, 145, 178, 0.4); }
}

.animated-timeline .timeline-item:hover .timeline-body::before {
  transform: scale(1.45);
  background-color: var(--accent-hover);
  box-shadow: 0 0 0 7px rgba(8, 145, 178, 0.5);
}

.timeline-degree {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.timeline-inst {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   10. Specialties / Services Grid
   -------------------------------------------------------------------------- */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1.75rem;
}

.specialty-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.specialty-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(8, 145, 178, 0.4);
}

.specialty-card.featured-card {
  border: 2px solid var(--accent);
  background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
}

.featured-tag {
  position: absolute;
  top: 12px;
  right: 14px;
  background-color: var(--accent);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.specialty-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background-color: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  transition: all var(--transition-fast);
}

.specialty-card:hover .specialty-icon-box {
  background-color: var(--accent);
  color: #ffffff;
}

.specialty-name {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
  color: var(--primary);
}

.specialty-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}

.specialty-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.specialty-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.specialty-features li i {
  margin-top: 2px;
  flex-shrink: 0;
}

.specialty-card-media {
  width: calc(100% + 3.5rem);
  margin: -2rem -1.75rem 1.25rem -1.75rem;
  height: 180px;
  overflow: hidden;
  border-top-left-radius: calc(var(--radius-lg) - 1px);
  border-top-right-radius: calc(var(--radius-lg) - 1px);
  position: relative;
  background: var(--bg-surface);
}

.specialty-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.specialty-card:hover .specialty-img {
  transform: scale(1.05);
}

.specialty-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.specialty-card-action {
  margin-top: auto;
  padding-top: 1.25rem;
}

.btn-view-symptoms {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  font-weight: 600;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--primary);
  transition: all var(--transition-fast);
  cursor: pointer;
  width: 100%;
  justify-content: center;
}

.btn-view-symptoms:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.25);
}

/* Individual Specialty Color Palettes */
.theme-pulmo .specialty-icon-box { background: #e0f2fe; color: #0284c7; }
.theme-pulmo:hover { border-color: #0284c7; }

.theme-interv .specialty-icon-box { background: #fef3c7; color: #d97706; }
.theme-interv:hover { border-color: #d97706; }

.theme-pft .specialty-icon-box { background: #ccfbf1; color: #0d9488; }
.theme-pft:hover { border-color: #0d9488; }

.theme-sleep .specialty-icon-box { background: #ede9fe; color: #7c3aed; }
.theme-sleep:hover { border-color: #7c3aed; }

.theme-icu .specialty-icon-box { background: #ffe4e6; color: #e11d48; }
.theme-icu:hover { border-color: #e11d48; }

.theme-procedures .specialty-icon-box { background: #fae8ff; color: #a21caf; }
.theme-procedures:hover { border-color: #a21caf; }

.theme-asthma .specialty-icon-box { background: #dcfce7; color: #15803d; }
.theme-asthma:hover { border-color: #15803d; }

.theme-preventive .specialty-icon-box { background: #e0e7ff; color: #4338ca; }
.theme-preventive:hover { border-color: #4338ca; }

.theme-onco .specialty-icon-box { background: #fee2e2; color: #b91c1c; }
.theme-onco:hover { border-color: #b91c1c; }

.theme-rehab .specialty-icon-box { background: #ecfdf5; color: #059669; }
.theme-rehab:hover { border-color: #059669; }

.theme-tobacco .specialty-icon-box { background: #ffedd5; color: #c2410c; }
.theme-tobacco:hover { border-color: #c2410c; }

.theme-pediatric .specialty-icon-box { background: #fdf2f8; color: #be185d; }
.theme-pediatric:hover { border-color: #be185d; }

.theme-allergy .specialty-icon-box { background: #f0fdf4; color: #16a34a; }
.theme-allergy:hover { border-color: #16a34a; }

/* --------------------------------------------------------------------------
   11. Symptoms & Conditions Section
   -------------------------------------------------------------------------- */
.symptoms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.symptom-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.symptom-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.symptom-icon {
  width: 48px;
  height: 48px;
  background-color: #f1f5f9;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: transform var(--transition-fast);
}

.symptom-card:hover .symptom-icon {
  transform: scale(1.1);
}

.symptom-title {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.symptom-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Individual Symptom Color Palettes */
.symptom-theme-rose .symptom-icon { background: #ffe4e6; color: #e11d48; }
.symptom-theme-rose:hover { border-color: #e11d48; }

.symptom-theme-amber .symptom-icon { background: #fef3c7; color: #d97706; }
.symptom-theme-amber:hover { border-color: #d97706; }

.symptom-theme-cyan .symptom-icon { background: #e0f2fe; color: #0284c7; }
.symptom-theme-cyan:hover { border-color: #0284c7; }

.symptom-theme-indigo .symptom-icon { background: #ede9fe; color: #6366f1; }
.symptom-theme-indigo:hover { border-color: #6366f1; }

.symptom-theme-orange .symptom-icon { background: #ffedd5; color: #ea580c; }
.symptom-theme-orange:hover { border-color: #ea580c; }

.symptom-theme-crimson .symptom-icon { background: #fee2e2; color: #dc2626; }
.symptom-theme-crimson:hover { border-color: #dc2626; }

.symptom-theme-purple .symptom-icon { background: #fae8ff; color: #9333ea; }
.symptom-theme-purple:hover { border-color: #9333ea; }

.symptom-theme-teal .symptom-icon { background: #ccfbf1; color: #0d9488; }
.symptom-theme-teal:hover { border-color: #0d9488; }

.symptoms-cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 2.75rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.banner-title {
  color: #ffffff;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  margin-bottom: 0.35rem;
}

.banner-sub {
  color: #cbd5e1;
  font-size: 0.98rem;
}

.banner-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   12. Clinic Gallery & Lightbox
   -------------------------------------------------------------------------- */
.gallery-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.gallery-tab {
  padding: 0.6rem 1.25rem;
  min-height: 44px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  background: #ffffff;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.gallery-tab:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.gallery-tab.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
}

.gallery-item {
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.gallery-item.hide {
  display: none;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #000000;
  aspect-ratio: 4 / 3;
  width: 100%;
  max-width: 100%;
  box-shadow: var(--shadow-sm);
}

.gallery-img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.gallery-card:hover .gallery-img {
  transform: scale(1.06);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gallery-card:hover .gallery-item-overlay {
  opacity: 1;
}

.lightbox-trigger-btn {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transform: scale(0.85);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.gallery-card:hover .lightbox-trigger-btn {
  transform: scale(1);
}

.lightbox-trigger-btn:hover {
  transform: scale(1.12);
  background: #ffffff;
  color: var(--accent);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal);
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox-container {
  position: relative;
  z-index: 2;
  width: min(92vw, 1000px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  width: 44px;
  height: 44px;
  color: #ffffff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: background var(--transition-fast);
  z-index: 3;
}

.lightbox-nav-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: 85vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: #f1f5f9;
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 0.85rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   13. Why Choose Us Section
   -------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.why-point {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
}

.why-point-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.why-point-title {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.why-point-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.trust-summary-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
}

.trust-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-icon {
  font-size: 2rem;
  color: #38bdf8;
}

.trust-title {
  color: #ffffff;
  font-size: 1.45rem;
}

.trust-metrics-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.trust-metrics-list li {
  display: grid;
  grid-template-columns: minmax(130px, max-content) 1fr;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-metrics-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.metric-val {
  font-size: clamp(1.65rem, 3.2vw, 2.3rem);
  font-weight: 800;
  color: #38bdf8;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.metric-desc {
  font-size: clamp(0.86rem, 1.1vw, 0.98rem);
  color: #e2e8f0;
  font-weight: 500;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   13.5. Patient Knowledge Base & Education Section
   -------------------------------------------------------------------------- */
.knowledge-section {
  background: var(--bg-page);
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.75rem;
}

.knowledge-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
}

.knowledge-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(8, 145, 178, 0.4);
}

.knowledge-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  align-self: flex-start;
}

.badge-blue { background: #e0f2fe; color: #0284c7; }
.badge-cyan { background: #ccfbf1; color: #0f766e; }
.badge-amber { background: #fef3c7; color: #b45309; }
.badge-purple { background: #ede9fe; color: #6d28d9; }

.knowledge-title {
  font-size: 1.18rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
  line-height: 1.35;
}

.knowledge-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.knowledge-takeaways {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-main);
}

.knowledge-takeaways li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.4;
}

.knowledge-takeaways li i {
  margin-top: 2px;
  flex-shrink: 0;
}

.knowledge-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
}

.read-time {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.knowledge-link {
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--transition-fast);
}

.knowledge-link:hover {
  gap: 0.55rem;
  color: var(--accent-hover);
}

/* --------------------------------------------------------------------------
   14. FAQ Accordion Section
   -------------------------------------------------------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--accent);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.35rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   15. Contact & Booking Form Section
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.contact-info-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-sizing: border-box;
}

.contact-card-title {
  color: #ffffff;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 0.65rem;
}

.contact-card-desc {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 2.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #38bdf8;
  flex-shrink: 0;
}

.contact-item-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.contact-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 0.2rem;
}

.contact-val {
  font-size: 0.96rem;
  color: #f1f5f9;
  font-style: normal;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word;
}

.contact-link:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.map-action-wrapper {
  margin-top: auto;
}

.contact-map-wrapper {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  aspect-ratio: 16 / 9;
  min-height: 220px;
}

.contact-map-iframe {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
  display: block;
}

/* Booking Form Wrapper */
.booking-form-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-md);
}

.form-header {
  margin-bottom: 1.75rem;
}

.form-title {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.appointment-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.required {
  color: #ef4444;
}

.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  font-size: 1.2rem;
  color: var(--text-light);
  pointer-events: none;
}

.form-control {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 1rem 0.65rem 42px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.94rem;
  background-color: #ffffff;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

textarea.form-control {
  padding-left: 1rem;
  min-height: 85px;
  resize: vertical;
}

.form-control:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.18);
  outline: none;
}

.form-control:user-invalid {
  border-color: #ef4444;
}

.field-feedback {
  font-size: 0.78rem;
  color: #ef4444;
  min-height: 1rem;
}

.form-actions {
  margin-top: 0.5rem;
}

.form-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 0.85rem;
}

.form-notice a {
  color: var(--accent);
  font-weight: 600;
}

.form-success-banner {
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.form-success-banner h4 {
  color: #065f46;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.form-success-banner p {
  color: #047857;
  font-size: 0.88rem;
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--primary-dark);
  color: #94a3b8;
  padding-top: clamp(3.5rem, 6vw, 5rem);
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  margin-bottom: 3.5rem;
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-about-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.footer-stats-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  color: #38bdf8;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
}

.footer-heading {
  font-size: 1.08rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #38bdf8;
  transform: translateX(3px);
}

.footer-address {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.footer-contact-link:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  font-size: 0.82rem;
  color: #64748b;
}

.copyright-text {
  color: #94a3b8;
}

.medical-disclaimer {
  max-width: 900px;
  margin-inline: auto;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   17. Floating Action Buttons (FABs)
   -------------------------------------------------------------------------- */
.fab-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.fab-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.45rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-fast);
  position: relative;
  text-decoration: none;
}

.fab-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.fab-call {
  background-color: var(--accent);
}

.fab-call:hover {
  background-color: var(--accent-hover);
}

.fab-whatsapp, .official-wa-btn {
  background-color: #25d366 !important;
  color: #ffffff !important;
  position: relative;
}

.fab-whatsapp:hover, .official-wa-btn:hover {
  background-color: #128c7e !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.fab-whatsapp::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: waRadar 2.2s infinite ease-out;
  pointer-events: none;
}

@keyframes waRadar {
  0% { transform: scale(0.95); opacity: 0.9; }
  100% { transform: scale(1.45); opacity: 0; }
}

.fab-top {
  background-color: var(--primary);
  font-size: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.fab-top.visible {
  opacity: 0.9;
  visibility: visible;
}

.fab-top:hover {
  opacity: 1;
  background-color: var(--primary-light);
}

/* FAB Tooltips (visible on desktop hover) */
.fab-tooltip {
  position: absolute;
  right: 64px;
  background: rgba(10, 37, 64, 0.94);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-fast);
}

.fab-btn:hover .fab-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* --------------------------------------------------------------------------
   18. Appointment Modal
   -------------------------------------------------------------------------- */
.appointment-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 1rem;
}

.appointment-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.7);
  backdrop-filter: blur(6px);
}

.modal-dialog {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: scale(0.94);
  transition: transform var(--transition-normal);
}

.appointment-modal.active .modal-dialog {
  transform: scale(1);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.2rem;
  color: var(--primary);
}

.modal-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.modal-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
}

.modal-close:hover {
  color: var(--primary);
  background: rgba(0, 0, 0, 0.05);
}

.modal-body {
  padding: 1.5rem;
}

.modal-body form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   18b. Social Media Channels & Interactive Contact Links
   -------------------------------------------------------------------------- */
.text-instagram { color: #e1306c; }
.text-facebook { color: #1877f2; }

.contact-social-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.contact-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition-fast);
}

.contact-social-pill:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--transition-fast);
}

.footer-social-btn:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer-social-inline {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.drawer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.drawer-social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all var(--transition-fast);
}

.drawer-social-link:hover {
  background: var(--accent-light);
  color: var(--accent);
  border-color: var(--accent);
}

/* --------------------------------------------------------------------------
   18c. Symptoms Information Modal Popup
   -------------------------------------------------------------------------- */
.symptoms-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 1.5rem);
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.symptoms-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.symptoms-modal-dialog {
  background: #ffffff;
  width: min(94vw, 560px);
  max-height: 88vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: scale(0.92) translateY(20px);
  transition: transform var(--transition-normal);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
}

.symptoms-modal-overlay.active .symptoms-modal-dialog {
  transform: scale(1) translateY(0);
}

.symptoms-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.4rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  position: sticky;
  top: 0;
  z-index: 2;
}

.symptoms-modal-title-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.symptoms-modal-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.symptoms-modal-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.symptoms-modal-title {
  font-size: 1.2rem;
  color: var(--primary);
  margin: 0;
  line-height: 1.25;
}

.symptoms-modal-close {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.symptoms-modal-close:hover {
  background: #e2e8f0;
  color: var(--primary);
}

.symptoms-modal-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.symptoms-modal-desc {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text-main);
}

.symptoms-checklist-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.text-warning {
  color: #e11d48;
}

.symptoms-checklist-items {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: var(--bg-surface);
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.symptoms-checklist-items li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: #1e293b;
  line-height: 1.45;
}

.symptoms-checklist-items li i {
  color: #e11d48;
  font-size: 1.05rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.symptoms-advice-box {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  color: #0369a1;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.4;
}

.symptoms-modal-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.btn-modal-cta {
  min-height: 46px;
  font-size: 0.9rem;
}

@media (max-width: 480px) {
  .symptoms-modal-ctas {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   19. Responsive Media Queries (Testing Breakpoints: 320, 360, 375, 480, 768, 1024, 1280)
   -------------------------------------------------------------------------- */

/* Extra Small & Mobile Devices (≤ 480px) */
@media (max-width: 480px) {
  :root {
    --container-pad: 1rem;
    --section-pad-y: 2.75rem;
  }

  .top-bar-container {
    justify-content: center;
    text-align: center;
  }

  .top-bar-left, .top-bar-right {
    justify-content: center;
    gap: 0.75rem;
  }

  .logo-icon {
    width: 48px;
    height: 48px;
    font-size: 1.75rem;
  }

  .logo-title {
    font-size: 1.3rem;
  }

  .logo-subtitle {
    font-size: 0.82rem;
  }

  .hero-doctor-card {
    padding: 1.15rem 0.85rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-badge.single-line-badge {
    font-size: clamp(0.7rem, 3.1vw, 0.84rem);
    padding: 0.4rem 0.75rem;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 0.75rem;
    padding-block: 1.25rem;
  }

  .stat-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.45rem;
    padding: 0.9rem 0.65rem;
    border-radius: var(--radius-md);
  }

  .stat-content {
    align-items: center;
  }

  .stat-icon-wrapper {
    width: 42px;
    height: 42px;
    font-size: 1.35rem;
  }

  .timeline-list::before {
    left: 8px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding-left: 1.5rem;
  }

  .timeline-year {
    text-align: left;
    font-size: 0.78rem;
  }

  .timeline-body {
    padding-left: 0;
  }

  .timeline-body::before {
    left: -20px;
    top: -18px;
  }

  .fab-wrapper {
    bottom: 15px;
    right: 15px;
    gap: 10px;
  }

  .fab-btn {
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
  }

  .trust-summary-card,
  .contact-info-card,
  .booking-form-wrapper {
    padding: 1.25rem 1rem;
  }

  .trust-metrics-list li {
    grid-template-columns: minmax(88px, max-content) 1fr;
    gap: 0.85rem;
    padding-bottom: 0.75rem;
  }

  .specialty-card {
    padding: 1.5rem 1.25rem;
  }

  .specialty-card-media {
    width: calc(100% + 2.5rem);
    margin: -1.5rem -1.25rem 1.25rem -1.25rem;
    height: 160px;
  }

  .hero-doctor-showcase {
    max-width: 100%;
    margin-top: 1.25rem;
  }

  .card-experience {
    top: -12px;
    left: 6px;
    padding: 0.45rem 0.75rem;
  }

  .card-procedures {
    bottom: 120px;
    right: 6px;
    padding: 0.45rem 0.75rem;
  }

  .card-critical {
    display: none;
  }

  .floating-icon-box {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .floating-card-val {
    font-size: 0.8rem;
  }

  .floating-card-sub {
    font-size: 0.65rem;
  }
}

/* Cards Coming Up / Scroll Reveal Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveals for cards in grids */
.specialties-grid .specialty-card.reveal-up:nth-child(2) { transition-delay: 0.05s; }
.specialties-grid .specialty-card.reveal-up:nth-child(3) { transition-delay: 0.1s; }
.specialties-grid .specialty-card.reveal-up:nth-child(4) { transition-delay: 0.15s; }

.symptoms-grid .symptom-card.reveal-up:nth-child(2) { transition-delay: 0.05s; }
.symptoms-grid .symptom-card.reveal-up:nth-child(3) { transition-delay: 0.1s; }
.symptoms-grid .symptom-card.reveal-up:nth-child(4) { transition-delay: 0.15s; }

.why-points .why-point.reveal-up:nth-child(2) { transition-delay: 0.07s; }
.why-points .why-point.reveal-up:nth-child(3) { transition-delay: 0.14s; }
.why-points .why-point.reveal-up:nth-child(4) { transition-delay: 0.21s; }

/* Small Devices (≥ 480px) */
@media (min-width: 480px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tablets (≥ 768px) */
@media (min-width: 768px) {
  .hero-container {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .why-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .hide-mobile {
    display: inline-flex !important;
  }
}

/* Desktop (≥ 1024px) */
@media (min-width: 1024px) {
  .desktop-nav {
    display: block;
  }

  .btn-header-cta {
    display: inline-flex;
  }

  @media (max-width: 1200px) {
    .btn-header-cta {
      padding: 0.55rem 0.85rem;
      font-size: 0.84rem;
      gap: 0.35rem;
      min-height: 42px;
    }
  }

  .menu-toggle {
    display: none;
  }

  .mobile-drawer,
  .mobile-drawer-overlay {
    display: none !important;
  }

  .hero-section {
    padding-top: clamp(3.5rem, 6vw, 5.5rem);
  }

  .lightbox-prev {
    left: -70px;
  }

  .lightbox-next {
    right: -70px;
  }
}

/* --------------------------------------------------------------------------
   20. Accessibility & Performance (Prefers-Reduced-Motion)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .pulse-dot {
    animation: none;
  }

  .reveal-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
