/*
Theme Name: NICE Hospital Redesign Theme
Theme URI: https://nice.hospital
Author: Antigravity Team
Description: A premium, benchmark custom WordPress theme designed from scratch for NICE Hospital. Focuses on Women, Newborns, and Children with Level IIIA Neonatal care.
Version: 2.0.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nice-hospital
*/

/* ==========================================================================
   1. Design System Tokens & Base Reset
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand Colors */
  --primary-blue: #1D93C8;
  --primary-blue-rgb: 29, 147, 200;
  --secondary-cyan: #00BBD7;
  --secondary-cyan-rgb: 0, 187, 215;
  --accent-pink-color: #EF5BA1;
  --accent-pink-color-rgb: 239, 91, 161;

  /* Mappings */
  --primary-emerald: var(--primary-blue);
  --primary-emerald-light: #1478a3;
  --mint-teal: var(--secondary-cyan);
  --mint-teal-rgb: var(--secondary-cyan-rgb);
  --satin-coral: var(--accent-pink-color);
  --satin-coral-rgb: var(--accent-pink-color-rgb);

  /* Backgrounds — Ferlix-inspired clean white + lavender */
  --bg-white: #ffffff;
  --bg-lavender: #F4F5FF;
  --bg-linen: #F4F5FF;
  --bg-champagne: #F4F5FF;
  --bg-card: #ffffff;

  /* Text — clean neutral greys */
  --text-dark: #1a1e27;
  --text-heading: #1a1e27;
  --text-secondary: #555e6d;
  --text-muted: #8a94a6;
  --border-color: #e8edf2;

  /* Legacy compat */
  --primary-teal: 199, 74%, 45%;
  --primary-teal-rgb: 29, 147, 200;
  --accent-pink: 332, 83%, 65%;
  --accent-pink-rgb: 239, 91, 161;

  /* Fonts */
  --font-heading: Arial, Helvetica, sans-serif;
  --font-serif: Arial, Helvetica, sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container-width: 1280px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Shadows — lighter, cleaner */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.10);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

em, i, cite, dfn, var, address {
  font-style: normal;
}

body {
  font-family: var(--font-body);
  background-color: #ffffff;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* Utilities */
.container {
  width: 100%;
  max-width: 1280px !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.grid {
  display: grid;
  gap: 30px;
}

.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-cols-12 { grid-template-columns: repeat(12, 1fr); }

.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

/* Ferlix-style alternating section backgrounds */
.section-bg-secondary,
.section-bg-lavender {
  background-color: var(--bg-lavender);
}

.section-bg-white {
  background-color: #ffffff;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-14 { margin-top: 56px; }

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-linen);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-emerald-light);
  border: 2px solid var(--bg-linen);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--mint-teal);
}

/* ==========================================================================
   2. Typography & Headings
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.highlight {
  color: var(--mint-teal);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 8px;
  background-color: rgba(var(--mint-teal-rgb), 0.15);
  z-index: -1;
  border-radius: 4px;
}

.italic-text {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 500;
}

.section-badge {
  display: inline-block;
  padding: 6px 14px;
  background-color: rgba(29, 147, 200, 0.08);
  border-left: 3px solid var(--primary-blue);
  color: var(--primary-blue);
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.section-title {
  font-size: 44px;
  max-width: 600px;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 48px;
}

.section-header-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
}

.section-header-row .section-subtitle {
  margin-bottom: 0;
  max-width: 100%;
}

/* ==========================================================================
   3. Buttons & Interactive Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border-radius: 0 !important;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

/* Global sharp buttons rule */
.btn,
.hero-cta,
.hero-cta-outline,
.btn-info-strip,
button,
.button,
input[type="submit"],
.contact-form-card .btn-submit,
.btn-white,
.btn-teal,
.btn-pink {
  border-radius: 0 !important;
}

.btn-teal {
  background-color: var(--mint-teal);
  color: #ffffff;
}

.btn-teal:hover {
  background-color: hsl(165, 80%, 30%);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -8px rgba(var(--mint-teal-rgb), 0.4);
}

.btn-pink {
  background-color: var(--satin-coral);
  color: #ffffff;
}

.btn-pink:hover {
  background-color: hsl(12, 90%, 52%);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -8px rgba(var(--satin-coral-rgb), 0.4);
}

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

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

.btn-white {
  background-color: #ffffff;
  color: var(--primary-emerald);
}

.btn-white:hover {
  background-color: var(--bg-linen);
  transform: translateY(-2px);
}

/* ==========================================================================
   4. Header & Navigation Menu
   ========================================================================== */
/* Header Top Utility Bar */
.header-top-bar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  height: 40px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 101;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.top-bar-link:hover {
  color: var(--primary-blue);
}

