/* ── Variables ── */
:root {
  --sand: #EEF2F7;
  --blue: #3A6EA8;
  --deep: #0E1C2F;
  --navy: #1B3A5C;
  --steel: #8EAFD4;
  --cream: #F4F7FB;
  --muted: #5A7A99;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--deep); overflow-x: hidden; }

/* ── NAV ── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; display: flex; align-items: center; justify-content: space-between; padding: 1rem 4rem; background: rgba(244,247,251,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(58,110,168,0.12); }
.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-logo img { height: 48px; width: auto; mix-blend-mode: multiply; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links li.current-menu-item > a, .nav-links li.current_page_item > a { color: var(--blue); }
.nav-links .nav-donate, .nav-links li.menu-item-donate > a { background: var(--blue); color: white !important; padding: 0.55rem 1.3rem; border-radius: 2px; }

/* ── BUTTONS ── */
.btn-primary { background: var(--blue); color: white; padding: 0.9rem 2rem; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; border: none; cursor: pointer; text-decoration: none; display: inline-block; transition: background 0.2s, transform 0.2s; }
.btn-primary:hover { background: #2d5a8e; transform: translateY(-2px); }
.btn-outline { color: #fff; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border: 1px solid rgba(255,255,255,0.4); padding: 0.9rem 2rem; transition: all 0.2s; display: inline-block; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ── EYEBROW / SHARED ── */
.eyebrow { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue); font-weight: 500; margin-bottom: 1rem; display: block; }

/* ── HOME HERO (video) ── */
.home-hero { position: relative; min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; margin-top: 72px; }
.home-hero-left { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 8rem 4rem 5rem; }
.video-bg { position: absolute; inset: 0; overflow: hidden; }
.video-bg video { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.72); }
.video-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,28,47,0.75) 30%, rgba(14,28,47,0.15) 100%); }
.hero-tag { position: relative; z-index: 2; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--steel); font-weight: 500; margin-bottom: 1.5rem; opacity: 0; animation: fadeUp 0.8s 0.3s forwards; }
.hero-title { position: relative; z-index: 2; font-family: 'Playfair Display', serif; font-size: clamp(2.8rem, 5vw, 5rem); font-weight: 900; line-height: 1.05; color: #fff; opacity: 0; animation: fadeUp 0.8s 0.5s forwards; }
.hero-title em { font-style: italic; color: var(--steel); }
.hero-subtitle { position: relative; z-index: 2; margin-top: 1.5rem; font-size: 1rem; color: rgba(238,242,247,0.7); line-height: 1.75; max-width: 420px; opacity: 0; animation: fadeUp 0.8s 0.7s forwards; }
.hero-cta { position: relative; z-index: 2; margin-top: 2.5rem; display: flex; gap: 1rem; align-items: center; opacity: 0; animation: fadeUp 0.8s 0.9s forwards; }
.home-hero-right { background: var(--sand); display: flex; flex-direction: column; justify-content: center; padding: 8rem 4rem 5rem; }
.hero-right-intro { opacity: 0; animation: fadeUp 0.8s 0.4s forwards; }
.hero-right-intro h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; line-height: 1.3; color: var(--deep); }
.hero-right-intro p { margin-top: 1rem; font-size: 0.95rem; line-height: 1.75; color: var(--muted); }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 3rem; }
.stat-box { padding: 2.5rem 2rem; opacity: 0; animation: fadeIn 0.8s forwards; }
.stat-box:nth-child(1) { animation-delay: 0.6s; background: white; }
.stat-box:nth-child(2) { animation-delay: 0.75s; background: var(--navy); color: white; }
.stat-box:nth-child(3) { animation-delay: 0.9s; background: white; }
.stat-box:nth-child(4) { animation-delay: 1.05s; background: var(--navy); color: white; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 900; line-height: 1; color: var(--blue); }
.stat-box:nth-child(even) .stat-num { color: var(--steel); }
.stat-label { margin-top: 0.5rem; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; }

