/* =========================================================
   5000Men Charity — static rebuild
   Edit the variables below to match brand colours exactly.
   ========================================================= */
:root {
  --primary: #f26522;        /* warm orange (CTA colour) */
  --primary-dark: #d4521a;
  --secondary: #0f2a2e;      /* deep teal-navy */
  --secondary-2: #163a40;
  --accent: #ffc94a;         /* gold highlight */
  --cream: #fff6ee;
  --light: #f7f4f0;
  --text: #4a5859;
  --heading: #0f2a2e;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 12px 40px rgba(15, 42, 46, .10);
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--text); line-height: 1.7; font-size: 16px; background: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: 110px 0; position: relative; overflow: hidden; }
.section.tight { padding: 80px 0; }
.bg-light { background: var(--light); }
.bg-cream { background: var(--cream); }
.bg-dark { background: var(--secondary); color: #c9d6d7; }
.bg-dark h2, .bg-dark h3 { color: var(--white); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.lead { max-width: 640px; font-size: 1.05rem; }

/* Eyebrow label */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 14px; height: 14px; background: var(--primary); clip-path: path("M7 13 C-4 5 3 -3 7 3 C11 -3 18 5 7 13Z"); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; border-radius: 50px; font-family: var(--font-head); font-weight: 600; font-size: 1rem; background: var(--primary); color: var(--white); border: 2px solid var(--primary); cursor: pointer; transition: all .25s; }
.btn:hover { background: var(--secondary); border-color: var(--secondary); color: var(--white); }
.btn.outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn.outline:hover { background: var(--white); color: var(--secondary); }
.btn.dark { background: var(--secondary); border-color: var(--secondary); }
.btn.dark:hover { background: var(--primary); border-color: var(--primary); }
.btn.white { background: var(--white); color: var(--secondary); border-color: var(--white); }
.btn.white:hover { background: var(--secondary); color: var(--white); border-color: var(--secondary); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }
.link-more { font-family: var(--font-head); font-weight: 600; color: var(--primary); display: inline-flex; gap: 8px; align-items: center; }
.link-more:hover { color: var(--secondary); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--secondary); color: #c9d6d7; font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; gap: 16px; flex-wrap: wrap; }
.topbar a:hover { color: var(--accent); }
.topbar .info { display: flex; gap: 26px; flex-wrap: wrap; }
.social { display: flex; gap: 10px; }
.social a { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--white); font-size: .8rem; font-weight: 700; }
.social a:hover { background: var(--primary); color: var(--white); }
.social svg { width: 15px; height: 15px; fill: currentColor; }

.header { position: sticky; top: 0; z-index: 100; background: var(--white); box-shadow: 0 2px 20px rgba(0,0,0,.05); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 88px; gap: 20px; }
.logo img { height: 56px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 34px; }
.nav > ul > li { position: relative; }
.nav > ul > li > a { font-family: var(--font-head); font-weight: 600; color: var(--heading); display: flex; align-items: center; gap: 6px; padding: 32px 0; }
.nav > ul > li > a:hover, .nav > ul > li > a.active { color: var(--primary); }
.has-sub > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.sub { position: absolute; top: 100%; left: -20px; background: var(--white); min-width: 290px; box-shadow: var(--shadow); border-radius: 12px; padding: 14px 0 !important; display: block !important; opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .25s; border-top: 3px solid var(--primary); }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 24px; font-size: .95rem; color: var(--heading); }
.sub a:hover { color: var(--primary); padding-left: 30px; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.menu-toggle { display: none; background: var(--primary); border: 0; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-toggle span { width: 20px; height: 2px; background: var(--white); border-radius: 2px; }

/* Mobile nav */
.mobile-nav { position: fixed; inset: 0 auto 0 0; width: min(340px, 86vw); background: var(--white); z-index: 300; transform: translateX(-100%); transition: transform .35s; overflow-y: auto; padding: 28px; box-shadow: var(--shadow); }
.mobile-nav.open { transform: none; }
.mobile-nav .close { position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--primary); color: var(--white); font-size: 1.4rem; cursor: pointer; }
.mobile-nav ul { list-style: none; padding: 0; margin: 30px 0 0; }
.mobile-nav li { border-bottom: 1px solid #eee; }
.mobile-nav a { display: block; padding: 12px 0; font-family: var(--font-head); font-weight: 600; color: var(--heading); }
.mobile-nav .sub-m { padding-left: 14px; display: none; }
.mobile-nav .sub-m.open { display: block; }
.mobile-nav .sub-m a { font-weight: 500; font-size: .93rem; }
.mobile-nav .sub-m li:last-child { border: 0; }
.overlay { position: fixed; inset: 0; background: rgba(15,42,46,.6); z-index: 250; opacity: 0; visibility: hidden; transition: .3s; }
.overlay.show { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 760px; display: flex; align-items: center; color: var(--white); background: var(--secondary) center/cover no-repeat; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,42,46,.92) 0%, rgba(15,42,46,.7) 45%, rgba(15,42,46,.25) 100%); }
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 720px; }
.hero .eyebrow { color: var(--accent); }
.hero .eyebrow::before { background: var(--accent); }
.hero h1 { color: var(--white); margin-bottom: 36px; }
.hero h1 span { color: var(--primary); }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-shape { position: absolute; z-index: 1; opacity: .9; pointer-events: none; }
.hero-shape.one { right: -80px; bottom: -80px; width: 380px; height: 380px; border-radius: 50%; border: 40px solid rgba(242,101,34,.35); }
.hero-shape.two { right: 14%; top: 18%; width: 90px; height: 90px; background: var(--accent); clip-path: path("M45 85 C-20 40 15 -10 45 20 C75 -10 110 40 45 85Z"); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-18px) rotate(6deg); } }

