/* ==========================================================================
   BUTWAL HOSPITAL - MODERN DESIGN SYSTEM & UI STYLESHEET
   ========================================================================== */

:root {
  --bh-primary: #0b3c68;
  --bh-primary-dark: #07223b;
  --bh-primary-light: #e6f0fa;
  --bh-primary-gradient: linear-gradient(135deg, #0b3c68 0%, #008080 100%);
  --bh-accent: #00a896;
  --bh-accent-dark: #028090;
  --bh-accent-light: #e6f7f5;
  --bh-accent-glow: rgba(0, 168, 150, 0.3);
  --bh-emergency: #e63946;
  --bh-emergency-light: #fee2e2;
  --bh-success: #10b981;
  --bh-warning: #f59e0b;
  --bh-dark: #0f172a;
  --bh-gray-900: #0f172a;
  --bh-gray-800: #1e293b;
  --bh-gray-700: #334155;
  --bh-gray-600: #475569;
  --bh-gray-500: #64748b;
  --bh-gray-300: #cbd5e1;
  --bh-gray-200: #e2e8f0;
  --bh-gray-100: #f1f5f9;
  --bh-gray-50: #f8fafc;
  --bh-white: #ffffff;

  --bh-font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --bh-font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  --bh-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --bh-shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --bh-shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --bh-shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --bh-shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
  --bh-shadow-glow: 0 10px 25px -5px rgba(0, 168, 150, 0.4);

  --bh-radius-sm: 8px;
  --bh-radius-md: 12px;
  --bh-radius-lg: 16px;
  --bh-radius-xl: 24px;
  --bh-radius-full: 9999px;

  --bh-transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --bh-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --bh-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Base Typography */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--bh-font-sans);
  color: var(--bh-gray-700);
  background-color: #f8fafc;
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--bh-font-heading);
  color: var(--bh-gray-900);
  font-weight: 700;
  line-height: 1.25;
  margin-top: 0;
}

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

a:hover, a:focus {
  color: var(--bh-accent);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* ==========================================================================
   FLUENT PRELOADER & LOADING SCREEN
   ========================================================================== */
#modern-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #071e36 0%, #0b3c68 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
}

#modern-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
  max-width: 420px;
  padding: 24px;
}

.preloader-brand {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.preloader-brand img {
  max-height: 52px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
  border-radius: var(--bh-radius-sm);
  background: rgba(255,255,255,0.95);
  padding: 4px 8px;
}

.preloader-brand span {
  font-family: var(--bh-font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}

/* ECG Heartbeat Line Animation */
.ecg-container {
  width: 240px;
  height: 64px;
  margin: 0 auto 20px auto;
  position: relative;
}

.ecg-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ecg-path {
  fill: none;
  stroke: var(--bh-accent);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: ecgPulse 2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  filter: drop-shadow(0 0 8px rgba(0, 168, 150, 0.8));
}

@keyframes ecgPulse {
  0% {
    stroke-dashoffset: 400;
    opacity: 0.3;
  }
  50% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -400;
    opacity: 0.3;
  }
}

.preloader-status {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-bottom: 16px;
}

.preloader-bar-bg {
  width: 180px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--bh-radius-full);
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.preloader-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--bh-accent) 0%, #38bdf8 100%);
  border-radius: var(--bh-radius-full);
  animation: preloaderFill 1.4s ease-in-out infinite;
}

@keyframes preloaderFill {
  0% { left: -100%; width: 50%; }
  50% { left: 25%; width: 60%; }
  100% { left: 100%; width: 40%; }
}

/* ==========================================================================
   MODERN HEADER & NAVIGATION
   ========================================================================== */
.modern-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  pointer-events: none;
}

/* Top Notification / Emergency Bar (Translucent glass over hero) */
.modern-topbar {
  background: rgba(6, 25, 45, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: auto;
  transition: all 0.3s ease;
}

.topbar-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.88);
  transition: color var(--bh-transition-fast);
}

.topbar-item:hover {
  color: var(--bh-white);
}

.topbar-item i {
  color: var(--bh-accent);
  font-size: 14px;
}

.topbar-emergency {
  background: rgba(230, 57, 70, 0.28);
  border: 1px solid rgba(230, 57, 70, 0.55);
  color: #ff9aa2 !important;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--bh-radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  animation: pulseEmergency 2.5s infinite;
}

.topbar-emergency i {
  color: #ff525d;
}

@keyframes pulseEmergency {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(230, 57, 70, 0); }
}

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--bh-radius-full);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  transition: all var(--bh-transition-fast);
}

.bh-social-svg {
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
  width: 13px;
  height: 13px;
  transition: transform var(--bh-transition-fast);
}

.topbar-social-link:hover {
  background: var(--bh-accent);
  color: var(--bh-white);
  transform: translateY(-2px);
}

.topbar-social-link.social-tiktok:hover,
.dept-doctor-socials a.social-tiktok:hover {
  background: #010101 !important;
  color: #00f2fe !important;
}

.topbar-social-link.social-instagram:hover,
.dept-doctor-socials a.social-instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
  color: #ffffff !important;
}

.topbar-appointment-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.4);
  transition: all var(--bh-transition-fast);
  white-space: nowrap;
  margin-left: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.topbar-appointment-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.55);
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
  color: #ffffff !important;
}

/* ==========================================================================
   MAIN NAVIGATION - FULLY TRANSPARENT ON HERO, FIXED ON SCROLL
   ========================================================================== */
.modern-navbar {
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
  transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  width: 100%;
  z-index: 999;
  pointer-events: auto;
}

