:root {
  --bg: #06112a;
  --bg-soft: #0d1d45;
  --surface: rgba(11, 29, 70, 0.75);
  --surface-strong: #12295f;
  --text: #eef4ff;
  --muted: #aebedf;
  --red: #f0364f;
  --blue: #2f6dff;
  --gold: #ffd16a;
  --border: rgba(183, 202, 246, 0.2);
  --shadow: 0 20px 60px rgba(2, 8, 25, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 5%, #274796 0%, transparent 35%),
    radial-gradient(circle at 90% 10%, #6d1736 0%, transparent 32%),
    linear-gradient(160deg, #050d21 0%, #08183c 45%, #09102a 100%);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.ambient::before,
.ambient::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  z-index: -2;
}

.ambient::before {
  width: 360px;
  height: 360px;
  background: rgba(244, 57, 81, 0.3);
  top: -110px;
  right: -80px;
}

.ambient::after {
  width: 320px;
  height: 320px;
  background: rgba(39, 94, 255, 0.28);
  bottom: -120px;
  left: -100px;
}

.container {
  width: min(1140px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(5, 14, 34, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1rem;
  align-items: center;
  min-height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand strong {
  font-size: 0.92rem;
  letter-spacing: 0.06em;
}

.brand em {
  font-style: normal;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 1.3rem;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #ffffff;
}

.menu-toggle {
  display: none;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(14, 35, 80, 0.8);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.35rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
}

.btn {
  border: 0;
  border-radius: 14px;
  padding: 0.8rem 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), #c90f36);
  box-shadow: 0 12px 26px rgba(225, 32, 70, 0.35);
}

.btn-ghost {
  color: var(--text);
  background: rgba(18, 46, 108, 0.65);
  border: 1px solid rgba(174, 194, 239, 0.35);
}

.btn.full {
  width: 100%;
}

.hero {
  padding: 3.3rem 0 4.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.77rem;
}

.hero h1,
.section-head h2,
.story-copy h2,
.contact-copy h2 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.03em;
  line-height: 0.98;
  margin: 0;
}

.hero h1 {
  font-size: clamp(2.5rem, 6.3vw, 5.3rem);
  margin-bottom: 1rem;
}

.hero-copy > p {
  color: var(--muted);
  max-width: 56ch;
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-trust {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  color: var(--muted);
}

.hero-trust strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  color: #fff;
}

.hero-media {
  position: relative;
}

.hero-image {
  width: 100%;
  min-height: 510px;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.floating-card {
  position: absolute;
  left: -28px;
  bottom: 24px;
  max-width: 220px;
  background: rgba(5, 16, 40, 0.88);
  border: 1px solid rgba(191, 211, 255, 0.24);
  border-radius: 14px;
  padding: 0.95rem;
  box-shadow: 0 14px 35px rgba(6, 13, 30, 0.4);
  animation: drift 5.2s ease-in-out infinite;
}

.floating-card.alt {
  left: auto;
  right: -20px;
  top: 22px;
  animation-delay: 0.8s;
}

.floating-card span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  color: var(--gold);
}

.floating-card p {
  margin: 0.4rem 0 0;
  color: #dce6ff;
  font-size: 0.88rem;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.section {
  padding: 5rem 0;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
}

.about-grid,
.program-grid,
.donate-grid,
.contact-grid {
  display: grid;
  gap: 1rem;
}

.about-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.program-card,
.stat-card,
.donate-card,
.contact-form {
  background: linear-gradient(180deg, rgba(15, 38, 90, 0.82), rgba(10, 28, 68, 0.82));
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.card {
  padding: 1.35rem;
}

.card h3,
.program-card h3,
.donate-card h3 {
  margin-top: 0;
  margin-bottom: 0.85rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
}

.card ul {
  margin: 0;
  padding-left: 1.05rem;
  color: #dfebff;
}

.card ul li + li {
  margin-top: 0.55rem;
}

.value-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.value-tags span {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(44, 109, 255, 0.2);
  border: 1px solid rgba(92, 145, 255, 0.4);
  font-size: 0.9rem;
}

.impact {
  background: linear-gradient(160deg, rgba(11, 26, 64, 0.75), rgba(12, 22, 44, 0.55));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.stat-card {
  padding: 1.2rem;
  text-align: left;
}

.stat-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  color: var(--gold);
  display: block;
}

.stat-card span {
  color: #d4e2ff;
  font-size: 0.95rem;
}

.program-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.program-card {
  padding: 1.25rem;
}

.program-card p {
  margin: 0;
  color: #d4e1fb;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 1.4rem;
}

.story-image img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
}

.story-copy h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  margin-bottom: 1rem;
}

.story-copy p {
  color: #d8e5ff;
}

.donate {
  background:
    radial-gradient(circle at 80% 15%, rgba(244, 41, 77, 0.25), transparent 32%),
    linear-gradient(180deg, rgba(8, 20, 49, 0.96), rgba(7, 17, 39, 0.95));
}

.donate-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.donate-card {
  padding: 1.25rem;
}

.donate-card p {
  margin-top: 0;
  color: #d2e1ff;
}

.amount-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.amount {
  border-radius: 12px;
  border: 1px solid rgba(188, 205, 244, 0.35);
  padding: 0.7rem;
  background: rgba(15, 34, 80, 0.85);
  color: #e4efff;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.amount.is-active,
.amount:hover {
  background: linear-gradient(135deg, #f03a51, #cc183f);
  border-color: transparent;
}

.impact-message {
  margin: 0 0 1rem;
  color: #f9e7a4;
  min-height: 54px;
}

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

.checklist li {
  position: relative;
  padding-left: 1.2rem;
  color: #deebff;
}

.checklist li + li {
  margin-top: 0.55rem;
}

.checklist li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  top: 0.55rem;
  left: 0;
}

.spotlight {
  border-color: rgba(255, 210, 99, 0.45);
}

.contact-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.contact-copy h2 {
  font-size: clamp(2rem, 4.1vw, 3rem);
  margin-bottom: 1rem;
}

.contact-copy p {
  color: #d8e5ff;
}

.contact-points {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(186, 205, 244, 0.25);
  border-radius: 14px;
  background: rgba(12, 30, 74, 0.55);
}

.contact-form {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 0.65rem;
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(186, 205, 244, 0.4);
  background: rgba(6, 18, 45, 0.8);
  color: #eef5ff;
  padding: 0.75rem;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.form-feedback {
  min-height: 22px;
  margin: 0.7rem 0 0;
  color: #99ffc8;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0 2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #b6c5e5;
  font-size: 0.92rem;
}

.footer-inner a {
  color: var(--gold);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .hero-grid,
  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
  }

  .floating-card {
    left: 14px;
    bottom: 12px;
  }

  .floating-card.alt {
    right: 12px;
    top: 14px;
  }

  .stats-grid,
  .donate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: auto auto auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .desktop-donate {
    display: none;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 1.25rem;
    width: min(260px, calc(100% - 2.5rem));
    background: rgba(7, 19, 48, 0.98);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 0.65rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .main-nav a {
    width: 100%;
    padding: 0.55rem 0.6rem;
    border-radius: 9px;
  }

  .main-nav a:hover {
    background: rgba(35, 80, 179, 0.35);
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .about-grid,
  .program-grid,
  .stats-grid,
  .donate-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    min-height: 420px;
  }

  .floating-card {
    max-width: 190px;
    font-size: 0.85rem;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(1140px, calc(100% - 1.4rem));
  }

  .hero {
    padding-top: 1.8rem;
  }

  .section {
    padding: 3.6rem 0;
  }

  .hero-trust {
    gap: 0.65rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
