/* ============================================================
   RHYTHM SURGICAL HOSPITAL — Official Premium Stylesheet
   Design Language: International Private Healthcare & Specialist Surgical Clinic
   Palette:
     - Primary Brand Blue:    #1463DF (Luminous Royal Blue)
     - Rich Sapphire Blue:    #0B3F86 (Rich Authority Blue)
     - Deep Foundation Navy:  #08244D (Topbar & Footer Foundation)
     - Bright Azure Accent:   #2B87F7 (Vibrant Accent & Glow)
     - Soft Clinical Blue:    #E8F2FE (Soft Surface & Pill Background)
     - Pure White:            #FFFFFF
     - Champagne Gold:        #C5A15B (Luxury Medical Accent)
     - Dark Text:             #122238 (High-Contrast Editorial Typography)
     - Body Text:             #4A586E
     - Border Subtlety:       #E2E8F0
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS & CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand Palette — Vibrant International Medical Blue */
  --c-navy:          #0B3F86;         /* Rich Vibrant Blue (Main Brand Authority) */
  --c-navy-dark:     #08244D;         /* Deep Foundation Navy (Topbar & Footer) */
  --c-navy-deep:     #051834;         /* Deepest Foundation Layer */
  --c-royal:         #1463DF;         /* Primary Bright Royal Blue (Vibrant & Trustworthy) */
  --c-royal-hover:   #0E52BE;         /* Royal Blue Hover */
  --c-royal-dark:    #0B4192;         /* Deep Royal Blue */
  --c-accent-blue:   #2B87F7;         /* Bright Azure Accent */
  --c-accent-light:  #5BA4FC;         /* Luminous Azure Highlight */
  --c-accent-glow:   rgba(43, 135, 247, 0.35); /* Optical Ambient Glow */
  --c-soft-blue:     #E8F2FE;         /* Soft Blue Background / Pill Tint */
  --c-soft-blue-subtle: #F2F8FF;      /* Ultra Soft Card Tint */
  --c-gold:          #C5A15B;         /* Champagne Gold */
  --c-gold-dark:     #AD8944;
  --c-gold-light:    #DFBF7C;
  --c-gold-soft:     rgba(197, 161, 91, 0.15);
  --c-gold-glow:     rgba(197, 161, 91, 0.32);
  --c-bg:            #FFFFFF;         /* Pure White */
  --c-bg-soft:       #F7FAFD;
  --c-bg-subtle:     #E8F2FE;
  --c-text:          #4A586E;
  --c-text-dark:     #122238;         /* Dark Text for Crisp Contrast */
  --c-text-muted:    #67778E;
  --c-border:        #E2E8F0;
  --c-border-hover:  #CBD5E1;
  --c-whatsapp:      #25D366;
  --c-whatsapp-dark: #1EAA52;

  /* Typography: Luxury Editorial */
  --font-serif:      'DM Serif Display', 'Playfair Display', Georgia, serif;
  --font-sans:       'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Premium 3D Layered Shadows */
  --shadow-xs:       0 1px 2px rgba(11, 63, 134, 0.04);
  --shadow-sm:       0 2px 6px -1px rgba(11, 63, 134, 0.06), 0 1px 4px -1px rgba(11, 63, 134, 0.04);
  --shadow-md:       0 6px 18px -2px rgba(11, 63, 134, 0.09), 0 2px 6px -1px rgba(11, 63, 134, 0.04);
  --shadow-lg:       0 14px 34px -4px rgba(11, 63, 134, 0.14), 0 4px 12px -2px rgba(11, 63, 134, 0.06);
  --shadow-xl:       0 24px 54px -6px rgba(11, 63, 134, 0.20), 0 8px 20px -3px rgba(11, 63, 134, 0.08);
  --shadow-3d:       0 22px 50px -8px rgba(11, 63, 134, 0.30), 0 8px 18px -4px rgba(43, 135, 247, 0.20);
  --shadow-card:     0 4px 16px -1px rgba(11, 63, 134, 0.06), 0 1px 3px rgba(11, 63, 134, 0.03);
  --shadow-card-hover: 0 16px 36px -4px rgba(11, 63, 134, 0.14), 0 6px 14px -2px rgba(43, 135, 247, 0.18);

  /* Radius */
  --radius-sm:       6px;
  --radius-md:       10px;
  --radius-lg:       16px;
  --radius-xl:       24px;
  --radius-pill:     999px;

  /* Transitions */
  --transition:      0.24s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-med:  0.38s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-w:           1220px;
  --nav-h:           76px;
}

/* ============================================================
   2. RESET & BASE ELEMENTS
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 38px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.68;
  color: var(--c-text);
  background-color: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--c-royal);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--c-accent-blue);
}

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

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

ul {
  list-style: none;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--c-navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 10px;
}

/* Focus Visible */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--c-accent-blue);
  outline-offset: 3px;
}

/* Layout Container */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ============================================================
   3. TYPOGRAPHY SYSTEM
   ============================================================ */
h1, h2, h3, h4 {
  color: var(--c-text-dark);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-gold);
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

h3 {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

h4 {
  font-size: 16px;
  font-weight: 600;
}

p {
  color: var(--c-text);
  margin-bottom: 0;
}

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

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-royal);
  background: var(--c-soft-blue);
  border: 1px solid rgba(59, 130, 208, 0.2);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  box-shadow: 0 1px 3px rgba(37, 99, 184, 0.06);
}

.section-title {
  margin-bottom: 12px;
}