.top-bar-link svg {
  color: var(--secondary-cyan);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .header-top-bar {
    display: none;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(29, 147, 200, 0.12);
  border-radius: 0;
  width: 100%;
  max-width: 100% !important;
  margin: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Transparent header over hero — Ferlix pattern */
.site-header.header-transparent {
  position: absolute;
  top: 40px;
  background-color: transparent;
  border-bottom: 1px solid var(--border-color);
  box-shadow: none;
}

@media (max-width: 768px) {
  .site-header.header-transparent {
    top: 0;
  }
}

.site-header.header-transparent .desktop-nav > a,
.site-header.header-transparent .menu-item-has-children > a {
  color: var(--text-dark);
}

.site-header.header-transparent .logo-link img {
  /* Logo retains its natural branding colors against light backgrounds */
}

.site-header.header-transparent .mobile-nav-toggle {
  color: var(--text-dark);
}

/* Scrolled state — becomes white */
.site-header.scrolled {
  position: sticky;
  background-color: #ffffff;
  border-bottom: 1px solid #e8edf2;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
  width: 100%;
  max-width: 1280px;
  padding: 0 24px;
  margin: 0 auto;
}

.logo-link img {
  height: 52px;
  width: auto;
  transition: transform var(--transition-fast);
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.desktop-nav > a,
.desktop-nav .menu-item-has-children > a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-dark);
  padding: 10px 0;
  position: relative;
}

.desktop-nav > a::after,
.desktop-nav .menu-item-has-children > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--mint-teal);
  transition: width var(--transition-normal);
}

.desktop-nav > a:hover::after,
.desktop-nav .menu-item-has-children:hover > a::after {
  width: 100%;
}

.desktop-nav .active-menu-item::after {
  width: 100% !important;
}

/* Dropdown Menu styling */
.menu-item-has-children {
  position: relative;
}

.desktop-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 16px;
  list-style: none;
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.desktop-nav .menu-item-has-children:hover .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.desktop-nav .sub-menu a {
  font-weight: 500;
  font-size: 14.5px;
  color: var(--text-secondary);
  display: block;
}

.desktop-nav .sub-menu a:hover {
  color: var(--mint-teal);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  padding: 8px;
}

.mobile-nav-toggle svg {
  width: 28px;
  height: 28px;
}

/* Mobile Nav Drawer */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(var(--primary-blue-rgb), 0.25);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  z-index: 200;
}

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

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100dvh;
  background-color: var(--bg-linen);
  box-shadow: var(--shadow-xl);
  z-index: 210;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: right var(--transition-normal);
}

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

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.mobile-drawer-close {
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  padding: 4px;
}

.mobile-drawer-close svg {
  width: 28px;
  height: 28px;
}

.mobile-menu-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: auto;
}

.mobile-menu-items a {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.mobile-menu-items a.active-menu-item {
  color: var(--mint-teal);
}

.mobile-menu-items .menu-item-has-children {
  display: flex;
  flex-direction: column;
}

.mobile-menu-items .sub-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
  padding-left: 20px;
  border-left: 2px solid var(--mint-teal);
}

.mobile-menu-items .sub-menu a {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ==========================================================================
   5. Hero Section — Ferlix Light Style
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
}

/* Light hero — the Ferlix style */
.hero-section.hero-light {
  background: linear-gradient(180deg, #FFF0F3 0%, #FFF5F7 60%, #F4F8FC 100%);
  padding-top: 125px;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  .hero-section.hero-light {
    padding-top: 100px;
    padding-bottom: 0;
  }
}

/* Hero two-column split */
.hero-split {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  align-items: center;
  min-height: 620px;
}

/* Left column */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  .hero-left {
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* Eyebrow label */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-pink-color);
}

.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-pink-color);
  flex-shrink: 0;
}

/* Main heading */
.hero-heading {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin: 0;
}

@media (max-width: 768px) {
  .hero-heading {
    font-size: 28px;
    letter-spacing: -0.5px;
    line-height: 1.2;
  }
}

.hero-heading-accent {
  color: var(--accent-pink-color);
  display: inline;
}

/* Subtext */
.hero-subtext {
  font-size: 19px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 100%;
}

@media (max-width: 768px) {
  .hero-subtext {
    font-size: 17px;
    max-width: 100%;
  }
}

/* CTA Button — pink with arrow, Ferlix style */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--accent-pink-color);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(239, 91, 161, 0.35);
  align-self: flex-start;
}

.hero-cta:hover {
  background-color: #d94a8f;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(239, 91, 161, 0.45);
}

.hero-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: transparent;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  align-self: flex-start;
}

.hero-cta-outline:hover {
  background-color: var(--primary-blue);
  color: #ffffff;
}

/* Right column — image */
.hero-right {
  position: relative;
  align-self: end;
}

.hero-img-wrap {
  position: relative;
  overflow: visible;
}

