:root {
  --purple: #5b08b7;
  --violet: #7f2ddb;
  --blue: #145ec8;
  --teal: #24a9bd;
  --ink: #17171d;
  --gradient: linear-gradient(
    90deg,
    #5b08b7 0%,
    #7f2ddb 35%,
    #145ec8 72%,
    #24a9bd 100%
  );
  --gradient-dark: linear-gradient(
    90deg,
    #320080 0%,
    #5c0eb0 45%,
    #1647bd 100%
  );
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

/* MARQUEE */
.topbar {
  position: relative;
  z-index: 120;
  width: 100%;
  overflow: hidden;
  color: #fff;
  background: var(--gradient-dark);
}
.topbar-marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}
.topbar-track {
  display: flex;
  width: max-content;
  animation: sca-marquee 48s linear infinite;
  animation-delay: 1s;
}
.marquee-group {
  min-height: 34px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 48px;
  padding-left: 70px;
  padding-right: 48px;
}
.marquee-message,
.marquee-pillars,
.marquee-mission {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.035em;
}
.marquee-message strong,
.marquee-pillars {
  font-weight: 900;
}
.marquee-pillars {
  letter-spacing: 0.07em;
}
.marquee-pillars b {
  opacity: 0.7;
}
.marquee-heart {
  font-size: 20px;
  line-height: 1;
}
.marquee-mission em {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 700;
  font-style: italic;
}
.marquee-separator {
  font-size: 11px;
  opacity: 0.65;
}
@keyframes sca-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.topbar-marquee:hover .topbar-track {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .topbar-track {
    animation: none;
  }
}

/* HEADER */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  overflow: visible;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #ece8f5;
  box-shadow: 0 4px 14px rgba(40, 15, 80, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.header-inner {
  position: relative;
  min-height: 94px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  position: relative;
  z-index: 110;
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}
.brand-emblem {
  position: relative;
  z-index: 120;
  width: 126px;
  height: 126px;
  object-fit: contain;
  flex: 0 0 126px;
  margin-bottom: -45px;
  filter: drop-shadow(0 8px 12px rgba(58, 25, 105, 0.12));
}
.brand-copy {
  display: grid;
  grid-template-columns: max-content;
  min-width: 0;
  width: max-content;
  line-height: 1;
}
.brand-copy > * {
  grid-column: 1;
}
.brand-small {
  width: 100%;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #17171d;
  white-space: nowrap;
  text-align: left;
}
.brand-large {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5px;
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
}
.brand-large b {
  color: #4e73c7;
}
.brand-divider {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: #6521be;
}
.brand-divider i {
  height: 1px;
  flex: 1;
  background: var(--gradient);
}
.brand-divider span {
  font-size: 16px;
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 19px;
  font-size: 13px;
  font-weight: 800;
}
.nav a {
  position: relative;
  padding: 10px 0;
}
.nav a:not(.donate)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: var(--gradient);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.28s ease;
}
.nav a:not(.donate):hover::after {
  transform: translateX(-50%) scaleX(1);
}
.nav .donate {
  padding: 10px 17px;
  color: #fff;
  border-radius: 8px;
  background: var(--gradient-dark);
  box-shadow: 0 6px 15px rgba(70, 23, 150, 0.18);
}
.menu-toggle {
  display: none;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--purple);
  font-size: 29px;
}

/* =========================================================
   DONATION HERO
   ========================================================= */

.donate-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f4e8fb;
}

.donate-hero-background {
  position: relative;

  display: block;

  width: 100%;
  height: auto;

  max-width: none;

  object-fit: initial;
}

.donate-hero-inner {
  position: absolute;
  inset: 0;

  z-index: 5;

  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
}

