:root {
  --blue:    #0077b6;
  --teal:    #2bbbb5;
  --orange:  #e8651a;
  --green:   #3ea72d;
  --pink:    #ff0055;
  --dark:    #0d1b2a;
  --ink:     #1a2e44;
  --muted:   #6b7e92;
  --cream:   #f7f4f0;
  --white:   #ffffff;
  --border:  #dde4ec;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
}

/* ── NAV ─────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 6vw;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 4px 32px rgba(0,119,182,.08); }

.nav-logo {
  display: flex; align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  display: block;
  height: 40px;
  width: auto;
}
.nav-logo-img--footer {
  height: 48px;
}
footer .footer-logo {
  margin-bottom: 4px;
}

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: .02em; transition: color .2s; }
.nav-links a:hover { color: var(--blue); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-donate {
  padding: 10px 22px; border-radius: 100px;
  background: var(--orange); color: white;
  text-decoration: none; font-size: 13px; font-weight: 700;
  letter-spacing: .03em;
  transition: background .2s, transform .15s;
}
.nav-donate:hover { background: #c24d0d; transform: translateY(-1px); }

.nav-cta {
  padding: 10px 22px; border-radius: 100px;
  background: var(--blue); color: white;
  text-decoration: none; font-size: 13px; font-weight: 700;
  letter-spacing: .03em;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: #005f94; transform: translateY(-1px); }

/* ── HERO ────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--dark);
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative; overflow: hidden;
  padding-top: 80px;
}

.hero-bg-shapes {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-bg-shapes circle, .hero-bg-shapes ellipse {
  opacity: .07;
}

.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 0 80px 8vw;
  position: relative; z-index: 2;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(43,187,181,.12);
  border: 1px solid rgba(43,187,181,.3);
  color: var(--teal); font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeUp .8s ease both;
}
.hero-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); animation: pulse 2s infinite; }

.hero-title {
  font-family: 'Raleway', sans-serif; font-weight: 900;
  font-size: clamp(3rem, 5.5vw, 5.2rem); line-height: 1.06;
  color: white; margin-bottom: 24px;
  animation: fadeUp .9s .1s ease both;
}
.hero-title em {
  font-style: italic; color: var(--teal);
}

.hero-sub {
  font-size: 1.1rem; line-height: 1.7; color: rgba(255,255,255,.65);
  max-width: 440px; margin-bottom: 44px;
  font-weight: 400;
  animation: fadeUp 1s .2s ease both;
}

.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeUp 1s .3s ease both;
}
.btn-primary {
  padding: 14px 32px; border-radius: 100px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: white; font-weight: 700; font-size: 15px;
  text-decoration: none; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 32px rgba(43,187,181,.3);
  letter-spacing: .03em;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(43,187,181,.4); }

.btn-outline {
  padding: 14px 32px; border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,.25);
  color: white; font-weight: 600; font-size: 15px;
  text-decoration: none; transition: border-color .2s, background .2s;
  letter-spacing: .03em;
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,.06); }

.btn-donate-hero {
  padding: 14px 32px; border-radius: 100px;
  background: var(--orange); color: white;
  font-weight: 700; font-size: 15px;
  text-decoration: none; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 32px rgba(232,101,26,.3);
  letter-spacing: .03em;
}
.btn-donate-hero:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(232,101,26,.45); background: #c24d0d; }

.hero-stats {
  display: flex; gap: 40px; margin-top: 56px;
  animation: fadeUp 1s .4s ease both;
}
.hero-stat-num {
  font-family: 'Space Mono', monospace; font-size: 1.8rem; font-weight: 700;
  color: white; line-height: 1;
}
.hero-stat-num span { color: var(--teal); }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 4px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }

.hero-right {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  padding: 80px 8vw 80px 40px;
}

.hero-card-stack {
  position: relative; width: 320px; height: 440px;
}

.hcard {
  position: absolute; border-radius: 20px; padding: 28px;
  animation: float 6s ease-in-out infinite;
}
.hcard-1 {
  width: 240px; background: linear-gradient(140deg, var(--blue), #003f73);
  top: 0; left: 0;
  box-shadow: 0 20px 60px rgba(0,119,182,.35);
  animation-delay: 0s;
}
.hcard-2 {
  width: 220px; background: linear-gradient(140deg, var(--teal), #1a8a85);
  bottom: 30px; right: 0;
  box-shadow: 0 20px 60px rgba(43,187,181,.3);
  animation-delay: 1.5s;
}
.hcard-3 {
  width: 180px; background: linear-gradient(140deg, var(--orange), #c24d0d);
  top: 120px; right: 20px;
  box-shadow: 0 20px 60px rgba(232,101,26,.3);
  animation-delay: .8s;
}
.hcard-icon { font-size: 1.5rem; margin-bottom: 12px; width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; }
.hcard-icon svg { width: 22px; height: 22px; fill: white; }
.hcard-title { font-size: 14px; font-weight: 700; color: white; margin-bottom: 4px; letter-spacing: .02em; }
.hcard-desc { font-size: 12px; color: rgba(255,255,255,.7); line-height: 1.5; }

/* ── SECTION COMMONS ─────────────────────────────── */
section { padding: 96px 6vw; }
.section-eyebrow {
  font-family: 'Space Mono', monospace; font-size: 11px;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--blue); margin-bottom: 14px;
}
.section-title {
  font-family: 'Raleway', sans-serif; font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.15;
  color: var(--ink); margin-bottom: 18px;
}
.section-sub {
  font-size: 1.05rem; line-height: 1.75; color: var(--muted);
  max-width: 540px; font-weight: 400;
}
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── ABOUT ───────────────────────────────────────── */
.about {
  background: var(--cream);
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-big-block {
  width: 100%; aspect-ratio: 4/3; border-radius: 24px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  position: relative; overflow: hidden;
}
.about-big-block::before {
  content: 'JENGA';
  font-family: 'Raleway', sans-serif; font-size: 8rem; font-weight: 900;
  color: rgba(255,255,255,.08); position: absolute;
  bottom: -20px; right: -10px; line-height: 1;
  white-space: nowrap;
}
.about-big-block-inner {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 32px;
}
.about-tagline {
  font-family: 'Raleway', sans-serif; font-style: italic;
  font-size: 1.5rem; color: white; line-height: 1.4; font-weight: 700;
}
.about-chip {
  display: inline-block; background: rgba(255,255,255,.18);
  color: white; font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 100px;
  margin-bottom: 10px; width: fit-content;
  letter-spacing: .04em;
}
.about-float-card {
  position: absolute; bottom: -24px; right: -24px;
  background: white; border-radius: 16px; padding: 20px 24px;
  box-shadow: 0 12px 48px rgba(0,0,0,.12);
  min-width: 180px;
}
.about-float-num {
  font-family: 'Space Mono', monospace; font-size: 2.2rem;
  font-weight: 700; color: var(--blue); line-height: 1;
}
.about-float-label { font-size: 13px; color: var(--muted); margin-top: 4px; font-weight: 500; }

.about-content { }
.value-list { margin-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.value-item {
  display: flex; gap: 16px; align-items: flex-start;
}
.value-dot {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.value-icon { width: 20px; height: 20px; }
.value-text-title { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.value-text-desc { font-size: 14px; color: var(--muted); line-height: 1.55; font-weight: 400; }

/* ── FOCUS AREAS ─────────────────────────────────── */
.focus { background: white; }
.focus-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-top: 56px;
}
.focus-card {
  border: 1.5px solid var(--border); border-radius: 20px;
  padding: 36px 32px; transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.focus-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px; border-radius: 0 0 20px 20px;
  background: var(--accent-color); opacity: 0; transition: opacity .3s;
}
.focus-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,.08); border-color: transparent; }
.focus-card:hover::after { opacity: 1; }
.focus-card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 22px;
}
.focus-card-icon svg { width: 26px; height: 26px; }
.focus-card-title { font-family: 'Raleway', sans-serif; font-size: 1.2rem; font-weight: 800; margin-bottom: 12px; color: var(--ink); }
.focus-card-desc { font-size: 14px; color: var(--muted); line-height: 1.7; font-weight: 400; }
.focus-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 20px; }
.tag {
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 100px;
  letter-spacing: .04em;
}

