@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=DM+Serif+Display:ital@0;1&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

/* ==========================================================================
   DALAWAI MATERNITY HOSPITAL - STYLESHEET
   Matching Reference Mobile View & Premium Medical Aesthetic
   ========================================================================== */

:root {
  /* Brand Palette - Emerald Teal & Rose Pink */
  --primary-teal: #10b981;
  --primary-teal-dark: #059669;
  --primary-teal-light: #e6f4f1;
  --primary-teal-soft: #d1fae5;
  --accent-pink: #f472b6;
  --accent-pink-soft: #fde8ef;

  /* Neutral Colors */
  --bg-main: #ffffff;
  --bg-subtle: #fafbfc;
  --bg-card: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --border-light: #e2e8f0;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);

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

  /* Radii & Transitions */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  max-width: 100%;
  overflow-x: clip;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-navbar.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.98);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 10001;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-line-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.brand-tag {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: 1.4px;
  margin-top: 2px;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-teal);
}

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

.btn-appointment {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-teal-light);
  color: #065f46;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(167, 243, 208, 0.8);
  transition: var(--transition);
}

.btn-appointment:hover {
  background: #a7f3d0;
  color: #046c4e;
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  color: var(--text-dark);
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
}

.mobile-menu-btn svg {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.3s ease;
}

.mobile-menu-btn.open svg,
.mobile-menu-btn.active svg {
  transform: rotate(90deg) scale(1.1);
  stroke: #059669;
}

/* Mobile Nav Drawer Overlay with Smooth Dropdown Animation */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.97) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
  padding: 84px 20px 36px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.3s ease, 
              visibility 0.3s ease;
  z-index: 9999;
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Staggered Cascade Entrance for Items */
.mobile-nav-drawer .nav-link,
.mobile-nav-drawer .mobile-drawer-btn {
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease,
              background-color 0.2s ease,
              color 0.2s ease,
              padding-left 0.2s ease;
}

.mobile-nav-drawer.open .nav-link:nth-child(1) { transition-delay: 0.08s; transform: translateY(0); opacity: 1; }
.mobile-nav-drawer.open .nav-link:nth-child(2) { transition-delay: 0.12s; transform: translateY(0); opacity: 1; }
.mobile-nav-drawer.open .nav-link:nth-child(3) { transition-delay: 0.16s; transform: translateY(0); opacity: 1; }
.mobile-nav-drawer.open .nav-link:nth-child(4) { transition-delay: 0.20s; transform: translateY(0); opacity: 1; }
.mobile-nav-drawer.open .nav-link:nth-child(5) { transition-delay: 0.24s; transform: translateY(0); opacity: 1; }
.mobile-nav-drawer.open .nav-link:nth-child(6) { transition-delay: 0.28s; transform: translateY(0); opacity: 1; }
.mobile-nav-drawer.open .mobile-drawer-btn      { transition-delay: 0.32s; transform: translateY(0); opacity: 1; }

.mobile-nav-drawer .nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e293b;
  padding: 12px 16px;
  border-radius: 14px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-drawer .nav-link:hover,
.mobile-nav-drawer .nav-link:active {
  background: #ecfdf5;
  color: #059669;
  padding-left: 20px;
}

.mobile-nav-drawer .nav-link.active {
  background: #d1fae5;
  color: #047857;
  font-weight: 700;
  padding-left: 20px;
  border-left: 4px solid #059669;
}

.mobile-nav-drawer .mobile-drawer-btn {
  margin-top: 14px;
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 9999px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

.mobile-nav-drawer .mobile-drawer-btn:active {
  transform: scale(0.98);
}

@media (max-width: 900px) {
  .site-navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 10000 !important;
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .navbar-container {
    height: 64px;
    padding: 0 16px;
  }

  .navbar-menu {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: #ffffff;
  padding: 72px 0 20px 0;
  overflow: hidden;
}

@media (max-width: 767px) {
  .hero-section {
    padding-top: 64px;
  }
}

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

/* Left Text Column */
.hero-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--text-light);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 32px;
  height: 2px;
  background: #a7f3d0;
  border-radius: 2px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.title-serif-dark {
  color: var(--text-dark);
  display: inline;
}

.title-serif-teal {
  color: var(--primary-teal);
  display: inline;
}

.title-serif-pink {
  color: #ff85a1 !important;
  display: inline;
}

.hero-title-line2 {
  white-space: nowrap;
}

.hero-description {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 90%;
}

.hero-cta-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-teal-light);
  color: #065f46;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(167, 243, 208, 0.8);
  transition: var(--transition);
}

.btn-hero-primary:hover {
  background: #a7f3d0;
  color: #046c4e;
  transform: translateY(-2px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-hero-secondary:hover {
  border-color: var(--primary-teal);
  color: var(--primary-teal);
}

.play-icon-wrap {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Right Visual Column */
.hero-visual-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-pink-arches-bg {
  position: absolute;
  top: -12%;
  right: -10%;
  width: 120%;
  height: 120%;
  z-index: 1;
  pointer-events: none;
}

.hero-pink-arches-bg svg {
  width: 100%;
  height: 100%;
}

.floating-pink-heart {
  position: absolute;
  top: 15%;
  left: 5%;
  z-index: 3;
  animation: floatHeart 3s ease-in-out infinite alternate;
}

@keyframes floatHeart {
  0% {
    transform: translateY(0) rotate(-5deg);
  }

  100% {
    transform: translateY(-8px) rotate(5deg);
  }
}

.hero-mother-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 400px;
  max-height: calc(100vh - 80px);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 55%, rgba(0, 0, 0, 0) 96%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 55%, rgba(0, 0, 0, 0) 96%);
}

.hero-mother-frame::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  pointer-events: none;
  z-index: 3;
}

.hero-mother-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ==========================================================================
   QUICK SERVICES FEATURE BAR
   ========================================================================== */
.quick-services-bar {
  margin-top: -24px;
  position: relative;
  z-index: 10;
  padding: 0;
}

.qs-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: transparent;
  border-radius: 0;
  padding: 12px 0;
  box-shadow: none;
  border: none;
  align-items: center;
}

.qs-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 6px;
  border: none;
}

.qs-item:last-child {
  border-right: none;
}

.qs-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: var(--transition);
}

.qs-icon-teal {
  background: #e6f4f1;
}

.qs-icon-pink {
  background: #fde8ef;
}

.qs-item:hover .qs-icon-circle {
  transform: scale(1.08);
}

.qs-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.25;
  text-align: center;
}

/* ==========================================================================
   HOSPITAL STATS HIGHLIGHT BAR (5000+ Patients | 8+ Years Exp | 24/7 Care)
   ========================================================================== */
.hospital-stats-section {
  padding: 20px 0 28px 0;
  position: relative;
  z-index: 15;
}

.hospital-stats-bar {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  align-items: center !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 253, 244, 0.85) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 24px;
  padding: 20px 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05), 0 4px 14px rgba(16, 185, 129, 0.06);
  transition: var(--transition);
}

.hospital-stats-bar:hover {
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08), 0 6px 20px rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
}

.stat-card {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  padding: 6px 12px !important;
  position: relative !important;
  box-sizing: border-box !important;
  transition: var(--transition);
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, rgba(203, 213, 225, 0.75), transparent);
}

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

.stat-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.stat-icon-teal {
  background: #e6f4f1;
  color: #059669;
}

.stat-icon-pink {
  background: #fde8ef;
  color: #e04878;
}

.stat-card:hover .stat-icon-wrapper {
  transform: scale(1.08) rotate(3deg);
}

.stat-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.1;
  color: #0f172a;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #059669 0%, #0f172a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #475569;
  margin-top: 2px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .hospital-stats-section {
    padding: 12px 0 20px 0 !important;
  }

  .hospital-stats-bar {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 4px !important;
    padding: 14px 6px !important;
    border-radius: 18px !important;
  }

  .stat-card {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 2px !important;
    text-align: center !important;
  }

  .stat-card:not(:last-child)::after {
    display: block !important;
    height: 38px !important;
  }

  .stat-card:not(:last-child) {
    border-bottom: none !important;
    padding-bottom: 4px !important;
  }

  .stat-icon-wrapper {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
  }

  .stat-icon-wrapper svg {
    width: 18px !important;
    height: 18px !important;
  }

  .stat-info {
    align-items: center !important;
    text-align: center !important;
  }

  .stat-number {
    font-size: 1.15rem !important;
    line-height: 1.15 !important;
    text-align: center !important;
  }

  .stat-label {
    font-size: 0.68rem !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.2 !important;
    margin-top: 1px !important;
  }
}

/* ==========================================================================
   HOSPITAL INFRASTRUCTURE & DEPARTMENT PHOTO CAROUSEL / SWAPER
   ========================================================================== */
.hospital-gallery-section {
  padding: 70px 0 80px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.gallery-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px auto;
}

.gallery-carousel-wrapper {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 54px;
}

.gallery-carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 12px 4px 24px 4px;
  scrollbar-width: none;
}

.gallery-carousel-track::-webkit-scrollbar {
  display: none;
}

.gallery-slide-card {
  flex: 0 0 calc(50% - 12px);
  min-width: 300px;
  scroll-snap-align: center;
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.gallery-slide-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14), 0 6px 16px rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
}

.slide-img-box {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: #0f172a;
}

.slide-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-slide-card:hover .slide-img-box img {
  transform: scale(1.08);
}

.slide-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 32px 22px 20px 22px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.6) 60%, rgba(15, 23, 42, 0) 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 4;
}

.slide-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.slide-desc {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}

.gallery-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--primary-teal-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.gallery-badge.pink {
  color: #e04878;
}

/* Side Navigation Arrows */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary-teal-dark);
  border: 1px solid var(--border-light);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.carousel-nav-btn:hover {
  background: var(--primary-teal-dark);
  color: #ffffff;
  border-color: var(--primary-teal-dark);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.3);
}

.carousel-nav-btn.prev-btn {
  left: 0;
}

.carousel-nav-btn.next-btn {
  right: 0;
}

/* Indicators / Dots */
.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.dot-pill {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: var(--transition);
  cursor: pointer;
}

.dot-pill.active {
  width: 28px;
  border-radius: 12px;
  background: var(--primary-teal-dark);
}

/* Modal Lightbox */
.gallery-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
}

.gallery-modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-modal-box {
  position: relative;
  max-width: 880px;
  width: 95%;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-modal-overlay.open .gallery-modal-box {
  transform: scale(1);
}

.gallery-modal-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.gallery-modal-info {
  padding: 24px;
  background: #ffffff;
}

.gallery-modal-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.gallery-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: var(--transition);
}

.gallery-modal-close:hover {
  background: #ffffff;
  transform: scale(1.1);
}

/* ==========================================================================
   DOCTOR SHOWCASE SECTION (DESKTOP REFERENCE UI)
   ========================================================================== */
.doctor-showcase-section {
  padding: 80px 0 100px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f0fdf4 100%);
  position: relative;
  overflow: hidden;
}

.doctor-showcase-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 32px;
  padding: 48px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.06);
  transition: var(--transition);
}