.donate-hero-copy {
  width: min(570px, 48%);
  margin-left: 1.5%;
  padding: 36px 0 42px;
}
.donate-hero-copy h1 {
  margin: 0;
  color: #5012aa;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 4.2vw, 68px);
  line-height: 1.02;
}
.donate-divider {
  width: 330px;
  max-width: 80%;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 28px 0 26px;
  color: var(--purple);
}
.donate-divider i {
  height: 2px;
  flex: 1;
  background: var(--gradient);
}
.donate-divider span {
  font-size: 35px;
  line-height: 1;
}
.donate-hero-copy > p:not(.donate-thank-you) {
  margin: 0;
  color: #2f3340;
  font-size: 18px;
  line-height: 1.62;
}
.donate-thank-you {
  margin: 30px 0 0;

  color: #5b18b7;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 600;
  font-style: italic;

  line-height: 1.3;
  letter-spacing: 0.01em;

  white-space: nowrap;
}

.donate-thank-you span {
  display: inline-block;

  margin-left: 8px;

  color: #6b21bd;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-style: normal;

  vertical-align: -2px;
}
.donation-placeholder {
  min-height: 1px;
  background: #fff;
}

/* =========================================================
   DONATION SECTION
   ========================================================= */

.donation-section {
  padding: 62px 0 70px;

  background: linear-gradient(135deg, #ffffff 0%, #fbf8ff 52%, #f2f7ff 100%);
}

.donation-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(380px, 0.82fr);

  gap: 68px;

  align-items: center;
}

/* =========================================================
   LEFT INTRO
   ========================================================= */

.donation-intro {
  max-width: 610px;
}

.donation-intro .section-eyebrow {
  display: block;

  margin-bottom: 10px;

  color: var(--purple);

  font-size: 12px;
  font-weight: 900;

  letter-spacing: 0.14em;

  text-transform: uppercase;
}

.donation-intro h2 {
  margin: 0 0 20px;

  color: var(--purple);

  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(36px, 3.4vw, 52px);

  line-height: 1.05;
}

.donation-intro > p {
  margin: 0;

  color: #353943;

  font-size: 17px;
  line-height: 1.65;
}

/* =========================================================
   IMPACT MESSAGE
   ========================================================= */

.donation-impact {
  margin-top: 28px;

  display: flex;
  align-items: flex-start;

  gap: 17px;

  padding: 21px 23px;

  border: 1px solid #ddd1ef;
  border-radius: 17px;

  background: linear-gradient(
    105deg,
    rgba(103, 31, 185, 0.1),
    rgba(24, 102, 198, 0.08)
  );
}

.donation-impact > span {
  flex: 0 0 auto;

  color: var(--purple);

  font-size: 41px;

  line-height: 1;
}

.donation-impact p {
  margin: 0;

  color: #363a45;

  font-size: 14px;

  line-height: 1.55;
}

/* =========================================================
   DONATION BOX
   ========================================================= */

.donation-box {
  position: relative;

  padding: 32px;

  border: 1px solid #d9cfeb;
  border-radius: 22px;

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.98),
    rgba(247, 242, 255, 0.96)
  );

  box-shadow: 0 20px 50px rgba(72, 31, 123, 0.12);
}

.donation-box::before {
  content: "";

  position: absolute;

  top: 0;
  left: 32px;
  right: 32px;

  height: 4px;

  border-radius: 0 0 5px 5px;

  background: var(--gradient);
}

.donation-box h3 {
  margin: 0 0 24px;

  color: var(--purple);

  font-family: Georgia, "Times New Roman", serif;

  font-size: 29px;

  text-align: center;
}

/* =========================================================
   ONE-TIME / MONTHLY
   ========================================================= */

.donation-frequency {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 8px;

  padding: 5px;

  margin-bottom: 22px;

  border-radius: 11px;

  background: #eee7f8;
}

.frequency {
  padding: 11px 14px;

  border: 0;
  border-radius: 8px;

  color: #4d4558;

  background: transparent;

  font: inherit;

  font-size: 13px;
  font-weight: 900;

  cursor: pointer;
}

.frequency.active {
  color: #ffffff;

  background: var(--gradient-dark);

  box-shadow: 0 5px 13px rgba(76, 24, 150, 0.18);
}

/* =========================================================
   DONATION AMOUNTS
   ========================================================= */

.donation-amounts {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 10px;

  margin-bottom: 22px;
}