.hero-doctor-img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: 30% center;
  display: block;
}



/* Floating doctor badge */
.hero-doctor-badge {
  position: absolute;
  bottom: 32px;
  left: -32px;
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  min-width: 240px;
  z-index: 3;
}

.badge-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--bg-linen);
  flex-shrink: 0;
  border: 2px solid var(--border-color);
}

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

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

.badge-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
  line-height: 1.2;
}

.badge-role {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-pink-color);
  line-height: 1.2;
}

/* Google rating row */
.hero-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 15px;
  padding-bottom: 24px;
  margin-top: -15px;
  margin-bottom: -10px;
  border: none;
}

.rating-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.google-logo-img {
  height: 16px;
  width: auto;
  display: inline-block;
}

.rating-text strong {
  font-weight: 700;
  color: var(--text-dark);
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #FFC107;
}

.rating-stars svg {
  display: block;
}

.rating-count {
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-stats {
  display: flex;
  justify-content: flex-start;
  gap: 48px;
  margin-top: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 1 auto;
  min-width: 120px;
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 23px;
  font-weight: 600;
  color: var(--secondary-cyan);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.hero-stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .hero-stats-divider {
    margin-top: 32px;
  }
  .hero-stats {
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
  }
  .hero-stat-item {
    min-width: 100%;
  }
  .hero-stat-value {
    font-size: 24px;
  }
}

/* Dark hero variant (kept for future use) */
.hero-section.hero-dark {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a3a52 100%);
  padding-top: 140px;
  padding-bottom: 140px;
}

.hero-section.hero-dark .hero-title {
  color: #ffffff;
}

.hero-section.hero-dark .hero-description {
  color: rgba(255, 255, 255, 0.75);
}

.hero-section.hero-dark .hero-stats {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.hero-section.hero-dark .stat-label {
  color: rgba(255, 255, 255, 0.6);
}

.hero-section.hero-dark .hero-badge {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
}

.hero-glow-1 {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(var(--mint-teal-rgb), 0.08) 0%, transparent 70%);
  z-index: -1;
}

.hero-glow-2 {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(var(--satin-coral-rgb), 0.06) 0%, transparent 70%);
  z-index: -1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

/* Live pulse dot animation */
.ping {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
}
.ping-dot {
  position: absolute;
  display: inline-flex;
  width: 100%;
  height: 100%;
  background-color: var(--mint-teal);
  border-radius: var(--radius-full);
  opacity: 0.75;
  animation: pulse-ring 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.static-dot {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
  background-color: var(--mint-teal);
  border-radius: var(--radius-full);
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.75; }
  100% { transform: scale(3); opacity: 0; }
}

.hero-title {
  font-size: 56px;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}



/* Doctor Matcher & Carousel Wrapper */
.hero-right-col {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-promise-card {
  position: absolute;
  bottom: 24px;
  left: -32px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 20px;
  max-width: 260px;
  z-index: 3;
}

.hero-promise-card p:first-child {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--satin-coral);
  margin-bottom: 4px;
}

.hero-promise-card p:last-child {
  font-family: var(--font-body);
  font-size: 17px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-dark);
}

/* Consultant Matcher Widget */
.matcher-widget {
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.matcher-header h3 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.matcher-header p {
  font-size: 14px;
  color: var(--text-muted);
}

.matcher-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.matcher-btn {
  width: 100%;
  text-align: left;
  background: var(--bg-linen);
  border: 1px solid var(--border-color);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-fast);
}

.matcher-btn:hover {
  background-color: rgba(var(--mint-teal-rgb), 0.05);
  border-color: rgba(var(--mint-teal-rgb), 0.3);
}

.matcher-btn svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.matcher-btn:hover svg {
  transform: translateX(4px);
  color: var(--mint-teal);
}

/* Matcher Result Modal-style Overlay */
.matcher-result {
  display: none;
  flex-direction: column;
  gap: 16px;
  background-color: var(--bg-linen);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-md);
  margin-top: 10px;
}

.matcher-result.active {
  display: flex;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.matcher-doc-header {
  display: flex;
  gap: 16px;
  align-items: center;
}

.matcher-doc-avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  object-fit: cover;
  background-color: var(--bg-champagne);
  box-shadow: var(--shadow-sm);
  border: 2px solid #ffffff;
}

.matcher-doc-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

.matcher-doc-meta {
  font-size: 13.5px;
  color: var(--mint-teal);
  font-weight: 600;
}

.matcher-result-reset {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  color: var(--satin-coral);
  cursor: pointer;
  background: none;
  border: none;
  margin-top: 8px;
}

.matcher-result-reset:hover {
  text-decoration: underline;
}

/* ==========================================================================
   6. Ferlix-Style Info Strip Banner
   ========================================================================== */
