/* ========== Tokens ========== */
:root {
  --red: #BF0A30;
  --navy: #061928;
  --blue: #0D2A6B;
  --sky: #64B2F5;
  --white: #FFFFFF;
  --light: #F6F8FC;
  --text: #0B1F3A;
  --muted: #6B7280;
  --shadow: 0 10px 30px rgba(0, 40, 104, .18);
  --radius: 1.25rem;
  --nav-h: 64px;
  --banner-h: 0px;
  --red-05: rgba(191, 10, 48, .05);
  --red-08: rgba(191, 10, 48, .08);
  --navy-03: rgba(0, 40, 104, .03);
  --navy-06: rgba(0, 40, 104, .06);
}

/* ========== Base ========== */
html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--light);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: Playfair Display;
}

.h-lg {
  font-size: 3.5rem;
}

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  color: #9f0828;
}

.lead {
  color: var(--text);
  opacity: .9;
}

.lead-lg {
  font-family: Playfair Display, serif;
  /* color: var(--navy); */
  font-size: 3.2rem;
  text-transform: uppercase;
}

section[id],
header[id] {
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

section, header, footer {
  position: relative;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.parallax {
  will-change: transform;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  pointer-events: none;
  z-index: 0;
}

/* ========== Utilities ========== */

/* ========== PRELOADER ========== */
#preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  animation: fadeIn 1s ease forwards;
}

.preloader-logo {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--navy);
}

.preloader-tagline {
  margin-top: 0.5rem;
  opacity: 0.8;
  letter-spacing: 0.6px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.preloader-inner::after {
  content: "";
  display: block;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #BF0A30, #0D2A6B);
  margin: 1rem auto 0;
  animation: lineGrow 1.8s ease-out forwards;
}

@keyframes lineGrow {
  to { width: 80%; }
}


/* ========== PARTICLE BACKGROUND ========== */
.particle-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* ========== Particle Layer Fix ========== */

.particle-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}


/* TYPOGRAPHY */


.text-red {
  color: var(--red) !important;
}

.text-blue {
  color: var(--navy);
}

.text-sky {
  color: var(--sky) !important;
}

.text-light {
  color: var(--light);
}

.bg-navy {
  background: var(--navy) !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, .65) !important;
}

.rounded-4 {
  border-radius: 1rem !important;
}

.py-6 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-lg-7 {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.pt-lg-7 {
  padding-top: 8rem;
}

.pb-lg-7 {
  padding-bottom: 8rem;
}

.px-6 {
  padding-left: 4rem;
  padding-right: 4rem;
}

.uppercase {
  text-transform: uppercase;
}

/* IMG */
.img-sm {
  max-width: 200px !important;
  height: auto;
}

/* ========== Navbar ========== */
.navbar {
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  border-bottom: 1px solid rgba(0, 0, 0, .03);
  min-height: 78px;
}

/* Make sticky nav stay on top at all widths */
.navbar.sticky-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
}

.navbar-brand {
  font-weight: 800;
  letter-spacing: .5px;
}

.nav-link {
  font-weight: 600;
  color: var(--text);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--red);
}

.nav-link.active {
  color: var(--red) !important;
  font-weight: 700;
}

.nav-btn {
  border-radius: 3px !important;
  padding: 5px 20px !important;
  margin-left: 8px;
}

@media (max-width: 991.98px) {
  .navbar {
    position: sticky;
    top: 0;
    z-index: 1040;
  }

  .navbar-toggler {
    border: unset !important;
  }

  .nav-btn {
    margin-left: 0px;
  }

  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .75);
    z-index: 1039;
  }

  .navbar .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    width: 100%;
    padding: .75rem 1rem;
  }

  .navbar .navbar-collapse.collapsing {
    overflow: hidden;
    transition: height .28s cubic-bezier(.22, 1, .36, 1), opacity .2s ease-out;
    opacity: .01;
  }

  .navbar .navbar-collapse.collapse.show {
    opacity: 1;
    transition: height .24s cubic-bezier(.22, 1, .36, 1), opacity .18s ease-in;
  }
}

