:root {
  --primary-color: #081e3f; /* FIU Blue */
  --secondary-color: #b6862c; /* FIU Gold */
}

.hero {
  /* Hero Section with fixed wording */
  /* remove 'fixed' to disable the parallax effect */
  background: url("../img/landing-8_bckp2.jpg") no-repeat center center fixed;
  background-size: cover;
  background-position: center center;
  position: relative;
}

/* Dark overlay so the hero wording stays readable */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 30, 63, 0.85) 0%,
    rgba(8, 30, 63, 0.55) 60%,
    rgba(8, 30, 63, 0.35) 100%
  );
}

.hero > .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero {
    background-attachment: scroll; /* NO parallax on small devices */
  }
}

/* Give Today (Blackbaud form) */
#givetoday {
  background: url("../img/inner-4.jpg") no-repeat center center;
  background-size: cover;
  height: max-content;
}

#givetoday .give-panel {
  background-color: rgba(255, 255, 255, 0.96);
  padding: 2.5rem;
  border-radius: 0.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* Fundraising progress bar */
.raised-bar {
  height: 14px;
  background-color: #e6e6e6;
  border-radius: 20px;
  overflow: hidden;
}

.raised-bar__fill {
  height: 100%;
  width: 66.7%; /* $333,500 of $500,000 */
  background-color: var(--secondary-color);
  border-radius: 20px;
}

.rounded {
  border-radius: 0.25rem !important;
}

/* Faculty cards keep a consistent portrait crop */
.speaker-card__image img {
  height: 320px;
  object-fit: cover;
  object-position: top center;
}

.caption-lead {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* Hero headline: scale with the viewport so long words never overflow */
.hero h1 {
  font-size: clamp(2rem, 6vw, 4.5rem) !important;
  line-height: 1.05;
  overflow-wrap: break-word;
}

.hero h2 {
  font-size: clamp(0.9rem, 1.8vw, 1.5rem);
}

body {
  overflow-x: hidden;
}

/*=========================
  GOLD BUTTON CONTRAST
  White on FIU gold is only 3.26:1 (fails WCAG AA), and the lighter
  gold hover state drops to 2.50:1. FIU blue on gold reaches 5.08:1 at
  rest and 6.62:1 on hover — both pass AA — using only FIU colors.
=========================*/
.btn-secondary,
.btn-secondary:link,
.btn-secondary:visited {
  color: var(--primary-color) !important;
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  font-weight: 700;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  /* lighter gold raises the ratio with blue text to 6.62:1 */
  color: var(--primary-color) !important;
  background-color: var(--secondary-color-light) !important;
  border-color: var(--secondary-color-light) !important;
}

/* Visible keyboard focus on every button, on light and dark backdrops */
.btn:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--primary-color);
}

.bg-white .btn:focus-visible,
.bg-light .btn:focus-visible,
.give-panel .btn:focus-visible {
  outline-color: var(--primary-color);
  box-shadow: 0 0 0 6px #ffffff;
}

/* Main call-to-action button — a step larger than the standard .btn */
.btn-give {
  font-size: 0.95rem;
  padding: 0.95rem 2.25rem;
}

@media (max-width: 575.98px) {
  .btn-give {
    font-size: 0.9rem;
    padding: 0.85rem 1.75rem;
  }
}

/*=========================
  CTA BAND
  Sits between the white Contact section and the blue footer, so it uses
  a light grey to stay distinct from both.
=========================*/
.cta-band {
  background-color: #e9ecef;
}

/* Gold on light grey is only 2.75:1 as a shape boundary (WCAG 1.4.11
   wants 3:1), so the button gets a FIU blue edge on this band. */
.cta-band .btn-secondary {
  border-color: var(--primary-color) !important;
  border-width: 2px !important;
}