/* Second Doctor Card Only: Photo on Right, Info on Left */
.doctor-showcase-card:nth-of-type(2),
.doctor-showcase-card:nth-child(even) {
  flex-direction: row-reverse;
}

.doctor-showcase-card:hover {
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}

/* Doctor Blob Image Column */
.doc-blob-col {
  position: relative;
  width: 44%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-blob-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110%;
  height: 110%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #d1fae5 0%, #e6f4f1 60%, rgba(209, 250, 229, 0) 80%);
  border-radius: 48% 52% 44% 56% / 50% 46% 54% 50%;
  filter: blur(8px);
  z-index: 1;
}

.doc-blob-bg-pink {
  background: radial-gradient(circle, #fde8ef 0%, #fbcfe8 60%, rgba(253, 232, 239, 0) 80%);
}

.doc-image-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  border-radius: 46% 54% 42% 58% / 52% 48% 52% 48%;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
  border: 4px solid #ffffff;
  aspect-ratio: 4/4.2;
}

.doc-image-frame img,
.detail-doctor-img-wrap img,
.doctor-portrait-img,
.docf img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: none !important;
  transform: none !important;
  scale: 1 !important;
}

.doctor-showcase-card:hover .doc-image-frame img,
.doc-image-frame:hover img,
.detail-doctor-card:hover .detail-doctor-img-wrap img,
.detail-doctor-img-wrap:hover img {
  transform: none !important;
  scale: 1 !important;
}

/* Doctor Info Column */
.doc-info-col {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.doc-eyebrow {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #059669;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.doc-eyebrow.pink {
  color: #e04878;
}

.doc-name-title {
  font-family: 'Outfit', var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 12px;
  position: relative;
}

.doc-title-underline {
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #059669, #38bdf8);
  border-radius: 2px;
  margin-top: 6px;
}

.doc-title-underline.pink {
  background: linear-gradient(to right, #e04878, #f472b6);
}

.doc-subtitle-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.doc-sub-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e6f4f1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-sub-icon.pink {
  background: #fde8ef;
}

.doc-subtitle-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
}

.highlight-cyan {
  color: #0284c7;
}

.highlight-pink {
  color: #e04878;
}

.doc-description {
  font-size: 0.96rem;
  line-height: 1.68;
  color: #475569;
  margin-bottom: 24px;
  max-width: 580px;
}

/* 3 Feature Pills Row */
.doc-features-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.doc-feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.doc-feat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e6f4f1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doc-feat-icon.pink {
  background: #fde8ef;
}

.doc-feat-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.25;
}

/* Bottom Action & Quote Row */
.doc-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 10px;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-doc-appointment {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.28);
  transition: var(--transition);
}

.btn-doc-appointment.pink {
  background: linear-gradient(135deg, #e04878 0%, #db2777 100%);
  box-shadow: 0 8px 24px rgba(224, 72, 120, 0.28);
}

.btn-doc-appointment:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(5, 150, 105, 0.38);
  color: #ffffff !important;
}

.doc-script-quote {
  font-family: 'Caveat', cursive;
  font-size: 1.7rem;
  font-weight: 700;
  color: #059669;
  line-height: 1;
}

.doc-script-quote.pink {
  color: #e04878;
}

@media (max-width: 992px) {
  .doctor-showcase-section {
    padding: 50px 0 60px 0;
  }
  .doctor-showcase-card,
  .doctor-showcase-card:nth-of-type(2),
  .doctor-showcase-card:nth-child(even) {
    flex-direction: column !important;
    align-items: center !important;
    padding: 28px 20px !important;
    gap: 24px !important;
    text-align: center;
    border-radius: 24px;
    margin-top: 36px !important;
  }
  .doctor-showcase-card:first-child {
    margin-top: 0 !important;
  }
  .doc-blob-col {
    width: 100% !important;
    max-width: 280px;
    margin: 0 auto;
  }
  .doc-image-frame {
    max-width: 250px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    margin: 0 auto;
  }
  .doc-info-col {
    width: 100% !important;
    padding-left: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .doc-eyebrow {
    font-size: 0.75rem;
    margin-bottom: 6px;
    text-align: center;
  }
  .doc-name-title {
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 12px;
  }
  .doc-title-underline {
    margin: 6px auto 0 auto;
  }
  .doc-subtitle-row {
    justify-content: center;
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 14px;
  }
  .doc-description {
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 20px;
  }
  .doc-features-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 24px;
  }
  .doc-feat-item {
    flex: 1 1 110px;
    max-width: 150px;
    padding: 12px 8px;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    background: rgba(241, 245, 249, 0.7);
    border-radius: 14px;
  }
  .doc-feat-label {
    font-size: 0.75rem;
    text-align: center;
    line-height: 1.3;
  }
  .doc-action-row {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
  }
  .btn-doc-appointment {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  .doc-script-quote {
    font-size: 1.4rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hospital-gallery-section {
    padding: 50px 0;
  }
  .gallery-carousel-wrapper {
    padding: 0;
  }
  .carousel-nav-btn {
    display: none;
  }
  .gallery-slide-card {
    flex: 0 0 88%;
  }
  .slide-img-box {
    height: 320px;
  }
}

/* ==========================================================================
   EXPERIENCED DOCTORS HERO CAROUSEL CARD
   ========================================================================== */
.hero-doctors-card-wrap {
  display: none !important;
  margin-top: 24px;
  margin-bottom: 32px;
}

.hero-doctors-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  border: none;
  position: relative;
  overflow: visible;
}

.h-doc-image-col {
  position: relative;
  width: 48%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}

.h-doc-blob-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 280px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #e6f4f1 0%, #d1fae5 55%, rgba(209, 250, 229, 0) 75%);
  border-radius: 50%;
  filter: blur(10px);
  z-index: 1;
}

.h-doc-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 390px;
  height: auto;
  object-fit: contain;
  transform: translateY(-90px);
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.12));
  -webkit-mask-image: radial-gradient(ellipse 68% 76% at 50% 42%, #000 30%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0) 84%);
  mask-image: radial-gradient(ellipse 68% 76% at 50% 42%, #000 30%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0) 84%);
}

.h-doc-info-col {
  width: 50%;
  padding-left: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  z-index: 5;
}

.h-doc-eyebrow-line {
  width: 24px;
  height: 2px;
  background: #a7f3d0;
  margin-bottom: 6px;
  border-radius: 2px;
}

.h-doc-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 4px;
}

.h-doc-subtitle {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 12px;
  font-weight: 500;
}

.btn-meet-doctors {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-teal-light);
  color: #065f46;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(167, 243, 208, 0.6);
  transition: var(--transition);
}

.btn-meet-doctors:hover {
  background: #a7f3d0;
}


/* ==========================================================================
   SERVICES & SPECIALITIES SECTION
   ========================================================================== */
.services-section {
  padding: 48px 0;
  background: var(--bg-subtle);
}

.section-eyebrow-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--primary-teal);
}

.section-eyebrow-line {
  width: 24px;
  height: 2px;
  background: var(--primary-teal);
}

.section-link-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-teal);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 650px;
}

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

.service-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px 16px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.12);
  border-color: var(--primary-teal);
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.s-icon-teal {
  background: #e6f4f1;
}

.s-icon-pink {
  background: #fde8ef;
}

.service-icon-box svg.gyno-icon {
  width: 46px;
  height: 46px;
}

.service-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 6px;
  text-align: center;
}

.service-card-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.4;
  text-align: center;
}

/* ==========================================================================
   DOCTORS SECTION
   ========================================================================== */
.doctors-section {
  padding: 48px 0;
  background: #ffffff;
}

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

.doctor-card {
  background: var(--bg-subtle);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.doctor-card:hover {
  box-shadow: var(--shadow-md);
}

.doctor-img-box {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: var(--primary-teal-light);
}

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

.doctor-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 9999px;
  letter-spacing: 1px;
}

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

.doctor-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.doctor-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-teal);
  margin-bottom: 12px;

}

.doctor-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.doctor-quote-box {
  background: #ffffff;
  padding: 12px 16px;
  border-radius: 12px;
  border-left: 3px solid var(--primary-teal);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.doctor-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.doctor-exp {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
}

/* ==========================================================================
   FACILITIES SECTION
   ========================================================================== */
.facilities-section {
  padding: 48px 0;
  background: #f7fcf9;
  position: relative;
  overflow: hidden;
}

.facilities-bg-leaf,
.doctor-bg-leaf {
  display: none !important;
}

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

.facility-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.facility-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.f-icon-teal {
  background: #e6f4f1;
}

.f-icon-pink {
  background: #fde8ef;
}

.facility-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 6px;
  text-align: center;
}

.facility-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.4;
  text-align: center;
}

/* Facility Banner Card */
.facility-banner-card {
  background: #e6f4f1;
  border-radius: 20px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.banner-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.banner-text-content {
  flex: 1;
}

.banner-tagline {
  font-size: 0.65rem;
  font-weight: 800;
  color: #059669;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 2px;
}

.banner-title {
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text-dark);
  margin-bottom: 2px;
}

.banner-desc {
  font-size: 0.78rem;
  color: var(--text-light);
  margin: 0;
}

.banner-arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #c7ebd9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #059669;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.banner-arrow-btn:hover {
  transform: translateX(3px);
  background: #059669;
  color: #ffffff;
}

/* ==========================================================================
   ANIMATIONS FOR FACILITIES PAGE
   ========================================================================== */

/* Fade In Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade In Left Animation */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Fade In Right Animation */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scale In Animation */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-on-scroll.fade-in-left {
  animation: fadeInLeft 0.6s ease-out forwards;
}

.animate-on-scroll.fade-in-right {
  animation: fadeInRight 0.6s ease-out forwards;
}