@media (max-width: 396px) {
  .navbar-brand {
    font-size: 1rem;
  }
}

/* ========== Banner ========== */
#banner.banner {
  margin-top: 78px !important;
}

.banner {
  color: #fff;
  background: var(--navy);
  position: relative;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.banner .lead {
  color: rgba(255, 255, 255, .88);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  /* background: url(../img/hero/waukee_overview.jpg) center/cover no-repeat; */
  background: url(../img/hero/political_bg_1.jpg) center/cover no-repeat;
  animation: heroBgZoom 20s ease-out forwards;
  background-size: 115%;
  color: #fff;
  min-height: calc(100svh - var(--nav-h) - var(--banner-h));
  display: flex;
  align-items: center;
  padding-block: clamp(2rem, 6vh, 4rem);
  overflow: hidden;
  margin: 0;
}

.hero-sub {
  min-height: 500px !important;
  padding: 5rem 0 3rem;
  background-size: cover;
  background-position: center;
  position: relative;
  margin-top: var(--nav-h);
}

.hero-sub .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}


.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  pointer-events: none;
  z-index: 0;
}

.hero>* {
  position: relative;
  z-index: 1;
}

.hero-row {
  --bs-gutter-x: 0;
  max-width: min(1100px, 95vw);
  margin-inline: auto;
  justify-content: center;
}

@keyframes heroBgZoom {
  to {
    background-size: 100%;
  }
}

@media (prefers-reduced-motion:reduce) {
  .hero {
    animation: none;
    background-size: cover;
  }
}

@supports(height:100dvh) {
  .hero {
    min-height: calc(100dvh - var(--nav-h) - var(--banner-h));
  }
}

@media (max-width:1735px) {
  .hero {
    animation: unset;
  }
}

@media (max-width:1515px) {
  .hero {
    background-size: 150%;
  }
}

@media (max-width:1200px) {
  .hero {
    background-size: 200%;
  }

  .h-lg {
    font-size: 2.5rem;
  }

  .p-lg {
    font-size: 1.2rem !important;
    line-height: 1.7rem;
  }
}

@media (max-width:976px) {
  .hero{
    min-height: 900px !important;
  }
  .hero-sub {
    min-height: 100px !important;
  }
}

/* Hero content sizing + overlap, keeping the pair centered */
@media (min-width:992px) {
  :root {
    --overlap: 10px;
  }

  /* tweak to taste */

  /* defeat .col-lg-6 50/50 so each side sizes to content */
  .hero-row>.hero-text,
  .hero-row>.hero-photo {
    flex: 0 0 auto;
    width: auto;
  }

  /* TEXT panel (wider) */
  .hero-panel {
    border-radius: var(--radius);
    padding: 4rem 3rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, .05);
    width: clamp(540px, 42vw, 640px);
    background: rgba(0, 20, 58, 0.6);
    /* -webkit-backdrop-filter: saturate(120%) blur(6px); */
    /* backdrop-filter: saturate(120%) blur(6px); */
    color: var(--white);
  }

  .hero-panel .lead-lg {
    letter-spacing: 2px !important;
  }

  /* IMAGE side (narrower) */
  .hero-photo {
    display: flex;
    justify-content: flex-end;
  }

  .hero-portrait {
    width: clamp(300px, 28vw, 360px);
    max-width: 100%;
    height: auto;
    /* outline: 6px solid rgba(255, 255, 255, .75); */
    outline-offset: -4px;
    border-radius: 0px var(--radius) var(--radius) 0px !important;
  }

  /* visual overlap without breaking centering */
  .hero-text {
    /* transform: translateX(var(--overlap)); */
    position: relative;
    z-index: 2;
  }

  .hero-photo {
    /* transform: translateX(calc(-1 * var(--overlap))); */
    position: relative;
    z-index: 1;
  }
}

