/* Nakshatra IVF Homepage Redesign Style System */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700;800&family=Onest:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Color Palette */
  --color-primary: #D91B72;        /* Magenta CTA */
  --color-primary-dark: #B5145E;   /* Hover / active magenta */
  --color-primary-soft: #FCE8F2;   /* Soft pink background */
  --color-blush: #FFF4F8;          /* Page blush tint */
  --color-lavender: #F3EDFF;       /* Lavender accent */
  --color-deep-navy: #18163F;      /* Main heading */
  --color-purple: #3A255F;         /* Secondary heading */
  --color-body: #4F4A5F;           /* Paragraph text */
  --color-muted: #7B7488;          /* Muted text */
  --color-white: #FFFFFF;
  --color-border: #F1DCE7;
  --color-card: #FFFFFF;

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Onest', sans-serif;

  /* Border Radii */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-soft: 0 20px 50px rgba(24, 22, 63, 0.06);
  --shadow-card: 0 12px 34px rgba(217, 27, 114, 0.08);
  --shadow-hover: 0 24px 70px rgba(217, 27, 114, 0.15);

  /* Gradients */
  --gradient-hero: radial-gradient(circle at 90% 20%, #FCE8F2 0%, transparent 40%),
                   linear-gradient(135deg, #FFFFFF 0%, #FFF4F8 55%, #F3EDFF 100%);
  --gradient-soft: linear-gradient(135deg, #FFFFFF 0%, #FFF4F8 60%, #F8EEFF 100%);
  --gradient-card: linear-gradient(180deg, #FFFFFF 0%, #FFF9FC 100%);
  --gradient-cta: linear-gradient(135deg, #FFF4F8 0%, #FCE8F2 100%);
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Prevent horizontal scroll site-wide */
html {
  overflow-x: hidden;
  max-width: 100%;
}

/* Global box-sizing fix — prevents padding from adding to declared width */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Base resets for the redesign elements */
.redesign-body {
  font-family: var(--font-body);
  color: var(--color-body);
  background-color: var(--color-white);
  line-height: 1.75;
  overflow-x: hidden;
  max-width: 100%;
  font-size: 16px;
}

.redesign-body h1, 
.redesign-body h2, 
.redesign-body h3, 
.redesign-body h4, 
.redesign-body h5 {
  color: var(--color-deep-navy);
  font-weight: 700;
  line-height: 1.2;
}

.redesign-body a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

/* Global Container */
.r-container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.r-section {
  padding: 100px 0;
  position: relative;
}

@media (max-width: 768px) {
  .r-section {
    padding: 64px 0;
  }
}

/* UI Elements */
.r-btn-primary {
  background: var(--color-primary);
  color: var(--color-white) !important;
  border-radius: 14px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(217, 27, 114, 0.25);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
  white-space: nowrap;
  max-width: 100%;
}

.r-btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(217, 27, 114, 0.35);
}

.r-btn-secondary {
  background: var(--color-white);
  color: var(--color-primary) !important;
  border: 1px solid rgba(217, 27, 114, 0.30);
  border-radius: 14px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
  white-space: nowrap;
  max-width: 100%;
}

.r-btn-secondary:hover {
  background: var(--color-primary-soft);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.r-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--color-white);
  border: 1px solid rgba(217, 27, 114, 0.15);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(24, 22, 63, 0.03);
}

.r-section-title-wrapper {
  max-width: 700px;
  margin-bottom: 56px;
}

.r-section-subtitle {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.r-section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  color: var(--color-deep-navy);
  line-height: 1.15;
  margin-bottom: 16px;
}

.r-section-title span {
  color: var(--color-primary);
  position: relative;
}

.r-section-desc {
  font-size: 17px;
  color: var(--color-body);
}

/* ==========================================================================
   1. Site Header
   ========================================================================== */
.site-header-redesign {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(217, 27, 114, 0.06);
  padding: 16px 0;
  transition: var(--transition-smooth);
}

.site-header-redesign.scrolled {
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(24, 22, 63, 0.04);
}

.header-container-redesign {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link img {
  height: 50px;
  object-fit: contain;
  display: block;
  background-color: var(--color-white);
  border-radius: 8px;
  padding: 4px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links-list li {
  position: relative;
}

.nav-link-item {
  font-weight: 600;
  font-size: 15px;
  color: var(--color-deep-navy);
  padding: 8px 0;
  display: block;
}

.nav-link-item:hover {
  color: var(--color-primary);
}

.nav-link-item.has-dropdown::after {
  content: '▼';
  font-size: 8px;
  margin-left: 6px;
  vertical-align: middle;
  display: inline-block;
  transition: transform 0.3s;
}

.nav-link-item.has-dropdown:hover::after {
  transform: rotate(180deg);
}

/* Location pill in header */
.header-location-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid rgba(217, 27, 114, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger button */
.nav-toggle-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-deep-navy);
  margin-bottom: 6px;
  transition: var(--transition-smooth);
}

.nav-toggle-btn span:last-child {
  margin-bottom: 0;
}

/* Mobile Close button default hidden on desktop */
.nav-close-btn {
  display: none;
}

/* Header CTA text helpers */
.btn-text-desktop {
  display: inline;
}
.btn-text-mobile {
  display: none;
}

@media (max-width: 992px) {
  .nav-toggle-btn { display: block; }
  .nav-close-btn {
    display: block;
    position: absolute;
    top: 20px; right: 20px;
    background: none; border: none;
    font-size: 28px;
    color: var(--color-deep-navy);
    cursor: pointer;
  }
  .nav-links-list {
    position: fixed; top: 0; right: 0;
    transform: translateX(100%);
    width: 300px; height: 100vh;
    background: var(--color-white);
    flex-direction: column; align-items: flex-start;
    padding: 80px 24px 24px;
    box-shadow: -10px 0 40px rgba(24,22,63,0.14);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
    z-index: 999; overflow-y: auto; gap: 4px;
  }
  .nav-links-list.active { transform: translateX(0); }
  .nav-links-list li { width: 100%; }
  .nav-link-item { font-size: 17px; padding: 12px 0; border-bottom: 1px solid rgba(217,27,114,0.06); }
  /* KEEP the button visible on mobile — show smaller version */
  .header-actions .r-btn-primary {
    display: inline-flex;
    padding: 10px 16px;
    font-size: 13px;
    border-radius: 10px;
  }
  .header-location-pill { display: none; }
  .btn-text-desktop { display: none; }
  .btn-text-mobile { display: inline; }
}

/* Nav Overlay */
.nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(24,22,63,0.4);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.nav-overlay.active { opacity: 1; }

/* ==========================================================================
   2. Hero Section
   ========================================================================== */
.hero-redesign {
  background: var(--gradient-hero);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-redesign-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-left-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero-pills {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-h1 {
  font-family: var(--font-heading);
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: 1.1;
  color: var(--color-deep-navy);
  letter-spacing: -0.02em;
}

.hero-h1 span {
  color: var(--color-primary);
  display: inline-block;
  position: relative;
}

.hero-description {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-body);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chip-item {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(217, 27, 114, 0.1);
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-purple);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-chip-item i {
  color: var(--color-primary);
  font-size: 12px;
}

.hero-cta-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.hero-right-visuals {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-main-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 4px solid var(--color-white);
  aspect-ratio: 4 / 3;
  width: 100%;
  max-width: 480px;
  z-index: 2;
}

.hero-main-card img, 
.hero-main-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 22, 63, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.play-icon-btn {
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 24px;
  box-shadow: 0 10px 30px rgba(217, 27, 114, 0.25);
  animation: pulse-button 2s infinite;
}

@keyframes pulse-button {
  0% {
    box-shadow: 0 0 0 0 rgba(217, 27, 114, 0.4);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(217, 27, 114, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(217, 27, 114, 0);
  }
}

/* Floating Elements */
/* Card 1 — bottom-left corner */
.hero-floating-card {
  position: absolute;
  bottom: 20px;
  left: -14px;
  right: auto;
  top: auto;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px 12px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  border: 1px solid rgba(217, 27, 114, 0.10);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
  animation: float-element 4s ease-in-out infinite;
}

.floating-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.floating-text h4 {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 1px;
  white-space: nowrap;
}

.floating-text p {
  font-size: 10px;
  color: var(--color-muted);
  margin: 0;
  white-space: nowrap;
}

@keyframes float-element {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes float-element-reverse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* Heart Line Art Accent */
.hero-line-art {
  position: absolute;
  right: -50px;
  bottom: -40px;
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 992px) {
  .hero-redesign-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-left-content {
    align-items: center;
    text-align: center;
  }
  .hero-pills, .hero-chips, .hero-cta-buttons {
    justify-content: center;
  }
  .hero-right-visuals {
    max-width: 480px;
    margin-inline: auto;
    width: 100%;
  }
  .floating-icon {
    width: 32px;
    height: 32px;
    font-size: 13px;
    border-radius: 8px;
    flex-shrink: 0;
  }
  .floating-text h4 {
    font-size: 12px;
    margin-bottom: 1px;
  }
  .floating-text p {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .hero-cta-buttons {
    flex-direction: column;
  }
  .hero-cta-buttons a {
    width: 100%;
  }
  .hero-right-visuals {
    overflow: hidden;
  }
}

/* ==========================================================================
   3. Trust Strip
   ========================================================================== */
.trust-strip-section {
  padding: 0;
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

.trust-strip-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(217, 27, 114, 0.08);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
}

.trust-item-redesign {
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  border-right: 1px solid rgba(217, 27, 114, 0.08);
  position: relative;
}

.trust-item-redesign:last-child {
  border-right: none;
}

.trust-number {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(24px, 3.5vw, 36px);
  color: var(--color-primary);
  line-height: 1;
}

.trust-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-deep-navy);
  letter-spacing: 0.02em;
}

.trust-desc {
  font-size: 12px;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 992px) {
  .trust-strip-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
  .trust-item-redesign {
    padding: 20px;
  }
  .trust-item-redesign:nth-child(3) {
    border-right: none;
  }
  .trust-item-redesign:nth-child(4), 
  .trust-item-redesign:nth-child(5) {
    border-top: 1px solid rgba(217, 27, 114, 0.08);
  }
}

@media (max-width: 600px) {
  .trust-strip-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-item-redesign {
    border-right: none;
  }
  .trust-item-redesign:nth-child(odd) {
    border-right: 1px solid rgba(217, 27, 114, 0.08);
  }
  .trust-item-redesign:nth-child(n+3) {
    border-top: 1px solid rgba(217, 27, 114, 0.08);
  }
  .trust-item-redesign:last-child {
    grid-column: span 2;
    border-top: 1px solid rgba(217, 27, 114, 0.08);
  }
}

/* ==========================================================================
   4. Appointment Section
   ========================================================================== */
.appointment-redesign {
  background: var(--color-blush);
  position: relative;
}

.appointment-redesign-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.appointment-info-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.appointment-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.appointment-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.benefit-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-white);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(217, 27, 114, 0.06);
  flex-shrink: 0;
}

.benefit-texts h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.benefit-texts p {
  font-size: 14px;
  color: var(--color-muted);
  margin: 0;
}

/* Appointment Form Card */
.appointment-card-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(217, 27, 114, 0.08);
  width: 100%;
}

.appointment-card-title {
  font-family: var(--font-heading);
  font-size: 24px;
  margin-bottom: 24px;
  color: var(--color-deep-navy);
}

.redesign-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-full-width {
  grid-column: span 2;
}

.r-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.r-form-label {
  font-weight: 600;
  font-size: 13px;
  color: var(--color-purple);
}

.r-form-control {
  width: 100%;
  height: 52px;
  border: 1px solid #EED8E4;
  border-radius: 12px;
  padding: 0 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-deep-navy);
  background: var(--color-white);
  transition: var(--transition-smooth);
}

.r-form-control::placeholder {
  color: #B5ADB9;
}

.r-form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(217, 27, 114, 0.08);
}

select.r-form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23D91B72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
  padding-right: 40px;
}

.r-form-submit-btn {
  width: 100%;
  margin-top: 12px;
}

#msgSubmit {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 992px) {
  .appointment-redesign-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .appointment-card-wrapper {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .redesign-form-grid {
    grid-template-columns: 1fr;
  }
  .form-full-width {
    grid-column: span 1;
  }
}

/* ==========================================================================
   5. Treatments / Services
   ========================================================================== */
.treatments-redesign {
  background: var(--color-white);
}

.treatments-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}

