/* ==========================================================================
   Shri Saraswati Karad Hospital (SSKH), Pune
   Master Design System & Responsive Stylesheet
   Engineered for Mobile (320px - 430px), Tablet (768px - 1024px), Desktop (1280px - 1920px)
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --primary-900: #08214d;
  --primary-800: #0a2e6b;
  --primary-700: #0f4c81; /* Main Brand Blue */
  --primary-600: #1a629f;
  --primary-500: #2980b9;
  --primary-100: #e8f1fa;
  --primary-50:  #f0f6fc;

  /* Accent Colors */
  --accent-teal: #0d9488;
  --accent-teal-light: #ccfbf1;
  --accent-cyan: #0284c7;
  --emergency-red: #dc2626;
  --emergency-red-dark: #b91c1c;
  --emergency-red-light: #fee2e2;
  --emergency-orange: #ea580c;

  /* Neutral & Dark Palette */
  --navy-deep: #0a192f;
  --charcoal-900: #0f172a;
  --charcoal-800: #1e293b;
  --charcoal-700: #334155;
  --charcoal-600: #475569;
  --charcoal-500: #64748b;
  --charcoal-400: #94a3b8;
  --charcoal-300: #cbd5e1;
  --charcoal-200: #e2e8f0;
  --charcoal-100: #f1f5f9;
  --charcoal-50:  #f8fafc;
  --white: #ffffff;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevation & Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.08), 0 1px 2px -1px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
  --shadow-card-hover: 0 16px 24px -6px rgba(15, 76, 129, 0.12), 0 6px 10px -4px rgba(15, 76, 129, 0.06);

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

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

  /* Layout */
  --container-max: 1280px;
  --header-height: 82px;
  --topbar-height: 40px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal-700);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

/* Accessibility Focus States */
*:focus-visible {
  outline: 2px solid var(--primary-700);
  outline-offset: 2px;
}

/* Responsive Fluid Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--charcoal-900);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  word-break: break-word;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(1.85rem, 4.5vw, 3.25rem); font-weight: 800; line-height: 1.18; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.45rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.65rem); font-weight: 600; }
h4 { font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 600; }
h5 { font-size: 1.05rem; font-weight: 600; }
h6 { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

p {
  margin-bottom: 1rem;
  word-break: break-word;
  overflow-wrap: break-word;
}
p:last-child {
  margin-bottom: 0;
}

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

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

ul, ol {
  list-style: none;
}

/* Responsive Table Wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 920px;
}

/* ==========================================================================
   Responsive Grid Utilities
   ========================================================================== */
.responsive-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.responsive-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.responsive-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.responsive-doctor-profile-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3rem;
  align-items: start;
}
.responsive-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Section Spacing */
.section {
  padding: 5rem 0;
  position: relative;
}
.section-sm {
  padding: 3rem 0;
}
.section-bg-light {
  background-color: var(--charcoal-50);
}
.section-bg-gradient {
  background: linear-gradient(180deg, var(--white) 0%, var(--charcoal-50) 100%);
}
.section-bg-navy {
  background-color: var(--navy-deep);
  color: var(--charcoal-300);
}
.section-bg-navy h2, 
.section-bg-navy h3, 
.section-bg-navy h4 {
  color: var(--white);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem auto;
}
.section-header.text-left {
  text-align: left;
  margin-left: 0;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-100);
  color: var(--primary-800);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}
.section-tag.tag-white {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.section-tag.tag-emergency {
  background-color: var(--emergency-red-light);
  color: var(--emergency-red-dark);
}
.section-title {
  margin-bottom: 0.85rem;
}
.section-subtitle {
  font-size: 1.075rem;
  color: var(--charcoal-600);
  line-height: 1.6;
}
.section-bg-navy .section-subtitle {
  color: var(--charcoal-300);
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.8rem 1.5rem;
  min-height: 44px; /* Touch target minimum */
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
}
.btn i {
  font-size: 0.95em;
  transition: transform 0.2s ease;
}
.btn:hover i {
  transform: translateX(2px);
}

.btn-primary {
  background-color: var(--primary-700);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(15, 76, 129, 0.22);
}
.btn-primary:hover {
  background-color: var(--primary-800);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(15, 76, 129, 0.32);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--charcoal-800);
  color: var(--white);
}
.btn-secondary:hover {
  background-color: var(--charcoal-900);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--charcoal-300);
  color: var(--charcoal-800);
}
.btn-outline:hover {
  border-color: var(--primary-700);
  color: var(--primary-700);
  background-color: var(--primary-50);
}

.btn-outline-white {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}
.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--primary-900);
  border-color: var(--white);
}

.btn-emergency {
  background-color: var(--emergency-red);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}
.btn-emergency:hover {
  background-color: var(--emergency-red-dark);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45);
  transform: translateY(-1px);
}

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

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1.05rem;
  min-height: 50px;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   Header & Sticky Navigation
   ========================================================================== */
.header-topbar {
  background-color: var(--navy-deep);
  color: var(--charcoal-300);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1001;
}
.header-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--topbar-height);
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--charcoal-300);
  transition: var(--transition-fast);
}
.topbar-item a {
  color: var(--charcoal-200);
}
.topbar-item a:hover {
  color: var(--white);
}
.topbar-item i {
  color: var(--accent-teal);
  font-size: 0.85rem;
}
.topbar-emergency-pill {
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: #fca5a5;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.topbar-emergency-pill i {
  color: #ef4444;
}

/* Sticky Main Header */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--charcoal-200);
  z-index: 1000;
  transition: all 0.3s ease;
}
.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-bottom-color: transparent;
}
.site-header.scrolled .nav-container {
  height: 70px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  transition: height 0.3s ease;
}

/* Brand Logo */
.site-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 0;
}
.brand-logo-img {
  height: 50px;
  width: auto;
  border-radius: var(--radius-sm);
  object-fit: contain;
  flex-shrink: 0;
}
.brand-subline {
  display: flex;
  flex-direction: column;
  border-left: 1.5px solid var(--charcoal-300);
  padding-left: 0.75rem;
  line-height: 1.25;
}
.brand-sub-tag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary-700);
  letter-spacing: 0.08em;
}
.brand-sub-spec {
  font-size: 0.72rem;
  color: var(--charcoal-500);
  font-weight: 600;
}

/* Desktop Navigation Menu */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal-700);
  text-transform: none;
  letter-spacing: 0.01em;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-700);
  background-color: var(--primary-50);
}
.nav-link::after {
  display: none;
}

/* Navigation Dropdowns */
.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-arrow {
  font-size: 0.65rem;
  color: var(--charcoal-400);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.18s ease;
  margin-left: 2px;
}
.nav-item.has-dropdown:hover .nav-arrow,
.nav-item.has-dropdown:focus-within .nav-arrow {
  transform: rotate(180deg);
  color: var(--primary-700);
}

/* Live Indicator Dots */
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulseDot 1.8s infinite;
  margin-right: 2px;
}
@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.live-dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseDotGreen 2s infinite;
  margin-right: 4px;
}
@keyframes pulseDotGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Luxury Institutional Dropdown Sub-Menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 320px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(15, 76, 129, 0.12);
  border-radius: 14px;
  box-shadow: 0 20px 40px -10px rgba(10, 25, 47, 0.14), 0 6px 16px -2px rgba(10, 25, 47, 0.06);
  padding: 0.55rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.22s;
  z-index: 1200;
}
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
  position: relative;
}
.dropdown-item:hover, .dropdown-item:focus {
  background-color: var(--primary-50);
}

