/* ============================================================
   Fertility Calculators Page — Pixel-perfect recreation
   Font: Playfair Display (headings) + Poppins (body)
   Primary Pink: #e05699  |  Soft Pink BG: #fff4f8
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --fc-primary:        #e05699;
  --fc-primary-dark:   #c8476a;
  --fc-primary-light:  #f7c5dc;
  --fc-primary-soft:   #fff4f8;
  --fc-primary-border: #f9d0e3;
  --fc-primary-icon:   #fce8f3;
  --fc-text-dark:      #1a202c;
  --fc-text-muted:     #666;
  --fc-blue-soft:      #eef4ff;
  --fc-blue-border:    #c8d9f5;
  --fc-font-heading:   var(--fl-font-family);
  --fc-font-body:      var(--fl-font-family);
  --fc-max-width:      1320px;
  --fc-radius-card:    12px;
  --fc-shadow-card:    0 4px 20px rgba(0,0,0,0.06);
  --fc-shadow-hover:   0 12px 36px rgba(224, 86, 153, 0.14);
}

/* ---------- Base Resets for Page ---------- */
.fc-page {
  font-family: var(--fc-font-body);
  overflow-x: hidden;
}
.fc-page *, .fc-page *::before, .fc-page *::after {
  box-sizing: border-box;
}

.fc-page h1,
.fc-page h2,
.fc-page h3,
.fc-page h4 {
  font-family: var(--fc-font-heading);
}

/* ---------- IN-BANNER BREADCRUMB ---------- */
.fc-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-family: var(--fc-font-body);
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 14px;
}

.fc-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.fc-hero-breadcrumb a:hover {
  color: #fff;
}

.fc-hero-breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}

/* Pink divider with heart */
.fc-heart-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.fc-heart-divider .line {
  width: 40px;
  height: 2px;
  background: var(--fc-primary);
  border-radius: 2px;
  opacity: 0.7;
}

.fc-heart-divider .heart-icon {
  color: var(--fc-primary);
  font-size: 14px;
  line-height: 1;
}

.fc-hero-desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: #555;
  max-width: 480px;
  margin: 0;
}

.fc-hero-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fc-hero-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  display: block;
  box-shadow: 0 8px 32px rgba(0,0,0,0.09);
}

/* ---------- SECTION HEADING COMMON ---------- */
.fc-section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.fc-section-title {
  font-family: var(--fc-font-heading);
  font-size: clamp(1.6rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--fc-text-dark);
  margin-bottom: 10px;
}

/* ---------- CALCULATOR CARDS SECTION ---------- */
.fc-calculators-section {
  background: transparent;
  padding: 55px 0 70px;
  border-top: 1px solid #f5f5f5;
  position: relative;
  z-index: 1;
}

.fc-calculators-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);
}

.fc-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  justify-items: center;
}

.fc-cards-grid .fc-card {
  width: 100%;
}

.fc-cards-grid--centered {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
}

.fc-cards-grid--centered .fc-card {
  flex: 0 0 calc(25% - 18px);
  max-width: calc(25% - 18px);
  width: auto;
}

.fc-card {
  background: #ffffff;
  border: 1.5px solid var(--fc-primary-border);
  border-radius: var(--fc-radius-card);
  padding: 30px 20px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative;
}

.fc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--fc-shadow-hover);
  border-color: var(--fc-primary-light);
}

.fc-card-icon-wrap {
  width: 72px;
  height: 72px;
  background: var(--fc-primary-icon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
  transition: background 0.25s ease;
}

.fc-card:hover .fc-card-icon-wrap {
  background: var(--fc-primary-light);
}

.fc-card-icon-wrap svg {
  width: 32px;
  height: 32px;
  stroke: var(--fc-primary);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fc-card-icon-wrap i {
  font-size: 26px;
  color: var(--fc-primary);
}

.fc-card-title {
  font-family: var(--fc-font-body);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--fc-text-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.fc-card-desc {
  font-size: 12.5px;
  color: #777;
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.fc-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border: 1.5px solid var(--fc-primary);
  border-radius: 6px;
  color: var(--fc-primary);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--fc-font-body);
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
  white-space: nowrap;
}

.fc-card-btn:hover {
  background: var(--fc-primary);
  color: #fff;
  transform: translateY(-1px);
}

/* ---------- HOW IT WORKS SECTION ---------- */
.fc-how-section {
  /* background: linear-gradient(135deg, #fff4f8 0%, #ffffff 100%); */
  padding: 20px 0 20px;
  /* margin-top: clamp(3rem, 6vw, 6rem); */
  margin-bottom: clamp(3rem, 6vw, 6rem);
  position: relative;
  overflow: visible;
  background: #faddec;
}

.fc-how-section::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(224,86,153,0.08) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
}

.fc-how-section::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(58,111,216,0.06) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
}

/* Rounded card wrapper */
.fc-how-inner-box {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 60px 40px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 40px rgba(224, 86, 153, 0.08), 0 1px 3px rgba(0,0,0,0.02);
  position: relative;
  z-index: 2;
}

/*
 * 7-column grid:
 *  col 1 (1fr) = step 1
 *  col 2 (80px) = connector
 *  col 3 (1fr) = step 2
 *  col 4 (80px) = connector
 *  col 5 (1fr) = step 3
 *  col 6 (80px) = connector
 *  col 7 (1fr) = step 4
 */
.fc-steps-row {
  display: grid;
  grid-template-columns: 1fr 80px 1fr 80px 1fr 80px 1fr;
  align-items: center;
}

