@import url('https://fonts.googleapis.com/css2?family=Cambo&family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* ==========================================================================
   GLOBAL HOSPITAL AYODHYA - MODERN DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Brand Color Palette */
  --primary-50: #f0f9ff;
  --primary-100: #e0f2fe;
  --primary-200: #bae6fd;
  --primary-300: #7dd3fc;
  --primary-400: #38bdf8;
  --primary-500: #0ea5e9;
  --primary-600: #0284c7;
  --primary-700: #0369a1;
  --primary-800: #075985;
  --primary-900: #0c4a6e;

  /* Medical Teal Palette */
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;

  /* Emergency Red */
  --red-500: #ef4444;
  --red-600: #dc2626;
  --red-100: #fee2e2;

  /* Neutral Slate Palette */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* Amber & Emerald */
  --emerald-500: #10b981;
  --emerald-100: #d1fae5;
  --amber-500: #f59e0b;
  --amber-100: #fef3c7;

  /* Light Theme Mappings */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-muted: #f1f5f9;
  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.06), 0 1px 2px -1px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 0 25px rgba(14, 165, 233, 0.2);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout & Transitions */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Dark Theme Overrides --- */
[data-theme="dark"] {
  --bg-body: #090d16;
  --bg-surface: #111827;
  --bg-surface-elevated: #1e293b;
  --bg-surface-muted: #151e2e;
  --border-subtle: #243044;
  --border-medium: #334155;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 30px rgba(56, 189, 248, 0.25);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

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

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

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

ul, ol {
  list-style: none;
}

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

.section {
  padding: 5.5rem 0;
  position: relative;
}

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

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

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.badge-primary {
  background-color: var(--primary-100);
  color: var(--primary-800);
  border: 1px solid var(--primary-200);
}

[data-theme="dark"] .badge-primary {
  background-color: rgba(14, 165, 233, 0.15);
  color: var(--primary-300);
  border-color: rgba(56, 189, 248, 0.3);
}

.badge-emergency {
  background-color: var(--red-100);
  color: var(--red-600);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.pulse-green {
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.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); }
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-title span {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--teal-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .section-title span {
  background: linear-gradient(135deg, var(--primary-400) 0%, var(--teal-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
  color: #ffffff;
}

.btn-teal {
  background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.btn-teal:hover {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

.btn-emergency {
  background: linear-gradient(135deg, var(--red-600), #b91c1c);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
  animation: glowRed 2.5s infinite;
}

@keyframes glowRed {
  0%, 100% { box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35); }
  50% { box-shadow: 0 4px 22px rgba(220, 38, 38, 0.65); }
}

.btn-emergency:hover {
  background: linear-gradient(135deg, var(--red-500), var(--red-600));
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-outline {
  border: 1.5px solid var(--border-medium);
  background-color: var(--bg-surface);
  color: var(--text-main);
}

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

[data-theme="dark"] .btn-outline:hover {
  background-color: rgba(14, 165, 233, 0.1);
  color: var(--primary-400);
  border-color: var(--primary-500);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* --- Top Announcement & Emergency Bar --- */
.top-bar {
  background: #081325;
  color: #94a3b8;
  padding: 0.6rem 0;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-heading);
  position: relative;
  z-index: 1001;
}

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

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

.top-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #94a3b8;
  font-size: 0.8125rem;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.top-item svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  color: #38bdf8;
  flex-shrink: 0;
}

.top-item a {
  color: #94a3b8;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.top-item:hover, .top-item a:hover {
  color: #ffffff;
}

.top-item-hotline {
  color: #cbd5e1;
}

.top-item-hotline strong {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.emergency-tag {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #f87171;
  padding: 0.22rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-transform: uppercase;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulseRed 2s infinite;
}

@keyframes pulseRed {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 7px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* --- Main Header & Sticky Nav --- */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition-normal);
}

[data-theme="dark"] .main-header {
  background-color: rgba(11, 17, 26, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.main-header.scrolled {
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  background-color: rgba(255, 255, 255, 0.98);
}

[data-theme="dark"] .main-header.scrolled {
  box-shadow: 0 4px 25px -2px rgba(0, 0, 0, 0.6);
  background-color: rgba(11, 17, 26, 0.98);
}

.header-container {
  max-width: 1420px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 1.5rem;
}

/* Brand Logo (Refined original typography + modern healthcare crest) */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #0284c7 0%, #00bcd4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.brand-logo:hover .brand-icon-box {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 188, 212, 0.5);
}

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

.brand-name {
  font-family: 'Cambo', 'Georgia', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #12171f;
  line-height: 1.15;
  letter-spacing: -0.01em;
  transition: color var(--transition-fast);
}

[data-theme="dark"] .brand-name {
  color: #ffffff;
}

.brand-sub {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #00bcd4;
  margin-top: 1px;
}

[data-theme="dark"] .brand-sub {
  color: #22d3ee;
}

/* Nav Links (Original website uppercase tracking + modern glowing active indicator) */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.4vw, 1.75rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: clamp(0.78rem, 0.85vw, 0.85rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #1e293b;
  padding: 0.5rem 0.2rem;
  position: relative;
  white-space: nowrap;
  display: inline-block;
  transition: color var(--transition-fast);
  text-decoration: none;
}

[data-theme="dark"] .nav-link {
  color: #e2e8f0;
}

.nav-link:hover, .nav-link.active {
  color: #00bcd4 !important;
}

[data-theme="dark"] .nav-link:hover, [data-theme="dark"] .nav-link.active {
  color: #22d3ee !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2.5px;
  border-radius: 4px;
  background: #00bcd4;
  box-shadow: 0 0 10px rgba(0, 188, 212, 0.6);
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] .nav-link::after {
  background: #22d3ee;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.8);
}

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

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

/* Enhanced Book Appointment CTA */
.btn-nav-book {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-nav-book:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.45);
  color: #ffffff !important;
}

.btn-nav-book svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-surface-muted);
  color: var(--text-main);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background-color: var(--primary-100);
  color: var(--primary-700);
  border-color: var(--primary-300);
  transform: rotate(15deg);
}

[data-theme="dark"] .theme-toggle-btn:hover {
  background-color: rgba(56, 189, 248, 0.15);
  color: var(--primary-300);
}

.theme-icon-dark, .theme-icon-light {
  display: none;
  width: 20px;
  height: 20px;
}

[data-theme="light"] .theme-icon-light { display: block; }
[data-theme="dark"] .theme-icon-dark { display: block; }

/* Mobile Menu Toggle & Drawer Base (Hidden on Desktop) */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.mobile-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-fast);
}

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

/* --- Hero Section --- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 6rem 0;
  background: radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(20, 184, 166, 0.08) 0%, transparent 40%),
              var(--bg-body);
}

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

.hero-content {
  position: relative;
  z-index: 2;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

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

[data-theme="dark"] .hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary-400) 0%, var(--teal-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Smart Search / Triage Bar in Hero */
.hero-search-box {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 0.6rem 0.75rem 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-search-box:focus-within {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
}

.hero-search-box input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 1rem;
  color: var(--text-main);
}

.hero-search-box input::placeholder {
  color: var(--text-light);
}

.search-icon {
  color: var(--primary-500);
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

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

/* Key Highlights / Numbers */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-600);
  line-height: 1.1;
}

[data-theme="dark"] .stat-number {
  color: var(--primary-400);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.2rem;
}

/* Hero Visual & Interactive Slider */
.hero-visual {
  position: relative;
}

.hero-slider-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.35);
  border: 4px solid var(--bg-surface);
  background: #09111e;
}

