/* ==========================================================================
   KALYANI MULTI SPECIALITY HOSPITAL — MODERN RESPONSIVE DESIGN SYSTEM
   Bespoke Healthcare Theme (Khamar, Angul, Odisha)
   Fully Fluid, Mobile-First, Adaptive & Touch-Optimized
   ========================================================================== */

:root {
  /* Brand Colors */
  --color-primary-900: #071527;
  --color-primary-800: #0c213f;
  --color-primary-700: #102e56;
  --color-primary-600: #0284c7;
  --color-primary-500: #0ea5e9;
  --color-primary-400: #38bdf8;
  
  /* Medical Cyan Accent */
  --color-cyan-glow: #00e5ff;
  --color-cyan-deep: #00b4d8;
  --color-teal-accent: #0d9488;
  
  /* Emergency Alert Colors */
  --color-emergency: #ef4444;
  --color-emergency-dark: #dc2626;
  --color-emergency-light: #fee2e2;
  
  /* Healing Emerald Green (BSKY & Health) */
  --color-success: #10b981;
  --color-success-dark: #059669;
  --color-success-light: #d1fae5;
  
  /* Neutrals & Surfaces */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-subtle: #f1f5f9;
  --bg-dark-surface: #0b172a;
  
  /* Text Colors */
  --text-heading: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  
  /* Borders & Shadows */
  --border-light: rgba(226, 232, 240, 0.9);
  --border-focus: #0284c7;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 35px -6px rgba(15, 23, 42, 0.16), 0 8px 16px -4px rgba(15, 23, 42, 0.08);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-odia: 'Anek Odia', sans-serif;

  /* Spacing & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  outline: none;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.25;
  word-wrap: break-word;
}

.odia-text {
  font-family: var(--font-odia);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(2, 132, 199, 0.1);
  color: var(--color-primary-600);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 2.5rem;
}

/* ==========================================================================
   TOP EMERGENCY SOS HOTLINE BAR
   ========================================================================== */
.top-emergency-bar {
  background: linear-gradient(90deg, #991b1b, #dc2626, #b91c1c);
  color: #ffffff;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  position: relative;
  z-index: 100;
}

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

.emergency-live-pulse {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: pulse-emergency 1.6s infinite;
  flex-shrink: 0;
}

@keyframes pulse-emergency {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.emergency-actions-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.emergency-call-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #ffffff;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.emergency-call-link:hover {
  background: #ffffff;
  color: var(--color-emergency-dark);
}

.top-scheme-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #047857;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* ==========================================================================
   MAIN NAVIGATION HEADER
   ========================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 1rem;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 62px;
  max-height: 70px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-weight: 600;
  color: var(--text-heading);
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

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

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 46px;
  text-align: center;
  border: 1px solid transparent;
}

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

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1, #075985);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
  transform: translateY(-2px);
}

.btn-emergency {
  background: linear-gradient(135deg, var(--color-emergency), var(--color-emergency-dark));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}

.btn-emergency:hover {
  background: linear-gradient(135deg, var(--color-emergency-dark), #991b1b);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
}

.btn-outline {
  background: #ffffff;
  color: var(--color-primary-700);
  border: 1.5px solid var(--color-primary-600);
}

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

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

.btn-whatsapp:hover {
  background: #1eb857;
  transform: translateY(-2px);
}

/* Mobile Hamburger Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-primary-900);
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

/* Mobile Drawer */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: min(320px, 85vw);
  height: 100%;
  background: #ffffff;
  z-index: 1001;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
}

.mobile-drawer.active {
  right: 0;
}

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

.drawer-close {
  background: none;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.drawer-nav a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   HERO SECTION — FLUID & RESPONSIVE
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #071527 0%, #0c2340 50%, #071d34 100%);
  color: #ffffff;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 6vw, 5rem);
  overflow: hidden;
}

.hero-glow-bg {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, rgba(2, 132, 199, 0.05) 50%, transparent 70%);
  top: -150px;
  right: -100px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 229, 255, 0.12);
  color: var(--color-cyan-glow);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.18;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.hero-title span {
  background: linear-gradient(90deg, #00e5ff, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Hero Trust Metrics Grid */
.hero-trust-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-card {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--color-cyan-glow);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.metric-label {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Hero Visual Media Frame */
.hero-media-wrapper {
  position: relative;
  width: 100%;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 229, 255, 0.25);
  border: 2px solid rgba(0, 229, 255, 0.3);
  width: 100%;
  aspect-ratio: 16/11;
  background: #0b172a;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-frame:hover img {
  transform: scale(1.03);
}

.hero-floating-badge {
  position: absolute;
  bottom: -15px;
  left: -15px;
  background: #ffffff;
  color: var(--color-primary-900);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--border-light);
  z-index: 3;
  max-width: 280px;
}

.floating-icon {
  width: 42px;
  height: 42px;
  background: var(--color-success-light);
  color: var(--color-success-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.floating-text h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--color-primary-900);
  margin-bottom: 0.1rem;
}

.floating-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.2;
}