.animate-on-scroll.scale-in {
  animation: scaleIn 0.5s ease-out forwards;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Facility Card Specific Animations */
.fac-detail-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fac-detail-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations for facility cards */
.fac-detail-card:nth-child(1) {
  transition-delay: 0.1s;
}

.fac-detail-card:nth-child(2) {
  transition-delay: 0.2s;
}

.fac-detail-card:nth-child(3) {
  transition-delay: 0.3s;
}

.fac-detail-card:nth-child(4) {
  transition-delay: 0.4s;
}

.fac-detail-card:nth-child(5) {
  transition-delay: 0.5s;
}

.fac-detail-card:nth-child(6) {
  transition-delay: 0.6s;
}

/* Safety Standards Card Animations */
.safety-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.safety-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations for safety cards */
.safety-card:nth-child(1) {
  transition-delay: 0.1s;
}

.safety-card:nth-child(2) {
  transition-delay: 0.2s;
}

.safety-card:nth-child(3) {
  transition-delay: 0.3s;
}

.safety-card:nth-child(4) {
  transition-delay: 0.4s;
}

/* Hero Content Animation */
.about-hero-content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.about-hero-content.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Section Header Animation */
.section-eyebrow-wrap,
.section-title {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section-eyebrow-wrap.is-visible,
.section-title.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Note: Appointment & Contact section styles are defined at the end of stylesheet */

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #0f172a;
  color: #ffffff;
  padding: 56px 0 24px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-teal-soft);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #64748b;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Exact Match for Mobile Screenshot)
   ========================================================================== */
@media (max-width: 991px) {
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .appointment-container {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .navbar-container {
    height: 56px;
    padding: 0 16px;
  }

  .brand-logo-img {
    height: 36px;
  }

  .brand-line-img {
    height: 24px;
  }

  .brand-name {
    font-size: 1.35rem;
  }

  .brand-tag {
    font-size: 0.52rem;
    letter-spacing: 1px;
  }

  .navbar-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
    padding: 2px;
  }

  .mobile-menu-btn svg {
    width: 20px;
    height: 20px;
  }

  .mobile-nav-drawer {
    top: 0;
    height: 100vh;
    padding-top: 84px;
  }

  .btn-appointment {
    font-size: 0.7rem;
    padding: 5px 10px;
  }

  .btn-appointment svg {
    width: 12px;
    height: 12px;
  }

  .hero-section {
    padding: 72px 0 16px 0;
  }

  /* 2-Column Side-by-Side Hero Layout matching Reference Mobile Screenshot */
  .hero-grid {
    grid-template-columns: 54% 46%;
    gap: 8px;
    align-items: flex-start;
  }

  .hero-eyebrow {
    font-size: 0.54rem;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
    gap: 4px;
  }

  .eyebrow-line {
    width: 18px;
    height: 1.5px;
  }

  .hero-title {
    font-size: 1.32rem;
    line-height: 1.15;
    margin-bottom: 8px;
  }

  .hero-description {
    font-size: 0.68rem;
    line-height: 1.3;
    margin-bottom: 12px;
    max-width: 98%;
    color: var(--text-muted);
  }

  .hero-cta-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
  }

  .btn-hero-primary {
    padding: 7px 14px;
    font-size: 0.74rem;
    height: 32px;
    width: auto;
    max-width: 165px;
    justify-content: flex-start;
  }

  .btn-hero-secondary {
    padding: 6px 12px;
    font-size: 0.74rem;
    height: 32px;
    width: auto;
    max-width: 150px;
    justify-content: flex-start;
  }

  .play-icon-wrap {
    width: 18px;
    height: 18px;
  }

  .hero-visual-col {
    position: relative;
    width: 100%;
    min-height: 240px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
  }

  .hero-pink-arches-bg {
    top: -15%;
    right: -25%;
    width: 140%;
    height: 120%;
  }

  .floating-pink-heart {
    top: 25%;
    left: 10%;
  }

  .floating-pink-heart svg {
    width: 26px;
    height: 26px;
  }

  .hero-mother-frame {
    max-width: 100%;
    width: 120%;
    transform: scale(1.1);
    transform-origin: top right;
  }

  /* Quick Services Bar (4 Horizontal Items) */
  .quick-services-bar {
    margin-top: -18px;
  }

  .qs-container {
    grid-template-columns: repeat(4, 1fr);
    padding: 8px 0;
    gap: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .qs-item {
    padding: 0 2px;
  }

  .qs-icon-circle {
    width: 36px;
    height: 36px;
    margin-bottom: 4px;
  }

  .qs-icon-circle svg {
    width: 18px;
    height: 18px;
  }

  .qs-title {
    font-size: 0.62rem;
    line-height: 1.15;
  }

  /* Experienced Doctors Card - Hidden on Mobile */
  .hero-doctors-card-wrap {
    display: none !important;
  }

  .hero-doctors-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 10px 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .h-doc-image-col {
    width: 100%;
    min-height: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }

  .h-doc-image-col::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
    z-index: 4;
    pointer-events: none;
  }

  .h-doc-blob-bg {
    width: 270px;
    height: 270px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, #e6f4f1 0%, #d1fae5 60%, rgba(209, 250, 229, 0) 78%);
    border-radius: 50%;
    filter: blur(12px);
  }

  .h-doc-img {
    width: 98%;
    max-width: 430px;
    transform: translateY(8px) scale(1.15);
    -webkit-mask-image: radial-gradient(ellipse 74% 82% at 50% 32%, #000 48%, rgba(0, 0, 0, 0.5) 75%, rgba(0, 0, 0, 0) 95%);
    mask-image: radial-gradient(ellipse 74% 82% at 50% 32%, #000 48%, rgba(0, 0, 0, 0.5) 75%, rgba(0, 0, 0, 0) 95%);
  }

  .h-doc-info-col {
    width: 100%;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .h-doc-title {
    font-size: 1.05rem;
  }

  .h-doc-subtitle {
    font-size: 0.68rem;
    margin-bottom: 8px;
  }

  .btn-meet-doctors {
    font-size: 0.68rem;
    padding: 6px 10px;
  }

  /* Lower Sections Responsive */
  .services-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px;
  }

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

  .facilities-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }

  .facility-card {
    padding: 14px 6px;
    border-radius: 16px;
    align-items: center;
    text-align: center;
  }

  .facility-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin-bottom: 8px;
  }

  .facility-icon-box svg {
    width: 22px;
    height: 22px;
  }

  .facility-icon-box svg.gyno-icon {
    width: 36px;
    height: 36px;
  }

  .facility-title {
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
    text-align: center;
  }

  .facility-desc {
    font-size: 0.54rem;
    line-height: 1.3;
    color: var(--text-light);
    text-align: center;
  }

  .facility-banner-card {
    padding: 12px 14px;
    border-radius: 16px;
    gap: 10px;
  }

  .banner-icon-box {
    width: 40px;
    height: 40px;
  }

  .banner-tagline {
    font-size: 0.58rem;
  }

  .banner-title {
    font-size: 0.85rem;
  }

  .banner-desc {
    font-size: 0.65rem;
  }

  .banner-arrow-btn {
    width: 32px;
    height: 32px;
  }

  .service-card {
    padding: 12px 4px;
    border-radius: 16px;
    align-items: center;
    text-align: center;
  }

  .service-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin-bottom: 8px;
  }

  .service-icon-box svg {
    width: 22px;
    height: 22px;
  }

  .service-icon-box svg.gyno-icon {
    width: 36px;
    height: 36px;
  }

  .service-card-title {
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
    text-align: center;
  }

  .service-card-desc {
    font-size: 0.54rem;
    color: var(--text-light);
    line-height: 1.2;
    text-align: center;
  }

  .section-title {
    font-size: 1.5rem;
  }

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

  .footer-brand {
    grid-column: span 2;
    text-align: center;
    margin-bottom: 8px;
  }

  .footer-brand img {
    margin: 0 auto 12px auto;
  }

  .footer-brand p {
    font-size: 0.82rem;
    max-width: 92%;
    margin: 0 auto;
  }

  .footer-col h4 {
    font-size: 0.92rem;
    margin-bottom: 12px;
    color: var(--primary-teal-soft);
  }

  .footer-links li {
    margin-bottom: 8px;
  }

  .footer-links a,
  .footer-links li {
    font-size: 0.8rem;
  }

  .footer-col:last-child {
    grid-column: span 2;
    background: rgba(255, 255, 255, 0.04);
    padding: 18px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 4px;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    padding-top: 20px;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 1.25rem;
  }

  .hero-description {
    font-size: 0.64rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    font-size: 0.7rem;
    padding: 6px 10px;
    height: 30px;
  }

  .qs-title {
    font-size: 0.58rem;
  }
}

/* ==========================================================================
   FACILITIES PAGE MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 768px) {
  /* Facilities Page Hero Section */
  .about-hero-section {
    padding: 72px 0 40px;
    min-height: auto;
  }

  .about-hero-content {
    padding: 16px;
  }

  .hero-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
  }

  .about-page-title {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .about-hero-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 12px;
  }

  /* Facility Detail Cards */
  .fac-detail-card {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
  }

  .fac-detail-card > div:first-child {
    width: 100%;
    height: 250px;
    border-radius: 16px;
  }

  .fac-detail-card > div:first-child img {
    height: 100%;
    object-fit: cover;
  }

  .fac-detail-card > div:last-child {
    width: 100%;
    padding: 0 8px;
  }

  .spec-card-main-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .spec-card-paragraph {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .fac-feature-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .fac-feature-list li {
    font-size: 0.88rem;
    align-items: flex-start;
  }

  .fac-feature-list li svg {
    margin-right: 6px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
  }

  /* Safety Standards Section */
  .fac-section {
    padding: 50px 0;
  }

  .section-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.8px;
  }

  .section-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }

  .fac-section p {
    font-size: 0.88rem;
    margin-bottom: 30px;
  }

  /* Safety Cards Grid - Similar to Specialities Clinical Departments */
  .safety-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .safety-card {
    box-sizing: border-box;
    padding: 12px 10px !important;
    border-radius: 16px !important;
    display: flex;
    flex-direction: column;
  }

  .safety-card > div:first-child {
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px !important;
    margin-bottom: 8px !important;
    text-align: left;
  }

  .safety-card > div:first-child span:first-child {
    width: 8px !important;
    height: 8px !important;
  }

  .safety-card h4 {
    font-size: 0.9rem !important;
    line-height: 1.25;
    margin: 0 !important;
  }

  .safety-card > ul {
    display: flex !important;
    flex-direction: column;
    gap: 4px !important;
  }

  .safety-card ul li {
    font-size: 0.72rem !important;
    line-height: 1.3;
  }

  .safety-card ul li span {
    width: 4px !important;
    height: 4px !important;
  }

  /* Clinical Insights Section */
  .fac-section[style*="background-color: #f8fafc"] {
    padding: 50px 0;
  }

  .fac-section[style*="background-color: #f8fafc"] .section-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }

  .fac-section[style*="background-color: #f8fafc"] > .container > div[style*="display: flex"] {
    flex-direction: column;
    padding: 24px;
    gap: 24px;
  }

  .fac-section[style*="background-color: #f8fafc"] > .container > div[style*="display: flex"] > div:first-child {
    min-width: 100%;
    padding: 20px;
  }

  .fac-section[style*="background-color: #f8fafc"] > .container > div[style*="display: flex"] > div:last-child {
    min-width: 100%;
  }

  .fac-section[style*="background-color: #f8fafc"] h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .fac-section[style*="background-color: #f8fafc"] p {
    font-size: 0.88rem;
    margin-bottom: 12px;
  }

  .fac-section[style*="background-color: #f8fafc"] div[style*="display: flex; gap: 20px"] {
    flex-direction: column;
    gap: 12px;
  }

  .fac-section[style*="background-color: #f8fafc"] div[style*="display: flex; gap: 20px"] > div {
    font-size: 0.82rem;
  }

  /* Mobile Animations - Reduce animation duration for better performance */
  .animate-on-scroll,
  .fac-detail-card,
  .safety-card {
    transition-duration: 0.4s;
  }

  .about-hero-content {
    animation-duration: 0.5s;
  }
}

@media (max-width: 480px) {
  .about-page-title {
    font-size: 1.4rem;
  }

  .spec-card-main-title {
    font-size: 1.35rem;
  }

  .fac-detail-card > div:first-child {
    height: 220px;
  }
}

/* ==========================================================================
   ABOUT US PAGE SPECIFIC STYLES
   ========================================================================== */