.section-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text-muted);
}

.ctr {
  text-align: center;
}

/* ============================================================
   4. BUTTONS & UI ACTIONS (REFINED 3D HOVER STATES)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13px;
}

/* Primary Button with Vivid Bright Royal Blue & 3D Layered Depth */
.btn-p {
  background: linear-gradient(145deg, #186DF0 0%, #1153BC 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 4px 16px rgba(20, 99, 223, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-p:hover {
  background: linear-gradient(145deg, #2D89FB 0%, #1666E6 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow:
    0 8px 26px rgba(20, 99, 223, 0.45),
    0 0 20px rgba(43, 135, 247, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.50);
}

/* Main CTA Button: Refined Gold with Brilliant Blue Hover Sheen */
.btn-gold {
  background: linear-gradient(135deg, #DFBF7C 0%, #C5A15B 50%, #B08C46 100%);
  color: #08244D;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.40);
  box-shadow:
    0 4px 16px rgba(197, 161, 91, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #E6CA8E 0%, #CFA963 50%, #A5803A 100%);
  color: #08244D;
  transform: translateY(-2px);
  box-shadow:
    0 8px 28px rgba(197, 161, 91, 0.50),
    0 0 20px rgba(223, 191, 124, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.btn-gold:hover::before {
  opacity: 1;
}

/* Hero Ghost Call Button */
.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(11, 63, 134, 0.25);
}

.btn-ghost:hover {
  background: rgba(43, 135, 247, 0.28);
  border-color: var(--c-accent-blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(11, 63, 134, 0.35),
    0 0 16px rgba(43, 135, 247, 0.30);
}

.btn-outline {
  background-color: transparent;
  color: var(--c-navy);
  border-color: var(--c-border);
}

.btn-outline:hover {
  border-color: var(--c-accent-blue);
  color: var(--c-royal);
  background-color: var(--c-soft-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-wa {
  background-color: var(--c-whatsapp);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.btn-wa:hover {
  background-color: var(--c-whatsapp-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-arrow {
  display: inline-block;
  transition: transform var(--transition);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ============================================================
   5. TOP ANNOUNCEMENT BAR
   ============================================================ */
.topbar {
  background-color: var(--c-navy-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-info a {
  color: #fff;
  font-weight: 600;
  transition: color var(--transition);
}

.topbar-info a:hover {
  color: var(--c-accent-blue);
}

.topbar-sep {
  opacity: 0.3;
}

.topbar-link {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
}

.topbar-link:hover {
  color: var(--c-accent-blue);
}

/* Mobile topbar icon bar — hidden on desktop */
.topbar-mobile {
  display: none;
}

@media (max-width: 820px) {
  .topbar-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: 40px;
    border-top: 1px solid rgba(255,255,255,0.08);
    background-color: rgba(255,255,255,0.04);
  }
  .topbar-mobile-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 20px;
    color: rgba(255,255,255,0.90);
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition);
    height: 100%;
  }
  .topbar-mobile-btn:hover {
    color: #fff;
  }
  .topbar-mobile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    flex-shrink: 0;
    color: rgba(255,255,255,0.95);
    transition: background var(--transition), border-color var(--transition);
  }
  .topbar-mobile-btn:hover .topbar-mobile-icon {
    background: rgba(43,135,247,0.28);
    border-color: rgba(43,135,247,0.55);
  }
  .topbar-mobile-sep {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
  }
}

/* ============================================================
   6. MAIN NAVIGATION BAR
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 800;
  height: var(--nav-h);
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-border);
  transition: all var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
  height: 70px;
}

.navin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.brand img {
  height: 50px;
  width: 50px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #fff;
}

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

.brand-name {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.2;
  color: var(--c-navy);
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-size: 11px;
  font-weight: 600;
  color: var(--c-royal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}

#menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-dark);
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--c-royal);
  background-color: var(--c-soft-blue);
}

/* Active Nav Indicator with Soft Blue Pill & Royal Blue Text */
.nav-link.act {
  color: var(--c-royal);
  background-color: var(--c-soft-blue);
  font-weight: 700;
  box-shadow: inset 0 0 0 1.5px rgba(20, 99, 223, 0.28);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 12px;
  padding-left: 14px;
  border-left: 1px solid var(--c-border);
}

/* Language Segmented Control */
.lang {
  display: inline-flex;
  align-items: center;
  background-color: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  padding: 2px;
  gap: 2px;
}

.lang-btn {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  color: var(--c-text-dark);
  transition: all var(--transition);
}

.lang-btn.on {
  background-color: var(--c-navy);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-xs);
}

.lang-sep {
  display: none;
}

/* Header Book Appointment Pill Button — Vivid Sapphire Gradient */
.btn-nav-appt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  background: linear-gradient(145deg, #186DF0 0%, #1153BC 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(20, 99, 223, 0.32);
  white-space: nowrap;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-nav-appt:hover {
  background: linear-gradient(145deg, #2D89FB 0%, #1463DF 100%);
  color: #fff;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 20px rgba(20, 99, 223, 0.45);
}

/* Mobile Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
}

.bar {
  width: 22px;
  height: 2px;
  background-color: var(--c-navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.burger.open .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open .bar:nth-child(2) {
  opacity: 0;
}

.burger.open .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   7. HERO SECTION (EDITORIAL NAVY & ROYAL BLUE WITH 3D DEPTH)
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 84% 38%, rgba(67, 160, 255, 0.42) 0%, transparent 52%),
    radial-gradient(circle at 16% 24%, rgba(43, 135, 247, 0.32) 0%, transparent 48%),
    radial-gradient(circle at 50% 90%, rgba(20, 99, 223, 0.28) 0%, transparent 55%),
    linear-gradient(135deg, #093777 0%, #0C489C 32%, #115EC9 68%, #1875EB 100%);
  color: #fff;
  padding: 72px 0 94px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

/* Subtle architectural linear grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  opacity: 0.65;
  z-index: 1;
}

/* Decorative Vectors: Watermark & Bottom Gold Wave */
.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hero-watermark {
  position: absolute;
  right: 36%;
  top: 45%;
  transform: translateY(-50%);
  width: 480px;
  height: 400px;
  color: #9ECBFF;
  opacity: 0.09;
  pointer-events: none;
}

.hero-wave {
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 125px;
  pointer-events: none;
}

.heroin {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 2px 12px rgba(16, 43, 80, 0.25);
  padding: 6px 15px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 22px;
  letter-spacing: 0.01em;
}

.eyebrow-bullet {
  width: 8px;
  height: 8px;
  background-color: var(--c-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(197, 161, 91, 0.8);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: #fff;
  margin-bottom: 20px;
}

.hero-title-accent {
  font-style: italic;
  font-weight: 800;
  color: var(--c-navy-dark);
}

.hero-lead {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.68;
  color: #EAF2FC;
  opacity: 0.92;
  max-width: 540px;
  margin-bottom: 30px;
}

/* 3-Card Stat Grid Matching Reference Design */
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 580px;
  margin-bottom: 32px;
}

.highlight-stat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-top-color: rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-lg);
  padding: 13px 15px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 6px 20px rgba(9, 55, 119, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.highlight-stat-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(197, 161, 91, 0.60);
  box-shadow:
    0 10px 28px rgba(9, 55, 119, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.stat-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(197, 161, 91, 0.18);
  color: var(--c-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-stat-card:nth-child(2) .stat-icon-wrap {
  background: rgba(43, 135, 247, 0.25);
  color: #82BCFD;
}

.highlight-stat-card:nth-child(3) .stat-icon-wrap {
  background: rgba(20, 99, 223, 0.35);
  color: #DFBF7C;
}

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

.stat-number {
  display: block;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 11.5px;
  color: #D2E4F9;
  font-weight: 500;
  line-height: 1.25;
  margin-top: 2px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

/* Primary CTA Button: Champagne Gold Pill with Refined Hover */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--c-navy);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 6px 20px rgba(255, 255, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-hero-primary:hover {
  background: #f0f5ff;
  color: var(--c-navy);
  transform: translateY(-2px);
  box-shadow:
    0 10px 28px rgba(255, 255, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Secondary CTA Button: Deep Blue with Crisp Border */
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: rgba(16, 43, 80, 0.65);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(8, 24, 46, 0.25);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-hero-secondary:hover {
  background: rgba(52, 120, 200, 0.28);
  border-color: var(--c-accent-blue);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(8, 24, 46, 0.35),
    0 0 14px rgba(52, 120, 200, 0.28);
}

.hero-trust-bar {
  display: flex;
  gap: 20px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  flex-wrap: wrap;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-item::before {
  content: '✓';
  color: var(--c-accent-blue);
  font-weight: 800;
}

/* Hero Visual with Ambient Blue Glow & 3D Frame */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

/* Soft optical ambient blue light behind the doctor frame */
.hero-visual::before {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(67, 160, 255, 0.45) 0%, rgba(20, 99, 223, 0.22) 48%, transparent 70%);
  filter: blur(52px);
  z-index: 0;
  pointer-events: none;
  animation: ambientPulse 8s ease-in-out infinite alternate;
}

@keyframes ambientPulse {
  0% { transform: scale(0.96); opacity: 0.85; }
  100% { transform: scale(1.06); opacity: 1; }
}

.doctor-portrait-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 450px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.28) 0%, rgba(43, 135, 247, 0.35) 40%, rgba(11, 63, 134, 0.90) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: rgba(255, 255, 255, 0.65); /* 3D Top Bevel */
  border-radius: 36px;
  padding: 12px;
  box-shadow:
    0 4px 12px rgba(7, 42, 94, 0.25),
    0 24px 54px -6px rgba(7, 42, 94, 0.55),
    0 48px 90px -12px rgba(20, 99, 223, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}

.doctor-portrait-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 4px 12px rgba(7, 42, 94, 0.25),
    0 30px 62px -6px rgba(7, 42, 94, 0.65),
    0 56px 105px -12px rgba(43, 135, 247, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.portrait-image-wrapper {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #F0F5FA 0%, #DFEAF6 100%);
  aspect-ratio: 4 / 4.85;
  box-shadow: inset 0 0 0 2.5px rgba(197, 161, 91, 0.85); /* Refined Champagne Gold Inner Trim */
}

.doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.doc-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 32px;
  text-align: center;
  color: #fff;
}

.fallback-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

/* 3D Doctor Caption Badge Overlapping Naturally at Bottom */
.doctor-caption-badge {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 36px);
  max-width: 390px;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow:
    0 4px 6px -1px rgba(16, 43, 80, 0.08),
    0 14px 30px -4px rgba(16, 43, 80, 0.22),
    inset 0 1px 0 #ffffff;
  transition: transform var(--transition), box-shadow var(--transition);
  z-index: 2;
}

.doctor-caption-badge:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow:
    0 6px 10px -1px rgba(16, 43, 80, 0.12),
    0 18px 36px -4px rgba(16, 43, 80, 0.28),
    inset 0 1px 0 #ffffff;
}

.badge-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-soft-blue);
  color: var(--c-royal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-doctor-name {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.2;
  display: block;
}

.badge-doctor-qual {
  font-size: 12px;
  font-weight: 500;
  color: var(--c-text-muted);
  line-height: 1.25;
  display: block;
  margin-top: 2px;
}

/* ============================================================
   8. APPOINTMENT BOOKING SECTION (3D ELEVATED CARD)
   ============================================================ */
.sec-appt {
  position: relative;
  margin-top: -36px;
  z-index: 10;
  padding-bottom: 40px;
}

.appt-card {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-xl);
  padding: 38px 42px;
  box-shadow:
    0 4px 8px -2px rgba(16, 41, 68, 0.04),
    0 18px 42px -6px rgba(16, 41, 68, 0.10),
    0 36px 70px -10px rgba(59, 130, 208, 0.08);
  position: relative;
}

/* Elegant top highlight sheen */
.appt-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 40px;
  right: 40px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--c-accent-blue), var(--c-gold), transparent);
  border-radius: 3px;
}

.appt-header {
  margin-bottom: 28px;
}

.header-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-gold);
  margin-bottom: 6px;
}

.appt-title {
  font-size: 24px;
  margin-bottom: 6px;
}

.appt-desc {
  font-size: 14px;
  color: var(--c-text-muted);
}

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

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

.form-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--c-text-dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  height: 48px;
  padding: 10px 14px;
  background-color: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--c-text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  border-color: var(--c-royal);
  box-shadow: 0 0 0 3px rgba(20, 99, 223, 0.16);
  outline: none;
}

.form-control.bad {
  border-color: #E53E3E;
  background-color: #FFF5F5;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.btn-submit {
  min-width: 220px;
  height: 48px;
}

.form-privacy-note {
  font-size: 12.5px;
  color: var(--c-text-muted);
}

.msg {
  display: none;
  margin-top: 16px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
}

.msg.ok {
  display: block;
  background-color: #F0FDF4;
  color: #166534;
  border: 1px solid #BBF7D0;
}

.msg.err {
  display: block;
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* ============================================================
   9. SECTIONS GENERAL
   ============================================================ */
.sec {
  padding: 92px 0;
}

.sec-light {
  background-color: var(--c-bg-soft);
}

/* ============================================================
   10. ABOUT HOSPITAL SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.about-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text);
  margin-bottom: 32px;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 34px;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition);
}

.pillar-item:hover {
  border-color: var(--c-accent-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  font-size: 24px;
  line-height: 1;
  padding: 8px;
  background: var(--c-soft-blue);
  border-radius: var(--radius-md);
  border: 1px solid rgba(59, 130, 208, 0.16);
  flex-shrink: 0;
}

.pillar-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text-dark);
  margin-bottom: 2px;
}

.pillar-text span {
  font-size: 13.5px;
  color: var(--c-text-muted);
}

.about-speciality-panel {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.about-speciality-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--c-royal), var(--c-accent-blue));
  border-radius: 2px;
}

.panel-header {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-border);
}

.panel-title {
  font-size: 18px;
  margin-bottom: 4px;
}

.panel-desc {
  font-size: 13px;
  color: var(--c-text-muted);
}

.speciality-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.spec-card {
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: all var(--transition);
}

.spec-card:hover {
  border-color: var(--c-accent-blue);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.spec-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.spec-icon {
  font-size: 20px;
}

.spec-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-navy);
}

.spec-desc {
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.55;
  margin-bottom: 10px;
}

.spec-link-btn {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--c-royal);
  padding: 0;
  transition: color var(--transition);
}

.spec-link-btn:hover {
  color: var(--c-accent-blue);
}

/* ============================================================
   11. TREATMENTS & PROCEDURES SECTION (3D ELEVATION)
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.treatment-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

/* Subtle top blue gradient indicator on hover */
.treatment-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--c-royal), var(--c-accent-blue));
  opacity: 0;
  transition: opacity var(--transition);
}

.treatment-card:hover {
  transform: translateY(-5px);
  border-color: rgba(20, 99, 223, 0.45);
  box-shadow: var(--shadow-card-hover);
}

.treatment-card:hover::after {
  opacity: 1;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.treatment-icon-wrap {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--c-soft-blue) 0%, #D8E9FE 100%);
  border: 1px solid rgba(20, 99, 223, 0.18);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 2px 8px rgba(20, 99, 223, 0.10);
  transition: transform var(--transition);
}

.treatment-card:hover .treatment-icon-wrap {
  transform: scale(1.05);
}

.treatment-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-gold);
  background: var(--c-gold-soft);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.treatment-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 10px;
  line-height: 1.35;
}

.treatment-desc {
  font-size: 13.5px;
  color: var(--c-text);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.treatment-card-footer {
  padding-top: 14px;
  border-top: 1px solid var(--c-border);
}

.card-btn-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-royal);
  padding: 4px 0;
  transition: color var(--transition);
}

.card-btn-action:hover {
  color: var(--c-accent-blue);
}

/* ============================================================
   12. DOCTOR PROFILE SECTION (3D REALISTIC DEPTH)
   ============================================================ */
.doc-section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.doc-photo-col {
  position: relative;
}

.doc-portrait-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-top-color: rgba(255, 255, 255, 0.7);
  box-shadow:
    0 4px 8px -2px rgba(16, 41, 68, 0.08),
    0 20px 48px -6px rgba(16, 41, 68, 0.22),
    0 32px 68px -10px rgba(59, 130, 208, 0.15);
  background-color: var(--c-navy-dark);
}