.treatments-header-row .r-section-title-wrapper {
  margin-bottom: 0;
}

.service-grid-redesign {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card-redesign {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(217, 27, 114, 0.08);
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: 0 10px 30px rgba(24, 22, 63, 0.02);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover glowing background bubble */
.service-card-redesign::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 27, 114, 0.05) 0%, transparent 70%);
  z-index: -1;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-redesign:hover::after {
  transform: scale(1.8);
  background: radial-gradient(circle, rgba(217, 27, 114, 0.14) 0%, transparent 70%);
}

.service-card-redesign:hover {
  transform: translateY(-8px);
  border-color: rgba(217, 27, 114, 0.22);
  box-shadow: 0 20px 40px rgba(217, 27, 114, 0.06);
  background: rgba(255, 255, 255, 0.90);
}

.service-card-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(217, 27, 114, 0.06) 0%, #FFFFFF 100%);
  border: 1px solid rgba(217, 27, 114, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(217, 27, 114, 0.03);
}

.service-card-redesign:hover .service-card-icon-wrapper {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  transform: scale(1.05) rotate(8deg);
  box-shadow: 0 8px 20px rgba(217, 27, 114, 0.2);
}

.service-card-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-deep-navy);
  margin: 0;
}

.service-card-info p {
  font-size: 14px;
  color: var(--color-body);
  margin: 0;
  line-height: 1.6;
}