/* ── PROGRAMS ────────────────────────────────────── */
.programs { background: var(--dark); }
.programs .section-title { color: white; }
.programs .section-eyebrow { color: var(--teal); }
.programs .section-sub { color: rgba(255,255,255,.55); }

.programs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 56px;
}
.prog-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px; padding: 32px 28px;
  transition: background .3s, transform .3s;
}
.prog-card:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.prog-card-accent {
  width: 44px; height: 4px; border-radius: 100px;
  margin-bottom: 22px;
}
.prog-card-title { font-family: 'Raleway', sans-serif; font-size: 1.15rem; font-weight: 800; color: white; margin-bottom: 12px; }
.prog-card-desc { font-size: 13.5px; color: rgba(255,255,255,.5); line-height: 1.7; font-weight: 400; }
.prog-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--teal); font-size: 13px; font-weight: 700;
  text-decoration: none; margin-top: 20px;
  transition: gap .2s;
  letter-spacing: .03em;
}
.prog-card-link:hover { gap: 10px; }

/* ── IMPACT ──────────────────────────────────────── */
.impact { background: var(--cream); }
.impact-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  margin-top: 56px;
}
.impact-item {
  text-align: center; padding: 40px 20px; background: white;
  border-radius: 20px; transition: transform .25s, box-shadow .25s;
}
.impact-item:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.07); }
.impact-num {
  font-family: 'Space Mono', monospace; font-size: 2.8rem;
  font-weight: 700; color: var(--blue); line-height: 1;
}
.impact-num sub { font-size: 1.2rem; vertical-align: baseline; }
.impact-label { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.5; font-weight: 500; }