/* ── MISSION BAND ── */
.mission-band { background: var(--blue); padding: 1.75rem 4rem; display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.mission-band-item { font-family: 'Playfair Display', serif; font-size: 1rem; font-style: italic; color: rgba(238,242,247,0.9); white-space: nowrap; }
.mission-band-dot { width: 4px; height: 4px; background: rgba(238,242,247,0.35); border-radius: 50%; flex-shrink: 0; }

/* ── SECTIONS ── */
.section { padding: 6rem 4rem; }
.section-header { display: flex; align-items: baseline; gap: 2rem; margin-bottom: 4rem; }
.section-num { font-family: 'Playfair Display', serif; font-size: 5rem; font-weight: 900; color: rgba(58,110,168,0.1); line-height: 1; flex-shrink: 0; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.15; }
.section-intro { font-size: 1rem; line-height: 1.8; color: var(--muted); max-width: 640px; margin-bottom: 3rem; }

/* ── PROGRAMS GRID ── */
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(14,28,47,0.08); border: 1px solid rgba(14,28,47,0.08); }
.program-card { background: var(--cream); position: relative; overflow: hidden; display: flex; flex-direction: column; transition: background 0.3s; }
.program-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--blue); transform: scaleX(0); transition: transform 0.3s; transform-origin: left; }
.program-card:hover { background: white; }
.program-card:hover::after { transform: scaleX(1); }
.program-card-img { height: 220px; overflow: hidden; flex-shrink: 0; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.program-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.program-card:hover .program-card-img img { transform: scale(1.04); }
.program-card-body { padding: 2rem 2rem 2.5rem; }
.program-icon { font-size: 2rem; margin-bottom: 1rem; }
.program-card h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 0.75rem; }
.program-card p { font-size: 0.88rem; line-height: 1.75; color: var(--muted); }
.program-card-link { display: inline-block; margin-top: 1.25rem; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); text-decoration: none; font-weight: 500; border-bottom: 1px solid rgba(58,110,168,0.3); padding-bottom: 2px; transition: border-color 0.2s; }
.program-card-link:hover { border-color: var(--blue); }

/* ── QUOTE ── */
.quote-section { background: var(--deep); padding: 6rem 4rem; display: grid; grid-template-columns: 1fr 2fr; gap: 6rem; align-items: center; }
.quote-label { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--steel); font-weight: 500; }
.quote-line { width: 40px; height: 2px; background: var(--blue); margin: 1.5rem 0; }
.quote-author-name { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--sand); font-style: italic; }
.quote-author-title { font-size: 0.78rem; color: var(--muted); margin-top: 0.3rem; }
blockquote { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 3vw, 2.2rem); font-style: italic; color: var(--sand); line-height: 1.5; }
blockquote::before { content: '\201C'; font-size: 5rem; line-height: 0; vertical-align: -1.5rem; color: var(--blue); margin-right: 0.2rem; font-style: normal; }

/* ── REACH ── */
.reach-section { background: var(--sand); padding: 6rem 4rem; }
.reach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 4rem; }
.reach-map { background: var(--deep); border-radius: 2px; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; text-align: center; }
.reach-map-label { color: rgba(238,242,247,0.4); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; margin-top: 0.5rem; }
.reach-info h3 { font-family: 'Playfair Display', serif; font-size: 1.8rem; margin-bottom: 1.5rem; line-height: 1.3; }
.reach-info p { font-size: 0.92rem; line-height: 1.75; color: var(--muted); margin-bottom: 1rem; }
.reach-detail { display: flex; align-items: flex-start; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid rgba(14,28,47,0.1); }
.reach-detail-icon { font-size: 1.1rem; flex-shrink: 0; }
.reach-detail-text { font-size: 0.88rem; color: var(--muted); line-height: 1.5; }
.reach-detail-text strong { display: block; color: var(--deep); font-weight: 500; margin-bottom: 0.2rem; }

