/* ===================================================================
   ANGOORI HOSPITAL - LUXURY MEDICAL DESIGN SYSTEM (2026)
   Theme: Medical Crimson Red + Warm Golden Amber + Clean Pearl White
   Perfect harmony with the official Angoori Hospital brand logo
=================================================================== */

:root {
  /* Brand Primary: Deep Medical Crimson & Royal Maroon */
  --primary: #8b1818;
  --primary-rgb: 139, 24, 24;
  --primary-dark: #6e1010;
  --primary-darker: #520b0b;
  --primary-light: #ab2525;
  --primary-gradient: linear-gradient(135deg, #8b1818 0%, #b91c1c 100%);
  --primary-subtle: #fef2f2;

  /* Brand Secondary: Warm Golden Amber & Orange (from logo text) */
  --secondary: #e67e22;
  --secondary-rgb: 230, 126, 34;
  --secondary-dark: #d35400;
  --secondary-light: #f39c12;
  --secondary-gradient: linear-gradient(135deg, #f39c12 0%, #d35400 100%);
  --secondary-subtle: #fffbeb;

  /* Gold & Accents */
  --accent-gold: #f59e0b;
  --accent-amber: #d97706;
  --accent-crimson: #dc2626;
  --accent-emerald: #10b981;
  --accent-green-rgb: 16, 185, 129;

  /* Backgrounds */
  --bg-main: #fdfbf9;
  --bg-card: #ffffff;
  --bg-warm-light: #fef8f0;
  --bg-header: #ffffff;
  --bg-navbar: #6e1010;
  --bg-footer: #420808;

  /* Typography Colors */
  --text-main: #1f2937;
  --text-dark: #111827;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --text-white: #ffffff;

  /* Borders & Shadows */
  --border-color: #f0e6dc;
  --border-light: #fbf5ef;
  --border-focus: #f39c12;
  --border-crimson: #fee2e2;

  --shadow-xs: 0 1px 3px rgba(139, 24, 24, 0.04);
  --shadow-sm: 0 4px 6px -1px rgba(139, 24, 24, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 20px -3px rgba(139, 24, 24, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 30px -5px rgba(139, 24, 24, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(139, 24, 24, 0.2);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Reset & Typography */
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  color: var(--text-main) !important;
  background-color: var(--bg-main) !important;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

a {
  text-decoration: none !important;
  transition: var(--transition-fast);
}

/* ===================================================================
   1. TOPBAR: SINGLE-LINE EXECUTIVE UTILITY BAR (Desktop)
=================================================================== */
.modern-topbar {
  background: #fbf9f6;
  border-bottom: 1px solid #ebd9cc;
  padding: 6px 0;
  font-size: 12px;
  color: #4b5563;
  position: relative;
  z-index: 1040;
}

.topbar-content-left {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.topbar-emergency-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid #fecaca;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 600;
  color: #991b1b;
  box-shadow: 0 1px 4px rgba(185, 28, 28, 0.08);
  white-space: nowrap;
}

.topbar-emergency-pill .pulsing-dot {
  width: 6px;
  height: 6px;
  background-color: #dc2626;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.4);
    opacity: 1;
  }

  100% {
    transform: scale(0.9);
    opacity: 0.8;
  }
}

.topbar-emergency-pill a {
  color: #b91c1c;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.topbar-emergency-pill a:hover {
  color: #7f1d1d;
  text-decoration: underline !important;
}

.topbar-info-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #4b5563;
  white-space: nowrap;
}

.topbar-info-item i {
  color: var(--secondary-dark);
  font-size: 13px;
}

.topbar-content-right {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.topbar-wa-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  font-weight: 700;
  font-size: 11.5px;
  padding: 3px 11px;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.topbar-wa-pill:hover {
  background: #059669;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.topbar-social-links {
  display: flex;
  align-items: center;
  gap: 5px;
}

.topbar-social-links a {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: var(--transition-fast);
}

.topbar-social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ===================================================================
   2. MAIN HEADER: SPACED, CLEAN & NEVER WRAPPING
=================================================================== */
.modern-main-header {
  background: #ffffff;
  padding: 10px 0;
  border-bottom: 1px solid #f1e9e2;
  position: relative;
  z-index: 1030;
}

.header-brand-link {
  display: inline-block;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo-image {
  height: 78px;
  width: auto;
  max-width: 450px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.header-logo-image:hover {
  transform: scale(1.02);
}

@media (max-width: 1200px) {
  .header-logo-image {
    height: 68px;
    max-width: 380px;
  }
}

.header-actions-row {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}

/* Accreditation Showcase Badge */
.header-accreditations-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fdfbf7;
  border: 1px solid #ebd9cc;
  padding: 5px 12px 6px 12px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}

.accreditation-label {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9c6c4c;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.accreditation-seals {
  display: flex;
  align-items: center;
  gap: 8px;
}

.accreditation-seal-item {
  width: 36px;
  height: 36px;
  background: #ffffff;
  border: 1px solid #f0e2d5;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: var(--transition-fast);
}

.accreditation-seal-item:hover {
  transform: translateY(-2px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-sm);
}

.accreditation-seal-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Emergency Helpline Widget in Header */
.header-emergency-widget {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fffdf9;
  border: 1.5px solid #fed7aa;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
  flex-shrink: 0;
  white-space: nowrap;
}

.header-emergency-widget:hover {
  border-color: var(--secondary);
  box-shadow: 0 4px 12px rgba(230, 126, 34, 0.15);
  transform: translateY(-2px);
}

.emergency-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  box-shadow: 0 3px 10px rgba(185, 28, 28, 0.3);
}

.emergency-text-group {
  display: flex;
  flex-direction: column;
}

.emergency-widget-subtitle {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #b91c1c;
}

.emergency-widget-phones {
  font-size: 14.5px;
  font-weight: 800;
  color: #1f2937;
  line-height: 1.2;
  white-space: nowrap;
}

.emergency-widget-phones a {
  color: #1f2937;
}

.emergency-widget-phones a:hover {
  color: var(--primary);
}

/* Appointment CTA Button in Header */
.header-appointment-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #ffffff !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  padding: 10px 18px !important;
  border-radius: var(--radius-full) !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35) !important;
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  border: 1px solid #fcd34d !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap !important;
  flex-shrink: 0;
  transition: var(--transition-bounce) !important;
}

.header-appointment-btn:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.5) !important;
  color: #ffffff !important;
}

/* ===================================================================
   3. MAIN NAVBAR: SINGLE-ROW EXECUTIVE LUXURY LOOK (NO CUTTING OFF!)
=================================================================== */
.modern-navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: linear-gradient(90deg, #600c0c 0%, #7d1313 50%, #600c0c 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 2px solid #4a0707;
  box-shadow: 0 4px 15px rgba(96, 12, 12, 0.22);
  transition: all 0.3s ease;
  width: 100%;
}

.modern-navbar-wrapper.scrolled {
  background: rgba(96, 12, 12, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

.modern-navbar {
  padding: 0 !important;
  width: 100% !important;
}

.modern-navbar .navbar-collapse {
  width: 100% !important;
}

.modern-navbar .navbar-nav {
  width: 100% !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
}

.modern-navbar .nav-item {
  flex-shrink: 0 !important;
  list-style: none !important;
}

/* CRITICAL: KILL ANY BOOTSTRAP CARET OR PSEUDO-ELEMENT DOT COMPLETELY! */
.modern-navbar .dropdown-toggle::after,
.modern-navbar .nav-link::after,
.modern-navbar .nav-link::before,
.modern-navbar .dropdown-toggle::before {
  display: none !important;
  content: none !important;
  border: none !important;
}

.modern-navbar .nav-link {
  color: rgba(255, 255, 255, 0.94) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 12px 6px !important;
  text-transform: none !important;
  /* Clean Title Case: compact & elegant */
  letter-spacing: -0.01em !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 4px;
}

.modern-navbar .nav-link:hover,
.modern-navbar .nav-item.active .nav-link {
  color: #fde68a !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-bottom: 3px solid #f59e0b !important;
}

.navbar-arrow-icon {
  font-size: 8px !important;
  opacity: 0.75;
  margin-left: 2px;
  transition: transform 0.2s ease;
}

.modern-navbar .dropdown:hover .navbar-arrow-icon {
  transform: rotate(180deg);
  opacity: 1;
}

@media (max-width: 1350px) {
  .modern-navbar .nav-link {
    font-size: 11.5px !important;
    padding: 11px 4px !important;
  }
}

@media (max-width: 1150px) {
  .modern-navbar .nav-link {
    font-size: 11px !important;
    padding: 10px 3px !important;
  }
}

/* Dropdown Menus */
.modern-navbar .dropdown-menu {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #ebd9cc;
  box-shadow: 0 12px 30px rgba(107, 16, 16, 0.16);
  padding: 6px 4px;
  min-width: 220px;
  margin-top: 1px;
  animation: dropdownFadeIn 0.2s ease-out;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modern-navbar .dropdown-item {
  color: #1f2937;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.modern-navbar .dropdown-item:hover {
  background: #fef2f2;
  color: var(--primary);
  transform: translateX(4px);
}

/* ===================================================================
   MOBILE EXCLUSIVE HEADER & APP DOCK
=================================================================== */
.mobile-header-bar {
  display: none;
}

@media (max-width: 991.98px) {

  .modern-topbar,
  .modern-main-header {
    display: none;
  }

  .mobile-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 10px 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1050;
    border-bottom: 2px solid var(--primary);
  }

  .mobile-logo-link img {
    height: 44px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
  }

  .mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .mobile-quick-call {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow: 0 3px 8px rgba(185, 28, 28, 0.4);
  }

  .modern-navbar-wrapper {
    position: static;
  }

  .modern-navbar-wrapper .navbar-collapse {
    background: #600c0c;
    padding: 16px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }

  .modern-navbar .nav-link {
    padding: 11px 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
}

/* Mobile Bottom Navigation Dock */
.mobile-bottom-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #600c0c;
  border-top: 2px solid #f59e0b;
  z-index: 9998;
  padding: 7px 10px 10px 10px;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .mobile-bottom-dock {
    display: flex;
    align-items: center;
    justify-content: space-around;
  }

  body {
    padding-bottom: 72px !important;
  }
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fca5a5;
  font-size: 10.5px;
  font-weight: 600;
  gap: 2px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.dock-item i {
  font-size: 18px;
}

.dock-item.active,
.dock-item:hover {
  color: #ffffff;
}

.dock-item-highlight {
  position: relative;
  top: -14px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff !important;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.5);
  border: 3px solid #600c0c;
}

.dock-item-highlight i {
  font-size: 20px;
}

.dock-item-highlight span {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

/* ===================================================================
   4. NEXT-GEN 2026 HERO STAGE & HEALTH-TECH HUB (THEMED WARM & PRESTIGIOUS)
=================================================================== */
.nextgen-hero-section {
  position: relative;
  background: linear-gradient(135deg, #fffcf9 0%, #fbf5ec 50%, #f6ebe0 100%);
  padding: 42px 0 45px 0;
  overflow: hidden;
  border-bottom: 1px solid #ebd9cc;
}

/* Ambient Medical Glow Backgrounds */
.hero-ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
}

.hero-ambient-glow.glow-1 {
  width: 480px;
  height: 480px;
  top: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(139, 24, 24, 0.08) 0%, transparent 70%);
}

.hero-ambient-glow.glow-2 {
  width: 520px;
  height: 520px;
  bottom: -150px;
  right: -100px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
}

/* Live Status Beacon Pill */
.hero-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 24, 24, 0.16);
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(107, 16, 16, 0.06);
  margin-bottom: 20px;
}

.pulse-beacon {
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: beaconPulse 2s infinite;
}

@keyframes beaconPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.hero-live-pill .pill-text {
  font-size: 12.5px;
  font-weight: 700;
  color: #5c0d0d;
  letter-spacing: -0.01em;
}

.hero-live-pill .pill-badge {
  background: #fef3c7;
  color: #92400e;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Hero Typography */
.hero-headline {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.14;
  color: #2b0606;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.gradient-text-hero {
  background: linear-gradient(135deg, #8b1818 0%, #b91c1c 45%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subdescription {
  font-size: 16px;
  line-height: 1.65;
  color: #4b5563;
  margin-bottom: 28px;
  max-width: 560px;
}

.hero-subdescription strong {
  color: #8b1818;
}

/* Interactive Action Buttons */
.hero-action-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 26px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.38);
  display: inline-flex;
  align-items: center;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.48);
  color: #ffffff !important;
}

.hero-btn-arrow {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.btn-hero-primary:hover .hero-btn-arrow {
  transform: translateX(4px);
}

.btn-hero-emergency {
  background: linear-gradient(135deg, #8b1818 0%, #6b1010 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 22px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 24px rgba(107, 16, 16, 0.35);
  display: inline-flex;
  align-items: center;
  position: relative;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-hero-emergency:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(107, 16, 16, 0.45);
  color: #ffffff !important;
}

.emergency-siren-dot {
  width: 8px;
  height: 8px;
  background: #f87171;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 14px;
  animation: sirenFlash 1s infinite alternate;
}

@keyframes sirenFlash {
  from { opacity: 0.3; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1.3); }
}

.btn-hero-whatsapp {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-hero-whatsapp:hover {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.45);
}

/* Social Proof Trust Strip */
.hero-trust-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid rgba(139, 24, 24, 0.1);
}

.patient-avatars-wrap {
  display: flex;
  align-items: center;
}

.avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2.5px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin-left: -10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.avatar-circle:first-child {
  margin-left: 0;
}

.avatar-circle.av-1 { background: #fee2e2; color: #b91c1c; }
.avatar-circle.av-2 { background: #fef3c7; color: #d97706; }
.avatar-circle.av-3 { background: #dbeafe; color: #2563eb; }
.avatar-circle.av-count { background: #6b1010; color: #ffffff; font-size: 11px; }

.hero-rating-box {
  display: flex;
  flex-direction: column;
}

.rating-stars {
  color: #f59e0b;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.rating-score {
  color: #1f2937;
  font-weight: 800;
  font-size: 13px;
  margin-left: 4px;
}

.rating-label {
  font-size: 12px;
  color: #6b7280;
  font-weight: 600;
}

/* Visual Stage & 3D Frame */
.hero-visual-stage {
  position: relative;
  padding: 10px;
}

.stage-frame {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(107, 16, 16, 0.28);
  border: 4px solid #ffffff;
  background: #0f172a;
  position: relative;
}

.stage-slide-item {
  position: relative;
  overflow: hidden;
}

.hero-stage-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.stage-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.75) 100%);
  display: flex;
  justify-content: flex-start;
}

.slide-caption-tag {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #6b1010;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Floating Glassmorphism Badges */
.hero-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.8);
  z-index: 10;
  pointer-events: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-floating-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 42px rgba(107, 16, 16, 0.18);
}

.hero-floating-card.card-top-left {
  top: 25px;
  left: -20px;
  animation: floatSlowA 4.5s ease-in-out infinite alternate;
}

.hero-floating-card.card-top-right {
  top: 60px;
  right: -15px;
  animation: floatSlowB 5s ease-in-out infinite alternate;
}

.hero-floating-card.card-bottom-right {
  bottom: 30px;
  left: 20px;
  animation: floatSlowA 4s ease-in-out infinite alternate;
}

@keyframes floatSlowA {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

@keyframes floatSlowB {
  0% { transform: translateY(0); }
  100% { transform: translateY(10px); }
}

.floating-icon-box {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  position: relative;
}

.floating-icon-box.gold {
  background: #fef3c7;
  color: #d97706;
}

.floating-icon-box.red {
  background: #fee2e2;
  color: #dc2626;
}

.floating-icon-box.green {
  background: #dcfce7;
  color: #16a34a;
}

.mini-pulsar {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  background: #ef4444;
  border-radius: 50%;
  animation: beaconPulse 1.5s infinite;
}

.floating-content {
  display: flex;
  flex-direction: column;
}

.floating-content .badge-title {
  font-size: 13px;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}

.floating-content .badge-sub {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  margin-top: 2px;
}

/* 4-Pillar Quick Action Hub */
.hero-action-pillars {
  margin-top: 38px;
}

.pillar-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 22px 20px;
  border: 1px solid #ebd9cc;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(107, 16, 16, 0.12);
  border-color: #f59e0b;
}

.pillar-card:hover::before {
  background: linear-gradient(90deg, #f59e0b, #b91c1c);
}

.pillar-card.card-emergency {
  border-color: rgba(239, 68, 68, 0.3);
  background: linear-gradient(180deg, #ffffff 0%, #fef2f2 100%);
}

.pillar-card.card-emergency:hover {
  border-color: #ef4444;
}

.pillar-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  background: #fef2f2;
  color: #b91c1c;
  transition: transform 0.3s ease;
}

.pillar-card:hover .pillar-icon-wrap {
  transform: scale(1.1) rotate(4deg);
}

.pillar-icon-wrap.icon-primary {
  background: #fee2e2;
  color: #8b1818;
}

.pillar-icon-wrap.icon-gold {
  background: #fef3c7;
  color: #d97706;
}

.pillar-icon-wrap.icon-teal {
  background: #ccfbf1;
  color: #0f766e;
}

.pillar-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pillar-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8b1818;
  margin-bottom: 6px;
}

.pillar-title {
  font-size: 17px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 6px;
  line-height: 1.25;
}

.pillar-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.pillar-link {
  font-size: 13px;
  font-weight: 700;
  color: #8b1818;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, gap 0.2s ease;
}

.pillar-card:hover .pillar-link {
  color: #d97706;
  gap: 10px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .nextgen-hero-section {
    padding: 24px 0 35px 0;
  }

  .hero-headline {
    font-size: 32px;
  }

  .hero-stage-img {
    height: 260px;
  }

  .hero-floating-card.card-top-left {
    top: 10px;
    left: 0;
  }

  .hero-floating-card.card-top-right {
    display: none;
  }

  .hero-floating-card.card-bottom-right {
    bottom: 10px;
    left: 10px;
  }

  .hero-floating-card {
    padding: 6px 10px;
    gap: 8px;
  }

  .floating-icon-box {
    width: 34px;
    height: 34px;
    min-width: 34px;
    font-size: 15px;
  }

  .floating-content .badge-title {
    font-size: 11.5px;
  }

  .floating-content .badge-sub {
    font-size: 9.5px;
  }
}

/* ===================================================================
   5. SECTIONS, FEATURES & PROMO CARDS (WARM THEMED)
=================================================================== */
.modern-section {
  padding: 48px 0;
  position: relative;
  overflow: hidden;
  clear: both;
}

@media (max-width: 768px) {
  .modern-section {
    padding: 32px 0;
  }
}

.modern-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 26px auto;
}