.doc-portrait-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.doc-qualification-card {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow:
    0 4px 6px -1px rgba(7, 20, 34, 0.1),
    0 12px 24px -4px rgba(7, 20, 34, 0.2),
    inset 0 1px 0 #ffffff;
  backdrop-filter: blur(10px);
}

.badge-icon-gold {
  font-size: 26px;
}

.doc-qualification-card strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--c-navy);
}

.doc-qualification-card p {
  font-size: 12px;
  color: var(--c-royal);
  font-weight: 600;
}

.doc-details-col {
  display: flex;
  flex-direction: column;
}

.doc-subtitle {
  font-size: 16px;
  color: var(--c-royal);
  margin-bottom: 20px;
}

.doc-bio {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--c-text);
  margin-bottom: 28px;
}

.doc-expertise-box {
  background-color: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-xs);
}

.expertise-title {
  font-size: 15px;
  margin-bottom: 16px;
  color: var(--c-navy);
}

.expertise-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}

.expertise-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--c-text-dark);
  font-weight: 500;
}

.check-bullet {
  color: var(--c-accent-blue);
  font-weight: 800;
}

.doc-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   13. WHY CHOOSE US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-accent-blue);
  box-shadow: var(--shadow-md);
}

.why-icon-box {
  width: 46px;
  height: 46px;
  background: var(--c-soft-blue);
  border: 1px solid rgba(59, 130, 208, 0.16);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  box-shadow: 0 2px 6px rgba(37, 99, 184, 0.08);
}

