/* Custom Page Fonts & Colors */
:root {
  --fl-accent-pink: var(--fl-primary);
  --fl-primary-dark: #6a1b4d;
  --fl-text-dark: #1b2a4a;
  --fl-text-muted: #666666;
  --fl-bg-pink-light: #fff3f8;
  --fl-bg-yellow-light: #fffcf0;
  --fl-bg-blue-light: #f0f8ff;
}

.fl-cost-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Breadcrumb Custom */
.fl-breadcrumb-container {
  padding: 20px 0;
}

.fl-breadcrumb {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--fl-font-family);
  font-size: 0.85rem;
  align-items: center;
}

.fl-breadcrumb-item a {
  color: var(--fl-primary-dark);
  text-decoration: none;
  font-weight: 500;
}

.fl-breadcrumb-item.active {
  color: var(--fl-text-muted);
}

/* Section Divider with horizontal lines */
.fl-section-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 50px 0 30px;
  color: #000000;
  font-family: var(--fl-font-family);
  font-weight: 600;
  font-size: 1.15rem;
}

.fl-section-divider::before,
.fl-section-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #000000;
}

.fl-section-divider:not(:empty)::before {
  margin-right: 1.5rem;
}

.fl-section-divider:not(:empty)::after {
  margin-left: 1.5rem;
}

/* 1. Hero Section */
.fl-cost-hero {
  padding: 40px 0 60px;
  position: relative;
}

.fl-cost-hero-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 5px;
}

.fl-cost-hero-brand {
  font-family: 'Dancing Script', cursive;
  color: #111111;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
}

.fl-logo-hearts-svg {
  width: 45px;
  height: 40px;
  display: inline-block;
}

.fl-cost-hero-title {
  font-family: var(--fl-font-family);
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.fl-cost-hero-title .pink-text {
  color: var(--fl-accent-pink);
}

.fl-cost-hero-title .dark-text {
  color: var(--fl-text-dark);
}

.fl-cost-hero-subtitle {
  font-family: var(--fl-font-family);
  font-weight: 600;
  color: var(--fl-text-dark);
  font-size: 1.15rem;
  margin-bottom: 10px;
  opacity: 0.95;
}

.fl-cost-hero-line-divider {
  width: 60px;
  height: 2px;
  background-color: var(--fl-accent-pink);
  margin: 20px 0;
}

.fl-cost-hero-desc {
  font-family: var(--fl-font-family);
  color: var(--fl-text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 650px;
  margin-bottom: 30px;
}

/* Hero Feature Highlights with Dividers */
.fl-cost-hero-highlights {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 35px;
  flex-wrap: wrap;
}

.fl-cost-highlight-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.fl-cost-highlight-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
}

.fl-cost-highlight-icon.pink-bg {
  background-color: var(--fl-accent-pink);
}

.fl-cost-highlight-icon.yellow-bg {
  background-color: var(--fl-gold);
}

.fl-cost-highlight-icon.blue-bg {
  background-color: var(--fl-gold);
}

.fl-cost-highlight-text {
  display: flex;
  flex-direction: column;
  font-family: var(--fl-font-family);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--fl-text-dark);
  line-height: 1.25;
}

.fl-cost-highlight-divider {
  width: 1px;
  height: 35px;
  background-color: #dddddd;
}

/* Image & Background organic blob with side hearts */
.fl-cost-hero-img-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.fl-cost-hero-img-wrap-relative {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.fl-cost-hero-bg-blob {
  position: absolute;
  width: 85%;
  height: 85%;
  background-color: #fff1f6;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.9;
  filter: blur(10px);
  pointer-events: none;
}

.fl-cost-hero-img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.fl-hero-side-hearts {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 150px;
  z-index: 2;
  pointer-events: none;
}

/* 2. What Influences Cost Section */
.fl-influences-box {
  border: 1.5px solid rgba(224, 86, 153, 0.15);
  border-radius: 16px;
  background-color: #ffffff;
  position: relative;
  padding: 20px 15px 20px;
  margin: 50px 0 40px;
  box-shadow: 0 10px 30px rgba(224, 86, 153, 0.08);
}

.fl-influences-title-legend {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  padding: 0 25px;
  color: #000000;
  font-family: var(--fl-font-family);
  font-weight: 600;
  font-size: 1.25rem;
  white-space: nowrap;
  letter-spacing: -0.2px;
}

.fl-influences-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
}

.fl-influences-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  padding: 10px 5px;
  position: relative;
}

.fl-influences-col:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1.5px;
  background-color: rgb(224, 86, 153);
}

