/* =============================================================
   SRINIVAS HOSPITAL — AESTHETIC DESIGN ENHANCEMENT
   Color Scheme:
     Primary  : Sky Blue    → #0EA5E9 / #38BDF8
     Secondary: Gold        → #F59E0B / #FBC02D
     Base     : White       → #FFFFFF / #F8FAFC
     Accent   : Red (alert) → #EF4444 / #DC2626
   ============================================================= */

/* ---- CSS Custom Properties (Design Tokens) ---- */
:root {
  /* Core Brand Colors */
  --sky-blue:        #0EA5E9;
  --sky-blue-light:  #38BDF8;
  --sky-blue-dark:   #0284C7;
  --sky-blue-deeper: #0369A1;
  --sky-blue-pale:   #E0F2FE;

  --gold:            #F59E0B;
  --gold-light:      #FDE68A;
  --gold-dark:       #D97706;
  --gold-pale:       #FFFBEB;

  --red-accent:      #EF4444;
  --red-dark:        #DC2626;
  --red-pale:        #FEE2E2;

  --white:           #FFFFFF;
  --off-white:       #F8FAFC;
  --bg-light:        #F1F7FE;

  /* Typography */
  --font-display:    'Playfair Display', serif;
  --font-body:       'Montserrat', sans-serif;

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(14,165,233,0.10);
  --shadow-md:   0 8px 24px rgba(14,165,233,0.14);
  --shadow-lg:   0 20px 50px rgba(14,165,233,0.18);
  --shadow-gold: 0 8px 25px rgba(245,158,11,0.30);
  --shadow-red:  0 4px 14px rgba(239,68,68,0.30);

  /* Border Radius */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast:   0.2s ease;
  --transition-base:   0.35s ease;
  --transition-smooth: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Spacing */
  --header-height: 100px;
}

@media (max-width: 991px) {
  :root {
    --header-height: 80px;
  }
}

/* ================================================================
   GLOBAL RESET & BASE
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: #1e293b;
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ================================================================
   SCROLLBAR
   ================================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb {
  background: var(--sky-blue);
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover { background: var(--sky-blue-dark); }

/* ================================================================
   TYPOGRAPHY — GLOBAL HEADINGS
   ================================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display) !important;
  color: #1b1b4b !important;
  line-height: 1.25;
}

/* Accent span inside headings → sky blue */
h1 .highlight,
h2 .highlight,
h3 .highlight,
h1 span.accent,
h2 span.accent,
.section-title h2 span,
.title-accent-global {
  color: var(--sky-blue) !important;
  font-style: normal !important;
}

/* Section wrapper labels (pill tags) */
.section-title .subtitle,
.section-header .subtitle,
.section-label {
  display: inline-block;
  color: var(--sky-blue) !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  background: var(--sky-blue-pale);
  padding: 5px 18px;
  border-radius: var(--radius-pill);
}

/* ================================================================
   SELECTION COLOR
   ================================================================ */
::selection {
  background: var(--sky-blue-pale);
  color: var(--sky-blue-dark);
}

/* ================================================================
   HEADER — PREMIUM NAVBAR ENHANCEMENT
   ================================================================ */
.header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  background-color: rgba(255,255,255,0.95) !important;
  box-shadow: 0 2px 24px rgba(14,165,233,0.08) !important;
  border-bottom: 2px solid rgba(14,165,233,0.05) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  transition: all 0.4s ease !important;
  z-index: 999 !important;
}

/* Logo box */
.logo-img-box {
  background: linear-gradient(135deg, var(--sky-blue-pale) 0%, #fff 100%) !important;
  border: 1.5px solid rgba(14,165,233,0.14) !important;
  box-shadow: var(--shadow-sm) !important;
  border-radius: 12px !important;
  padding: 5px !important;
  transition: all 0.4s ease !important;
}

.logo:hover .logo-img-box {
  box-shadow: var(--shadow-md) !important;
  transform: translateY(-2px) rotate(-3deg) !important;
}

/* Site name */
.header .sitename {
  font-family: var(--font-display) !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #1b1b4b !important;
  letter-spacing: -0.5px !important;
}

/* Tagline */
.site-tagline {
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  color: var(--sky-blue) !important;
}

/* Nav links */
.navmenu a,
.navmenu a:focus {
  color: #1b1b4b !important;
  font-weight: 600 !important;
  font-size: 14.5px !important;
  letter-spacing: 0.2px;
  transition: color var(--transition-fast) !important;
  position: relative;
}

/* Nav underline on hover */
.navmenu > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sky-blue);
  border-radius: var(--radius-pill);
  transition: width 0.3s ease;
}

.navmenu > ul > li > a:hover::after,
.navmenu > ul > li > a.active::after {
  width: 100%;
}

.navmenu a:hover,
.navmenu .active {
  color: var(--sky-blue) !important;
}

/* Book Appointment button */
.navmenu .book-appointment-btn a {
  background: linear-gradient(135deg, var(--sky-blue) 0%, var(--sky-blue-dark) 100%) !important;
  color: #fff !important;
  padding: 11px 28px !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-md) !important;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  border: 2px solid transparent !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
}

.navmenu .book-appointment-btn a::before {
  content: '\f274';
  font-family: 'Bootstrap-icons', sans-serif;
  font-size: 14px;
}

.navmenu .book-appointment-btn a:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%) !important;
  color: #1b1b4b !important;
  transform: translateY(-3px) !important;
  box-shadow: var(--shadow-gold) !important;
}

/* Scrolled header */
.scrolled .header {
  background-color: #1b1b4b !important;
  box-shadow: 0 4px 30px rgba(0,0,0,0.25) !important;
}

.scrolled .header .sitename,
.scrolled .navmenu a,
.scrolled .navmenu a:focus {
  color: rgba(255,255,255,0.92) !important;
}

.scrolled .navmenu a:hover,
.scrolled .navmenu .active {
  color: var(--sky-blue-light) !important;
}

.scrolled .site-tagline {
  color: var(--gold) !important;
}

.scrolled .mobile-nav-toggle {
  color: #fff !important;
}

/* Mobile nav toggle */
.mobile-nav-toggle {
  color: #1b1b4b !important;
  font-size: 26px !important;
}

/* Mobile dropdown */
.navmenu ul {
  border: 1px solid rgba(14,165,233,0.12) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
}

/* ================================================================
   TOPBAR
   ================================================================ */
.header .topbar {
  background: linear-gradient(90deg, #1b1b4b 0%, var(--sky-blue-dark) 100%) !important;
  display: none !important;
}

/* ================================================================
   BUTTONS — GLOBAL ENHANCEMENT
   ================================================================ */
.btn,
button,
[type="submit"] {
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px;
  transition: all var(--transition-base) !important;
}

/* Primary button */
.btn-primary,
.btn.btn-primary {
  background: linear-gradient(135deg, var(--sky-blue) 0%, var(--sky-blue-dark) 100%) !important;
  border-color: var(--sky-blue) !important;
  color: #fff !important;
  box-shadow: var(--shadow-md) !important;
  border-radius: var(--radius-pill) !important;
}

.btn-primary:hover,
.btn.btn-primary:hover {
  background: linear-gradient(135deg, var(--sky-blue-dark) 0%, var(--sky-blue-deeper) 100%) !important;
  transform: translateY(-3px) !important;
  box-shadow: var(--shadow-lg) !important;
}

/* Gold button */
.btn-gold,
.btn-warning {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%) !important;
  border-color: var(--gold-dark) !important;
  color: #1b1b4b !important;
  box-shadow: var(--shadow-gold) !important;
  border-radius: var(--radius-pill) !important;
}