.about-hero-section {
  background: linear-gradient(135deg, #fdf2f8 0%, #ffffff 50%, #e6f4f1 100%);
  padding: 50px 0 35px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

/* Specialities Page Hero Section (Expanded 2-Column Layout) */
.spec-hero-section {
  background: linear-gradient(135deg, #fdf2f8 0%, #ffffff 50%, #e6f4f1 100%);
  padding: 75px 0 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.spec-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.spec-hero-title {
  font-family: var(--font-serif);
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.spec-hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
}

.spec-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.spec-hero-pill {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.spec-hero-pill:hover {
  transform: translateY(-2px);
  border-color: var(--primary-teal);
}

.spec-hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.spec-hero-img-blend-container {
  position: relative;
  width: 100%;
  max-width: 580px;
  height: 420px;
  overflow: hidden;
  border-radius: 24px;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.3) 12%, #000000 38%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.3) 12%, #000000 38%);
}

.spec-hero-img-blend-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4) 60%, transparent);
  z-index: 2;
  pointer-events: none;
}

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

.sh-feature-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

@media (max-width: 992px) {
  .spec-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .spec-hero-section {
    padding: 72px 0 40px;
  }
}

@media (max-width: 576px) {
  .spec-hero-title {
    font-size: 2rem;
  }

  .spec-hero-desc {
    font-size: 0.92rem;
  }

  .spec-hero-card {
    padding: 20px 18px;
  }
}

.about-hero-content {
  max-width: 800px;
}

.about-page-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}

.about-hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 680px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
}

.breadcrumbs a {
  color: var(--primary-teal-dark);
  transition: var(--transition);
}

.breadcrumbs a:hover {
  color: var(--primary-teal);
  text-decoration: underline;
}

.bc-separator {
  color: var(--text-light);
}

.bc-current {
  color: var(--text-muted);
}

/* Stats Counter Bar */
.stats-bar-section {
  padding: 30px 0;
  background: var(--bg-card);
  margin-top: -20px;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #ffffff;
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.stat-card {
  text-align: center;
  padding: 12px;
  border-right: 1px solid var(--border-light);
}

.stat-card:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-teal-dark);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Our Story Section */
.about-story-section {
  padding: 60px 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.story-paragraph {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.story-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.story-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-dark);
}

.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-teal-soft);
  color: var(--primary-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  flex-shrink: 0;
}

.story-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

.story-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.story-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}

.badge-icon {
  font-size: 1.4rem;
}

.badge-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.badge-text span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Mission Vision Values */
.mvv-section {
  padding: 60px 0;
  background: var(--bg-subtle);
}

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

.mvv-card {
  background: #ffffff;
  padding: 28px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

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

.mvv-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.m-icon-teal {
  background: var(--primary-teal-light);
}

.m-icon-pink {
  background: var(--accent-pink-soft);
}

.mvv-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.mvv-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Doctors Section on About Page */
.doctors-about-section {
  padding: 60px 0;
}

.doc-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-subtle);
}

.doc-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top center;
}

.doc-tag-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  color: var(--primary-teal-dark);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.doc-info {
  padding: 20px 0 0;
}

.doc-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
}

.doc-designation {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-teal-dark);
  display: block;
  margin-bottom: 10px;
}

.doc-bio {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
}

.doc-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.spec-pill {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* Why Choose Us */
.why-choose-section {
  padding: 60px 0;
  background: var(--bg-subtle);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.why-item {
  background: #ffffff;
  padding: 20px;
  border-radius: var(--radius-md);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.why-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.why-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.why-content p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-cta-box {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-cta-box h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.about-cta-box p {
  font-size: 0.9rem;
  opacity: 0.92;
  margin-bottom: 16px;
}

/* Mobile responsive adjustments for About page */
@media (max-width: 768px) {
  .about-hero-section {
    padding: 72px 0 25px;
  }

  .about-page-title {
    font-size: 1.8rem;
  }

  .about-hero-desc {
    font-size: 0.88rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .stat-card {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 10px 4px;
  }

  .stat-card:nth-child(3),
  .stat-card:nth-child(4) {
    border-bottom: none;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.72rem;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mvv-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .doc-img {
    height: 220px;
  }

  .about-cta-box h3 {
    font-size: 1.2rem;
  }

  .about-cta-box p {
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   SPECIALITIES PAGE SPECIFIC STYLES
   ========================================================================== */

.spec-filter-section {
  padding: 16px 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 72px;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.filter-pills-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filter-pills-wrap::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  white-space: nowrap;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
  cursor: pointer;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--primary-teal);
  color: #ffffff;
  border-color: var(--primary-teal);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.specialities-detail-section {
  padding: 40px 0;
}

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

.spec-detail-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px 22px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
}

.spec-detail-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(16, 185, 129, 0.12);
  border-color: var(--primary-teal);
}

.spec-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.spec-detail-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.spec-detail-card:hover .spec-detail-icon {
  transform: scale(1.08);
}

.badge-teal {
  background: var(--primary-teal-light) !important;
  color: var(--primary-teal-dark) !important;
}

.spec-category-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--accent-pink-soft);
  color: #be185d;
  margin-bottom: 4px;
}

.spec-card-main-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
  transition: color 0.2s ease;
}

.spec-detail-card:hover .spec-card-main-title {
  color: var(--primary-teal-dark);
}

.spec-card-paragraph {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.spec-card-footer {
  padding-top: 14px;
  border-top: 1px dashed var(--border-light);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.spec-explore-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-teal-dark);
  transition: gap 0.2s ease, color 0.2s ease;
}

.spec-detail-card:hover .spec-explore-link {
  color: var(--primary-teal);
  gap: 10px;
}

.spec-explore-link svg {
  transition: transform 0.2s ease;
}

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

/* Journey Steps Timeline */
.journey-section {
  padding: 70px 0;
  background: var(--bg-subtle);
}

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

.journey-step-card {
  background: #ffffff;
  padding: 32px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.journey-step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-teal);
}

.step-num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary-teal-dark);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.journey-step-card:hover .step-num {
  opacity: 0.9;
  color: var(--primary-teal);
  transform: scale(1.05);
}

.journey-step-card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.journey-step-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Responsive Rules for Specialities */
@media (max-width: 992px) {
  .spec-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {

  /* Hero section buttons: 2 buttons appear beside each other */
  .spec-hero-badges {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
    width: 100%;
    margin-bottom: 16px;
  }

  .spec-hero-pill {
    padding: 6px 10px;
    font-size: 0.74rem;
    gap: 6px;
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
  }

  .spec-hero-pill svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  .spec-hero-pill span {
    font-size: 0.74rem;
    line-height: 1.25;
    text-align: left;
    white-space: normal;
  }

  .spec-category-badge {
    display: none !important;
  }
}

@media (max-width: 600px) {

  /* 1. Specialities Cards: 2 cards beside each other */
  .spec-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }

  .spec-detail-card {
    padding: 12px 10px;
    border-radius: 16px;
  }

  .spec-card-header {
    gap: 8px;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
  }

  .spec-title-wrap {
    min-width: 0;
    flex: 1;
  }

  .spec-detail-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .spec-detail-icon svg {
    width: 22px;
    height: 22px;
  }

  .spec-detail-icon svg.gyno-icon {
    width: 30px;
    height: 30px;
  }

  .spec-category-badge {
    display: none !important;
  }

  .spec-card-main-title {
    font-size: 0.85rem;
    line-height: 1.25;
  }

  .spec-card-paragraph {
    font-size: 0.72rem;
    line-height: 1.35;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .spec-card-footer {
    padding-top: 8px;
  }

  .spec-explore-link {
    font-size: 0.72rem;
    gap: 4px;
  }

  .spec-explore-link svg {
    width: 12px;
    height: 12px;
  }

  /* 2. Hero buttons size reduction on mobile */
  .spec-hero-badges {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px;
  }

  .spec-hero-pill {
    padding: 6px 8px;
    font-size: 0.7rem;
    gap: 5px;
  }

  .spec-hero-pill span {
    font-size: 0.7rem;
  }

  /* 3. Patient Care Journey: 2 cards beside each other */
  .journey-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
    margin-top: 24px;
  }

  .journey-step-card {
    padding: 14px 10px;
    border-radius: 16px;
  }

  .step-num {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }

  .journey-step-card h4 {
    font-size: 0.85rem;
    line-height: 1.25;
    margin-bottom: 4px;
  }

  .journey-step-card p {
    font-size: 0.72rem;
    line-height: 1.35;
  }
}

@media (max-width: 400px) {
  .spec-cards-grid {
    gap: 8px;
  }

  .spec-detail-card {
    padding: 10px 8px;
  }

  .spec-card-main-title {
    font-size: 0.82rem;
  }

  .spec-card-paragraph {
    font-size: 0.68rem;
  }

  .spec-hero-pill {
    padding: 5px 6px;
    font-size: 0.65rem;
    gap: 4px;
  }

  .spec-hero-pill span {
    font-size: 0.65rem;
  }

  .spec-hero-pill svg {
    width: 12px;
    height: 12px;
  }

  .journey-grid {
    gap: 8px;
  }

  .journey-step-card {
    padding: 12px 8px;
  }

  .journey-step-card h4 {
    font-size: 0.8rem;
  }

  .journey-step-card p {
    font-size: 0.68rem;
  }
}

/* ==========================================================================
   MOBILE WEBSITE ABOUT PAGE STYLES (DALAWAI HOSPITAL)
   Sophisticated, Organic, Warm, Premium Healthcare & Maternity Aesthetic
   ========================================================================== */

:root {
  --mobile-dark-teal: #0B2B22;
  --mobile-forest-heading: #0F382C;
  --mobile-emerald-green: #0D7A5F;
  --mobile-soft-mint: #E8F5F1;
  --mobile-warm-ivory: #FAF8F5;
  --mobile-light-sage: #E3EBE6;
  --mobile-blush-pink: #FDF0ED;
  --mobile-muted-gold: #C5A059;
}

/* Page Layout Wrapper - Desktop Mode */
.mobile-website-body {
  background-color: #ffffff;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: block;
}

.mobile-phone-frame {
  width: 100%;
  max-width: 100%;
  background-color: #ffffff;
  min-height: 100vh;
  position: relative;
  box-shadow: none;
  overflow-x: hidden;
  margin: 0;
  border: none;
  border-radius: 0;
}

@media (min-width: 501px) {
  .mobile-phone-frame {
    margin: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    max-width: 100%;
  }
}


/* --------------------------------------------------
   Header
   -------------------------------------------------- */
.mobile-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 122, 95, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--mobile-soft-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.mobile-brand-logo .brand-logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

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

.mobile-brand-logo .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--mobile-dark-teal);
  line-height: 1;
}

.mobile-brand-logo .brand-sub {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--mobile-emerald-green);
  text-transform: uppercase;
}

.call-now-pill {
  background: var(--mobile-emerald-green);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(13, 122, 95, 0.3);
  text-decoration: none;
  transition: all 0.25s ease;
}

/* Navigation Drawer Overrides */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  background: rgba(250, 248, 245, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 84px 20px 36px 20px;
  gap: 12px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(13, 122, 95, 0.12);
}

.drawer-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--mobile-dark-teal);
  letter-spacing: 1px;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
}

.drawer-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--mobile-dark-teal);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid rgba(13, 122, 95, 0.06);
}