.fl-influence-icon {
  font-size: 2.2rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
}

.fl-influence-icon.pink-color {
  color: #e05699;
}

.fl-influence-icon.yellow-color {
  color: #e05699;
}

.fl-influence-icon.blue-color {
  color: #e05699;
}

.fl-influence-label {
  font-family: var(--fl-font-family);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--fl-text-dark);
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 991.98px) {
  .fl-influences-row {
    flex-wrap: wrap;
  }

  .fl-influences-col {
    flex: 0 0 33.333%;
    margin-bottom: 25px;
  }

  .fl-influences-col::after {
    display: none !important;
  }

  .fl-influences-col:nth-child(3n-2)::after,
  .fl-influences-col:nth-child(3n-1)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: rgba(224, 86, 153, 0.15);
    display: block !important;
  }
}

@media (max-width: 575.98px) {
  .fl-influences-col {
    flex: 0 0 50%;
  }

  .fl-influences-col::after {
    display: none !important;
  }

  .fl-influences-col:nth-child(odd)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: rgba(224, 86, 153, 0.15);
    display: block !important;
  }

  .fl-influences-title-legend {
    font-size: 1rem;
    padding: 0 15px;
  }
}

/* 3. Cost Table Section */
.fl-table-responsive {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(224, 86, 153, 0.08);
  border: 1px solid rgba(106, 27, 77, 0.06);
  margin-bottom: 20px;
}

.fl-cost-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--fl-font-family);
  font-size: 0.9rem;
  background-color: #ffffff;
  min-width: 600px;
}

.fl-cost-table th {
  background-color: var(--fl-accent-pink);
  color: #ffffff;
  font-weight: 600;
  padding: 15px 24px;
  text-align: left;
}

.fl-cost-table td {
  padding: 14px 24px;
  color: var(--fl-text-dark);
  border-bottom: 1px solid rgba(106, 27, 77, 0.05);
}

.fl-cost-table tr:last-child td {
  border-bottom: none;
}

.fl-cost-table tr:nth-child(even) {
  background-color: #fffafc;
}

.fl-cost-table td.cost-val {
  font-weight: 600;
  color: var(--fl-accent-pink);
}

.fl-cost-table td.range-val {
  font-weight: 500;
  color: var(--fl-text-muted);
}

.fl-table-note {
  font-family: var(--fl-font-family);
  font-size: 0.82rem;
  color: var(--fl-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  margin-bottom: 30px;
}

/* 4. Chart & Quote Section */
.fl-chart-row {
  margin-bottom: 40px;
}

.fl-chart-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px 24px;
  box-shadow: 0 10px 30px rgba(224, 86, 153, 0.08);
  border: 1px solid rgba(106, 27, 77, 0.06);
  height: 100%;
}

.fl-chart-container {
  display: flex;
  height: 280px;
  position: relative;
  padding-top: 20px;
  padding-bottom: 30px;
  font-family: var(--fl-font-family);
}

.fl-chart-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 45px;
  font-size: 0.75rem;
  color: var(--fl-text-muted);
  text-align: right;
  padding-right: 10px;
  height: calc(100% - 30px);
  box-sizing: border-box;
}

.fl-chart-plot-area {
  flex-grow: 1;
  position: relative;
  height: calc(100% - 30px);
  border-left: 1px solid rgba(106, 27, 77, 0.15);
  border-bottom: 1px solid rgba(106, 27, 77, 0.15);
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 0 15px;
}

.fl-chart-grid-line {
  position: absolute;
  left: 0;
  width: 100%;
  border-top: 1px dashed rgba(106, 27, 77, 0.06);
  pointer-events: none;
}

.fl-chart-bar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 20%;
  z-index: 2;
  height: 100%;
  justify-content: flex-end;
  position: relative;
}

.fl-chart-bar {
  width: 100%;
  max-width: 40px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  position: relative;
  transition: height 1s ease-out;
}

.fl-chart-bar-val {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--fl-text-dark);
}

.fl-chart-bar.bar-iui {
  background-color: #f1c40f;
  height: 15%;
}

.fl-chart-bar.bar-basic {
  background-color: var(--fl-accent-pink);
  height: 48%;
}

.fl-chart-bar.bar-advanced {
  background-color: #3498db;
  height: 70%;
}

.fl-chart-bar.bar-advanced-special {
  background-color: var(--fl-primary-dark);
  height: 90%;
}

.fl-chart-x-label {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--fl-text-muted);
  text-align: center;
  white-space: nowrap;
}