.modern-container {
  width: 100% !important;
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

.modern-topbar .container,
.modern-navbar .container {
  width: 100% !important;
  max-width: 1400px !important;
  padding-left: 24px;
  padding-right: 24px;
}

/* FIXED NAVBAR ON SCROLL */
.modern-navbar.is-sticky {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1050 !important;
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  box-shadow: 0 4px 25px rgba(15, 23, 42, 0.12) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
  animation: navbarSlideDown 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes navbarSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  position: relative;
  gap: 16px;
}

.modern-navbar.is-sticky .navbar-container {
  padding: 10px 0;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-logo img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform var(--bh-transition-fast);
}

.navbar-logo:hover img {
  transform: scale(1.02);
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  white-space: nowrap;
}

/* Brand Text: White & Glowing when transparent over hero */
.navbar-brand-name {
  font-family: var(--bh-font-heading);
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.3px;
  white-space: nowrap;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.navbar-brand-tagline {
  font-size: 10.5px;
  font-weight: 600;
  color: #2dd4bf;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
  transition: color 0.3s ease;
}

/* When sticky: Dark crisp branding */
.modern-navbar.is-sticky .navbar-brand-name {
  color: var(--bh-primary) !important;
  text-shadow: none !important;
}

.modern-navbar.is-sticky .navbar-brand-tagline {
  color: var(--bh-accent) !important;
  text-shadow: none !important;
}

.navbar-nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
  flex-wrap: nowrap;
}

/* Nav Links: Light with subtle shadow over transparent hero */
.navbar-nav-links > li > a {
  display: block;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  border-radius: var(--bh-radius-sm);
  transition: all var(--bh-transition-fast);
  white-space: nowrap;
  position: relative;
}

.navbar-nav-links > li > a:hover {
  color: #2dd4bf;
  background: rgba(255, 255, 255, 0.12);
}

.navbar-nav-links > li.active > a {
  color: #ffffff;
  background: rgba(0, 168, 150, 0.32);
  border: 1px solid rgba(45, 212, 191, 0.5);
  font-weight: 700;
}

/* Nav Links When Sticky: Dark slate contrast */
.modern-navbar.is-sticky .navbar-nav-links > li > a {
  color: var(--bh-gray-700) !important;
  text-shadow: none !important;
}

.modern-navbar.is-sticky .navbar-nav-links > li > a:hover {
  color: var(--bh-primary) !important;
  background: var(--bh-primary-light) !important;
}

.modern-navbar.is-sticky .navbar-nav-links > li.active > a {
  color: var(--bh-primary) !important;
  background: var(--bh-primary-light) !important;
  border: 1px solid rgba(0, 168, 150, 0.2) !important;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Modern Primary CTA Button */
.bh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-family: var(--bh-font-sans);
  font-weight: 600;
  font-size: 14.5px;
  border-radius: var(--bh-radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--bh-transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.bh-btn-primary {
  background: linear-gradient(135deg, var(--bh-primary) 0%, var(--bh-accent) 100%);
  color: var(--bh-white);
  box-shadow: 0 4px 14px rgba(11, 60, 104, 0.25);
}

.bh-btn-primary:hover {
  color: var(--bh-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 168, 150, 0.35);
}

.bh-btn-primary:active {
  transform: translateY(0);
}

.bh-btn-outline {
  background: transparent;
  color: var(--bh-primary);
  border-color: var(--bh-primary);
}

.bh-btn-outline:hover {
  background: var(--bh-primary);
  color: var(--bh-white);
  transform: translateY(-2px);
}

.bh-btn-emergency {
  background: linear-gradient(135deg, #e63946 0%, #f43f5e 100%);
  color: var(--bh-white);
  box-shadow: 0 4px 14px rgba(230, 57, 70, 0.3);
}

.bh-btn-emergency:hover {
  color: var(--bh-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.45);
}

.bh-btn-white {
  background: var(--bh-white);
  color: var(--bh-primary);
  box-shadow: var(--bh-shadow-md);
}

.bh-btn-white:hover {
  background: var(--bh-gray-50);
  color: var(--bh-accent);
  transform: translateY(-2px);
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 12px;
  font-size: 20px;
  color: #ffffff;
  cursor: pointer;
  border-radius: var(--bh-radius-sm);
  transition: all var(--bh-transition-fast);
}

.mobile-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
}

.modern-navbar.is-sticky .mobile-nav-toggle {
  color: var(--bh-primary) !important;
  background: var(--bh-gray-100) !important;
  border-color: var(--bh-gray-300) !important;
}

@media (max-width: 1080px) {
  .navbar-nav-links {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
}

/* Mobile Off-Canvas Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--bh-white);
  z-index: 10001;
  box-shadow: var(--bh-shadow-xl);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}

.mobile-drawer.is-open {
  right: 0;
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bh-gray-200);
  margin-bottom: 20px;
}

.drawer-header .navbar-brand-name {
  color: var(--bh-primary) !important;
  text-shadow: none !important;
}

.drawer-header .navbar-brand-tagline {
  color: var(--bh-accent) !important;
  text-shadow: none !important;
}

.drawer-close-btn {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--bh-gray-500);
  cursor: pointer;
}

.drawer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-nav-list a {
  display: block;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 16px;
  color: var(--bh-gray-800);
  border-radius: var(--bh-radius-sm);
  transition: all var(--bh-transition-fast);
}

.drawer-nav-list a:hover {
  background: var(--bh-primary-light);
  color: var(--bh-primary);
}

/* ==========================================================================
   SMOOTH HERO SECTION WITH CAROUSEL & STATS
   ========================================================================== */
.modern-hero-section {
  position: relative;
  overflow: hidden;
  background: #06192d;
  min-height: 640px;
}

.hero-slider-container {
  position: relative;
  width: 100%;
  min-height: 640px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 1s ease-out;
  transform: scale(1.03);
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  position: relative;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(6, 25, 45, 0.94) 0%, rgba(6, 25, 45, 0.82) 45%, rgba(6, 25, 45, 0.4) 100%);
  z-index: 2;
}

.hero-content-wrap {
  position: relative;
  z-index: 3;
  padding: 160px 0 90px 0;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 168, 150, 0.2);
  border: 1px solid rgba(0, 168, 150, 0.4);
  color: #2dd4bf;
  padding: 6px 14px;
  border-radius: var(--bh-radius-full);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
  backdrop-filter: blur(4px);
}

.hero-badge i {
  color: var(--bh-accent);
}

.hero-title {
  color: var(--bh-white);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Slider Controls */
.hero-controls {
  position: absolute;
  bottom: 28px;
  right: 40px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--bh-radius-full);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--bh-white);
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--bh-transition-fast);
}