.btn-gold:hover,
.btn-warning:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 15px 40px rgba(245,158,11,0.40) !important;
}

/* Outline button */
.btn-outline-primary {
  color: var(--sky-blue) !important;
  border-color: var(--sky-blue) !important;
  border-radius: var(--radius-pill) !important;
  background: transparent !important;
}

.btn-outline-primary:hover {
  background: var(--sky-blue) !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-md) !important;
}

/* Appointment button inside hero, sections */
.hero-actions .btn,
.action-buttons a,
.cta-buttons a,
.parallax-actions .btn {
  border-radius: var(--radius-pill) !important;
  padding: 14px 36px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
}

/* ================================================================
   SECTION TITLES — GLOBAL ENHANCEMENT
   ================================================================ */
.section-title,
.section-header {
  text-align: center;
  padding-bottom: 50px;
  position: relative;
}

.section-title h2,
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
  font-weight: 800 !important;
  color: #1b1b4b !important;
  margin-bottom: 16px;
  line-height: 1.25 !important;
}

/* Underline decoration */
.section-title h2::after {
  content: '' !important;
  position: absolute !important;
  display: block !important;
  width: 64px !important;
  height: 3.5px !important;
  background: linear-gradient(90deg, var(--sky-blue), var(--gold)) !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  border-radius: var(--radius-pill) !important;
  margin: 0 !important;
}

.section-title h2::before {
  display: none !important;
}

.section-title p {
  color: #64748b !important;
  font-size: 1rem !important;
  max-width: 680px;
  margin: 0 auto !important;
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  background: linear-gradient(135deg, var(--off-white) 0%, var(--sky-blue-pale) 100%) !important;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height) !important;
  padding-bottom: 60px !important;
}

/* ── Full-width banner hero override ── */
.hero.hero-banner-only {
  background: #fff !important;
  min-height: auto !important;
  height: auto !important;
  padding: 0 !important;
  padding-top: var(--header-height) !important;
  margin-top: 0 !important;
  display: block !important;
  align-items: unset !important;
  overflow: hidden !important;
}
.hero.hero-banner-only::before {
  display: none !important;
}
.hero-banner-img-wrap {
  width: 100%;
  line-height: 0;
  overflow: hidden;
  display: block;
}
.hero-banner-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - var(--header-height));
  object-fit: contain;
  object-position: center top;
}

.hero::before {
  opacity: 0.04 !important;
}

.hero .hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem) !important;
  font-weight: 900 !important;
  color: #1b1b4b !important;
  line-height: 1.15 !important;
  margin-bottom: 1.5rem !important;
}

.hero .hero-content h1 .highlight {
  background: linear-gradient(135deg, var(--sky-blue) 0%, var(--sky-blue-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .hero-content .hero-description {
  font-size: 1.1rem !important;
  color: #475569 !important;
  line-height: 1.8 !important;
  max-width: 520px;
}

/* Stats bar in hero */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin: 1.5rem 0 2rem;
  flex-wrap: wrap;
}

.stat-item h3 {
  font-size: 2.2rem !important;
  font-weight: 900 !important;
  color: var(--sky-blue) !important;
  line-height: 1 !important;
  margin: 0 !important;
}

.stat-item p {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #94a3b8 !important;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 4px 0 0 !important;
}

/* Hero action buttons */
.hero-actions .btn-primary {
  background: linear-gradient(135deg, var(--sky-blue), var(--sky-blue-dark)) !important;
  box-shadow: 0 12px 28px rgba(14,165,233,0.35) !important;
  color: #fff !important;
  padding: 16px 40px !important;
  font-size: 15px !important;
  border-radius: var(--radius-pill) !important;
}

.hero-actions .btn-primary:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 40px rgba(14,165,233,0.45) !important;
}

/* Hero image swiper */
.hero-swiper {
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 30px 60px rgba(14,165,233,0.18) !important;
  border: 3px solid rgba(14,165,233,0.10) !important;
  overflow: hidden !important;
}

.hero .background-elements .element {
  background: var(--sky-blue) !important;
  opacity: 0.08 !important;
}

/* ================================================================
   TOP CARDS (Emergency / Doctors / Hours)
   ================================================================ */
.top-single-card {
  background: linear-gradient(135deg, var(--sky-blue) 0%, var(--sky-blue-dark) 100%) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-md) !important;
  transition: transform var(--transition-base), box-shadow var(--transition-base) !important;
  overflow: hidden;
  position: relative;
}

.top-single-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
}

.top-single-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-lg) !important;
}

.top-single-card h6 {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  color: rgba(255,255,255,0.75) !important;
  margin-bottom: 6px !important;
}

.top-single-card h3 {
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin-bottom: 16px !important;
}

/* ================================================================
   HOME ABOUT SECTION
   ================================================================ */
.home-about {
  background: var(--white) !important;
  position: relative;
}

.ha-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  background: var(--sky-blue-pale);
  color: var(--sky-blue) !important;
  border: 1.5px solid rgba(14,165,233,0.18);
  border-radius: var(--radius-pill);
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  margin-bottom: 18px;
}

.ha-label i {
  color: var(--sky-blue) !important;
}

.ha-heading {
  font-size: clamp(1.8rem, 4vw, 2.7rem) !important;
  font-weight: 900 !important;
  color: #1b1b4b !important;
  line-height: 1.2 !important;
  margin-bottom: 20px !important;
}

.ha-heading .accent {
  color: var(--sky-blue) !important;
  -webkit-text-fill-color: var(--sky-blue) !important;
}

.ha-lead {
  font-size: 1.1rem !important;
  color: #475569 !important;
  line-height: 1.8 !important;
  margin-bottom: 24px !important;
}

.ha-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.ha-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: var(--sky-blue-pale);
  color: var(--sky-blue-dark) !important;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  border: 1.5px solid rgba(14,165,233,0.15);
  transition: all var(--transition-fast);
}

.ha-trust-pill i { color: var(--sky-blue) !important; }
.ha-trust-pill:hover {
  background: var(--sky-blue) !important;
  color: #fff !important;
  border-color: var(--sky-blue) !important;
  transform: translateY(-2px);
}
.ha-trust-pill:hover i { color: #fff !important; }

/* About image */
.ha-visual-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ================================================================
   FEATURED DEPARTMENTS / SPECIALTIES
   ================================================================ */
.featured-departments {
  background: var(--off-white) !important;
}

.featured-departments .specialty-content {
  background: var(--white);
  border-radius: var(--radius-md) !important;
  box-shadow: 0 6px 28px rgba(14,165,233,0.08) !important;
  transition: all var(--transition-base);
}

.featured-departments .specialty-meta .specialty-label {
  background: var(--sky-blue-pale) !important;
  color: var(--sky-blue) !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 700 !important;
}

.featured-departments .specialty-card {
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 6px 28px rgba(14,165,233,0.08) !important;
  overflow: hidden !important;
  transition: all var(--transition-base) !important;
}

.featured-departments .specialty-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 24px 60px rgba(14,165,233,0.18) !important;
}