[data-theme="dark"] .hero-slider-container {
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.75);
  border-color: rgba(255, 255, 255, 0.1);
}

.hero-slides-wrapper {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(1);
}

.hero-slide.active .hero-slide-img {
  transform: scale(1.06);
}

.hero-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3.5rem 1.75rem 1.5rem 1.75rem;
  background: linear-gradient(to top, rgba(9, 17, 30, 0.92) 0%, rgba(9, 17, 30, 0.5) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 2;
  pointer-events: none;
}

.slide-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #38bdf8;
  background: rgba(14, 165, 233, 0.2);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.slide-caption {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.35;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  max-width: 72%;
}

/* Slider Navigation Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  transition: all var(--transition-fast);
  opacity: 0;
}

.hero-slider-container:hover .slider-arrow {
  opacity: 1;
}

.slider-arrow svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.slider-prev {
  left: 14px;
}

.slider-next {
  right: 14px;
}

.slider-arrow:hover {
  background: #0ea5e9;
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 16px rgba(14, 165, 233, 0.6);
}

.slider-prev:hover svg {
  transform: translateX(-2px);
}

.slider-next:hover svg {
  transform: translateX(2px);
}

/* Slider Indicators (Pills) */
.hero-slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 6;
}

.slider-dot {
  width: 24px;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-dot.active {
  width: 42px;
  background: #00bcd4;
  box-shadow: 0 0 10px rgba(0, 188, 212, 0.85);
}

.slider-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.75);
}