.hero-nav-btn:hover {
  background: var(--bh-accent);
  color: var(--bh-white);
  border-color: var(--bh-accent);
  transform: scale(1.08);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--bh-radius-full);
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all var(--bh-transition-fast);
}

.hero-dot.active {
  width: 28px;
  background: var(--bh-accent);
}

/* Hero Quick Stats Float Strip */
.hero-stats-strip {
  position: relative;
  z-index: 10;
  margin-top: -45px;
}

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

.stat-card {
  background: var(--bh-white);
  border-radius: var(--bh-radius-lg);
  padding: 22px;
  box-shadow: var(--bh-shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--bh-gray-100);
  transition: all var(--bh-transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--bh-shadow-xl);
  border-color: rgba(0, 168, 150, 0.3);
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--bh-radius-md);
  background: var(--bh-primary-light);
  color: var(--bh-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  transition: all var(--bh-transition-fast);
}

.stat-card:hover .stat-icon {
  background: var(--bh-accent);
  color: var(--bh-white);
}

.stat-info h4 {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  color: var(--bh-gray-900);
}

.stat-info p {
  margin: 0;
  font-size: 13px;
  color: var(--bh-gray-500);
  font-weight: 500;
}

/* ==========================================================================
   QUICK APPOINTMENT BOOKING SECTION
   ========================================================================== */
.booking-section-wrap {
  padding: 70px 0 40px 0;
  background: linear-gradient(180deg, var(--bh-gray-50) 0%, var(--bh-white) 100%);
}

.booking-card {
  background: var(--bh-white);
  border-radius: var(--bh-radius-xl);
  box-shadow: var(--bh-shadow-lg);
  padding: 36px 40px;
  border: 1px solid var(--bh-gray-200);
  position: relative;
  overflow: hidden;
}

.booking-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--bh-primary) 0%, var(--bh-accent) 100%);
}

.booking-header {
  margin-bottom: 28px;
  text-align: center;
}

.booking-badge {
  display: inline-block;
  background: var(--bh-accent-light);
  color: var(--bh-accent-dark);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: var(--bh-radius-full);
  margin-bottom: 8px;
}

.booking-header h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.booking-header p {
  color: var(--bh-gray-500);
  max-width: 540px;
  margin: 0 auto;
}

.booking-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.form-group-modern {
  position: relative;
}

.form-group-modern label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bh-gray-700);
  margin-bottom: 6px;
}

.form-input-wrap {
  position: relative;
}

.form-input-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bh-gray-400);
  font-size: 15px;
  pointer-events: none;
  transition: color var(--bh-transition-fast);
}

.form-control-modern {
  width: 100%;
  height: 48px;
  padding: 10px 14px 10px 42px;
  font-size: 14.5px;
  font-family: var(--bh-font-sans);
  color: var(--bh-gray-800);
  background: var(--bh-gray-50);
  border: 1.5px solid var(--bh-gray-200);
  border-radius: var(--bh-radius-md);
  transition: all var(--bh-transition-fast);
  outline: none;
}

.form-control-modern:focus {
  background: var(--bh-white);
  border-color: var(--bh-accent);
  box-shadow: 0 0 0 4px var(--bh-accent-glow);
}

.form-control-modern:focus + i {
  color: var(--bh-accent);
}

.booking-submit-btn {
  width: 100%;
  height: 48px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--bh-radius-md);
  margin-top: 26px;
}

/* ==========================================================================
   SECTION COMMON HEADERS & WRAPPERS
   ========================================================================== */
.section-padding {
  padding: 80px 0;
}

.section-padding-sm {
  padding: 50px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bh-primary-light);
  color: var(--bh-primary);
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: var(--bh-radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--bh-gray-500);
  font-size: 16px;
  margin: 0;
}

/* ==========================================================================
   DEPARTMENTS GRID
   ========================================================================== */
.departments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.department-card {
  background: var(--bh-white);
  border-radius: var(--bh-radius-lg);
  padding: 28px;
  border: 1px solid var(--bh-gray-200);
  box-shadow: var(--bh-shadow-xs);
  transition: all var(--bh-transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.department-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--bh-shadow-lg);
  border-color: rgba(0, 168, 150, 0.4);
}

.dep-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--bh-radius-md);
  background: var(--bh-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--bh-transition-fast);
}

.dep-icon-wrap img {
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
}

.department-card:hover .dep-icon-wrap {
  background: linear-gradient(135deg, var(--bh-primary) 0%, var(--bh-accent) 100%);
  transform: scale(1.08);
}

.dep-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--bh-gray-900);
}

.dep-desc {
  font-size: 14.5px;
  color: var(--bh-gray-600);
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.6;
}

.dep-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--bh-primary);
  margin-top: auto;
  transition: gap var(--bh-transition-fast);
}

.dep-link i {
  transition: transform var(--bh-transition-fast);
}

.department-card:hover .dep-link {
  color: var(--bh-accent);
}

.department-card:hover .dep-link i {
  transform: translateX(4px);
}

/* ==========================================================================
   DOCTORS / SPECIALISTS SHOWCASE
   ========================================================================== */
.doctors-section {
  background: var(--bh-gray-50);
}

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

.doctor-card {
  background: var(--bh-white);
  border-radius: var(--bh-radius-lg);
  overflow: hidden;
  box-shadow: var(--bh-shadow-xs);
  border: 1px solid var(--bh-gray-200);
  transition: all var(--bh-transition);
  display: flex;
  flex-direction: column;
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--bh-shadow-lg);
  border-color: rgba(0, 168, 150, 0.4);
}