.drawer-link.active {
  color: var(--mobile-emerald-green);
  font-weight: 700;
}

.drawer-cta-btn {
  margin-top: 20px;
  background: var(--mobile-emerald-green);
  color: #ffffff;
  text-align: center;
  padding: 14px;
  border-radius: 9999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(13, 122, 95, 0.3);
}

/* --------------------------------------------------
   General Labels & Typography
   -------------------------------------------------- */
.label-uppercase-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--mobile-emerald-green);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.section-container {
  padding: 36px 20px;
  position: relative;
}

.serif-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--mobile-dark-teal);
  line-height: 1.2;
  margin-bottom: 14px;
}

.title-highlight {
  color: var(--mobile-emerald-green);
  font-style: italic;
}

/* --------------------------------------------------
   1. HERO SECTION
   -------------------------------------------------- */
.hero-organic-section {
  background: linear-gradient(180deg, #FAF8F5 0%, #E8F5F1 55%, #FFFFFF 100%);
  position: relative;
  padding: 24px 18px 50px;
  overflow: hidden;
}

.botanical-leaf {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.leaf-top-left {
  top: -10px;
  left: -20px;
}

.leaf-mid-right {
  top: 180px;
  right: -15px;
}

.hero-content-top {
  position: relative;
  z-index: 2;
  margin-bottom: 18px;
}

.hero-serif-headline {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--mobile-dark-teal);
  line-height: 1.15;
  margin: 6px 0 10px;
}

.serif-italic-accent {
  font-style: italic;
  color: var(--mobile-emerald-green);
  display: block;
}

.hero-serif-subheading {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: #1A4D3E;
  margin-bottom: 14px;
  line-height: 1.35;
}

.hero-meta-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #1C4D3E;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
  padding: 5px 12px;
  border-radius: 9999px;
  width: fit-content;
  border: 1px solid rgba(13, 122, 95, 0.15);
}

.hero-image-container {
  position: relative;
  margin: 10px 0 20px;
  z-index: 2;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(15, 56, 44, 0.14);
}

.mother-baby-img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.hero-image-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(250, 248, 245, 0) 45%, rgba(250, 248, 245, 0.85) 82%, #FAF8F5 100%);
  pointer-events: none;
}

/* Organic Floating Blobs */
.organic-blob-badge {
  position: absolute;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 5;
  box-shadow: 0 8px 24px rgba(11, 43, 34, 0.15);
}

.green-blob {
  bottom: -15px;
  left: 10px;
  width: 105px;
  height: 105px;
  background: var(--mobile-dark-teal);
  color: #ffffff;
  padding: 10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.handwritten-script {
  font-family: 'Caveat', cursive;
  font-size: 1.15rem;
  line-height: 1.05;
  color: #ffffff;
}

.handwritten-script-sub {
  font-family: 'Caveat', cursive;
  font-size: 0.95rem;
  color: #A7F3D0;
}

.mint-blob {
  top: 15px;
  right: -10px;
  width: 110px;
  height: 110px;
  background: rgba(232, 245, 241, 0.94);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(13, 122, 95, 0.2);
  padding: 8px;
}

.mint-badge-content {
  display: flex;
  flex-direction: column;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--mobile-dark-teal);
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mint-highlight {
  color: var(--mobile-emerald-green);
  font-weight: 800;
}

/* Hero Floating Category Pill Card */
.hero-floating-categories {
  position: relative;
  z-index: 10;
  background: #ffffff;
  border-radius: 22px;
  padding: 14px 8px;
  box-shadow: 0 14px 32px rgba(11, 43, 34, 0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(13, 122, 95, 0.12);
  margin-top: -10px;
}

.category-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2px 4px;
}

.category-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mobile-soft-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.category-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--mobile-dark-teal);
  line-height: 1.2;
}

.category-divider {
  width: 1px;
  height: 34px;
  background: rgba(13, 122, 95, 0.15);
}

.hero-bottom-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}

/* --------------------------------------------------
   2. SECTION 2: OUR STORY
   -------------------------------------------------- */
.mobile-story-section {
  background: #ffffff;
  position: relative;
}

.story-text-content {
  margin-bottom: 24px;
}

.story-paragraph {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #2D473E;
  margin-bottom: 12px;
}

.story-visual-block {
  position: relative;
  margin: 20px 0 26px;
}

.story-shape-backdrop {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 75%;
  height: 90%;
  background: var(--mobile-soft-mint);
  border-radius: 30px;
  z-index: 1;
}

.story-hospital-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(11, 43, 34, 0.1);
}

.story-quote-card {
  position: relative;
  z-index: 3;
  margin-top: -30px;
  margin-left: 25px;
  width: fit-content;
  background: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(13, 122, 95, 0.18);
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: 0 8px 20px rgba(11, 43, 34, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-italic-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--mobile-dark-teal);
  line-height: 1.35;
  margin: 0;
  font-weight: 600;
}

.outline-action-btn {
  border: 1.5px solid var(--mobile-emerald-green);
  color: var(--mobile-emerald-green);
  background: transparent;
  padding: 10px 22px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.outline-action-btn:hover {
  background: var(--mobile-emerald-green);
  color: #ffffff;
}

/* --------------------------------------------------
   3. SECTION 3: MEDICAL HEAD
   -------------------------------------------------- */
.mobile-doctor-section {
  background: var(--mobile-soft-mint);
  position: relative;
}

.mint-curve-top {
  line-height: 0;
  background: #ffffff;
}

.mint-container-padding {
  padding-top: 20px;
  padding-bottom: 44px;
}

.serif-doctor-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--mobile-dark-teal);
  margin-bottom: 4px;
}

.doctor-subtitle {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mobile-emerald-green);
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.doctor-portrait-wrapper {
  position: relative;
  margin: 20px auto 28px;
  text-align: center;
}

.organic-doctor-blob {
  position: absolute;
  inset: -10px;
  background: #D8EFE9;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  z-index: 1;
}

.doctor-portrait-img {
  position: relative;
  z-index: 2;
  width: 230px;
  height: 270px;
  object-fit: cover;
  object-position: center top;
  border-radius: 30px;
  box-shadow: 0 14px 32px rgba(11, 43, 34, 0.12);
}

.specialist-pill-tag {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--mobile-dark-teal);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 9999px;
  margin-top: -18px;
  box-shadow: 0 6px 16px rgba(11, 43, 34, 0.2);
}

.doctor-handwritten-phrase {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
  font-family: 'Caveat', cursive;
  font-size: 1.15rem;
  color: var(--mobile-dark-teal);
  line-height: 1.2;
}

.doctor-handwritten-phrase .script-accent {
  color: var(--mobile-emerald-green);
  font-weight: 700;
}

.doctor-bio-text {
  margin-bottom: 22px;
}

.doctor-bio-text p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #234237;
  margin-bottom: 12px;
}

.doctor-quote-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  border-left: 4px solid var(--mobile-emerald-green);
  box-shadow: 0 8px 24px rgba(11, 43, 34, 0.06);
  margin-bottom: 24px;
}

.quote-statement {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.98rem;
  color: var(--mobile-dark-teal);
  line-height: 1.45;
  margin: 8px 0;
  font-weight: 600;
}

.quote-author {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mobile-emerald-green);
  display: block;
}

/* --------------------------------------------------
   4. SECTION 4: VISION & MISSION
   -------------------------------------------------- */
.mobile-purpose-section {
  background: var(--mobile-warm-ivory);
}

.centered-header {
  text-align: center;
  margin-bottom: 24px;
}

.purpose-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.purpose-card {
  border-radius: 24px;
  padding: 22px 18px;
  box-shadow: 0 10px 28px rgba(11, 43, 34, 0.05);
}

.vision-card {
  background: var(--mobile-soft-mint);
  border: 1px solid rgba(13, 122, 95, 0.15);
}

.mission-card {
  background: var(--mobile-blush-pink);
  border: 1px solid rgba(244, 114, 182, 0.15);
}

.purpose-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.purpose-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.purpose-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--mobile-dark-teal);
}

.purpose-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--mobile-dark-teal);
  line-height: 1.45;
  font-weight: 600;
  margin: 0 0 12px 0;
}

.purpose-detail-text {
  font-size: 0.86rem;
  color: #2D473E;
  line-height: 1.6;
}

.mission-points-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mission-points-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: #2D473E;
  line-height: 1.45;
}

.mission-points-list .check-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

/* --------------------------------------------------
   5. SECTION 5: CORE VALUES
   -------------------------------------------------- */
.mobile-values-section {
  background: #ffffff;
}

.core-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.value-card {
  background: var(--mobile-warm-ivory);
  border-radius: 20px;
  padding: 18px 12px;
  text-align: center;
  border: 1px solid var(--mobile-soft-mint);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.value-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mobile-soft-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.value-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--mobile-dark-teal);
  margin-bottom: 4px;
}

.value-desc {
  font-size: 0.72rem;
  color: #4A6359;
  font-style: italic;
}

/* --------------------------------------------------
   6. SECTION 6: APPOINTMENT CTA
   -------------------------------------------------- */
.mobile-cta-section {
  background: var(--mobile-warm-ivory);
  padding: 10px 0 30px;
}

.cta-emerald-card {
  background: linear-gradient(135deg, #0B2B22 0%, #0F382C 100%);
  color: #ffffff;
  border-radius: 28px;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(11, 43, 34, 0.22);
}

.cta-bg-artwork {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-uppercase-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #6EE7B7;
  display: block;
  margin-bottom: 8px;
}

.cta-white-headline {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 10px;
}

.cta-subtext {
  font-size: 0.85rem;
  color: #D1FAE5;
  margin-bottom: 20px;
  line-height: 1.45;
}

.cta-white-pill-btn {
  background: #ffffff;
  color: var(--mobile-dark-teal);
  font-size: 0.88rem;
  font-weight: 800;
  padding: 12px 28px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
}

.cta-baby-block {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  margin-top: 24px;
  box-shadow: 0 12px 30px rgba(11, 43, 34, 0.12);
}

.baby-hand-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.baby-overlay-text {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 43, 34, 0.2) 0%, rgba(11, 43, 34, 0.75) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}

.baby-handwritten-script {
  font-family: 'Caveat', cursive;
  font-size: 1.6rem;
  color: #ffffff;
  line-height: 1.1;
}

.baby-handwritten-script-gold {
  font-family: 'Caveat', cursive;
  font-size: 1.8rem;
  color: #FDE047;
  font-weight: 700;
  line-height: 1.1;
}

.heart-line-svg {
  margin-top: 6px;
}

/* Footer */
.mobile-site-footer {
  text-align: center;
  padding: 20px 16px;
  background: var(--mobile-dark-teal);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
}

.footer-copy {
  margin: 0;
}

/* ==========================================================================
   SPECIALITY DETAIL PAGES STYLING
   ========================================================================== */

/* 1. Card Actions & Learn More Buttons in Overview Grid */
.spec-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: var(--primary-teal-dark);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--primary-teal-dark);
  transition: var(--transition);
  text-decoration: none;
}