/* ==========================================================================
   QUICK ACTION CARDS SECTION
   ========================================================================== */
.quick-action-strip {
  margin-top: -3rem;
  position: relative;
  z-index: 10;
  margin-bottom: 3.5rem;
}

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

.action-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.action-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.action-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.icon-emergency { background: #fee2e2; color: #ef4444; }
.icon-appointment { background: #e0f2fe; color: #0284c7; }
.icon-bsky { background: #d1fae5; color: #059669; }
.icon-doctor { background: #ede9fe; color: #7c3aed; }

.action-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary-900);
  margin-bottom: 0.35rem;
}

.action-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.action-card-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary-600);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s ease;
}

.action-card:hover .action-card-link {
  gap: 0.7rem;
  color: var(--color-primary-700);
}

/* ==========================================================================
   CASHLESS HEALTH SCHEMES & BSKY SECTION
   ========================================================================== */
.cashless-schemes-section {
  background: #ffffff;
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  position: relative;
}

.scheme-banner-card {
  background: linear-gradient(135deg, #064e3b, #047857 60%, #059669);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(4, 120, 87, 0.25);
}

.scheme-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  position: relative;
  z-index: 2;
}

.scheme-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.scheme-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.scheme-list {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.scheme-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.scheme-list li i {
  color: #a7f3d0;
}

.scheme-card-right {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.scheme-card-right h4 {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.scheme-card-right p {
  font-size: 0.9rem;
  color: #d1fae5;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   DEPARTMENTS & CLINICAL SPECIALITIES
   ========================================================================== */
.specialities-section {
  padding: clamp(3rem, 5vw, 5rem) 0;
  background: var(--bg-surface-subtle);
}

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

.dept-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

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

.dept-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.1), rgba(0, 229, 255, 0.15));
  color: var(--color-primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.dept-card:hover .dept-icon-box {
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-700));
  color: #ffffff;
}

.dept-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-primary-900);
  margin-bottom: 0.5rem;
}

.dept-features {
  list-style: none;
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.dept-features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dept-features li i {
  color: var(--color-success);
  font-size: 0.75rem;
}

/* ==========================================================================
   FACILITIES & INFRASTRUCTURE SHOWCASE
   ========================================================================== */
.facilities-section {
  padding: clamp(3rem, 5vw, 5rem) 0;
  background: #ffffff;
}

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

.facility-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.facility-img-wrap {
  aspect-ratio: 16/10;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
}

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

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

.facility-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(11, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.facility-content {
  padding: 1.5rem;
  flex-grow: 1;
}

.facility-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-primary-900);
  margin-bottom: 0.4rem;
}

.facility-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   DOCTORS & MEDICAL SPECIALISTS
   ========================================================================== */
.doctors-section {
  padding: clamp(3rem, 5vw, 5rem) 0;
  background: var(--bg-surface-subtle);
}

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

.doctor-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.doc-img-wrap {
  aspect-ratio: 4/3.5;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #e2e8f0;
}

.doc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.doctor-card:hover .doc-img-wrap img {
  transform: scale(1.05);
}

.doc-opd-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(2, 132, 199, 0.9);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.doc-body {
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.doc-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary-900);
  margin-bottom: 0.2rem;
}