.doc-image-wrap {
  position: relative;
  width: 100%;
  padding-top: 105%;
  background: linear-gradient(180deg, var(--bh-gray-100) 0%, #dbeafe 100%);
  overflow: hidden;
}

.doc-image-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--bh-transition-slow);
}

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

.doc-badge-specialty {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(11, 60, 104, 0.88);
  backdrop-filter: blur(8px);
  color: var(--bh-white);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--bh-radius-full);
  z-index: 2;
}

.doc-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.doc-name {
  font-size: 17.5px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--bh-gray-900);
}

.doc-dept {
  font-size: 13px;
  color: var(--bh-accent-dark);
  font-weight: 600;
  margin-bottom: 12px;
}

.doc-actions {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--bh-gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.doc-book-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--bh-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.doc-book-link:hover {
  color: var(--bh-accent);
}

/* ==========================================================================
   HOSPITAL SERVICES & FACILITIES
   ========================================================================== */
.services-tabs-wrap {
  background: var(--bh-white);
  border-radius: var(--bh-radius-xl);
  border: 1px solid var(--bh-gray-200);
  box-shadow: var(--bh-shadow-md);
  overflow: hidden;
}

.services-nav-tabs {
  display: flex;
  background: var(--bh-gray-50);
  border-bottom: 1px solid var(--bh-gray-200);
  overflow-x: auto;
  scrollbar-width: none;
}

.services-nav-tabs::-webkit-scrollbar {
  display: none;
}

.service-tab-btn {
  padding: 16px 24px;
  font-family: var(--bh-font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--bh-gray-600);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--bh-transition-fast);
}

.service-tab-btn:hover {
  color: var(--bh-primary);
  background: rgba(255, 255, 255, 0.6);
}

.service-tab-btn.active {
  color: var(--bh-primary);
  background: var(--bh-white);
  border-bottom-color: var(--bh-accent);
}

.service-tab-panel {
  display: none;
  padding: 40px;
  animation: fadeIn 0.4s ease-in-out;
}

.service-tab-panel.active {
  display: block;
}

.service-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.service-panel-image {
  border-radius: var(--bh-radius-lg);
  overflow: hidden;
  box-shadow: var(--bh-shadow-md);
  position: relative;
}

.service-panel-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.service-panel-content h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--bh-gray-900);
}

.service-panel-content p {
  color: var(--bh-gray-600);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--bh-gray-800);
}

.service-features-list li i {
  color: var(--bh-accent);
  font-size: 16px;
}

/* ==========================================================================
   24/7 EMERGENCY CALLOUT BANNER
   ========================================================================== */
.emergency-banner-wrap {
  background: linear-gradient(135deg, #071f38 0%, #0c3359 100%);
  color: var(--bh-white);
  border-radius: var(--bh-radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--bh-shadow-xl);
  margin: 30px 0;
}

.emergency-banner-wrap::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.emergency-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 2;
}

.emergency-info h3 {
  color: var(--bh-white);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  margin-bottom: 12px;
}

.emergency-info p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  margin: 0;
  max-width: 580px;
}

.emergency-cta {
  text-align: right;
}

.emergency-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bh-emergency);
  color: var(--bh-white);
  padding: 16px 28px;
  border-radius: var(--bh-radius-full);
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.45);
  transition: all var(--bh-transition-fast);
}

.emergency-phone-btn:hover {
  color: var(--bh-white);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(230, 57, 70, 0.6);
}

/* ==========================================================================
   TESTIMONIALS & REVIEWS
   ========================================================================== */
.testimonials-section {
  background: var(--bh-gray-50);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bh-white);
  border-radius: var(--bh-radius-lg);
  padding: 30px;
  box-shadow: var(--bh-shadow-xs);
  border: 1px solid var(--bh-gray-200);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--bh-transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--bh-shadow-lg);
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 16px;
  font-size: 14px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--bh-gray-600);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--bh-radius-full);
  object-fit: cover;
  background: var(--bh-gray-200);
}

.author-info h5 {
  margin: 0 0 2px 0;
  font-size: 15px;
  font-weight: 700;
}

.author-info span {
  font-size: 12.5px;
  color: var(--bh-gray-500);
}

/* ==========================================================================
   LATEST POSTS & HEALTH INSIGHTS
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--bh-white);
  border-radius: var(--bh-radius-lg);
  overflow: hidden;
  box-shadow: var(--bh-shadow-xs);
  border: 1px solid var(--bh-gray-200);
  transition: all var(--bh-transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--bh-shadow-lg);
  border-color: rgba(0, 168, 150, 0.4);
}

.blog-thumb {
  position: relative;
  width: 100%;
  padding-top: 58%;
  overflow: hidden;
}

.blog-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--bh-transition-slow);
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.08);
}

.blog-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date {
  font-size: 12.5px;
  color: var(--bh-gray-500);
  font-weight: 600;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.blog-title a {
  color: var(--bh-gray-900);
}

.blog-title a:hover {
  color: var(--bh-primary);
}

.blog-excerpt {
  font-size: 14px;
  color: var(--bh-gray-600);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.blog-read-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--bh-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-read-link:hover {
  color: var(--bh-accent);
}

/* ==========================================================================
   MODERN FOOTER
   ========================================================================== */
.modern-footer {
  background: var(--bh-dark);
  color: var(--bh-gray-300);
  padding: 70px 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
  color: var(--bh-white);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

.footer-logo-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: var(--bh-radius-md);
  margin-bottom: 20px;
  text-decoration: none;
  transition: all var(--bh-transition-fast);
}

.footer-logo-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.footer-logo-card img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: var(--bh-radius-sm);
  background: #ffffff;
  padding: 2px;
}