.dropdown-item-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, #e8f1fa 0%, #f0f6fc 100%);
  color: var(--primary-700);
  border: 1px solid rgba(15, 76, 129, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.dropdown-item:hover .dropdown-item-icon {
  background: var(--primary-700);
  color: var(--white);
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(15, 76, 129, 0.22);
}

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

.dropdown-item-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--charcoal-900);
  line-height: 1.25;
  transition: color 0.18s ease;
}
.dropdown-item:hover .dropdown-item-title {
  color: var(--primary-700);
}

.dropdown-item-sub {
  font-size: 0.72rem;
  color: var(--charcoal-500);
  line-height: 1.25;
  margin-top: 2px;
}

.dropdown-item-arrow {
  font-size: 0.75rem;
  color: var(--primary-700);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.dropdown-item:hover .dropdown-item-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.header-casualty-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.28);
  color: var(--emergency-red);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.header-casualty-chip:hover {
  background: var(--emergency-red);
  color: var(--white);
  border-color: var(--emergency-red);
  transform: translateY(-1px);
}
.header-book-btn {
  background-color: var(--primary-700);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(15, 76, 129, 0.2);
  white-space: nowrap;
}
.header-book-btn:hover {
  background-color: var(--primary-800);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 76, 129, 0.28);
}

/* ==========================================================================
   Unique Ultra-Professional Mobile Navigation Pill Toggle
   ========================================================================== */
.mobile-nav-toggle.mobile-menu-pill {
  display: none;
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.06) 0%, rgba(15, 76, 129, 0.12) 100%);
  border: 1.5px solid rgba(15, 76, 129, 0.22);
  height: 40px;
  min-height: 40px;
  padding: 0 1rem 0 1.1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 2px 8px rgba(15, 76, 129, 0.08);
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav-toggle.mobile-menu-pill:hover,
.mobile-nav-toggle.mobile-menu-pill:focus-visible {
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.12) 0%, rgba(15, 76, 129, 0.2) 100%);
  border-color: var(--primary-700);
  box-shadow: 0 4px 12px rgba(15, 76, 129, 0.16);
  transform: translateY(-1px);
}
.mobile-nav-toggle.mobile-menu-pill:active {
  transform: scale(0.96);
}

.menu-pill-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-deep);
  line-height: 1;
  transition: color 0.2s ease;
  user-select: none;
}
.menu-pill-label .label-close {
  display: none;
  color: var(--emergency-red);
}
.menu-pill-label .label-menu {
  display: inline-block;
}

.menu-pill-icon {
  width: 18px;
  height: 13px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}
.pill-line {
  display: block;
  height: 2px;
  background-color: var(--primary-700);
  border-radius: 2px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}
.pill-line-1 {
  width: 18px;
}
.pill-line-2 {
  width: 11px;
  background-color: var(--accent-teal);
}

/* Active State (When Navigation Drawer is Open) */
.mobile-nav-toggle.mobile-menu-pill.active {
  background: #fef2f2;
  border-color: #fca5a5;
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.16);
}
.mobile-nav-toggle.mobile-menu-pill.active .menu-pill-label .label-menu {
  display: none;
}
.mobile-nav-toggle.mobile-menu-pill.active .menu-pill-label .label-close {
  display: inline-block;
}
.mobile-nav-toggle.mobile-menu-pill.active .menu-pill-icon {
  justify-content: center;
  align-items: center;
}
.mobile-nav-toggle.mobile-menu-pill.active .pill-line {
  background-color: var(--emergency-red);
  width: 16px;
  position: absolute;
  top: 5.5px;
}
.mobile-nav-toggle.mobile-menu-pill.active .pill-line-1 {
  transform: rotate(45deg);
}
.mobile-nav-toggle.mobile-menu-pill.active .pill-line-2 {
  transform: rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  z-index: 2200;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav-drawer.open {
  right: 0;
}
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid var(--charcoal-200);
  background: #fafcff;
}
.mobile-drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.drawer-brand-logo {
  height: 38px;
  width: auto;
  border-radius: var(--radius-sm);
  object-fit: contain;
}
.drawer-brand-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.drawer-trust-tag {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary-700);
  letter-spacing: 0.06em;
}
.drawer-hosp-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep);
}
.mobile-drawer-close {
  background: var(--charcoal-100);
  border: none;
  font-size: 1.15rem;
  color: var(--charcoal-700);
  cursor: pointer;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.mobile-drawer-close:hover {
  background: #fee2e2;
  color: var(--emergency-red);
  transform: rotate(90deg);
}
.mobile-nav-links {
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.mobile-nav-links .nav-link {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--charcoal-800);
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-md);
  border-bottom: 1px solid var(--charcoal-100);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.mobile-nav-links .nav-link i {
  color: var(--primary-700);
  width: 20px;
  font-size: 0.95rem;
  text-align: center;
  transition: transform 0.2s ease;
}
.mobile-nav-links .nav-link:hover,
.mobile-nav-links .nav-link.active {
  background: var(--primary-50);
  color: var(--primary-700);
  padding-left: 0.95rem;
  border-bottom-color: transparent;
}
.mobile-nav-links .nav-link:hover i,
.mobile-nav-links .nav-link.active i {
  transform: scale(1.15);
}
.mobile-nav-cta {
  padding: 1.25rem 1.35rem;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-top: 1px solid var(--charcoal-200);
  background: var(--charcoal-50);
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2150;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   Hero Section & Cinematic Slider
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 620px;
  background-color: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-slider-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.85s ease-in-out, visibility 0.85s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg, 
    rgba(10, 25, 47, 0.94) 0%, 
    rgba(10, 25, 47, 0.82) 50%, 
    rgba(10, 25, 47, 0.45) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 3.5rem 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--accent-teal-light);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(6px);
}
.hero-title {
  color: var(--white);
  margin-bottom: 1.15rem;
}
.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--charcoal-200);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-weight: 400;
  max-width: 620px;
}
.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Slider Controls & Indicators */
.hero-slider-nav {
  position: absolute;
  bottom: 2.25rem;
  right: 2.5rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(10, 25, 47, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.slider-dots {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 10px;
  min-height: 10px;
  padding: 0;
}
.slider-dot:hover {
  background: rgba(255, 255, 255, 0.75);
}
.slider-dot.active {
  background: var(--white);
  width: 28px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.85);
}
.slider-arrow, .slider-arrow-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.85rem;
}
.slider-arrow:hover, .slider-arrow-btn:hover {
  background: var(--white);
  color: var(--navy-deep);
  border-color: var(--white);
}

/* ==========================================================================
   Emergency Bar
   ========================================================================== */
.emergency-bar {
  background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
  color: var(--white);
  padding: 1rem 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.25);
}
.emergency-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.emergency-info-block {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.emergency-icon-pulse {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--white);
  flex-shrink: 0;
}
.emergency-text h3 {
  color: var(--white);
  font-size: clamp(0.95rem, 1.8vw, 1.125rem);
  font-weight: 700;
  line-height: 1.2;
}
.emergency-text p {
  color: #fecaca;
  font-size: 0.82rem;
  margin: 0;
}
.emergency-actions-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.btn-emergency-call {
  background: var(--white);
  color: var(--emergency-red-dark);
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.btn-emergency-call:hover {
  background: #fff1f2;
  color: var(--emergency-red-dark);
}
.btn-emergency-outline {
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: var(--white);
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-md);
  font-weight: 600;
}
.btn-emergency-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