.why-title {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--c-navy);
}

.why-text {
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--c-text);
}

/* ============================================================
   14. FACILITIES
   ============================================================ */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.facility-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition);
}

.facility-card:hover {
  border-color: var(--c-accent-blue);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.facility-icon-circle {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--c-soft-blue) 0%, #DDEBFC 100%);
  border: 1px solid rgba(59, 130, 208, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(37, 99, 184, 0.1);
  transition: transform var(--transition);
}

.facility-card:hover .facility-icon-circle {
  transform: scale(1.06);
}

.facility-name {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--c-navy);
}

.facility-desc {
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.5;
}

/* ============================================================
   15. HOW IT WORKS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: 34px 28px;
  position: relative;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-accent-blue);
  box-shadow: var(--shadow-md);
}

.step-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--c-gold);
  background: var(--c-gold-soft);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.step-title {
  font-size: 18px;
  color: var(--c-navy);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--c-text);
  line-height: 1.65;
}

/* ============================================================
   16. GALLERY (STATIC FOLDER SYSTEM)
   ============================================================ */
.filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
  transition: all var(--transition);
}

.filter-btn:hover {
  color: var(--c-navy);
  border-color: var(--c-border-hover);
}

.filter-btn.on {
  background: var(--c-royal);
  color: #fff;
  border-color: var(--c-royal);
  box-shadow: 0 2px 8px rgba(37, 99, 184, 0.25);
}

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