.info-strip-banner {
  margin-top: -40px;
  position: relative;
  z-index: 10;
  margin-bottom: 80px;
}

.info-strip-container {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 40px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.info-strip-card {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition-fast) ease;
}

.info-strip-card:hover {
  transform: translateY(-2px);
}

.info-strip-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: rgba(29, 147, 200, 0.08); /* subtle blue tint */
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast) ease;
  flex-shrink: 0;
}

.info-strip-card:hover .info-strip-icon-box {
  background-color: var(--primary-blue);
  color: #ffffff;
}

.info-strip-text h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.info-strip-text p {
  font-size: 13.5px;
  color: var(--text-secondary);
  font-weight: 500;
  margin: 0;
}

.info-strip-cta {
  margin-left: auto;
}

.btn-info-strip {
  background-color: var(--accent-pink-color);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all var(--transition-fast) ease;
  box-shadow: 0 4px 14px rgba(239, 91, 161, 0.25);
  border: none;
  cursor: pointer;
}

.btn-info-strip:hover {
  background-color: #d94a8f;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(239, 91, 161, 0.35);
}

.btn-info-strip svg {
  transition: transform var(--transition-normal);
}

.btn-info-strip:hover svg {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 24px;
  }
  .hero-left {
    gap: 20px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }
  .hero-cta,
  .hero-cta-outline {
    justify-content: center;
    text-align: center;
    align-self: stretch;
    width: 100%;
    padding: 14px 24px;
    white-space: nowrap;
    box-sizing: border-box;
  }
  .hero-right {
    order: -1;
  }
  .hero-doctor-img {
    height: 320px;
    object-position: center top;
  }
  .hero-doctor-badge {
    left: 12px;
    bottom: 16px;
    min-width: auto;
  }
  .hero-rating {
    padding-top: 8px;
    padding-bottom: 16px;
    margin-top: 0;
    margin-bottom: 0;
  }
  .hero-subtext {
    font-size: 15px;
    line-height: 1.65;
  }
  .info-strip-banner {
    margin-top: 0;
    margin-bottom: 50px;
    padding: 0 20px;
  }
  .info-strip-container {
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .info-strip-cta {
    margin-left: 0;
    width: 100%;
  }
  .btn-info-strip {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   7. Interactive Specialities Explorer (Tab System)
   ========================================================================== */
.explorer-tabs {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}

.explorer-tab-btn {
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

.explorer-tab-btn:hover {
  color: var(--primary-emerald);
  background-color: rgba(var(--mint-teal-rgb), 0.05);
}

.explorer-tab-btn.active {
  color: #ffffff;
  background-color: var(--primary-emerald);
  box-shadow: var(--shadow-md);
}

.explorer-content-panel {
  display: none;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.explorer-content-panel.active {
  display: grid;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.explorer-img-wrapper {
  grid-column: span 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}

.explorer-img-wrapper img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.explorer-content-panel:hover .explorer-img-wrapper img {
  transform: scale(1.03);
}

.explorer-text-block {
  grid-column: span 7;
}

.explorer-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--mint-teal);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.explorer-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.explorer-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.explorer-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.explorer-stat-num {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-emerald);
}

.explorer-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   8. Doctors Cards & Hub Grid
   ========================================================================== */
.doctor-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0; /* Sharp corners constraint */
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(29, 147, 200, 0.25);
}

.doctor-img-wrapper {
  position: relative;
  height: 320px; /* Taller image wrapper for portrait crop */
  background-color: var(--bg-champagne);
  overflow: hidden;
  border-bottom: 1px solid var(--border-color); /* Calm, clean separator line */
}

.doctor-img-wrapper img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(100% * var(--doc-scale, 1.0));
  height: calc(100% * var(--doc-scale, 1.0));
  object-fit: cover;
  object-position: var(--doc-pos, center 15%);
  transform: translate(-50%, -50%) scale(1.0);
  transition: transform var(--transition-slow);
}

.doctor-card:hover .doctor-img-wrapper img {
  transform: translate(-50%, -50%) scale(1.05);
}

.doctor-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.doctor-dept {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--mint-teal);
  margin-bottom: 8px;
}

.doctor-name {
  font-size: 22px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.doctor-title {
  font-size: 14.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 16px;
}

.doctor-bio {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
}

.doctor-details-list {
  list-style: none;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.doctor-details-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13.5px;
}

.doctor-details-list li span:first-child {
  font-weight: 600;
  color: var(--text-muted);
}

.doctor-details-list li span:last-child {
  font-weight: 700;
  color: var(--text-dark);
  word-wrap: break-word;
}

.doctor-booking-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--satin-coral);
}

.doctor-booking-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.doctor-booking-link:hover {
  color: hsl(12, 90%, 50%);
}

.doctor-booking-link:hover svg {
  transform: translateX(4px);
}