.footer-brand-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.footer-brand-title {
  font-family: var(--bh-font-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--bh-white);
  letter-spacing: -0.2px;
}

.footer-brand-sub {
  font-size: 11px;
  color: var(--bh-accent);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 18px;
}

.footer-logo img {
  max-height: 48px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
  background: #ffffff;
  padding: 4px 8px;
  border-radius: var(--bh-radius-sm);
}

.footer-about-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--bh-gray-400);
  margin-bottom: 20px;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--bh-gray-300);
}

.footer-contact-list li i {
  color: var(--bh-accent);
  font-size: 15px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: var(--bh-gray-400);
  font-size: 14px;
  transition: all var(--bh-transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links-list a:hover {
  color: var(--bh-accent);
  transform: translateX(4px);
}

.footer-newsletter p {
  font-size: 14px;
  color: var(--bh-gray-400);
  margin-bottom: 14px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--bh-radius-md);
  padding: 10px 14px;
  color: var(--bh-white);
  font-size: 14px;
  outline: none;
  transition: all var(--bh-transition-fast);
}

.newsletter-input:focus {
  border-color: var(--bh-accent);
  background: rgba(255, 255, 255, 0.12);
}

.newsletter-submit {
  background: var(--bh-accent);
  color: var(--bh-white);
  border: none;
  border-radius: var(--bh-radius-md);
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--bh-transition-fast);
}

.newsletter-submit:hover {
  background: var(--bh-accent-dark);
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--bh-gray-500);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: var(--bh-gray-400);
}

.footer-bottom a:hover {
  color: var(--bh-accent);
}

/* ==========================================================================
   INTERACTIVE CONFIRMATION MODAL & TOAST
   ========================================================================== */
.bh-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bh-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.bh-modal-card {
  background: var(--bh-white);
  border-radius: var(--bh-radius-xl);
  padding: 36px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: var(--bh-shadow-xl);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bh-modal-backdrop.is-open .bh-modal-card {
  transform: scale(1);
}

.modal-icon-success {
  width: 68px;
  height: 68px;
  border-radius: var(--bh-radius-full);
  background: #d1fae5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px auto;
}

.bh-modal-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
}

.bh-modal-card p {
  color: var(--bh-gray-600);
  font-size: 15px;
  margin-bottom: 24px;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (Intersection Observer)
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1199px) {
  .doctors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .modern-navbar {
    background: #ffffff !important;
    box-shadow: 0 2px 14px rgba(11, 25, 44, 0.08) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
  }

  .modern-navbar .navbar-brand-name {
    color: var(--bh-primary) !important;
    text-shadow: none !important;
  }

  .modern-navbar .navbar-brand-tagline {
    color: var(--bh-accent) !important;
    text-shadow: none !important;
  }

  .navbar-nav-links, .navbar-actions .bh-btn-primary {
    display: none;
  }

  .mobile-nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: var(--bh-primary) !important;
    background: var(--bh-primary-light) !important;
    border: 1px solid rgba(11, 60, 104, 0.15) !important;
  }

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

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

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

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

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

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

  .service-panel-grid {
    grid-template-columns: 1fr;
  }

  .emergency-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

@media (max-width: 767px) {
  .topbar-right {
    display: none;
  }

  /* Robust Logo & Slogan Layout to Eliminate Overlap */
  .navbar-logo {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    max-width: calc(100% - 56px) !important;
    min-width: 0 !important;
    flex-shrink: 1 !important;
  }

  .navbar-logo img {
    height: 42px !important;
    width: 42px !important;
    min-width: 42px !important;
    max-height: 42px !important;
    max-width: 42px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    display: block !important;
    border-radius: 6px;
  }

  .navbar-brand-text {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0 !important;
    flex: 1 !important;
    gap: 2px !important;
    line-height: normal !important;
  }

  .navbar-brand-name {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: var(--bh-primary) !important;
    text-shadow: none !important;
    letter-spacing: -0.2px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
  }

  .navbar-brand-tagline {
    font-size: 9.5px !important;
    font-weight: 600 !important;
    color: var(--bh-accent) !important;
    text-shadow: none !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
  }

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

  .hero-stats-strip {
    margin-top: 20px;
  }

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

  .booking-card {
    padding: 24px;
  }

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

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

  .testimonials-grid, .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-controls {
    bottom: 16px;
    right: 16px;
  }
}

@media (max-width: 440px) {
  .navbar-logo img {
    height: 36px !important;
    width: 36px !important;
    min-width: 36px !important;
    max-height: 36px !important;
    max-width: 36px !important;
  }
  .navbar-brand-name {
    font-size: 13.5px !important;
  }
  .navbar-brand-tagline {
    font-size: 8.5px !important;
  }
}

/* ==========================================================================
   SERVICES DIRECTORY & SERVICE DETAILS DESIGN SYSTEM
   ========================================================================== */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 991px) {
  .services-page-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .services-page-grid {
    grid-template-columns: 1fr;
  }
}

.service-page-card {
  background: #ffffff;
  border-radius: var(--bh-radius-md);
  border: 1px solid var(--bh-gray-200);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-page-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(11, 60, 104, 0.12);
  border-color: var(--bh-accent);
}

.service-card-media {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--bh-primary-dark);
}

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

.service-page-card:hover .service-card-media img {
  transform: scale(1.06);
}

.service-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 60, 104, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: var(--bh-radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-title {
  font-family: var(--bh-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bh-gray-900);
  margin: 0 0 10px 0;
  line-height: 1.35;
}

.service-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.service-card-title a:hover {
  color: var(--bh-accent);
}

.service-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--bh-gray-600);
  margin-bottom: 18px;
  flex: 1;
}

.service-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px dashed var(--bh-gray-200);
  padding-top: 14px;
}