.donation-amounts button {
  padding: 13px 8px;

  border: 1px solid #d8cde9;
  border-radius: 9px;

  color: var(--purple);

  background: #ffffff;

  font: inherit;

  font-size: 15px;
  font-weight: 900;

  cursor: pointer;

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.donation-amounts button:hover {
  transform: translateY(-2px);

  border-color: #7a36cb;
}

.donation-amounts button.selected {
  color: #ffffff;

  border-color: transparent;

  background: var(--gradient);
}

/* =========================================================
   CUSTOM AMOUNT
   ========================================================= */

.custom-amount {
  display: block;

  margin-bottom: 22px;
}

.custom-amount > span {
  display: block;

  margin-bottom: 7px;

  color: #484451;

  font-size: 12px;
  font-weight: 800;
}

.amount-input {
  min-height: 50px;

  display: grid;

  grid-template-columns:
    auto
    1fr
    auto;

  align-items: center;

  gap: 9px;

  padding: 0 14px;

  border: 1px solid #d8cde9;
  border-radius: 10px;

  background: #ffffff;
}

.amount-input > span {
  color: var(--purple);

  font-size: 18px;
  font-weight: 900;
}

.amount-input input {
  width: 100%;

  border: 0;
  outline: 0;

  color: #27232d;

  background: transparent;

  font: inherit;

  font-size: 16px;
}

.amount-input strong {
  color: #69636f;

  font-size: 12px;
}

/* =========================================================
   CONTINUE BUTTON
   ========================================================= */

.continue-donation {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 16px;

  padding: 14px 20px;

  border: 0;
  border-radius: 10px;

  color: #ffffff;

  background: var(--gradient);

  font: inherit;

  font-size: 14px;
  font-weight: 900;

  text-transform: uppercase;

  cursor: pointer;

  box-shadow: 0 9px 22px rgba(74, 26, 150, 0.2);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.continue-donation:hover {
  transform: translateY(-2px);

  box-shadow: 0 12px 26px rgba(74, 26, 150, 0.26);
}

.continue-donation span {
  font-size: 22px;

  line-height: 0.8;
}

/* =========================================================
   SECURE NOTE
   ========================================================= */

.secure-note {
  margin: 15px 0 0;
  color: #370879;
  font-size: 14px;
  text-align: center;
  font-weight: bold;
}

/* TABLET */
@media (max-width: 1080px) {
  .header-inner {
    min-height: 86px;
  }
  .brand-emblem {
    width: 108px;
    height: 108px;
    flex-basis: 108px;
    margin-bottom: -37px;
  }
  .menu-toggle {
    display: block;
  }
  .nav {
    display: none;
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    padding: 18px 22px;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 16px 35px rgba(55, 30, 90, 0.14);
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 13px 8px;
    border-bottom: 1px solid #eee;
    text-align: center;
  }
  .nav .donate {
    margin-top: 10px;
  }
  .donate-hero-copy {
    width: 48%;
  }
}

/* MOBILE */
@media (max-width: 700px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  .wrap {
    width: calc(100% - 24px);
  }
  .marquee-group {
    min-height: 31px;
    gap: 34px;
    padding-left: 34px;
    padding-right: 34px;
  }
  .marquee-message,
  .marquee-pillars,
  .marquee-mission {
    font-size: 10px;
  }
  .marquee-mission em {
    font-size: 12px;
  }
  .topbar-track {
    animation-duration: 58s;
  }
  .header-inner {
    min-height: 76px;
    gap: 8px;
  }
  .brand {
    max-width: calc(100% - 55px);
    gap: 8px;
  }
  .brand-emblem {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    margin-bottom: -22px;
  }
  .brand-small {
    font-size: 9px;
  }
  .brand-large {
    font-size: 16px;
  }
  .brand-divider {
    margin-top: 5px;
  }
  .nav {
    top: 76px;
  }
  .donate-hero {
    min-height: 680px;
  }
  .donate-hero-background {
    object-position: 67% center;
  }
  .donate-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
      180deg,
      rgba(246, 234, 252, 0.96) 0%,
      rgba(246, 234, 252, 0.88) 48%,
      rgba(246, 234, 252, 0.3) 68%,
      rgba(255, 255, 255, 0.05) 100%
    );
  }
  .donate-hero-inner {
    min-height: 680px;
    align-items: flex-start;
  }
  .donate-hero-copy {
    position: relative;
    z-index: 5;
    width: 100%;
    margin: 0;
    padding: 68px 18px 30px;
    text-align: center;
  }
  .donate-hero-copy h1 {
    font-size: 43px;
  }
  .donate-divider {
    width: 280px;
    margin: 24px auto 22px;
  }
  .donate-hero-copy > p:not(.donate-thank-you) {
    font-size: 16px;
    line-height: 1.55;
    text-align: left;
  }
  .donate-thank-you {
    margin-top: 25px;
    font-size: 27px;
    white-space: normal;
  }
}
/* =========================================================
   DONATION PAGE — MOBILE RESPONSIVENESS FIX
   ========================================================= */

