:root {
  --navy: #16225C;
  --navy-light: #24338C;
  --gold: #E0A73C;
  --gold-dark: #C68A28;
  --parchment: #F7F4EC;
  --ink: #14162B;
  --ink-soft: #4A4E68;
  --whatsapp: #25D366;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Source Serif 4', Georgia, serif;
  color: var(--ink);
  background: var(--parchment);
  line-height: 1.6;
}
h1, h2, h3, h4, .brand-name {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--navy);
  line-height: 1.25;
}
a { color: var(--navy-light); text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.site-header { background: #fff; border-bottom: 1px solid rgba(20,22,43,0.08); position: sticky; top: 0; z-index: 50; }
.header-inner { max-width: 1120px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.brand-name { font-weight: 700; font-size: 1.05rem; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.92rem; color: var(--ink-soft); padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.active { color: var(--navy); border-bottom-color: var(--gold); }
.nav-donate { background: var(--gold); color: #fff !important; padding: 8px 18px !important; border-radius: 999px; border-bottom: none !important; }
.nav-donate:hover { background: var(--gold-dark); color: #fff !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 16px 24px; gap: 14px; border-bottom: 1px solid rgba(20,22,43,0.08); display: none; }
  .site-nav.open { display: flex; }
  .nav-donate { display: inline-block; }
}

.hero { position: relative; overflow: hidden; color: #fff; padding: 100px 24px 90px; text-align: center; background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(22,34,92,0.88), rgba(36,51,140,0.82)); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; }
.hero-eyebrow { font-family: 'Space Grotesk', sans-serif; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.82rem; color: var(--gold); font-weight: 700; margin-bottom: 14px; }
.hero-content h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 18px; }
.hero-content p { font-size: 1.1rem; color: rgba(255,255,255,0.9); max-width: 620px; margin: 0 auto 30px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn { font-family: 'Space Grotesk', sans-serif; font-weight: 600; padding: 13px 28px; border-radius: 999px; display: inline-block; border: 2px solid transparent; transition: transform .15s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-danger { background: #C0392B; color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

section { padding: 72px 24px; }
.section-heading { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-heading .eyebrow { font-family: 'Space Grotesk', sans-serif; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; color: var(--gold-dark); font-weight: 700; }
.section-heading h2 { font-size: 2rem; margin: 8px 0 12px; }
.section-heading p { color: var(--ink-soft); }

.programs-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.program-card { background: #fff; border-radius: 16px; padding: 30px 24px; border: 1px solid rgba(20,22,43,0.06); }
.program-icon { font-size: 2rem; margin-bottom: 14px; }
.program-card h3 { font-size: 1.15rem; margin: 0 0 8px; }
.program-card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

.pull-quote { background: var(--navy); color: #fff; text-align: center; padding: 60px 24px; }
.pull-quote p { max-width: 700px; margin: 0 auto; font-size: 1.4rem; font-style: italic; font-family: 'Source Serif 4', serif; }

.team-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(240px,1fr)); gap:28px; max-width: 1120px; margin: 0 auto; }
.team-card { background:#fff; border:1px solid rgba(20,22,43,0.08); border-radius:18px; overflow:hidden; text-align:center; transition:transform .2s ease, box-shadow .2s ease; }
.team-card:hover { transform:translateY(-6px); box-shadow:0 12px 28px rgba(20,22,43,0.1); }
.team-photo-wrap { position: relative; }
.team-photo { width:100%; height:260px; object-fit:cover; display:block; background:linear-gradient(135deg, var(--navy-light), var(--navy)); }
.team-photo-placeholder { width: 100%; height: 260px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy-light), var(--navy)); color: rgba(255,255,255,0.5); font-family: 'Space Grotesk', sans-serif; font-size: 3rem; font-weight: 700; }
.team-featured-badge { position: absolute; top: 12px; right: 12px; background: var(--gold); color: #fff; font-family: 'Space Grotesk', sans-serif; font-size: 0.75rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.team-body { padding:24px; }
.team-name { font-size:1.15rem; font-weight:700; margin-bottom:4px; }
.team-role { font-family:'Space Grotesk', sans-serif; font-size:0.85rem; color:var(--gold-dark); font-weight:700; margin-bottom:12px; display: block; }
.team-bio { color:var(--ink-soft); font-size:0.92rem; margin-bottom:14px; }
.team-contact { font-size:0.85rem; display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.team-contact a { color:var(--navy-light); font-weight:600; }
.team-contact a:hover { color:var(--gold-dark); }
.team-socials { display: flex; gap: 10px; justify-content: center; margin-top: 12px; }
.team-socials a { width: 34px; height: 34px; border-radius: 50%; background: var(--parchment); display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 0.85rem; color: var(--navy); }
.team-socials a:hover { background: var(--gold); color: #fff; }
.team-empty { text-align: center; color: var(--ink-soft); padding: 40px; }

.gallery-carousel { position:relative; max-width:900px; margin:0 auto; border-radius:20px; overflow:hidden; background:var(--navy); }
.gallery-track { display: flex; transition: transform .5s ease; }
.gallery-track img { width: 100%; flex-shrink: 0; height: 420px; object-fit: cover; }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.65), transparent); color: #fff; padding: 40px 24px 16px; font-size: 0.95rem; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.85); border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; color: var(--navy); }
.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }
.gallery-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.gallery-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(22,34,92,0.25); cursor: pointer; padding: 0; }
.gallery-dots button.active { background: var(--gold); }

.blog-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.post-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid rgba(20,22,43,0.06); transition: transform .2s ease; }
.post-card:hover { transform: translateY(-4px); }
.post-banner { height: 170px; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); }
.post-banner-img { height: 170px; object-fit: cover; width: 100%; }
.post-card-body { padding: 22px; }
.post-tag { font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-dark); }
.post-card-body h3 { font-size: 1.15rem; margin: 8px 0; }
.post-excerpt { color: var(--ink-soft); font-size: 0.92rem; }
.post-date { font-size: 0.82rem; color: #999; margin-top: 10px; }

.post-hero { max-width: 780px; margin: 0 auto 30px; }
.post-body-content { max-width: 780px; margin: 0 auto; font-size: 1.05rem; }
.post-body-content img { border-radius: 12px; margin: 20px 0; }

.form-card { max-width: 560px; margin: 0 auto; background: #fff; padding: 36px; border-radius: 16px; border: 1px solid rgba(20,22,43,0.06); }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--navy); }
input, textarea, select {
  width: 100%; padding: 12px 14px; border: 1px solid rgba(20,22,43,0.15); border-radius: 8px;
  font-family: 'Source Serif 4', serif; font-size: 0.98rem; background: #fff;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); }
.hint { font-size: 0.8rem; color: #999; margin: 6px 0 0; }
.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 0.92rem; }
.alert-success { background: #E6F6EA; color: #1E7A34; }
.alert-error { background: #FCE8E6; color: #B3261E; }

.donate-options { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.donate-card { background: #fff; border-radius: 16px; padding: 28px; border: 1px solid rgba(20,22,43,0.06); }
.donate-card h3 { margin-top: 0; }
.momo-number { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--navy); background: var(--parchment); padding: 10px 14px; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.copy-btn { background: var(--gold); color: #fff; border: none; padding: 8px 14px; border-radius: 6px; font-size: 0.8rem; cursor: pointer; font-family: 'Space Grotesk', sans-serif; }

.site-footer { background: var(--navy); color: rgba(255,255,255,0.85); padding: 56px 24px 0; }
.footer-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { width: 44px; height: 44px; border-radius: 8px; margin-bottom: 14px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin: 0 0 14px; }
.footer-col p { margin: 0 0 8px; font-size: 0.9rem; }
.footer-col a { color: rgba(255,255,255,0.85); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); text-align: center; padding: 18px 24px; font-size: 0.82rem; color: rgba(255,255,255,0.6); }

.whatsapp-float { position: fixed; bottom: 24px; right: 24px; width: 58px; height: 58px; background: var(--whatsapp); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,0.25); z-index: 60; }

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
