/* index.css - Cherish Children's Clinic Design System & Styles */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Earth-Toned Luxury Palette */
  --bg-primary: #faf7f2;        /* Warm Oat/Cream main background */
  --bg-secondary: #f4edd9;      /* Deeper warm sand */
  --bg-sage-light: #eef4f0;     /* Soft Light Mint */
  --bg-rose-light: #fbf1f0;     /* Soft Terracotta Blush */
  
  --sage-green: #3e5c4a;        /* Rich Forest Sage Green */
  --sage-green-hover: #2e4436;
  --sage-green-glow: rgba(62, 92, 74, 0.08);
  
  --terracotta-rose: #c67b73;    /* Warm Terracotta Rose */
  --terracotta-rose-hover: #b46860;
  --terracotta-rose-glow: rgba(198, 123, 115, 0.08);
  
  --text-primary: #1a241f;      /* Deep Forest Charcoal */
  --text-secondary: #4e5d54;    /* Muted Sage Slate */
  
  --border-color: rgba(62, 92, 74, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.75);
  --glass-shadow: 0 10px 35px 0 rgba(62, 92, 74, 0.05);
  --glass-shadow-hover: 0 20px 50px 0 rgba(62, 92, 74, 0.1);
  
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-quick: all 0.25s ease;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Base resets & animations */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  font-size: 16px;
  height: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  animation: pageFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
}

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

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition-quick);
}

/* Glowing background blobs */
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  -webkit-filter: blur(120px);
  z-index: -1;
  opacity: 0.55;
  pointer-events: none;
  animation: floatBlob 24s infinite alternate ease-in-out;
}

.bg-blob-1 {
  top: 15%;
  left: -10%;
  width: 400px;
  height: 400px;
  background-color: var(--bg-sage-light);
}

.bg-blob-2 {
  top: 45%;
  right: -10%;
  width: 450px;
  height: 450px;
  background-color: var(--bg-rose-light);
  animation-delay: -6s;
}

.bg-blob-3 {
  bottom: 10%;
  left: 10%;
  width: 380px;
  height: 380px;
  background-color: var(--bg-secondary);
  animation-delay: -12s;
}

@keyframes floatBlob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -50px) scale(1.1); }
  100% { transform: translate(-30px, 60px) scale(0.9); }
}

/* Glassmorphism card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 24px;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glass-shadow-hover);
  border-color: rgba(255, 255, 255, 0.95);
}

/* Section Containers (Multi-page Layouts) */
main {
  flex: 1;
  padding-top: 100px; /* Offset for floating header */
}

.page-container {
  padding: 4rem 1.5rem 6rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.page-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-header h2 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.page-header h2 span.highlight-rose {
  color: var(--terracotta-rose);
  position: relative;
  display: inline-block;
}

.page-header h2 span.highlight-rose::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: rgba(198, 123, 115, 0.18);
  border-radius: 2px;
  z-index: -1;
}

.page-header p {
  font-size: 1.15rem;
}

/* Buttons (Modern magnetic style indicators) */
.btn-primary {
  background-color: var(--sage-green);
  color: #fff;
  padding: 0.9rem 2.25rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 6px 20px rgba(62, 92, 74, 0.2);
  border: 1px solid transparent;
}