/* Page title (inner pages) */
.page-title { background: var(--secondary) center/cover; position: relative; padding: 130px 0 120px; color: var(--white); text-align: center; overflow: hidden; }
.page-title::before { content: ""; position: absolute; inset: 0; background: rgba(15,42,46,.78); }
.page-title .container { position: relative; }
.page-title h1 { color: var(--white); margin-bottom: 12px; }
.breadcrumb { display: inline-flex; gap: 10px; background: rgba(255,255,255,.1); padding: 8px 22px; border-radius: 40px; font-family: var(--font-head); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span:last-child { color: var(--primary); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.section-head { margin-bottom: 56px; }
.section-head.split { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }

.program-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s; display: flex; flex-direction: column; }
.program-card:hover { transform: translateY(-8px); }
.program-card .img { aspect-ratio: 4/3; overflow: hidden; }
.program-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.program-card:hover .img img { transform: scale(1.08); }
.program-card .body { padding: 26px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.program-card h3 { font-size: 1.18rem; }
.program-card h3 a:hover { color: var(--primary); }
.program-card p { font-size: .95rem; flex: 1; }

/* About split */
.split-row { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-img { position: relative; }
.about-img img { border-radius: var(--radius); width: 100%; aspect-ratio: 5/5.4; object-fit: cover; }
.about-img .badge { position: absolute; bottom: 30px; left: -30px; background: var(--primary); color: var(--white); padding: 24px 28px; border-radius: var(--radius); font-family: var(--font-head); box-shadow: var(--shadow); }
.about-img .badge strong { font-size: 2.4rem; display: block; line-height: 1; }
.about-img::before { content: ""; position: absolute; top: -24px; right: -24px; width: 60%; height: 60%; border: 3px dashed var(--primary); border-radius: var(--radius); z-index: -1; }
.check-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--heading); }
.check-list li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: var(--white); display: grid; place-items: center; font-size: .75rem; margin-top: 2px; }

/* CTA boxes */
.cta-box { border-radius: var(--radius); padding: 50px 44px; position: relative; overflow: hidden; color: var(--white); min-height: 280px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; background: var(--secondary) center/cover; }
.cta-box::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,42,46,.95), rgba(15,42,46,.5)); }
.cta-box.orange::before { background: linear-gradient(90deg, rgba(242,101,34,.96), rgba(242,101,34,.6)); }
.cta-box > * { position: relative; }
.cta-box h3 { color: var(--white); font-size: 2rem; }
.cta-box p { max-width: 420px; }