.service-card-learn-link {
  font-weight: 700;
  font-size: 13px;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: auto;
  transition: color 0.3s ease;
}

.service-card-learn-link i {
  font-size: 12px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-redesign:hover .service-card-learn-link {
  color: var(--color-primary-dark);
}

.service-card-redesign:hover .service-card-learn-link i {
  transform: translateX(6px);
}

@media (max-width: 992px) {
  .service-grid-redesign {
    grid-template-columns: repeat(2, 1fr);
  }
  .treatments-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .service-grid-redesign {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   6. Why Choose Us
   ========================================================================== */
.why-choose-redesign {
  background: var(--gradient-soft);
}

.why-grid-redesign {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.why-cards-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-card-horizontal {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px 30px;
  box-shadow: 0 10px 30px rgba(24, 22, 63, 0.04);
  border: 1px solid rgba(217, 27, 114, 0.06);
  display: flex;
  align-items: center;
  gap: 24px;
  transition: var(--transition-smooth);
}

.why-card-horizontal:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(217, 27, 114, 0.15);
}

.why-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--color-blush);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.why-card-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.why-card-content p {
  font-size: 14px;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.5;
}

.why-right-visuals {
  position: relative;
  display: flex;
  justify-content: center;
}

.why-right-badge-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(217, 27, 114, 0.08);
  box-shadow: var(--shadow-soft);
  text-align: center;
  max-width: 320px;
  width: 100%;
}

.why-right-badge-card h3 {
  font-family: var(--font-heading);
  font-size: 44px;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.why-right-badge-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.why-right-badge-card p {
  font-size: 13px;
  color: var(--color-body);
  margin-bottom: 20px;
}

@media (max-width: 992px) {
  .why-grid-redesign {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .why-right-visuals {
    order: -1;
  }
}

@media (max-width: 600px) {
  .why-card-horizontal {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
}

/* ==========================================================================
   7. Doctor / Expert Section
   ========================================================================== */
.doctor-redesign {
  background: var(--color-white);
}

.doctor-grid-redesign {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.doctor-photo-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 8px solid var(--color-white);
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
}

.doctor-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-experience-tag {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 4px 15px rgba(217, 27, 114, 0.3);
}

.doctor-details-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.doctor-name {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 2px;
}

.doctor-specialty {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: block;
}

.doctor-bio {
  font-size: 16px;
  color: var(--color-body);
  line-height: 1.7;
}

.doctor-bullets-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-deep-navy);
  margin-bottom: 12px;
}

.doctor-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.doctor-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--color-body);
}

.doctor-bullets li i {
  color: var(--color-primary);
  font-size: 14px;
  margin-top: 4px;
}

@media (max-width: 992px) {
  .doctor-grid-redesign {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ==========================================================================
   8. Success Stories
   ========================================================================== */
.success-redesign {
  background: var(--color-blush);
}

.success-header-redesign {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}

.success-header-redesign .r-section-title-wrapper {
  margin-bottom: 0;
}

.testimonials-grid-redesign {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card-redesign {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(217, 27, 114, 0.06);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: var(--transition-smooth);
}

.testimonial-card-redesign:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.testimonial-quote-redesign {
  color: var(--color-primary-soft);
  font-size: 40px;
  position: absolute;
  top: 24px;
  right: 24px;
  line-height: 1;
}

.rating-stars {
  color: #FFB800;
  display: flex;
  gap: 4px;
  font-size: 14px;
}

.testimonial-quote-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-body);
  font-style: italic;
  margin: 0;
}

.testimonial-author-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.author-pic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-primary-soft);
}

.author-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-meta h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.author-meta p {
  font-size: 12px;
  color: var(--color-muted);
  margin: 0;
}

@media (max-width: 992px) {
  .testimonials-grid-redesign {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
  .success-header-redesign {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* ==========================================================================
   9. FAQ Section
   ========================================================================== */
.faq-redesign {
  background: var(--color-white);
}

.faq-grid-redesign {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: flex-start;
}

.faq-left-cta {
  background: var(--color-blush);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(217, 27, 114, 0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-left-cta h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-deep-navy);
}

.faq-left-cta p {
  font-size: 15px;
  color: var(--color-body);
}

.faq-cta-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-white);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(217, 27, 114, 0.06);
}

.faq-cta-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.faq-cta-texts h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: 2px;
}

.faq-cta-texts p {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-deep-navy);
  margin: 0;
}

/* Accordion redrafts */
.faq-accordion-redesign {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-accordion-item {
  background: var(--color-white);
  border: 1px solid rgba(217, 27, 114, 0.08);
  border-radius: var(--radius-sm) !important;
  box-shadow: 0 4px 15px rgba(24, 22, 63, 0.02);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-accordion-header-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16px;
  text-align: left;
  color: var(--color-deep-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition-smooth);
}

.faq-accordion-header-btn:hover {
  color: var(--color-primary);
}

.faq-accordion-header-btn::after {
  content: '▼';
  font-size: 10px;
  color: var(--color-primary);
  transition: transform 0.3s;
}

.faq-accordion-header-btn.expanded::after {
  transform: rotate(180deg);
}

.faq-accordion-body-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.faq-accordion-body {
  padding: 0 24px 24px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--color-body);
  border-top: 1px solid rgba(217, 27, 114, 0.04);
  padding-top: 16px;
}