.featured-departments h3 {
  color: #1b1b4b !important;
  font-weight: 800 !important;
}

.featured-departments .specialty-link {
  color: var(--sky-blue) !important;
  font-weight: 700 !important;
}

.featured-departments .specialty-link:hover {
  color: var(--sky-blue-dark) !important;
}

/* Emergency banner */
.featured-departments .emergency-banner {
  background: linear-gradient(135deg, var(--red-accent), var(--red-dark)) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 20px 50px rgba(239,68,68,0.25) !important;
}

.featured-departments .emergency-banner h3,
.featured-departments .emergency-banner p {
  color: #fff !important;
}

.featured-departments .emergency-btn {
  background: #fff !important;
  color: var(--red-dark) !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 700 !important;
}

.featured-departments .emergency-btn:hover {
  background: var(--gold) !important;
  color: #1b1b4b !important;
  transform: translateY(-3px) !important;
}

/* Department highlight cards */
.featured-departments .department-highlight {
  border: 1.5px solid rgba(14,165,233,0.12) !important;
  border-radius: var(--radius-md) !important;
  transition: all var(--transition-base) !important;
}

.featured-departments .department-highlight:hover {
  border-color: var(--sky-blue) !important;
  box-shadow: var(--shadow-md) !important;
}

.featured-departments .highlight-icon {
  background: linear-gradient(135deg, var(--sky-blue), var(--sky-blue-dark)) !important;
  box-shadow: 0 8px 20px rgba(14,165,233,0.30) !important;
}

/* ================================================================
   FIND A DOCTOR SECTION
   ================================================================ */
.find-a-doctor {
  background: var(--white) !important;
}

.find-a-doctor .search-title {
  color: #1b1b4b !important;
  font-weight: 800 !important;
}

.search-section .search-input-group {
  background: var(--white) !important;
  border: 1.5px solid rgba(14,165,233,0.18) !important;
  border-radius: 60px !important;
  box-shadow: 0 10px 40px rgba(14,165,233,0.10) !important;
}

.search-section .search-input-group:focus-within {
  border-color: var(--sky-blue) !important;
  box-shadow: 0 10px 40px rgba(14,165,233,0.22) !important;
}

.search-btn {
  background: linear-gradient(135deg, var(--sky-blue), var(--sky-blue-dark)) !important;
  color: #fff !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-md) !important;
  transition: all var(--transition-base) !important;
}

.search-btn:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
  color: #1b1b4b !important;
  transform: translateY(-2px) !important;
}

/* Doctor Cards */
.doctor-card,
.team-card,
.doctors-card {
  border-radius: var(--radius-md) !important;
  box-shadow: 0 6px 24px rgba(14,165,233,0.08) !important;
  overflow: hidden !important;
  transition: all var(--transition-base) !important;
  background: var(--white) !important;
  border: 1px solid rgba(14,165,233,0.08) !important;
}

.doctor-card:hover,
.team-card:hover,
.doctors-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 24px 60px rgba(14,165,233,0.18) !important;
}

.doctor-card .doctor-specialty,
.doctors-card .specialty-badge {
  background: var(--sky-blue-pale) !important;
  color: var(--sky-blue) !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 700 !important;
}

.doctor-social a,
.team-social a {
  width: 36px;
  height: 36px;
  border-radius: 50% !important;
  background: var(--sky-blue-pale) !important;
  color: var(--sky-blue) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast) !important;
  border: 1px solid rgba(14,165,233,0.15);
}

.doctor-social a:hover,
.team-social a:hover {
  background: var(--sky-blue) !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
}

/* ================================================================
   FEATURED SERVICES SECTION
   ================================================================ */
.featured-services {
  background: var(--off-white) !important;
}

.featured-services .service-badge {
  background: var(--white) !important;
  box-shadow: var(--shadow-sm) !important;
  border-radius: var(--radius-pill) !important;
}

.featured-services .service-badge i {
  color: var(--sky-blue) !important;
}

.featured-services .service-icon-wrapper {
  background: var(--sky-blue-pale) !important;
  border-radius: 50% !important;
  transition: all var(--transition-base) !important;
}

.featured-services .service-icon-wrapper i {
  color: var(--sky-blue) !important;
}

.featured-services .service-item:hover .service-icon-wrapper {
  background: var(--sky-blue) !important;
}

.featured-services .service-item:hover .service-icon-wrapper i {
  color: #fff !important;
}

.featured-services .service-info h4 {
  color: #1b1b4b !important;
  font-weight: 700 !important;
}

.featured-services .service-link {
  color: var(--sky-blue) !important;
}

.featured-services .service-link:hover {
  color: var(--sky-blue-dark) !important;
}

/* ================================================================
   STATS / COUNTERS
   ================================================================ */
.stats-counter .stat-number,
.stat-count,
.purecounter {
  color: var(--sky-blue) !important;
  font-weight: 900 !important;
}

.sc-item {
  border-right: 1px solid rgba(255,255,255,0.1);
  padding: 40px;
  transition: background var(--transition-fast);
}

.sc-item:hover {
  background: rgba(255,255,255,0.04);
}

.sc-count {
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  font-weight: 900 !important;
  color: var(--gold) !important;
}

.sc-label {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,0.8) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Dark stats section */
.stats-section,
.parallax-stats {
  background: linear-gradient(135deg, #1b1b4b 0%, var(--sky-blue-dark) 100%) !important;
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials-section,
.testi-section {
  background: var(--off-white) !important;
}

.testi-card,
.testimonial-card {
  background: var(--white) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 8px 32px rgba(14,165,233,0.08) !important;
  border: 1px solid rgba(14,165,233,0.08) !important;
  transition: all var(--transition-base) !important;
  position: relative;
  overflow: hidden;
}

.testi-card:hover,
.testimonial-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 24px 60px rgba(14,165,233,0.16) !important;
}

.testi-card::before,
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 24px;
  font-size: 100px;
  font-family: var(--font-display);
  color: var(--sky-blue-pale);
  line-height: 1;
  z-index: 0;
}

.testi-quote,
.testimonial-text {
  color: #475569 !important;
  font-style: italic !important;
  line-height: 1.85 !important;
  font-size: 0.95rem !important;
}

.testi-rating i,
.rating-stars i {
  color: var(--gold) !important;
}

.testi-label,
.testi-section .section-label {
  background: var(--sky-blue-pale) !important;
  color: var(--sky-blue) !important;
}

/* ================================================================
   FACILITY / GALLERY
   ================================================================ */
.facility-section,
.gallery-section {
  background: var(--white) !important;
}