.section-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef2f2;
  color: #991b1b;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid #fecaca;
}

.modern-section-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .modern-section-title {
    font-size: 24px;
  }
}

.modern-section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* Modern Feature Cards */
.modern-feature-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  border: 1px solid #ebd9cc;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-smooth);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.modern-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
  opacity: 0;
  transition: var(--transition-fast);
}

.modern-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: #f59e0b;
}

.modern-feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: #fef2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.modern-feature-card:hover .feature-icon-wrapper {
  background: var(--primary-gradient);
  color: #ffffff;
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 8px 18px rgba(185, 28, 28, 0.3);
}

.modern-feature-card h4 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.modern-feature-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ===================================================================
   5. NEXT-GEN 2026 INFRASTRUCTURE & HEALTH CAMP BENTO SHOWCASE
=================================================================== */
.nextgen-infra-camp-section {
  padding: 48px 0;
  position: relative;
  overflow: hidden;
  clear: both;
  background: linear-gradient(180deg, #fdfbf7 0%, #f9f2e8 50%, #f4e8dc 100%);
  border-top: 1px solid #ebd9cc;
  border-bottom: 1px solid #ebd9cc;
}

@media (max-width: 768px) {
  .nextgen-infra-camp-section {
    padding: 32px 0;
  }
}

/* Left Card: Hospital Infrastructure */
.nextgen-infra-card {
  background: #ffffff;
  border-radius: 26px;
  border: 1px solid #ebd9cc;
  box-shadow: 0 16px 45px rgba(107, 16, 16, 0.07);
  padding: 34px 30px;
  height: 100%;
  transition: transform 0.3s ease;
}

.infra-card-header .infra-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  color: #8b1818;
  background: #fee2e2;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.infra-card-title {
  font-size: 26px;
  font-weight: 800;
  color: #2b0606;
  line-height: 1.25;
  margin-bottom: 10px;
}

