/* ==========================================================================
   SHE MATTERS - IVF & INFERTILITY CENTRE OF EXCELLENCE
   Comprehensive Medical Luxury Stylesheet
   Strictly NO section tag pills, NO banner tag badges, NO card badges.
   Controlled vertical spacing, unique background per section, stunning card hovers.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. NATIVE SCROLL OPTIMIZATION
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: auto !important; /* Prevents native mousewheel queue lag */
}

/* --------------------------------------------------------------------------
   1. HERO BANNER
   -------------------------------------------------------------------------- */
.ivf-hero-wrapper {
  position: relative;
  background-color: #1B0A2A;
  color: #FFFFFF;
  padding: 58px 0 66px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.ivf-hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.ivf-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.4s ease-in-out, transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ivf-hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.ivf-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(16, 5, 26, 0.52) 0%, rgba(20, 7, 32, 0.32) 50%, rgba(20, 7, 32, 0.12) 100%);
  pointer-events: none;
}

.ivf-hero-overlay::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -60px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 0, 103, 0.12) 0%, rgba(230, 0, 103, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
}

.ivf-hero-overlay::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: 3%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(121, 40, 202, 0.15) 0%, rgba(121, 40, 202, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
}

.ivf-hero-content {
  position: relative;
  z-index: 3;
  text-align: left;
  max-width: 860px;
  margin: 0;
}

.ivf-hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
}

.ivf-hero-title span.highlight-text {
  color: #FFFFFF !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
}

.ivf-hero-subtitle {
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.7;
  max-width: 780px;
  margin: 0 0 24px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

/* Small, Simple & Stunning Right-Side CT Form (same as about.html) */
.hero-ct-form-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(230, 0, 103, 0.18);
  padding: 28px 26px;
  max-width: 390px;
  margin-left: auto;
  position: relative;
  z-index: 4;
}

.hero-ct-form-header {
  margin-bottom: 18px;
  text-align: center;
}

.hero-ct-form-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
  text-align: center;
}

.hero-ct-form-sub {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin: 0;
  line-height: 1.45;
  text-align: center;
}

.hero-ct-input {
  font-size: 0.9rem;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1.5px solid rgba(27, 10, 42, 0.16);
  background-color: #FFFFFF;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.hero-ct-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(230, 0, 103, 0.15);
  outline: none;
}

.hero-ct-form .btn-medicare-glow {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
}

.hero-ct-form-footer {
  text-align: center;
}

.hero-ct-form-footer small {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   2. QUICK TOPIC JUMP BAR (HORIZONTAL SCROLL NAVIGATION)
   -------------------------------------------------------------------------- */
.ivf-quick-nav-bar {
  background: #FFFFFF;
  border-bottom: 1px solid rgba(27, 10, 42, 0.08);
  box-shadow: 0 4px 14px rgba(27, 10, 42, 0.04);
  position: sticky;
  top: 76px;
  z-index: 990;
  transition: all 0.3s ease;
}

.ivf-quick-nav-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.ivf-quick-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(27, 10, 42, 0.12);
  background: #FFFFFF;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.ivf-quick-nav-btn:hover {
  background: var(--primary-color);
  color: #FFFFFF;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(230, 0, 103, 0.3);
}

.ivf-quick-nav-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex-grow: 1;
  scroll-behavior: smooth;
}

.ivf-quick-nav-scroll::-webkit-scrollbar {
  display: none;
}