/* Doctors Subpage Filtering Styles */
.doctors-filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-tag-btn {
  background-color: var(--bg-linen);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tag-btn:hover {
  background-color: rgba(var(--mint-teal-rgb), 0.05);
  border-color: rgba(var(--mint-teal-rgb), 0.2);
}

.filter-tag-btn.active {
  background-color: var(--mint-teal);
  border-color: var(--mint-teal);
  color: #ffffff;
}

.search-input-wrapper {
  position: relative;
  width: 340px;
}

.search-input-wrapper svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}

.search-input {
  width: 100%;
  background-color: var(--bg-linen);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 12px 20px 12px 48px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: all var(--transition-fast);
}

.search-input:focus {
  border-color: var(--mint-teal);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(var(--mint-teal-rgb), 0.1);
}

/* ==========================================================================
   9. Academics Hub layout
   ========================================================================== */
.academics-card {
  position: relative;
  background: linear-gradient(135deg, var(--primary-emerald), #0f5852);
  border-radius: var(--radius-lg);
  padding: 60px;
  color: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.academics-card::after {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 450px;
  height: 450px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  z-index: 1;
}

.academics-card-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.academics-card-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--satin-coral);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.academics-card-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 24px;
  color: #ffffff;
}

.academics-card-text {
  font-size: 17px;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 32px;
}

.academics-list-tag {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  margin-bottom: 16px;
}

.academics-list {
  list-style: none;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.academics-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 16px;
}

.academics-list li::before {
  content: '→';
  color: var(--satin-coral);
  font-weight: 700;
}

/* Quick program cards (academics page sidebar) */
.academic-program-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.academic-program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.academic-program-card .tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--mint-teal);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.academic-program-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.academic-program-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}

.academic-meta-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.academic-meta-val {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 4px;
}

/* ==========================================================================
   10. Miracles Board & Testimonials (NICU Stories)
   ========================================================================== */
.testimonials-section {
  position: relative;
  overflow: hidden;
}

.testimonial-card,
.academic-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover,
.academic-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.quote-icon {
  width: 36px;
  height: 36px;
  color: rgba(var(--mint-teal-rgb), 0.15);
}

.rating-stars {
  display: flex;
  gap: 4px;
}

.rating-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--satin-coral);
}

.testimonial-text {
  font-family: var(--font-body);
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-dark);
}

