/* ==========================================================================
   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;
  }
}