.ivf-jump-link {
  flex-shrink: 0;
  padding: 7px 15px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 9999px;
  background: rgba(27, 10, 42, 0.04);
  border: 1px solid rgba(27, 10, 42, 0.06);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ivf-jump-link i {
  font-size: 0.76rem;
  color: var(--primary-color);
  transition: transform 0.25s ease;
}

.ivf-jump-link:hover,
.ivf-jump-link.active {
  background: var(--primary-color);
  color: #FFFFFF;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(230, 0, 103, 0.28);
}

.ivf-jump-link:hover i,
.ivf-jump-link.active i {
  color: #FFFFFF;
  transform: scale(1.15);
}

/* --------------------------------------------------------------------------
   3. SECTION LAYOUT & UNIQUE BACKGROUND COLORS (EVERY TOPIC HAS A UNIQUE BG)
   Strictly NO section tag pills. Controlled vertical spacing.
   -------------------------------------------------------------------------- */
.ivf-section {
  padding: 50px 0;
  position: relative;
  transition: background-color 0.3s ease;
  scroll-margin-top: 135px;
}

/* 20 Dedicated Unique Harmonious Backgrounds */
.bg-eval { background-color: #FFFFFF; }
.bg-ivf { background-color: #FCF6F9; }
.bg-iui { background-color: #F2F8FB; }
.bg-icsi { background-color: #FAF4FC; }
.bg-ovulation { background-color: #F4FAF6; }
.bg-male { background-color: #F3F6FA; }
.bg-female { background-color: #FDF4F8; }
.bg-egg-freeze { background-color: #F6F9FD; }
.bg-embryo-freeze { background-color: #FDF7F3; }
.bg-donor { background-color: #F7F4FB; }
.bg-rpl { background-color: #FFF5F6; }
.bg-preserv { background-color: #F2F9F7; }
.bg-pcos { background-color: #FAF8F3; }
.bg-endo { background-color: #FDF4FA; }
.bg-pgt { background-color: #F3F6FB; }
.bg-ovarian-rej { background-color: #FBF4FD; }
.bg-sexual-med { background-color: #FDF5F6; }
.bg-microwave { background-color: #F4F8F9; }
.bg-exosome-prp { background-color: #FAF5FE; }
.bg-botox-vaginismus { background-color: #F3FAF8; }
.bg-faq { background-color: #FFFFFF; }
.bg-cta-dark { background-color: #1B0A2A; color: #FFFFFF; }

/* Section Header Typography */
.ivf-section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 30px;
}

.ivf-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 2.7vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 10px;
}

.ivf-section-title span.highlight-text {
  color: var(--primary-color);
}

.ivf-section-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   4. STUNNING CARD ARCHITECTURE & HOVER TRANSITIONS
   Strictly NO card badges.
   -------------------------------------------------------------------------- */
.ivf-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(295px, 1fr));
  gap: 22px;
}

.ivf-card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 1199px) {
  .ivf-card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .ivf-card-grid-4 {
    grid-template-columns: 1fr;
  }
}

.ivf-card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 767px) {
  .ivf-card-grid-2 {
    grid-template-columns: 1fr;
  }
}

.ivf-card {
  background: #FFFFFF;
  border-radius: 18px;
  border: 1.5px solid rgba(230, 0, 103, 0.22);
  box-shadow: 0 4px 18px rgba(27, 10, 42, 0.035);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.38s ease,
              background 0.38s ease;
}

/* Card Top Image Wrap - Full Width & Height, No Face Cropping */
.ivf-card-img-wrap {
  position: relative;
  width: 100%;
  height: 235px;
  overflow: hidden;
  background-color: #1B0A2A;
}

.ivf-card-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
  object-position: center 12% !important;
  transform-origin: center top !important;
  display: block !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Face-positioning calibration for specific card images */
.ivf-card-img[src*="Oncofertility"],
.ivf-card-img[src*="Donor-Egg"],
.ivf-card-img[src*="Ovarian-PRP"],
.ivf-card-img[src*="Microwave"] {
  object-position: center 34% !important;
  transform-origin: center 34% !important;
}

.ivf-card-img[src*="Reproductive"],
.ivf-card-img[src*="PCOS"],
.ivf-card-img[src*="Single-Sperm"],
.ivf-card-img[src*="Ovarian-Reserve"] {
  object-position: center 7% !important;
  transform-origin: center top !important;
}

.ivf-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 10, 42, 0) 65%, rgba(27, 10, 42, 0.18) 100%);
  pointer-events: none;
}

/* Card Body */
.ivf-card-body {
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #FFFFFF;
  transition: background 0.38s ease;
}

.ivf-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.34;
  transition: color 0.3s ease;
}

.ivf-card-text {
  font-size: 0.91rem;
  color: var(--text-muted);
  line-height: 1.62;
  margin-bottom: 16px;
  flex-grow: 1;
}

.ivf-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.ivf-card-list li {
  font-size: 0.86rem;
  color: var(--text-dark);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  line-height: 1.48;
}

.ivf-card-list li i {
  color: var(--primary-color);
  font-size: 0.82rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.ivf-card-action {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(27, 10, 42, 0.06);
}

.ivf-card-btn {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 16px;
  border-radius: 9999px;
  background: rgba(230, 0, 103, 0.06);
  text-decoration: none;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.ivf-card-btn i {
  width: 30px;
  height: 30px;
  border-radius: 50% !important;
  background: rgba(230, 0, 103, 0.12);
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

/* STUNNING CARD HOVER EFFECT WITH GRADIENT BORDER SHADOW */
.ivf-card:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 0, 103, 0.48);
  box-shadow: -4px 14px 28px -2px rgba(230, 0, 103, 0.28),
               4px 16px 32px -2px rgba(121, 40, 202, 0.22),
               0 2px 10px 0 rgba(230, 0, 103, 0.12);
}

.ivf-card:hover .ivf-card-img {
  transform: scale(1.06);
}

.ivf-card:hover .ivf-card-title {
  color: var(--primary-color);
}

.ivf-card:hover .ivf-card-btn {
  background: var(--primary-color);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(230, 0, 103, 0.32);
}

.ivf-card:hover .ivf-card-btn i {
  background: #FFFFFF;
  color: var(--primary-color);
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   5. SPECIALIZED PROTOCOL & STEP CARDS (CONTROLLED GAPS)
   -------------------------------------------------------------------------- */
.ivf-protocol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.ivf-step-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 22px 18px;
  border: 1.5px solid rgba(230, 0, 103, 0.22);
  box-shadow: 0 4px 14px rgba(27, 10, 42, 0.03);
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.ivf-step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 0, 103, 0.48);
  box-shadow: -4px 14px 28px -2px rgba(230, 0, 103, 0.28),
               4px 16px 32px -2px rgba(121, 40, 202, 0.22),
               0 2px 10px 0 rgba(230, 0, 103, 0.12);
}

.ivf-step-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-color);
  background: rgba(230, 0, 103, 0.08);
  border: 2px solid rgba(230, 0, 103, 0.2);
  width: 48px;
  height: 48px;
  border-radius: 50% !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-bottom: 14px;
  transition: all 0.3s ease;
}

.ivf-step-card:hover .ivf-step-number {
  background: var(--primary-color);
  color: #FFFFFF;
  border-color: var(--primary-color);
  box-shadow: 0 4px 14px rgba(230, 0, 103, 0.3);
}

.ivf-step-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.ivf-step-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.58;
  margin: 0;
}

/* --------------------------------------------------------------------------
   6. CLINICAL INSIGHT HIGHLIGHT BOX
   -------------------------------------------------------------------------- */
.ivf-insight-box {
  background: #FFFFFF;
  border-radius: 16px;
  border-left: 4px solid var(--primary-color);
  padding: 20px 24px;
  margin-top: 24px;
  box-shadow: 0 6px 20px rgba(27, 10, 42, 0.04);
  display: flex;
  align-items: center;
  gap: 18px;
}

.ivf-insight-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(230, 0, 103, 0.08);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.ivf-insight-text {
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0;
}

.ivf-insight-text strong {
  color: var(--text-dark);
}

/* --------------------------------------------------------------------------
   7. DUAL-COLUMN SPECIALIZED CARD (FOR SEXUAL MEDICINE, REJUVENATION, ETC.)
   -------------------------------------------------------------------------- */
.ivf-dual-card {
  background: #FFFFFF;
  border-radius: 18px;
  border: 1.5px solid rgba(230, 0, 103, 0.22);
  box-shadow: 0 4px 18px rgba(27, 10, 42, 0.035);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ivf-dual-card:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 0, 103, 0.48);
  box-shadow: -4px 14px 28px -2px rgba(230, 0, 103, 0.28),
               4px 16px 32px -2px rgba(121, 40, 202, 0.22),
               0 2px 10px 0 rgba(230, 0, 103, 0.12);
}

.ivf-dual-card-header {
  padding: 22px 24px 16px;
  background: linear-gradient(135deg, rgba(230, 0, 103, 0.04) 0%, rgba(121, 40, 202, 0.04) 100%);
  border-bottom: 1px solid rgba(27, 10, 42, 0.06);
  display: flex;
  align-items: center;
  gap: 14px;
}

.ivf-dual-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 50% !important;
  background: #FFFFFF;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(27, 10, 42, 0.06);
}

.ivf-dual-card-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.ivf-dual-card-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   8. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.ivf-faq-accordion {
  width: 100%;
}

.ivf-faq-accordion .accordion-item {
  width: 100%;
  border: 1px solid rgba(27, 10, 42, 0.08);
  border-radius: 14px !important;
  margin-bottom: 12px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 3px 10px rgba(27, 10, 42, 0.025);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ivf-faq-accordion .accordion-item:hover {
  border-color: rgba(230, 0, 103, 0.25);
  box-shadow: 0 6px 18px rgba(230, 0, 103, 0.07);
}

.ivf-faq-accordion .accordion-button {
  font-family: 'Outfit', sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--text-dark);
  padding: 16px 24px;
  background: #FFFFFF;
  box-shadow: none;
  transition: all 0.3s ease;
}

.ivf-faq-accordion .accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: var(--primary-light);
}

.ivf-faq-accordion .accordion-body {
  padding: 16px 24px 20px;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   9. MID-PAGE VIP CTA SECTION (BREAKS UP CONSECUTIVE CARD SECTIONS)
   -------------------------------------------------------------------------- */
.cta-wrapper.ivf-cta-wrapper,
.ivf-cta-wrapper {
  position: relative;
  background: #1B0A2A;
  color: #FFFFFF;
  padding: 60px 0;
  overflow: hidden;
  text-align: center;
}

.ivf-cta-wrapper::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(circle, rgba(230, 0, 103, 0.22) 0%, rgba(121, 40, 202, 0.12) 50%, rgba(27, 10, 42, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
}

.ivf-cta-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.ivf-cta-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 14px;
  line-height: 1.25;
}

.ivf-cta-desc {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  margin-bottom: 28px;
}

.ivf-cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   10. RESPONSIVE OPTIMIZATIONS
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .ivf-hero-wrapper {
    padding: 44px 0 52px;
    min-height: 360px;
  }
  
  .ivf-quick-nav-bar {
    top: 68px;
  }

  .ivf-section {
    padding: 40px 0;
  }
  
  .ivf-section-header {
    margin-bottom: 24px;
  }

  .ivf-card-img-wrap {
    height: 215px;
  }
}

@media (max-width: 575px) {
  .ivf-hero-wrapper {
    padding: 36px 0 44px;
  }
  
  .ivf-quick-nav-bar {
    top: 60px;
  }

  .ivf-section {
    padding: 34px 0;
  }
  
  .ivf-hero-stats-row {
    flex-direction: column;
    gap: 10px;
  }
  
  .ivf-card-img-wrap {
    height: 200px;
  }
  
  .ivf-card-body {
    padding: 18px 16px 14px;
  }
  
  .ivf-faq-accordion .accordion-button {
    padding: 14px 18px;
    font-size: 0.98rem;
  }
  
  .ivf-faq-accordion .accordion-body {
    padding: 12px 18px 16px;
    font-size: 0.9rem;
  }
}

/* --------------------------------------------------------------------------
   11. INTERACTIVE CLINICAL TAB NAVIGATION & SWITCHERS
   -------------------------------------------------------------------------- */
.ivf-tab-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.ivf-tab-btn {
  background: #FFFFFF;
  border: 1.5px solid rgba(27, 10, 42, 0.12);
  color: var(--text-dark);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(27, 10, 42, 0.04);
}

.ivf-tab-btn i {
  color: var(--primary-color);
  font-size: 0.95rem;
  transition: transform 0.3s ease;
}

.ivf-tab-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(230, 0, 103, 0.18);
}

.ivf-tab-btn.active {
  background: linear-gradient(135deg, #E60067 0%, #C2185B 100%);
  color: #FFFFFF;
  border-color: #E60067;
  box-shadow: 0 6px 18px rgba(230, 0, 103, 0.35);
}

.ivf-tab-btn.active i {
  color: #FFFFFF;
  transform: scale(1.1);
}

.ivf-tab-pane {
  display: none;
  animation: ivfTabFade 0.35s ease forwards;
}

.ivf-tab-pane.active {
  display: block;
}

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

.ivf-card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 991px) {
  .ivf-card-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .ivf-card-grid-3 {
    grid-template-columns: 1fr;
  }
}

.ivf-anchor-target {
  position: relative;
  top: -120px;
  visibility: hidden;
  display: block;
  height: 0;
}

/* --------------------------------------------------------------------------
   10. ROUND ICONS ENFORCEMENT & VISUAL EXCELLENCE
   -------------------------------------------------------------------------- */
.ivf-dual-card-icon,
.ivf-quick-nav-btn,
.cal-nav-btn,
.back-to-top-btn,
.social-dock-btn,
#clinicModalModeIcon,
#bookingModalModeIcon,
.clinic-modal-icon-badge,
.modal-icon-badge {
  border-radius: 50% !important;
}

.ivf-card-list li i {
  border-radius: 50% !important;
}

.top-ribbon-item i,
.booking-widget-header .title-left i,
.form-label i {
  border-radius: 50% !important;
}