.btn-primary:hover {
  background-color: var(--sage-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(62, 92, 74, 0.3);
}

.btn-secondary {
  background-color: var(--terracotta-rose);
  color: #fff;
  padding: 0.9rem 2.25rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 6px 20px rgba(198, 123, 115, 0.2);
}

.btn-secondary:hover {
  background-color: var(--terracotta-rose-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(198, 123, 115, 0.3);
}

.btn-outline {
  border: 1.5px solid var(--sage-green);
  color: var(--sage-green);
  padding: 0.85rem 2.1rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-outline:hover {
  background-color: var(--sage-green);
  color: #fff;
  transform: translateY(-2px);
}

/* Header Styles */
header {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1200px;
  height: 75px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2.5rem;
  border-radius: 20px;
  background-color: rgba(250, 247, 242, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

header.header-scrolled {
  top: 10px;
  height: 68px;
  background: linear-gradient(135deg, rgba(250, 247, 242, 0.85), rgba(238, 244, 240, 0.85), rgba(251, 241, 240, 0.85));
  background-size: 300% 300%;
  animation: headerGradientShift 12s ease infinite;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--glass-shadow);
}

@keyframes headerGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

header .logo-container {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

header .logo-container .logo-svg {
  width: 32px;
  height: 32px;
  fill: var(--sage-green);
}

header .logo-container .logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
}

header .logo-container h1 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  flex-direction: column;
}

header .logo-container h1 span.clinic-sub {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--terracotta-rose);
  margin-top: -3px;
}

/* Nav Menu Desktop */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  padding: 0.5rem 0;
  opacity: 0.85;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  border-radius: 2px;
  background-color: var(--sage-green);
  transition: var(--transition-quick);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 18px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--sage-green);
  opacity: 1;
}

/* Resources Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: rgba(250, 247, 242, 0.95);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 0.75rem 0;
  min-width: 180px;
  box-shadow: 0 10px 40px rgba(62,92,74,0.08);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-quick);
  z-index: 1100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(8px);
}

.dropdown-item {
  display: block;
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition-quick);
}

.dropdown-item:hover {
  background-color: var(--bg-sage-light);
  color: var(--sage-green);
}

/* Right-side links & social icons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(62, 92, 74, 0.05);
  color: var(--sage-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-quick);
}

.social-icon:hover {
  background-color: var(--sage-green);
  color: #fff;
  transform: scale(1.08);
}

.social-icon.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
}

.social-icon.whatsapp:hover {
  background-color: #25d366;
  color: #fff;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-quick);
}

/* ==========================================
   PAGE: index.html - HOME PAGE
   ========================================== */
.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem 0 5rem 0;
}

.hero-tag {
  background-color: var(--bg-sage-light);
  color: var(--sage-green);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
}

.hero-text h1 span.highlight-rose {
  color: var(--terracotta-rose);
  position: relative;
  z-index: 1;
}

.hero-text h1 span.highlight-rose::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 12px;
  background-color: rgba(198, 123, 115, 0.15);
  z-index: -1;
  border-radius: 2px;
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* Home hero card right side */
.hero-badge-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.badge-doctor-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.badge-doctor-img {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 15px rgba(62,92,74,0.1);
}

.badge-doctor-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.badge-doctor-info p {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--sage-green);
  letter-spacing: 1px;
}

.status-dot-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  background-color: var(--bg-sage-light);
  color: var(--sage-green);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-top: 0.35rem;
}

.status-dot-indicator span.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #28a745;
  display: block;
}