.infra-card-lead {
  font-size: 14.5px;
  color: #555e6c;
  line-height: 1.65;
  margin-bottom: 20px;
}

.infra-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}

@media (max-width: 576px) {
  .infra-bento-grid {
    grid-template-columns: 1fr;
  }
}

.infra-bento-item {
  background: #faf7f4;
  border: 1px solid #ede3da;
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: all 0.25s ease;
}

.infra-bento-item:hover {
  background: #ffffff;
  border-color: #f59e0b;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(107, 16, 16, 0.08);
}

.bento-icon-box {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.bento-icon-box.bg-red-soft { background: #fee2e2; color: #dc2626; }
.bento-icon-box.bg-gold-soft { background: #fef3c7; color: #d97706; }
.bento-icon-box.bg-blue-soft { background: #e0e7ff; color: #4338ca; }
.bento-icon-box.bg-green-soft { background: #dcfce7; color: #16a34a; }

.bento-text h5 {
  font-size: 13.5px;
  font-weight: 800;
  color: #1f2937;
  margin: 0 0 2px 0;
  line-height: 1.2;
}

.bento-text p {
  font-size: 11.5px;
  color: #6b7280;
  line-height: 1.4;
  margin: 0;
}

.infra-visual-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  border: 3px solid #ffffff;
}

.infra-building-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.infra-visual-wrap:hover .infra-building-img {
  transform: scale(1.03);
}

.infra-float-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 14px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.9);
  z-index: 5;
}

.infra-float-badge.float-badge-left {
  bottom: 14px;
  left: 14px;
}

.infra-float-badge.float-badge-right {
  bottom: 14px;
  right: 14px;
}

.float-badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fef3c7;
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.float-badge-icon.icon-green {
  background: #dcfce7;
  color: #16a34a;
}

.float-title {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #111827;
  line-height: 1.1;
}

.float-sub {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: #6b7280;
}

/* Right Card: Special Health Camp & Welfare */
.nextgen-camp-card {
  background: linear-gradient(145deg, #741010 0%, #4a0707 100%);
  border-radius: 26px;
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 20px 50px rgba(107, 16, 16, 0.25);
  padding: 34px 30px;
  color: #ffffff;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.camp-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.camp-pulsar {
  width: 8px;
  height: 8px;
  background: #f59e0b;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: beaconPulse 1.8s infinite;
}

.camp-discount-pill {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.4);
}

.camp-card-title {
  font-size: 25px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 14px 0 8px 0;
}

.camp-card-sub {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 18px;
}

.camp-showcase-frame {
  background: #ffffff;
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
  margin-bottom: 18px;
  position: relative;
}

.camp-showcase-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b1010;
  padding: 4px 6px 8px 6px;
  border-bottom: 1px solid #f1f1f1;
  margin-bottom: 8px;
}

.camp-img-link {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
}

.camp-flyer-img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

.camp-img-link:hover .camp-flyer-img {
  transform: scale(1.02);
}

.camp-hover-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(107, 16, 16, 0.92);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.camp-perks-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.camp-perk-item {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.btn-camp-action {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 14.5px;
  padding: 14px 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
  transition: all 0.25s ease;
  text-decoration: none;
  width: 100%;
}

.btn-camp-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.6);
  color: #ffffff !important;
}

