/* ==========================================================================
   For Patients Page Complete CSS Stylesheet
   Alternating Light ⇄ Dark Rhythm with Deep Royal Purple Gradient
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Hero Section Background & Floating Features Card
   -------------------------------------------------------------------------- */
.patients-hero-section {
  padding: 20px 0 75px 0 !important;
  position: relative;
  background: linear-gradient(to right, #fde8ef 0%, #fff2f6 30%, #ffffff 65%, #f1e4fc 100%) !important;
  overflow: hidden;
  min-height: 470px;
}

.patients-hero-section .hero-breadcrumbs {
  margin-bottom: 10px;
}

.patients-hero-section .services-hero-title {
  font-size: 46px;
  font-weight: 600;
  color: #1e1b4b;
  line-height: 1.1;
  margin-bottom: 12px;
}

.patients-hero-section .services-hero-img-col {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.patients-hero-section .services-hero-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 15%, rgba(0, 0, 0, 1) 35%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 15%, rgba(0, 0, 0, 1) 35%);
}

.patients-hero-section::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* 5 Column Grid Helper for Desktop */
@media (min-width: 768px) {
  .col-md-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

/* ── Floating Bridge Card (Spanning across Hero & How We Support You) ── */
.patients-floating-bridge-wrapper {
  margin-top: -55px;
  margin-bottom: 45px;
  position: relative;
  z-index: 30;
}

.patients-hero-features-card {
  background: #ffffff;
  border-radius: 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  padding: 26px 20px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.22), 0 4px 14px rgba(224, 30, 90, 0.08);
  position: relative;
  z-index: 30;
}

.patient-feature-col {
  padding: 10px;
  position: relative;
}

.patient-feature-col:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: #f1f5f9;
}

@media (max-width: 767px) {
  .patient-feature-col:not(:last-child)::after {
    display: none;
  }
  .patient-feature-col-last {
    border-top: 1px dashed #f1f5f9;
    margin-top: 8px;
    padding-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }
  .patient-feature-col-last .patient-feature-icon-circle {
    margin: 0 !important;
    width: 44px;
    height: 44px;
    font-size: 17px;
  }
  .patient-feature-col-last .patient-feature-title {
    text-align: left;
    margin: 0;
  }
  .patients-floating-bridge-wrapper {
    margin-top: -45px;
    margin-bottom: 35px;
  }
  .patients-hero-features-card {
    padding: 20px 14px;
    border-radius: 18px;
  }
  .altruistic-explainer-card {
    padding: 22px 18px !important;
    border-radius: 20px !important;
  }
}

.patient-feature-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff0f4;
  border: 1.5px solid #fecdd3;
  color: #e01e5a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 12px auto;
  box-shadow: 0 4px 12px rgba(224, 30, 90, 0.08);
}

.patient-feature-title {
  font-size: 13px;
  font-weight: 600;
  color: #1e1b4b;
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   1. Section 2: How We Support You (Dark Theme with Deep Purple Gradient)
   -------------------------------------------------------------------------- */
.patients-support-section {
  padding: 30px 0 75px 0;
  background:
    radial-gradient(rgba(224, 30, 90, 0.22) 1.5px, transparent 1.5px),
    radial-gradient(rgba(167, 71, 254, 0.20) 1.5px, transparent 1.5px),
    linear-gradient(135deg, #2d1060 0%, #3b0f7a 50%, #280d58 100%) !important;
  background-size: 32px 32px, 32px 32px, 100% 100% !important;
  background-position: 0 0, 16px 16px, 0 0 !important;
  position: relative;
  overflow: visible;
}

.patients-section-title {
  font-size: 34px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.patients-title-line {
  width: 50px;
  height: 3px;
  background: #ff528f;
  border-radius: 4px;
  margin: 0 auto 16px auto;
}

.patients-section-lead {
  font-size: 15px;
  color: #cbd5e1;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.65;
}

.support-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 28px 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  height: 100%;
}

.support-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 82, 143, 0.6);
  box-shadow: 0 14px 35px rgba(224, 30, 90, 0.25);
  background: rgba(255, 255, 255, 0.12);
}