/* ==========================================================================
   Help Cards Grid
   ========================================================================== */
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.help-card {
  background: var(--white);
  border: 1px solid var(--charcoal-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.help-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0%;
  background-color: var(--primary-700);
  transition: height 0.3s ease;
}
.help-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary-100);
}
.help-card:hover::before {
  height: 100%;
}
.help-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--primary-50);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  transition: var(--transition-fast);
}
.help-card:hover .help-card-icon {
  background-color: var(--primary-700);
  color: var(--white);
}
.help-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal-900);
  margin-bottom: 0.5rem;
}
.help-card-desc {
  font-size: 0.9rem;
  color: var(--charcoal-600);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.help-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-700);
}
.help-card-link i {
  transition: transform 0.2s ease;
}
.help-card:hover .help-card-link i {
  transform: translateX(4px);
}

.help-card.card-emergency .help-card-icon {
  background-color: var(--emergency-red-light);
  color: var(--emergency-red);
}
.help-card.card-emergency::before {
  background-color: var(--emergency-red);
}
.help-card.card-emergency:hover .help-card-icon {
  background-color: var(--emergency-red);
  color: var(--white);
}
.help-card.card-emergency .help-card-link {
  color: var(--emergency-red);
}

/* ==========================================================================
   Doctor Faculty Showcase CTA Card (Compact Homepage Feature)
   ========================================================================== */
.doctor-cta-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0f6fc 100%);
  border: 1px solid var(--charcoal-200);
  border-radius: var(--radius-xl);
  padding: 3rem 3.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.doctor-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-700) 0%, var(--accent-teal) 100%);
}
.doctor-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.3vw, 1.95rem);
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1.25;
  margin: 0.75rem 0 1rem 0;
}
.doctor-cta-desc {
  font-size: 0.95rem;
  color: var(--charcoal-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.doctor-cta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.doc-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--white);
  border: 1px solid rgba(15, 76, 129, 0.2);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary-800);
  box-shadow: 0 1px 3px rgba(15, 76, 129, 0.06);
}
.doc-pill i {
  color: var(--accent-teal);
  font-size: 0.8rem;
}
.doctor-action-box {
  background: var(--white);
  border: 1px solid var(--charcoal-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.doc-action-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--charcoal-100);
}
.doc-action-stat .stat-big {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary-700);
  line-height: 1;
}
.doc-action-stat .stat-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal-600);
  margin-top: 0.25rem;
}

@media (max-width: 991px) {
  .doctor-cta-card {
    grid-template-columns: 1fr;
    padding: 2.25rem 1.75rem;
    gap: 2rem;
  }
}

@media (max-width: 767px) {
  .doctor-cta-card {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem;
    gap: 1.5rem;
    border-radius: var(--radius-lg);
  }
  .doctor-cta-title {
    font-size: 1.25rem;
    line-height: 1.3;
  }
  .doctor-cta-desc {
    font-size: 0.88rem;
    margin-bottom: 1.15rem;
    line-height: 1.5;
  }
  .doctor-cta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
  }
  .doc-pill {
    font-size: 0.78rem;
    padding: 0.35rem 0.65rem;
    width: auto;
  }
  .doctor-action-box {
    padding: 1.35rem 1rem;
    gap: 0.75rem;
  }
  .doc-action-stat .stat-big {
    font-size: 2.25rem;
  }
}

/* ==========================================================================
   Smart Doctor Finder (Used on doctors.php)
   ========================================================================== */
.doctor-finder-box {
  background: var(--white);
  border: 1px solid var(--charcoal-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2.5rem;
}
.finder-controls {
  display: grid;
  grid-template-columns: 2fr 1.2fr auto;
  gap: 1rem;
  align-items: center;
}
.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.search-input-wrap i {
  position: absolute;
  left: 1.15rem;
  color: var(--charcoal-400);
  font-size: 1rem;
  pointer-events: none;
}
.finder-input {
  width: 100%;
  height: 50px;
  padding: 0 1.15rem 0 2.85rem;
  border: 1px solid var(--charcoal-300);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--charcoal-900);
  background: var(--charcoal-50);
  transition: var(--transition-fast);
}
.finder-input:focus {
  outline: none;
  border-color: var(--primary-700);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.15);
}
.finder-select {
  width: 100%;
  height: 50px;
  padding: 0 1rem;
  border: 1px solid var(--charcoal-300);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--charcoal-800);
  background: var(--charcoal-50);
  cursor: pointer;
  transition: var(--transition-fast);
}
.finder-select:focus {
  outline: none;
  border-color: var(--primary-700);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.15);
}
.finder-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--charcoal-200);
  font-size: 0.85rem;
  color: var(--charcoal-600);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Doctor Cards Grid */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.doctor-card {
  background: var(--white);
  border: 1px solid var(--charcoal-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary-200);
}
.doctor-card-header {
  padding: 1.5rem 1.5rem 0.85rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.doctor-avatar-circle {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-100) 0%, #dbeafe 100%);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 2px solid var(--white);
  box-shadow: 0 2px 6px rgba(15, 76, 129, 0.12);
}
.doctor-badge-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-teal);
  background: var(--accent-teal-light);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.35rem;
}
.doctor-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal-900);
  line-height: 1.3;
}
.doctor-qual {
  font-size: 0.82rem;
  color: var(--charcoal-500);
  margin-top: 0.2rem;
}
.doctor-card-body {
  padding: 0 1.5rem 1rem 1.5rem;
  flex-grow: 1;
}
.doctor-spec-box {
  background: var(--charcoal-50);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  border-left: 3px solid var(--primary-600);
}
.doctor-spec-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--charcoal-500);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.doctor-spec-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal-800);
}
.doctor-meta-list {
  font-size: 0.8rem;
  color: var(--charcoal-600);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.doctor-meta-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.doctor-meta-list i {
  color: var(--primary-600);
  width: 14px;
}
.doctor-card-footer {
  padding: 1rem 1.5rem;
  background: var(--charcoal-50);
  border-top: 1px solid var(--charcoal-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}
.doctor-card-footer .btn {
  flex: 1;
}

/* ==========================================================================
   Patient Journey (01 to 06)
   ========================================================================== */
.journey-timeline-container {
  margin-top: 1.5rem;
}
.journey-steps-nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.65rem;
  position: relative;
  margin-bottom: 1.75rem;
}
.journey-steps-nav::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--charcoal-200);
  z-index: 1;
}
.journey-step-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0.4rem 0.2rem;
  min-height: 44px;
}
.step-number-circle {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 2px solid var(--charcoal-300);
  color: var(--charcoal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  transition: var(--transition-normal);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.step-title-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--charcoal-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: var(--transition-fast);
}
.journey-step-btn:hover .step-number-circle {
  border-color: var(--primary-700);
  color: var(--primary-700);
}
.journey-step-btn.active .step-number-circle {
  background: var(--primary-700);
  border-color: var(--primary-700);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(15, 76, 129, 0.32);
  transform: scale(1.06);
}
.journey-step-btn.active .step-title-label {
  color: var(--primary-700);
}

.journey-content-card {
  background: var(--white);
  border: 1px solid var(--charcoal-200);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  min-height: 200px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.journey-content-card::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--primary-700) 0%, var(--accent-teal) 100%);
}
.journey-pane {
  display: none;
  width: 100%;
}
.journey-pane.active {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.journey-pane-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: var(--primary-50);
  color: var(--primary-700);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.journey-pane-text h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.journey-pane-text p {
  font-size: 0.98rem;
  color: var(--charcoal-600);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.journey-pane-tips {
  display: flex;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--charcoal-700);
  font-weight: 500;
  flex-wrap: wrap;
}
.journey-pane-tips span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.journey-pane-tips i {
  color: var(--accent-teal);
}

/* ==========================================================================
   Editorial About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
}
.about-image-stack {
  position: relative;
}
.about-img-main {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.about-floating-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--charcoal-200);
  max-width: 250px;
}
.floating-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-700);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.floating-stat-label {
  font-size: 0.82rem;
  color: var(--charcoal-600);
  font-weight: 600;
}
.about-lead {
  font-size: 1.05rem;
  color: var(--charcoal-800);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 1.15rem;
}
.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 1.75rem 0;
}
.pillar-card {
  background: var(--charcoal-50);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--charcoal-200);
}
.pillar-card h4 {
  font-size: 0.95rem;
  color: var(--primary-700);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.pillar-card p {
  font-size: 0.8rem;
  color: var(--charcoal-600);
  line-height: 1.45;
}

/* ==========================================================================
   Trust Statistics Banner
   ========================================================================== */
.stats-banner {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--primary-900) 100%);
  color: var(--white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
  position: relative;
  z-index: 2;
}
.stat-item {
  padding: 1.25rem 0.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.stat-item:last-child {
  border-right: none;
}
.stat-icon {
  font-size: 1.75rem;
  color: var(--accent-teal-light);
  margin-bottom: 0.65rem;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.5vw, 3.25rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.45rem;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--charcoal-300);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Departments & Categories Grid
   ========================================================================== */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.dept-card {
  background: var(--white);
  border: 1px solid var(--charcoal-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  text-decoration: none;
}
.dept-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary-200);
}
.dept-card-media {
  height: 190px;
  overflow: hidden;
  position: relative;
}
.dept-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.dept-card:hover .dept-card-media img {
  transform: scale(1.05);
}
.dept-card-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.dept-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.dept-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal-900);
  margin-bottom: 0.5rem;
}
.dept-card-desc {
  font-size: 0.875rem;
  color: var(--charcoal-600);
  line-height: 1.5;
  margin-bottom: 1.15rem;
  flex-grow: 1;
}
.dept-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--charcoal-100);
}