/* Mobile: stack, no overlap */
@media (max-width:991.98px) {
  .hero {
    animation: none;
    background-size: cover;
    padding-block: 3rem;
  }

  .hero-row>.hero-text,
  .hero-row>.hero-photo {
    width: 100%;
  }

  .hero-text,
  .hero-photo {
    transform: none;
    text-align: center;
    display: flex;
    justify-content: center;
  }

  .hero-portrait {
    max-width: 280px;
    /* outline: 6px solid rgba(255, 255, 255, .75); */
    outline-offset: -4px;
    border-radius: var(--radius) var(--radius) 0px 0px !important;
  }

  .hero-panel {
    border-radius: var(--radius);
    padding: 4rem 3rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, .05);
    width: clamp(540px, 42vw, 640px);
    background: rgba(0, 20, 58, 0.6);
    /* -webkit-backdrop-filter: saturate(120%) blur(6px); */
    /* backdrop-filter: saturate(120%) blur(6px); */
    color: var(--white);
  }

  .lead-lg {
    font-size: 1.8rem;
  }

  #commitments {
    background-attachment: scroll;
    background: url("/assets/img/triangle_rendition.jpg") no-repeat;
    background-size: cover;
    background-position: 25% center;
  }
}

@media (max-width: 776px) {
  .h-lg {
    font-size: 1.5rem;
  }
}

@media (max-width: 400px) {
  .banner h1 {
    font-size: 1.5rem;
  }

  .parallax {
    transform: none !important;
    will-change: auto;
    /* save GPU cycles */
  }

  /* .hero {
    margin-top: -1px;
  } */

  .sub-hero {
    margin-top: 0px !important;
  }

  .hero-photo {
    padding-top: 1.2rem;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    box-shadow: unset !important;
  }

  .hero-portrait {
    border-radius: var(--radius) !important;
  }

  .hero-portrait.shadow-lg {
    box-shadow: unset !important;
  }

  .hero-panel {
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
    border-top-left-radius: unset;
    border-top-right-radius: unset;
    margin-top: 0;
    box-shadow: unset !important;
    background: unset;
    backdrop-filter: unset;
    border: unset;
  }

  .hero-row {
    background: rgba(0, 20, 58, 0.6);
    border-radius: var(--radius);
  }

  #commitments .card-soft {
    min-height: 230px !important;
  }

  .quote-panel {
    padding-top: 0 !important;
  }

  .band {
    margin-top: -1px;
    background: var(--navy) !important;
  }

}

/* scroll cue */
.scroll-down {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(1rem + env(safe-area-inset-bottom, 0));
  color: rgba(255, 255, 255, .8);
}