.service-card-features li {
  font-size: 13px;
  color: var(--bh-gray-700);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card-features li i {
  color: var(--bh-accent);
  font-size: 13px;
  flex-shrink: 0;
}

.service-card-footer {
  margin-top: auto;
  border-top: 1px solid var(--bh-gray-100);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--bh-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.service-card-btn:hover {
  color: var(--bh-accent);
  gap: 10px;
}

/* ==========================================================================
   MODERN INNER PAGES DESIGN SYSTEM
   ========================================================================== */

/* Modern Inner Page Hero Banner & Breadcrumbs */
.inner-hero {
  background: linear-gradient(135deg, #0b192c 0%, #152c4a 50%, #1e3e62 100%);
  padding: 155px 0 55px 0;
  position: relative;
  overflow: hidden;
  color: var(--bh-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.inner-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 30%, rgba(0, 168, 150, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.inner-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.inner-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 168, 150, 0.15);
  border: 1px solid rgba(0, 168, 150, 0.35);
  color: var(--bh-accent);
  padding: 5px 14px;
  border-radius: var(--bh-radius-full);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.inner-hero h1 {
  color: var(--bh-white);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.inner-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--bh-gray-300);
}

.inner-breadcrumbs a {
  color: var(--bh-gray-300);
  transition: color var(--bh-transition-fast);
  text-decoration: none;
}

.inner-breadcrumbs a:hover {
  color: var(--bh-accent);
}

.inner-breadcrumbs .sep {
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
}

.inner-breadcrumbs .current {
  color: var(--bh-accent);
  font-weight: 600;
}

/* Base Inner Section Container */
.inner-page-section {
  padding: 70px 0;
  background: #f8fafc;
}

/* ==========================================================================
   ABOUT US - MODERN CONTENT FLOW (LEFT IMAGE, WRAPPING JUSTIFIED CONTENT)
   ========================================================================== */
.about-modern-content-wrap {
  background: var(--bh-white);
  border-radius: var(--bh-radius-lg);
  padding: 44px;
  border: 1px solid var(--bh-gray-200);
  box-shadow: var(--bh-shadow-sm);
}

.about-modern-content-wrap::after {
  content: "";
  display: table;
  clear: both;
}

.about-float-image {
  float: left;
  width: 44%;
  max-width: 500px;
  margin: 0 40px 24px 0;
}

.about-image-card {
  position: relative;
  border-radius: var(--bh-radius-lg);
  overflow: hidden;
  box-shadow: var(--bh-shadow-lg);
  border: 1px solid var(--bh-gray-200);
  background: var(--bh-white);
}

.about-image-card img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
  transition: transform var(--bh-transition);
}

.about-image-card:hover img {
  transform: scale(1.02);
}

.about-floating-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(11, 25, 44, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--bh-white);
  padding: 16px 20px;
  border-radius: var(--bh-radius-md);
  box-shadow: var(--bh-shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 320px;
}

.about-floating-badge i {
  font-size: 30px;
  color: var(--bh-accent);
}

.about-badge-text h6 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--bh-white);
}

.about-badge-text p {
  margin: 2px 0 0 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.8);
}

.about-flowing-body {
  display: block;
}

.about-section-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--bh-accent);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
  display: inline-block;
}

.about-hospital-name {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  color: var(--bh-primary);
  line-height: 1.25;
  margin: 0 0 20px 0;
}

.about-rich-narrative {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--bh-gray-700);
  text-align: justify;
  text-justify: inter-word;
}

.about-rich-narrative p,
.about-rich-narrative div,
.about-rich-narrative li {
  margin-bottom: 16px;
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.85;
}

/* Bottom Features below floated image and narrative */
.about-bottom-features {
  clear: both;
  padding-top: 36px;
  margin-top: 24px;
  border-top: 1px solid var(--bh-gray-200);
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.about-value-item {
  background: var(--bh-gray-50);
  border: 1px solid var(--bh-gray-200);
  border-radius: var(--bh-radius-md);
  padding: 20px;
  box-shadow: var(--bh-shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--bh-transition-fast);
}

.about-value-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--bh-shadow-md);
  border-color: var(--bh-accent);
  background: var(--bh-white);
}

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

.about-value-info h5 {
  margin: 0 0 4px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--bh-gray-900);
}

.about-value-info p {
  margin: 0;
  font-size: 13px;
  color: var(--bh-gray-600);
  line-height: 1.45;
  text-align: justify;
  text-justify: inter-word;
}

.about-standards-banner {
  background: #f8fafc;
  border-radius: var(--bh-radius-md);
  padding: 24px 28px;
  border: 1px solid var(--bh-gray-200);
  margin-bottom: 32px;
}

.about-standards-banner h5 {
  font-size: 16px;
  font-weight: 800;
  color: var(--bh-primary);
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-standards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}

.about-standard-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--bh-gray-700);
}

.about-standard-item i {
  color: #10b981;
  font-size: 15px;
  flex-shrink: 0;
}

.about-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Fallback split grid */
.about-split-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 48px;
  align-items: start;
}

.about-image-column {
  position: relative;
}

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

/* ==========================================================================
   DEPARTMENT DETAILS - MODERN CONTENT FLOW (LEFT IMAGE, WRAPPING JUSTIFIED CONTENT)
   ========================================================================== */
.dept-modern-content-wrap {
  background: var(--bh-white);
  border-radius: var(--bh-radius-lg);
  padding: 44px;
  box-shadow: var(--bh-shadow-sm);
  border: 1px solid var(--bh-gray-200);
}

.dept-modern-content-wrap::after {
  content: "";
  display: table;
  clear: both;
}

.dept-float-image {
  float: left;
  width: 42%;
  max-width: 480px;
  margin: 0 36px 20px 0;
}

.dept-image-card {
  position: relative;
  background: var(--bh-white);
  border-radius: var(--bh-radius-lg);
  overflow: hidden;
  box-shadow: var(--bh-shadow-md);
  border: 1px solid var(--bh-gray-200);
}

.dept-image-card img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
  display: block;
  transition: transform var(--bh-transition);
}