.facility-card,
.gallery-item {
  border-radius: var(--radius-md) !important;
  overflow: hidden !important;
  box-shadow: 0 6px 24px rgba(14,165,233,0.08) !important;
  transition: all var(--transition-base) !important;
}

.facility-card:hover,
.gallery-item:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-lg) !important;
}

/* Photo grid */
.fd-card-img {
  border-radius: var(--radius-md) !important;
  overflow: hidden !important;
}

.fd-card-overlay {
  background: linear-gradient(180deg, transparent 0%, rgba(14,165,233,0.9) 100%) !important;
  border-radius: 0 0 var(--radius-md) var(--radius-md) !important;
}

.fd-card-overlay-content h4 {
  color: #fff !important;
  font-weight: 800 !important;
}

.fd-card-overlay-content p {
  color: rgba(255,255,255,0.88) !important;
}

.fd-label,
.fg-label {
  background: var(--sky-blue-pale) !important;
  color: var(--sky-blue) !important;
  border: 1.5px solid rgba(14,165,233,0.15) !important;
  border-radius: var(--radius-pill) !important;
}

.fd-label i,
.fg-label i {
  color: var(--sky-blue) !important;
}

/* ================================================================
   APPOINTMENT PAGE
   ================================================================ */
.appointment-section {
  background: var(--off-white) !important;
}

.appointment-form {
  background: var(--white) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 12px 48px rgba(14,165,233,0.12) !important;
  border: 1px solid rgba(14,165,233,0.08) !important;
}

.appointment-form .form-control,
.appointment-form select {
  border-radius: var(--radius-sm) !important;
  border: 1.5px solid rgba(14,165,233,0.15) !important;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast) !important;
  font-family: var(--font-body) !important;
}

.appointment-form .form-control:focus,
.appointment-form select:focus {
  border-color: var(--sky-blue) !important;
  box-shadow: 0 0 0 3px rgba(14,165,233,0.10) !important;
  outline: none !important;
}

.appointment-form .btn[type="submit"] {
  background: linear-gradient(135deg, var(--sky-blue), var(--sky-blue-dark)) !important;
  color: #fff !important;
  border-radius: var(--radius-pill) !important;
  padding: 14px 40px !important;
}

/* ================================================================
   CONTACT SECTION
   ================================================================ */
.contact .contact-info-card {
  background: var(--white) !important;
  border-radius: var(--radius-md) !important;
  padding: 28px !important;
  box-shadow: 0 6px 24px rgba(14,165,233,0.08) !important;
  border: 1.5px solid rgba(14,165,233,0.08) !important;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 16px;
  transition: all var(--transition-base) !important;
}

.contact .contact-info-card:hover {
  border-color: var(--sky-blue) !important;
  box-shadow: var(--shadow-md) !important;
  transform: translateX(4px) !important;
}

.contact .contact-info-card .icon-box {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: linear-gradient(135deg, var(--sky-blue-pale), rgba(14,165,233,0.08));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact .contact-info-card .icon-box i {
  color: var(--sky-blue) !important;
  font-size: 22px;
}

.contact .contact-info-card.highlight-card {
  border-color: var(--sky-blue) !important;
  background: var(--sky-blue-pale) !important;
}

.contact .contact-info-card h4 {
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: #1b1b4b !important;
  margin-bottom: 6px !important;
}

.contact .contact-info-card p,
.contact .contact-info-card .hours-list li {
  font-size: 0.92rem !important;
  color: #475569 !important;
  margin: 0 !important;
}

.contact .contact-info-card .hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact .contact-info-card .hours-list li {
  border-bottom: 1px solid rgba(14,165,233,0.08);
  padding: 4px 0;
}

.contact .contact-info-card .emergency-hours {
  color: var(--red-accent) !important;
  font-weight: 800 !important;
}

/* Map */
.map-container-modern {
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
  box-shadow: 0 24px 60px rgba(14,165,233,0.14) !important;
  border: 3px solid rgba(14,165,233,0.10) !important;
  height: 100%;
  min-height: 360px;
  position: relative;
}

.map-container-modern iframe {
  border-radius: var(--radius-lg) !important;
  display: block;
}

.map-overlay-badge {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  background: var(--white) !important;
  color: var(--sky-blue) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 8px 18px !important;
  border-radius: var(--radius-pill) !important;
  box-shadow: var(--shadow-sm) !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  border: 1.5px solid rgba(14,165,233,0.12) !important;
  z-index: 10 !important;
}

/* ================================================================
   EVENTS SECTION
   ================================================================ */
.events-section {
  background: var(--white) !important;
}

.event-card {
  border-radius: var(--radius-md) !important;
  overflow: hidden !important;
  box-shadow: 0 6px 24px rgba(14,165,233,0.08) !important;
  transition: all var(--transition-base) !important;
  background: var(--white) !important;
  border: 1px solid rgba(14,165,233,0.08) !important;
}

.event-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-lg) !important;
}

.event-date-badge {
  background: linear-gradient(135deg, var(--sky-blue), var(--sky-blue-dark)) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
}

.event-category {
  background: var(--sky-blue-pale) !important;
  color: var(--sky-blue) !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 700 !important;
}

/* ================================================================
   FAQ SECTION
   ================================================================ */
.faq-section {
  background: var(--off-white) !important;
}

.accordion-item {
  border: 1.5px solid rgba(14,165,233,0.12) !important;
  border-radius: var(--radius-md) !important;
  margin-bottom: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 12px rgba(14,165,233,0.04) !important;
  transition: box-shadow var(--transition-fast) !important;
}

.accordion-item:hover {
  box-shadow: var(--shadow-md) !important;
}

.accordion-button {
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  color: #1b1b4b !important;
  background: var(--white) !important;
  padding: 20px 24px !important;
}

.accordion-button:not(.collapsed) {
  background: var(--sky-blue-pale) !important;
  color: var(--sky-blue) !important;
  box-shadow: none !important;
}

.accordion-button::after {
  filter: none !important;
}

.accordion-button:not(.collapsed)::after {
  filter: invert(40%) sepia(99%) saturate(2000%) hue-rotate(185deg) brightness(95%) !important;
}

.accordion-body {
  color: #475569 !important;
  font-size: 0.95rem !important;
  line-height: 1.8 !important;
  padding: 0 24px 24px !important;
  background: var(--white) !important;
}

/* ================================================================
   HERO BANNERS — INNER PAGES
   ================================================================ */
.custom-about-hero,
.custom-contact-hero,
.custom-doctors-hero,
.custom-facility-hero,
.custom-services-hero,
.custom-events-hero,
.page-hero-banner {
  background: linear-gradient(135deg, #1b1b4b 0%, var(--sky-blue-dark) 100%) !important;
  position: relative !important;
  padding: 150px 0 90px !important;
  text-align: center !important;
  overflow: hidden !important;
}

.custom-about-hero::after,
.custom-contact-hero::after,
.page-hero-banner::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(60% 100% at 50% 100%);
}

.custom-about-hero h1,
.custom-contact-hero h1,
.page-hero-banner h1 {
  color: #fff !important;
  font-size: clamp(2.2rem, 5vw, 3.5rem) !important;
  font-weight: 900 !important;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
}

