/* ==========================================================================
   DR. SUPREET PRABHU ENT & MULTI-SPECIALITY HOSPITAL
   Master Responsive CSS Design System (Mobile-First, SEO & Cloudflare Optimized)
   ========================================================================== */

:root {
  /* Core Medical Color Palette */
  --primary: #0284c7;         /* Ocean Medical Blue */
  --primary-dark: #0369a1;
  --primary-deep: #075985;
  --primary-light: #e0f2fe;
  --primary-glow: rgba(2, 132, 199, 0.25);

  --secondary: #0d9488;       /* Clinical Teal */
  --secondary-dark: #0f766e;
  --secondary-light: #ccfbf1;

  --accent-gold: #d97706;     /* Award & Honors Gold */
  --accent-gold-light: #fef3c7;

  --emergency-red: #e11d48;   /* 24x7 Emergency Red */
  --emergency-light: #ffe4e6;

  --success: #10b981;
  --success-light: #d1fae5;
  
  --dark-slate: #0f172a;      /* Slate Navy */
  --dark-navy: #1e293b;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-light: #e2e8f0;
  --border-subtle: #cbd5e1;
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.95);

  /* Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-drawer: -12px 0 40px rgba(0, 0, 0, 0.3);
  --shadow-premium: 0 20px 40px -15px rgba(2, 132, 199, 0.15);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', var(--font-sans);

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --primary: #38bdf8;
  --primary-dark: #0284c7;
  --primary-deep: #0369a1;
  --primary-light: #082f49;
  --primary-glow: rgba(56, 189, 248, 0.2);

  --secondary: #2dd4bf;
  --secondary-dark: #14b8a6;
  --secondary-light: #134e4a;

  --dark-slate: #f8fafc;
  --dark-navy: #f1f5f9;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --border-light: #334155;
  --border-subtle: #475569;
  --bg-page: #0b0f17;
  --bg-surface: #131b2e;
  --bg-subtle: #1e293b;
  --bg-glass: rgba(19, 27, 46, 0.96);
}

/* ==========================================================================
   CSS Reset & Base Rules
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

main {
  flex: 1 0 auto;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark-slate);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

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

a:hover {
  color: var(--primary-dark);
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  touch-action: manipulation;
}

ul, ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   Top Notification & Emergency Bar
   ========================================================================== */
.topbar {
  background: linear-gradient(90deg, #075985 0%, #0369a1 50%, #0d9488 100%);
  color: #ffffff;
  font-size: 0.85rem;
  padding: 0.55rem 0;
  position: relative;
  z-index: 50;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.topbar-item a {
  color: #ffffff;
  font-weight: 700;
}

.topbar-item a:hover {
  text-decoration: underline;
}

.emergency-pill {
  background: var(--emergency-red);
  color: white;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  animation: pulse-red 2s infinite;
  min-height: 28px;
}

@keyframes pulse-red {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7); }
  70% { transform: scale(1.03); box-shadow: 0 0 0 8px rgba(225, 29, 72, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

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

.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: white;
  border-radius: var(--radius-pill);
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

/* ==========================================================================
   Main Header & Navigation Architecture
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 2000; /* Stacking above page content and floating buttons */
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  position: relative;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-height: 48px;
  z-index: 2005;
}

.logo-badge {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
  flex-shrink: 0;
}

.logo-badge svg {
  width: 24px;
  height: 24px;
  stroke: white;
}

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

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--dark-slate);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.logo-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Desktop Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.5rem 0.4rem;
  position: relative;
  transition: color var(--transition-fast);
  display: inline-block;
  min-height: 44px;
  line-height: 28px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

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

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile-only elements strictly hidden on desktop */
.header-actions,
.mobile-nav-toggle,
.mobile-nav-close-btn,
.mobile-drawer-footer,
.drawer-theme-box,
.nav-backdrop {
  display: none !important;
}

.header-theme-toggle {
  display: none;
}

/* ==========================================================================
   Buttons & UI Controls
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  min-height: 48px;
  box-sizing: border-box;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  min-height: 38px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
  min-height: 52px;
  border-radius: var(--radius-lg);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-deep) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
  color: #ffffff;
}

.btn-secondary {
  background: var(--secondary-light);
  color: var(--secondary-dark);
}

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

.btn-outline {
  border: 2px solid var(--border-subtle);
  color: var(--dark-slate);
  background: transparent;
}

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

.btn-accent {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-2px);
  color: #ffffff;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 4rem 0 3rem;
  background: radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(13, 148, 136, 0.07) 0%, transparent 50%),
              var(--bg-page);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  z-index: 10;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.badge-tag-gold {
  background: var(--accent-gold-light);
  color: #92400e;
  border-color: rgba(217, 119, 6, 0.25);
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  color: var(--dark-slate);
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: 620px;
}

.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.cred-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark-slate);
  box-shadow: var(--shadow-sm);
}

.cred-chip svg {
  color: var(--primary);
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.trust-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-slate);
  line-height: 1.3;
}

.trust-text span {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ==========================================================================
   Hero Visual & Doctor Real Photo Frame
   ========================================================================== */
.hero-visual {
  position: relative;
  z-index: 10;
}

.doctor-hero-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: var(--shadow-xl), var(--shadow-premium);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.doctor-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, #e0f2fe 0%, #bae6fd 100%);
  aspect-ratio: 4 / 4.9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doctor-real-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-normal);
}