.support-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 82, 143, 0.18);
  border: 1.5px solid rgba(255, 82, 143, 0.35);
  color: #ff528f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(224, 30, 90, 0.2);
}

.support-card-title {
  font-size: 16.5px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.support-card-desc {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ── Dedicated Process Roadmap Cards ── */
.process-roadmap-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 28px 24px;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.process-roadmap-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 82, 143, 0.5);
  box-shadow: 0 16px 36px rgba(224, 30, 90, 0.2);
}

.roadmap-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  width: 100%;
}

.roadmap-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff528f 0%, #9035ea 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(224, 30, 90, 0.3);
  flex-shrink: 0;
}

.roadmap-stage-badge {
  background: rgba(255, 82, 143, 0.2);
  color: #ff85b1;
  border: 1px solid rgba(255, 82, 143, 0.35);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}

.roadmap-time-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
}

.roadmap-card-title {
  font-size: 19px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.35;
}

.roadmap-card-desc {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Altruistic Surrogacy Explainer Box */
.altruistic-explainer-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 82, 143, 0.45);
  border-radius: 24px;
  padding: 34px 30px;
  margin-bottom: 45px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.altruistic-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(255, 82, 143, 0.22);
  border: 1.5px solid rgba(255, 82, 143, 0.45);
  color: #ff85b1 !important;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.altruistic-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 16px;
  border-radius: 50px;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.text-pink-bright {
  color: #ff528f !important;
}

/* --------------------------------------------------------------------------
   2. Section 3: Who We Help (Light Theme Gradient)
   -------------------------------------------------------------------------- */
.patients-who-help-section {
  padding: 70px 0 65px 0;
  background: linear-gradient(to right, #fde8ef 0%, #fff2f6 30%, #ffffff 65%, #f1e4fc 100%) !important;
  position: relative;
}

.patients-section-title-light {
  font-size: 34px;
  font-weight: 600;
  color: #111a2e;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.patients-title-line-pink {
  width: 50px;
  height: 3px;
  background: #e01e5a;
  border-radius: 4px;
  margin: 0 auto;
}

.who-help-outer-card {
  background: #ffffff;
  border: 1.5px solid #f1e2e9;
  border-radius: 24px;
  padding: 40px 30px;
  box-shadow: 0 10px 32px rgba(31, 20, 53, 0.04);
}

.who-help-col {
  padding: 15px;
  text-align: center;
  position: relative;
}

.who-help-col:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: #f1f5f9;
}

@media (max-width: 991px) {
  .who-help-col:not(:last-child)::after {
    display: none;
  }
}

.who-help-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff0f4;
  border: 1.5px solid #fecdd3;
  color: #e01e5a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 12px auto;
  box-shadow: 0 4px 14px rgba(224, 30, 90, 0.08);
  transition: transform 0.3s ease;
}

.who-help-col:hover .who-help-icon {
  transform: scale(1.1);
}