.testimonial-author-row {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.testimonial-author-name {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 15px;
}

.testimonial-author-meta {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

/* ==========================================================================
   11. Contact Details & Maps Layout
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 50px;
}

.contact-info-block .label {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.contact-address-link {
  display: flex;
  gap: 16px;
  align-items: start;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-dark);
}

.contact-address-link svg {
  width: 24px;
  height: 24px;
  color: var(--mint-teal);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-address-link:hover {
  color: var(--mint-teal);
}

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

.contact-action-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-action-card svg {
  width: 24px;
  height: 24px;
}

.contact-action-card-label {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.contact-action-card-val {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.contact-action-card-meta {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.contact-action-card.teal-card {
  border-top: 4px solid var(--mint-teal);
}
.contact-action-card.teal-card svg { color: var(--mint-teal); }

.contact-action-card.pink-card {
  border-top: 4px solid var(--satin-coral);
}
.contact-action-card.pink-card svg { color: var(--satin-coral); }

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact Page Form Styles */
.contact-form-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form-card .form-title {
  font-size: 28px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-form-card .form-subtitle {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin-top: -16px;
  margin-bottom: 12px;
}

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

.contact-form-full {
  grid-column: span 2;
}

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

.form-group label {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.form-control {
  width: 100%;
  padding: 14px 20px;
  background-color: var(--bg-linen);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text-dark);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary-blue);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(29, 147, 200, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.contact-form-card .btn-submit {
  width: 100%;
  background-color: var(--primary-blue);
  color: #ffffff;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.contact-form-card .btn-submit:hover {
  background-color: var(--primary-blue-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -8px rgba(29, 147, 200, 0.4);
}

/* ==========================================================================
   12. Subpages Core Layouts
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--bg-champagne) 0%, #ffffff 100%);
  padding-top: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--border-color);
}

.page-hero-title {
  font-size: 48px;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.page-hero-desc {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 600px;
}

.page-hero-img-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.page-hero-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* Editorial prose layouts */
.prose-content p {
  margin-bottom: 24px;
}

.prose-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 40px;
  margin-bottom: 16px;
}

.prose-content ul {
  padding-left: 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prose-content ul li {
  line-height: 1.6;
}

.prose-content strong {
  color: var(--text-dark);
}

/* ==========================================================================
   13. Footer Section
   ========================================================================== */
.site-footer {
  background-color: #1a1e27;
  color: #ffffff;
  padding-top: 80px;
  border-top: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}

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

.footer-brand img {
  height: 48px;
  width: auto;
}

.footer-brand-text {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

.footer-brand-text span {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
}

.footer-desc {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.8;
  max-width: 320px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--satin-coral);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  font-size: 15px;
  opacity: 0.85;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--satin-coral);
  transform: translateX(4px);
}

.footer-contacts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-contacts li {
  display: flex;
  gap: 12px;
  align-items: start;
  font-size: 14.5px;
}

.footer-contacts li svg {
  width: 20px;
  height: 20px;
  color: var(--satin-coral);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contacts li a {
  opacity: 0.9;
  line-height: 1.5;
}

.footer-contacts li a:hover {
  opacity: 1;
  color: var(--satin-coral);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  opacity: 0.6;
}

/* ==========================================================================
   14. Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 44px;
  }
  .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .explorer-content-panel {
    grid-template-columns: 1fr;
    padding: 32px;
  }
  .explorer-img-wrapper {
    grid-column: span 1;
  }
  .explorer-text-block {
    grid-column: span 1;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .map-wrapper {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .desktop-nav,
  .header-action {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .hero-section .container {
    grid-template-columns: 1fr;
  }
  
  .hero-description {
    max-width: 100%;
  }
  
  .hero-promise-card {
    position: static;
    margin-top: -16px;
    margin-bottom: 24px;
    max-width: 100%;
  }
  
  .split-banner {
    flex-direction: column;
  }
  
  .explorer-tabs {
    flex-wrap: wrap;
  }
  
  .section-header-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .grid-cols-4,
  .grid-cols-3,
  .grid-cols-2 {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form-full {
    grid-column: span 1;
  }
}

/* ==========================================================================
   15. Ferlix Layout Overrides & Additions
   ========================================================================== */

/* Preloader */
.theme-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #ffffff;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading-container {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid rgba(29, 147, 200, 0.08);
  border-top-color: var(--primary-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

#loading-icon {
  position: absolute;
  z-index: 2;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Magic Cursor */
#magic-cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background-color: var(--accent-pink-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#ball {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(239, 91, 161, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              height 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.3s ease,
              background-color 0.3s ease;
}

#ball.hovered {
  width: 60px;
  height: 60px;
  border-color: var(--accent-pink-color);
  background-color: rgba(239, 91, 161, 0.08);
}



/* Stacked image container */
.about-image-stack {
  position: relative;
  height: 480px;
  width: 100%;
}

.about-img-main {
  width: 75%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid #e8edf2;
}

.about-img-sub {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

/* Play video button ripple */
.video-ripple-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background-color: var(--accent-pink-color);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 10px 30px rgba(239, 91, 161, 0.4);
  z-index: 10;
}

.video-ripple-btn::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--accent-pink-color);
  opacity: 0.6;
  animation: ripple 1.6s linear infinite;
  z-index: -1;
}

@keyframes ripple {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Info Strip Banner Styles */
.info-strip-banner {
  background-color: #ffffff;
  padding: 24px 0;
  border-bottom: 1px solid #e8edf2;
  box-shadow: var(--shadow-sm);
}

.info-strip-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.info-strip-card {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-dark);
  transition: transform var(--transition-fast);
}

.info-strip-card:hover {
  transform: translateY(-2px);
}

.info-strip-icon-box {
  width: 52px;
  height: 52px;
  background-color: rgba(29, 147, 200, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  flex-shrink: 0;
}

.info-strip-text h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.info-strip-text p {
  font-size: 14px;
  color: var(--text-secondary);
}

.info-strip-cta {
  flex-shrink: 0;
}

.btn-info-strip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background-color: var(--accent-pink-color);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(239, 91, 161, 0.3);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-info-strip:hover {
  background-color: #d94a8f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 91, 161, 0.4);
}

/* How It Works Steps Styles */
.step-sequence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.step-sequence-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e8edf2;
  border-radius: var(--radius-md);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-sequence-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.step-number {
  position: absolute;
  top: 32px;
  right: 32px;
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  color: rgba(29, 147, 200, 0.08);
}

.step-icon-box {
  width: 60px;
  height: 60px;
  background-color: rgba(29, 147, 200, 0.08);
  color: var(--primary-blue);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.step-sequence-card:nth-child(2) .step-icon-box {
  background-color: rgba(0, 187, 215, 0.08);
  color: var(--secondary-cyan);
}

.step-sequence-card:nth-child(3) .step-icon-box {
  background-color: rgba(239, 91, 161, 0.08);
  color: var(--accent-pink-color);
}

.step-sequence-card h3 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.step-sequence-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Why Choose Us Styles */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-choose-card {
  background: #ffffff;
  border: 1px solid #e8edf2;
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-choose-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary-blue);
  background-color: rgba(29, 147, 200, 0.08);
}

.why-choose-card h3 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.why-choose-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Academics Flat Card */
.academics-flat-card {
  background: #ffffff;
  border: 1px solid #e8edf2;
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Booking Section */
.booking-split-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  background: #ffffff;
  border: 1px solid #e8edf2;
  border-radius: var(--radius-lg);
  padding: 60px;
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   16. Subpages Overhaul Elements & Utilities
   ========================================================================== */

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.page-hero-img-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
}

.page-hero-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Prose container overlapping hero */
.prose-container-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  margin-top: -30px;
  position: relative;
  z-index: 2;
  padding: 60px;
}

.prose-content-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 50px;
  align-items: start;
}

.prose-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.prose-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.prose-content p strong {
  color: var(--text-dark);
}

/* Side Card & Bullet Lists */
.sidebar-capabilities-card {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.sidebar-capabilities-card h3 {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.capabilities-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding-left: 0;
}

.capabilities-list li {
  display: flex;
  align-items: start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.capabilities-list-check {
  display: inline-flex;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background-color: rgba(29, 147, 200, 0.1);
  color: var(--primary-blue);
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Simple Doctor Card for Specialty Pages */
.doctor-simple-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.doctor-card-simple {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.doctor-card-simple:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.doctor-card-simple-avatar {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto 16px auto;
  border: 3px solid var(--primary-blue);
}

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

.doctor-card-simple h3 {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-dark);
  margin: 0 0 4px 0;
  letter-spacing: -0.02em;
}

.doctor-card-simple-degree {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 12px 0;
}

.doctor-card-simple-role {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

/* Emergency Desk Card in Contact Us */
.emergency-desk-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border-left: 6px solid var(--accent-pink-color);
}

.emergency-desk-card h3 {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.emergency-phone-box {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.emergency-phone-label {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.emergency-phone-val {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-pink-color);
  font-family: var(--font-heading);
}

.emergency-whatsapp-val {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* NICE Foundation custom classes in About Us */
.academics-card.pink-version {
  background: linear-gradient(135deg, var(--accent-pink-color) 0%, #d03d82 100%);
  border-left: 8px solid var(--primary-blue);
}

.academics-card.pink-version .academics-card-tag {
  color: #ffffff;
  opacity: 0.9;
}

.academics-card.pink-version .academics-card-title {
  font-size: 32px;
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 16px;
}

.academics-card.pink-version .btn-white {
  color: #d03d82;
}

.academics-card.pink-version .btn-white:hover {
  background-color: #fcecef;
}

/* Contact page extra components */
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-email-container {
  padding: 24px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: rgba(29, 147, 200, 0.02);
}

.contact-email-link {
  display: block;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  word-break: break-all;
}

.contact-academics-cta {
  padding: 24px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: rgba(239, 91, 161, 0.02);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-academics-cta-link {
  font-weight: 700;
  font-size: 14px;
  color: var(--accent-pink-color);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

/* Media Queries updates for subpage layout elements */
@media (max-width: 1024px) {
  .doctor-simple-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero-grid,
  .prose-content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .prose-container-card {
    padding: 30px 20px;
    margin-top: -20px;
  }
  .doctor-simple-grid {
    grid-template-columns: 1fr;
  }
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Academics subpage details */
.academic-program-detail {
  border-top: 2px solid var(--primary-blue);
  padding-top: 24px;
}
.academic-program-detail.cyan-accent {
  border-top-color: var(--secondary-cyan);
}
.academic-program-detail.pink-accent {
  border-top-color: var(--accent-pink-color);
}

.academic-program-card.blue-border {
  border-left: 6px solid var(--primary-blue);
}
.academic-program-card.blue-border .tag,
.academic-program-card.blue-border .academic-meta-val {
  color: var(--primary-blue);
}

.academic-program-card.cyan-border {
  border-left: 6px solid var(--secondary-cyan);
}
.academic-program-card.cyan-border .tag,
.academic-program-card.cyan-border .academic-meta-val {
  color: var(--secondary-cyan);
}

.academic-program-card.pink-border {
  border-left: 6px solid var(--accent-pink-color);
}
.academic-program-card.pink-border .tag,
.academic-program-card.pink-border .academic-meta-val {
  color: var(--accent-pink-color);
}

.academics-contact-block {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

/* Specialty mini card styles */
.specialty-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.specialty-card-mini {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #ffffff;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.specialty-card-mini:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(29, 147, 200, 0.25);
}

.specialty-card-mini-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
}

.specialty-card-mini-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.specialty-card-mini-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.specialty-card-mini-content svg {
  color: var(--primary-blue);
  transition: transform var(--transition-fast);
}

.specialty-card-mini:hover .specialty-card-mini-content svg {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .specialty-mini-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.doctor-simple-grid.single-item {
  grid-template-columns: 1fr;
  max-width: 280px;
  margin: 0 auto;
}

/* Case study card styles */
.case-study-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 50px;
}

.case-study-badge {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary-blue);
  background: rgba(29, 147, 200, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 1px;
}

.case-study-badge.pink-bg {
  color: var(--accent-pink-color);
  background: rgba(239, 91, 161, 0.08);
}

.case-study-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
  line-height: 1.2;
}

.case-study-quote-box {
  background: rgba(29, 147, 200, 0.03);
  border-left: 4px solid var(--primary-blue);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 30px;
}

.case-study-quote-box.pink-border {
  background: rgba(239, 91, 161, 0.03);
  border-left-color: var(--accent-pink-color);
}

.case-study-quote-text {
  font-size: 17.5px;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

.case-study-narrative {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.case-study-sidebar {
  background: var(--bg-champagne);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-study-sidebar h3 {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.case-study-vital-row {
  border-bottom: 1px solid rgba(22, 42, 51, 0.08);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.case-study-vital-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.case-study-vital-label {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.case-study-vital-val {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 0;
}

.case-study-vital-val.pink-color {
  color: var(--accent-pink-color);
}

.case-study-sidebar-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px dashed rgba(22, 42, 51, 0.1);
}

@media (max-width: 1024px) {
  .case-study-card {
    grid-template-columns: 1fr;
    padding: 30px;
    gap: 30px;
  }
}

.container-narrow {
  max-width: 800px !important;
  margin-left: auto;
  margin-right: auto;
}

.doctor-card[data-dept="neonatology"] .doctor-dept { color: var(--primary-blue); }
.doctor-card[data-dept="paediatrics"] .doctor-dept { color: var(--secondary-cyan); }
.doctor-card[data-dept="gynaecology"] .doctor-dept { color: var(--accent-pink-color); }
.doctor-card[data-dept="support"] .doctor-dept { color: var(--text-muted); }

.doctor-card[data-dept="neonatology"] .doctor-booking-link { color: var(--primary-blue); }
.doctor-card[data-dept="paediatrics"] .doctor-booking-link { color: var(--secondary-cyan); }
.doctor-card[data-dept="gynaecology"] .doctor-booking-link { color: var(--accent-pink-color); }
.doctor-card[data-dept="support"] .doctor-booking-link { color: var(--text-muted); }

.pb-30 {
  padding-bottom: 30px !important;
}

.pb-100 {
  padding-bottom: 100px !important;
}

.doctors-count-meta {
  font-size: 14.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: -10px;
  margin-bottom: 30px;
}

.doctors-count-meta span {
  font-weight: 800;
  color: var(--primary-blue);
}

/* Specialty Cards - Fresh Design */
.specialty-card-fresh {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--primary-blue);
  border-radius: 0;
  padding: 0;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 480px;
  transition: all var(--transition-normal);
}

.specialty-card-fresh:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.specialty-card-body {
  display: flex;
  flex-direction: column;
}

.specialty-card-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.specialty-explore-link {
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: transform var(--transition-fast) ease;
}

.specialty-explore-link:hover svg {
  transform: translateX(4px);
}

.specialty-explore-link svg {
  transition: transform var(--transition-fast) ease;
}

.specialty-book-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast) ease;
}

.specialty-book-link:hover {
  color: var(--accent-pink-color) !important;
  text-decoration: underline;
}

.specialty-card-image-wrap {
  width: 100%;
  height: 200px;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 0;
}

.specialty-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal) ease;
}

.specialty-card-fresh:hover .specialty-card-image {
  transform: scale(1.05);
}

.specialty-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 24px;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.specialty-book-btn:hover {
  transform: translateY(-2px);
  filter: brightness(0.95);
}

.specialty-card-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  margin-top: auto;
  width: 100%;
}

/* ==========================================================================
   Why Families Choose NICE Section Styles
   ========================================================================== */
.section-bg-soft-pink {
  background-color: #fff8fa;
}

.why-nice-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.why-nice-image-wrap {
  width: 100%;
}

.why-nice-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 0; /* Sharp corners constraint */
  box-shadow: var(--shadow-md);
}

.trust-points-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.trust-point-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.trust-point-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-pink-color);
  background-color: rgba(239, 91, 161, 0.06); /* very soft pink background */
  border-radius: 0; /* Sharp corners constraint */
}

.trust-point-text h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-family: var(--font-body);
}

.trust-point-text p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 991px) {
  .why-nice-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   16. Floating WhatsApp Button
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3), 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: translateY(-5px) scale(1.05);
  background-color: #20ba5a;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 4px 10px rgba(0, 0, 0, 0.15);
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.floating-whatsapp:hover svg {
  transform: rotate(8deg);
}

/* Pulsing aura effect */
.floating-whatsapp::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25D366;
  opacity: 0.4;
  z-index: -1;
  animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}