.custom-about-hero h1 .highlight,
.custom-contact-hero h1 .highlight,
.page-hero-banner h1 .highlight {
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
}

/* Breadcrumbs in hero */
.hero-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.10) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  border-radius: var(--radius-pill) !important;
  padding: 10px 28px !important;
  margin-top: 30px !important;
}

.hero-breadcrumbs a {
  color: #fff !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: color var(--transition-fast) !important;
}

.hero-breadcrumbs a:hover {
  color: var(--gold) !important;
}

.hero-breadcrumbs span {
  color: rgba(255,255,255,0.45) !important;
}

.hero-breadcrumbs .current {
  color: var(--gold) !important;
  font-weight: 700 !important;
}

/* ================================================================
   PARALLAX CTA SECTION
   ================================================================ */
.parallax-cta {
  position: relative !important;
  overflow: hidden !important;
  padding: 55px 0 !important;
}

.parallax-cta::before {
  background: linear-gradient(135deg, rgba(27,27,75,0.90), rgba(14,165,233,0.78)) !important;
}

.parallax-title {
  color: #fff !important;
  font-size: clamp(2rem, 4.5vw, 3rem) !important;
  font-weight: 900 !important;
}

.parallax-title span {
  color: var(--gold) !important;
}

.parallax-text {
  color: rgba(255,255,255,0.92) !important;
  font-size: 1.08rem !important;
  line-height: 1.85 !important;
}

.parallax-cta .btn-primary {
  background: linear-gradient(135deg, var(--sky-blue), var(--sky-blue-dark)) !important;
  border-color: var(--sky-blue) !important;
  border-radius: var(--radius-pill) !important;
  padding: 14px 40px !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 30px rgba(14,165,233,0.35) !important;
}

.parallax-cta .btn-primary:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
  border-color: var(--gold) !important;
  color: #1b1b4b !important;
  transform: translateY(-3px) !important;
}

.parallax-cta .btn-outline-light {
  border: 2px solid rgba(255,255,255,0.6) !important;
  color: #fff !important;
  border-radius: var(--radius-pill) !important;
  padding: 14px 36px !important;
}

.parallax-cta .btn-outline-light:hover {
  background: #fff !important;
  color: #1b1b4b !important;
  border-color: #fff !important;
}

/* ================================================================
   PROCESS STEPS
   ================================================================ */
.process-icon {
  border: 2px solid rgba(14,165,233,0.18) !important;
  background: var(--white) !important;
  box-shadow: 0 8px 24px rgba(14,165,233,0.08) !important;
  transition: all var(--transition-base) !important;
}

.process-icon i {
  color: var(--sky-blue) !important;
  font-size: 2rem !important;
}

.process-item:hover .process-icon {
  background: var(--sky-blue) !important;
  border-color: var(--sky-blue) !important;
  box-shadow: 0 16px 40px rgba(14,165,233,0.35) !important;
  transform: translateY(-6px) !important;
}

.process-item:hover .process-icon i {
  color: #fff !important;
}

.process-item h4 {
  color: #1b1b4b !important;
  font-weight: 800 !important;
}

.process-item p {
  color: #64748b !important;
}

.process-item:not(:last-child)::after {
  border-top: 2px dashed rgba(14,165,233,0.30) !important;
}

/* ================================================================
   READY SECTION
   ================================================================ */
.ready-section h2 {
  color: #1b1b4b !important;
  font-weight: 900 !important;
}

.ready-accent {
  color: var(--sky-blue) !important;
  -webkit-text-fill-color: var(--sky-blue) !important;
}

.ready-pulse {
  color: var(--sky-blue) !important;
}

.ready-pulse::before,
.ready-pulse::after {
  background: var(--sky-blue) !important;
}

/* ================================================================
   FOOTER — ENHANCED
   ================================================================ */
.footer,
.footer-clean {
  background: linear-gradient(180deg, #12122f 0%, #1b1b4b 100%) !important;
  color: rgba(255,255,255,0.82) !important;
  padding-top: 80px !important;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sky-blue) 0%, var(--gold) 50%, var(--sky-blue) 100%);
}

/* Footer logo */
.footer-logo .sitename {
  font-family: var(--font-display) !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: #fff !important;
}

.footer-logo-img {
  max-height: 48px !important;
  margin-right: 12px;
}

/* Brand desc */
.footer p.brand-desc,
.footer-about p {
  color: rgba(255,255,255,0.62) !important;
  font-size: 0.92rem !important;
  line-height: 1.85 !important;
}

/* Footer headings */
.footer h4,
.footer-links h4,
.footer-contact h4 {
  color: #fff !important;
  font-family: var(--font-display) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  margin-bottom: 20px !important;
  position: relative;
  padding-bottom: 12px;
}

.footer h4::after,
.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--sky-blue), var(--gold));
  border-radius: var(--radius-pill);
}

/* Footer nav links */
.footer-links ul,
.footer-nav {
  list-style: none !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links ul li a,
.footer-nav a {
  color: rgba(255,255,255,0.62) !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
  transition: all var(--transition-fast) !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links ul li a::before {
  content: '›';
  color: var(--sky-blue) !important;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform var(--transition-fast);
}

.footer-links ul li a:hover,
.footer-nav a:hover {
  color: var(--sky-blue-light) !important;
  transform: translateX(5px) !important;
}

.footer-links ul li a:hover::before {
  transform: translateX(3px);
}

/* Contact info in footer */
.contact-info-item,
.footer-contact .contact-info-list .contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-info-item i {
  color: var(--sky-blue-light) !important;
  font-size: 17px;
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-info-item p {
  color: rgba(255,255,255,0.65) !important;
  font-size: 0.88rem !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

/* Social links */
.footer .social-links {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.footer .social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.08) !important;
  color: rgba(255,255,255,0.7) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 17px;
  transition: all var(--transition-base) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  box-shadow: none !important;
}

.footer .social-links a:hover {
  background: var(--sky-blue) !important;
  color: #fff !important;
  border-color: var(--sky-blue) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 20px rgba(14,165,233,0.35) !important;
}

/* Footer bottom bar */
.footer-bottom {
  background: rgba(0,0,0,0.25) !important;
  padding: 20px 0 !important;
  margin-top: 60px !important;
  border-top: 1px solid rgba(255,255,255,0.07) !important;
}

.footer-bottom p,
.footer-bottom .copyright p {
  color: rgba(255,255,255,0.55) !important;
  font-size: 13px !important;
  margin: 0 !important;
  text-align: center !important;
}

.footer-bottom strong {
  color: rgba(255,255,255,0.85) !important;
}

/* ================================================================
   FORMS — GLOBAL
   ================================================================ */
.form-control,
.form-select {
  border: 1.5px solid rgba(14,165,233,0.18) !important;
  border-radius: var(--radius-sm) !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  padding: 12px 16px !important;
  background: var(--white) !important;
  color: #1e293b !important;
  transition: all var(--transition-fast) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--sky-blue) !important;
  box-shadow: 0 0 0 3px rgba(14,165,233,0.12) !important;
  outline: none !important;
}

.form-label {
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  color: #374151 !important;
  letter-spacing: 0.3px;
  margin-bottom: 6px !important;
}

/* ================================================================
   SCROLL TOP BUTTON
   ================================================================ */
.scroll-top {
  background: linear-gradient(135deg, var(--sky-blue), var(--sky-blue-dark)) !important;
  box-shadow: 0 6px 20px rgba(14,165,233,0.40) !important;
  border-radius: 50% !important;
  width: 46px !important;
  height: 46px !important;
  transition: all var(--transition-base) !important;
}

.scroll-top:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
  box-shadow: var(--shadow-gold) !important;
  transform: translateY(-4px) !important;
}

.scroll-top i {
  color: #fff !important;
  font-size: 20px !important;
}

/* ================================================================
   PRELOADER
   ================================================================ */
#preloader {
  background: #fff !important;
}