.btn-learn-more:hover {
  background: var(--primary-teal-light);
  color: var(--primary-teal-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-learn-more svg {
  transition: transform 0.2s ease;
}

.btn-learn-more:hover svg {
  transform: translateX(3px);
}

/* 2. Detail Page Hero Section */
.detail-hero-section {
  position: relative;
  background: linear-gradient(180deg, #fafbfc 0%, #e6f4f1 100%);
  padding: 48px 0 40px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.gyno-hero-bg-section {
  background-image: linear-gradient(90deg, #fafbfc 0%, rgba(250, 251, 252, 0.92) 40%, rgba(250, 251, 252, 0.15) 60%, transparent 78%), url('assets/images/specialities/gynecology.png') !important;
  background-repeat: no-repeat !important;
  background-position: right center !important;
  background-size: cover !important;
  padding: 60px 0;
  min-height: calc(100vh - 80px) !important;
  display: flex !important;
  align-items: center !important;
}

.maternity-hero-bg-section {
  background-image: linear-gradient(90deg, #fafbfc 0%, rgba(250, 251, 252, 0.92) 40%, rgba(250, 251, 252, 0.15) 60%, transparent 78%), url('assets/images/specialities/maternity.png') !important;
  background-repeat: no-repeat !important;
  background-position: right center !important;
  background-size: cover !important;
  padding: 60px 0;
  min-height: calc(100vh - 80px) !important;
  display: flex !important;
  align-items: center !important;
}

.icu-hero-bg-section {
  background-image: linear-gradient(90deg, #fafbfc 0%, rgba(250, 251, 252, 0.92) 40%, rgba(250, 251, 252, 0.15) 60%, transparent 78%), url('assets/images/specialities/icu.png') !important;
  background-repeat: no-repeat !important;
  background-position: right center !important;
  background-size: cover !important;
  padding: 60px 0;
  min-height: calc(100vh - 80px) !important;
  display: flex !important;
  align-items: center !important;
}

.ayurveda-hero-bg-section {
  background-image: linear-gradient(90deg, #fafbfc 0%, rgba(250, 251, 252, 0.92) 40%, rgba(250, 251, 252, 0.15) 60%, transparent 78%), url('assets/images/specialities/ayurveda.png') !important;
  background-repeat: no-repeat !important;
  background-position: right center !important;
  background-size: cover !important;
  padding: 60px 0;
  min-height: calc(100vh - 80px) !important;
  display: flex !important;
  align-items: center !important;
}

.opd-hero-bg-section {
  background-image: linear-gradient(90deg, #fafbfc 0%, rgba(250, 251, 252, 0.92) 40%, rgba(250, 251, 252, 0.15) 60%, transparent 78%), url('assets/images/specialities/opd-consultations.png') !important;
  background-repeat: no-repeat !important;
  background-position: right center !important;
  background-size: cover !important;
  padding: 60px 0;
  min-height: calc(100vh - 80px) !important;
  display: flex !important;
  align-items: center !important;
}

.ipd-hero-bg-section {
  background-image: linear-gradient(90deg, #fafbfc 0%, rgba(250, 251, 252, 0.92) 40%, rgba(250, 251, 252, 0.15) 60%, transparent 78%), url('assets/images/specialities/inpatient-care.png') !important;
  background-repeat: no-repeat !important;
  background-position: right center !important;
  background-size: cover !important;
  padding: 60px 0;
  min-height: calc(100vh - 80px) !important;
  display: flex !important;
  align-items: center !important;
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.detail-hero-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.detail-hero-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.18;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.detail-hero-tagline {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 90%;
  font-weight: 500;
}

.detail-hero-banner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: #ffffff;
}

.detail-hero-banner img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
}

.detail-hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.4) 100%);
}

.detail-hero-banner-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  padding: 12px 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.detail-hero-banner-badge svg {
  flex-shrink: 0;
}

.detail-hero-banner-badge span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* 3. Overview Section */
.detail-overview-section {
  padding: 60px 0;
  background: #ffffff;
}

.detail-overview-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.overview-text-block h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.overview-text-block p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.overview-highlight-box {
  background: var(--primary-teal-light);
  border-left: 4px solid var(--primary-teal-dark);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 28px;
}

.overview-highlight-box h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #065f46;
  margin-bottom: 8px;
}

.overview-highlight-box p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #046c4e;
  margin-bottom: 0;
}

.overview-sidebar-card {
  background: var(--bg-subtle);
  border-radius: 20px;
  padding: 28px 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.overview-sidebar-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-teal-light);
}

.sidebar-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.sidebar-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.sidebar-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-info-text strong {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dark);
}

.sidebar-info-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 4. Procedures / Conditions Treated Section */
.detail-procedures-section {
  padding: 60px 0;
  background: var(--bg-subtle);
}

.procedures-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.procedure-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.procedure-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(5, 150, 105, 0.25);
}

.procedure-badge-num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-teal-light);
  color: var(--primary-teal-dark);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.procedure-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.procedure-content p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* 5. What to Expect (Step-by-Step Patient Journey) */
.detail-journey-section {
  padding: 60px 0;
  background: #ffffff;
}

.journey-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
  position: relative;
}

.detail-step-card {
  background: var(--bg-subtle);
  border-radius: 20px;
  padding: 28px 20px;
  border: 1px solid var(--border-light);
  position: relative;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.detail-step-card:hover {
  border-color: var(--primary-teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.detail-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-dark) 100%);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.detail-step-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.detail-step-card p {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* 6. Why Choose Dalawai Feature Grid */
.detail-why-section {
  padding: 60px 0;
  background: var(--bg-subtle);
}

.why-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.why-feature-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(5, 150, 105, 0.2);
}

.why-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.why-feature-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.why-feature-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* 7. Lead Specialist(s) Section */
.detail-doctor-section {
  padding: 60px 0;
  background: #ffffff;
}

.detail-doctor-card {
  background: linear-gradient(135deg, #ffffff 0%, #e6f4f1 100%);
  border-radius: 24px;
  border: 1px solid rgba(167, 243, 208, 0.8);
  box-shadow: var(--shadow-md);
  padding: 36px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 32px;
}

.detail-doctor-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 320px;
  background: var(--primary-teal-soft);
}

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

.detail-doctor-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 9999px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.detail-doctor-info h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.detail-doctor-cred {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-teal-dark);
  margin-bottom: 16px;
}

.detail-doctor-bio {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.detail-doctor-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.doc-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: var(--text-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid var(--border-light);
}

/* Navbar Specialities Dropdown */
.nav-item.has-dropdown {
  position: relative;
}

.nav-item.has-dropdown>a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background: #ffffff;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--border-light);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1100;
  list-style: none;
  margin: 0;
}

.nav-item.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin-bottom: 2px;
}

.dropdown-menu li a {
  display: block;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
  background: var(--primary-teal-light);
  color: var(--primary-teal-dark);
  transform: translateX(4px);
}

.dropdown-divider {
  height: 1px;
  background: var(--border-light);
  margin: 6px 0 !important;
}

.dropdown-all-link {
  color: var(--primary-teal-dark) !important;
  font-weight: 700 !important;
}

/* 8. FAQs Accordion Section (2-Column Grid & Centered Subtitle) */
.detail-faq-section {
  padding: 60px 0;
  background: var(--bg-subtle);
}

.detail-faq-section .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 650px;
}

.faq-container-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: flex-start;
  margin-top: 36px;
}

.faq-left-col {
  width: 100%;
}

.faq-left-col .faq-accordion {
  margin: 0;
  max-width: 100%;
}

.faq-right-col {
  width: 100%;
  position: sticky;
  top: 90px;
}

.faq-image-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border-light);
  height: 400px;
  width: 100%;
}

.faq-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 992px) {
  .faq-container-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .faq-image-card {
    height: 300px;
  }
}

.faq-accordion {
  max-width: 860px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-accordion-item {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.faq-accordion-item.active {
  border-color: var(--primary-teal);
  box-shadow: var(--shadow-md);
}

.faq-accordion-header {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.faq-accordion-header:hover {
  color: var(--primary-teal-dark);
}

.accordion-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-teal-light);
  color: var(--primary-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-accordion-item.active .accordion-icon-wrap {
  transform: rotate(180deg);
  background: var(--primary-teal-dark);
  color: #ffffff;
}

.faq-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
}

.faq-accordion-item.active .faq-accordion-content {
  max-height: 1000px;
  padding: 0 24px 20px 24px;
  transition: max-height 0.35s ease-in-out;
}

.faq-accordion-content p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* 9. Related Specialities Section */
.detail-related-section {
  padding: 60px 0;
  background: #ffffff;
}

.related-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.related-spec-card {
  background: var(--bg-subtle);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.related-spec-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(5, 150, 105, 0.25);
}

.related-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.related-card-head h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

.related-card-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Media Queries for Speciality Detail Pages */
@media (max-width: 992px) {
  .detail-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .detail-hero-title {
    font-size: 2.2rem;
  }

  .detail-overview-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

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

  .detail-doctor-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  .detail-doctor-img-wrap {
    height: 280px;
  }

  .related-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  /* 1. Remove hero CTA button ("Schedule Antenatal Consultation") in mobile view */
  .detail-hero-section .hero-cta-buttons {
    display: none !important;
  }

  /* 2. Conditions & Procedures Treated: 2 cards beside each other */
  .procedures-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
    margin-top: 24px;
  }

  .procedure-card {
    padding: 12px 10px;
    border-radius: 16px;
    flex-direction: column;
    gap: 8px;
  }

  .procedure-badge-num {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
    border-radius: 8px;
  }

  .procedure-content h4 {
    font-size: 0.85rem;
    line-height: 1.25;
    margin-bottom: 4px;
  }

  .procedure-content p {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  /* 3. Patient Journey: 2 cards beside each other */
  .journey-steps-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
    margin-top: 24px;
  }

  .detail-step-card {
    padding: 14px 10px;
    border-radius: 16px;
  }

  .detail-step-num {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  .detail-step-card h4 {
    font-size: 0.85rem;
    line-height: 1.25;
    margin-bottom: 4px;
  }

  .detail-step-card p {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  /* 4. Why Choose Dalawai: 2 cards beside each other */
  .why-features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
    margin-top: 24px;
  }

  .why-feature-card {
    padding: 14px 10px;
    border-radius: 16px;
  }

  .why-icon-box {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }

  .why-icon-box svg {
    width: 20px;
    height: 20px;
  }

  .why-feature-card h4 {
    font-size: 0.85rem;
    line-height: 1.25;
    margin-bottom: 4px;
  }

  .why-feature-card p {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .gyno-hero-bg-section {
    background: linear-gradient(180deg, rgba(250, 251, 252, 0.85) 0%, rgba(250, 251, 252, 0.6) 50%, rgba(250, 251, 252, 0.35) 100%), url('assets/images/specialities/gynecology.png') no-repeat center right / cover !important;
    padding: 36px 0 32px !important;
    min-height: auto !important;
  }

  .maternity-hero-bg-section {
    background: linear-gradient(180deg, rgba(250, 251, 252, 0.85) 0%, rgba(250, 251, 252, 0.6) 50%, rgba(250, 251, 252, 0.35) 100%), url('assets/images/specialities/maternity.png') no-repeat center right / cover !important;
    padding: 36px 0 32px !important;
    min-height: auto !important;
  }

  .icu-hero-bg-section {
    background: linear-gradient(180deg, rgba(250, 251, 252, 0.85) 0%, rgba(250, 251, 252, 0.6) 50%, rgba(250, 251, 252, 0.35) 100%), url('assets/images/specialities/icu.png') no-repeat center right / cover !important;
    padding: 36px 0 32px !important;
    min-height: auto !important;
  }

  .ayurveda-hero-bg-section {
    background: linear-gradient(180deg, rgba(250, 251, 252, 0.85) 0%, rgba(250, 251, 252, 0.6) 50%, rgba(250, 251, 252, 0.35) 100%), url('assets/images/specialities/ayurveda.png') no-repeat center right / cover !important;
    padding: 36px 0 32px !important;
    min-height: auto !important;
  }

  .opd-hero-bg-section {
    background: linear-gradient(180deg, rgba(250, 251, 252, 0.85) 0%, rgba(250, 251, 252, 0.6) 50%, rgba(250, 251, 252, 0.35) 100%), url('assets/images/specialities/opd-consultations.png') no-repeat center right / cover !important;
    padding: 36px 0 32px !important;
    min-height: auto !important;
  }

  .ipd-hero-bg-section {
    background: linear-gradient(180deg, rgba(250, 251, 252, 0.85) 0%, rgba(250, 251, 252, 0.6) 50%, rgba(250, 251, 252, 0.35) 100%), url('assets/images/specialities/inpatient-care.png') no-repeat center right / cover !important;
    padding: 36px 0 32px !important;
    min-height: auto !important;
  }
}

@media (max-width: 640px) {
  .detail-hero-title {
    font-size: 1.85rem;
  }

  .detail-doctor-img-wrap {
    height: 240px;
  }
}

@media (max-width: 400px) {

  .procedures-grid,
  .journey-steps-grid,
  .why-features-grid {
    gap: 8px;
  }

  .procedure-card,
  .detail-step-card,
  .why-feature-card {
    padding: 10px 8px;
  }

  .procedure-content h4,
  .detail-step-card h4,
  .why-feature-card h4 {
    font-size: 0.8rem;
  }

  .procedure-content p,
  .detail-step-card p,
  .why-feature-card p {
    font-size: 0.68rem;
  }
}

/* ==========================================================================
   BACKGROUND PATHS ANIMATION (SHADCN / FRAMER-MOTION EQUIVALENT IN CSS)
   ========================================================================== */
.hero-organic-section {
  position: relative;
  overflow: hidden;
}

.background-paths-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  opacity: 0.85;
}

.background-paths-svg {
  width: 100%;
  height: 100%;
  min-height: 450px;
}

.floating-svg-path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: floatPath 22s linear infinite;
}

@keyframes floatPath {
  0% {
    stroke-dashoffset: 1200;
    opacity: 0.25;
  }

  50% {
    stroke-dashoffset: 0;
    opacity: 0.8;
  }

  100% {
    stroke-dashoffset: -1200;
    opacity: 0.25;
  }
}

/* React About Mount Target Container */
#react-about-hero {
  width: 100%;
  min-height: 100vh;
  background-color: #ffffff;
  overflow: hidden;
}