/* ── DONATE ── */
.donate-section { background: var(--navy); padding: 6rem 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.donate-left h2 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--sand); line-height: 1.2; margin-bottom: 1.5rem; }
.donate-left p { font-size: 0.92rem; line-height: 1.75; color: rgba(238,242,247,0.65); margin-bottom: 2rem; }
.impact-list { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.impact-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.88rem; color: rgba(238,242,247,0.75); }
.impact-list li::before { content: ''; width: 5px; height: 5px; background: var(--steel); border-radius: 50%; flex-shrink: 0; }
.donate-form { background: white; padding: 3rem; }
.donate-form h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin-bottom: 0.4rem; }
.donate-form p.sub { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.5rem; }
.give-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.give-tab { padding: 0.5rem 1.1rem; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; border: 2px solid rgba(14,28,47,0.12); color: var(--muted); transition: all 0.2s; text-decoration: none; display: inline-block; }
.give-tab:hover, .give-tab.active { background: var(--blue); border-color: var(--blue); color: white; }
.givewp-embed { min-height: 200px; background: var(--cream); display: flex; align-items: center; justify-content: center; border: 1px dashed rgba(14,28,47,0.12); }
.givewp-embed p { font-size: 0.85rem; color: var(--muted); text-align: center; padding: 2rem; line-height: 1.7; }
.givewp-note { font-size: 0.75rem; color: var(--muted); margin-top: 1rem; text-align: center; }

/* ── PAGE HERO (inner pages) ── */
.page-hero { position: relative; height: 420px; display: flex; align-items: flex-end; overflow: hidden; margin-top: 72px; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--deep) 30%, rgba(14,28,47,0.5) 100%); }
.page-hero-content { position: relative; z-index: 2; padding: 3rem 4rem; width: 100%; }
.page-hero-content .eyebrow { color: var(--steel); }
.page-hero-content h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; color: #fff; line-height: 1.05; }

/* ── ABOUT ── */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.about-intro-img { overflow: hidden; }
.about-intro-img img { width: 100%; height: 100%; object-fit: cover; }
.about-intro-text { background: white; padding: 5rem 4rem; display: flex; flex-direction: column; justify-content: center; }
.about-intro-text h2 { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; line-height: 1.25; margin-bottom: 1.5rem; }
.about-intro-text p { font-size: 0.95rem; line-height: 1.85; color: var(--muted); margin-bottom: 1rem; }
.about-values { background: var(--deep); padding: 6rem 4rem; }
.about-values h2 { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: white; margin-bottom: 3rem; text-align: center; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.06); }
.value-card { padding: 2.5rem; background: rgba(255,255,255,0.03); }
.value-num { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 900; color: rgba(58,110,168,0.25); line-height: 1; margin-bottom: 1rem; }
.value-card h4 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--sand); margin-bottom: 0.75rem; }
.value-card p { font-size: 0.87rem; line-height: 1.75; color: rgba(238,242,247,0.55); }

/* ── WHAT WE DO ── */
.program-full { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; }
.program-full.reverse { direction: rtl; }
.program-full.reverse > * { direction: ltr; }
.program-full-img { overflow: hidden; min-height: 400px; display: flex; align-items: center; justify-content: center; }
.program-full-img img { width: 100%; height: 100%; object-fit: cover; }
.program-full-text { padding: 5rem 4rem; display: flex; flex-direction: column; justify-content: center; background: white; }
.program-full.reverse .program-full-text { background: var(--cream); }
.program-full-text .tag { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); font-weight: 500; margin-bottom: 1rem; }
.program-full-text h2 { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; line-height: 1.25; margin-bottom: 1.25rem; }
.program-full-text p { font-size: 0.92rem; line-height: 1.85; color: var(--muted); margin-bottom: 0.9rem; }
.program-full-text ul { list-style: none; margin-top: 1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.program-full-text ul li { font-size: 0.88rem; color: var(--muted); padding-left: 1.2rem; position: relative; }
.program-full-text ul li::before { content: '→'; position: absolute; left: 0; color: var(--blue); }

/* ── TEAM ── */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: rgba(14,28,47,0.08); border: 1px solid rgba(14,28,47,0.08); }
.team-card { background: white; overflow: hidden; }
.team-card-img { height: 440px; overflow: hidden; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.team-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: grayscale(15%); transition: transform 0.5s, filter 0.4s; }
.team-card:hover .team-card-img img { transform: scale(1.03); filter: grayscale(0%); }
.team-card-info { padding: 2rem 2.5rem; }
.team-card-info h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 0.25rem; }
.team-card-info .role { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); font-weight: 500; margin-bottom: 0.75rem; display: block; }
.team-card-info p { font-size: 0.88rem; line-height: 1.75; color: var(--muted); }

