/* ==========================================================================
   Quote Band – Parallax Background
   ========================================================================== */

.quote-band {
  position: relative;

  /* Background image */
  background-image: url("../img/coach-t-quote.png"); /* update path if needed */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  /* Parallax effect */
  background-attachment: fixed;

  padding-block: clamp(4.5rem, 9vw, 7rem);
  overflow: hidden;
}

/* Overlay for readability */
.quote-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* Ensure quote content sits above overlay */
.quote-band .container {
  position: relative;
  z-index: 2;
}

/* Quote styling polish */
.quote-band blockquote {
  line-height: 1.3;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
}

.quote-band figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.85;
}
/* Optional: highlight animation for recommended plan/section */

.pkg-highlight {
  outline: 3px solid var(--ghs-primary, #f4b400);
  outline-offset: 6px;
  box-shadow: 0 0 0 6px rgba(244, 180, 0, 0.2);
  border-radius: 1rem;
  scroll-margin-top: 120px;
}
/* Recommendation card animation */
.recommendation-animate {
  animation: recFadeSlide 360ms ease-out;
}

@keyframes recFadeSlide {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


#package-finder .card {
  background-color: #ffffff;
  color: #111;
}

/* --------------------------------------------------------------------------
   Mobile & Accessibility Adjustments
   -------------------------------------------------------------------------- */

/* Disable fixed background on mobile (performance + iOS support) */
@media (max-width: 991px) {
  .quote-band {
    background-attachment: scroll;
    background-position: center top;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .quote-band {
    background-attachment: scroll;
  }
}
@media (max-width: 767.98px) {

  .compare-table thead {
    display: none;
  }

  .compare-table,
  .compare-table tbody,
  .compare-table tr,
  .compare-table td,
  .compare-table th {
    display: block;
    width: 100%;
  }

  .compare-table tr {
    border: 1px solid #dee2e6;
    margin-bottom: 1.25rem;
    border-radius: .5rem;
    overflow: hidden;
  }

  .compare-table th[scope="row"] {
    background: #f8f9fa;
    font-weight: 600;
    padding: .75rem 1rem;
    border-bottom: 1px solid #dee2e6;
  }

  .compare-table td {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: .75rem 1rem;
    text-align: right;
    border: none;
    border-bottom: 1px solid #eee;
  }

  .compare-table td::before {
    content: attr(data-label);
    font-weight: 600;
    text-align: left;
    padding-right: 1rem;
    color: #555;
  }

  .compare-table tr:last-child td {
    justify-content: center;
    text-align: center;
  }
}