/* ==========================================================================
   AESTHETIC ABOUT SECTION STYLES (HOMEPAGE & ABOUT PAGE)
   ========================================================================== */
.about-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f4fbf8 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

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

.about-img-wrapper {
  position: relative;
}

.about-main-img-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(5, 150, 105, 0.15);
  border: 4px solid #ffffff;
  background-color: #0d5c46;
}

.about-main-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-main-img-card:hover .about-main-img {
  transform: scale(1.04);
}

.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(2, 20, 15, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.about-img-tag {
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.about-img-title {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 4px 0 0 0;
  font-family: 'Outfit', sans-serif;
}

/* Floating Trust Badges */
.about-floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 20px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  z-index: 10;
  transition: transform 0.3s ease;
}

.about-floating-badge:hover {
  transform: translateY(-4px);
}

.about-badge-top {
  top: -20px;
  right: -20px;
}

.about-badge-bottom {
  bottom: -20px;
  left: -20px;
}

@media (max-width: 640px) {
  .about-badge-top {
    top: 10px;
    right: 10px;
    padding: 10px 14px;
  }

  .about-badge-bottom {
    bottom: 10px;
    left: 10px;
    padding: 10px 14px;
  }
}

.about-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  shrink: 0;
}

.about-badge-val {
  font-size: 1.15rem;
  font-weight: 900;
  color: #064e3b;
  line-height: 1;
  font-family: 'Outfit', sans-serif;
}

.about-badge-lbl {
  font-size: 0.72rem;
  color: #4b5563;
  font-weight: 600;
  margin-top: 2px;
}

/* About Content Column */
.about-content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #059669;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  width: fit-content;
  margin-bottom: 16px;
}

.about-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: #064e3b;
  line-height: 1.25;
  margin-bottom: 18px;
}

.about-heading span {
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
  .about-heading {
    font-size: 1.85rem;
  }
}

.about-lead-text {
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.7;
  font-weight: 500;
  margin-bottom: 24px;
}

/* Key Features Grid */
.about-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 30px;
}

@media (max-width: 500px) {
  .about-features-list {
    grid-template-columns: 1fr;
  }
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #ffffff;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: border-color 0.3s ease;
}

.about-feature-item:hover {
  border-color: #10b981;
}

.about-feat-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-feat-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.about-feat-desc {
  font-size: 0.78rem;
  color: #6b7280;
  margin: 2px 0 0 0;
  line-height: 1.4;
}

/* Action Buttons */
.about-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-about-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(5, 150, 105, 0.25);
  transition: all 0.3s ease;
}

.btn-about-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(5, 150, 105, 0.35);
  color: #ffffff;
}

.btn-about-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 50px;
  background: #ffffff;
  border: 1.5px solid #d1d5db;
  color: #374151;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-about-secondary:hover {
  border-color: #059669;
  color: #059669;
  background: rgba(16, 185, 129, 0.05);
}

/* Stats Counter Strip */
.about-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: linear-gradient(135deg, #02140f 0%, #06382a 100%);
  border-radius: 24px;
  padding: 32px;
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(2, 20, 15, 0.15);
}

@media (max-width: 768px) {
  .about-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px;
    gap: 16px;
  }
}

.about-stat-box {
  text-align: center;
}

.about-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #34d399;
  line-height: 1;
}

.about-stat-lbl {
  font-size: 0.8rem;
  color: #a7f3d0;
  margin-top: 6px;
  font-weight: 500;
}

/* ======================================================
   YOUTUBE CHANNEL STYLE ANIMATED LOGO INTRO
======================================================= */
.yt-intro-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #ffffff;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.8s;
  font-family: var(--font-sans);
  color: #0f172a;
}

.yt-intro-container.hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.08);
  pointer-events: none;
}

.yt-bg-radial {
  position: absolute;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(244, 114, 182, 0.08) 40%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  animation: ytGlowPulse 5s ease-in-out infinite alternate;
}

@keyframes ytGlowPulse {
  0% {
    transform: scale(0.85);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.2);
    opacity: 1;
  }
}

.yt-pulse-circle {
  position: absolute;
  border: 1.5px solid rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  pointer-events: none;
  animation: ytCircleExpand 6s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

.yt-pulse-circle.circle-1 {
  width: 350px;
  height: 350px;
  animation-delay: 0s;
}

.yt-pulse-circle.circle-2 {
  width: 600px;
  height: 600px;
  animation-delay: 2s;
}

.yt-pulse-circle.circle-3 {
  width: 850px;
  height: 850px;
  animation-delay: 4s;
}

@keyframes ytCircleExpand {
  0% {
    transform: scale(0.3);
    opacity: 0.9;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.yt-intro-card {
  position: relative;
  z-index: 10;
  max-width: 680px;
  width: 92%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  padding: 30px 20px;
}

.yt-logo-box {
  position: relative;
  width: 420px;
  max-width: 88vw;
  padding: 24px 36px;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(16, 185, 129, 0.2), 0 0 0 1px rgba(16, 185, 129, 0.15);
  overflow: hidden;
  animation: ytLogoZoom 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes ytLogoZoom {
  0% {
    opacity: 0;
    transform: scale(0.4) translateY(40px);
  }

  70% {
    transform: scale(1.05) translateY(-4px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.yt-logo-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.35) 0%, rgba(244, 114, 182, 0.2) 60%, transparent 100%);
  z-index: 0;
  filter: blur(15px);
  animation: ytAuraPulse 3s ease-in-out infinite alternate;
}

@keyframes ytAuraPulse {
  0% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

.yt-shine-overlay {
  position: absolute;
  top: -50%;
  left: -60%;
  width: 60%;
  height: 200%;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.85) 50%, transparent 80%);
  transform: rotate(25deg);
  z-index: 2;
  animation: ytShineSweep 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes ytShineSweep {
  0% {
    left: -60%;
  }

  35% {
    left: 140%;
  }

  100% {
    left: 140%;
  }
}

.yt-logo-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

.yt-brand-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: ytFadeUp 0.9s ease-out 0.4s both;
}

.yt-line-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.yt-subtag {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #059669;
  letter-spacing: 0.5px;
}

.yt-pill {
  background: #e6f4f1;
  padding: 5px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.yt-dot {
  color: #f472b6;
  font-weight: 900;
}

.yt-heartbeat {
  width: 100%;
  max-width: 440px;
  height: 32px;
  animation: ytFadeUp 0.9s ease-out 0.6s both;
}

.yt-pulse-path {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: ytPulseWave 2.4s ease-in-out infinite;
}

@keyframes ytPulseWave {
  0% {
    stroke-dashoffset: 600;
  }

  50% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: -600;
  }
}

@keyframes ytFadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.yt-action-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  animation: ytFadeUp 0.9s ease-out 0.7s both;
}

.yt-enter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 44px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: 700;
  border-radius: 9999px;
  border: none;
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.45);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.yt-enter-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 42px rgba(16, 185, 129, 0.6);
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
}

.yt-enter-btn:active {
  transform: translateY(-1px) scale(0.98);
}

.yt-progress-wrap {
  width: 240px;
  height: 5px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
}

.yt-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #10b981, #f472b6);
  border-radius: 9999px;
  transition: width 0.1s linear;
}

.yt-countdown-text {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
}
/* Added CSS for Facilities redesign */
.fac-section { padding: 50px 0; }
.fac-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fac-detail-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(15,23,42,0.06);
  box-shadow: 0 4px 12px rgba(15,23,42,0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.fac-card-header { margin-bottom: 12px; }
.fac-icon-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.fac-card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.fac-divider {
  border: none;
  border-top: 1px dashed rgba(15,23,42,0.12);
  margin: 0 0 16px 0;
}
.fac-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.fac-feature-list li {
  font-size: 0.85rem;
  color: var(--text-dark);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.3;
}
.fac-feature-list li svg {
  color: #059669; /* teal accent for checks */
  flex-shrink: 0;
  margin-top: 2px;
}
.fac-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(15,23,42,0.08);
  padding-top: 16px;
  margin-top: auto;
}
.fac-status {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.fac-status strong { color: var(--text-dark); }

.fac-filter-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  white-space: nowrap;
  overflow-x: auto;
  padding-bottom: 8px; /* space for scrollbar */
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.fac-filter-scroll::-webkit-scrollbar { display: none; }
.fac-filter-wrap-outer { position: relative; }

@media (max-width: 1023px) {
  .fac-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .fac-cards-grid { grid-template-columns: 1fr; }
  .fac-feature-list { grid-template-columns: 1fr 1fr; } /* they fit in Mobile */
  .fac-filter-wrap-outer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,1));
    pointer-events: none;
  }
}

