: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.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.88) 0%,
    rgba(8, 30, 63, 0.6) 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 */
  }
}

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

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

body {
  overflow-x: hidden;
}

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

/*=========================
  GIVE TODAY PANEL
=========================*/
#givetoday .give-panel {
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: 0.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

@media (max-width: 575.98px) {
  #givetoday .give-panel {
    padding: 1.5rem;
  }
}

/*=========================
  PULL QUOTES
=========================*/
.pull-quote {
  border-left: 4px solid var(--secondary-color);
  padding-left: 1.5rem;
}

.pull-quote__text {
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.pull-quote__text::before {
  content: "\201C";
}

.pull-quote__text::after {
  content: "\201D";
}

.pull-quote__attribution {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  color: var(--primary-color);
  margin: 0;
}

/* On the dark blue band */
.bg-fiu-blue .pull-quote__text,
.bg-fiu-blue .pull-quote__attribution {
  color: #ffffff;
}

/*=========================
  GIVING LEVEL CARDS
=========================*/
.tiers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.tier-card {
  background: #fff;
  padding: 1.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-top: 4px solid var(--secondary-color);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.tier-card__name {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.tier-card__amounts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tier-card__amounts li {
  font-size: 0.95rem;
  color: #43484d;
  padding: 0.4rem 0;
  border-bottom: 1px solid #e9ecef;
}

.tier-card__amounts li:last-child {
  border-bottom: 0;
}

.tier-card__amounts strong {
  color: var(--primary-color);
}

/*=========================
  IMAGES
=========================*/
.portrait-img {
  width: 100%;
  height: auto;
  display: block;
}

.deloitte-logo {
  max-width: 220px;
  height: auto;
}

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

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

/* Keep nav labels on one line — five items plus the CTA is a tight fit */
.navbar .nav-link,
.navbar .btn {
  white-space: nowrap;
}

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

/*=========================
  CARLOS SABATER FULL-PAGE FEATURE
  Portrait on one half, quote on the other, filling the viewport.
=========================*/
.sabater-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  /* The theme puts 140px of padding on every <section>; this one is
     full-bleed, so that padding would show as white bands above and below. */
  padding: 0;
  background-color: #eef1f4;
}

.sabater-feature__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.sabater-feature__logo {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-top: 2.25rem;
}

/* Source is 1200x1201. Capping the display box at 600px means 1200 device
   pixels on a 2x display — exactly native, so it never upscales. */
.sabater-feature__photo {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1 / 1;
  background-image: url("../img/inner-3.jpg");
  background-size: cover;
  background-position: center 12%;
  background-repeat: no-repeat;
  box-shadow: 0 12px 32px rgba(8, 30, 63, 0.2);
}

.sabater-feature__content {
  color: var(--primary-color);
  display: flex;
  align-items: center;
  padding: 4rem 3.5rem;
}

.sabater-feature__inner {
  max-width: 34rem;
}

.sabater-quote {
  margin: 0;
}

.sabater-quote__text {
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--primary-color);
  margin: 0 0 2rem;
}

.sabater-quote__text::before {
  content: "\201C";
}

.sabater-quote__text::after {
  content: "\201D";
}

/* Gold rule between the quote and the attribution */
.sabater-quote__attribution {
  display: block;
  position: relative;
  padding-top: 1.75rem;
}

.sabater-quote__attribution::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5rem;
  height: 4px;
  background-color: var(--secondary-color);
}

.sabater-quote__name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  color: var(--primary-color);
}

.sabater-quote__role {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.6;
  color: #43484d;
}

/* Stack on tablet and below */
@media (max-width: 991.98px) {
  .sabater-feature {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .sabater-feature__media {
    order: -1; /* portrait first when stacked */
    padding: 2.5rem 1.5rem;
  }

  .sabater-feature__content {
    padding: 3rem 1.5rem;
  }
}

/* Pull the following section up under a text block that ends flush */
.section--tight-bottom {
  padding-bottom: 3.5rem !important;
}

.section--tight-top {
  padding-top: 4rem !important;
}

/*=========================
  QUOTE BAND
  Was full FIU blue, which ran the blue from "The Need" straight into
  "Contribute". Light keeps the page from reading as one blue block.
=========================*/
.quote-band {
  background-color: #e9ecef;
}

/* Centered variant of the pull quote — gold rule sits under the quote,
   centered, instead of running down the left edge. */
.pull-quote--centered {
  border-left: 0;
  padding-left: 0;
  text-align: center;
}

.pull-quote--centered .pull-quote__text {
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  margin-bottom: 1.75rem;
}

.pull-quote--centered .pull-quote__attribution {
  position: relative;
  padding-top: 1.5rem;
}

.pull-quote--centered .pull-quote__attribution::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 5rem;
  height: 4px;
  background-color: var(--secondary-color);
}

/* Secondary line under an attribution name (role, affiliation) */
.pull-quote__role {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06rem;
  line-height: 1.6;
  text-transform: none;
  color: #43484d;
}