.dept-image-card:hover img {
  transform: scale(1.02);
}

.dept-flowing-body {
  display: block;
}

.dept-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bh-primary-light);
  color: var(--bh-primary);
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--bh-radius-full);
  margin-bottom: 12px;
}

.dept-info-title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: var(--bh-gray-900);
  margin: 0 0 16px 0;
  line-height: 1.25;
}

.dept-lead-summary {
  font-size: 16px;
  font-weight: 600;
  color: var(--bh-primary);
  margin-bottom: 20px;
  line-height: 1.65;
  padding-left: 14px;
  border-left: 3px solid var(--bh-accent);
  text-align: justify;
  text-justify: inter-word;
}

.dept-rich-description {
  font-size: 15px;
  line-height: 1.85;
  color: var(--bh-gray-700);
  text-align: justify;
  text-justify: inter-word;
}

.dept-rich-description p,
.dept-rich-description div,
.dept-rich-description li {
  margin-bottom: 16px;
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.85;
}

/* Department Highlights Bar (Clears float) */
.dept-highlights-bar {
  clear: both;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--bh-gray-200);
}

.dept-highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.dept-highlight-item {
  background: var(--bh-gray-50);
  border: 1px solid var(--bh-gray-200);
  border-radius: var(--bh-radius-md);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.dept-highlight-item i {
  color: #10b981;
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.dept-highlight-item strong {
  display: block;
  font-size: 13.5px;
  color: var(--bh-gray-900);
  margin-bottom: 2px;
}

.dept-highlight-item p {
  margin: 0;
  font-size: 12px;
  color: var(--bh-gray-600);
  line-height: 1.4;
  text-align: justify;
  text-justify: inter-word;
}

.dept-cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Fallback detail grid & facts card */
.dept-detail-grid {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 40px;
  align-items: start;
}

.dept-image-column {
  position: relative;
}

.dept-quick-facts-card {
  background: var(--bh-white);
  border-radius: var(--bh-radius-md);
  padding: 24px;
  box-shadow: var(--bh-shadow-sm);
  border: 1px solid var(--bh-gray-200);
}

.dept-quick-facts-card h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--bh-primary);
  margin: 0 0 16px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--bh-gray-200);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dept-quick-facts-card h4 i {
  color: var(--bh-accent);
}

.dept-facts-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dept-facts-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--bh-gray-700);
}

.dept-facts-list li i {
  color: #10b981;
  font-size: 15px;
  flex-shrink: 0;
}

.dept-info-column {
  background: var(--bh-white);
  border-radius: var(--bh-radius-lg);
  padding: 36px;
  box-shadow: var(--bh-shadow-sm);
  border: 1px solid var(--bh-gray-200);
}

/* Managed Department Doctors Showcase */
.dept-doctors-section {
  margin-top: 60px;
}

.dept-doctors-header {
  text-align: center;
  margin-bottom: 36px;
}

.dept-doctors-header h3 {
  font-size: clamp(24px, 2.5vw, 30px);
  font-weight: 800;
  color: var(--bh-gray-900);
  margin: 0 0 8px 0;
}

.dept-doctors-header p {
  font-size: 15px;
  color: var(--bh-gray-600);
  margin: 0;
}

.dept-doctor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.dept-doctor-card {
  background: var(--bh-white);
  border-radius: var(--bh-radius-lg);
  overflow: hidden;
  box-shadow: var(--bh-shadow-xs);
  border: 1px solid var(--bh-gray-200);
  display: flex;
  flex-direction: column;
  transition: all var(--bh-transition);
}

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

.dept-doctor-photo {
  position: relative;
  width: 100%;
  height: 240px;
  background: var(--bh-gray-100);
  overflow: hidden;
}

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

.dept-doctor-card:hover .dept-doctor-photo img {
  transform: scale(1.05);
}

.dept-doctor-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.dept-doctor-body h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--bh-gray-900);
  margin: 0 0 4px 0;
}

.dept-doctor-body h4 a {
  color: var(--bh-gray-900);
  transition: color var(--bh-transition-fast);
}

.dept-doctor-body h4 a:hover {
  color: var(--bh-primary);
}

.dept-doctor-specialty {
  font-size: 13px;
  font-weight: 600;
  color: var(--bh-accent);
  margin-bottom: 12px;
  display: block;
}

.dept-doctor-qualifications {
  font-size: 13px;
  color: var(--bh-gray-600);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.dept-doctor-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--bh-gray-100);
  gap: 10px;
}

.dept-doctor-socials {
  display: flex;
  gap: 6px;
}

.dept-doctor-socials a {
  width: 28px;
  height: 28px;
  border-radius: var(--bh-radius-full);
  background: var(--bh-gray-100);
  color: var(--bh-gray-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all var(--bh-transition-fast);
}

.dept-doctor-socials a:hover {
  background: var(--bh-primary);
  color: var(--bh-white);
}

/* ==========================================================================
   DOCTOR DETAILS PROFILE PAGE
   ========================================================================== */
.doctor-profile-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: start;
}

.doctor-profile-sidebar {
  background: var(--bh-white);
  border-radius: var(--bh-radius-lg);
  overflow: hidden;
  box-shadow: var(--bh-shadow-md);
  border: 1px solid var(--bh-gray-200);
  padding: 24px;
  text-align: center;
}

.doctor-profile-avatar {
  width: 200px;
  height: 200px;
  border-radius: var(--bh-radius-full);
  overflow: hidden;
  margin: 0 auto 20px auto;
  box-shadow: var(--bh-shadow-sm);
  border: 4px solid var(--bh-primary-light);
}

.doctor-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-profile-sidebar h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--bh-gray-900);
  margin: 0 0 6px 0;
}

.doctor-profile-sidebar .dept-tag {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--bh-primary);
  background: var(--bh-primary-light);
  padding: 4px 14px;
  border-radius: var(--bh-radius-full);
  margin-bottom: 20px;
}