/* Quote Box styling */
.fl-quote-card {
  background-color: var(--fl-primary-soft);
  border-radius: 12px;
  padding: 35px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(224, 86, 153, 0.08);
  border: 1px solid rgba(224, 86, 153, 0.08);
  position: relative;
}

.fl-quote-icon {
  font-size: 2.2rem;
  color: var(--fl-accent-pink);
  opacity: 0.8;
  margin-bottom: 20px;
}

.fl-quote-text {
  font-family: var(--fl-font-family);
  color: var(--fl-text-dark);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 25px;
  font-weight: 500;
}

.fl-quote-author {
  font-family: var(--fl-font-family);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fl-accent-pink);
  margin: 0;
}

.fl-quote-brand {
  font-family: var(--fl-font-family);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fl-primary-dark);
  margin: 2px 0 0 0;
}

/* 5. Additional Costs Section */
.fl-additional-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.fl-additional-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 10px 30px rgba(224, 86, 153, 0.08);
  border: 1px solid rgba(106, 27, 77, 0.05);
}

.fl-additional-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.fl-additional-icon-box.pink {
  background-color: var(--fl-primary-soft);
  color: var(--fl-accent-pink);
}

.fl-additional-icon-box.yellow {
  background-color: #fef9e7;
  color: #f39c12;
}

.fl-additional-icon-box.blue {
  background-color: #ebf5fb;
  color: #3498db;
}

.fl-additional-content {
  flex-grow: 1;
}

.fl-additional-title {
  font-family: var(--fl-font-family);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--fl-text-dark);
  margin: 0 0 3px 0;
}

.fl-additional-price {
  font-family: var(--fl-font-family);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--fl-accent-pink);
  margin: 0;
}

/* 6. Ways to Manage Costs Section */
.fl-manage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.fl-manage-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(224, 86, 153, 0.08);
  border: 1px solid rgba(106, 27, 77, 0.05);
  transition: transform 0.3s;
}

.fl-manage-card:hover {
  transform: translateY(-4px);
}

.fl-manage-icon-container {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.25rem;
}

.fl-manage-icon-container.pink {
  background-color: var(--fl-primary-soft);
  color: var(--fl-accent-pink);
}

.fl-manage-icon-container.yellow {
  background-color: #fef9e7;
  color: #f39c12;
}

.fl-manage-icon-container.blue {
  background-color: #ebf5fb;
  color: #3498db;
}

.fl-manage-title {
  font-family: var(--fl-font-family);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--fl-text-dark);
  margin: 0 0 8px 0;
}

.fl-manage-desc {
  font-family: var(--fl-font-family);
  font-size: 0.8rem;
  color: var(--fl-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* 7. About Pre-footer Section */
.fl-about-fertilife-section {
  position: relative;
  overflow: visible;
  padding: 60px 0 20px 0;
   z-index: 1;
  /* Add top padding to accommodate the overflowing doctor head */
}
.fl-about-fertilife-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgb(255 255 255 / 76%), rgba(255, 255, 255, 0.85)), url(../../anotherchild.avif);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scaleX(-1);
}