/* ========== Buttons ========== */
.btn {
  font-weight: 400;
  letter-spacing: .2px;
  border-radius: .75rem;
  padding: .65rem 1.1rem;
  font-size: 1em;
  transition: transform .08s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, filter .2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-red {
  background: var(--red);
  color: #fff;
  border: none;
  box-shadow: var(--shadow);
}

.btn-red:hover {
  filter: brightness(1.05);
  color: var(--navy);
  background: #fff;
}

.btn-outline-red {
  color: var(--red);
  background: transparent;
}

.btn-outline-red:hover {
  background: var(--red);
  color: #fff;
}

.btn-white {
  color: var(--navy);
  background: #fff;
  box-shadow: var(--shadow);
}

.btn-white:hover {
  background: transparent;
}

.btn-outline-light {
  color: #fff;
  background: transparent;
  box-shadow: var(--shadow);
}

.btn-outline-light:hover {
  color: var(--navy);
  background: #fff;
}

.btn-blue {
  color: var(--white);
  background: var(--navy);
  box-shadow: var(--shadow);
}

.btn-blue:hover {
  filter: brightness(1.05);
  background: #fff;
  color: var(--navy);
}

.btn-sky {
  color: var(--navy);
  background: var(--sky);
  box-shadow: var(--shadow);
}

/* ========== Buttons: Equal Width & Slim ========== */
:root {
  --btn-w-eq: 10rem;
}

.btn-eq {
  width: min(var(--btn-w-eq), 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

.btn-eq-sm {
  --btn-w-eq: 7rem;
}

.btn-eq-md {
  --btn-w-eq: 9rem;
}

.btn-eq-lg {
  --btn-w-eq: 12.5rem;
}

.btn-row-eq {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.btn-row-eq>.btn {
  flex: 0 0 var(--btn-w-eq);
  width: min(var(--btn-w-eq), 100%);
}

@media (min-width:992px) {
  .btn-slim {
    padding-top: .55rem;
    padding-bottom: .55rem;
  }
}

/* ========== Issue Cards ========== */
.card-issue {
  border: none;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.card-issue .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--red-08);
  color: var(--red);
  font-size: 1.4rem;
}

/* ========== About: Modern ========== */


#about {
  background: var(--navy);
  min-height: 750px;
  margin-top: -1px !important;
}

.about-modern .about-kicker {
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--muted);
}

.about-modern .about-card {
  box-shadow: 0 6px 18px rgba(0, 40, 104, .08);
  border: 1px solid rgba(0, 0, 0, .04);
}

.about-modern .clean-list {
  padding-left: 1.1rem;
}

.about-modern .clean-list li {
  margin-bottom: .5rem;
}

@media (max-width: 991.98px) {
  .about-img {
    display: flex;
    justify-content: center;
  }
}

/* ========== About: Accordion Theme ========== */
*:focus {
  box-shadow: none !important;
}

.about-accordion {
  --bs-accordion-color: var(--text);
  --bs-accordion-bg: #fff;
  --bs-accordion-border-color: none !important;
  --bs-accordion-border-width: 0px;
  --bs-accordion-border-radius: .75rem;
  --bs-accordion-inner-border-radius: calc(.75rem - 1px);
  --bs-accordion-btn-padding-x: 1.1rem;
  --bs-accordion-btn-padding-y: .9rem;
  --bs-accordion-btn-color: var(--text);
  --bs-accordion-btn-bg: #fff;
  --bs-accordion-btn-focus-border-color: rgba(191, 10, 48, .35);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(191, 10, 48, .25);
  --bs-accordion-active-color: var(--red);
  --bs-accordion-active-bg: var(--red-05);
}

.about-accordion .accordion-item {
  border: 1px solid var(--bs-accordion-border-color);
  border-radius: .75rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 40, 104, .08);
  margin-bottom: .75rem;
}

.about-accordion .accordion-button {
  font-size: .5em;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text);
  background: #fff;
}

.about-accordion .accordion-button:hover {
  background: rgba(0, 0, 0, .015);
}

.about-accordion .accordion-button:focus {
  box-shadow: none !important;
  border: none !important;
}

.about-accordion .accordion-button:not(.collapsed) {
  color: #fff;
  background: var(--red);
  box-shadow: none !important;
  border: none !important;
}

.about-accordion .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3e%3cpath d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  opacity: 1;
}

.about-accordion .accordion-body {
  color: #1b2435;
  background: #fff;
  padding: 1rem 1.1rem 1.15rem;
  border-top: 1px solid var(--navy-06);
}

.about-img {
  overflow: hidden;
}

.about-img img {
  border-radius: var(--radius);
  overflow: hidden;
}

.about-img .banner {
  position: absolute;
  top: 10px !important;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
}

/* ========== Commitments Section ========== */
#commitments {
  position: relative;
  background: var(--navy);
  color: #fff;
}

#commitments::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/assets/img/triangle_rendition.jpg") bottom/cover no-repeat fixed;
  opacity: .4;
  pointer-events: none;
  z-index: 0;
}