.doc-speciality {
  color: var(--color-primary-600);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.doc-qual {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.btn-book-doc {
  width: 100%;
  padding: 0.6rem;
  font-size: 0.85rem;
  background: var(--bg-surface-subtle);
  color: var(--color-primary-700);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.doctor-card:hover .btn-book-doc {
  background: var(--color-primary-600);
  color: #ffffff;
  border-color: var(--color-primary-600);
}

/* ==========================================================================
   PHOTO GALLERY SECTION
   ========================================================================== */
.gallery-section {
  padding: clamp(3rem, 5vw, 5rem) 0;
  background: #ffffff;
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  width: 100%;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item.span-2 {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 21, 39, 0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  color: #ffffff;
}

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

.gallery-title {
  font-size: 0.95rem;
  font-weight: 700;
}

/* ==========================================================================
   PATIENT STORIES / REVIEWS
   ========================================================================== */
.reviews-section {
  padding: clamp(3rem, 5vw, 5rem) 0;
  background: linear-gradient(180deg, var(--bg-surface-subtle) 0%, #ffffff 100%);
}

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

.review-card {
  background: #ffffff;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: #f59e0b;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-style: italic;
}

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

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

.reviewer-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--color-primary-900);
}

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

/* ==========================================================================
   APPOINTMENT BOOKING & CONTACT SECTION
   ========================================================================== */
.booking-section {
  padding: clamp(3rem, 5vw, 5rem) 0;
  background: linear-gradient(135deg, #071527 0%, #0f2746 100%);
  color: #ffffff;
  position: relative;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.booking-info h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

.booking-info p {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

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

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 229, 255, 0.15);
  color: var(--color-cyan-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail-item h4 {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.contact-detail-item p, .contact-detail-item a {
  font-size: 0.9rem;
  color: #94a3b8;
  word-break: break-word;
}

/* Booking Form Container */
.booking-form-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  color: var(--text-body);
  width: 100%;
}

.booking-form-box h3 {
  font-size: 1.5rem;
  color: var(--color-primary-900);
  margin-bottom: 0.25rem;
}

.booking-form-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

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

.form-control {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
  width: 100%;
}

.form-control label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary-900);
}

.form-control input, 
.form-control select, 
.form-control textarea {
  padding: 0.75rem 0.9rem;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 1rem; /* 16px minimum prevents mobile zoom */
  color: var(--text-heading);
  background: #ffffff;
  transition: var(--transition-fast);
  width: 100%;
}

.form-control input:focus, 
.form-control select:focus, 
.form-control textarea:focus {
  border-color: var(--color-primary-600);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.btn-submit-book {
  width: 100%;
  padding: 0.9rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   MAP & LOCATION EMBED
   ========================================================================== */
.map-section {
  position: relative;
  background: #ffffff;
  padding: 3.5rem 0 2rem;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  height: clamp(280px, 40vw, 380px);
  position: relative;
  width: 100%;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #071324;
  color: #94a3b8;
  padding: 4rem 0 2rem;
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.footer-brand p {
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  font-size: 1.1rem;
}

.social-btn:hover {
  background: var(--color-primary-600);
  transform: translateY(-3px);
}

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

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

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a:hover {
  color: var(--color-cyan-glow);
  padding-left: 4px;
}

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

/* ==========================================================================
   MOBILE FLOATING ACTION BAR (FAB)
   ========================================================================== */
.mobile-fab-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  padding: 0.65rem 1rem;
  z-index: 999;
  border-top: 1px solid var(--border-light);
}

.fab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 0.5rem;
}

.fab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  min-height: 44px;
}

.fab-call { background: var(--color-emergency); color: #ffffff; }
.fab-wa { background: #25D366; color: #ffffff; }
.fab-book { background: var(--color-primary-600); color: #ffffff; }

/* ==========================================================================
   APPOINTMENT MODAL POPUP
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-surface-subtle);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: #fee2e2;
  color: var(--color-emergency);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Fluid Tablet & Mobile Layout)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

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

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

  .scheme-grid {
    grid-template-columns: 1fr;
  }

  .booking-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  body {
    padding-bottom: 70px; /* Space for Mobile Floating Action Bar */
  }

  .desktop-nav {
    display: none;
  }

  .header-inner {
    height: 72px;
  }

  .brand-logo-img {
    height: 50px;
    max-width: 200px;
  }

  .header-cta-group .btn-appointment-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

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

  .hero-section {
    text-align: center;
    padding-bottom: 3.5rem;
  }

  .hero-tag {
    margin: 0 auto 1rem;
  }

  .hero-buttons-row {
    justify-content: center;
  }

  .hero-trust-metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-floating-badge {
    position: relative;
    left: auto;
    bottom: auto;
    margin: 1rem auto 0;
    max-width: 100%;
  }

  .quick-action-strip {
    margin-top: 1.5rem; /* Remove negative overlap on mobile */
    margin-bottom: 2.5rem;
  }

  .action-cards-grid {
    grid-template-columns: 1fr;
  }

  .scheme-list {
    grid-template-columns: 1fr;
  }

  .specialities-grid {
    grid-template-columns: 1fr;
  }

  .facilities-grid {
    grid-template-columns: 1fr;
  }

  .doctors-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-item.span-2 {
    grid-column: span 2;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

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

  .form-group-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-trust-metrics {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.span-2 {
    grid-column: span 1;
  }

  .fab-btn {
    font-size: 0.78rem;
    padding: 0.5rem 0.2rem;
  }

  .emergency-live-pulse {
    font-size: 0.8rem;
  }
}