/* Donation cause cards */
.cause-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cause-card .img { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.cause-card .img img { width: 100%; height: 100%; object-fit: cover; }
.cause-card .tag { position: absolute; left: 20px; bottom: 20px; background: var(--primary); color: var(--white); padding: 4px 14px; border-radius: 30px; font-size: .8rem; font-family: var(--font-head); font-weight: 600; }
.cause-card .body { padding: 28px 26px 30px; }
.progress { height: 8px; background: #eee; border-radius: 8px; overflow: hidden; margin: 18px 0 12px; }
.progress span { display: block; height: 100%; background: var(--primary); border-radius: 8px; width: 0; transition: width 1.6s ease; }
.raise { display: flex; justify-content: space-between; font-size: .92rem; margin-bottom: 22px; }
.raise b { color: var(--heading); font-family: var(--font-head); }

/* Banner */
.banner { background: var(--primary) center/cover; position: relative; padding: 100px 0; color: var(--white); text-align: center; overflow: hidden; }
.banner::before { content: ""; position: absolute; inset: 0; background: rgba(242,101,34,.9); }
.banner .container { position: relative; }
.banner h2 { color: var(--white); max-width: 860px; margin: 0 auto 32px; }

/* Story */
.story-card { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); position: relative; }
.story-card .quote-mark { font-family: Georgia, serif; font-size: 6rem; line-height: .6; color: var(--primary); opacity: .25; position: absolute; right: 30px; top: 40px; }
.story-card blockquote { margin: 0 0 24px; font-size: 1.12rem; font-style: italic; color: var(--heading); }
.story-person { display: flex; align-items: center; gap: 16px; }
.story-person .avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--primary); color: var(--white); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; }
.story-person strong { display: block; color: var(--heading); font-family: var(--font-head); }

/* Stats */
.stats { background: var(--secondary); position: relative; }
.stat { text-align: center; padding: 30px 10px; border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border: 0; }
.stat .num { font-family: var(--font-head); font-size: 3.2rem; font-weight: 700; color: var(--white); line-height: 1; }
.stat .num em { color: var(--primary); font-style: normal; }
.stat p { color: #c9d6d7; margin: 10px 0 0; }

/* Projects */
.project-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/4.6; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.project-card:hover img { transform: scale(1.08); }
.project-card .info { position: absolute; left: 20px; right: 20px; bottom: 20px; background: var(--white); border-radius: 14px; padding: 20px 24px; transition: .3s; }
.project-card .info span { color: var(--primary); font-size: .85rem; font-weight: 600; font-family: var(--font-head); }
.project-card .info h3 { margin: 4px 0 0; font-size: 1.25rem; }
.project-card:hover .info { background: var(--primary); }
.project-card:hover .info span, .project-card:hover .info h3 { color: var(--white); }

/* FAQ */
.faq-item { border-radius: 14px; background: var(--white); margin-bottom: 16px; box-shadow: 0 4px 20px rgba(0,0,0,.05); overflow: hidden; }
.faq-q { width: 100%; text-align: left; border: 0; background: none; padding: 22px 60px 22px 26px; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--heading); cursor: pointer; position: relative; }
.faq-q::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--light); display: grid; place-items: center; font-size: 1.2rem; transition: .3s; }
.faq-item.open .faq-q { color: var(--primary); }
.faq-item.open .faq-q::after { content: "–"; background: var(--primary); color: var(--white); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a div { padding: 0 26px 24px; }
.faq-img img { border-radius: var(--radius); width: 100%; aspect-ratio: 1/1.05; object-fit: cover; }

/* Team */
.team-card { text-align: center; background: var(--white); border-radius: var(--radius); padding: 0 0 30px; box-shadow: var(--shadow); overflow: hidden; }
.team-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: top; margin-bottom: 24px; }
.team-card h3 { margin-bottom: 2px; }
.team-card .role { color: var(--primary); font-weight: 600; font-family: var(--font-head); font-size: .92rem; }
.team-card p { padding: 12px 24px 0; font-size: .93rem; margin: 0; }