#commitments>* {
  position: relative;
  z-index: 1;
}

#commitments h2 {
  color: #fff;
}

#commitments .card-soft {
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--navy-06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  min-height: 220px;
}

#commitments .commitments-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: .55rem .75rem;
}

#commitments .commitments-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .75rem;
  color: #1b2435;
}

#commitments .commitments-list i {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
  margin: 0;
  color: var(--red);
}

#commitments .quote-card {
  overflow: hidden;
}

#commitments .quote-panel {
  padding: 1.5rem 1.5rem 2.25rem;
  position: relative;
  min-height: 150px;
}

#commitments .quote-panel p {
  margin: 0;
  font-style: italic;
  color: #1b2435;
}

#commitments .quote-by {
  position: absolute;
  bottom: 1rem;
  left: 1.25rem;
  font-size: .9rem;
  color: var(--muted);
}

#commitments .carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 0;
  display: flex;
  padding: .25rem 0;
}

#commitments .carousel-indicators button {
  width: auto;
  height: auto;
  margin: 0 .35rem;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  text-indent: 0;
  color: var(--navy);
  font-family: Inter, sans-serif !important;
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1;
  opacity: 1;
  transition: color .3s ease;
}

#commitments .carousel-indicators button.active {
  background: transparent;
  color: var(--red);
}

#commitments .carousel-indicators button:focus {
  outline: none;
  box-shadow: none;
}

#commitments .carousel-indicators [data-bs-target] {
  font-family: Inter, sans-serif !important;
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1;
  border: 0;
  text-indent: 0;
  color: var(--navy);
  opacity: 1;
  transition: color .3s ease, -webkit-text-stroke .3s ease;
}

#commitments .carousel-indicators .active {
  color: var(--red);
  -webkit-text-stroke: 0 transparent;
}

/* ========== CTA Band ========== */
.band {
  background: linear-gradient(90deg, var(--navy) 0%, var(--red) 50%, var(--red) 50%, var(--navy) 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

/* ========== JOIN ========== */
#join {
  color: var(--navy);
  text-align: center;
}

#join .kicker {
  display: inline-block;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sky);
}

#join .subtitle {
  margin: 0;
}

#join .join-img-wrapper,
#join .join-text-wrapper {
  display: flex;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
}

#join .join-text-wrapper {
  flex-direction: column;
  text-align: center;
}

#join .join-img-wrapper img {
  background: var(--navy);
  margin-top: -6rem;
  padding-left: 15rem;
  padding-right: 15rem;
}

#join .btn-row-eq {
  flex-wrap: wrap;
  gap: .5rem;
}

#join .btn-row-eq>.btn {
  flex: 0 0 var(--btn-w-eq);
  width: var(--btn-w-eq);
}

#join .card-btn {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius);
  color: #1a1f71;
  background: linear-gradient(180deg, #ffffff 0%, #f5f6f8 100%);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.08),
    0 4px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

#join .card-btn:hover {
  background: linear-gradient(180deg, #f0f2f5 0%, #e6e8eb 100%);
  color: #b22234;
  box-shadow:
    0 3px 8px rgba(0, 0, 0, 0.12);
}

.clickable-card {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.clickable-card:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}



@media (max-width: 976px) {
  #join .join-img-wrapper img {
    padding-left: 6rem;
    padding-right: 6rem;
    max-width: 400px;
  }
}

@media (max-width:575.98px) {
  #join .btn-row-eq>.btn {
    flex: 1 1 100%;
    width: 100%;
  }
}

@media (max-width: 476px) {

  .p-lg {
    font-size: .9rem !important;
    line-height: 1.3rem;
  }

  .band {
    text-align: center;
  }

  #join-header {
    padding-bottom: 60px !important;
    padding-top: 60px !important;
  }

  #join .join-img-wrapper img {
    padding: 24px 24px !important;
    max-width: 300px;
    margin-top: -36px !important;
  }
}