/* Mobile Responsiveness for Slider */
@media (max-width: 768px) {
  .hero-slides-wrapper {
    height: 380px;
  }
  .slider-arrow {
    opacity: 1;
    width: 38px;
    height: 38px;
  }
  .slide-caption {
    font-size: 0.95rem;
    max-width: 100%;
  }
  .floating-badge {
    padding: 0.65rem 0.9rem;
  }
  .floating-badge-top {
    top: 15px;
    left: -10px;
  }
  .floating-badge-bottom {
    bottom: 15px;
    right: -10px;
  }
}

/* Floating Glassmorphic Badges */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 10;
}

[data-theme="dark"] .floating-badge {
  background: rgba(17, 24, 39, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
}

.floating-badge-top {
  top: 25px;
  left: -25px;
  animation: floatSlow 5s ease-in-out infinite alternate;
}

.floating-badge-bottom {
  bottom: 25px;
  right: -20px;
  animation: floatSlow 5s ease-in-out 1s infinite alternate-reverse;
}

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

.badge-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  flex-shrink: 0;
}

.icon-emergency-red {
  background: linear-gradient(135deg, var(--red-600), #b91c1c);
}

.icon-teal {
  background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
}

.badge-info-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.2;
}

.badge-info-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Emergency Quick Action Bar (Floating Ribbon) --- */
.quick-action-ribbon {
  margin-top: -3rem;
  position: relative;
  z-index: 20;
}

.ribbon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
}

.ribbon-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface-muted);
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.ribbon-card:hover {
  background: var(--bg-surface);
  border-color: var(--primary-300);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.ribbon-card.ribbon-card-emergency {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

[data-theme="dark"] .ribbon-card.ribbon-card-emergency {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(185, 28, 28, 0.2));
  border-color: rgba(239, 68, 68, 0.4);
}

.ribbon-card.ribbon-card-emergency:hover {
  border-color: var(--red-500);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.ribbon-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-100);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="dark"] .ribbon-icon {
  background: rgba(14, 165, 233, 0.2);
  color: var(--primary-400);
}

.ribbon-card-emergency .ribbon-icon {
  background: var(--red-500);
  color: #ffffff;
}

.ribbon-text-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.ribbon-text-sub {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* --- Departments & Super Specialities --- */
.dept-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
  background-color: var(--bg-surface);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--primary-500);
  color: var(--primary-600);
}

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

.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.dept-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 0;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.dept-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-600), var(--teal-500));
  opacity: 0;
  z-index: 5;
  transition: opacity var(--transition-normal);
}

.dept-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-300);
  box-shadow: var(--shadow-xl);
}

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

/* Department Card Image Header */
.dept-img-wrap {
  position: relative;
  width: 100%;
  height: 195px;
  overflow: hidden;
  background: #09111e;
}

.dept-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

.dept-card:hover .dept-img-wrap img {
  transform: scale(1.08);
}

.dept-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 17, 30, 0.1) 0%, rgba(9, 17, 30, 0.65) 100%);
  pointer-events: none;
}

.dept-img-wrap .dept-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.32rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.85);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.dept-icon-floating {
  position: absolute;
  bottom: -22px;
  left: 20px;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 2px solid var(--border-subtle);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px -2px rgba(15, 23, 42, 0.35);
  z-index: 4;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] .dept-icon-floating {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.15);
  color: #38bdf8;
}

.dept-card:hover .dept-icon-floating {
  transform: translateY(-3px) scale(1.05);
  background: var(--primary-600);
  color: #ffffff;
  border-color: var(--primary-400);
}

