/* Kamil Ud Din Foundation — main stylesheet */
:root {
  --green: #00a980;
  --green-dark: #008765;
  --green-deep: #0b4f3f;
  --blue: #003aab;
  --blue-dark: #022a78;
  --gold: #f5b700;
  --ink: #1b2430;
  --muted: #5d6b7a;
  --line: #e4e9ee;
  --soft: #f3f8f6;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 40, 60, .08);
  --container: 1200px;
  --head: "Jost", sans-serif;
  --body: "Poppins", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.7; font-size: 15.5px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 84px 0; }
.section.soft { background: var(--soft); }
.section.blue { background: var(--blue); color: #dfe8ff; }
.section.blue h2, .section.blue h3 { color: #fff; }
.eyebrow { display: inline-block; font-family: var(--head); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--green); margin-bottom: 10px; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section.blue .section-head p { color: #c7d6ff; }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border-radius: 999px; font-family: var(--head); font-weight: 600; font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: .2s ease; text-decoration: none; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #1d1d1d; }
.btn-gold:hover { background: #ffc61a; color: #1d1d1d; transform: translateY(-1px); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { border-color: currentColor; color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-outline.light { color: #fff; }
.btn-outline.light:hover { background: #fff; color: var(--blue); border-color: #fff; }
.link-arrow { font-family: var(--head); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }

/* Top bar */
.topbar { background: var(--blue-dark); color: #cfdcff; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar a { color: #cfdcff; }
.topbar a:hover { color: #fff; }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info i { color: var(--gold); margin-right: 6px; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar .fundraise { font-weight: 500; }
.topbar .fundraise i { color: var(--gold); margin-right: 4px; }
.socials { display: flex; gap: 12px; }
.socials a { font-size: .95rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 2px 18px rgba(0, 30, 80, .07); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand img { height: 64px; width: auto; }
.brand-text { white-space: nowrap; font-family: var(--head); line-height: 1.05; }
.brand-text strong { display: block; font-size: 1.25rem; color: var(--blue); letter-spacing: .02em; }
.brand-text span { font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; color: var(--green); font-weight: 600; }
.main-nav > ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.main-nav li { position: relative; }
.main-nav > ul > li > a { white-space: nowrap; display: flex; align-items: center; gap: 6px; padding: 30px 12px; font-family: var(--head); font-weight: 500; color: var(--ink); font-size: 1rem; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.active { color: var(--green); }
.main-nav .caret { font-size: .65rem; opacity: .7; }
.submenu { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border-top: 3px solid var(--green); box-shadow: var(--shadow); list-style: none; margin: 0; padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; border-radius: 0 0 10px 10px; }
.main-nav li:hover > .submenu, .main-nav li:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 9px 20px; color: var(--ink); font-size: .92rem; }
.submenu a:hover { background: var(--soft); color: var(--green-dark); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--blue); cursor: pointer; padding: 6px; }

/* Hero slider */
.hero { position: relative; overflow: hidden; background: var(--green-deep); }
.slides { position: relative; height: min(78vh, 640px); min-height: 460px; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; display: flex; align-items: center; }
.slide.active { opacity: 1; z-index: 1; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 30, 70, .88) 0%, rgba(2, 42, 120, .6) 45%, rgba(0, 0, 0, .05) 100%); }
.slide-content { position: relative; z-index: 2; color: #fff; max-width: 620px; }
.slide-content h1, .slide-content h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.5rem); }
.slide-content p { font-size: 1.12rem; color: #e3ecff; margin-bottom: 1.6em; }
.slide-content .eyebrow { color: var(--gold); }
.slide-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.slider-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.slider-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; }
.slider-dots button.active { background: var(--gold); border-color: var(--gold); width: 30px; border-radius: 8px; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .18); color: #fff; cursor: pointer; font-size: 1.1rem; backdrop-filter: blur(4px); }
.slider-arrow:hover { background: var(--green); }
.slider-arrow.prev { left: 18px; }
.slider-arrow.next { right: 18px; }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: 110px 0 90px; color: #fff; background: var(--blue) center/cover no-repeat; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 58, 171, .78); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: #e2ecff; max-width: 680px; font-size: 1.1rem; margin: 0; }
.crumbs { font-size: .85rem; margin-bottom: 14px; color: #bcd0ff; }
.crumbs a { color: #fff; }

/* Donate strip */
.donate-strip { background: var(--gold); }
.donate-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.donate-strip h3 { margin: 0; font-size: 1.35rem; }
.donate-strip p { margin: 0; color: #4a3b00; }

/* Grid helpers */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.split-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split-img .badge { position: absolute; left: 20px; bottom: 20px; background: var(--green); color: #fff; padding: 14px 20px; border-radius: 12px; font-family: var(--head); }
.split-img .badge strong { display: block; font-size: 1.8rem; line-height: 1; }

/* Cards */
.card { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: .25s; height: 100%; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15, 40, 60, .12); }
.card .icon { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: rgba(0, 169, 128, .12); color: var(--green); font-size: 1.5rem; margin-bottom: 18px; }
.card.blue-icon .icon { background: rgba(0, 58, 171, .1); color: var(--blue); }
.card p { color: var(--muted); margin: 0; }
.card h3 { margin-bottom: .45em; }

.vm-card { border-top: 4px solid var(--green); }
.vm-card:nth-child(2) { border-top-color: var(--blue); }
.vm-card:nth-child(3) { border-top-color: var(--gold); }

.values { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 38px; }
.value-pill { padding: 10px 22px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-family: var(--head); font-weight: 600; color: var(--blue); display: inline-flex; gap: 8px; align-items: center; }
.value-pill i { color: var(--green); }

/* Stats */
.stats { background: var(--blue); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }

.stats .grid { position: relative; }
.stat { text-align: center; }
.stat i { font-size: 2rem; color: var(--gold); margin-bottom: 12px; }
.stat .num { font-family: var(--head); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; display: block; }
.stat .label { color: #c9d8ff; font-size: .95rem; margin-top: 8px; display: block; }

/* Model grid */
.model-item { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); height: 100%; }
.model-item i { flex: 0 0 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 1.1rem; }
.model-item h4 { margin: 0 0 4px; font-size: 1.02rem; }
.model-item p { margin: 0; font-size: .9rem; color: var(--muted); }

/* Program block */
.program { padding: 70px 0; border-bottom: 1px solid var(--line); }
.program:last-child { border-bottom: 0; }
.program-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.program-head h2 { margin: 0; }
.program-head p { color: var(--muted); margin: 6px 0 0; max-width: 640px; }
.photo-card { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.photo-card:hover img { transform: scale(1.05); }
.photo-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); color: #fff; font-family: var(--head); font-weight: 600; }

/* CTA tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 25%, rgba(2, 30, 80, .9) 100%); }
.tile:hover img { transform: scale(1.06); }
.tile-body { position: relative; z-index: 2; padding: 26px; }
.tile-body h3 { color: #fff; font-size: 1.45rem; margin-bottom: .3em; }
.tile-body p { color: #dbe6ff; margin-bottom: .8em; font-size: .95rem; }
.tile-body .link-arrow { color: var(--gold); }

/* News */
.news-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.news-tabs button { border: 1px solid var(--line); background: #fff; padding: 8px 18px; border-radius: 999px; font-family: var(--head); cursor: pointer; color: var(--ink); font-size: .95rem; }
.news-tabs button.active, .news-tabs button:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; height: 100%; }
.news-card img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.news-card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.news-card .tag { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--green); font-weight: 600; }
.news-card h3 { font-size: 1.15rem; margin: 6px 0 8px; }
.news-card p { color: var(--muted); font-size: .92rem; flex: 1; }
.news-card[hidden] { display: none; }

/* Quote */
.quote { max-width: 860px; margin: 0 auto; text-align: center; }
.quote blockquote { font-family: var(--head); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.5; margin: 0 0 18px; color: #fff; }
.quote i.fa-quote-left { font-size: 2.4rem; color: var(--gold); margin-bottom: 16px; }
.quote cite { color: #b9cdff; font-style: normal; }

/* Newsletter */
.newsletter { background: var(--green); color: #fff; padding: 56px 0; }
.newsletter .container { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; }
.newsletter h2 { color: #fff; margin-bottom: .2em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.newsletter p { margin: 0; color: #e5fff7; }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input { flex: 1 1 180px; padding: 14px 18px; border-radius: 999px; border: 0; font: inherit; }
.newsletter .btn { background: var(--blue); color: #fff; }
.newsletter .btn:hover { background: var(--blue-dark); }
.form-msg { flex-basis: 100%; font-size: .9rem; margin-top: 4px; }

/* Footer */
.site-footer { background: #071a3a; color: #a9b8d6; padding: 70px 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #a9b8d6; }
.site-footer a:hover { color: var(--gold); }
.footer-brand img { height: 96px; width: auto; margin-bottom: 14px; background: #fff; border-radius: 50%; padding: 3px; }
.footer-reg { font-size: .8rem; color: #7f91b5; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact i { color: var(--green); margin-top: 5px; width: 16px; }
.site-footer .socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.site-footer .socials a:hover { background: var(--green); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 50px; padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.wa-float:hover { color: #fff; transform: scale(1.06); }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 6px; }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1px solid #cfd8e2; border-radius: 10px; font: inherit; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(0, 169, 128, .35); border-color: var(--green); }
textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; }

/* Donate wizard */
.donate-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: start; }
.wizard { background: #fff; border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.wizard-steps { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--soft); border-bottom: 1px solid var(--line); }
.wizard-steps div { padding: 16px; text-align: center; font-family: var(--head); font-weight: 500; color: var(--muted); font-size: .92rem; }
.wizard-steps span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #dce4ec; color: var(--ink); margin-right: 8px; font-weight: 700; }
.wizard-steps .on { color: var(--blue); }
.wizard-steps .on span { background: var(--green); color: #fff; }
.wizard-panel { padding: 30px; display: none; }
.wizard-panel.active { display: block; }
.wizard h3 { font-size: 1.1rem; margin: 22px 0 12px; }
.wizard h3:first-child { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 2px solid var(--line); background: #fff; padding: 10px 18px; border-radius: 10px; font-family: var(--head); font-weight: 600; cursor: pointer; font-size: 1rem; color: var(--ink); }
.chip:hover { border-color: var(--green); }
.chip.active { border-color: var(--green); background: var(--green); color: #fff; }
.purpose-note { margin-top: 12px; padding: 12px 16px; background: var(--soft); border-left: 4px solid var(--green); border-radius: 8px; color: var(--muted); font-size: .9rem; }
.wizard-nav { display: flex; justify-content: space-between; margin-top: 28px; gap: 10px; }
.summary { background: var(--soft); border-radius: 12px; padding: 18px 20px; margin-bottom: 22px; }
.summary div { display: flex; justify-content: space-between; padding: 4px 0; }
.pay-option { border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-bottom: 14px; }
.pay-option h4 { margin: 0 0 10px; display: flex; gap: 10px; align-items: center; }
.pay-option h4 i { color: var(--green); }
.acct { display: grid; grid-template-columns: 140px 1fr; gap: 4px 12px; font-size: .93rem; }
.acct dt { color: var(--muted); }
.acct dd { margin: 0; font-weight: 600; word-break: break-all; }
.copy-btn { border: 0; background: none; color: var(--green); cursor: pointer; font-size: .85rem; padding: 0 0 0 6px; }
.side-box { background: var(--blue); color: #dbe6ff; border-radius: 18px; padding: 30px; position: sticky; top: 110px; }
.side-box h3 { color: #fff; }
.side-box ul { padding: 0; list-style: none; margin: 0 0 20px; }
.side-box li { display: flex; gap: 10px; margin-bottom: 12px; }
.side-box li i { color: var(--gold); margin-top: 6px; }

/* Zakat calculator */
.calc { background: #fff; border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 30px; }
.calc-row { display: grid; grid-template-columns: 1fr 200px; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.calc-row label { margin: 0; }
.calc-total { margin-top: 22px; padding: 22px; border-radius: 14px; background: var(--green); color: #fff; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.calc-total strong { font-family: var(--head); font-size: 2rem; }

/* Team */
.team-card { text-align: center; }
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: var(--radius); margin-bottom: 16px; }
.team-card h3 { margin-bottom: 2px; }
.team-card span { color: var(--green); font-size: .9rem; font-weight: 500; }

/* Timeline */
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 3px; background: var(--green); border-radius: 3px; }
.tl-item { position: relative; margin-bottom: 34px; }
.tl-item::before { content: ""; position: absolute; left: -32px; top: 6px; width: 17px; height: 17px; border-radius: 50%; background: #fff; border: 4px solid var(--green); }
.tl-item h3 { margin-bottom: 4px; }
.tl-item p { color: var(--muted); margin: 0; }

/* Accordion */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-family: var(--head); font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.check-list li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.check-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 1px; color: var(--green); }

.job { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.job h3 { margin: 0 0 2px; font-size: 1.08rem; }
.job p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .slide { transition: none; }
}

/* Responsive */
@media (max-width: 1240px) {
  .main-nav > ul > li > a { padding: 30px 8px; font-size: .96rem; }
}
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: #fff; transform: translateX(100%); transition: transform .3s; overflow-y: auto; padding: 80px 0 30px; box-shadow: -10px 0 40px rgba(0, 0, 0, .15); z-index: 200; }
  .main-nav.open { transform: none; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li > a { padding: 14px 24px; border-bottom: 1px solid var(--line); justify-content: space-between; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px; display: none; background: var(--soft); border-radius: 0; }
  .main-nav li.open > .submenu { display: block; }
  .submenu a { padding: 10px 36px; }
  .nav-close { position: absolute; top: 20px; right: 20px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .4); z-index: 99; opacity: 0; visibility: hidden; transition: .3s; }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
}
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .tiles { grid-template-columns: 1fr 1fr; }
  .split, .donate-wrap, .newsletter .container { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse > :first-child { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .side-box { position: static; }
}
@media (min-width: 1101px) { .nav-close, .nav-backdrop { display: none; } }
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .container { padding: 0 16px; }
  .topbar-info span.hide-sm, .topbar .fundraise { display: none; }
  .brand img { height: 50px; }
  .brand-text strong { font-size: 1.05rem; }
  .brand-text span { font-size: .66rem; letter-spacing: .2em; }
  .header-cta .btn-gold { padding: 9px 16px; font-size: .9rem; }
  .site-header .container { min-height: 72px; gap: 8px; }
  .grid-2, .grid-3, .grid-4, .tiles, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .stats .grid { grid-template-columns: 1fr 1fr; }
  .slider-arrow { display: none; }
  .slides { min-height: 520px; }
  .slide::after { background: linear-gradient(180deg, rgba(2, 30, 70, .55), rgba(2, 30, 70, .9)); }
  .wizard-steps div { font-size: 0; padding: 12px; }
  .wizard-steps span { font-size: .9rem; margin: 0; }
  .wizard-panel { padding: 22px 18px; }
  .calc-row { grid-template-columns: 1fr; gap: 6px; }
  .acct { grid-template-columns: 1fr; }
  .acct dd { margin-bottom: 8px; }
}
@media (max-width: 400px) {
  .brand-text { display: none; }
}

/* Pillars */
.pillar { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); height: 100%; transition: .25s; color: var(--ink); }
.pillar:hover { transform: translateY(-4px); color: var(--ink); }
.pillar-top { padding: 26px 26px 0; display: flex; gap: 14px; align-items: center; }
.pillar-top .icon { width: 54px; height: 54px; flex: 0 0 54px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; color: #fff; background: var(--green); }
.pillar-top .num { font-family: var(--head); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); font-weight: 600; }
.pillar-top h3 { margin: 0; font-size: 1.15rem; }
.pillar p { padding: 14px 26px 0; color: var(--muted); margin: 0; flex: 1; font-size: .94rem; }
.pillar .link-arrow { padding: 18px 26px 24px; }
.pillar.blue .pillar-top .icon { background: var(--blue); }
.pillar.gold .pillar-top .icon { background: var(--gold); color: #1d1d1d; }

/* Project / campaign band */
.campaign { background: var(--green); color: #f0fffa; border-radius: 20px; padding: 44px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center; }
.campaign h2 { color: #fff; }
.campaign .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.campaign .fact { background: rgba(255, 255, 255, .16); border-radius: 14px; padding: 16px 18px; }
.campaign .fact strong { display: block; font-family: var(--head); font-size: 1.6rem; color: #fff; line-height: 1.1; }
.campaign .fact span { font-size: .85rem; }

/* Membership tiers */
.tier { text-align: center; }
.tier .price { font-family: var(--head); font-weight: 700; font-size: 1.7rem; color: var(--blue); margin: 6px 0 2px; }
.tier .per { color: var(--muted); font-size: .85rem; display: block; margin-bottom: 12px; }

/* Governance */
.reg-card { display: flex; gap: 16px; align-items: flex-start; }
.reg-card .icon { flex: 0 0 52px; margin-bottom: 0; }
.reg-card dl { margin: 8px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; font-size: .9rem; }
.reg-card dt { color: var(--muted); }
.reg-card dd { margin: 0; font-weight: 600; }
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.board-member { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; display: flex; gap: 14px; align-items: center; }
.board-member i { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 58, 171, .08); color: var(--blue); }
.board-member strong { display: block; font-family: var(--head); font-size: 1.02rem; }
.board-member span { color: var(--green); font-size: .85rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tag-list li { background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .9rem; }

@media (max-width: 960px) {
  .campaign { grid-template-columns: 1fr; padding: 30px 22px; }
}