/* ── CAMPAIGNS ───────────────────────────────────── */
.campaigns { background: white; }
.campaigns-scroll {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 56px;
}
.camp-card {
  border-radius: 18px; padding: 32px 28px;
  transition: transform .25s;
}
.camp-card:hover { transform: translateY(-4px); }
.camp-card-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; opacity: .7; margin-bottom: 16px; }
.camp-card-title { font-family: 'Raleway', sans-serif; font-size: 1.2rem; font-weight: 800; margin-bottom: 12px; line-height: 1.3; }
.camp-card-desc { font-size: 13.5px; line-height: 1.7; opacity: .75; font-weight: 400; }

/* ── PARTNERS ────────────────────────────────────── */
.partners { background: var(--cream); text-align: center; }
.partners-logos {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 16px; margin-top: 48px;
}
.partner-chip {
  background: white; border: 1px solid var(--border);
  border-radius: 100px; padding: 10px 22px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.partner-chip:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(0,119,182,.1); }

/* ── CTA ─────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, #003f73 40%, var(--teal) 100%);
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section .section-title { color: white; }
.cta-section .section-sub { color: rgba(255,255,255,.75); margin: 0 auto 40px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.btn-white {
  padding: 14px 34px; border-radius: 100px;
  background: white; color: var(--blue); font-weight: 700;
  font-size: 15px; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  letter-spacing: .03em;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(0,0,0,.2); }
.btn-ghost-white {
  padding: 14px 34px; border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,.45); color: white;
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: background .2s, border-color .2s;
  letter-spacing: .03em;
}
.btn-ghost-white:hover { background: rgba(255,255,255,.1); border-color: white; }
.btn-donate-cta {
  padding: 14px 34px; border-radius: 100px;
  background: var(--orange); color: white; font-weight: 700;
  font-size: 15px; text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
  box-shadow: 0 8px 32px rgba(232,101,26,.4);
  letter-spacing: .03em;
}
.btn-donate-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(232,101,26,.5); background: #c24d0d; }

/* ── NEWSLETTER ──────────────────────────────────── */
.newsletter {
  background: white;
  padding: 80px 6vw;
}
.newsletter-inner {
  max-width: 640px; margin: 0 auto; text-align: center;
}
.newsletter .section-eyebrow { color: var(--teal); margin-bottom: 12px; }
.newsletter .section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--ink); margin-bottom: 14px; }
.newsletter-sub {
  font-size: 1rem; color: var(--muted); line-height: 1.7; margin-bottom: 36px; font-weight: 400;
}
.newsletter-form {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
}
.newsletter-input {
  flex: 1; min-width: 240px;
  padding: 14px 22px; border-radius: 100px;
  border: 1.5px solid var(--border);
  font-family: 'Raleway', sans-serif; font-size: 14px; font-weight: 500;
  color: var(--ink); background: var(--cream);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.newsletter-input::placeholder { color: var(--muted); }
.newsletter-input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(43,187,181,.12); }
.newsletter-btn {
  padding: 14px 32px; border-radius: 100px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: white; font-family: 'Raleway', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: .04em;
  border: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 6px 24px rgba(43,187,181,.3);
}
.newsletter-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(43,187,181,.4); }
.newsletter-privacy {
  font-size: 12px; color: var(--muted); margin-top: 16px; font-weight: 500;
}
.newsletter-success {
  display: none; background: #e8fdf7; border: 1px solid #2bbbb5;
  border-radius: 12px; padding: 16px 24px; color: #0d6b60;
  font-weight: 600; font-size: 14px; margin-top: 16px;
}

/* ── FOOTER ──────────────────────────────────────── */
footer {
  background: var(--dark); padding: 64px 6vw 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 56px;
}
.footer-brand-desc { font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.7; margin-top: 14px; max-width: 280px; font-weight: 400; }
.footer-col-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { text-decoration: none; color: rgba(255,255,255,.6); font-size: 14px; transition: color .2s; font-weight: 500; }
.footer-links a:hover { color: white; }
.footer-contact-item { display: flex; flex-direction: column; gap: 2px; }
.footer-contact-item a { text-decoration: none; color: rgba(255,255,255,.6); font-size: 14px; transition: color .2s; font-weight: 500; }
.footer-contact-item a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 28px; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,.3); font-weight: 500; }
.footer-sdgs { display: flex; gap: 8px; }
.sdg-badge {
  font-family: 'Space Mono', monospace; font-size: 10px; font-weight: 700;
  padding: 4px 9px; border-radius: 6px; color: white;
}

/* ── ANIMATIONS ──────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-12px) rotate(1deg); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .about { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .focus-grid, .programs-grid { grid-template-columns: 1fr 1fr; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .campaigns-scroll { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-donate { display: none; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .focus-grid, .programs-grid, .impact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