.care-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}
.care-category-card {
  background: var(--white);
  border: 1px solid var(--charcoal-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition-normal);
  text-decoration: none;
}
.care-category-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-600);
  box-shadow: var(--shadow-card-hover);
}
.care-category-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-full);
  background: var(--primary-50);
  color: var(--primary-700);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  transition: var(--transition-fast);
}
.care-category-card:hover .care-category-icon {
  background: var(--primary-700);
  color: var(--white);
}
.care-category-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal-900);
  margin-bottom: 0.25rem;
}
.care-category-sub {
  font-size: 0.78rem;
  color: var(--charcoal-500);
}

/* ==========================================================================
   Facilities Alternating Layout
   ========================================================================== */
.facilities-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.facility-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.facility-row.reverse {
  direction: rtl;
}
.facility-row.reverse > * {
  direction: ltr;
}
.facility-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 350px;
}
.facility-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.facility-media:hover img {
  transform: scale(1.03);
}
.facility-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-700);
  background: var(--primary-100);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}
.facility-title {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  margin-bottom: 0.85rem;
}
.facility-desc {
  font-size: 0.98rem;
  color: var(--charcoal-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.facility-bullets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}
.facility-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--charcoal-700);
}
.facility-bullets i {
  color: var(--accent-teal);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Plan Your Visit
   ========================================================================== */
.visit-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.visit-card {
  background: var(--white);
  border: 1px solid var(--charcoal-200);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.65rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}
.visit-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-300);
  box-shadow: var(--shadow-card-hover);
}
.visit-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--charcoal-100);
  color: var(--charcoal-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.15rem;
  transition: var(--transition-fast);
}
.visit-card:hover .visit-icon {
  background: var(--primary-700);
  color: var(--white);
}
.visit-card-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.visit-card-desc {
  font-size: 0.8875rem;
  color: var(--charcoal-600);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.visit-card-list {
  font-size: 0.82rem;
  color: var(--charcoal-700);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.visit-card-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.visit-card-list i {
  color: var(--primary-600);
  font-size: 0.75rem;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-accordion {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--charcoal-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
}
.faq-item.active {
  border-color: var(--primary-300);
  box-shadow: var(--shadow-md);
}
.faq-question-btn {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal-900);
  cursor: pointer;
  min-height: 48px;
}
.faq-icon-arrow {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  background: var(--charcoal-100);
  color: var(--charcoal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: transform 0.3s ease, background 0.3s ease;
  flex-shrink: 0;
}
.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  background: var(--primary-700);
  color: var(--white);
}
.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
}
.faq-item.active .faq-answer-panel {
  max-height: 500px;
  padding-bottom: 1.35rem;
}
.faq-answer-panel p {
  color: var(--charcoal-600);
  font-size: 0.925rem;
  line-height: 1.6;
}

/* ==========================================================================
   Room Tariff Cards
   ========================================================================== */
.tariff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.tariff-card {
  background: var(--white);
  border: 1px solid var(--charcoal-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.tariff-card.featured {
  border-color: var(--primary-600);
  box-shadow: var(--shadow-xl);
}
.tariff-popular-badge {
  position: absolute;
  top: -11px;
  right: 1.25rem;
  background: var(--primary-700);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}
.tariff-type {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.tariff-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-700);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.tariff-unit {
  font-size: 0.82rem;
  color: var(--charcoal-500);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--charcoal-200);
}
.tariff-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--charcoal-700);
  margin-bottom: 1.75rem;
  flex-grow: 1;
}
.tariff-features-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.tariff-features-list i {
  color: var(--accent-teal);
  font-size: 0.85rem;
}

/* ==========================================================================
   Gallery Page & Lightbox
   ========================================================================== */
.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.gallery-filter-btn {
  padding: 0.5rem 1.15rem;
  background: var(--charcoal-100);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal-700);
  cursor: pointer;
  min-height: 40px;
  transition: var(--transition-fast);
}
.gallery-filter-btn:hover, .gallery-filter-btn.active {
  background: var(--primary-700);
  color: var(--white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 260px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 25, 47, 0.85) 0%, transparent 70%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: var(--white);
  transition: opacity 0.3s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.gallery-category {
  font-size: 0.75rem;
  color: var(--accent-teal-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.95);
  z-index: 3500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lightbox-modal.active {
  display: flex;
}
.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  text-align: center;
}
.lightbox-content img {
  max-height: 75vh;
  max-width: 100%;
  margin: 0 auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2xl);
  object-fit: contain;
}
.lightbox-caption {
  color: var(--white);
  margin-top: 0.85rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.lightbox-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Form Card & Inputs
   ========================================================================== */
.form-card {
  background: var(--white);
  border: 1px solid var(--charcoal-200);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
.form-group {
  margin-bottom: 1.15rem;
}
.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal-800);
  margin-bottom: 0.45rem;
}
.form-label .req {
  color: var(--emergency-red);
}
.form-control {
  width: 100%;
  min-height: 46px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--charcoal-300);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--charcoal-900);
  background: var(--charcoal-50);
  transition: var(--transition-fast);
  box-sizing: border-box;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-700);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.15);
}
textarea.form-control {
  resize: vertical;
  min-height: 110px;
}
.form-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
}
.form-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.form-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* ==========================================================================
   24/7 Emergency Modal
   ========================================================================== */