.dept-content {
  padding: 2rem 1.75rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dept-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.dept-desc {
  font-size: 0.915rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.dept-key-points {
  margin-bottom: 1.75rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.dept-key-points li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dept-key-points li svg {
  color: var(--teal-600);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.dept-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dept-doctor-lead {
  font-size: 0.825rem;
  color: var(--slate-500);
}

.dept-doctor-lead strong {
  color: var(--text-main);
}

/* --- Doctors Directory & Timetable --- */
.doctors-header-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.doctor-search-input {
  max-width: 380px;
  width: 100%;
  position: relative;
}

.doctor-search-input input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  background-color: var(--bg-surface);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.doctor-search-input input:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.doctor-search-input svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  width: 18px;
  height: 18px;
}

.view-switcher {
  display: flex;
  background: var(--bg-surface-muted);
  padding: 0.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.view-btn {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.view-btn.active {
  background: var(--bg-surface);
  color: var(--primary-600);
  box-shadow: var(--shadow-sm);
}

/* Doctors Card Grid - 4 Columns */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1120px) {
  .doctors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .doctors-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.doctor-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.doctor-image-box {
  position: relative;
  height: 250px;
  background-color: var(--slate-100);
  overflow: hidden;
}

[data-theme="dark"] .doctor-image-box {
  background-color: var(--slate-800);
}

.doctor-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.doctor-card:hover .doctor-image-box img {
  transform: scale(1.05);
}

.doctor-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(15, 23, 42, 0.82);
  color: #ffffff;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.doctor-exp {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary-700);
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .doctor-exp {
  background: rgba(30, 41, 59, 0.95);
  color: var(--primary-300);
}

.doctor-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.doctor-specialty {
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-600);
  letter-spacing: 0.025em;
  margin-bottom: 0.25rem;
}

[data-theme="dark"] .doctor-specialty {
  color: var(--primary-400);
}

.doctor-name {
  font-family: var(--font-heading);
  font-size: 1.175rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.doctor-degree {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.875rem;
  line-height: 1.4;
}

.doctor-timing-badge {
  background: var(--bg-surface-muted);
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}

.doctor-timing-badge svg {
  color: var(--teal-600);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.doctor-card-footer {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.doctor-card-footer .btn {
  padding: 0.5rem 0.5rem;
  font-size: 0.825rem;
  text-align: center;
  white-space: nowrap;
}

/* Timetable Table View */
.timetable-container {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.timetable-container.active {
  display: block;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.schedule-table th, .schedule-table td {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.95rem;
}

.schedule-table th {
  background-color: var(--bg-surface-muted);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.schedule-table tr:hover td {
  background-color: var(--primary-50);
}

[data-theme="dark"] .schedule-table tr:hover td {
  background-color: rgba(14, 165, 233, 0.08);
}

.day-badge-list {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.day-pill {
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  background: var(--teal-100);
  color: var(--teal-700);
}

[data-theme="dark"] .day-pill {
  background: rgba(20, 184, 166, 0.2);
  color: var(--teal-300);
}

/* --- Interactive Booking Wizard Section --- */
.booking-section {
  position: relative;
  background: linear-gradient(180deg, var(--bg-surface-muted) 0%, var(--bg-body) 100%);
}

.booking-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
}

.booking-progress-header {
  background: linear-gradient(90deg, #0f2b4c, #0a3a6b);
  color: #ffffff;
  padding: 1.75rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.booking-steps-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0.6;
  font-size: 0.875rem;
  font-weight: 600;
}

.step-indicator.active {
  opacity: 1;
}

.step-indicator.completed {
  opacity: 0.9;
  color: var(--teal-400);
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.step-indicator.active .step-num {
  background: #ffffff;
  color: var(--primary-800);
  border-color: #ffffff;
}

.booking-body {
  padding: 2.5rem;
}

.wizard-step {
  display: none;
  animation: fadeIn 0.3s ease;
}

.wizard-step.active {
  display: block;
}

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

.form-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

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

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

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  background-color: var(--bg-surface);
  color: var(--text-main);
  outline: none;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

/* Time Slot Selection */
.slots-container {
  margin-top: 1rem;
}

.slot-category-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 1.25rem 0 0.6rem 0;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
}

.slot-pill {
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slot-pill:hover {
  border-color: var(--primary-400);
  background: var(--primary-50);
}

[data-theme="dark"] .slot-pill:hover {
  background: rgba(14, 165, 233, 0.15);
}

.slot-pill.selected {
  background: var(--primary-600);
  border-color: var(--primary-600);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
}

/* Step Wizard Buttons */
.wizard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

/* Booking Success Screen */
.booking-success-box {
  text-align: center;
  padding: 2rem 1rem;
}

.success-icon-check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--emerald-100);
  color: var(--emerald-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

[data-theme="dark"] .success-icon-check {
  background: rgba(16, 185, 129, 0.2);
}

.booking-summary-ticket {
  background: var(--bg-surface-muted);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  max-width: 520px;
  margin: 1.5rem auto;
  text-align: left;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.ticket-row:last-child {
  border-bottom: none;
}

.ticket-label {
  color: var(--text-muted);
}

.ticket-value {
  font-weight: 700;
  color: var(--text-main);
}

/* --- Facilities & Infrastructure Showcase --- */
.facility-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 5rem;
}

.facility-feature-row:nth-child(even) {
  direction: rtl;
}

.facility-feature-row:nth-child(even) > * {
  direction: ltr;
}

.facility-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 3px solid var(--bg-surface);
  position: relative;
}

.facility-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.facility-img-wrap:hover img {
  transform: scale(1.03);
}

.facility-badge-stat {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
}

.facility-points {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.point-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.point-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--primary-100);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="dark"] .point-icon {
  background: rgba(14, 165, 233, 0.2);
  color: var(--primary-400);
}

.point-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

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

/* --- Health Checkup Packages --- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
}

.pkg-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.pkg-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-400);
}

.pkg-card.featured {
  border: 2px solid var(--primary-600);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, var(--primary-600), var(--teal-600));
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.4);
}

.pkg-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.pkg-ideal-for {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pkg-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.pkg-price {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.pkg-tests-count {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-600);
}

.pkg-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pkg-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pkg-features li svg {
  color: var(--teal-600);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* --- Testimonials & Patient Trust --- */
.testimonials-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
}

.rating-stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  color: #f59e0b;
  margin-bottom: 1.5rem;
}

.testimonial-quote {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 2rem;
}

.patient-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.patient-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-100);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.patient-details {
  text-align: left;
}

.patient-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
}

.patient-treatment {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Testimonial Nav dots */
.test-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.test-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-medium);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.test-dot.active {
  width: 28px;
  border-radius: var(--radius-full);
  background: var(--primary-600);
}

/* --- FAQ Accordion --- */
.faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
}

.faq-icon-arrow {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

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

.faq-answer {
  display: none;
  padding: 0 1.75rem 1.5rem 1.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  border-top: 1px solid transparent;
}

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

/* --- Location, Map & Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: stretch;
}

.contact-info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-detail-block {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-100);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="dark"] .contact-icon-box {
  background: rgba(14, 165, 233, 0.2);
  color: var(--primary-400);
}

.contact-detail-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.contact-detail-val {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-map-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  min-height: 380px;
  background: var(--bg-surface-muted);
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

/* --- Footer --- */
.site-footer {
  background: #09121d;
  color: #cbd5e1;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-desc {
  font-size: 0.925rem;
  line-height: 1.65;
  color: #94a3b8;
  margin: 1.25rem 0 1.5rem 0;
}

.footer-emergency-box {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.footer-emergency-title {
  font-size: 0.775rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: #fca5a5;
  margin-bottom: 0.25rem;
}

.footer-emergency-phone {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-heading);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

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

.footer-links a {
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

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

/* Floating Actions (Emergency Hotline & WhatsApp) */
.floating-actions-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 999;
}

.float-action-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
}

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

.float-whatsapp {
  background-color: #25d366;
}

.float-emergency {
  background-color: var(--red-600);
  animation: pulseAnimation 2s infinite;
}

.float-tooltip {
  position: absolute;
  right: 62px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.9);
  color: #ffffff;
  font-size: 0.775rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-md);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.float-action-btn:hover .float-tooltip {
  opacity: 1;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-medium);
  border-left: 4px solid var(--primary-600);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  min-width: 300px;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Modal Dialogs */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition-normal);
}

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

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

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.modal-close-btn {
  color: var(--text-light);
  font-size: 1.5rem;
  line-height: 1;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-main);
}

.modal-content {
  padding: 2rem;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }
  .ribbon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .facility-feature-row, .facility-feature-row:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1180px) {
  .nav-links, .nav-actions .btn-nav-book {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .mobile-nav-drawer {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 998;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
  }
  .mobile-nav-drawer.active {
    display: flex !important;
  }
  .mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-main);
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border-subtle);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
    text-decoration: none;
  }
  .mobile-nav-link:hover, .mobile-nav-link.active {
    color: #00bcd4;
    padding-left: 0.5rem;
  }
}

@media (max-width: 768px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .top-bar-left, .top-bar-right {
    gap: 0.4rem 1rem;
  }
  .dept-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .ribbon-grid {
    grid-template-columns: 1fr;
  }
  .booking-progress-header {
    padding: 1.5rem;
  }
  .booking-body {
    padding: 1.5rem;
  }
  .form-group-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