.gal-item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  background: var(--c-bg-soft);
  cursor: pointer;
  overflow: hidden;
  position: relative;
  padding: 0;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.gal-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-accent-blue);
}

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

.gal-item:hover img {
  transform: scale(1.05);
}

.gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 29, 49, 0.88) 0%, rgba(10, 29, 49, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.gal-zoom-icon {
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--c-accent-blue);
}

.gal-title {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}

.gal-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 20px;
  color: var(--c-text-muted);
}

.gal-empty-icon {
  font-size: 42px;
  margin-bottom: 12px;
  opacity: 0.7;
}

.gal-loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 0;
  color: var(--c-text-muted);
}

.gal-spin {
  width: 32px;
  height: 32px;
  border: 3px solid var(--c-border);
  border-top-color: var(--c-accent-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   17. PATIENT CARE STANDARDS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}

.principle-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.principle-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-accent-blue);
  box-shadow: var(--shadow-md);
}

.principle-icon-box {
  width: 48px;
  height: 48px;
  background: var(--c-soft-blue);
  border: 1px solid rgba(59, 130, 208, 0.18);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(37, 99, 184, 0.08);
}

.principle-title {
  font-size: 18px;
  color: var(--c-navy);
  margin-bottom: 10px;
}

.principle-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-text);
}

.test-disclaimer {
  text-align: center;
  font-size: 12.5px;
  color: var(--c-text-muted);
  max-width: 760px;
  margin: 0 auto;
}

/* ============================================================
   18. CONTACT SECTION
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-details-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item-icon {
  width: 42px;
  height: 42px;
  background: var(--c-soft-blue);
  border: 1px solid rgba(59, 130, 208, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(37, 99, 184, 0.08);
}

.contact-item-content h3 {
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--c-navy);
}

.contact-address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-text);
}

.phone-link {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 4px;
}

.phone-tag {
  font-size: 12px;
  font-weight: 400;
  color: var(--c-text-muted);
}

.email-link {
  font-size: 14px;
  font-weight: 600;
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--c-border);
}

.contact-brand-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--c-border);
}

.contact-brand-mark img {
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 4px;
  border: 1px solid var(--c-border);
}

.contact-brand-mark strong {
  display: block;
  font-size: 14px;
  color: var(--c-navy);
}

.contact-brand-mark p {
  font-size: 12px;
  color: var(--c-royal);
  font-weight: 600;
}

/* Contact Message Form */
.contact-form-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-title {
  font-size: 20px;
  margin-bottom: 4px;
}