.emergency-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.emergency-modal.active {
  display: flex;
}
.emergency-modal-dialog {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  border-top: 6px solid var(--emergency-red);
}
.emergency-modal-header {
  padding: 1.5rem 1.75rem 1rem 1.75rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--charcoal-100);
}
.emergency-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--emergency-red-light);
  color: var(--emergency-red-dark);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.4rem;
}
.emergency-modal-header h3 {
  font-size: 1.5rem;
  color: var(--charcoal-900);
}
.emergency-modal-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--charcoal-500);
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.emergency-modal-body {
  padding: 1.25rem 1.75rem 1.75rem 1.75rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.emergency-hotlines-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.15rem 0;
}
.emergency-hotline-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--charcoal-50);
  border: 1px solid var(--charcoal-200);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition-fast);
  gap: 0.85rem;
}
.emergency-hotline-card:hover {
  background: #fff5f5;
  border-color: #fecaca;
}
.hotline-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--charcoal-500);
  font-weight: 600;
}
.hotline-number {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--emergency-red-dark);
}
.emergency-modal-address {
  font-size: 0.875rem;
  color: var(--charcoal-600);
  background: #f8fafc;
  padding: 1rem;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary-700);
}

/* ==========================================================================
   SSKH Care Assistant (Chatbot)
   ========================================================================== */
.care-assistant-wrapper {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2500;
}
.assistant-toggle-btn {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-600) 100%);
  color: var(--white);
  border: 3px solid var(--white);
  box-shadow: 0 8px 24px rgba(15, 76, 129, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  min-width: 58px;
  min-height: 58px;
}
.assistant-toggle-btn:hover {
  transform: scale(1.06);
}
.assistant-online-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 13px;
  height: 13px;
  border-radius: var(--radius-full);
  background: #10b981;
  border: 2px solid var(--white);
}

.assistant-panel {
  position: absolute;
  bottom: 74px;
  right: 0;
  width: 370px;
  max-width: 90vw;
  height: 500px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 40px rgba(10, 25, 47, 0.25);
  border: 1px solid var(--charcoal-200);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.96);
  transition: var(--transition-normal);
}
.assistant-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.assistant-header {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 100%);
  color: var(--white);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.assistant-header-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.assistant-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.assistant-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}
.assistant-status {
  font-size: 0.72rem;
  color: var(--accent-teal-light);
}
.assistant-close-btn {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  min-width: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.assistant-body {
  flex-grow: 1;
  padding: 1.15rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--charcoal-50);
}
.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 88%;
}
.chat-msg.bot {
  align-self: flex-start;
}
.chat-msg.user {
  align-self: flex-end;
}
.chat-bubble {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  line-height: 1.45;
}
.chat-msg.bot .chat-bubble {
  background: var(--white);
  color: var(--charcoal-800);
  border: 1px solid var(--charcoal-200);
  border-bottom-left-radius: 4px;
}
.chat-msg.user .chat-bubble {
  background: var(--primary-700);
  color: var(--white);
  border-bottom-right-radius: 4px;
}
.chat-quick-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.chat-opt-chip {
  background: var(--white);
  border: 1px solid var(--primary-300);
  color: var(--primary-700);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  min-height: 32px;
  transition: var(--transition-fast);
}
.chat-opt-chip:hover {
  background: var(--primary-700);
  color: var(--white);
  border-color: var(--primary-700);
}
.chat-disclaimer {
  font-size: 0.72rem;
  color: var(--charcoal-500);
  text-align: center;
  padding: 0.25rem;
}

.assistant-footer {
  padding: 0.65rem 0.85rem;
  border-top: 1px solid var(--charcoal-200);
  background: var(--white);
  display: flex;
  gap: 0.45rem;
}
.assistant-input {
  flex-grow: 1;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--charcoal-300);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  outline: none;
}
.assistant-input:focus {
  border-color: var(--primary-700);
}
.assistant-send-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--primary-700);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   Mobile Fixed Bottom Navigation Bar
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  border-top: 1px solid var(--charcoal-200);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  z-index: 2000;
  padding: 0.35rem 0.4rem;
  padding-bottom: max(0.35rem, env(safe-area-inset-bottom));
}
.mobile-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.25rem;
}
.mobile-bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.35rem 0.2rem;
  color: var(--charcoal-700);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  min-height: 48px;
}
.mobile-bar-btn i {
  font-size: 1.15rem;
}
.mobile-bar-btn.bar-call {
  color: var(--primary-700);
}
.mobile-bar-btn.bar-whatsapp {
  color: #16a34a;
}
.mobile-bar-btn.bar-appoint {
  color: var(--charcoal-900);
}
.mobile-bar-btn.bar-emergency {
  color: var(--emergency-red);
  font-weight: 700;
}
.mobile-bar-btn:active {
  background: var(--charcoal-100);
}

/* ==========================================================================
   Master Institutional Footer
   ========================================================================== */
.site-footer {
  background-color: #081a33;
  color: #94a3b8;
  position: relative;
  border-top: 3px solid var(--primary-700);
}

/* 1. Top Trust Pillars Ribbon */
.footer-trust-ribbon {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.5rem 0;
}
.trust-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: center;
}
.trust-ribbon-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.trust-ribbon-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: rgba(15, 76, 129, 0.2);
  border: 1px solid rgba(15, 76, 129, 0.4);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.trust-ribbon-icon.red-glow {
  background: rgba(220, 38, 38, 0.18);
  border-color: rgba(220, 38, 38, 0.38);
  color: #f87171;
}
.trust-ribbon-text {
  display: flex;
  flex-direction: column;
}
.trust-ribbon-text strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.25;
}
.trust-ribbon-text span {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.2;
}

/* 2. Main Footer Columns */
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.15fr;
  gap: 3.5rem;
  padding: 3.75rem 0 3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.35rem;
  letter-spacing: -0.01em;
  position: relative;
  display: inline-block;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: #38bdf8;
  border-radius: 2px;
}

.footer-col-brand .footer-brand-lockup {
  margin-bottom: 0.85rem;
}
.footer-trust-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}
.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}
.footer-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