#preloader::before,
#preloader::after {
  border-color: var(--sky-blue) !important;
}

/* ================================================================
   PAGE TITLE (inner pages breadcrumb)
   ================================================================ */
.page-title {
  background: linear-gradient(135deg, #1b1b4b, var(--sky-blue-dark)) !important;
  padding-top: var(--header-height) !important;
}

.page-title .heading {
  padding: 40px 0 !important;
}

.page-title .heading h1 {
  color: #fff !important;
  font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
  font-weight: 800 !important;
}

.page-title nav {
  background: rgba(255,255,255,0.08) !important;
}

.page-title nav ol li,
.page-title nav ol li a {
  color: rgba(255,255,255,0.75) !important;
  font-size: 14px !important;
}

.page-title nav ol li a:hover {
  color: var(--gold) !important;
}

.page-title nav ol li.active {
  color: var(--gold) !important;
}

.page-title nav ol li + li::before {
  color: rgba(255,255,255,0.35) !important;
}

/* ================================================================
   ABOUT PAGE SPECIFIC — MISSION / VISION BOXES
   ================================================================ */
.mission-vision-box {
  border-left: 5px solid var(--sky-blue) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 6px 28px rgba(14,165,233,0.08) !important;
  background: var(--white) !important;
}

.mission-vision-box h3 {
  color: #1b1b4b !important;
}

/* Values / attractive cards */
.attractive-card {
  border-radius: var(--radius-lg) !important;
}

.attractive-card:hover h4 {
  color: var(--gold) !important;
}

.attractive-card:hover .icon-box-rounded {
  background: var(--gold) !important;
  color: #1b1b4b !important;
}

/* Management cards */
.management-header .subtitle {
  color: var(--gold) !important;
}

.management-header h2 {
  color: #1b1b4b !important;
}

.management-img-wrapper {
  background: linear-gradient(135deg, var(--sky-blue), var(--sky-blue-dark)) !important;
  box-shadow: 0 12px 30px rgba(14,165,233,0.22) !important;
}

.management-img-wrapper::before {
  border-color: var(--gold) !important;
}

.management-card .role {
  color: var(--gold-dark) !important;
  background: rgba(245,158,11,0.10) !important;
}

/* Section tags */
.section-tag {
  background: var(--sky-blue-pale) !important;
  color: var(--sky-blue) !important;
}

.section-tag-animated {
  background: linear-gradient(135deg, var(--sky-blue), var(--sky-blue-dark)) !important;
  box-shadow: 0 8px 24px rgba(14,165,233,0.22) !important;
}

/* ================================================================
   SERVICES PAGE
   ================================================================ */
.services-section {
  background: var(--off-white) !important;
}

.service-card {
  border-radius: var(--radius-md) !important;
  overflow: hidden !important;
  box-shadow: 0 6px 24px rgba(14,165,233,0.08) !important;
  background: var(--white) !important;
  border: 1px solid rgba(14,165,233,0.08) !important;
  transition: all var(--transition-base) !important;
}

.service-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: var(--shadow-lg) !important;
  border-color: var(--sky-blue) !important;
}

.service-icon {
  color: var(--sky-blue) !important;
}

/* ================================================================
   DOCTORS PAGE
   ================================================================ */
.doctor-profile-img {
  border-radius: var(--radius-md) !important;
  overflow: hidden !important;
  box-shadow: var(--shadow-md) !important;
}

.doctor-info .doctor-badge {
  background: var(--sky-blue-pale) !important;
  color: var(--sky-blue) !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 700 !important;
}

.doctor-info h3,
.doctor-info h4 {
  color: #1b1b4b !important;
  font-weight: 800 !important;
}

.doctor-info .doctor-designation {
  color: var(--sky-blue) !important;
  font-weight: 600 !important;
}

/* ================================================================
   EVENTS PAGE
   ================================================================ */
.event-item {
  border-radius: var(--radius-md) !important;
  overflow: hidden !important;
  box-shadow: 0 6px 24px rgba(14,165,233,0.08) !important;
  background: var(--white) !important;
  transition: all var(--transition-base) !important;
  border: 1px solid rgba(14,165,233,0.08);
}

.event-item:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-lg) !important;
}

.event-item .event-link {
  color: var(--sky-blue) !important;
  font-weight: 700 !important;
  transition: color var(--transition-fast) !important;
}

.event-item .event-link:hover {
  color: var(--sky-blue-dark) !important;
}

/* ================================================================
   RED ACCENTS — EMERGENCY / ALERTS
   ================================================================ */
.emergency-badge,
.alert-badge,
.urgent-badge {
  background: linear-gradient(135deg, var(--red-accent), var(--red-dark)) !important;
  color: #fff !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 800 !important;
  box-shadow: var(--shadow-red) !important;
}

.emergency-icon,
.alert-icon {
  color: var(--red-accent) !important;
}

.text-emergency,
.text-danger {
  color: var(--red-accent) !important;
}

.hours-list .emergency-hours {
  color: var(--red-accent) !important;
  font-weight: 800 !important;
}

.cta-emergency-box {
  border-left: 4px solid var(--red-accent) !important;
  background: var(--red-pale) !important;
  border-radius: 0 var(--radius-md) var(--radius-md) 0 !important;
}

/* ================================================================
   GOLD ACCENTS — HIGHLIGHTS
   ================================================================ */
.text-gold {
  color: var(--gold) !important;
}

.bg-gold {
  background: var(--gold) !important;
  color: #1b1b4b !important;
}

.badge-gold {
  background: var(--gold-pale) !important;
  color: var(--gold-dark) !important;
  border: 1px solid rgba(245,158,11,0.20) !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 700 !important;
}

.testi-card .testi-name,
.testimonial-card .author-name {
  color: #1b1b4b !important;
  font-weight: 800 !important;
}

.testi-card .testi-role,
.testimonial-card .author-role {
  color: var(--sky-blue) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
}

/* ================================================================
   LIGHTBOX / GLIGHTBOX
   ================================================================ */
.glightbox-clean .gslide-title {
  color: #fff !important;
  font-family: var(--font-display) !important;
}

/* ================================================================
   SWIPER PAGINATION
   ================================================================ */
.swiper-pagination-bullet {
  background: rgba(14,165,233,0.40) !important;
  transition: all var(--transition-fast) !important;
}