.fl-about-section {
  background: linear-gradient(135deg, var(--fl-primary-soft) 0%, #fffbfd 100%);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(224, 86, 153, 0.05);
  border: 1px solid rgba(224, 86, 153, 0.12);
  margin-bottom: 60px;
  position: relative;
  overflow: visible !important;
}

.fl-about-doctor-wrapper {
  position: relative;
  width: 200px;
  height: 270px;
  flex-shrink: 0;
  z-index: 10;
}

.fl-about-doctor-circle {
  width: 180px;
  height: 250px;
  border-radius: 18px;
  background-color: var(--fl-primary-soft);
  border: 1px solid rgba(224, 86, 153, 0.1);
  box-shadow: 0 10px 30px rgba(224, 86, 153, 0.08);
  position: relative;
  overflow: hidden;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.fl-about-doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.fl-about-hearts-trail {
  position: absolute;
  top: -15px;
  right: -40px;
  width: 80px;
  height: 90px;
  pointer-events: none;
  z-index: 5;
}

.fl-about-hearts-svg {
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.fl-floating-heart {
  position: absolute;
  font-size: 1.1rem;
  animation: flFloating 3s ease-in-out infinite alternate;
}

.fl-floating-heart.blue {
  color: var(--fl-gold);
  left: 10px;
  bottom: 22px;
  transform: rotate(-15deg);
  font-size: 1.2rem;
  animation-delay: 0.2s;
}

.fl-floating-heart.yellow {
  color: var(--fl-gold);
  left: 32px;
  bottom: 50px;
  transform: rotate(15deg);
  font-size: 1rem;
  animation-delay: 0.5s;
}

.fl-floating-heart.pink {
  color: var(--fl-primary);
  left: 60px;
  bottom: 74px;
  transform: rotate(-10deg);
  font-size: 1.3rem;
  animation-delay: 0.8s;
}

@keyframes flFloating {
  0% {
    transform: translateY(0) rotate(-10deg);
  }

  100% {
    transform: translateY(-4px) rotate(10deg);
  }
}

.fl-about-text-box {
  flex: 1;
}

.fl-about-title {
  font-family: var(--fl-font-family);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--fl-primary);
  margin: 0 0 12px 0;
}

.fl-about-desc {
  font-family: var(--fl-font-family);
  color: var(--fl-text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

.fl-about-pillars-col {
  position: relative;
}

.fl-pillars-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  justify-content: center;
}

.fl-pillar-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.fl-pillar-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border-radius: 50%;
  color: #ffffff;
}

.fl-pillar-icon.pink {
  background-color: var(--fl-primary);
}

.fl-pillar-icon.blue {
  background-color: #e05699;
}

.fl-pillar-icon.yellow {
  background-color: #e05699;
}

.fl-pillar-name {
  font-family: var(--fl-font-family);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--fl-text-dark);
}

/* Responsive Adjustments */
@media (min-width: 992px) {
  .fl-about-pillars-col {
    border-left: 1px solid rgba(224, 86, 153, 0.12);
    padding-left: 40px;
  }
}

@media (max-width: 991.98px) {
  .fl-cost-hero-title {
    font-size: 2.8rem;
  }

  .fl-influences-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .fl-chart-card {
    margin-bottom: 25px;
  }

  .fl-about-fertilife-section {
    padding-top: 80px;
  }

  .fl-about-section {
    padding: 40px 25px;
  }

  .fl-about-pillars-col {
    border-top: 1px solid rgba(224, 86, 153, 0.12);
    padding-top: 30px;
    margin-top: 30px;
  }
}

@media (max-width: 767.98px) {
  .fl-cost-hero {
    text-align: center;
    padding: 30px 0;
  }

  .fl-cost-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .fl-cost-hero-features {
    justify-content: center;
  }

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

  .fl-about-section {
    padding: 30px 20px;
  }

  .fl-about-doctor-wrapper {
    /* margin-top: -75px; */
    margin-bottom: 10px;
  }
}

@media (max-width: 575.98px) {
  .fl-cost-hero-title {
    font-size: 2.2rem;
  }

  .fl-influences-grid {
    grid-template-columns: 1fr;
  }

  .fl-additional-grid {
    grid-template-columns: 1fr;
  }

  .fl-manage-grid {
    grid-template-columns: 1fr;
  }

  .fl-section-divider {
    font-size: 1rem;
  }
}

/* ---------- Solution FAQ Accordion Styles ---------- */
.fl-solution-faq-container .accordion-item {
  border: 1px solid #eaeaea;
  border-radius: 8px !important;
  margin-bottom: 15px;
  background-color: #ffffff;
  overflow: hidden;
  transition: all 0.3s ease;
}

.fl-solution-faq-container .accordion-item:last-child {
  margin-bottom: 0;
}

.fl-solution-faq-container .accordion-button {
  background-color: transparent;
  color: #1a202c;
  font-weight: 600;
  font-size: 15px;
  padding: 16px 20px;
  box-shadow: none !important;
  border: none;
}

.fl-solution-faq-container .accordion-button:not(.collapsed) {
  background-color: #fff4f8 !important;
  color: #e05699 !important;
}

.fl-solution-faq-container .accordion-button::after {
  content: '\002B'; /* Plus icon */
  font-family: inherit;
  font-weight: 400;
  font-size: 24px;
  background-image: none !important;
  transform: none;
  color: #e05699;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fl-solution-faq-container .accordion-button:not(.collapsed)::after {
  content: '\2212'; /* Minus icon */
}

.fl-solution-faq-container .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: #f9d0e3;
  background-color: #fff4f8;
}

/* Fallback background for body if :has is not supported perfectly */
.fl-solution-faq-container .accordion-body {
  padding: 20px 20px 16px;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  background-color: #ffffff;
}

/* ---------- Solution Article Typography ---------- */
.fl-solution-article-wrap h1, 
.fl-solution-article-wrap h2, 
.fl-solution-article-wrap h3, 
.fl-solution-article-wrap h4 {
    font-family: var(--fl-font-family);
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    /* margin-bottom: 25px; */
}