/* Casualty Card in Footer */
.footer-casualty-card {
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.28);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}
.casualty-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}
.casualty-heading {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fca5a5;
}
.casualty-body {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.casualty-body-icon {
  font-size: 1.15rem;
  color: #f87171;
}
.casualty-hotline {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  display: block;
  line-height: 1.2;
}
.casualty-hotline:hover {
  color: #fca5a5;
  text-decoration: underline;
}
.casualty-sub {
  font-size: 0.72rem;
  color: #cbd5e1;
  opacity: 0.85;
}

/* Footer Links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.86rem;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.15rem 0;
}
.footer-links a i {
  font-size: 0.72rem;
  color: #38bdf8;
  transition: transform 0.2s ease;
}
.footer-links a:hover {
  color: var(--white);
  transform: translateX(4px);
}
.footer-links a:hover i {
  transform: translateX(2px);
}
.footer-link-highlight {
  color: #38bdf8 !important;
  font-weight: 600;
  margin-top: 0.35rem;
}
.footer-marathi-link {
  color: #fbbf24 !important;
  font-weight: 600;
}

/* Contact List in Footer */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  font-size: 0.85rem;
  color: #94a3b8;
}
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.5;
}
.footer-contact-row i {
  color: #38bdf8;
  margin-top: 0.25rem;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}
.footer-contact-row a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer-contact-row a:hover {
  color: var(--white);
  text-decoration: underline;
}
.footer-whatsapp-link {
  color: #4ade80 !important;
  font-weight: 600;
}

/* Bottom Bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 0;
  font-size: 0.8125rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copyright {
  color: #94a3b8;
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.footer-bottom-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer-bottom-links a:hover {
  color: var(--white);
}
.footer-bottom-links .sep {
  color: #475569;
  font-size: 0.65rem;
}
.footer-back-to-top {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  color: #94a3b8 !important;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-size: 0.8rem;
  margin-left: 0.5rem;
}
.footer-back-to-top:hover {
  background: var(--primary-700) !important;
  color: var(--white) !important;
  border-color: var(--primary-600);
  transform: translateY(-2px);
}

/* ==========================================================================
   Modular Responsive Grid Utilities (Used across internal pages)
   ========================================================================== */
.responsive-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.responsive-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.responsive-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.responsive-doctor-profile-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.responsive-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* 1. Large Desktops (1440px to 1920px) */
@media (min-width: 1440px) {
  :root {
    --container-max: 1360px;
  }
  .hero-content {
    max-width: 760px;
  }
}