@media (max-width: 992px) {
  .faq-grid-redesign {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ==========================================================================
   10. Final CTA Section
   ========================================================================== */
.final-cta-redesign {
  position: relative;
  overflow: hidden;
  padding: 140px 0;
  
  /* Photorealistic editorial parallax background */
  background-image: linear-gradient(180deg, rgba(24, 22, 63, 0.40) 0%, rgba(24, 22, 63, 0.65) 100%), 
                    url('../images/mother_child_cta.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Glassmorphic card container */
.final-cta-wrapper {
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-bottom: 4px solid var(--color-primary);
  border-radius: 32px;
  padding: 72px 64px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 30px 70px rgba(24, 22, 63, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  position: relative;
  z-index: 2;
}

.final-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  max-width: 800px;
  line-height: 1.2;
  color: var(--color-deep-navy);
  font-weight: 800;
}

.final-cta-desc {
  font-size: 18px;
  max-width: 600px;
  color: var(--color-purple);
  font-weight: 600;
  margin: 0;
  line-height: 1.5;
}

.final-cta-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
  margin-top: 8px;
}

/* Secondary Button glass theme overlay */
.final-cta-redesign .r-btn-secondary {
  background: rgba(24, 22, 63, 0.05);
  border: 1px solid rgba(24, 22, 63, 0.15);
  color: var(--color-deep-navy);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 99px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.final-cta-redesign .r-btn-secondary:hover {
  background: var(--color-deep-navy);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(24, 22, 63, 0.15);
}

@media (max-width: 768px) {
  .final-cta-redesign {
    padding: 80px 20px;
    background-attachment: scroll; /* parallax fixed background doesn't scale well on mobile */
  }
  
  .final-cta-wrapper {
    padding: 48px 24px;
    border-radius: 24px;
  }
  
  .final-cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .final-cta-buttons a {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   11. Footer
   ========================================================================== */
.footer-redesign {
  background: var(--color-blush);
  border-top: 1px solid rgba(217, 27, 114, 0.08);
  padding: 80px 0 0;
  color: var(--color-body);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer-brand-column p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(24, 22, 63, 0.03);
  border: 1px solid rgba(217, 27, 114, 0.08);
  transition: var(--transition-smooth);
}

.footer-social-icon:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer-column-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-deep-navy);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-primary);
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  font-size: 14px;
  color: var(--color-body);
  transition: var(--transition-smooth);
}

.footer-links-list a:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
}

.footer-contact-item i {
  color: var(--color-primary);
  font-size: 15px;
  margin-top: 3px;
}

.footer-contact-item a {
  transition: var(--transition-smooth);
}

.footer-contact-item a:hover {
  color: var(--color-primary);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(217, 27, 114, 0.06);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom-bar p {
  font-size: 13px;
  color: var(--color-muted);
  margin: 0;
}

@media (max-width: 992px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}

/* Floating Actions (WhatsApp and Phone) */
.whatsapp-float-redesign {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: var(--color-white);
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.whatsapp-float-redesign:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.phone-float-redesign {
  position: fixed;
  bottom: 105px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50px;
  text-align: center;
  font-size: 24px;
  box-shadow: 0 6px 20px rgba(219, 27, 114, 0.3);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}
.phone-float-redesign:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(219, 27, 114, 0.45);
}

/* CSS micro animation helper */
.r-fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.r-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Treatments Mega Menu
   ========================================================================== */

/* Desktop Behavior */
@media (min-width: 993px) {
  /* Remove position relative to allow mega menu to anchor to .site-header-redesign */
  .nav-item-treatments {
    position: static !important;
  }

  /* Keep the arrow container positioned correctly */
  .mega-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .mega-arrow {
    transition: transform 0.3s ease;
  }

  .nav-item-treatments:hover .mega-arrow {
    transform: rotate(180deg);
  }

  /* Mega Menu Dropdown Panel */
  .mega-menu-panel {
    position: absolute;
    top: 100%;
    left: 10%;
    width: 80%;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(217, 27, 114, 0.1);
    border-bottom: 4px solid var(--color-primary);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(24, 22, 63, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 32px 48px 24px;
    z-index: 999;
    
    /* Animation states */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    
    /* No scroll, completely fits */
    max-height: 85vh;
    overflow: visible;
  }

  /* Show mega menu on hover */
  .nav-item-treatments:hover .mega-menu-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Hover Bridge - transparent pseudo-element to prevent hover-loss gap */
  .mega-menu-panel::before {
    content: '';
    position: absolute;
    top: -26px;
    left: 0;
    right: 0;
    height: 26px;
    background: transparent;
    display: block;
    pointer-events: auto;
  }

  /* Mega Menu Content Layout */
  .mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }

  .mega-col {
    display: flex;
    flex-direction: column;
  }

  .mega-col-header {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-deep-navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(217, 27, 114, 0.08);
    padding-bottom: 8px;
  }

  .mega-col-header i {
    color: var(--color-primary);
    font-size: 13px;
    width: 16px;
    text-align: center;
  }

  .mega-col-header-sub {
    margin-top: 20px;
  }

  .mega-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px; /* Tighter layout */
  }

  .mega-links li a {
    font-size: 13.5px; /* Compact & attractive */
    color: var(--color-body);
    font-weight: 500;
    display: inline-block;
    transition: color 0.2s ease, transform 0.2s ease;
  }

  .mega-links li a:hover {
    color: var(--color-primary);
    transform: translateX(4px);
  }

  /* Footer bar inside mega menu */
  .mega-footer-bar {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(217, 27, 114, 0.06);
    display: flex;
    justify-content: flex-end;
  }

  .mega-view-all-btn {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
  }

  .mega-view-all-btn i {
    transition: transform 0.2s ease;
  }

  .mega-view-all-btn:hover {
    color: var(--color-primary-dark);
  }

  .mega-view-all-btn:hover i {
    transform: translateX(4px);
  }
}

/* Mobile & Tablet Behavior (<992px) */
@media (max-width: 992px) {
  .nav-item-treatments {
    position: relative;
  }

  .mega-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }

  .nav-item-treatments.mega-open .mega-arrow {
    transform: rotate(180deg);
  }

  /* Convert panel to static accordion sub-menu */
  .mega-menu-panel {
    display: none; /* hidden until toggled */
    position: static !important;
    width: 100% !important;
    max-height: none !important;
    overflow-y: visible !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    transition: none !important;
  }

  .mega-menu-panel::before {
    display: none !important;
  }

  .mega-menu-panel.mobile-open {
    display: block;
    padding: 12px 0 16px 12px !important;
    border-left: 2px solid rgba(217, 27, 114, 0.15) !important;
    margin-bottom: 8px;
  }

  .mega-menu-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .mega-col-header {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-deep-navy);
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(217, 27, 114, 0.05);
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mega-col-header i {
    color: var(--color-primary);
  }

  .mega-col-header-sub {
    margin-top: 16px;
  }

  .mega-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .mega-links li a {
    font-size: 14px;
    color: var(--color-body);
    padding: 4px 0;
    display: block;
    border-bottom: none !important; /* prevent default red border from main mobile menu links */
  }

  .mega-links li a:hover {
    color: var(--color-primary);
  }

  .mega-footer-bar {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(217, 27, 114, 0.05);
  }

  .mega-view-all-btn {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
}

/* btn-text toggling handled in @media (max-width: 992px) above */

/* ==========================================================================
   Trust Proof Strip
   ========================================================================== */

.proof-strip-redesign {
  background: #110F2B; /* Dark navy matching branding */
  padding: 10px 0;
  border-bottom: 1px solid rgba(217, 27, 114, 0.1);
  position: relative;
  z-index: 99; /* Slides under sticky header (z-index 1000) */
  
  /* Slide-down and fade-in entry reveal animation */
  opacity: 0;
  transform: translateY(-20px);
  animation: stripReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes stripReveal {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.proof-strip-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  color: #E2DEEF;
  font-weight: 500;
  white-space: nowrap;
}

.proof-icon {
  color: #F3C63F; /* Premium Gold theme for trust badges */
  font-size: 14px;
}

.proof-item .highlight {
  color: #FFFFFF;
  font-weight: 700;
}

/* Tablet Layout (<1200px to wrap early and avoid squeeze) */
@media (max-width: 1200px) {
  .proof-strip-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
  }
  .proof-item {
    white-space: normal;
  }
}

/* Mobile Layout (<576px) */
@media (max-width: 576px) {
  .proof-strip-grid {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .proof-item {
    text-align: center;
  }
}

/* 3-item proof strip variant */
.proof-strip-grid-3 { justify-content: center; gap: 48px; }
@media (max-width: 600px) { .proof-strip-grid-3 { gap: 24px; flex-direction: column; align-items: center; } }

/* 5-item proof strip variant — only renders on desktop (≥769px) */
.proof-strip-grid-5 { justify-content: space-between; gap: 12px; }
@media (min-width: 769px) and (max-width: 1024px) {
  .proof-strip-grid-5 { flex-wrap: wrap; justify-content: center; gap: 6px 20px; }
  .proof-strip-grid-5 .proof-item { font-size: 12px; white-space: normal; }
}

/* ==========================================================================
   Hero Proof Band (below Hero section)
   ========================================================================== */
/* ==========================================================================
   Hero Proof Band — modern minimal, dot-grid texture, sharp accent
   ========================================================================== */
.hero-proof-band {
  /* Near-black base with a very faint centered pink lift at top */
  background:
    radial-gradient(ellipse 70% 150% at 50% -20%, rgba(217, 27, 114, 0.07) 0%, transparent 60%),
    #07061A;
  min-height: 148px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Dot-grid texture — subtle depth */
.hero-proof-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Gradient accent line at the very top */
.hero-proof-band::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(217, 27, 114, 0.8) 25%,
    rgba(124, 58, 237, 0.8) 75%,
    transparent 100%);
  pointer-events: none;
}

.hero-proof-band-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  gap: 0;
  position: relative;
  z-index: 1;
}

/* Staggered CSS animation — no JS dependency (section is near top of page) */
@keyframes proofItemIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-proof-band-grid .hero-proof-item {
  animation: proofItemIn 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.hero-proof-band-grid .hero-proof-item:nth-child(1) { animation-delay: 0.15s; }
.hero-proof-band-grid .hero-proof-item:nth-child(3) { animation-delay: 0.25s; }
.hero-proof-band-grid .hero-proof-item:nth-child(5) { animation-delay: 0.35s; }
.hero-proof-band-grid .hero-proof-item:nth-child(7) { animation-delay: 0.45s; }
.hero-proof-band-grid .hero-proof-item:nth-child(9) { animation-delay: 0.55s; }

.hero-proof-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 16px;
  gap: 6px;
  border-radius: 14px;
  cursor: default;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.25s ease,
              box-shadow 0.25s ease;
}

.hero-proof-item:hover {
  transform: translateY(-5px) scale(1.04) !important;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255,255,255,0.08);
}