/* ---- Each step ---- */
.fc-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fc-step:hover {
  transform: translateY(-8px);
}

/* ---- Connector between steps ---- */
.fc-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-bottom: 70px;
}

.fc-connector-dash {
  display: block;
  flex: 1;
  height: 3px;
  background-image: repeating-linear-gradient(
    to right,
    var(--fc-primary) 0px,
    var(--fc-primary) 6px,
    transparent 6px,
    transparent 12px
  );
  opacity: 0.3;
  animation: dashMove 20s linear infinite;
}

@keyframes dashMove {
  to { background-position: 1000px 0; }
}

/* CSS border-triangle arrowhead */
.fc-connector-arrow {
  display: block;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 9px solid var(--fc-primary);
  flex-shrink: 0;
  margin-left: 2px;
  opacity: 0.6;
}

/* ---- Step icon circle ---- */
.fc-step-icon-wrap {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #ffffff 0%, #fef5f9 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(224, 86, 153, 0.15), inset 0 0 0 4px #fff;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fc-step:hover .fc-step-icon-wrap {
  background: linear-gradient(135deg, var(--fc-primary) 0%, var(--fc-primary-dark) 100%);
  box-shadow: 0 12px 35px rgba(224, 86, 153, 0.3), inset 0 0 0 4px rgba(255,255,255,0.2);
}

.fc-step-icon-wrap i {
  font-size: 38px;
  color: var(--fc-primary);
  transition: color 0.4s ease, transform 0.4s ease;
}

.fc-step:hover .fc-step-icon-wrap i {
  color: #fff;
  transform: scale(1.15) rotate(5deg);
}

.fc-step-label {
  font-family: var(--fc-font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--fc-text-dark);
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.fc-step:hover .fc-step-label {
  color: var(--fc-primary);
}

.fc-step-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  max-width: 160px;
  margin: 0 auto;
}


/* ---------- DISCLAIMER SECTION ---------- */
.fc-disclaimer-section {
  padding: 20px 0;
  background: transparent;
}

.fc-disclaimer-box {
  background: var(--fc-blue-soft);
  border: 1px solid var(--fc-blue-border);
  border-radius: 10px;
  padding: 18px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.fc-disclaimer-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #ddeaff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.fc-disclaimer-icon i {
  font-size: 17px;
  color: #3a6fd8;
}

.fc-disclaimer-content strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--fc-text-dark);
  margin-bottom: 4px;
  font-family: var(--fc-font-body);
}

.fc-disclaimer-content p {
  font-size: 13px;
  color: #555;
  line-height: 1.65;
  margin: 0;
}

/* ---------- CTA SECTION ---------- */
.fc-cta-section {
  padding: 0 0 60px;
  background: transparent;
}

.fc-cta-box {
  background: var(--fc-primary-soft);
  border-radius: 16px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  border: 1px solid var(--fc-primary-border);
}

.fc-cta-illustration {
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(224,86,153,0.12));
}

.fc-cta-content {
  flex: 1;
}

.fc-cta-content h3 {
  font-family: var(--fc-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fc-text-dark);
  margin-bottom: 8px;
}

.fc-cta-content p {
  font-size: 14px;
  color: #666;
  line-height: 1.65;
  margin: 0;
  max-width: 380px;
}

.fc-cta-buttons {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  align-items: center;
  flex-wrap: wrap;
}

.fc-btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--fc-primary);
  color: #fff;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--fc-font-body);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  white-space: nowrap;
}

.fc-btn-solid:hover {
  background: var(--fc-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 71, 106, 0.3);
}

.fc-btn-outline-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: transparent;
  color: var(--fc-primary);
  border: 2px solid var(--fc-primary);
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--fc-font-body);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1199px) {
  .fc-cards-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  .fc-cards-grid--centered .fc-card {
    flex: 0 0 calc(25% - 14px);
    max-width: calc(25% - 14px);
  }
}

@media (max-width: 991px) {
  .fc-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .fc-cards-grid--centered .fc-card {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }

  .fc-steps-row {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .fc-connector {
    display: none;
  }

  .fc-how-inner-box {
    padding: 36px 24px 40px;
  }

  .fc-hero-img {
    height: 300px;
    max-width: 100%;
  }

  .fc-cta-box {
    flex-direction: column;
    text-align: center;
  }

  .fc-cta-content p {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .fc-cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .fc-cards-grid--centered .fc-card {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }

  .fc-card {
    padding: 22px 14px 20px;
  }

  .fc-hero {
    padding: 35px 0 30px;
  }

  .fc-hero-desc {
    max-width: 100%;
  }

  .fc-cta-box {
    padding: 28px 24px;
  }

  .fc-cta-buttons {
    justify-content: center;
    width: 100%;
  }

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

@media (max-width: 479px) {
  .fc-cards-grid {
    grid-template-columns: 1fr;
  }
  .fc-cards-grid--centered .fc-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .fc-steps-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .fc-how-inner-box {
    padding: 28px 16px 32px;
  }
}

/* ---------- BLOB IMAGES ---------- */
.fl-why-blob-top,
.fl-why-blob-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  height: clamp(3rem, 6vw, 6rem);
  object-fit: fill;
  z-index: 10;
  pointer-events: none;
}

.fl-why-blob-top {
  top: 0;
  transform: translateY(-99%);
}

.fl-why-blob-bottom {
  bottom: 0;
  transform: translateY(99%) rotate(180deg);
}