@media (max-width: 700px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .donation-section {
    width: 100%;
    padding: 36px 18px 48px;
    overflow: hidden;
  }

  .donation-layout {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .donation-copy,
  .donation-box {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
  }

  .donation-copy {
    margin-bottom: 30px;
  }

  .donation-box {
    box-sizing: border-box;
    padding-left: 18px;
    padding-right: 18px;
  }

  .frequency-options {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .frequency {
    min-width: 0;
    width: 100%;
  }

  .donation-amounts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .donation-amounts button {
    width: 100%;
    min-width: 0;
  }

  .amount-input {
    width: 100%;
    max-width: 100%;
  }

  .amount-input input {
    min-width: 0;
    width: 100%;
  }

  .continue-donation {
    width: 100%;
    max-width: 100%;
  }

  .donation-copy h2 {
    font-size: clamp(36px, 12vw, 52px);
    line-height: 0.98;
  }

  .donation-copy p {
    font-size: 16px;
    line-height: 1.6;
  }
}
/* =========================================================
   SITE FOOTER — MATCH HOME PAGE
   ========================================================= */

.site-footer {
  width: 100%;
  min-height: 76px;
  padding: 0 28px;

  display: flex;
  align-items: center;

  color: #ffffff;

  background: linear-gradient(
    90deg,
    #3f008f 0%,
    #5d00c7 38%,
    #3e42c8 72%,
    #428db0 100%
  );
}

.site-footer-inner {
  width: min(1350px, 100%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;

  column-gap: 40px;

  font-weight: 700;
  line-height: 1.2;
}

.site-footer-inner span:nth-child(1) {
  text-align: left;
  font-size: 23px;
  font-weight: 800;
}

.site-footer-inner span:nth-child(2) {
  text-align: center;
  font-size: 16px;
}

.site-footer-inner span:nth-child(3) {
  text-align: right;
  font-size: 14px;
  font-weight: 500;
}

/* MOBILE */

@media (max-width: 700px) {
  .site-footer {
    min-height: 0;
    padding: 20px 16px;
  }

  .site-footer-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .site-footer-inner span:nth-child(1),
  .site-footer-inner span:nth-child(2),
  .site-footer-inner span:nth-child(3) {
    text-align: center;
  }

  .site-footer-inner span:nth-child(1) {
    font-size: 18px;
  }

  .site-footer-inner span:nth-child(2) {
    font-size: 13px;
  }

  .site-footer-inner span:nth-child(3) {
    font-size: 12px;
  }
}
.badge-test {
  margin-left: 5px;

  color: #8a5a00;

  background: #fff0b8;
}
.donation-share {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(59, 20, 104, 0.18);
  text-align: left;
}

.donation-share img {
  display: block;
  width: 104px;
  height: 104px;
  flex: 0 0 104px;
}

.donation-share h4 {
  margin: 0 0 0.3rem;
  color: #3b1468;
  font-size: 1rem;
}

.donation-share p {
  margin: 0;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.45;
}

@media (max-width: 480px) {
  .donation-share {
    align-items: flex-start;
  }

  .donation-share img {
    width: 88px;
    height: 88px;
    flex-basis: 88px;
  }
}
.receipt-note {
  margin: 0.55rem 0 1.25rem;
  color: #845eca;
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
}