.doctor-main-content {
  background: var(--bh-white);
  border-radius: var(--bh-radius-lg);
  padding: 36px;
  box-shadow: var(--bh-shadow-sm);
  border: 1px solid var(--bh-gray-200);
}

.doctor-content-block {
  margin-bottom: 30px;
}

.doctor-content-block:last-child {
  margin-bottom: 0;
}

.doctor-content-block h4 {
  font-size: 19px;
  font-weight: 800;
  color: var(--bh-primary);
  margin: 0 0 14px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bh-gray-100);
  position: relative;
}

.doctor-content-block h4::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--bh-accent);
}

/* ==========================================================================
   CONTACT US PAGE
   ========================================================================== */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.contact-cards-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.contact-info-card {
  background: var(--bh-white);
  border-radius: var(--bh-radius-md);
  padding: 24px;
  border: 1px solid var(--bh-gray-200);
  box-shadow: var(--bh-shadow-xs);
  transition: all var(--bh-transition-fast);
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bh-shadow-md);
  border-color: var(--bh-accent);
}

.contact-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--bh-radius-md);
  background: var(--bh-primary-light);
  color: var(--bh-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.contact-card-icon.emergency {
  background: rgba(239, 68, 68, 0.12);
  color: var(--bh-emergency);
}

.contact-info-card h5 {
  margin: 0 0 6px 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--bh-gray-900);
}

.contact-info-card p {
  margin: 0;
  font-size: 14px;
  color: var(--bh-gray-600);
  line-height: 1.5;
}

.contact-form-box {
  background: var(--bh-white);
  border-radius: var(--bh-radius-lg);
  padding: 36px;
  box-shadow: var(--bh-shadow-md);
  border: 1px solid var(--bh-gray-200);
}

.contact-map-card {
  background: var(--bh-white);
  border-radius: var(--bh-radius-lg);
  overflow: hidden;
  box-shadow: var(--bh-shadow-md);
  border: 1px solid var(--bh-gray-200);
}

.contact-map-card iframe {
  width: 100% !important;
  height: 420px !important;
  border: none;
  display: block;
}

/* ==========================================================================
   HEALTH PACKAGES / PRICING
   ========================================================================== */
.packages-grid-page {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.package-card-box {
  background: var(--bh-white);
  border-radius: var(--bh-radius-lg);
  overflow: hidden;
  box-shadow: var(--bh-shadow-sm);
  border: 1px solid var(--bh-gray-200);
  display: flex;
  flex-direction: column;
  transition: all var(--bh-transition);
}

.package-card-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--bh-shadow-lg);
  border-color: var(--bh-accent);
}

.package-card-header {
  background: linear-gradient(135deg, var(--bh-primary) 0%, #1e3e62 100%);
  color: var(--bh-white);
  padding: 24px 20px;
  text-align: center;
}

.package-card-header h4 {
  color: var(--bh-white);
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 10px 0;
}

.package-card-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--bh-accent);
}

.package-card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.package-items-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  flex-grow: 1;
}

.package-items-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--bh-gray-100);
  font-size: 13.5px;
  color: var(--bh-gray-700);
  display: flex;
  align-items: center;
  gap: 8px;
}

.package-items-list li i {
  color: #10b981;
  font-size: 13px;
}

/* ==========================================================================
   INNER PAGE TYPOGRAPHY - TEXT-ALIGN JUSTIFY & STICKY ELEMENTS
   ========================================================================== */
.doctor-profile-sidebar {
  position: sticky;
  top: 110px;
}

.doctor-content-block p,
.doctor-content-block div,
.doctor-content-block li {
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.8;
}

.blog-excerpt,
.blog-content p {
  text-align: justify;
  text-justify: inter-word;
}

/* Responsive inner layouts */
@media (max-width: 1199px) {
  .dept-doctor-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .packages-grid-page {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dept-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .about-float-image,
  .dept-float-image {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 24px 0;
  }
  .about-modern-content-wrap,
  .dept-modern-content-wrap {
    padding: 28px 20px;
  }
  .about-split-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .dept-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .doctor-profile-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .doctor-profile-sidebar {
    position: static;
  }
  .contact-page-grid {
    grid-template-columns: 1fr;
  }
  .dept-doctor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-standards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .about-values-grid,
  .dept-highlights-grid {
    grid-template-columns: 1fr;
  }
  .dept-doctor-grid {
    grid-template-columns: 1fr;
  }
  .contact-cards-container {
    grid-template-columns: 1fr;
  }
  .packages-grid-page {
    grid-template-columns: 1fr;
  }
  .about-floating-badge {
    position: static;
    margin-top: 16px;
    max-width: 100%;
  }
}

/* ==========================================================================
   BANNER NOTICE MULTI-POPUP MODAL QUEUE SYSTEM
   ========================================================================== */
.notice-popup-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 25, 44, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.notice-popup-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

.notice-popup-card {
  background: #ffffff;
  border-radius: 18px;
  max-width: 580px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.notice-popup-backdrop.is-visible .notice-popup-card {
  transform: scale(1) translateY(0);
}

.notice-popup-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  color: #ffffff;
  border: none;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.notice-popup-close-btn:hover {
  background: #e63946;
  transform: rotate(90deg) scale(1.1);
}

.notice-modal-image-wrap {
  width: 100%;
  max-height: 360px;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notice-modal-img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  display: block;
}

.notice-modal-body {
  padding: 20px 24px 14px;
}

.notice-modal-title {
  font-family: var(--bh-font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #0b192c;
  line-height: 1.4;
  margin: 0;
}

.notice-popup-footer {
  padding: 14px 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.notice-counter-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: rgba(13, 148, 136, 0.12);
  color: #0f766e;
  font-weight: 700;
  font-size: 12px;
  border-radius: 20px;
  border: 1px solid rgba(13, 148, 136, 0.25);
}

.notice-footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}