.form-desc {
  font-size: 13.5px;
  color: var(--c-text-muted);
  margin-bottom: 24px;
}

textarea.form-control {
  height: auto;
  resize: vertical;
}

/* ============================================================
   19. FOOTER
   ============================================================ */
.foot {
  background-color: var(--c-navy-dark);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 72px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fgrid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr;
  gap: 40px;
  padding-bottom: 56px;
}

.foot-brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.foot-brand-header img {
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 4px;
}

.foot-name {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}

.foot-doc {
  font-size: 12px;
  color: var(--c-gold);
  font-weight: 600;
}

.foot-tagline {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.foot-quick-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.foot-link-highlight {
  color: var(--c-gold);
  font-weight: 700;
  font-size: 13.5px;
  transition: color var(--transition);
}

.foot-link-highlight:hover {
  color: #fff;
}

.foot-link-dim {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  transition: color var(--transition);
}

.foot-link-dim:hover {
  color: #fff;
}

.foot-heading {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 20px;
}

.foot-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.foot-nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13.5px;
  transition: color var(--transition), transform var(--transition);
}

.foot-nav a:hover {
  color: var(--c-accent-blue);
  transform: translateX(3px);
}

.foot-address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 16px;
}

.foot-phones {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.foot-phone-item {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
  transition: color var(--transition);
}

.foot-phone-item:hover {
  color: var(--c-gold);
}

.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  background-color: var(--c-navy-deep);
}

.copy-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  flex-wrap: wrap;
  gap: 12px;
}

.copy-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.copy-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.copy-links a:hover {
  color: var(--c-accent-blue);
}

.copy-sep {
  opacity: 0.3;
}

/* ============================================================
   20. MODALS & LIGHTBOX
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(6, 19, 33, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal[hidden] {
  display: none !important;
}

.mbox {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  max-width: 580px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-xl);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-icon {
  font-size: 36px;
  margin-bottom: 14px;
}

.modal-title {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--c-navy);
}

.modal-primary-desc {
  font-size: 15px;
  line-height: 1.68;
  color: var(--c-text);
  margin-bottom: 20px;
}

.modal-detail-box {
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 18px;
}

.modal-detail-box h4 {
  font-size: 14px;
  color: var(--c-navy);
  margin-bottom: 8px;
}

.modal-detail-box p {
  font-size: 13.5px;
  line-height: 1.6;
}

.modal-disclaimer {
  color: var(--c-text-muted);
  margin-bottom: 24px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.x {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-navy);
  transition: all var(--transition);
}

.x:hover {
  background: #E2E8F0;
  transform: rotate(90deg);
}

/* Lightbox Specifics */
.modal.lb {
  background: rgba(6, 19, 33, 0.94);
}

.lb-close {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  top: 24px;
  right: 24px;
}

.lb-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.nv {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 1010;
}

.nv:hover {
  background: rgba(59, 130, 208, 0.35);
  border-color: var(--c-accent-blue);
}

.pv { left: 24px; }
.nx { right: 24px; }

.lb-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}

/* Scroll To Top Button with Subtle 3D Elevation */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-navy);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(16, 41, 68, 0.3);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 700;
  transition: all var(--transition);
}

.scroll-top:hover {
  background: var(--c-royal);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 99, 184, 0.4);
}

.scroll-top[hidden] {
  display: none !important;
}

/* ============================================================
   MOBILE FLOATING CALL & LOCATION BUTTONS
   ============================================================ */
.mob-float {
  display: none;
}

@media (max-width: 820px) {
  .mob-float {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: fixed;
    bottom: 28px;
    right: 18px;
    z-index: 900;
  }

  .mob-float-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px 11px 12px;
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: all var(--transition);
    box-shadow:
      0 4px 14px rgba(0,0,0,0.18),
      0 1px 4px rgba(0,0,0,0.10);
  }

  .mob-float-btn svg {
    flex-shrink: 0;
  }

  /* Location — white with navy text */
  .mob-float-location {
    background: #ffffff;
    color: var(--c-navy);
    border: 1.5px solid rgba(11,63,134,0.15);
  }

  .mob-float-location:hover {
    background: var(--c-soft-blue);
    color: var(--c-royal);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(11,63,134,0.22);
  }

  /* Call — royal blue with white text */
  .mob-float-call {
    background: linear-gradient(145deg, #186DF0 0%, #1153BC 100%);
    color: #ffffff;
    border: 1.5px solid rgba(255,255,255,0.20);
  }

  .mob-float-call:hover {
    background: linear-gradient(145deg, #2D89FB 0%, #1463DF 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(20,99,223,0.42);
  }
}

/* ============================================================
   21. SCROLL REVEAL ANIMATIONS
   ============================================================ */
.rv {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.rv.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   22. RESPONSIVE MEDIA QUERIES
   ============================================================ */
@media (max-width: 1100px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .fgrid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 992px) {
  .heroin {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 30px 24px 60px;
    text-align: center;
  }
  .hero-visual {
    order: -1;
  }
  .hero-content {
    align-items: center;
  }
  .hero-eyebrow {
    margin-bottom: 16px;
  }
  .hero-lead {
    text-align: center;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-trust-bar {
    justify-content: center;
  }
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .doc-section-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .doc-photo-col {
    max-width: 420px;
    margin: 0 auto;
  }
  .why-grid, .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gal {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  /* Navigation Mobile Menu */
  .burger {
    display: flex;
  }
  #menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 24px;
    gap: 6px;
    box-shadow: var(--shadow-lg);
    display: none;
    border-top: 1px solid var(--c-border);
  }
  #menu.open {
    display: flex;
  }
  .nav-link {
    padding: 12px 16px;
    font-size: 15px;
  }
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--c-border);
    padding-top: 16px;
    gap: 12px;
  }
  .lang {
    justify-content: center;
    width: 100%;
  }
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .fgrid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .topbar-info span:first-child {
    display: none;
  }
}