.doctor-hero-card:hover .doctor-real-photo {
  transform: scale(1.02);
}

.doctor-badge-floating {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(2, 132, 199, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

[data-theme="dark"] .doctor-badge-floating {
  background: rgba(19, 27, 46, 0.94);
}

.doctor-badge-info h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.doctor-badge-info p {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
}

.floating-exp-pill {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: var(--accent-gold);
  color: white;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.35);
  z-index: 5;
}

.floating-award-tag {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  color: #92400e;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(217, 119, 6, 0.3);
  z-index: 5;
}

/* ==========================================================================
   Live Counters & Statistics Bar
   ========================================================================== */
.stats-section {
  padding: 2.5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  text-align: center;
  padding: 1.25rem 0.75rem;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border-light);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-slate);
  margin-bottom: 0.2rem;
}

.stat-subtext {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Interactive Symptom Checker & Quick Triage
   ========================================================================== */
.triage-section {
  padding: 4.5rem 0;
  background: linear-gradient(180deg, var(--bg-page) 0%, var(--bg-subtle) 100%);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--dark-slate);
  margin-bottom: 0.9rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.triage-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.symptom-category-pills {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.symptom-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all var(--transition-fast);
  cursor: pointer;
  min-height: 44px;
}

.symptom-tab-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

.symptom-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.symptom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.symptom-item {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
  min-height: 90px;
}

.symptom-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.symptom-item.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

.symptom-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.symptom-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark-slate);
}

.symptom-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.triage-recommendation-box {
  background: linear-gradient(135deg, #075985 0%, #0369a1 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.triage-rec-info h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.triage-rec-info p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

/* ==========================================================================
   Specialties & Treatments Deep-Dive
   ========================================================================== */
.specialties-section {
  padding: 5rem 0;
  background: var(--bg-surface);
}

.specialty-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.specialty-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.specialty-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.specialty-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(2, 132, 199, 0.3);
}

.specialty-card:hover::before {
  opacity: 1;
}

.specialty-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.specialty-card:nth-child(2) .specialty-icon-box {
  background: var(--secondary-light);
  color: var(--secondary);
}

.specialty-card:nth-child(3) .specialty-icon-box {
  background: var(--accent-gold-light);
  color: #b45309;
}

.specialty-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--dark-slate);
}

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

.specialty-list {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.specialty-list li {
  font-size: 0.85rem;
  color: var(--dark-slate);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 500;
  line-height: 1.4;
}

.specialty-list li svg {
  color: var(--success);
  flex-shrink: 0;
  margin-top: 3px;
}

.card-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  min-height: 38px;
}

.card-link:hover {
  gap: 0.65rem;
}

/* ==========================================================================
   Doctor Spotlight & Academic Legacy
   ========================================================================== */
.about-doctor-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--bg-subtle) 0%, var(--bg-page) 100%);
  position: relative;
}

.about-doctor-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-visual-stack {
  position: relative;
}

.about-image-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  padding: 1.25rem;
}

.about-image-inner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #e2e8f0;
  aspect-ratio: 4 / 4.9;
  position: relative;
}

.award-highlight-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-xl);
  border: 2px solid var(--accent-gold);
  max-width: 280px;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.award-trophy-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-gold-light);
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.award-info h5 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  color: var(--dark-slate);
}

.award-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.milestone-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.milestone-item {
  display: flex;
  gap: 1.25rem;
  position: relative;
}

.milestone-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: -12px;
  width: 2px;
  background: var(--border-light);
}

.milestone-bullet {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 2;
  border: 2px solid var(--bg-surface);
}