.badge-bullets-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.badge-bullets-list li {
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.badge-bullets-list li svg {
  width: 18px;
  height: 18px;
  fill: var(--terracotta-rose);
  flex-shrink: 0;
}

.hero-contact-strip {
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.strip-item {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Home Section Previews styling */
.home-section-teaser {
  padding: 5rem 0;
  border-top: 1px solid rgba(62,92,74,0.06);
}

.teaser-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.teaser-row h2 {
  font-size: 2.2rem;
  letter-spacing: -0.5px;
}

/* Home Highlights Section */
.highlights-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.highlight-card {
  padding: 2.5rem;
  text-align: left;
}

.highlight-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background-color: var(--bg-sage-light);
  color: var(--sage-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.highlight-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.highlight-card p {
  font-size: 0.95rem;
}

/* ==========================================
   PAGE: about.html - ABOUT DR. JYO
   ========================================== */
.about-split {
  display: grid;
  grid-template-columns: 0.90fr 1.10fr;
  gap: 4.5rem;
  align-items: flex-start;
}

.about-media-column {
  position: relative;
}

.about-photo-frame {
  width: 100%;
  max-width: 400px;
  height: 420px;
  object-fit: cover;
  border-radius: 40px;
  border: 10px solid #fff;
  box-shadow: var(--glass-shadow-hover);
  display: block;
  margin: 0 auto;
}

.about-media-column .experience-floating-badge {
  position: absolute;
  bottom: -20px;
  right: 10px;
  background-color: var(--sage-green);
  color: #fff;
  padding: 1.5rem;
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(62,92,74,0.25);
  text-align: center;
  min-width: 140px;
}

.about-media-column .experience-floating-badge h4 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.about-media-column .experience-floating-badge p {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.about-bio-column h3 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.about-bio-column p.credentials {
  font-size: 1.05rem;
  color: var(--terracotta-rose);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-bio-column p.bio-para {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.credentials-timeline-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.credentials-timeline-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.timeline-item {
  display: flex;
  gap: 1rem;
}

.timeline-year {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--sage-green);
  min-width: 80px;
}

.timeline-text {
  font-size: 0.95rem;
  font-weight: 500;
}

.about-vision-section {
  margin-top: 6rem;
  padding: 3.5rem;
  text-align: center;
  position: relative;
}

.about-vision-section svg.quote-icon {
  width: 50px;
  height: 50px;
  fill: rgba(198, 123, 115, 0.15);
  margin-bottom: 1.5rem;
}

.about-vision-section h3 {
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 500;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  color: var(--text-primary);
}

/* ==========================================
   PAGE: services.html - SERVICES
   ========================================== */
.services-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card-premium {
  padding: 3rem 2.25rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon-svg {
  width: 48px;
  height: 48px;
  margin-bottom: 2rem;
  fill: var(--sage-green);
}

.service-card-premium:nth-child(even) .service-icon-svg {
  fill: var(--terracotta-rose);
}

.service-card-premium h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-card-premium p.service-desc {
  font-size: 0.95rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.service-accordion {
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}

.service-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.service-accordion-header span {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.service-accordion-header svg {
  width: 14px;
  height: 14px;
  fill: var(--text-secondary);
  transition: transform 0.3s;
}

.service-accordion.active .service-accordion-header svg {
  transform: rotate(180deg);
}

.service-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.service-accordion-content ul {
  list-style: none;
  padding: 1rem 0 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-accordion-content li {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-accordion-content li::before {
  content: '✦';
  color: var(--terracotta-rose);
  font-size: 0.7rem;
}

/* ==========================================
   PAGE: testimonials.html - TESTIMONIALS
   ========================================== */
.slider-featured-testimonials {
  position: relative;
  max-width: 900px;
  margin: 0 auto 3rem auto;
}

.slider-track-wrapper {
  overflow: hidden;
  border-radius: 28px;
}

.featured-slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}


.featured-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 0 1rem;
}

.featured-testimonial-card {
  padding: 3.5rem;
  position: relative;
  min-height: 280px;
  text-align: center;
}

.featured-testimonial-card svg.quote-icon {
  width: 60px;
  height: 60px;
  fill: rgba(62,92,74,0.04);
  position: absolute;
  top: 2rem;
  left: 2rem;
}

.featured-author h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.featured-author p.author-meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
}

.featured-stars {
  color: #ffc107;
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-bottom: 2rem;
}

.featured-quote-text {
  font-size: 1.15rem;
  line-height: 1.75;
  font-style: italic;
  max-width: 750px;
  margin: 0 auto;
}

/* Slider controls (arrows + dots) */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.slider-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: 1.5px solid var(--border-color);
  color: var(--sage-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 4px 16px rgba(62,92,74,0.08);
  backdrop-filter: blur(8px);
  transition: var(--transition-quick);
  flex-shrink: 0;
}

.slider-btn:hover {
  background: var(--sage-green);
  color: #fff;
  border-color: var(--sage-green);
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(62,92,74,0.2);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(62,92,74,0.2);
  transition: var(--transition-quick);
  padding: 0;
}

.slider-dot.active {
  background: var(--sage-green);
  width: 24px;
  border-radius: 4px;
}

/* Masonry reviews list */
.reviews-grid-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-item-card {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: 220px;
}

.review-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.reviewer-name h4 {
  font-size: 1.1rem;
  font-weight: 700;
}

.reviewer-name span {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: block;
}

.review-body-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

.review-body-text.collapsed p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  max-height: 4.8em;
  overflow: hidden;
}

/* ==========================================
   PAGE: bmi-calculator.html - PEDIATRIC BMI
   ========================================== */
.bmi-calculator-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: flex-start;
}

.bmi-control-box {
  padding: 3rem 2.5rem;
}

.gender-select-pill {
  display: flex;
  background-color: var(--bg-sage-light);
  padding: 0.35rem;
  border-radius: 30px;
  margin-bottom: 2rem;
}

.gender-pill-btn {
  flex: 1;
  padding: 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 25px;
  text-align: center;
  color: var(--text-secondary);
}

.gender-pill-btn.active {
  background-color: var(--sage-green);
  color: #fff;
}

.range-slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-label-row span.label-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.slider-label-row span.label-value-display {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--sage-green);
}

/* Custom styled Range Inputs */
input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}

input[type=range]:focus {
  outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  background: rgba(62,92,74,0.1);
  border-radius: 3px;
}

input[type=range]::-webkit-slider-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: var(--sage-green);
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -7px;
  box-shadow: 0 3px 8px rgba(62,92,74,0.25);
  transition: transform 0.15s;
}

input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

/* BMI Gauge Metric Display */
.bmi-output-display-card {
  padding: 3rem 2rem;
  text-align: center;
}

.bmi-gauge-metric-box {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 2rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bmi-gauge-metric-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.bmi-gauge-metric-svg circle.bg {
  fill: none;
  stroke: var(--bg-sage-light);
  stroke-width: 8;
}

.bmi-gauge-metric-svg circle.fill {
  fill: none;
  stroke: var(--sage-green);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 439.6; /* 2 * PI * r = 2 * 3.14159 * 70 */
  stroke-dashoffset: 439.6;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.8s ease;
}

.bmi-value-overlay {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bmi-value-overlay h3 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
}

.bmi-value-overlay span {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

.bmi-status-badge {
  display: inline-block;
  padding: 0.4rem 1.25rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.bmi-status-badge.healthy {
  background-color: var(--bg-sage-light);
  color: var(--sage-green);
}

.bmi-status-badge.underweight {
  background-color: var(--bg-rose-light);
  color: var(--terracotta-rose);
}

.bmi-status-badge.warning {
  background-color: #fbf0df;
  color: #c0842e;
}

.bmi-status-badge.danger {
  background-color: #f7e6e6;
  color: #b84c4c;
}

/* Fancy BMI alert warning card */
.bmi-action-alert-card {
  margin-top: 2rem;
  padding: 1.75rem;
  border-radius: 16px;
  border-left: 5px solid var(--terracotta-rose);
  background-color: rgba(198,123,115,0.04);
  text-align: left;
  display: none;
  flex-direction: column;
  gap: 1rem;
  animation: scaleUp 0.4s ease forwards;
}

/* ==========================================
   PAGE: milestones-blog.html - MILESTONES
   ========================================== */
.milestones-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.milestones-age-dock {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.age-dock-btn {
  padding: 0.85rem 2.25rem;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  border: 1px solid var(--border-color);
  background-color: transparent;
  color: var(--text-secondary);
}

.age-dock-btn.active {
  background-color: var(--sage-green);
  color: #fff;
  border-color: var(--sage-green);
  box-shadow: 0 4px 15px rgba(62,92,74,0.2);
}

.timeline-list-panel {
  display: none;
  padding: 3rem;
  animation: fadeIn 0.4s ease forwards;
}

.timeline-list-panel.active {
  display: block;
}

.timeline-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.timeline-checkpoint-item {
  display: flex;
  gap: 1.25rem;
}

.checkpoint-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--bg-sage-light);
  color: var(--sage-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.timeline-checkpoint-item:nth-child(even) .checkpoint-number {
  background-color: var(--bg-rose-light);
  color: var(--terracotta-rose);
}

.checkpoint-details h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.checkpoint-details p {
  font-size: 0.9rem;
}

.milestones-warning-panel {
  margin-top: 4.5rem;
  padding: 3rem;
  border: 1px solid rgba(198,123,115,0.15);
  border-left: 6px solid var(--terracotta-rose);
  background-color: rgba(198,123,115,0.03);
  border-radius: 24px;
}

.milestones-warning-panel h3 {
  color: var(--terracotta-rose);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.milestones-warning-panel h3 svg {
  width: 24px;
  height: 24px;
  fill: var(--terracotta-rose);
}

.milestones-warning-panel ul {
  list-style: none;
  padding-left: 0.5rem;
  margin-bottom: 2rem;
}

.milestones-warning-panel li {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.milestones-warning-panel li::before {
  content: '!';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--terracotta-rose);
  color: #fff;
  font-size: 0.65rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================
   PAGE: booking.html - SCHEDULER WIZARD
   ========================================== */
.booking-wizard-card {
  padding: 4rem 3rem;
}

.booking-stepper-tracker {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.booking-stepper-tracker::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
  transform: translateY(-50%);
}

.stepper-progress-fill-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--sage-green);
  z-index: 2;
  transform: translateY(-50%);
  transition: width 0.4s ease;
}

.stepper-node {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  z-index: 3;
  transition: var(--transition-quick);
}

.stepper-node.active {
  border-color: var(--sage-green);
  color: var(--sage-green);
  background-color: var(--bg-sage-light);
  transform: scale(1.15);
  box-shadow: 0 4px 15px rgba(62,92,74,0.15);
}

.stepper-node.completed {
  border-color: var(--sage-green);
  background-color: var(--sage-green);
  color: #fff;
}

.booking-panel-slide {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.booking-panel-slide.active {
  display: block;
}

/* Step 1: Consult Type cards */
.consult-grid-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.consult-card-option {
  padding: 3.5rem 2.5rem;
  text-align: center;
  cursor: pointer;
  border-radius: 24px;
}

.consult-card-option.active {
  border-color: var(--sage-green);
  background-color: rgba(62, 92, 74, 0.03);
  box-shadow: var(--glass-shadow-hover);
}

.consult-card-option svg {
  width: 52px;
  height: 52px;
  fill: var(--sage-green);
  margin-bottom: 2rem;
}

.consult-card-option h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

/* Step 2: Doctor choices */
.doctor-select-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.doctor-select-card {
  padding: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  cursor: pointer;
}

.doctor-select-card.active {
  border-color: var(--sage-green);
  background-color: rgba(62, 92, 74, 0.03);
}

.doctor-select-card img.doc-avatar-img {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: var(--glass-shadow);
}

.doctor-select-card div.avatar-placeholder {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  background-color: var(--bg-sage-light);
  color: var(--sage-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: bold;
  border: 3px solid #fff;
  box-shadow: var(--glass-shadow);
}

.doc-card-details h3 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.doc-card-details p.dept {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--sage-green);
  letter-spacing: 1px;
}

.doc-card-details p.exp {
  font-size: 0.9rem;
}

/* Step 3: Date & Slots */
.wizard-date-scroll-rack {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-bottom: 2.5rem;
}

.wizard-date-rack-card {
  flex: 0 0 calc(25% - 0.75rem);
  min-width: 90px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  border-radius: 16px;
}

.wizard-date-rack-card.active {
  border-color: var(--sage-green);
  background-color: rgba(62, 92, 74, 0.03);
}

.wizard-date-rack-card span.day {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 600;
}

.wizard-date-rack-card span.date {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  margin-top: 0.15rem;
}

.wizard-slots-grid-pane {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.wizard-slot-pill {
  padding: 0.9rem;
  text-align: center;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  background-color: #fff;
  transition: var(--transition-quick);
}

.wizard-slot-pill.active {
  background-color: var(--sage-green);
  color: #fff;
  border-color: var(--sage-green);
  box-shadow: 0 4px 12px rgba(62,92,74,0.2);
}

.wizard-slot-pill:hover:not(.active) {
  border-color: var(--sage-green);
  color: var(--sage-green);
}

/* Step 4: Checkout Flip-Card paywall */
.checkout-panel-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.checkout-summary-column {
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.checkout-summary-heading {
  font-size: 1.25rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.checkout-summary-row.total-row {
  border-top: 1px dashed var(--border-color);
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  font-weight: 800;
  font-size: 1.3rem;
}

/* Interactive Card Flip graphics */
.payment-card-visual {
  width: 100%;
  max-width: 320px;
  height: 185px;
  perspective: 1000px;
  margin: 0 auto 2rem auto;
}

.payment-card-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  position: relative;
}

.payment-card-visual.flip .payment-card-inner {
  transform: rotateY(180deg);
}

.payment-card-front, .payment-card-back {
  width: 100%;
  height: 100%;
  position: absolute;
  backface-visibility: hidden;
  border-radius: 18px;
  padding: 1.5rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(62,92,74,0.15);
}

.payment-card-front {
  background: linear-gradient(135deg, var(--sage-green), #4a6d57);
}

.payment-card-front .chip {
  width: 40px;
  height: 30px;
  background-color: #f6d27e;
  border-radius: 5px;
}

.payment-card-front .card-number-lbl {
  font-size: 1.25rem;
  letter-spacing: 2px;
  font-family: monospace;
}

.payment-card-front .card-holder-row {
  display: flex;
  justify-content: space-between;
}

.payment-card-front .card-holder-row span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.payment-card-back {
  background: linear-gradient(135deg, #4a6d57, var(--sage-green));
  transform: rotateY(180deg);
}

.payment-card-back .stripe {
  width: 100%;
  height: 40px;
  background-color: rgba(0,0,0,0.2);
  margin-top: 10px;
}

.payment-card-back .cvv-stripe {
  background-color: #fff;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  color: #000;
  font-family: monospace;
  font-weight: bold;
}

/* payment form items */
.payment-forms-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.payment-gateway-radio-picker {
  display: flex;
  gap: 1rem;
}

.gateway-pill {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
}

.gateway-pill.active {
  border-color: var(--sage-green);
  background-color: var(--bg-sage-light);
}

.gateway-pill input {
  display: none;
}

.credit-card-form-inputs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field-group label {
  font-size: 0.85rem;
  font-weight: 700;
}

.form-field-group input {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.form-field-group input:focus {
  outline: none;
  border-color: var(--sage-green);
}

.form-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* UPI Payment view */
.upi-form-panel {
  display: none;
}

/* Success Confirmation popup */
.success-screen-card {
  padding: 5rem 3rem;
  text-align: center;
  display: none;
  flex-direction: column;
  align-items: center;
}

.success-check-mark-svg {
  width: 80px;
  height: 80px;
  fill: var(--sage-green);
  margin-bottom: 2rem;
}

.success-screen-card h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.success-screen-card p {
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 3rem;
}

/* Booking Nav buttons row */
.booking-wizard-nav-row {
  display: flex;
  justify-content: space-between;
  margin-top: 3.5rem;
}

/* ==========================================
   PAGE: contact.html - CONTACT US
   ========================================== */
.contact-split-grid {
  display: grid;
  grid-template-columns: 1.10fr 0.90fr;
  gap: 4.5rem;
  align-items: stretch;
}

.contact-card-premium {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-row-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-row-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background-color: var(--bg-sage-light);
  color: var(--sage-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-row-item:nth-child(even) .contact-row-icon-box {
  background-color: var(--bg-rose-light);
  color: var(--terracotta-rose);
}

.contact-row-details h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.contact-row-details a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-row-details a:hover {
  color: var(--sage-green);
}

.hours-table-strip {
  list-style: none;
  width: 100%;
}

.hours-table-strip li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(62,92,74,0.05);
  padding-bottom: 0.5rem;
}

.hours-table-strip li span.day {
  font-weight: 700;
}

.contact-map-card-premium {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--glass-shadow-hover);
  border: 1px solid var(--glass-border);
  min-height: 400px;
}

.contact-map-card-premium iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ==========================================
   FOOTER (Unified for all pages)
   ========================================== */
footer {
  padding: 6rem 1.5rem 3rem 1.5rem;
  background-color: #faf6f0;
  border-top: 1px solid rgba(62,92,74,0.06);
  margin-top: auto;
}

.footer-top-columns {
  max-width: 1200px;
  margin: 0 auto 5rem auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 5rem;
}

.footer-logo-brand h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

.footer-logo-brand h2 span.clinic-sub {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--terracotta-rose);
}

.footer-logo-brand p {
  font-size: 0.95rem;
  max-width: 450px;
  margin-bottom: 2rem;
}

.footer-column h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 0.9rem;
}

.footer-links-list a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-links-list a:hover {
  color: var(--sage-green);
  padding-left: 6px;
}

.footer-bottom-bar {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom-bar p {
  font-size: 0.85rem;
}

/* ==========================================
   FLOATING WHATSAPP & MOBILE MENU OVERLAYS
   ========================================== */
.whatsapp-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: var(--transition-smooth);
}

.whatsapp-widget:hover {
  transform: translateY(-5px) scale(1.06);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Mobile Nav Drawer overlay */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  z-index: 1001;
  background: var(--bg-primary);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  padding: 3.5rem 2.25rem;
  gap: 2.5rem;
  transition: right 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid var(--border-color);
}

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

.mobile-nav-close {
  align-self: flex-end;
  font-size: 1.6rem;
  color: var(--text-primary);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  list-style: none;
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 700;
}

.mobile-resources-sublinks {
  list-style: none;
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 0.9rem;
  border-left: 2px solid var(--border-color);
}

.mobile-resources-sublinks a {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Helper keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 1024px) {
  .hero-split, .about-split, .bmi-calculator-split, .checkout-panel-split, .contact-split-grid {
    gap: 3rem;
  }
  
  .services-masonry, .reviews-grid-masonry {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top-columns {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  header {
    width: calc(100% - 24px);
    padding: 0 1.5rem;
  }
  
  .nav-menu, .header-actions {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  main {
    padding-top: 90px;
  }
  
  .page-container {
    padding: 2.5rem 1.25rem 4rem 1.25rem;
  }
  
  .page-header h2 {
    font-size: 2.25rem;
  }
  
  /* Layout shifts to 1 column for splits */
  .hero-split, .about-split, .bmi-calculator-split, .checkout-panel-split, .contact-split-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-text h1 {
    font-size: 2.4rem;
    line-height: 1.15;
  }
  
  .hero-text > p {
    font-size: 1rem;
    max-width: 480px;
  }
  
  .hero-tag {
    font-size: 0.7rem;
  }
  
  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    padding: 0.8rem 1.75rem;
    font-size: 0.95rem;
  }
  
  .hero-badge-card {
    padding: 2rem 1.5rem !important;
  }
  
  .badge-doctor-img {
    width: 56px !important;
    height: 56px !important;
  }
  
  .about-media-column {
    order: -1;
  }
  
  .about-bio-column {
    text-align: center;
  }
  
  .about-media-column .experience-floating-badge {
    right: 50%;
    transform: translateX(50%);
    bottom: -20px;
  }
  
  /* Grid conversions */
  .services-masonry, .reviews-grid-masonry {
    grid-template-columns: repeat(2, 1fr); /* Stay 2 per row */
    gap: 1rem;
  }
  
  .service-card-premium {
    padding: 2rem 1.5rem;
  }
  
  .highlights-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .featured-testimonial-card {
    padding: 2.5rem 1.5rem;
  }
  
  .timeline-list-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .consult-grid-cards, .doctor-select-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .wizard-date-rack-card {
    flex: 0 0 calc(33.33% - 0.6rem);
  }
  
  .wizard-slot-pill {
    padding: 0.75rem;
  }
  
  .wizard-slots-grid-pane {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-map-card-premium {
    height: 300px;
  }
  
  .footer-top-columns {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-logo-brand {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .services-masonry, .reviews-grid-masonry {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .service-card-premium h3 {
    font-size: 1.05rem;
  }
  
  .service-card-premium p.service-desc {
    font-size: 0.8rem;
  }
  
  .review-item-card {
    padding: 1rem;
  }
  
  .review-body-text {
    font-size: 0.85rem;
  }
  
  .hero-text h1 {
    font-size: 2.1rem;
    letter-spacing: -0.5px;
  }
  
  .hero-split {
    padding: 1.5rem 0 3rem 0;
    gap: 2rem;
  }
  
  .hero-badge-card {
    gap: 1.25rem !important;
  }
  
  .badge-bullets-list li {
    font-size: 0.85rem;
  }
  
  .hero-contact-strip {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .wizard-date-rack-card {
    flex: 0 0 calc(50% - 0.5rem);
  }
  
  .page-header h2 {
    font-size: 1.9rem;
  }
  
  .slider-btn {
    width: 38px;
    height: 38px;
    font-size: 0.8rem;
  }
}


/* Resources Index & Loading Bar styling */
.resource-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.resource-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.resource-index-card {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.resource-index-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 32px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1) 40%, rgba(62, 92, 74, 0.15));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.resource-card-link:hover .resource-index-card {
  transform: translateY(-8px);
  border-color: rgba(62, 92, 74, 0.25);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 40px rgba(62, 92, 74, 0.06);
}

.resource-card-link:nth-child(even):hover .resource-index-card {
  border-color: rgba(198, 123, 115, 0.25);
  box-shadow: 0 20px 40px rgba(198, 123, 115, 0.06);
}

.resource-index-card.active {
  border-color: var(--sage-green);
  box-shadow: 0 8px 30px rgba(62,92,74,0.12);
  background: rgba(255, 255, 255, 0.95);
}

.resource-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--bg-sage-light) 0%, rgba(62,92,74,0.15) 100%);
  color: var(--sage-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  font-size: 1.4rem;
  box-shadow: inset 0 2px 5px rgba(255,255,255,0.4);
}

.resource-card-link:nth-child(even) .resource-icon-badge {
  background: linear-gradient(135deg, var(--bg-rose-light) 0%, rgba(198,123,115,0.15) 100%);
  color: var(--terracotta-rose);
}

.resource-index-card h4 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}

.resource-index-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.resource-action-lbl {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--sage-green);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.5px;
  transition: gap 0.25s ease;
}

.resource-card-link:hover .resource-action-lbl {
  gap: 0.75rem;
}

.resource-card-link:nth-child(even) .resource-action-lbl {
  color: var(--terracotta-rose);
}

.expandable-resource-container {
  display: none;
  margin-top: 2rem;
  animation: slideDownFade 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.expandable-resource-container.open {
  display: block;
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* BMI Calculator Fake Loader styling */
.bmi-loader-overlay {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  text-align: center;
}

.bmi-loader-bar-bg {
  width: 100%;
  max-width: 280px;
  height: 6px;
  background-color: var(--border-color);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
}

.bmi-loader-bar-fill {
  width: 0%;
  height: 100%;
  background-color: var(--sage-green);
  border-radius: 3px;
  animation: loadProgress 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.bmi-loader-overlay span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

@keyframes loadProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* Enhanced Premium Booking Nudge Card */
.enhanced-nudge-box {
  background: linear-gradient(135deg, rgba(62,92,74,0.06) 0%, rgba(198,123,115,0.06) 100%);
  border: 1.5px solid rgba(62,92,74,0.15);
  border-radius: 28px;
  padding: 2.5rem;
  margin-top: 3rem;
  box-shadow: var(--glass-shadow-hover);
  position: relative;
  overflow: hidden;
}

.enhanced-nudge-box::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198,123,115,0.1) 0%, transparent 70%);
  z-index: 1;
}

.enhanced-nudge-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.enhanced-nudge-avatar-col {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.enhanced-nudge-avatar {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.enhanced-nudge-info-col {
  flex-grow: 1;
}

.enhanced-nudge-info-col h4 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.enhanced-nudge-info-col p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.enhanced-nudge-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .enhanced-nudge-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .enhanced-nudge-actions {
    justify-content: center;
  }
}

.back-to-index-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--sage-green);
  background-color: rgba(62, 92, 74, 0.05);
  border: 1px solid rgba(62, 92, 74, 0.1);
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  text-decoration: none;
  margin-bottom: 2.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.back-to-index-btn:hover {
  background-color: var(--sage-green);
  color: #fff;
  transform: translateX(-4px);
  box-shadow: 0 6px 15px rgba(62, 92, 74, 0.15);
}