.swiper-pagination-bullet-active {
  background: var(--sky-blue) !important;
  width: 24px !important;
  border-radius: var(--radius-pill) !important;
}

/* ================================================================
   AOS IMPROVEMENTS
   ================================================================ */
[data-aos] {
  transition-timing-function: cubic-bezier(0.34, 1.0, 0.64, 1) !important;
}

/* ================================================================
   CARD HOVER LIFT — GLOBAL UTILITY
   ================================================================ */
.card-hover {
  transition: all var(--transition-base) !important;
}

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

/* ================================================================
   SECTION ALTERNATION (light / white backgrounds)
   ================================================================ */
section.light-background,
.section.light-background {
  background: var(--off-white) !important;
}

/* ================================================================
   RESPONSIVE FIXES — NO OVERLAP
   ================================================================ */

/* Prevent hero and inner page banners overlap with fixed header */
.hero,
.custom-about-hero,
.custom-contact-hero,
.custom-doctors-hero,
.page-hero-banner,
.page-title {
  padding-top: calc(var(--header-height) + 40px) !important;
  padding-bottom: 80px !important;
}

@media (max-width: 1199px) {
  .hero,
  .custom-about-hero,
  .custom-contact-hero,
  .custom-doctors-hero,
  .page-title {
    padding-top: calc(var(--header-height) + 20px) !important;
    min-height: auto !important;
  }
}

/* Remove extreme gaps between sections */
section,
.section {
  padding: 45px 0 !important;
}

.pb-4 {
  padding-bottom: 1.5rem !important;
}

/* Fix Search Button clash */
.btn-search,
#search-btn {
  background-color: var(--gold) !important;
  color: #1b1b4b !important;
  border-radius: var(--radius-pill) !important;
  padding: 12px 30px !important;
  font-weight: 700 !important;
  transition: all 0.3s ease !important;
  border: none !important;
  box-shadow: var(--shadow-sm) !important;
}

.btn-search:hover,
#search-btn:hover {
  background-color: var(--sky-blue) !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-md) !important;
}

/* Remove overflow on small viewports */
@media (max-width: 767px) {
  .premium-photo-grid {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    gap: 16px !important;
    padding: 20px 0 !important;
  }

  .grid-img { height: 220px !important; }

  .experience-badge-float {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    margin: 0 auto 20px !important;
    display: inline-block !important;
  }

  .top-single-card {
    margin-bottom: 8px !important;
  }

  /* Stack hero cleanly */
  .hero .row .col-lg-6 {
    margin-bottom: 24px;
  }

  /* Book appointment button full width on mobile */
  .navmenu .book-appointment-btn a {
    margin-left: 0 !important;
    margin-top: 8px !important;
    width: 100% !important;
    justify-content: center !important;
    border-radius: 14px !important;
  }

  /* Footer columns stack */
  .footer-nav-wrapper {
    padding-left: 0 !important;
    margin-top: 40px !important;
  }

  /* Contact info gap fix */
  .contact .contact-cards-wrapper {
    gap: 12px !important;
  }

  /* Section headings responsive */
  .section-title h2 {
    font-size: 1.7rem !important;
  }

  /* Hero actions stacked */
  .hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .hero-actions .btn {
    text-align: center !important;
    justify-content: center !important;
  }

  /* Map min-height on mobile */
  .map-container-modern {
    min-height: 280px !important;
  }
}

@media (max-width: 575px) {
  .hero-stats {
    gap: 1.5rem !important;
  }

  .stat-item h3 {
    font-size: 1.7rem !important;
  }

  .hero .hero-content h1 {
    font-size: 1.9rem !important;
  }

  .custom-about-hero h1,
  .custom-contact-hero h1 {
    font-size: 1.9rem !important;
  }

  .ha-trust-pills {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .ha-trust-pill {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ================================================================
   MICRO-ANIMATIONS
   ================================================================ */
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

.pulse-ring {
  position: relative;
}

.pulse-ring::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--sky-blue);
  animation: pulse-ring 1.5s ease-out infinite;
}

@keyframes shimmer {
  0% { background-position: -400% 0; }
  100% { background-position: 400% 0; }
}

.btn-primary:active {
  transform: scale(0.97) !important;
}

/* Floating animation for badge elements */
@keyframes float-gentle {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.float-gentle {
  animation: float-gentle 4s ease-in-out infinite;
}

/* ================================================================
   UTILITY
   ================================================================ */
.text-sky { color: var(--sky-blue) !important; }
.text-sky-dark { color: var(--sky-blue-dark) !important; }
.bg-sky { background: var(--sky-blue) !important; color: #fff !important; }
.bg-sky-pale { background: var(--sky-blue-pale) !important; }
.border-sky { border-color: var(--sky-blue) !important; }

.rounded-pill { border-radius: var(--radius-pill) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }

.shadow-sky { box-shadow: var(--shadow-md) !important; }
.shadow-gold { box-shadow: var(--shadow-gold) !important; }
.shadow-red { box-shadow: var(--shadow-red) !important; }

/* Injected Blocks Restored */
.top-single-card .bg-icon {
  position: absolute;
  bottom: 10px;
  right: 15px;
  font-size: 80px;
  opacity: 0.1;
  color: #fff;
  pointer-events: none;
}

.parallax-cta {
  background-image: linear-gradient(rgba(27, 27, 75, 0.8), rgba(27, 27, 75, 0.8)), url('../img/health/facilities-1.webp') !important;
  background-attachment: fixed !important;
  background-position: center !important;
  background-size: cover !important;
  padding: 60px 0 !important;
  color: #ffffff !important;
  text-align: center;
}

.parallax-cta h2 {
  font-family: var(--font-display) !important;
  font-weight: 900 !important;
  font-size: clamp(2.2rem, 5vw, 3.5rem) !important;
  color: #ffffff !important;
  margin-bottom: 25px !important;
}

.process-item {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}

.process-icon {
  width: 85px;
  height: 85px;
  background: var(--sky-blue-pale);
  color: var(--sky-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 25px;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 20px rgba(14,165,233, 0.12);
  transition: all 0.4s ease;
}

.process-item:hover .process-icon {
  background: var(--sky-blue);
  color: #ffffff;
  transform: translateY(-5px);
}

.process-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 42px;
  left: 50%;
  width: 100%;
  border-top: 2px dotted var(--sky-blue-light);
  z-index: 1;
}

.ready-section h2 {
  font-family: var(--font-display) !important;
  font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
  font-weight: 900 !important;
}

.ready-accent {
  color: var(--sky-blue);
}

.top-hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.top-hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}

/* ================================================================
   PREMIUM INNER PAGE HEROS ( appointment, events, etc)
   ================================================================ */

.custom-about-hero, .custom-contact-hero, .custom-doctors-hero,
.custom-appointment-hero, .custom-events-hero, .custom-services-hero,
.custom-details-hero, .custom-facility-hero, .custom-faq-hero {
  position: relative;
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed !important;
  color: #fff !important;
  overflow: hidden;
  text-align: center;
}

.custom-about-hero::before, .custom-contact-hero::before, .custom-doctors-hero::before,
.custom-appointment-hero::before, .custom-events-hero::before, .custom-services-hero::before,
.custom-details-hero::before, .custom-facility-hero::before, .custom-faq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27, 27, 75, 0.92) 0%, rgba(26, 118, 209, 0.85) 100%);
  backdrop-filter: blur(3px);
  z-index: 1;
}