@media (max-width: 991.98px) {
  .nextgen-infra-card,
  .nextgen-camp-card {
    padding: 24px 20px;
  }

  .infra-card-title,
  .camp-card-title {
    font-size: 22px;
  }

  .infra-float-badge {
    padding: 6px 10px;
    font-size: 11px;
  }

  .float-badge-icon {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .camp-flyer-img {
    height: 210px;
  }
}

/* ===================================================================
   6. DEPARTMENTS & DOCTORS
=================================================================== */
.modern-dept-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid #ebd9cc;
  transition: var(--transition-smooth);
  margin-bottom: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.modern-dept-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: #f59e0b;
}

.dept-img-wrap {
  position: relative;
  height: 185px;
  overflow: hidden;
}

.dept-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.modern-dept-card:hover .dept-img-wrap img {
  transform: scale(1.08);
}

.dept-overlay-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(96, 12, 12, 0.85);
  color: #fde68a;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.dept-body {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.dept-title {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.dept-link-btn {
  color: var(--secondary-dark);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
}

.dept-link-btn:hover {
  color: var(--primary);
  transform: translateX(4px);
}

/* Doctor Cards */
.modern-doctor-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid #ebd9cc;
  transition: var(--transition-smooth);
  margin-bottom: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ===================================================================
   EXECUTIVE DOCTOR CARDS (2026 TOP-TIER HEALTHCARE DIRECTORY)