.milestone-content h5 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--dark-slate);
}

.milestone-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   Surgical Infrastructure Showcase
   ========================================================================== */
.facilities-section {
  padding: 5rem 0;
  background: var(--bg-surface);
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.facility-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.facility-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.facility-body {
  padding: 1.5rem;
}

.facility-body h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.facility-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Patient Reviews & Testimonials
   ========================================================================== */
.testimonials-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--bg-page) 0%, var(--bg-subtle) 100%);
}

.rating-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .rating-header-pill {
  background: var(--bg-surface);
}

.stars-gold {
  color: #f59e0b;
  display: flex;
  gap: 0.15rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: #f59e0b;
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
  flex-grow: 1;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.reviewer-info h5 {
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}

.reviewer-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Patient Education Hub / Health Articles
   ========================================================================== */
.edu-section {
  padding: 5rem 0;
  background: var(--bg-surface);
}

.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.edu-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.edu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.edu-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.edu-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.edu-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 5rem 0;
  background: var(--bg-page);
}

.faq-accordion {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark-slate);
  background: transparent;
  min-height: 48px;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--primary-light);
  color: var(--primary);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   Clinic Location & Contact Hub
   ========================================================================== */
.contact-section {
  padding: 5rem 0;
  background: var(--bg-surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-card-box {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

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

.contact-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail h5 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: var(--dark-slate);
}

.contact-detail p, .contact-detail a {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.opd-timetable-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 320px;
}

.opd-timetable-table th, .opd-timetable-table td {
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.opd-timetable-table th {
  background: var(--bg-subtle);
  font-weight: 700;
  color: var(--dark-slate);
}

.opd-badge-open {
  background: var(--success-light);
  color: #065f46;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
}

.map-embed-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  height: 100%;
  min-height: 420px;
  background: #e2e8f0;
  position: relative;
}

.map-placeholder-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #075985 0%, #0369a1 100%);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--dark-slate);
  color: #cbd5e1;
  padding: 4.5rem 0 2rem;
  font-size: 0.9rem;
  border-top: 1px solid #334155;
}

[data-theme="dark"] .site-footer {
  background: #090d16;
  border-color: #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h4 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-award-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(217, 119, 6, 0.15);
  border: 1px solid rgba(217, 119, 6, 0.4);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  color: #fcd34d;
  font-weight: 600;
}

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

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.88rem;
  transition: all var(--transition-fast);
  padding: 0.2rem 0;
  display: inline-block;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: #94a3b8;
}

/* ==========================================================================
   Floating Action Buttons (WhatsApp, Emergency, Scroll-To-Top)
   ========================================================================== */
.floating-actions-bar {
  position: fixed;
  bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  right: calc(1.5rem + env(safe-area-inset-right, 0px));
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 990; /* Sits below the active mobile menu (2002) and backdrop (2001) */
}

.floating-btn {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-normal);
  font-size: 1.35rem;
  cursor: pointer;
  border: none;
}

.floating-btn:hover {
  transform: scale(1.08);
}

.floating-btn-whatsapp {
  background: #25d366;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.floating-btn-call {
  background: var(--emergency-red);
  animation: pulse-red 2.5s infinite;
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.35);
}

.floating-btn-top {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
  opacity: 0;
  visibility: hidden;
}

.floating-btn-top.visible {
  opacity: 1;
  visibility: visible;
}

.floating-btn-top:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-deep) 100%);
  transform: translateY(-3px) scale(1.06);
}

.floating-btn-top svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
  stroke-width: 2.8;
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast-notification {
  position: fixed;
  bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--dark-slate);
  color: white;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 3000;
  opacity: 0;
  transition: all var(--transition-normal);
  max-width: 90vw;
  text-align: center;
}