/* Values / process */
.value-card { background: var(--white); border-radius: var(--radius); padding: 34px 28px; box-shadow: var(--shadow); transition: .3s; border-bottom: 4px solid transparent; }
.value-card:hover { transform: translateY(-6px); border-color: var(--primary); }
.value-card .icon { width: 58px; height: 58px; border-radius: 50%; background: var(--cream); color: var(--primary); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; margin-bottom: 18px; }
.value-card h3 { font-size: 1.2rem; }
.value-card p { margin: 0; font-size: .95rem; }
.process-card { text-align: center; padding: 40px 30px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); position: relative; }
.process-card .step { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); background: var(--primary); color: var(--white); padding: 6px 18px; border-radius: 30px; font-family: var(--font-head); font-weight: 600; font-size: .85rem; }
.process-card .icon { width: 80px; height: 80px; margin: 10px auto 20px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; }
.process-card .icon svg { width: 36px; height: 36px; stroke: var(--primary); fill: none; stroke-width: 1.8; }

.quote-block { background: var(--cream); border-left: 5px solid var(--primary); padding: 30px 34px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.2rem; font-family: var(--font-head); color: var(--heading); font-weight: 500; margin: 0 0 24px; }
.quote-block cite { display: block; margin-top: 14px; font-size: .95rem; color: var(--primary); font-style: normal; font-weight: 600; }
.vm-card { background: var(--white); border-radius: var(--radius); padding: 44px 40px; box-shadow: var(--shadow); border-top: 5px solid var(--primary); }
.vm-card .ref { color: var(--primary); font-weight: 600; font-family: var(--font-head); font-size: .92rem; }

/* Programs page */
.program-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 70px 0; border-bottom: 1px solid #eee; scroll-margin-top: 110px; }
.program-row:last-child { border: 0; }
.program-row:nth-child(even) .program-media { order: 2; }
.program-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.program-num { font-family: var(--font-head); font-size: 4rem; font-weight: 800; color: var(--primary); opacity: .15; line-height: 1; }