=================================================================== */
.executive-doctor-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px solid #ebd9cc;
  box-shadow: 0 10px 30px rgba(107, 16, 16, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.executive-doctor-card:hover {
  transform: translateY(-8px);
  border-color: #f59e0b;
  box-shadow: 0 22px 48px rgba(107, 16, 16, 0.16);
}

/* Banner strip at top of card */
.doc-card-banner {
  height: 70px;
  background: linear-gradient(135deg, #6b1010 0%, #8b1818 60%, #a31818 100%);
  padding: 10px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  border-bottom: 2px solid #f59e0b;
}

.doc-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.doc-experience-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(245, 158, 11, 0.2);
  color: #fef3c7;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

/* Avatar container overlapping top banner */
.doc-avatar-container {
  display: flex;
  justify-content: center;
  margin-top: -48px;
  position: relative;
  z-index: 2;
}

.doc-avatar-ring {
  width: 98px;
  height: 98px;
  border-radius: 50%;
  padding: 3px;
  background: #ffffff;
  border: 2.5px solid #f59e0b;
  box-shadow: 0 8px 24px rgba(107, 16, 16, 0.2);
  position: relative;
  transition: transform 0.35s ease;
}

.executive-doctor-card:hover .doc-avatar-ring {
  transform: scale(1.06);
  border-color: #d97706;
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.35);
}

.doc-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  background: #faf5f0;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

.doc-verified-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 25px;
  height: 25px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

/* Doctor card body */
.doc-card-body {
  padding: 14px 18px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  text-align: center;
}

.doc-main-info {
  margin-bottom: 12px;
}

.doc-title {
  font-size: 15px;
  font-weight: 800;
  color: #6b1010;
  margin-bottom: 6px;
  line-height: 1.35;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.doc-qualification-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.doc-expertise-snippet {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  min-height: 52px;
  max-height: 52px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-align: center;
}

/* Consult button */
.doc-action-wrap {
  margin-top: auto;
}

.doc-consult-btn {
  background: linear-gradient(135deg, #6b1010 0%, #8b1818 100%);
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(107, 16, 16, 0.25);
  border: 1px solid transparent;
}

.doc-consult-btn .btn-arrow {
  transition: transform 0.2s ease;
  opacity: 0.85;
}

.doc-consult-btn:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
  transform: translateY(-2px);
}

.doc-consult-btn:hover .btn-arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* ===================================================================
   7. APPOINTMENT BOOKING SECTION (THEMED WARM ROYAL CRIMSON)
=================================================================== */
.modern-appointment-section {
  background: linear-gradient(135deg, #4f0a0a 0%, #691111 50%, #4a0707 100%);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
  clear: both;
}

@media (max-width: 768px) {
  .modern-appointment-section {
    padding: 34px 0;
  }
}

.appointment-content-side {
  color: #ffffff;
  padding-right: 25px;
}

@media (max-width: 991.98px) {
  .appointment-content-side {
    padding-right: 0;
    margin-bottom: 35px;
  }
}

.appointment-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.2);
  color: #fde68a;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.appointment-heading {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .appointment-heading {
    font-size: 24px;
  }
}