#join .mini-actions .sep {
  margin: 0 .4rem;
  opacity: .5;
}

#join .mini-actions .link-light {
  text-decoration: underline;
  text-underline-offset: 2px;
}

#join .mail-card {
  margin: 1rem auto 0;
  max-width: 560px;
  text-align: left;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: .75rem;
  background: rgba(255, 255, 255, .04);
}

#join .mail-card .label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .25rem;
}

#join .mail-card .hint {
  margin-top: .35rem;
  font-size: .9rem;
}

#join #joinMail img {
  max-width: 150px;
}

/* ========== Donate Modal ========== */
.donate-modal .modal-content {
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(0, 40, 104, .18);
  min-height: 442px;
}

.donate-modal .modal-title {
  font-weight: 800;
}

.donate-modal .qr {
  max-width: 260px;
  width: 100%;
}

.donate-modal .nav-pills .nav-link {
  border-radius: .75rem;
  font-weight: 700;
  color: var(--navy);
}

.donate-modal .nav-pills .nav-link.active {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow);
}

/* Layout stability with modal open */
html {
  scrollbar-gutter: stable;
}

.modal-open {
  padding-right: 0 !important;
}

/* ========== MOBILE SAFE-AREA FIXES FOR MODALS ========== */
@supports (padding: env(safe-area-inset-top)) {
  .modal {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .modal-dialog {
    margin-top: calc(env(safe-area-inset-top) + 10px) !important;
  }

  .modal-content {
    border-radius: 1rem;
    overflow: hidden;
  }
}

/* Force proper height behavior on iOS */
html.ios body.modal-open {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* ========== Forms ========== */
.form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 .2rem rgba(191, 10, 48, .18);
}

/* --- FAQ Layout --- */
#faq {
  position: relative;
  overflow: hidden;
  background: var(--light, #F6F8FC);
}

#faq .container {
  position: relative;
  z-index: 1;
}

.faq-block {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 6px 16px rgba(0, 20, 58, 0.08);
  padding: 2.5rem 2rem;
  margin-bottom: 3rem;
  border-left: 6px solid var(--red, #BF0A30);
  transition: transform .25s ease;
}

.faq-block:hover {
  transform: translateY(-4px);
}

.faq-block:nth-child(even) {
  background: #f9fafc;
}

.faq-block h2 {
  font-weight: 700;
  color: var(--navy, #061928);
  margin-bottom: 1rem;
  position: relative;
}

.faq-block h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--red, #BF0A30);
  border-radius: 2px;
}

.faq-block p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1rem;
}

.faq-block strong,
.faq-block .text-red {
  color: var(--red, #BF0A30);
  font-weight: 600;
}

/* --- CTA Section --- */
.faq-cta {
  /* background: var(--navy, #061928);
  color: #fff; */
  padding: 5rem 1rem;
  text-align: center;
  box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
}

.faq-cta h2 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.faq-cta p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

/* ========== Footer ========== */
footer a {
  color: #cbd5e1;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

/* ========== Media helpers ========== */
@media (max-width:991.98px) {
  .py-lg-7 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  #top .btn {
    margin-top: .5rem;
  }
}

/* Parallax perf hint */
.parallax {
  will-change: transform;
  transform: translateZ(0);
}

/* Global guard */
html,
body {
  overflow-x: hidden;
}

/* Clip any stray wide child without creating new scrollbars */
.container,
.row,
section,
header,
footer {
  overflow-x: clip;
}

/* Mobile-specific belt & suspenders */
@media (max-width: 991.98px) {

  html,
  body {
    overflow-x: clip;
  }

  .parallax {
    transform: none !important;
    will-change: auto;
  }
}

@media (max-width: 991.98px) {
  #commitments::after {
    background: url("/assets/img/triangle_rendition.jpg") bottom/cover no-repeat;
  }
}