@media (max-width: 640px) {
  /* ── Hero: shrink everything so doctor photo → call button fits one screen ── */
  .hero {
    padding: 28px 0 48px;
  }
  .heroin {
    gap: 14px;
    padding: 16px 16px 40px;
  }
  .doctor-portrait-card {
    max-width: 240px;
    border-radius: 20px;
    padding: 7px;
  }
  .portrait-image-wrapper {
    border-radius: 16px;
  }
  .hero-visual::before {
    width: 240px;
    height: 240px;
  }
  .hero-eyebrow {
    font-size: 11px;
    padding: 5px 11px;
    margin-bottom: 10px;
  }
  .hero-title {
    font-size: 22px;
    margin-bottom: 10px;
    line-height: 1.2;
  }
  .hero-lead {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 14px;
  }
  .hero-highlights {
    grid-template-columns: 1fr;
    gap: 7px;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
  }
  .highlight-stat-card {
    padding: 8px 11px;
    gap: 9px;
    border-radius: 10px;
  }
  .stat-icon-wrap {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }
  .stat-icon-wrap svg {
    width: 15px;
    height: 15px;
  }
  .stat-number {
    font-size: 13px;
  }
  .stat-label {
    font-size: 10px;
  }
  .hero-ctas {
    gap: 10px;
    margin-bottom: 14px;
  }
  .btn-hero-primary,
  .btn-hero-secondary {
    font-size: 12.5px;
    padding: 10px 18px;
  }
  .hero-trust-bar {
    gap: 10px;
    font-size: 11px;
  }
  .doctor-caption-badge {
    padding: 8px 12px;
    gap: 8px;
    border-radius: 12px;
  }
  .badge-doctor-name {
    font-size: 12px;
  }
  .badge-doctor-qual {
    font-size: 10px;
  }
  .badge-icon-wrap {
    width: 30px;
    height: 30px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .cards-grid, .why-grid, .facilities-grid {
    grid-template-columns: 1fr;
  }
  .expertise-list {
    grid-template-columns: 1fr;
  }
  .appt-card {
    padding: 26px 20px;
  }
  .sec {
    padding: 64px 0;
  }
  .pv { left: 10px; }
  .nx { right: 10px; }
  .copy-bar {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 440px) {
  .gal {
    grid-template-columns: 1fr;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .doctor-caption-badge {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    margin-top: 12px;
  }
  .doctor-caption-badge:hover {
    transform: translateY(-2px);
  }
}

/* ============================================================
   23. ACCESSIBILITY & PRINT
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .rv {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-visual::before {
    animation: none !important;
  }
}

@media print {
  .topbar, .nav, .sec-appt, .hero-ctas, .modal, .scroll-top {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .hero {
    background: #fff;
    color: #000;
  }
}

/* ============================================================
   PRELOADER — Rhythm Surgical Hospital Brand Intro
   ============================================================ */

/* Lock scroll while preloader is active */
body.pl-active {
  overflow: hidden;
}

#rsh-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #08244D;
  opacity: 1;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

#rsh-preloader.pl-fade-out {
  opacity: 0;
  pointer-events: none;
}

#rsh-preloader.pl-done {
  display: none;
}

/* Background radial glow */
.pl-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(43, 135, 247, 0.18) 0%, transparent 60%),
    radial-gradient(circle at 50% 46%, rgba(11, 63, 134, 0.55) 0%, transparent 80%);
  pointer-events: none;
}

/* Rings */
.pl-ring {
  position: absolute;
  pointer-events: none;
}

.pl-ring-outer {
  width: min(320px, 85vw);
  height: min(320px, 85vw);
  opacity: 0;
  animation: plRingReveal 0.9s 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards,
             plRotateCW 18s 1.4s linear infinite;
}

.pl-ring-inner {
  width: min(220px, 58vw);
  height: min(220px, 58vw);
  opacity: 0;
  animation: plRingReveal 0.9s 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards,
             plRotateCCW 12s 1.55s linear infinite;
}

@keyframes plRingReveal {
  to { opacity: 1; }
}