.appointment-lead {
  font-size: 15px;
  color: #fecaca;
  line-height: 1.65;
  margin-bottom: 26px;
}

.emergency-call-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.emergency-call-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 22px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.emergency-call-details .tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fed7aa;
  letter-spacing: 0.06em;
}

.emergency-call-details .number {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 2px 0 0 0;
}

.appointment-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.appointment-benefits-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #fee2e2;
  margin-bottom: 10px;
}

.appointment-benefits-list li i {
  color: #f59e0b;
}

/* Appointment Form Card */
.modern-form-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid #ffffff;
}

@media (max-width: 768px) {
  .modern-form-card {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }
}

.form-card-title {
  font-size: 23px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.form-card-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.modern-form-group {
  margin-bottom: 16px;
}

.modern-form-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
  display: block;
}

.modern-form-control {
  width: 100%;
  height: 46px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #e5e7eb;
  padding: 8px 14px;
  font-size: 13.5px;
  color: var(--text-main);
  background-color: #fcfbf9;
  transition: var(--transition-fast);
  outline: none;
}

.modern-form-control:focus {
  border-color: #f59e0b;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

textarea.modern-form-control {
  height: auto;
  min-height: 90px;
}

.form-submit-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border: none;
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
  transition: var(--transition-bounce);
  cursor: pointer;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.6);
}

/* ===================================================================
   8. REVIEWS & PATIENT TESTIMONIALS (EQUAL HEIGHT & CLEAN CARDS)
=================================================================== */
.modern-reviews-section {
  background: #fdfbf7;
  position: relative;
}

/* Ensure Owl Carousel items stretch to equal height */
.review-slider .owl-stage-outer,
.review-slider .owl-wrapper-outer {
  overflow: hidden;
  padding: 12px 0 25px 0;
}

.review-slider .owl-stage,
.review-slider .owl-wrapper {
  display: flex !important;
  flex-direction: row !important;
}

.review-slider .owl-item {
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
}

.review-slider .item {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  flex: 1 1 auto !important;
  padding: 0 4px;
}

.modern-review-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 26px 24px;
  box-shadow: 0 8px 24px rgba(107, 16, 16, 0.05);
  border: 1.5px solid #ebd9cc;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  width: 100% !important;
  height: 100% !important;
  flex: 1 1 auto !important;
  min-height: 290px;
  transition: all 0.3s ease;
  position: relative;
  box-sizing: border-box;
}

.modern-review-card:hover {
  transform: translateY(-5px);
  border-color: #f59e0b;
  box-shadow: 0 16px 36px rgba(107, 16, 16, 0.12);
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.review-stars-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-stars {
  color: #f59e0b;
  font-size: 13.5px;
  display: flex;
  gap: 3px;
  margin: 0;
}

.review-rating-pill {
  background: #fef3c7;
  color: #92400e;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}

.review-quote-icon {
  width: 32px;
  height: 32px;
  background: #fdf2f2;
  color: #8b1818;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  opacity: 0.85;
}

.review-content-wrap {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.review-quote-text {
  font-size: 13.5px;
  color: #374151;
  line-height: 1.65;
  font-style: italic;
  margin: 0;
  flex-grow: 1;
}

.review-author-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f1e4d8;
  padding-top: 14px;
  margin-top: auto;
  width: 100%;
}

.review-author-avatar-box {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  max-width: 46px;
  max-height: 46px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  border: 2px solid #f59e0b;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.22);
  background: linear-gradient(135deg, #6b1010 0%, #8b1818 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-author-avatar {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 50% !important;
}

.review-author-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #6b1010 0%, #8b1818 100%);
  color: #fef3c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}

.review-author-details {
  flex: 1;
  min-width: 0;
}

.review-author-name {
  font-size: 14px;
  font-weight: 800;
  color: #6b1010;
  margin: 0 0 2px 0;
  text-transform: capitalize;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-author-sub {
  font-size: 11px;
  color: #059669;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
}

/* Gallery Marquee */
.modern-gallery-ticker {
  overflow: hidden;
  width: 100%;
  padding: 16px 0;
}

.gallery-track-modern {
  display: flex;
  width: max-content;
  animation: modernGalleryScroll 45s linear infinite;
  gap: 16px;
}

.gallery-track-modern:hover {
  animation-play-state: paused;
}

@keyframes modernGalleryScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.modern-gallery-card {
  width: 270px;
  height: 190px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid #ffffff;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.modern-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.modern-gallery-card:hover img {
  transform: scale(1.08);
}

/* Video Cards */
.modern-video-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid #ebd9cc;
  margin-bottom: 22px;
  transition: var(--transition-fast);
}

.modern-video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.video-responsive-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}

.video-responsive-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card-title {
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Blog Cards */
.modern-blog-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid #ebd9cc;
  transition: var(--transition-smooth);
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  height: calc(100% - 26px);
}

.modern-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #f59e0b;
}

.blog-img-box {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.blog-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.modern-blog-card:hover .blog-img-box img {
  transform: scale(1.08);
}

.blog-card-content {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.blog-meta-badge {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--secondary-dark);
  margin-bottom: 6px;
}

.blog-headline {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
  line-height: 1.35;
}

.blog-snippet {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
}

.blog-read-btn {
  color: var(--secondary-dark);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.blog-read-btn:hover {
  color: var(--primary);
  transform: translateX(4px);
}

/* ===================================================================
   9. MODERN FOOTER
=================================================================== */
.modern-footer {
  background: linear-gradient(180deg, #4a0707 0%, #300404 100%);
  color: #fecaca;
  padding: 65px 0 0 0;
  position: relative;
  border-top: 3px solid #f59e0b;
}

.footer-widget-title {
  font-size: 17.5px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: #f59e0b;
  border-radius: 2px;
}

.footer-about-text {
  font-size: 13.5px;
  color: #fca5a5;
  line-height: 1.7;
  margin-bottom: 18px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13.5px;
  color: #fee2e2;
}

.footer-contact-item i {
  color: #f59e0b;
  font-size: 15px;
  margin-top: 3px;
}

.footer-contact-item a {
  color: #fee2e2;
}

.footer-contact-item a:hover {
  color: #ffffff;
}

.footer-menu-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu-links li {
  margin-bottom: 10px;
}

.footer-menu-links a {
  color: #fca5a5;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.footer-menu-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-menu-links a::before {
  content: '▸';
  color: #f59e0b;
  font-size: 12px;
}

.visitor-tracking-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  margin-top: 18px;
}

.visitor-tracking-card .badge-head {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fed7aa;
  margin-bottom: 4px;
}

.visitor-tracking-card .visitor-count {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.05em;
  font-family: 'Outfit', sans-serif;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  margin-top: 45px;
  font-size: 13px;
  color: #fca5a5;
}

/* Floating Actions */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 1045;
  transition: var(--transition-bounce);
  animation: floatWhatsApp 3s ease-in-out infinite;
}

@keyframes floatWhatsApp {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }

  100% {
    transform: translateY(0);
  }
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1) rotate(6deg) !important;
  color: #ffffff !important;
}