.hero-proof-divider {
  width: 1px;
  height: 52px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.09) 50%,
    transparent 100%);
  flex-shrink: 0;
}

/* Icon box — clean glass square */
.hero-proof-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease,
              box-shadow 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-proof-item:hover .hero-proof-icon {
  background: rgba(217, 27, 114, 0.18);
  border-color: rgba(217, 27, 114, 0.45);
  color: #F9A8D4;
  box-shadow: 0 0 16px rgba(217, 27, 114, 0.28);
  transform: scale(1.10);
}

.hero-proof-stat {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 0.25s ease;
}

.hero-proof-item:hover .hero-proof-stat {
  color: #FBCFE8;
}

.hero-proof-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
  font-weight: 500;
  line-height: 1.3;
  max-width: 120px;
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
}

.hero-proof-item:hover .hero-proof-label {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 900px) {
  .hero-proof-band { min-height: auto; }
  .hero-proof-band-grid { flex-wrap: wrap; justify-content: center; padding: 20px 0; gap: 0; }
  .hero-proof-item { flex: 0 0 50%; padding: 14px 12px; }
  .hero-proof-divider { display: none; }
}
@media (max-width: 480px) {
  .hero-proof-item { flex: 0 0 50%; padding: 12px 8px; }
  .hero-proof-stat { font-size: 22px; }
  .hero-proof-label { font-size: 11px; }
}
@media (max-width: 480px) {
  .hero-proof-item { flex: 0 0 50%; padding: 12px 8px; }
  .hero-proof-stat { font-size: 22px; }
  .hero-proof-label { font-size: 11px; }
}