@keyframes plRotateCW {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes plRotateCCW {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

/* Ambient light sweep */
.pl-glow {
  position: absolute;
  width: min(280px, 74vw);
  height: min(280px, 74vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 135, 247, 0.22) 0%, transparent 68%);
  filter: blur(32px);
  opacity: 0;
  animation: plGlowPulse 2.4s 0.8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes plGlowPulse {
  0%   { opacity: 0.6; transform: scale(0.95); }
  100% { opacity: 1;   transform: scale(1.08); }
}

/* Logo */
.pl-logo-wrap {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: scale(0.78);
  animation: plLogoReveal 0.9s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes plLogoReveal {
  to { opacity: 1; transform: scale(1); }
}

.pl-logo {
  width: min(110px, 28vw);
  height: min(110px, 28vw);
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 24px rgba(43, 135, 247, 0.45))
          drop-shadow(0 4px 16px rgba(8, 36, 77, 0.6));
}

/* Light sweep overlay on logo */
.pl-logo-wrap::after {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 15%,
    transparent 30%
  );
  animation: plSweep 2.2s 1s linear infinite;
  pointer-events: none;
}

@keyframes plSweep {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Hospital name */
.pl-name-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-top: 22px;
  opacity: 0;
  transform: translateY(14px);
  animation: plNameReveal 0.8s 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes plNameReveal {
  to { opacity: 1; transform: translateY(0); }
}

.pl-name {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(17px, 4.5vw, 22px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.01em;
  text-align: center;
  line-height: 1.2;
}

.pl-tagline {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(10px, 2.8vw, 12px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

/* Gold line beneath name */
.pl-line {
  position: relative;
  z-index: 2;
  width: 0;
  height: 1.5px;
  margin-top: 14px;
  background: linear-gradient(90deg, transparent, #C5A15B, #DFBF7C, #C5A15B, transparent);
  border-radius: 2px;
  animation: plLineExpand 0.7s 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes plLineExpand {
  to { width: min(180px, 50vw); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  #rsh-preloader,
  .pl-logo-wrap,
  .pl-ring-outer,
  .pl-ring-inner,
  .pl-glow,
  .pl-name-wrap,
  .pl-line {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    width: min(180px, 50vw) !important;
  }
  #rsh-preloader {
    transition: opacity 0.3s ease !important;
  }
}

/* ============================================================
   PREMIUM PHOTO GALLERY SHOWCASE
   ============================================================ */

.pgal-sec {
  background: var(--c-bg);
  overflow: hidden;
}

/* ── Stage ── */
.pgal-stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  /* perspective for subtle 3D feel */
  perspective: 1200px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.pgal-stage:active {
  cursor: grabbing;
}

/* ── Track ── */
.pgal-track {
  display: flex;
  gap: 20px;
  padding: 12px 4px 20px;
  /* transition set by JS so we can disable it for instant jumps */
  will-change: transform;
}

/* ── Slide card ── */
.pgal-slide {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--c-bg-soft);
  box-shadow:
    0 4px 14px -2px rgba(11, 63, 134, 0.10),
    0 1px 4px rgba(11, 63, 134, 0.06);
  transition:
    transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.pgal-slide:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow:
    0 16px 36px -4px rgba(11, 63, 134, 0.18),
    0 4px 12px rgba(43, 135, 247, 0.14);
}

/* aspect ratio box */
.pgal-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.pgal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.pgal-slide:hover .pgal-img-wrap img {
  transform: scale(1.06);
}

/* subtle gold overlay shimmer on hover */
.pgal-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(197, 161, 91, 0.0) 0%,
    rgba(197, 161, 91, 0.12) 100%
  );
  opacity: 0;
  transition: opacity 0.38s ease;
  pointer-events: none;
}

.pgal-slide:hover .pgal-img-wrap::after {
  opacity: 1;
}

/* magnify icon hint */
.pgal-slide-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(8, 36, 77, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.pgal-slide:hover .pgal-slide-hint {
  opacity: 1;
  transform: scale(1);
}

/* ── Arrows ── */
.pgal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--c-navy);
  border: 1.5px solid var(--c-border);
  box-shadow: 0 4px 16px rgba(11, 63, 134, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.pgal-prev { left: 10px; }
.pgal-next { right: 10px; }

.pgal-arrow:hover {
  background: var(--c-navy);
  color: #fff;
  border-color: var(--c-navy);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(11, 63, 134, 0.28);
}

/* ── Dots ── */
.pgal-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.pgal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-border);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.pgal-dot.on {
  background: var(--c-royal);
  width: 24px;
  border-radius: 4px;
}

/* ── Lightbox ── */
.pgal-lb {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(5, 18, 40, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pgal-lb:not([hidden]) {
  display: flex;
}

.pgal-lb.lb-visible {
  opacity: 1;
}

.pgal-lb-img-wrap {
  max-width: min(900px, 90vw);
  max-height: 85vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  position: relative;
}

.pgal-lb-img {
  display: block;
  max-width: min(900px, 90vw);
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  transition: opacity 0.25s ease;
}

.pgal-lb-img.lb-loading {
  opacity: 0;
}

.pgal-lb-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background var(--transition);
}

.pgal-lb-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.pgal-lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background var(--transition);
}

.pgal-lb-arrow:hover {
  background: rgba(43, 135, 247, 0.35);
  border-color: rgba(43, 135, 247, 0.6);
}

.pgal-lb-prev { left: 16px; }
.pgal-lb-next { right: 16px; }

.pgal-lb-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.65);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ── Responsive ── */
@media (max-width: 820px) {
  .pgal-slide {
    flex: 0 0 calc((100% - 20px) / 2);
  }
  .pgal-track {
    gap: 16px;
  }
}

@media (max-width: 540px) {
  .pgal-slide {
    flex: 0 0 100%;
  }
  .pgal-track {
    gap: 12px;
    padding: 8px 2px 16px;
  }
  .pgal-arrow {
    width: 38px;
    height: 38px;
  }
  .pgal-lb-arrow {
    width: 40px;
    height: 40px;
  }
  .pgal-lb-prev { left: 6px; }
  .pgal-lb-next { right: 6px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .pgal-track,
  .pgal-slide,
  .pgal-img-wrap img,
  .pgal-lb {
    transition: none !important;
  }
}