.modern-back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: var(--shadow-md);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.modern-back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.modern-back-to-top:hover {
  background: #f59e0b;
  transform: translateY(-3px);
}

/* ===================================================================
   CONTACT PAGE ACTION BUTTONS (NO VERTICAL CLIPPING)
=================================================================== */
.contact-action-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: auto !important;
  min-height: 54px !important;
  line-height: 1.4 !important;
  padding: 13px 20px !important;
  border-radius: 14px !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  outline: none !important;
}

.btn-ambulance {
  background: linear-gradient(135deg, #b91c1c 0%, #8b1818 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 6px 18px rgba(185, 28, 28, 0.32) !important;
  gap: 14px !important;
  text-align: left !important;
}

.btn-ambulance:hover {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(185, 28, 28, 0.45) !important;
}

.btn-ambulance .btn-icon-pulse {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fef08a;
  flex-shrink: 0;
}

.btn-ambulance .btn-text-content {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.btn-ambulance .btn-subtext {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fecaca;
}

.btn-ambulance .btn-maintext {
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #ffffff;
}

.btn-submit-inquiry {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #ffffff !important;
  border: none !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.38) !important;
  gap: 10px !important;
}

.btn-submit-inquiry:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #b45309 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.5) !important;
}

.btn-submit-inquiry .btn-arrow {
  transition: transform 0.25s ease;
}

.btn-submit-inquiry:hover .btn-arrow {
  transform: translateX(4px);
}

/* ===================================================================
   CASHLESS HEALTH & SWASTHYA INSURANCE BANNER STRIP
=================================================================== */
.cashless-ribbon-section {
  padding: 0 0 25px 0;
  margin-top: -20px;
  position: relative;
  z-index: 10;
  clear: both;
}