/* 2. Laptops & Small Desktops (1025px to 1280px) */
@media (max-width: 1280px) {
  .desktop-nav {
    gap: 0.15rem;
  }
  .nav-link {
    font-size: 0.85rem;
    padding: 0.45rem 0.55rem;
  }
  .brand-subline {
    display: none;
  }
  .header-book-btn {
    padding: 0.5rem 0.95rem;
    font-size: 0.82rem;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* 3. Tablets & Large Tablets (768px to 1140px) */
@media (max-width: 1140px) {
  .desktop-nav {
    display: none;
  }
  .mobile-nav-toggle.mobile-menu-pill {
    display: inline-flex;
  }
  .header-actions .btn-emergency,
  .header-actions .header-casualty-chip {
    display: none;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 1024px) {
  
  /* Grid Adaptations for Tablet */
  .help-grid, 
  .doctors-grid, 
  .dept-grid, 
  .tariff-grid, 
  .visit-guide-grid, 
  .gallery-grid,
  .responsive-grid-3,
  .care-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

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

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

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

  .responsive-doctor-profile-grid {
    grid-template-columns: 280px 1fr;
    gap: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .stat-item:nth-child(1), .stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-img-main {
    height: 380px;
  }

  .journey-steps-nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
  .journey-steps-nav::before {
    display: none;
  }

  .facility-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .facility-row.reverse {
    direction: ltr;
  }
  .facility-media {
    height: 300px;
  }

  .finder-controls {
    grid-template-columns: 1.5fr 1fr auto;
  }

  .trust-ribbon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

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

/* 4. Medium & Small Mobile (320px to 767px) */
@media (max-width: 767px) {
  :root {
    --header-height: 68px;
  }

  body {
    padding-bottom: 88px; /* Essential: prevents mobile action bar from covering content */
  }

  .mobile-bottom-bar {
    display: block;
  }

  .header-topbar {
    display: none;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-header {
    border-bottom: 1px solid var(--charcoal-200);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  }
  .nav-container {
    height: 64px;
    padding: 0 0.15rem;
  }
  .brand-logo-img {
    height: 40px;
    width: auto;
  }
  .site-header .header-actions .btn-emergency,
  .site-header .header-actions .btn-primary,
  .site-header .header-actions .header-book-btn,
  .site-header .header-actions .header-casualty-chip {
    display: none !important; /* Managed by mobile bottom action bar to keep mobile header clean */
  }
  .mobile-nav-toggle.mobile-menu-pill {
    display: inline-flex !important;
  }

  /* Ensure no button overflows horizontally on narrow mobile screens */
  .btn {
    white-space: normal !important;
    text-align: center;
    max-width: 100%;
    word-break: normal;
  }

  .section {
    padding: 3.5rem 0;
  }
  .section-header {
    margin-bottom: 2rem;
  }

  /* Hero Section Mobile */
  .hero-section {
    min-height: 480px;
  }
  .hero-content {
    padding: 2rem 0 3.75rem 0;
  }
  .hero-title {
    font-size: clamp(1.65rem, 5.5vw, 2.15rem);
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }
  .hero-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1.15rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
  }
  .hero-buttons .btn {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  /* Centered 3 Dots Slider Navigation on Mobile */
  .hero-slider-nav {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: rgba(10, 25, 47, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.4rem 0.95rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  }
  .hero-slider-nav .slider-arrow,
  .hero-slider-nav .slider-arrow-btn {
    display: none !important; /* Native touch swipe is enabled on mobile */
  }
  .slider-dots {
    display: flex;
    align-items: center;
    gap: 0.65rem;
  }
  .slider-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
    min-width: 10px;
    min-height: 10px;
  }
  .slider-dot.active {
    background: var(--white);
    width: 28px;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
  }

  /* Emergency Bar Mobile */
  .emergency-bar {
    padding: 1.75rem 0 2.25rem 0;
  }
  .emergency-bar .container {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1.15rem;
  }
  .emergency-info-block {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  .emergency-icon-pulse {
    margin: 0 auto;
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
  .emergency-text h3 {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    margin-bottom: 0.2rem;
  }
  .emergency-text p {
    font-size: 0.8125rem;
    opacity: 0.95;
    margin: 0;
  }
  .emergency-actions-row {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-top: 0.25rem;
  }
  .emergency-actions-row .btn-emergency-call {
    width: 100%;
    padding: 0.75rem 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    white-space: nowrap !important;
    text-decoration: none;
    letter-spacing: -0.01em;
  }
  .emergency-actions-row .btn-emergency-call i {
    font-size: 0.8rem;
    color: var(--emergency-red-dark);
    flex-shrink: 0;
  }
  .emergency-actions-row .btn-emergency-call .call-btn-text {
    white-space: nowrap !important;
  }
  .emergency-actions-row .btn-emergency-call .call-word {
    display: none !important; /* Strictly shows: 📞 020-69059005 on one clean line */
  }
  .emergency-actions-row .btn-emergency-outline {
    grid-column: 1 / -1;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.12);
  }

  /* Grids Mobile: Stack to single column */
  .help-grid,
  .doctors-grid,
  .dept-grid,
  .tariff-grid,
  .visit-guide-grid,
  .gallery-grid,
  .responsive-grid-2,
  .responsive-grid-3,
  .responsive-grid-4,
  .responsive-doctor-profile-grid,
  .responsive-contact-grid,
  .care-categories-grid,
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  /* Doctor Finder Controls Mobile */
  .finder-controls {
    grid-template-columns: 1fr;
  }
  .finder-controls .btn {
    width: 100%;
  }
  .doctor-finder-box {
    padding: 1.25rem;
  }

  /* Patient Journey Mobile */
  .journey-steps-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
  .step-number-circle {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
  .step-title-label {
    font-size: 0.72rem;
  }
  .journey-content-card {
    padding: 1.5rem 1.25rem;
  }
  .journey-pane.active {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .journey-pane-icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }

  /* About Floating Card Mobile */
  .about-floating-card {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
    box-shadow: var(--shadow-sm);
  }
  .about-pillars {
    grid-template-columns: 1fr;
  }
  .about-img-main {
    height: 280px;
  }

  /* Stats Mobile */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
  }
  .stat-item:last-child {
    border-bottom: none;
  }

  /* Facilities Media Mobile */
  .facility-media {
    height: 220px;
  }

  /* Trust Ribbon Mobile: Modern 2x2 App Grid */
  .footer-trust-ribbon {
    padding: 1.35rem 0;
  }
  .trust-ribbon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .trust-ribbon-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 0.75rem 0.65rem;
    gap: 0.6rem;
    align-items: center;
  }
  .trust-ribbon-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
  }
  .trust-ribbon-text strong {
    font-size: 0.8125rem;
    line-height: 1.2;
    display: block;
  }
  .trust-ribbon-text span {
    font-size: 0.68rem;
    color: #94a3b8;
    line-height: 1.2;
    display: block;
  }

  /* Footer Mobile Layout */
  .site-footer {
    padding-bottom: 2rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2.25rem;
    padding-bottom: 2rem;
  }
  .footer-col-title {
    font-size: 1.05rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .footer-links {
    gap: 0.5rem;
  }
  .footer-links a {
    font-size: 0.88rem;
    padding: 0.35rem 0;
  }
  .footer-casualty-card {
    padding: 1.15rem;
    margin-top: 1.15rem;
    border-radius: var(--radius-md);
  }
  .casualty-hotline {
    font-size: 1.15rem;
  }

  /* Clean, Professional Footer Bottom Bar on Mobile */
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 0 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .footer-copyright {
    font-size: 0.78rem;
    line-height: 1.5;
    color: #94a3b8;
  }
  .footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 1rem;
    font-size: 0.8rem;
  }
  .footer-bottom-links .sep {
    display: none !important; /* Hide dot separators so links form a clean tag cloud/row */
  }
  .footer-bottom-links a {
    color: #cbd5e1;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .footer-back-to-top {
    margin-top: 0.5rem;
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white) !important;
    padding: 0.45rem 0.95rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
  }

  /* Care Assistant Mobile */
  .care-assistant-wrapper {
    bottom: 74px; /* Positioned right above fixed bottom action bar */
    right: 0.75rem;
    z-index: 1050;
  }
  .assistant-toggle-btn {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
    min-width: 44px;
    min-height: 44px;
    box-shadow: 0 4px 14px rgba(15, 76, 129, 0.3);
  }
  .assistant-panel {
    position: fixed;
    bottom: 76px;
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
    max-width: none;
    height: min(480px, calc(100vh - 150px));
    height: min(480px, calc(100dvh - 150px));
    border-radius: var(--radius-lg);
  }

  /* Emergency Modal Mobile */
  .emergency-modal {
    padding: 0.75rem;
  }
  .emergency-modal-dialog {
    max-height: 94vh;
    max-height: 94dvh;
    border-radius: var(--radius-lg);
  }
  .emergency-modal-header {
    padding: 1.15rem 1.25rem 0.85rem 1.25rem;
  }
  .emergency-modal-body {
    padding: 1rem 1.25rem 1.25rem 1.25rem;
  }
  .emergency-hotline-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .emergency-hotline-card .btn {
    width: 100%;
  }

  /* Form Card Mobile */
  .form-card {
    padding: 1.5rem 1.25rem;
  }
}

/* 5. Extra Small Mobile (320px to 375px) */
@media (max-width: 375px) {
  .brand-logo-img {
    height: 38px;
  }
  .brand-name {
    font-size: 0.95rem;
  }
  .brand-trust {
    font-size: 0.62rem;
  }
  .brand-sub {
    font-size: 0.65rem;
  }
  .journey-steps-nav {
    grid-template-columns: 1fr 1fr;
  }
  .mobile-bar-btn {
    font-size: 0.64rem;
  }
  .mobile-bar-btn i {
    font-size: 1rem;
  }
  .tariff-card {
    padding: 1.5rem 1.2rem;
  }
  .doctor-card-header {
    padding: 1.25rem 1.15rem 0.75rem 1.15rem;
  }
  .doctor-avatar-circle {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }
}

/* ==========================================================================
   Live Doctor Typeahead Autocomplete Suggestions
   ========================================================================== */
.doctor-typeahead-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--charcoal-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 45px -8px rgba(10, 25, 47, 0.18), 0 4px 12px rgba(0, 0, 0, 0.05);
  z-index: 1050;
  max-height: 400px;
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: typeaheadFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.typeahead-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: var(--charcoal-50);
  border-bottom: 1px solid var(--charcoal-200);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--charcoal-600);
}
.typeahead-header-hint {
  font-size: 0.72rem;
  color: var(--charcoal-400);
}

.typeahead-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
}

.typeahead-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
  border-left: 3px solid transparent;
}
.typeahead-item:hover,
.typeahead-item.is-selected {
  background: #f0f7ff;
  border-left-color: var(--primary-700);
}

.typeahead-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-800), var(--primary-600));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.typeahead-info {
  flex: 1;
  min-width: 0;
}

.typeahead-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.typeahead-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.typeahead-dept-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  background: var(--primary-100);
  color: var(--primary-800);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.typeahead-sub-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--charcoal-500);
}
.typeahead-room-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--charcoal-600);
}

.typeahead-highlight {
  background: #fef08a;
  color: #854d0e;
  font-weight: 700;
  padding: 0 2px;
  border-radius: 2px;
}

.typeahead-empty {
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--charcoal-500);
  font-size: 0.9rem;
}

/* Card Pulse Glow on Selection */
@keyframes doctorCardPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(15, 76, 129, 0.4); }
  50% { transform: scale(1.02); box-shadow: 0 0 0 8px rgba(15, 76, 129, 0.25); border-color: var(--primary-600); }
  100% { transform: scale(1); box-shadow: var(--shadow-card-hover); border-color: var(--primary-700); }
}

.pulse-highlight-card {
  animation: doctorCardPulse 1.2s ease-in-out forwards;
}

/* ==========================================================================
   Campus Transit & "How to Reach SSKH" Guide Styles
   ========================================================================== */
.section-transit-guide {
  position: relative;
}

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