.custom-about-hero .container, .custom-contact-hero .container, .custom-doctors-hero .container,
.custom-appointment-hero .container, .custom-events-hero .container, .custom-services-hero .container,
.custom-details-hero .container, .custom-facility-hero .container, .custom-faq-hero .container {
  position: relative;
  z-index: 2;
}

.custom-about-hero h1, .custom-contact-hero h1, .custom-doctors-hero h1,
.custom-appointment-hero h1, .custom-events-hero h1, .custom-services-hero h1,
.custom-details-hero h1, .custom-facility-hero h1, .custom-faq-hero h1 {
  font-family: var(--font-display) !important;
  font-weight: 900 !important;
  color: #fff !important;
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  margin-bottom: 20px;
  letter-spacing: -1px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.custom-about-hero h1 .highlight, .custom-contact-hero h1 .highlight, .custom-doctors-hero h1 .highlight {
  color: var(--gold) !important;
}

/* Breadcrumbs */
.hero-breadcrumbs {
  margin-top: 35px;
  display: inline-flex;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  padding: 10px 30px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-breadcrumbs a {
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.hero-breadcrumbs a:hover {
  color: var(--gold) !important;
}

.hero-breadcrumbs span {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 12px;
}

.hero-breadcrumbs .current {
  color: var(--gold) !important;
  font-weight: 700;
}

/* ================================================================
   INNER PAGE COMPONENTS
   ================================================================ */

/* Appointment Form Card */
.appointment-form-card {
  background: #ffffff !important;
  border-radius: 20px !important;
  padding: 40px !important;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08) !important;
  margin-top: -60px !important;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(0, 0, 0, 0.02) !important;
}

.appointment-form-card h3 {
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  color: #1b1b4b !important;
  margin-bottom: 30px !important;
}

/* Service & Facility Cards */
.service-item-card, .facility-item-card {
  background: #ffffff !important;
  border-radius: 15px !important;
  padding: 30px !important;
  height: 100% !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid #f1f5f9 !important;
  transition: all 0.3s ease !important;
  text-align: center;
}

.service-item-card:hover, .facility-item-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 20px 40px rgba(14,165,233, 0.12) !important;
  border-color: var(--sky-blue) !important;
}

.service-icon-box {
  width: 70px;
  height: 70px;
  background: var(--sky-blue-pale) !important;
  color: var(--sky-blue) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 28px !important;
  margin: 0 auto 20px !important;
}

.service-item-card:hover .service-icon-box {
  background: var(--sky-blue) !important;
  color: #ffffff !important;
}

.facility-img-box {
  height: 240px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 20px;
}

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

.facility-item-card:hover .facility-img-box img {
  transform: scale(1.1);
}

.hero-shape-1 {
  top: 20%;
  left: 5%;
  font-size: 80px;
  color: rgba(255, 255, 255, 0.05);
  transform: rotate(15deg);
  animation: float-gentle 7s ease-in-out infinite;
}

/* Premium Service Cards (Modern Variant) */
.premium-service-card {
  background: #ffffff !important;
  border-radius: 40px !important;
  overflow: hidden !important;
  box-shadow: 0 25px 60px rgba(27, 27, 75, 0.06) !important;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  height: 100% !important;
  border: 1px solid rgba(255, 255, 255, 1) !important;
  position: relative !important;
}

.premium-service-card:hover {
  transform: translateY(-20px) scale(1.02) !important;
  box-shadow: 0 45px 100px rgba(14,165,233, 0.18) !important;
}

.service-img-container {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-label {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  padding: 8px 18px;
  border-radius: 50px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 3;
}

.service-icon-float {
  position: absolute;
  bottom: -35px;
  right: 40px;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--sky-blue-dark) 0%, #172554 100%);
  color: #ffffff;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 15px 35px rgba(14,165,233, 0.4);
  z-index: 5;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 4px solid #ffffff;
}

.premium-service-card:hover .service-icon-float {
  background: linear-gradient(135deg, var(--gold) 0%, #B45309 100%);
  color: #1b1b4b;
}

.service-content-premium {
  padding: 40px 25px 30px;
  position: relative;
}

.service-number {
  position: absolute;
  top: -10px;
  right: 30px;
  font-size: 80px;
  font-weight: 900;
  color: rgba(14,165,233, 0.04);
  line-height: 1;
}

.premium-btn-service {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #1b1b4b;
  color: #ffffff;
  width: 100%;
  padding: 12px;
  border-radius: 18px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.4s;
}

/* Facility Photo Card (Galleries) */
.facility-photo-card {
  position: relative !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  margin-bottom: 30px !important;
  height: 250px !important;
  display: flex !important;
  align-items: flex-end !important;
}

.facility-photo-card img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.5s ease !important;
  z-index: 1 !important;
}

.facility-photo-card:hover img {
  transform: scale(1.05) !important;
}

.facility-photo-card .overlay {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 70% !important;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%) !important;
  z-index: 2 !important;
  padding: 30px 20px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
}

.category-badge {
  display: inline-block !important;
  background-color: var(--sky-blue) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 5px 12px !important;
  border-radius: 20px !important;
  margin-bottom: 8px !important;
  align-self: flex-start !important;
  text-transform: uppercase !important;
}

.facility-photo-card h3 {
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  margin: 0 !important;
}

/* Custom Pagination */
.custom-pagination .page-item .page-link {
  border: none !important;
  color: #64748b !important;
  margin: 0 4px !important;
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 600 !important;
  transition: all 0.3s !important;
}

/* Events Sidebar Widgets */
.sidebar-widget {
  background: #fff !important;
  border-radius: 15px !important;
  padding: 25px !important;
  margin-bottom: 30px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04) !important;
  border: 1px solid #f0f0f0 !important;
}

.widget-title {
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  color: #1b1b4b !important;
  margin-bottom: 20px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--sky-blue);
  display: inline-block;
}

.archive-view-all {
  display: block;
  background: #1b1b4b;
  color: #fff !important;
  text-align: center;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.archive-select {
  width: 100%;
  padding: 10px 15px;
  border: 2px solid #e0e8f5;
  border-radius: 8px;
  color: #334155;
  background: #f8fbff;
  outline: none;
  cursor: pointer;
  margin-bottom: 15px;
}

/* Vertical Moving Related Events */
.moving-events-container {
  height: 380px;
  overflow: hidden;
  position: relative;
}

.moving-events-wrapper {
  display: flex;
  flex-direction: column;
  animation: verticalScroll 25s linear infinite;
}

.moving-events-container:hover .moving-events-wrapper {
  animation-play-state: paused;
}

@keyframes verticalScroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.moving-item {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f7f7f7;
  text-decoration: none;
  align-items: center;
}