.cashless-ribbon-card {
  background: linear-gradient(135deg, #4a0707 0%, #6b1010 40%, #871515 80%, #520808 100%);
  border: 2px solid #f59e0b;
  border-radius: 22px;
  padding: 24px 30px 18px;
  box-shadow: 0 16px 45px rgba(107, 16, 16, 0.28), 0 0 30px rgba(245, 158, 11, 0.16);
  position: relative;
  overflow: hidden;
}

.ribbon-glow-left {
  position: absolute;
  top: -50px;
  left: -50px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.ribbon-glow-right {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cashless-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.38);
  border: 1.5px solid rgba(245, 158, 11, 0.6);
  padding: 4px 14px;
  border-radius: 30px;
  color: #ffffff;
  font-size: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.cashless-beacon {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: beaconPulse 1.8s infinite;
  flex-shrink: 0;
}

.cashless-live-pill .pill-bold {
  font-weight: 800;
  color: #fef08a;
  letter-spacing: 0.03em;
}

.cashless-live-pill .pill-divider {
  color: rgba(255, 255, 255, 0.4);
}

.cashless-live-pill .pill-free-badge {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 11px;
  padding: 2px 9px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
}

.cashless-center-header {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.cashless-headline-center {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 6px;
  margin-bottom: 10px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.cashless-headline-center .highlight-gold {
  color: #fcd34d;
  text-shadow: 0 2px 12px rgba(245, 158, 11, 0.6);
  font-weight: 900;
}

.cashless-subline-center {
  font-size: 14.5px;
  color: #f1f5f9;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 14px auto;
}

.cashless-headline-hi {
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.cashless-headline-hi .highlight-gold {
  color: #fcd34d;
  text-shadow: 0 2px 10px rgba(245, 158, 11, 0.5);
  font-weight: 900;
}

.cashless-subline-en {
  font-size: 13.5px;
  color: #f1f5f9;
  line-height: 1.55;
  margin-bottom: 12px;
}

.cashless-perks-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.cashless-perks-wrap .perk-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
}

.cashless-actions-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.cashless-action-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.tpa-desk-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.tpa-desk-info .desk-label {
  font-size: 12px;
  color: #fef08a;
  font-weight: 700;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
}

.tpa-desk-call-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 800;
  padding: 11px 24px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tpa-desk-call-btn:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #b45309 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.6);
}

.tpa-view-all-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(245, 158, 11, 0.5);
  color: #fde68a !important;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.tpa-view-all-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff !important;
  border-color: #fbbf24;
  transform: translateY(-2px);
}

.tpa-view-all-link {
  color: #fde68a !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.tpa-view-all-link:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

/* Full-Width Ticker & Large Dynamic Cards */
.cashless-ticker-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(245, 158, 11, 0.28);
  overflow: hidden;
  position: relative;
}

.cashless-ticker-wrapper.full-width-ticker {
  display: block;
  width: 100%;
}

.ticker-header-bar {
  margin-bottom: 12px;
}

.ticker-header-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  color: #fde68a;
  letter-spacing: 0.8px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
}

.ticker-header-label {
  font-size: 11px;
  font-weight: 800;
  color: #fde68a;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.tpa-marquee-track,
.tpa-marquee-track-large {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 2.5%, black 97.5%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 2.5%, black 97.5%, transparent);
}

.tpa-marquee-content {
  display: flex;
  align-items: center;
  gap: 10px;
  animation: tpaScroll 32s linear infinite;
  flex-shrink: 0;
}

.tpa-marquee-content-large {
  display: flex;
  align-items: center;
  gap: 14px;
  animation: tpaScroll 45s linear infinite;
  flex-shrink: 0;
  padding: 6px 0;
}

.tpa-marquee-track:hover .tpa-marquee-content,
.tpa-marquee-track-large:hover .tpa-marquee-content-large {
  animation-play-state: paused;
}

@keyframes tpaScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.tpa-badge {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  color: #1e293b;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  border: 1px solid #ebd9cc;
  white-space: nowrap;
}

.tpa-badge.pmjay-badge {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #78350f;
  border-color: #f59e0b;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* Large Dynamic Cards for Empaneled TPAs */
.tpa-large-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  color: #1e293b;
  padding: 10px 24px;
  min-height: 64px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  white-space: nowrap;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.tpa-large-card.tpa-card-clickable {
  cursor: pointer;
}

.tpa-large-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.38);
  border-color: #f59e0b;
  background: #fffdf9;
}

.tpa-large-logo {
  height: 48px;
  max-height: 50px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}

.tpa-large-icon {
  font-size: 24px;
  color: #b45309;
}

.tpa-large-title {
  font-size: 15.5px;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.01em;
}

.tpa-link-icon {
  font-size: 11px;
  color: #94a3b8;
  margin-left: 2px;
  transition: color 0.2s ease;
}

.tpa-large-card:hover .tpa-link-icon {
  color: #d97706;
}

.tpa-large-card.pmjay-badge {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #f59e0b;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.tpa-large-card.pmjay-badge .tpa-large-title {
  color: #78350f;
  font-weight: 900;
}

/* ===================================================================
   MOBILE ZERO-OVERLAP & CLEAN COMPACT SPACING GUARANTEE
=================================================================== */
@media (max-width: 991.98px) {
  .modern-section,
  .nextgen-hero-section,
  .cashless-ribbon-section,
  .nextgen-infra-camp-section,
  .modern-appointment-section {
    clear: both !important;
    position: relative !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .cashless-ribbon-section {
    padding: 15px 0 !important;
    margin-top: 0 !important;
  }

  .cashless-ribbon-card {
    padding: 18px 16px 14px !important;
    border-radius: 16px !important;
  }

  .cashless-headline-center {
    font-size: 18px !important;
    line-height: 1.4 !important;
  }

  .cashless-subline-center {
    font-size: 12.5px !important;
  }

  .cashless-headline-hi {
    font-size: 17px !important;
  }

  .cashless-subline-en {
    font-size: 12.5px !important;
  }

  .cashless-actions-center {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .tpa-view-all-btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center;
    font-size: 13.5px !important;
    padding: 10px 16px !important;
  }

  .cashless-action-box {
    align-items: flex-start !important;
    margin-top: 10px;
  }

  .tpa-desk-info {
    align-items: flex-start !important;
    width: 100%;
  }

  .tpa-desk-call-btn {
    width: 100%;
    justify-content: center;
    font-size: 13.5px !important;
    padding: 10px 16px !important;
  }

  .tpa-large-card {
    padding: 8px 16px !important;
    min-height: 52px !important;
    gap: 10px !important;
  }

  .tpa-large-title {
    font-size: 13.5px !important;
  }

  .tpa-large-logo {
    height: 38px !important;
    max-height: 40px !important;
    max-width: 100px !important;
  }

  .cashless-ticker-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .modern-section-header {
    margin: 0 auto 18px auto !important;
  }

  .modern-section-title {
    font-size: 22px !important;
    margin-bottom: 6px !important;
  }

  .modern-section-subtitle {
    font-size: 13px !important;
  }

  /* Prevent cards from overlapping each other */
  .modern-feature-card,
  .modern-dept-card,
  .modern-doctor-card,
  .executive-doctor-card,
  .nextgen-infra-card,
  .nextgen-camp-card {
    margin-bottom: 16px !important;
    position: relative !important;
    clear: both;
  }

  /* Keep images within bounds on mobile */
  .doctor-img-wrap {
    height: 220px !important;
  }

  .dept-img-wrap {
    height: 160px !important;
  }
}