/* ── NEWS ── */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.news-card { background: white; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(14,28,47,0.1); }
.news-card-img { height: 200px; overflow: hidden; background: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 1.75rem; }
.news-card-tag { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue); font-weight: 500; margin-bottom: 0.75rem; }
.news-card-body h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.75rem; }
.news-card-body p { font-size: 0.85rem; line-height: 1.7; color: var(--muted); }
.news-card-date { font-size: 0.73rem; color: var(--muted); margin-top: 1rem; opacity: 0.65; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 600px; }
.contact-info { background: var(--deep); padding: 5rem 4rem; display: flex; flex-direction: column; justify-content: center; }
.contact-info h2 { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: white; margin-bottom: 1rem; }
.contact-info > p { font-size: 0.92rem; line-height: 1.8; color: rgba(238,242,247,0.55); margin-bottom: 2.5rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid rgba(238,242,247,0.08); }
.contact-detail-icon { font-size: 1.1rem; flex-shrink: 0; }
.contact-detail-text { font-size: 0.88rem; color: rgba(238,242,247,0.5); line-height: 1.6; }
.contact-detail-text strong { display: block; color: var(--sand); margin-bottom: 0.2rem; font-weight: 500; }
.contact-form-wrap { background: white; padding: 5rem 4rem; }
.contact-form-wrap h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; margin-bottom: 0.5rem; }
.contact-form-wrap > .sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 2rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; border: 1px solid rgba(14,28,47,0.14); padding: 0.85rem 1rem; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; background: var(--cream); color: var(--deep); outline: none; transition: border-color 0.2s; resize: vertical; }
.form-group textarea { min-height: 120px; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-submit { background: var(--blue); color: white; border: none; padding: 1rem 2rem; font-family: 'DM Sans', sans-serif; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; width: 100%; margin-top: 0.5rem; transition: background 0.2s; }
.contact-submit:hover { background: #2d5a8e; }

/* ── CTA BAND ── */
.cta-band { background: var(--navy); padding: 5rem 4rem; text-align: center; }
.cta-band h2 { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: white; margin-bottom: 1.5rem; line-height: 1.2; }
.cta-band p { font-size: 0.95rem; color: rgba(238,242,247,0.6); max-width: 560px; margin: 0 auto 2.5rem; line-height: 1.8; }

/* ── FOOTER ── */
footer { background: var(--deep); padding: 5rem 4rem 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(238,242,247,0.08); }
.footer-logo img { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: 0.75; margin-bottom: 1.2rem; display: block; }
.footer-brand p { font-size: 0.84rem; line-height: 1.75; color: rgba(238,242,247,0.42); max-width: 280px; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.social-link { width: 34px; height: 34px; border: 1px solid rgba(238,242,247,0.16); display: flex; align-items: center; justify-content: center; color: rgba(238,242,247,0.42); text-decoration: none; font-size: 0.72rem; transition: all 0.2s; }
.social-link:hover { border-color: var(--blue); color: var(--blue); }
.footer-col h4 { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--steel); margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { font-size: 0.84rem; color: rgba(238,242,247,0.42); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--sand); }
.footer-bottom { padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.78rem; color: rgba(238,242,247,0.22); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .home-hero, .about-intro, .contact-grid { grid-template-columns: 1fr; }
  .home-hero-left, .home-hero-right { padding: 4rem 2rem; }
  .home-hero-left { min-height: 70vh; }
  .section, .quote-section, .donate-section, .reach-section { padding: 4rem 2rem; }
  .programs-grid, .news-grid, .team-grid { grid-template-columns: 1fr; }
  .program-full, .program-full.reverse { grid-template-columns: 1fr; direction: ltr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .mission-band { padding: 1.5rem 2rem; gap: 1rem; }
  .reach-grid, .donate-section { grid-template-columns: 1fr; }
  .quote-section { grid-template-columns: 1fr; gap: 2rem; }
  .page-hero-content, .about-intro-text, .program-full-text, .contact-info, .contact-form-wrap { padding: 2.5rem 2rem; }
}