/* ==========================================================================
   CSS Scroll-Driven Animations & Progress Bar
   ========================================================================== */

/* Reading Progress Bar at the top of the screen */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  z-index: 10002;
  transition: width 0.1s linear;
}

/* Fallback transitions for IntersectionObserver reveal */
.r-fade-up {
  opacity: 0;
  transform: translateY(35px) scale(0.98);
  clip-path: inset(12% 8% 12% 8% round 24px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              clip-path 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.r-fade-up.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  clip-path: inset(0% 0% 0% 0% round 24px);
}

/* Modern progressive scroll-reveal using view() timeline */
@keyframes revealOnScroll {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.96);
    clip-path: inset(15% 10% 15% 10% round 24px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    clip-path: inset(0% 0% 0% 0% round 24px);
  }
}
@supports (animation-timeline: view()) {
  .r-fade-up {
    transition: none !important;
    animation: revealOnScroll linear both;
    animation-timeline: view();
    animation-range: entry 10% cover 35%;
  }
}

/* ==========================================================================
   Section Reveal Animations (IntersectionObserver)
   ========================================================================== */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal.revealed,
.reveal-left.revealed,
.reveal-right.revealed { opacity: 1; transform: none; }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal-stagger.revealed > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
.reveal-stagger.revealed > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.08s; }
.reveal-stagger.revealed > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.16s; }
.reveal-stagger.revealed > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.24s; }
.reveal-stagger.revealed > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.32s; }
.reveal-stagger.revealed > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.40s; }

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-stagger > *,
  .service-card-reveal { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Hero Enhancements
   ========================================================================== */
.hero-online-consult-hint {
  background: rgba(243,237,255,0.6);
  border: 1px solid rgba(124,58,237,0.15);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 14px;
  color: var(--color-purple);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-online-consult-hint i { color: #7C3AED; flex-shrink: 0; }
.hero-video-label {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
/* Card 2 — top-right corner (opposite to card 1) */
.hero-floating-card-2 {
  top: 18px;
  right: -14px;
  bottom: auto;
  left: auto;
  animation: float-element-reverse 5s ease-in-out infinite;
}
.hero-floating-card-2 .floating-icon {
  background: var(--color-lavender);
  color: #7C3AED;
}

/* ==========================================================================
   "We Hear This Every Week" (Fears Section)
   ========================================================================== */
.fears-section { background: var(--color-blush); }
.fears-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 768px) { .fears-grid { grid-template-columns: 1fr; } }
.fear-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid rgba(217,27,114,0.08);
  box-shadow: var(--shadow-soft);
}
.fear-quote {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--color-deep-navy);
  line-height: 1.4;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(217,27,114,0.08);
  font-style: italic;
}
.fear-answer {
  font-size: 15px;
  color: var(--color-body);
  line-height: 1.6;
  display: flex;
  gap: 10px;
}
.fear-answer i { color: var(--color-primary); margin-top: 3px; flex-shrink: 0; }

/* ==========================================================================
   Doctor Section — Credentials Strip
   ========================================================================== */
.doctor-credentials-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.doctor-credentials-strip span {
  background: var(--color-lavender);
  color: var(--color-purple);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 99px;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Pricing Transparency Section
   ========================================================================== */
.pricing-section { background: var(--gradient-soft); }
.pricing-wrapper {}
.pricing-header { text-align: center; margin-bottom: 56px; }
.pricing-header .r-section-title { max-width: 700px; margin-inline: auto; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
  padding-top: 16px;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card {
  background: var(--color-white);
  border: 1px solid rgba(217,27,114,0.1);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: visible;
}

/* Full-width button inside pricing cards */
.pricing-card-btn {
  display: flex !important;   /* Block-level flex: width:100% works correctly */
  width: 100%;
  margin-top: auto;
  justify-content: center;
  padding: 12px 20px;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.pricing-card-featured {
  border-color: var(--color-primary);
  background: linear-gradient(135deg, #FFF4F8, #FCE8F2);
  box-shadow: 0 8px 32px rgba(217,27,114,0.12);
  padding-top: 36px;
}
.pricing-card-label {
  position: absolute;
  top: -12px; left: 20px;
  background: var(--color-primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pricing-card-name { font-size: 16px; font-weight: 700; color: var(--color-deep-navy); }
.pricing-card-price { font-size: 32px; font-weight: 800; color: var(--color-primary); font-family: var(--font-heading); line-height: 1; }
.pricing-card-from { font-size: 16px; font-weight: 500; color: var(--color-muted); }
.pricing-card-desc { font-size: 14px; color: var(--color-body); line-height: 1.6; }
.pricing-card-emi { background: var(--color-lavender); border-color: rgba(124,58,237,0.2); }
.pricing-card-emi .pricing-card-price { color: #7C3AED; }
.pricing-card-emi-icon { font-size: 24px; color: #7C3AED; }
.pricing-disclaimer {
  background: rgba(217,27,114,0.04);
  border: 1px solid rgba(217,27,114,0.1);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 13px;
  color: var(--color-muted);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.pricing-disclaimer i { color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }

/* ==========================================================================
   Service Card Scroll Reveal (clip-path)
   ========================================================================== */
@keyframes cardReveal {
  from {
    opacity: 0;
    clip-path: inset(20% 10% 20% 10% round 18px);
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    clip-path: inset(0% 0% 0% 0% round 18px);
    transform: scale(1);
  }
}
.service-card-reveal { animation: none; }
.service-card-reveal.card-revealed {
  animation: cardReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.service-card-reveal.card-revealed:nth-child(1) { animation-delay: 0s; }
.service-card-reveal.card-revealed:nth-child(2) { animation-delay: 0.08s; }
.service-card-reveal.card-revealed:nth-child(3) { animation-delay: 0.16s; }
.service-card-reveal.card-revealed:nth-child(4) { animation-delay: 0.24s; }
.service-card-reveal.card-revealed:nth-child(5) { animation-delay: 0.32s; }
.service-card-reveal.card-revealed:nth-child(6) { animation-delay: 0.40s; }

.service-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: 0.04em;
  margin-top: 8px;
  text-transform: uppercase;
}

/* ==========================================================================
   Male Fertility Band
   ========================================================================== */
.male-fertility-band {
  background: linear-gradient(135deg, #18163F 0%, #3A255F 100%);
  padding: 80px 0;
}
.male-band-content {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .male-band-content { grid-template-columns: 1fr; gap: 40px; } }
.male-band-eyebrow {
  color: #a78bfa;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.male-band-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 38px);
  color: #FFFFFF !important;
  line-height: 1.2;
  margin-bottom: 16px;
}
.male-band-desc { color: rgba(255,255,255,0.7); font-size: 17px; margin-bottom: 28px; }
.male-band-list { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 12px; }
.male-band-list li { color: rgba(255,255,255,0.85); font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.male-band-list i { color: #a78bfa; flex-shrink: 0; margin-top: 3px; }
.male-band-cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.male-band-cta-row .r-btn-secondary { border-color: rgba(255,255,255,0.3); color: white !important; background: rgba(255,255,255,0.08); }
.male-band-cta-row .r-btn-secondary:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.5); }
.male-stat-col { display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 900px) { .male-stat-col { flex-direction: row; flex-wrap: wrap; } .male-stat-card { flex: 1; min-width: 140px; } }
.male-stat-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 24px;
}
.male-stat-number { font-family: var(--font-heading); font-size: 40px; font-weight: 800; color: #a78bfa; line-height: 1; margin-bottom: 8px; }
.male-stat-label { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.5; }

/* ==========================================================================
   First Visit Walkthrough Section
   ========================================================================== */
.first-visit-section { background: var(--color-blush); }
.first-visit-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 16px;
}
@media (max-width: 700px) { .first-visit-steps { grid-template-columns: 1fr; } }
.first-visit-step {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  border: 1px solid rgba(217,27,114,0.07);
  box-shadow: var(--shadow-soft);
}
.fv-step-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: rgba(217,27,114,0.12);
  line-height: 1;
  flex-shrink: 0;
  min-width: 60px;
}
.fv-step-content h3 { font-size: 18px; color: var(--color-deep-navy); margin-bottom: 8px; }
.fv-step-content p { font-size: 15px; color: var(--color-body); line-height: 1.6; }

/* ==========================================================================
   Final CTA — Credential Strip
   ========================================================================== */
.final-cta-credential-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}
.final-cta-credential-strip span {
  background: rgba(217,27,114,0.08);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 99px;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Instagram Reels Section
   ========================================================================== */
.insta-reels-section {
  background: linear-gradient(135deg, #B8155A 0%, #D91B72 45%, #E8206E 100%);
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}

/* Decorative translucent circles */
.insta-reels-deco-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.06);
}
.insta-deco-1 {
  width: 420px; height: 420px;
  top: -160px; right: -120px;
}
.insta-deco-2 {
  width: 280px; height: 280px;
  bottom: -100px; left: -80px;
  background: rgba(255, 255, 255, 0.04);
}

/* Header */
.insta-reels-header {
  text-align: center;
  margin-bottom: 52px;
}

.insta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  padding: 7px 18px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.insta-eyebrow i { font-size: 16px; }

.insta-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.insta-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Horizontal scroll track */
.insta-reels-track-wrapper {
  overflow-x: auto;
  overflow-y: visible;
  margin: 0 -20px;
  padding: 12px 20px 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}
.insta-reels-track-wrapper:active { cursor: grabbing; }
.insta-reels-track-wrapper::-webkit-scrollbar { display: none; }

.insta-reels-track {
  display: flex;
  gap: 20px;
  width: max-content;
}

/* Individual reel card */
.insta-reel-card {
  flex-shrink: 0;
  width: 320px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.12),
    0 1px 4px rgba(0, 0, 0, 0.08);
  scroll-snap-align: start;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
  position: relative;
}
.insta-reel-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.22),
    0 4px 12px rgba(0, 0, 0, 0.10);
}

/* Force Instagram embed to fill card cleanly */
.insta-reel-card .instagram-media {
  margin: 0 !important;
  width: 100% !important;
  min-width: unset !important;
  max-width: 100% !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
}

/* Follow CTA */
.insta-follow-row {
  text-align: center;
  margin-top: 48px;
}

.insta-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  color: #FFFFFF;
  padding: 14px 36px;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.insta-follow-btn i { font-size: 20px; }
.insta-follow-btn:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 768px) {
  .insta-reels-section { padding: 56px 0 48px; }
  .insta-reels-header { margin-bottom: 36px; }
  .insta-reel-card { width: 280px; }
}
@media (max-width: 480px) {
  .insta-reel-card { width: 260px; }
  .insta-follow-btn { padding: 12px 24px; font-size: 14px; }
}

/* ==========================================================================
   Mobile Sticky Bottom Bar
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 990;
  background: var(--color-white);
  border-top: 1px solid rgba(217,27,114,0.1);
  box-shadow: 0 -8px 24px rgba(24,22,63,0.08);
  padding: 8px 16px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
}
@media (max-width: 768px) { .mobile-sticky-bar { display: flex; gap: 8px; } }
.msb-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;  
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-deep-navy);
  padding: 8px 4px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  min-height: 48px;
}
.msb-btn i { font-size: 20px; }
.msb-btn span { font-size: 11px; }
.msb-primary {
  background: var(--color-primary);
  color: white !important;
  box-shadow: 0 4px 16px rgba(217,27,114,0.3);
}
.msb-wa { color: #25D366 !important; }
.msb-wa i { color: #25D366; }

/* Body padding on mobile for sticky bar clearance */
@media (max-width: 768px) {
  body { padding-bottom: 72px; }
}

/* ==========================================================================
   Video Testimonials
   ========================================================================== */
.video-testimonials-section {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid rgba(217,27,114,0.1);
}

.video-testimonials-heading {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-deep-navy);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.video-testimonials-heading i {
  color: var(--color-primary);
  font-size: 22px;
}

/* Side-by-side grid: landscape (wider) + portrait (narrower) */
.video-testimonials-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 20px;
  align-items: start;
}
@media (max-width: 860px) {
  .video-testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.video-testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(217,27,114,0.08);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}
.video-testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

/* ── Landscape video wrapper (natural 16:9) ── */
.video-wrapper {
  position: relative;
  width: 100%;
  background: #111;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.video-wrapper video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #111;
}

/* ── Portrait video wrapper — same visual height as landscape ── */
.video-wrapper-portrait {
  aspect-ratio: 16 / 9; /* Matches landscape card height */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  overflow: hidden;
}
.video-wrapper-portrait video {
  /* Portrait video: show full frame, centred, with black bars on sides */
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  background: #111;
}

/* On mobile: portrait video gets its natural ratio, height-capped */
@media (max-width: 860px) {
  .video-wrapper-portrait {
    aspect-ratio: 9 / 16;
    max-height: 65vh;
  }
  .video-wrapper-portrait video {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.video-testimonial-meta {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.video-stars { color: #F3C63F; font-size: 13px; letter-spacing: 2px; }
.video-testimonial-caption-text {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Reveal fallback — show all elements if CSS animations are unsupported
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right,
  .reveal-stagger, .reveal-stagger > *,
  .service-card-reveal {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE FIXES
   ========================================================================== */

/* ── r-container tighter on small screens ── */
@media (max-width: 480px) {
  .r-container { width: calc(100% - 32px); }
  .r-section { padding: 52px 0; }
}

/* ── Hero ── */
@media (max-width: 992px) {
  .hero-redesign-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-right-visuals { order: -1; }
  .hero-main-card { max-width: 460px; margin: 0 auto; }
  .hero-h1 { font-size: clamp(30px, 6vw, 48px); }
  .hero-floating-card { display: none; }
  .hero-floating-card-2 { display: none; }
  .hero-cta-buttons { flex-direction: column; gap: 12px; }
  .hero-cta-buttons .r-btn-primary,
  .hero-cta-buttons .r-btn-secondary { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .hero-redesign { padding: 48px 0 40px; }
  .hero-pills { flex-wrap: wrap; }
  .hero-chips { gap: 8px; }
  .hero-chip-item { font-size: 12px; padding: 6px 12px; }
  .hero-online-consult-hint { font-size: 13px; }
}

/* ── Proof strip — desktop only ── */
@media (max-width: 768px) {
  .proof-strip-redesign { display: none; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .proof-strip-redesign { padding: 10px 0; }
  .proof-strip-grid-5 { flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
  .proof-item { font-size: 12px; gap: 6px; white-space: normal; }
  .proof-icon { font-size: 12px; }
}

/* ── Fears section ── */
@media (max-width: 600px) {
  .fears-grid { grid-template-columns: 1fr; gap: 16px; }
  .fear-card { padding: 22px 18px; }
  .fear-quote { font-size: 16px; }
}

/* ── Doctor section ── */
@media (max-width: 900px) {
  .doctor-grid-redesign {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .doctor-photo-card { max-width: 340px; margin: 0 auto; }
}
@media (max-width: 480px) {
  .doctor-photo-card { max-width: 100%; }
  .doctor-name { font-size: 26px; }
  .doctor-credentials-strip { gap: 6px; }
  .doctor-credentials-strip span { font-size: 11px; padding: 4px 10px; }
}

/* ── Pricing section ── */
@media (max-width: 760px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .pricing-card { padding: 20px 16px; }
  .pricing-card-price { font-size: 26px; }
}
@media (max-width: 500px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card-btn { font-size: 14px; padding: 11px 16px; }
}

/* ── Treatments / Service cards ── */
@media (max-width: 900px) {
  .service-grid-redesign { grid-template-columns: repeat(2, 1fr); }
  .treatments-header-row { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 560px) {
  .service-grid-redesign { grid-template-columns: 1fr; }
  .service-card-redesign { padding: 22px 18px; }
}

/* ── Male fertility band ── */
@media (max-width: 600px) {
  .male-fertility-band { padding: 56px 0; }
  .male-band-title { font-size: 22px; }
  .male-band-cta-row { flex-direction: column; }
  .male-band-cta-row .r-btn-primary,
  .male-band-cta-row .r-btn-secondary { width: 100%; justify-content: center; }
  .male-stat-number { font-size: 32px; }
}

/* ── Testimonials ── */
@media (max-width: 900px) {
  .testimonials-grid-redesign { grid-template-columns: 1fr; gap: 20px; }
}

/* ── First visit walkthrough ── */
@media (max-width: 560px) {
  .first-visit-step { flex-direction: column; gap: 12px; padding: 22px 18px; }
  .fv-step-number { font-size: 36px; min-width: auto; }
}

/* ── Why choose us ── */
@media (max-width: 900px) {
  .why-grid-redesign { grid-template-columns: 1fr; gap: 40px; }
  .why-right-visuals { display: none; } /* Hide the badge card on mobile */
}
@media (max-width: 560px) {
  .why-card-horizontal { flex-direction: column; gap: 12px; }
  .why-card-icon { width: 48px; height: 48px; font-size: 18px; }
}

/* ── Appointment form ── */
@media (max-width: 900px) {
  .appointment-redesign-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 480px) {
  .redesign-form-grid { grid-template-columns: 1fr; }
  .form-full-width { grid-column: span 1; }
  .r-form-submit-btn { width: 100%; justify-content: center; }
}

/* ── FAQ section ── */
@media (max-width: 900px) {
  .faq-grid-redesign { grid-template-columns: 1fr; gap: 40px; }
  .faq-left-cta { display: flex; flex-direction: row; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
  .faq-left-cta h3 { width: 100%; }
}
@media (max-width: 480px) {
  .faq-accordion-header-btn { font-size: 15px; padding: 16px; }
}

/* ── Final CTA ── */
@media (max-width: 600px) {
  .final-cta-buttons { flex-direction: column; gap: 12px; }
  .final-cta-buttons .r-btn-primary,
  .final-cta-buttons .r-btn-secondary { width: 100%; justify-content: center; }
  .final-cta-credential-strip { gap: 8px; }
}

/* ── Floating buttons — push up on mobile to clear sticky bar ── */
@media (max-width: 768px) {
  .whatsapp-float-redesign { bottom: 88px; right: 16px; width: 50px; height: 50px; font-size: 24px; }
  .phone-float-redesign { bottom: 148px; right: 16px; width: 50px; height: 50px; font-size: 20px; }
}

/* ── Header button size on very small screens ── */
@media (max-width: 380px) {
  .header-actions .r-btn-primary { padding: 8px 10px; font-size: 12px; }
}