/* Contact */
.contact-info .item { display: flex; gap: 18px; align-items: center; background: var(--white); padding: 26px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-info .ico { width: 60px; height: 60px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; flex: none; }
.contact-info .ico svg { width: 26px; height: 26px; stroke: var(--white); fill: none; stroke-width: 1.8; }
.contact-info h3 { margin: 0 0 2px; font-size: 1.1rem; }
.contact-info p { margin: 0; }
.form-card { background: var(--white); padding: 50px 44px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
input, select, textarea { width: 100%; padding: 16px 20px; border: 1px solid #e3e3e3; border-radius: 12px; font: inherit; color: var(--heading); background: var(--light); transition: border .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); background: var(--white); }
textarea { min-height: 150px; resize: vertical; }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; border-radius: var(--radius); }
.form-note { font-size: .9rem; margin-top: 14px; }

/* ---------- Footer ---------- */
.footer { background: var(--secondary); color: #b9c8c9; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.03); left: -140px; bottom: -160px; }
.footer-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 50px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-contact .fc { display: flex; gap: 16px; align-items: center; }
.footer-contact .ico { width: 56px; height: 56px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; flex: none; }
.footer-contact .ico svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 1.8; }
.footer-contact small { display: block; color: #8fa3a5; }
.footer-contact a, .footer-contact b { color: var(--white); font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; }
.footer-contact a:hover { color: var(--primary); }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; padding: 70px 0 60px; position: relative; }
.footer h4 { color: var(--white); font-size: 1.25rem; margin-bottom: 24px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--primary); border-radius: 3px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer ul a::before { content: "›"; color: var(--primary); margin-right: 10px; font-weight: 700; }
.footer ul a:hover { color: var(--primary); }
.footer .logo img { height: 60px; margin-bottom: 22px; }
.newsletter { display: flex; margin-top: 18px; background: rgba(255,255,255,.08); border-radius: 50px; padding: 6px; }
.newsletter input { background: transparent; border: 0; color: var(--white); padding: 12px 18px; }
.newsletter input::placeholder { color: #8fa3a5; }
.newsletter button { padding: 12px 22px; white-space: nowrap; }
.copyright { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; font-size: .92rem; }
.copyright .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

.back-top { position: fixed; right: 26px; bottom: 26px; width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: #fff; border: 0; cursor: pointer; font-size: 1.3rem; opacity: 0; visibility: hidden; transition: .3s; z-index: 90; box-shadow: var(--shadow); }
.back-top.show { opacity: 1; visibility: visible; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .nav ul { gap: 22px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: flex; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split-row, .program-row { grid-template-columns: 1fr; gap: 50px; }
  .program-row:nth-child(even) .program-media { order: 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .stat:nth-child(2) { border: 0; }
  .footer-contact { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .hero { min-height: 620px; }
  .about-img .badge { left: 20px; }
}
@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .stats .grid-4 { grid-template-columns: 1fr 1fr; }
  .stat { border: 0; }
  .footer-main { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .topbar .info span.hide-sm { display: none; }
  .cta-box, .form-card { padding: 40px 26px; }
  .logo img { height: 46px; }
}
.stats h2 { color: var(--white); }
@media (max-width: 640px) {
  .topbar { display: none; }
  .hero-shape.two { display: none; }
  .hero-btns .btn { width: 100%; justify-content: center; }
}
/* Image fixes */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.gallery img { border-radius: 12px; aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.hero { background: radial-gradient(circle at 80% 30%, #1d4a50 0%, var(--secondary) 55%); }
.hero::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='2' cy='2' r='1.5' fill='%23ffffff' fill-opacity='.07'/%3E%3C/svg%3E"); }
.cta-box { background: var(--secondary); }
.cta-box.orange { background: var(--primary); }
.cta-box::before { background: radial-gradient(circle at 100% 100%, rgba(255,255,255,.12) 0 120px, transparent 121px), radial-gradient(circle at 100% 100%, rgba(255,255,255,.06) 0 200px, transparent 201px) !important; }
.banner { background: var(--primary); }
.banner::before { background: radial-gradient(circle at 0 0, rgba(255,255,255,.1) 0 220px, transparent 221px), radial-gradient(circle at 100% 100%, rgba(15,42,46,.15) 0 260px, transparent 261px); }
.program-card .img, .cause-card .img, .project-card, .about-img img, .faq-img img, .team-card img { background: var(--light); }
.cause-card .img img[src$=".png"] { object-fit: cover; }
/* President */
.president-photo { position: relative; }
.president-photo img, .photo-placeholder { border-radius: var(--radius); width: 100%; aspect-ratio: 4/4.6; object-fit: cover; object-position: top; }
.photo-placeholder { background: linear-gradient(135deg, var(--secondary), var(--secondary-2)); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--white); }
.photo-placeholder span { font-family: var(--font-head); font-size: 6rem; font-weight: 800; color: var(--primary); line-height: 1; }
.photo-placeholder small { opacity: .6; margin-top: 10px; }
.president-tag { position: absolute; left: 24px; right: 24px; bottom: 24px; background: var(--white); border-radius: 14px; padding: 18px 22px; box-shadow: var(--shadow); border-left: 5px solid var(--primary); }
.president-tag strong { display: block; font-family: var(--font-head); color: var(--heading); font-size: 1.2rem; }
.president-tag span { color: var(--primary); font-weight: 600; font-size: .9rem; }
/* Forms extras */
.form-card h3 { margin-bottom: 22px; }
fieldset { border: 0; padding: 0; margin: 4px 0 0; }
legend { font-family: var(--font-head); font-weight: 600; color: var(--heading); margin-bottom: 10px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opts.one-col { grid-template-columns: 1fr; max-height: 280px; overflow-y: auto; padding-right: 6px; }
.opt { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; cursor: pointer; }
.opt input { width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--primary); padding: 0; }
.consent { font-size: .88rem; }
.rounded-img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-top: 24px; background: var(--light); }
/* Careers & news */
.jobs { display: grid; gap: 12px; margin-top: 20px; }
.job { display: flex; justify-content: space-between; align-items: center; background: var(--white); padding: 18px 24px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,.05); border-left: 4px solid var(--primary); }
.job h3 { margin: 0; font-size: 1.1rem; }
.news-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; align-items: center; }
.news-media > img { border-radius: 14px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.news-meta { color: var(--primary); font-weight: 600; font-family: var(--font-head); font-size: .9rem; display: block; margin-bottom: 10px; }
.news-body h2 { font-size: 1.9rem; }
@media (max-width: 991px) { .news-card { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .opts { grid-template-columns: 1fr; } .news-card { padding: 18px; } }
/* Hero with photo */
.hero.hero-photo { background-color: var(--secondary); background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero.hero-photo::before { background: linear-gradient(90deg, rgba(15,42,46,.92) 0%, rgba(15,42,46,.7) 45%, rgba(15,42,46,.25) 100%); }

/* ---------- News & Events ---------- */
.post-card, .event-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s; }
.post-card:hover, .event-card:hover { transform: translateY(-6px); }
.post-card .img, .event-card .img { aspect-ratio: 16/10; overflow: hidden; position: relative; display: block; background: var(--light); }
.post-card .img img, .event-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .img img, .event-card:hover .img img { transform: scale(1.06); }
.post-card .tag, .event-card .tag { position: absolute; left: 18px; bottom: 18px; background: var(--primary); color: #fff; padding: 4px 14px; border-radius: 30px; font-size: .8rem; font-family: var(--font-head); font-weight: 600; }
.post-card .body, .event-card .body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.post-card h3 a:hover, .event-card h3 a:hover { color: var(--primary); }
.post-card p, .event-card p { font-size: .95rem; flex: 1; }
.date-badge { position: absolute; top: 18px; left: 18px; background: var(--primary); color: #fff; border-radius: 12px; padding: 8px 14px; text-align: center; font-family: var(--font-head); font-size: .85rem; line-height: 1.1; text-transform: uppercase; box-shadow: var(--shadow); }
.date-badge b { display: block; font-size: 1.7rem; }
.event-card.past .date-badge { background: var(--secondary); }
.past-tag { background: var(--secondary) !important; }
.event-meta { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; color: var(--primary); font-weight: 500; }
.empty-state { text-align: center; background: var(--cream); border-radius: var(--radius); padding: 60px 30px; max-width: 760px; margin: 0 auto; }
.article { max-width: 860px; }
.article-hero { width: 100%; border-radius: var(--radius); margin: 10px 0 30px; aspect-ratio: 16/9; object-fit: cover; background: var(--light); }
.prose { font-size: 1.05rem; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose a { color: var(--primary); font-weight: 600; text-decoration: underline; }
.prose img { border-radius: 12px; margin: 20px 0; }
.article-gallery { margin: 30px 0; }
.article-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.event-box { position: sticky; top: 110px; }
.event-facts { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.event-facts li { display: grid; grid-template-columns: 90px 1fr; gap: 10px; border-bottom: 1px solid #eee; padding-bottom: 12px; }
.event-facts b { font-family: var(--font-head); color: var(--heading); }
.event-box hr { border: 0; border-top: 1px solid #eee; margin: 28px 0 20px; }
@media (max-width: 991px) { .event-box { position: static; } }

/* ---------- Donate page ---------- */
.donate-hero { position: relative; background: var(--secondary) right center / cover no-repeat; color: #fff; padding: 120px 0 110px; overflow: hidden; }
.donate-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,42,46,.97) 0%, rgba(15,42,46,.9) 42%, rgba(15,42,46,.25) 75%, rgba(15,42,46,.05) 100%); }
.donate-hero .container { position: relative; }
.donate-hero-text { max-width: 600px; }
.donate-hero h1 { color: #fff; margin-bottom: 6px; }
.donate-hero h1 span { color: var(--accent); }
.donate-sub { font-family: var(--font-head); font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 700; font-style: italic; margin-bottom: 14px; }
.donate-hero p { color: #dbe6e7; font-size: 1.08rem; }
.donate-ribbon { display: inline-block; background: var(--accent); color: var(--secondary); font-family: var(--font-head); font-weight: 700; font-style: italic; padding: 10px 26px; border-radius: 6px 30px 6px 30px; margin-top: 10px; }
.channels { align-items: stretch; }
.channel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; border: 1px solid #eef0f0; }
.channel-head { display: flex; gap: 14px; align-items: center; background: var(--secondary); color: #fff; padding: 22px 24px; }
.channel-head h3 { color: #fff; margin: 0; font-size: 1.2rem; }
.channel-head small { color: #b9c8c9; }
.ch-num { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--primary); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.channel.momo .channel-head { background: #ffcb05; }
.channel.momo .channel-head h3, .channel.momo .channel-head small { color: #1a1a1a; }
.channel.momo .ch-num { background: #1a1a1a; color: #ffcb05; }
.channel-body { padding: 24px; flex: 1; }
.bank-name { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; color: var(--heading); font-size: 1.1rem; margin-bottom: 16px; }
.bank-name svg { width: 28px; height: 28px; stroke: var(--primary); fill: none; stroke-width: 1.8; }
.acct { margin: 0; display: grid; gap: 10px; }
.acct > div { background: var(--light); border-radius: 10px; padding: 10px 14px; }
.acct dt { font-size: .8rem; color: #7b8a8b; text-transform: uppercase; letter-spacing: .04em; }
.acct dd { margin: 2px 0 0; color: var(--heading); font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 10px; word-break: break-word; }
.acct .big dd { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; letter-spacing: .02em; }
.copy { flex: none; font: 600 .78rem var(--font-body); border: 1px solid var(--primary); color: var(--primary); background: #fff; border-radius: 30px; padding: 5px 12px; cursor: pointer; transition: .2s; }
.copy:hover, .copy.done { background: var(--primary); color: #fff; }
.channel .note { font-size: .88rem; margin: 14px 0 0; }
.channel h4 { font-family: var(--font-head); color: var(--heading); margin: 20px 0 10px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 8px; font-size: .93rem; }
.steps li { counter-increment: s; display: flex; gap: 10px; align-items: flex-start; }
.steps li::before { content: counter(s); flex: none; width: 22px; height: 22px; border-radius: 50%; background: #ffcb05; color: #1a1a1a; font-weight: 700; font-size: .78rem; display: grid; place-items: center; margin-top: 2px; }
.warn { background: #fff4e5; border-left: 4px solid var(--primary); padding: 12px 14px; border-radius: 0 10px 10px 0; font-size: .9rem; margin: 18px 0 0; }
.prog-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.prog-icon { flex: 1 1 160px; max-width: 200px; text-align: center; font-family: var(--font-head); font-weight: 600; color: var(--heading); padding: 22px 10px; background: #fff; border-radius: var(--radius); box-shadow: 0 4px 20px rgba(0,0,0,.05); transition: .3s; }
.prog-icon:hover { transform: translateY(-5px); color: var(--primary); }
.prog-icon span { width: 68px; height: 68px; margin: 0 auto 12px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; }
.prog-icon svg { width: 34px; height: 34px; stroke: var(--primary); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.assist { background: var(--cream); color: var(--text); padding: 44px 0; border-top: 1px solid #f1e4d6; }
.assist-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.assist-item { display: flex; gap: 16px; align-items: center; }
.assist-item b { color: var(--heading); font-family: var(--font-head); font-size: 1.15rem; display: block; }
.assist-item small { display: block; }
.assist-item a { color: var(--heading); font-weight: 600; }
.assist-item a.hl { color: var(--primary); font-family: var(--font-head); font-size: 1.35rem; display: block; }
.a-ico { width: 56px; height: 56px; flex: none; border-radius: 50%; background: var(--primary); display: grid; place-items: center; }
.a-ico svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 1.8; }
@media (max-width: 991px) { .assist-row { grid-template-columns: 1fr; } .donate-hero::before { background: rgba(15,42,46,.85); } }
@media (max-width: 1199px) and (min-width: 992px) { .acct .big dd { font-size: 1.15rem; } }

/* ---------- Proposed schools ---------- */
.schools { gap: 34px; }
.school-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.school-card .img { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--light); }
.school-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.school-card:hover .img img { transform: scale(1.05); }
.proposed { position: absolute; top: 18px; left: 18px; background: var(--accent); color: var(--secondary); font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; padding: 7px 16px; border-radius: 30px; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.school-card .body { padding: 28px 30px 32px; }
.school-card h3 { font-size: 1.45rem; margin-bottom: 4px; }
.school-card .motto { display: block; color: var(--primary); font-family: var(--font-head); font-weight: 600; font-style: italic; margin-bottom: 14px; }
.school-card p { margin: 0; }
.school-note { text-align: center; font-size: .88rem; color: #7b8a8b; margin: 26px 0 0; }
@media (max-width: 991px) { .schools { grid-template-columns: 1fr; } }