/* --- Additional Facilities Optimizations --- */
.fac-detail-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fac-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08); /* deeper shadow on hover */
}
.fac-filter-scroll {
  justify-content: center; /* Center filters on large screens */
}
@media (max-width: 768px) {
  .fac-filter-scroll {
    justify-content: flex-start; /* back to start on mobile for scrolling */
  }
}
.about-hero-section {
  padding: 80px 0; /* Add more vertical breathing room to the hero */
}
.about-hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.about-hero-content .hero-eyebrow {
  justify-content: center;
}
.about-hero-content p {
  margin: 0 auto;
  max-width: 650px; /* Better readability */
}

/* Footer improvements */
.footer-grid {
  gap: 60px; /* Added spacing between columns for a cleaner footer layout */
}
.site-footer {
  padding-top: 80px; 
}

/* Specific 4-column balanced layout for Safety Standards */
.fac-standards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1023px) {
  .fac-standards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .fac-standards-grid { grid-template-columns: 1fr; }
}

/* ==============================================
   FACILITIES PAGE — ALTERNATING ZIG-ZAG LAYOUT
   HTML order: [image] [content] inside each card
   row        → image LEFT,  content RIGHT  (even)
   row-reverse → content LEFT, image RIGHT  (odd)
   ============================================== */

/* Base: all cards default to image-left / content-right */
.flagship-facilities .fac-detail-card {
  flex-direction: row;
}

/* Odd cards (1, 3, 5): flip to content-left / image-right */
.flagship-facilities .fac-detail-card:nth-child(odd) {
  flex-direction: row-reverse;
}

/* Slide-in animation — odd cards enter from the right */
.flagship-facilities .fac-detail-card:nth-child(odd).fade-in-up,
.flagship-facilities .fac-detail-card:nth-child(odd)[data-aos] {
  --slide-from: translateX(40px);
}

/* Slide-in animation — even cards enter from the left */
.flagship-facilities .fac-detail-card:nth-child(even).fade-in-up,
.flagship-facilities .fac-detail-card:nth-child(even)[data-aos] {
  --slide-from: translateX(-40px);
}

/* Mobile & tablet: stack all cards as single column, image top, content below */
@media (max-width: 768px) {
  .flagship-facilities .fac-detail-card,
  .flagship-facilities .fac-detail-card:nth-child(odd),
  .flagship-facilities .fac-detail-card:nth-child(even) {
    flex-direction: column !important;
  }

  /* Reset any order overrides on children */
  .flagship-facilities .fac-detail-card > div {
    order: unset !important;
    width: 100%;
    min-width: unset !important;
  }

  /* Fixed-height image containers should relax on mobile */
  .flagship-facilities .fac-detail-card > div[style*="height: 420px"] {
    height: 260px;
  }
}

/* ==========================================================================
   REDESIGNED APPOINTMENT & CONTACT SECTION (SLEEK & WARM SOFT-LIGHT THEME)
   ========================================================================== */
.appointment-section {
  padding: 85px 0;
  position: relative;
  background-color: var(--bg-main);
  overflow: hidden;
}

.appointment-container {
  position: relative;
  border-radius: 32px;
  background: linear-gradient(135deg, #fff5f8 0%, #fcf7ff 45%, #f0fdf4 100%);
  box-shadow: 0 20px 50px rgba(219, 39, 119, 0.07);
  padding: 56px 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #fbcfe8;
}

/* Background Ambient Ornaments */
.apt-bg-glow-1 {
  position: absolute;
  top: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 207, 232, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.apt-bg-glow-2 {
  position: absolute;
  bottom: -120px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(209, 250, 229, 0.5) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.apt-bg-pattern {
  position: absolute;
  top: 5%;
  left: 2%;
  opacity: 0.15;
  color: #db2777;
  pointer-events: none;
}

/* Left Column Styling */
.appointment-content {
  position: relative;
  z-index: 2;
  color: #0f172a;
}

.appointment-content .emergency-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fde8ef;
  border: 1px solid #fbcfe8;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #db2777;
  letter-spacing: 0.3px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(219, 39, 119, 0.08);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #db2777;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(219, 39, 119, 0.6);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(219, 39, 119, 0.6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(219, 39, 119, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(219, 39, 119, 0);
  }
}

.appointment-main-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  color: #0f172a;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.highlight-pink-text {
  color: #db2777;
  position: relative;
  background: linear-gradient(135deg, #db2777 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.appointment-sub-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 32px;
  font-weight: 400;
}

.appointment-sub-text strong {
  color: #0f172a;
  font-weight: 700;
}

/* Contact Cards Grid */
.apt-contact-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.apt-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
  padding: 16px 20px;
  border-radius: 16px;
  text-decoration: none;
  color: #0f172a;
  transition: all 0.3s ease;
}

.apt-info-card:hover {
  background: #ffffff;
  transform: translateY(-2px);
  border-color: #fbcfe8;
  box-shadow: 0 10px 25px rgba(219, 39, 119, 0.12);
}

.apt-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fde8ef;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #db2777;
  flex-shrink: 0;
}

.apt-info-details {
  display: flex;
  flex-direction: column;
}

.apt-info-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
}

.apt-info-val {
  font-size: 0.96rem;
  font-weight: 700;
  color: #0f172a;
}

/* Trust Pills */
.apt-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.apt-trust-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #059669;
  border: 1px solid #d1fae5;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.06);
}

/* Right Column: Premium Floating Card Form */
.booking-form-card {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  border: 1.5px solid #f1f5f9;
}

.form-card-header {
  margin-bottom: 26px;
}

.form-card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.form-card-header p {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
}

.booking-form-card .form-group {
  margin-bottom: 20px;
}

.booking-form-card .form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
  letter-spacing: 0.1px;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon .input-icon {
  position: absolute;
  left: 16px;
  color: #94a3b8;
  pointer-events: none;
  transition: color 0.2s ease;
}

.input-with-icon .form-control {
  width: 100%;
  padding: 14px 16px 14px 46px;
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  background-color: #f8fafc;
  font-size: 0.95rem;
  font-weight: 500;
  color: #0f172a;
  outline: none;
  transition: all 0.25s ease;
}

.input-with-icon .form-control::placeholder {
  color: #94a3b8;
}

.input-with-icon .form-control:focus {
  background-color: #ffffff;
  border-color: #059669;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.12);
}

.input-with-icon .form-control:focus ~ .input-icon,
.input-with-icon:focus-within .input-icon {
  color: #059669;
}

.booking-form-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-submit-form {
  width: 100%;
  margin-top: 10px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  border-radius: 14px;
  font-size: 1.02rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.28);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-submit-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(5, 150, 105, 0.38);
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
}

.btn-submit-form svg {
  transition: transform 0.25s ease;
}

.btn-submit-form:hover svg {
  transform: translateX(4px);
}

/* Responsive adjustments for Appointment Container */
@media (max-width: 1024px) {
  .appointment-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 44px 36px;
  }
}

@media (max-width: 640px) {
  .appointment-container {
    padding: 32px 20px;
    border-radius: 24px;
  }

  .booking-form-card {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .booking-form-card .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ==========================================================================
   DOCTOR SHOWCASE SECTION - MOBILE & TABLET RESPONSIVE FIX
   ========================================================================== */
@media (max-width: 992px) {
  .doctor-showcase-section {
    padding: 40px 0 60px 0 !important;
  }
  
  .doctor-showcase-card,
  .doctor-showcase-card:nth-of-type(2),
  .doctor-showcase-card:nth-child(even) {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px 16px !important;
    gap: 20px !important;
    text-align: center !important;
    border-radius: 24px !important;
    margin-top: 32px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }
  
  .doctor-showcase-card:first-child {
    margin-top: 0 !important;
  }

  .doc-blob-col {
    width: 100% !important;
    max-width: 260px !important;
    flex-shrink: 0 !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .doc-blob-bg {
    width: 100% !important;
    height: 100% !important;
  }

  .doc-image-frame {
    width: 100% !important;
    max-width: 240px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    margin: 0 auto !important;
    border: 3px solid #ffffff !important;
  }

  .doc-image-frame img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    border-radius: 50% !important;
  }

  .doc-info-col {
    width: 100% !important;
    padding: 0 !important;
    margin-top: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .doc-eyebrow {
    font-size: 0.72rem !important;
    margin-bottom: 6px !important;
    text-align: center !important;
  }

  .doc-name-title {
    font-size: 1.6rem !important;
    text-align: center !important;
    margin-bottom: 10px !important;
    line-height: 1.2 !important;
    width: 100% !important;
    word-break: break-word !important;
  }

  .doc-title-underline {
    margin: 6px auto 0 auto !important;
  }

  .doc-subtitle-row {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 0.85rem !important;
    margin-bottom: 14px !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    width: 100% !important;
  }

  .doc-description {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    text-align: center !important;
    margin-bottom: 20px !important;
    color: #475569 !important;
    width: 100% !important;
  }

  .doc-features-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin-bottom: 20px !important;
  }

  .doc-feat-item {
    flex: 1 1 90px !important;
    max-width: 130px !important;
    padding: 10px 6px !important;
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(241, 245, 249, 0.75) !important;
    border-radius: 12px !important;
  }

  .doc-feat-icon {
    margin-bottom: 4px !important;
  }

  .doc-feat-label {
    font-size: 0.7rem !important;
    text-align: center !important;
    line-height: 1.25 !important;
  }

  .doc-action-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .btn-doc-appointment {
    width: 100% !important;
    max-width: 260px !important;
    justify-content: center !important;
    padding: 12px 20px !important;
    font-size: 0.9rem !important;
  }

  .doc-script-quote {
    font-size: 1.35rem !important;
    text-align: center !important;
  }
}
@media (max-width: 767px) {
  .safety-card > p.desktop-text {
    display: none !important;
  }
  .safety-card > p.mobile-text {
    display: block !important;
  }
  .safety-card > ul {
    display: none !important;
  }
}
@media (min-width: 768px) {
  .safety-card > p.mobile-text {
    display: none !important;
  }
  .safety-card > p.desktop-text {
    display: block !important;
  }
}

/* --------------------------------------------------
   PERFORMANCE & SMOOTH RENDERING OPTIMIZATIONS
   -------------------------------------------------- */
@media (max-width: 900px) {
  /* Disable heavy GPU blur repaints on mobile screens */
  *, ::before, ::after {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .site-navbar {
    background: #ffffff !important;
  }

  .mobile-nav-drawer {
    background: #faf8f5 !important;
  }
}

img {
  content-visibility: auto;
}