.transit-card {
  background: var(--white);
  border: 1px solid var(--charcoal-200);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.transit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-700);
}
.transit-card-metro::before { background: linear-gradient(90deg, #0284c7, #0d9488); }
.transit-card-bus::before { background: linear-gradient(90deg, #0f4c81, #f59e0b); }
.transit-card-gates::before { background: linear-gradient(90deg, #1e293b, #dc2626); }
.transit-card-parking::before { background: linear-gradient(90deg, #059669, #10b981); }

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

.transit-card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.transit-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.icon-metro { background: #e0f2fe; color: #0284c7; }
.icon-bus { background: #fef3c7; color: #d97706; }
.icon-gates { background: #f1f5f9; color: #0f172a; }
.icon-parking { background: #d1fae5; color: #059669; }

.transit-subtag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--charcoal-500);
  display: block;
  margin-bottom: 0.15rem;
}

.transit-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin: 0;
}

.transit-card-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.transit-highlight-row {
  background: var(--charcoal-50);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  border: 1px solid var(--charcoal-100);
}

.transit-station-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  color: var(--navy-deep);
}

.transit-chip-green {
  background: #d1fae5;
  color: #065f46;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.transit-chip-blue {
  background: #e0f2fe;
  color: #075985;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.transit-card-desc {
  font-size: 0.85rem;
  color: var(--charcoal-600);
  line-height: 1.5;
  margin: 0;
}

.transit-meta-badge {
  font-size: 0.8rem;
  color: var(--charcoal-600);
  background: var(--charcoal-100);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.bus-routes-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bus-badge-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  background: var(--charcoal-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--charcoal-200);
  font-size: 0.82rem;
}
.bus-no {
  font-weight: 700;
  color: var(--primary-800);
  background: #e8f1fa;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.bus-lbl {
  color: var(--charcoal-600);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Gates 1 & 2 Comparison */
.gate-guide-chip {
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--charcoal-200);
}
.gate-1-accent {
  background: #f8fafc;
  border-left: 4px solid var(--primary-700);
}
.gate-2-accent {
  background: #fff5f5;
  border-left: 4px solid var(--emergency-red);
}

.gate-title-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
}

.gate-pill {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  color: #fff;
}
.gate-pill-blue { background: var(--primary-800); }
.gate-pill-red { background: var(--emergency-red); }

.gate-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--charcoal-700);
}
.gate-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}
.gate-bullets li i {
  color: var(--primary-700);
  margin-top: 0.2rem;
}
.gate-2-accent .gate-bullets li i {
  color: var(--emergency-red);
}

/* Parking Rows */
.parking-item-row {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.75rem;
  background: var(--charcoal-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--charcoal-100);
  font-size: 0.82rem;
}
.parking-item-row strong {
  display: block;
  color: var(--navy-deep);
  margin-bottom: 0.15rem;
}
.parking-item-row p {
  margin: 0;
  color: var(--charcoal-600);
}
.parking-icon-sm {
  font-size: 1.1rem;
  color: #059669;
  margin-top: 0.2rem;
}

/* Map Footer Bar */
.transit-map-footer-bar {
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  background: var(--white);
}
.transit-map-btns {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* Transit Modal Overhaul */
.transit-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}
.transit-modal.open {
  opacity: 1;
  visibility: visible;
}
.transit-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.65);
  backdrop-filter: blur(4px);
}
.transit-modal-dialog {
  position: relative;
  background: var(--white);
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px -12px rgba(10, 25, 47, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}
.transit-modal.open .transit-modal-dialog {
  transform: translateY(0) scale(1);
}
.transit-modal-header {
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, var(--navy-deep), var(--primary-900));
  color: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.transit-modal-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}
.transit-modal-header h3 {
  font-size: 1.45rem;
  color: #fff;
  margin: 0;
}
.transit-modal-subtitle {
  color: var(--charcoal-300);
  font-size: 0.88rem;
  margin: 0.25rem 0 0 0;
}
.transit-modal-close {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}
.transit-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.transit-modal-body {
  padding: 1.75rem 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.transit-alert-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #166534;
}
.transit-alert-icon { font-size: 1.2rem; }
.transit-alert-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.transit-quick-badge {
  background: #16a34a;
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.transit-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.transit-pillar-card {
  background: var(--charcoal-50);
  border: 1px solid var(--charcoal-200);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.transit-pillar-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.pillar-icon.metro-icon { background: #e0f2fe; color: #0284c7; }
.pillar-icon.bus-icon { background: #fef3c7; color: #d97706; }
.pillar-icon.gates-icon { background: #f1f5f9; color: #0f172a; }
.pillar-icon.parking-icon { background: #d1fae5; color: #059669; }

.pillar-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 0;
}
.pillar-tag {
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 0.1rem 0.45rem;
}
.tag-metro { background: #e0f2fe; color: #0369a1; }
.tag-bus { background: #fef3c7; color: #b45309; }
.tag-gates { background: #f1f5f9; color: #334155; }
.tag-parking { background: #d1fae5; color: #047857; }

.transit-station-item {
  margin-bottom: 0.65rem;
}
.station-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
}
.dist-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: #065f46;
  background: #d1fae5;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
}
.station-desc {
  font-size: 0.8rem;
  color: var(--charcoal-600);
  line-height: 1.45;
  margin: 0;
}

.transit-tip {
  font-size: 0.78rem;
  background: #eff6ff;
  border-left: 3px solid #3b82f6;
  padding: 0.45rem 0.65rem;
  color: #1e40af;
  border-radius: var(--radius-sm);
}

.bus-routes-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.bus-route-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--charcoal-200);
  font-size: 0.78rem;
}
.route-num {
  font-weight: 700;
  color: var(--primary-800);
  background: #e8f1fa;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}
.route-via { color: var(--charcoal-600); }

.gate-guide-box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  border: 1px solid var(--charcoal-200);
  margin-bottom: 0.5rem;
}
.gate-guide-box.gate-1 { border-left: 3px solid var(--primary-700); }
.gate-guide-box.gate-2 { border-left: 3px solid var(--emergency-red); }

.gate-guide-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}
.gate-number-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.1rem 0.4rem;
  background: var(--primary-800);
  color: #fff;
  border-radius: 4px;
}
.gate-number-badge.badge-emergency {
  background: var(--emergency-red);
}

.gate-services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.78rem;
  color: var(--charcoal-700);
}
.gate-services-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.gate-services-list li i {
  color: var(--accent-teal);
  font-size: 0.75rem;
}

.parking-details-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.parking-detail-row {
  display: flex;
  gap: 0.65rem;
  font-size: 0.8rem;
}
.parking-row-icon {
  color: #059669;
  font-size: 1rem;
  margin-top: 0.15rem;
}
.parking-sub {
  font-size: 0.75rem;
  color: var(--charcoal-500);
}

.transit-modal-footer {
  background: var(--charcoal-50);
  border-top: 1px solid var(--charcoal-200);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.transit-footer-info {
  font-size: 0.82rem;
  color: var(--charcoal-600);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.transit-footer-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

/* Toast Notification for Copy */
.sskh-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--navy-deep);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 10000;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s;
  opacity: 0;
  pointer-events: none;
}
.sskh-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Micro-Interactions: Smooth Scroll Reveal Effects
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* Responsive adjustments for Transit Cards */
@media (max-width: 1024px) {
  .transit-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .transit-cards-grid {
    grid-template-columns: 1fr;
  }
  .transit-pillars-grid {
    grid-template-columns: 1fr;
  }
  .transit-modal-dialog {
    max-height: 95vh;
  }
  .transit-modal-header,
  .transit-modal-body,
  .transit-modal-footer {
    padding: 1.25rem;
  }
  .transit-map-footer-bar {
    padding: 1.25rem;
  }
  .transit-map-btns {
    width: 100%;
  }
  .transit-map-btns .btn,
  .transit-footer-actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Prefers Reduced Motion Accessibility
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