.who-help-text {
  font-size: 13.5px;
  font-weight: 600;
  color: #1e1b4b;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   3. Section 4: Resources for You (LIGHT Theme - Consistent Alternating Rhythm)
   -------------------------------------------------------------------------- */
.patients-resources-section-light {
  padding: 70px 0 75px 0;
  background: linear-gradient(to right, #fde8ef 0%, #fff2f6 30%, #ffffff 65%, #f1e4fc 100%) !important;
  position: relative;
}

.patient-resource-card-light {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid #fce4ec;
  box-shadow: 0 10px 25px rgba(224, 30, 90, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.patient-resource-card-light:hover {
  transform: translateY(-6px);
  border-color: #ff528f;
  box-shadow: 0 16px 36px rgba(224, 30, 90, 0.16);
}

.patient-resource-card-light .patient-resource-img-box {
  width: 100%;
  height: 175px;
  overflow: hidden;
}

.patient-resource-card-light .patient-resource-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.patient-resource-card-light:hover .patient-resource-img {
  transform: scale(1.08);
}

.patient-resource-card-light .patient-resource-body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.patient-resource-card-light .patient-resource-title {
  font-size: 16px;
  font-weight: 600;
  color: #111a2e;
  margin-bottom: 12px;
  line-height: 1.35;
  flex: 1;
}

.patient-resource-card-light .patient-resource-link {
  color: #e01e5a;
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s ease;
}

.patient-resource-card-light:hover .patient-resource-link {
  gap: 10px;
  color: #be123c;
}

/* --------------------------------------------------------------------------
   4. Section 5: Ready to Take the First Step? (DARK Theme Radiant Card)
   -------------------------------------------------------------------------- */
.patients-cta-banner-section-dark {
  padding: 65px 0 75px 0;
  background:
    radial-gradient(rgba(224, 30, 90, 0.22) 1.5px, transparent 1.5px),
    radial-gradient(rgba(167, 71, 254, 0.20) 1.5px, transparent 1.5px),
    linear-gradient(135deg, #2d1060 0%, #3b0f7a 50%, #280d58 100%) !important;
  background-size: 32px 32px, 32px 32px, 100% 100% !important;
  background-position: 0 0, 16px 16px, 0 0 !important;
  position: relative;
}

.patients-cta-card-dark {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  border: 1.5px solid rgba(255, 82, 143, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  padding: 38px 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.patients-cta-icon-wrap-dark {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #ff528f 0%, #9035ea 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(224, 30, 90, 0.35);
}

.patients-cta-title-dark {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.patients-cta-desc-dark {
  font-size: 14.5px;
  color: #cbd5e1;
  margin-bottom: 0;
  line-height: 1.55;
}

/* Responsive */
@media (max-width: 991.98px) {
  .patients-hero-section {
    padding: 30px 15px 0 15px !important;
    text-align: center !important;
    background: linear-gradient(to bottom, #fde8ef 0%, #fff2f6 30%, #ffffff 65%, #f1e4fc 100%) !important;
    min-height: auto !important;
    overflow: hidden;
  }

  .patients-hero-section .hero-breadcrumbs {
    display: none !important;
  }

  .patients-hero-section .services-hero-title {
    font-size: clamp(26px, 6vw, 36px) !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 8px;
  }

  .patients-hero-section .services-hero-subtitle {
    font-size: 16px !important;
    text-align: center !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 12px !important;
  }

  .patients-hero-section .services-hero-desc {
    font-size: 14px !important;
    line-height: 1.6 !important;
    max-width: 100% !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 0 !important;
  }

  .patients-hero-section .services-hero-img-col {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    height: 320px;
    margin-top: 20px;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-end !important;
    pointer-events: none;
    z-index: 1;
  }

  .patients-hero-section .services-hero-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 15%, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 1) 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 15%, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 1) 85%, transparent 100%);
  }

  .patients-floating-bridge-wrapper {
    margin-top: -30px;
    margin-bottom: 35px;
  }

  .patients-support-section,
  .patients-resources-section {
    padding: 60px 0 50px 0;
  }
  .patients-section-title,
  .patients-section-title-light {
    font-size: 28px;
  }
  .patients-cta-card {
    padding: 28px 24px;
  }
}

@media (max-width: 576px) {
  .patients-hero-section {
    padding: 18px 0 0 0 !important;
  }
  .patients-hero-section .services-hero-title {
    font-size: 30px;
  }
  .patients-hero-section .services-hero-subtitle {
    font-size: 16px !important;
  }
  .patients-hero-section .services-hero-img-col {
    height: 310px;
    margin-top: 14px;
    margin-bottom: -30px;
  }
  .patients-hero-section .services-hero-img-col img {
    object-position: center 18%;
  }
  .patients-floating-bridge-wrapper {
    margin-top: -25px;
    margin-bottom: 30px;
  }
  .patients-support-section,
  .patients-resources-section,
  .patients-who-help-section,
  .patients-cta-banner-section {
    padding: 45px 0 35px 0;
  }
  .patients-section-title,
  .patients-section-title-light {
    font-size: 24px;
  }
  .patients-cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }
  .patients-cta-card .btn-cta-consultation {
    width: 100%;
    justify-content: center;
  }
}