.toast-notification.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Comprehensive Responsive Breakpoints (Mobile, Tablet, Desktop)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-credentials, .hero-actions, .hero-trust-bar {
    justify-content: center;
  }

  .hero-visual {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .specialty-cards-grid, .facility-grid, .testimonial-grid, .edu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-doctor-grid {
    grid-template-columns: 1fr;
  }

  .about-visual-stack {
    max-width: 480px;
    margin: 0 auto 2rem;
  }

  .award-highlight-card {
    position: static;
    margin-top: 1.5rem;
    max-width: 100%;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .topbar-info {
    font-size: 0.78rem;
    gap: 0.75rem;
  }

  .topbar-item:nth-child(3), .topbar-item:nth-child(4) {
    display: none;
  }

  /* On mobile, hide desktop topbar theme toggle so only 1 toggle exists */
  .topbar-actions {
    display: none !important;
  }

  /* Header actions on mobile: Header theme toggle + hamburger */
  .header-actions {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    z-index: 2005;
  }

  .header-theme-toggle {
    display: inline-flex !important;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    color: var(--dark-slate);
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: var(--radius-pill);
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: background var(--transition-fast), transform var(--transition-fast);
  }

  .header-theme-toggle:hover, .header-theme-toggle:active {
    background: var(--primary-light);
    color: var(--primary);
    transform: scale(1.05);
  }

  /* Slide-in Mobile Drawer Navigation */
  .mobile-nav-toggle {
    display: inline-flex !important;
    font-size: 1.6rem;
    color: var(--dark-slate);
    padding: 0.5rem;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    cursor: pointer;
    z-index: 2005;
    transition: background var(--transition-fast), transform var(--transition-fast);
  }

  .mobile-nav-toggle:hover, .mobile-nav-toggle:active {
    background: var(--border-light);
    transform: scale(1.05);
  }

  /* Mobile Backdrop Overlay */
  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2001;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
  }

  .nav-backdrop.active {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-surface) !important;
    opacity: 1 !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: calc(4.5rem + env(safe-area-inset-top, 0px)) 1.5rem calc(2rem + env(safe-area-inset-bottom, 0px));
    box-shadow: var(--shadow-drawer);
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    z-index: 2002; /* ALWAYS above the backdrop (2001) */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    pointer-events: none;
  }

  .main-nav.open {
    transform: translateX(0);
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    width: 100%;
    margin-bottom: 2rem;
  }

  .nav-link {
    padding: 0.9rem 1.15rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-slate) !important;
    border-radius: var(--radius-md);
    background: var(--bg-subtle);
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border: 1px solid var(--border-light);
    opacity: 1 !important;
    pointer-events: auto !important;
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.active {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
  }

  .nav-link:hover, .nav-link:active {
    background: var(--primary-light);
    color: var(--primary) !important;
    transform: translateX(3px);
  }

  .nav-cta {
    width: 100%;
  }

  /* Drawer Appearance Switcher Box */
  .mobile-drawer-footer,
  .drawer-theme-box {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    width: 100%;
  }

  .drawer-theme-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--dark-slate);
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .drawer-theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pill);
    color: var(--dark-slate);
    font-weight: 600;
    font-size: 0.84rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  }

  .drawer-theme-toggle:hover, .drawer-theme-toggle:active {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.03);
  }

  .nav-cta .btn {
    width: 100%;
    min-height: 50px;
    font-size: 1rem;
  }

  /* Mobile Close Button in Drawer */
  .mobile-nav-close-btn {
    position: absolute;
    top: calc(1.25rem + env(safe-area-inset-top, 0px));
    right: 1.25rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-slate);
    background: var(--bg-subtle);
    border-radius: 50%;
    border: 1px solid var(--border-light);
    cursor: pointer;
    z-index: 2005;
    transition: background var(--transition-fast), transform var(--transition-fast);
  }

  .mobile-nav-close-btn:hover, .mobile-nav-close-btn:active {
    background: var(--border-light);
    transform: scale(1.05);
  }

  .specialty-cards-grid, .facility-grid, .testimonial-grid, .edu-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-card:not(:last-child)::after {
    display: none;
  }

  .stat-card {
    border-bottom: 1px solid var(--border-light);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .floating-actions-bar {
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    right: calc(1rem + env(safe-area-inset-right, 0px));
    gap: 0.6rem;
  }

  .floating-btn {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    font-size: 1.2rem;
  }

  .triage-card {
    padding: 1.5rem 1rem;
  }

  .symptom-category-pills {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .symptom-tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .contact-card-box {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .logo-title {
    font-size: 1.02rem;
  }

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

  .logo-badge {
    width: 38px;
    height: 38px;
  }

  .logo-badge svg {
    width: 20px;
    height: 20px;
  }

  .header-theme-toggle {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    font-size: 1rem;
  }

  .mobile-nav-toggle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    font-size: 1.4rem;
  }

  .header-actions {
    gap: 0.45rem;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .doctor-badge-floating {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.75rem 1rem;
  }

  .floating-award-tag, .floating-exp-pill {
    font-size: 0.7rem;
    padding: 0.3rem 0.65rem;
  }
}

@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;
  }
}
