/* ============================================================
   Khushal Jeevan Foundation — Main Stylesheet
   Brand colors from logo: sun-orange, leaf-green, sky-blue
   ============================================================ */
:root {
    --green: #2f9638;
    --green-dark: #17712b;
    --green-deep: #07521f;
    --orange: #f28c00;
    --sun: #f28c00;
    --blue: #07569a;
    --ink: #17364f;
    --muted: #5c6b61;
    --bg: #f6faf6;
    --card: #ffffff;
    --line: #e3ede4;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(15, 92, 40, .10);
    --shadow-lg: 0 20px 50px rgba(15, 92, 40, .16);
    --font: 'Segoe UI', system-ui, -apple-system, Roboto, 'Noto Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--green); }
.container { width: min(1180px, 92%); margin: 0 auto; }
.section { padding: 72px 0; }
.section-alt { background: #fff; }
.center { text-align: center; }
.muted { color: var(--muted); }
.mt-2 { margin-top: 16px; } .mt-3 { margin-top: 28px; } .mt-4 { margin-top: 40px; }

/* ---------- Headings ---------- */
.kicker {
    display: inline-block; font-weight: 700; letter-spacing: .22em; font-size: .78rem;
    text-transform: uppercase; color: var(--orange); margin-bottom: 10px;
}
.kicker::before, .kicker::after { content: '—'; color: var(--sun); margin: 0 10px; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--ink); }
.h-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
.h-title span { color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 28px; border-radius: 50px; font-weight: 700; font-size: 1rem;
    border: 2px solid transparent; cursor: pointer; transition: .25s; min-height: 48px;
}
.btn-green { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; box-shadow: 0 8px 20px rgba(46, 158, 79, .35); }
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(46, 158, 79, .45); color: #fff; }
.btn-orange { background: linear-gradient(135deg, var(--sun), var(--orange)); color: #4a2c00; box-shadow: 0 8px 20px rgba(247, 148, 29, .35); }
.btn-orange:hover { transform: translateY(-2px); color: #4a2c00; }
.btn-outline { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-outline-dark { border-color: var(--green-dark); color: var(--green-dark); }
.btn-outline-dark:hover { background: var(--green-dark); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: .88rem; min-height: 40px; }
.btn-block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar {
    background: linear-gradient(90deg, var(--green-deep), var(--green-dark));
    color: #d9f2e0; font-size: .84rem; padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar .tb-left span { margin-right: 18px; }

/* ---------- Navbar ---------- */
.navbar {
    position: sticky; top: 0; z-index: 200; background: #fff;
    box-shadow: 0 2px 16px rgba(15, 92, 40, .08);
}
.navbar .container { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.18rem; color: var(--ink); }
.brand img { height: 52px; width: auto; }
.brand small { display: block; font-size: .62rem; font-weight: 600; color: var(--muted); letter-spacing: .08em; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a {
    display: flex; align-items: center; gap: 5px; padding: 10px 13px; font-weight: 600;
    color: var(--ink); border-radius: 8px; font-size: .95rem;
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--green-dark); background: #eef7ef; }
.dropdown-menu {
    position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff;
    border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px; list-style: none;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; z-index: 300;
}
.dropdown:hover .dropdown-menu, .dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 9px 14px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: .92rem; }
.dropdown-menu a:hover { background: #eef7ef; color: var(--green-dark); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--green-dark); border-radius: 3px; margin: 5px 0; }

/* ---------- Hero ---------- */
.hero {
    position: relative; color: #fff; padding: 110px 0 130px; overflow: hidden;
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(255, 179, 0, .55), transparent 60%),
        radial-gradient(700px 500px at 8% 110%, rgba(28, 90, 166, .35), transparent 55%),
        linear-gradient(120deg, #0c4a22 0%, #136531 45%, #2e9e4f 100%);
}
.hero::after {
    content: '☀️'; position: absolute; right: 6%; top: 12%; font-size: 9rem; opacity: .16;
    transform: rotate(-12deg); pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); font-weight: 900; color: #fff; letter-spacing: -1px; }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero p.lead { max-width: 640px; margin: 20px 0 32px; font-size: 1.12rem; color: #e6f5ea; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.hero-badges span {
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
    padding: 7px 16px; border-radius: 50px; font-size: .83rem; font-weight: 600; backdrop-filter: blur(4px);
}

/* ---------- Stats strip ---------- */
.stats {
    background: #0f3820; color: #fff; padding: 0;
}
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 30px 12px; border-left: 1px solid rgba(255,255,255,.1); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; color: var(--sun); }
.stat small { color: #bfe3c8; font-weight: 600; letter-spacing: .04em; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
    background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 28px; border: 1px solid var(--line); transition: .25s; height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card .icon {
    width: 62px; height: 62px; display: grid; place-items: center; font-size: 1.9rem;
    border-radius: 18px; margin-bottom: 16px;
    background: linear-gradient(135deg, #e8f7ec, #d2f0da);
}
.card h3 { font-size: 1.16rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .94rem; }
.card a.more { display: inline-block; margin-top: 12px; font-weight: 700; font-size: .9rem; }

/* ---------- Program tile ---------- */
.program-tile { position: relative; overflow: hidden; }
.program-tile::before {
    content: ''; position: absolute; inset: auto -30% -60% auto; width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(255,179,0,.18), transparent 70%); border-radius: 50%;
}

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(120deg, var(--green-deep), var(--green-dark) 55%, var(--orange));
    color: #fff; border-radius: 24px; padding: 54px 6%; text-align: center; box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 10px; }
.cta-band p { color: #e4f4e8; max-width: 640px; margin: 0 auto 26px; }

/* ---------- Forms ---------- */
.form-card {
    background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg);
    padding: 38px; border-top: 5px solid var(--orange); max-width: 720px; margin: 0 auto;
}
.form-card.wide { max-width: 900px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.field label i { color: #d33; font-style: normal; }
.field input, .field select, .field textarea {
    width: 100%; padding: 12px 15px; border: 1.6px solid #d7e4d9; border-radius: 10px;
    font: inherit; font-size: .95rem; background: #fbfdfb; transition: .2s; min-height: 48px;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: 0; border-color: var(--green); box-shadow: 0 0 0 4px rgba(46,158,79,.13); background: #fff;
}
.field textarea { resize: vertical; min-height: 110px; }
.amount-presets { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 14px; }
.amount-presets button {
    border: 2px solid var(--line); background: #fff; border-radius: 50px; padding: 9px 20px;
    font-weight: 800; cursor: pointer; transition: .2s; font-size: .95rem; min-height: 44px;
}
.amount-presets button:hover, .amount-presets button.sel { border-color: var(--orange); background: #fff3e5; color: #a34c00; }
.radio-row { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-pill input { display: none; }
.radio-pill span {
    display: inline-block; padding: 10px 20px; border-radius: 50px; border: 2px solid var(--line);
    font-weight: 600; cursor: pointer; transition: .2s; font-size: .92rem; min-height: 44px;
}
.radio-pill input:checked + span { border-color: var(--green); background: #eaf7ec; color: var(--green-dark); }

/* ---------- Flash / alerts ---------- */
.flash {
    max-width: 900px; margin: 18px auto 0; padding: 14px 20px; border-radius: 12px;
    font-weight: 600; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow);
}
.flash-success { background: #e6f7ea; color: #14612c; border: 1px solid #b9e6c4; }
.flash-error { background: #fdeaea; color: #a11; border: 1px solid #f3c1c1; }
.alert-info { background: #e8f1fc; color: #14467e; border: 1px solid #c3d9f5; padding: 13px 18px; border-radius: 12px; font-size: .92rem; }

/* ---------- Badges & tables ---------- */
.badge { display: inline-block; padding: 4px 12px; border-radius: 50px; font-size: .76rem; font-weight: 700; }
.badge-green { background: #e0f4e5; color: #166b2e; }
.badge-amber { background: #fff0df; color: #9a4c00; }
.badge-red { background: #fbe3e3; color: #b02323; }
.badge-blue { background: #e1edfb; color: #1a4f94; }
.badge-grey { background: #eceff0; color: #556; }

.table-wrap { overflow-x: auto; background: #fff; border-radius: 14px; box-shadow: var(--shadow); }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px; }
table.data th {
    text-align: left; padding: 13px 16px; background: #eef6ef; color: var(--green-deep);
    font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap;
}
table.data td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
table.data tr:hover td { background: #f7fbf7; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    background: linear-gradient(120deg, var(--green-deep), var(--green-dark) 60%, #3d8b1f);
    color: #fff; padding: 56px 0; position: relative; overflow: hidden;
}
.page-hero::after { content: '🌻'; position: absolute; right: 5%; bottom: -30px; font-size: 7rem; opacity: .14; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; }
.page-hero .crumbs { font-size: .88rem; color: #cdeed5; margin-top: 8px; }
.page-hero .crumbs a { color: #fff; font-weight: 600; }

/* ---------- Receipt ---------- */
.receipt {
    max-width: 760px; margin: 30px auto; background: #fff; border-radius: 18px; overflow: hidden;
    box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.receipt .r-head {
    background: linear-gradient(120deg, var(--green-deep), var(--green-dark)); color: #fff;
    padding: 24px 30px; display: flex; gap: 18px; align-items: center;
}
.receipt .r-head img { height: 58px; background: #fff; border-radius: 12px; padding: 4px; }
.receipt .r-head h2 { color: #fff; font-size: 1.4rem; }
.receipt .r-head small { color: #cdeed5; }
.receipt .r-title {
    background: var(--orange); color: #174d25; text-align: center; font-weight: 900;
    letter-spacing: .18em; padding: 9px; font-size: .95rem;
}
.receipt .r-body { padding: 28px 30px; }
.receipt table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.receipt table td { border: 1px solid #cfe0d2; padding: 10px 14px; font-size: .94rem; }
.receipt table td:first-child { background: #f2f9f3; font-weight: 700; width: 40%; }
.receipt .r-amount-words { background: #fff4e8; border: 1px dashed var(--orange); padding: 12px 16px; border-radius: 10px; font-weight: 600; margin-top: 12px; }
.receipt .r-foot {
    display: flex; justify-content: space-between; align-items: flex-end; gap: 20px;
    padding: 20px 30px 30px; flex-wrap: wrap;
}
.receipt .r-sign { text-align: center; font-size: .85rem; color: var(--muted); }
.receipt .r-sign b { display: block; color: var(--ink); border-top: 2px solid var(--ink); padding-top: 6px; margin-top: 34px; }
.receipt .r-note { background: #f2f9f3; padding: 14px 30px; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); }

/* ---------- Portal layout (admin/hr/employee/member) ---------- */
.portal { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.sidebar {
    background: linear-gradient(180deg, var(--green-deep), #0b3d1d); color: #dff2e4;
    padding: 22px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.sidebar .brand { color: #fff; font-size: 1.02rem; padding: 6px 10px 18px; }
.sidebar .brand img { height: 42px; }
.sidebar nav a {
    display: flex; align-items: center; gap: 10px; color: #c9e8d0; padding: 10px 14px;
    border-radius: 10px; font-weight: 600; font-size: .92rem; margin-bottom: 3px;
}
.sidebar nav a:hover, .sidebar nav a.active { background: rgba(255,255,255,.13); color: #fff; }
.sidebar .side-sec { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: #7fb98d; margin: 18px 10px 6px; }
.portal-main { padding: 26px; background: var(--bg); min-width: 0; }
.portal-top {
    display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 14px;
    padding: 14px 20px; box-shadow: var(--shadow); margin-bottom: 24px; flex-wrap: wrap;
}
.portal-top h1 { font-size: 1.3rem; }
.portal-top .spacer { margin-left: auto; }
.avatar {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--green), var(--blue)); color: #fff; font-weight: 800;
}
.mini-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.mini-stat { background: #fff; border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow); border-left: 5px solid var(--green); }
.mini-stat.orange { border-left-color: var(--orange); } .mini-stat.blue { border-left-color: var(--blue); } .mini-stat.red { border-left-color: #d33; }
.mini-stat b { display: block; font-size: 1.5rem; }
.mini-stat small { color: var(--muted); font-weight: 600; }
.panel { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 22px; margin-bottom: 24px; }
.panel h2 { font-size: 1.08rem; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }

/* ---------- Login page ---------- */
.login-wrap {
    min-height: 100vh; display: grid; place-items: center; padding: 30px 16px;
    background: radial-gradient(700px 400px at 80% 10%, rgba(255,179,0,.28), transparent 60%),
                linear-gradient(135deg, #0c4a22, #166e36);
}
.login-card { background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: 40px; width: min(430px, 100%); }
.login-card .logo { text-align: center; margin-bottom: 18px; }
.login-card .logo img { height: 78px; }
.login-card h1 { text-align: center; font-size: 1.35rem; }
.login-card .sub { text-align: center; color: var(--muted); font-size: .88rem; margin: 4px 0 22px; }
.demo-creds { background: #f2f9f3; border: 1px dashed var(--green); border-radius: 10px; padding: 10px 14px; font-size: .8rem; margin-top: 16px; color: var(--green-deep); }

/* ---------- Donor wall / showcase ---------- */
.donor-chip {
    display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px;
    padding: 14px 18px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.donor-chip .avatar { width: 46px; height: 46px; background: linear-gradient(135deg, var(--sun), var(--orange)); }
.donor-chip b { display: block; }
.donor-chip small { color: var(--muted); }
.donor-chip .amt { margin-left: auto; font-weight: 900; color: var(--green-dark); }

/* ---------- Events / blog ---------- */
.event-date {
    background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff;
    border-radius: 12px; text-align: center; padding: 10px 14px; min-width: 74px;
}
.event-date b { display: block; font-size: 1.5rem; line-height: 1; }
.event-date small { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.home-event-card, .home-blog-card, .home-campaign-card { overflow: hidden; margin-bottom: 14px; padding: 0; }
.home-event-image, .home-blog-image, .home-campaign-image { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #edf2ed; }
.home-event-content, .home-blog-content, .home-campaign-content { padding: 16px 18px 18px; }
.home-event-content .event-date { display: inline-block; margin-bottom: 10px; padding: 7px 12px; }
.home-event-content h3, .home-blog-content h3 { margin: 4px 0 7px; font-size: 1.08rem; }
.home-blog-content p, .home-event-content p { margin-bottom: 8px; }
.home-content-sections { display: grid; gap: clamp(56px,8vw,96px); background: #f5faf6; }
.home-feature-section { min-width: 0; }
.home-feature-section + .home-feature-section { padding-top: clamp(36px,5vw,64px); }
.home-feature-heading { display: grid; justify-items: center; gap: 4px; margin-bottom: 28px; text-align: center; }
.home-feature-heading .h-title { margin: 0; color: #173a53; }
.home-feature-heading .kicker { color: #ed8500; }
.home-feature-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(24px,3vw,38px); align-items: stretch; padding-inline: clamp(0px,1vw,12px); }
.home-feature-row .home-event-card, .home-feature-row .home-blog-card, .home-feature-row .home-campaign-card { display: flex; height: 100%; margin: 0; flex-direction: column; border: 1px solid #dfeae1; border-radius: 17px; background: #fff; box-shadow: 0 12px 30px rgba(27,65,41,.07); text-align: center; }
.home-feature-row .home-event-image, .home-feature-row .home-blog-image, .home-feature-row .home-campaign-image { border-radius: 17px 17px 0 0; }
.home-feature-row .home-event-content, .home-feature-row .home-blog-content, .home-feature-row .home-campaign-content { display: flex; flex: 1; align-items: center; flex-direction: column; padding: 18px 22px 22px; }
.home-feature-row .home-event-content h3, .home-feature-row .home-blog-content h3, .home-feature-row .home-campaign-content h3 { color: #163d56; }
.home-feature-row .home-event-content p, .home-feature-row .home-blog-content p, .home-feature-row .home-campaign-content p { flex: 1; color: #62736b; line-height: 1.65; }
.home-feature-row .home-event-content .event-date { margin-bottom: 10px; }
.home-card-action { min-width: 120px; margin-top: 10px; border-radius: 28px; box-shadow: 0 8px 18px rgba(31,126,56,.18); }
.home-feature-footer { margin-top: 22px; text-align: center; }
@media (max-width: 760px) { .home-feature-row { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; } }
@media (max-width: 520px) { .home-feature-row { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gal-tile {
    border-radius: 16px; min-height: 190px; display: flex; align-items: flex-end; padding: 18px;
    color: #fff; font-weight: 700; box-shadow: var(--shadow); position: relative; overflow: hidden; transition: .25s;
}
.gal-tile:hover { transform: scale(1.025); }
.gal-tile span { position: relative; z-index: 2; background: rgba(0,0,0,.35); padding: 6px 14px; border-radius: 8px; font-size: .9rem; backdrop-filter: blur(3px); }
.gal-tile small { display: block; font-weight: 500; opacity: .85; }
.g1 { background: linear-gradient(135deg, #2e9e4f, #0f5c28); }
.g2 { background: linear-gradient(135deg, #f7941d, #b35c00); }
.g3 { background: linear-gradient(135deg, #1c5aa6, #0e3160); }
.g4 { background: linear-gradient(135deg, #00a0a8, #00585c); }
.g5 { background: linear-gradient(135deg, #8e44ad, #4a1d63); }
.g6 { background: linear-gradient(135deg, #d35400, #7f3200); }
.g7 { background: linear-gradient(135deg, #e91e63, #880e3d); }
.g8 { background: linear-gradient(135deg, #558b2f, #2e4d15); }

/* ---------- Footer ---------- */
footer.site-footer { background: #0b3d1d; color: #b9dcc1; margin-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding: 56px 0 34px; }
footer.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: 1rem; }
footer.site-footer ul { list-style: none; }
footer.site-footer ul li { margin-bottom: 9px; }
footer.site-footer ul a { color: #b9dcc1; font-size: .92rem; }
footer.site-footer ul a:hover { color: var(--sun); }
.footer-brand { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.footer-brand img { height: 50px; background: #fff; border-radius: 10px; padding: 3px; }
.footer-brand b { color: #fff; font-size: 1.1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; font-size: .84rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.social-row { display: flex; gap: 9px; margin-top: 14px; }
.social-row a {
    width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
    background: rgba(255,255,255,.1); color: #fff; font-weight: 700; font-size: .85rem;
}
.social-row a:hover { background: var(--orange); }

/* ---------- Misc ---------- */
.tick-list { list-style: none; }
.tick-list li { padding: 7px 0 7px 32px; position: relative; }
.tick-list li::before { content: '✔'; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.internship-layout { grid-template-columns: 1.15fr .85fr; }
.notice-item { border-left: 4px solid var(--orange); background: #f2f8f0; padding: 13px 18px; border-radius: 0 12px 12px 0; margin-bottom: 12px; }
.steps { counter-reset: st; }
.step { position: relative; padding-left: 64px; margin-bottom: 26px; }
.step::before {
    counter-increment: st; content: counter(st); position: absolute; left: 0; top: 0;
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--sun), var(--orange)); color: #fff; font-weight: 900; font-size: 1.15rem;
}
.id-card-print-area { display: flex; justify-content: center; padding: 24px; }
.membership-card {
    width: min(100%, 540px); overflow: hidden; border: 1px solid #d5e7d8; border-radius: 20px;
    background: linear-gradient(145deg, #fff 0%, #f0f8f1 100%); box-shadow: var(--shadow-lg);
}
.membership-card-head {
    min-height: 76px; display: flex; align-items: center; gap: 12px; padding: 16px 22px;
    color: #fff; background: linear-gradient(110deg, #07521f, #20913e);
}
.membership-card-head > img { width: 46px; height: 46px; padding: 3px; border-radius: 10px; background: #fff; object-fit: contain; }
.membership-card-head > div { display: grid; gap: 4px; }
.membership-card-head > div b { font-size: 1rem; }
.membership-card-head > div small { font-size: .65rem; letter-spacing: .12em; }
.membership-card-mark { margin-left: auto; color: rgba(255,255,255,.23); font-size: 2rem; font-weight: 900; }
.membership-card-body { padding: 20px 24px 12px; }
.membership-card-person { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.membership-card-photo { width: 72px; height: 82px; flex: 0 0 72px; border: 3px solid #fff; border-radius: 14px; object-fit: cover; box-shadow: 0 3px 12px rgba(20,65,35,.18); }
.membership-card-initials { display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #208c42, #126184); font-size: 1.7rem; font-weight: 800; }
.membership-card-name small { color: #718071; font-size: .62rem; font-weight: 800; letter-spacing: .14em; }
.membership-card-name h2 { margin: 4px 0 6px; color: #183421; font-size: 1.25rem; }
.membership-card-designation { margin: 0 0 6px; color: #4f6554; font-size: .78rem; font-weight: 700; }
.membership-card-name > span { display: inline-block; padding: 5px 11px; border-radius: 999px; color: #14652a; background: #ddf2e2; font-size: .72rem; font-weight: 750; }
.membership-card-details { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.membership-card-details > div { min-width: 0; display: grid; gap: 3px; }
.membership-card-details span { color: #718071; font-size: .68rem; }
.membership-card-details b { overflow-wrap: anywhere; color: #183421; font-size: .79rem; }
.membership-card-foot { display: flex; justify-content: space-between; gap: 8px; margin: 0 24px; padding: 10px 0 14px; border-top: 1px solid #deeadf; color: #647462; font-size: .67rem; }
@media (max-width: 560px) {
    .id-card-print-area { padding: 12px 0; }
    .membership-card-head { padding-inline: 16px; }
    .membership-card-body { padding-inline: 16px; }
    .membership-card-details { gap: 9px; }
    .membership-card-foot { flex-direction: column; margin-inline: 16px; }
}

/* ---------- Print (receipt) ---------- */
@media print {
    .navbar, .topbar, footer.site-footer, .no-print, .flash { display: none !important; }
    body { background: #fff; }
    .receipt { box-shadow: none; margin: 0; max-width: 100%; }
}

/* Final override for the initiatives dropdown layout. */
.nav-links .dropdown-menu-wide { display: flex !important; flex-flow: row nowrap; align-items: center; gap: 4px; width: max-content; min-width: 0; max-width: calc(100vw - 24px); overflow-x: auto; white-space: nowrap; }
.nav-links .dropdown-menu-wide > li { flex: 0 0 auto; }
.nav-links .dropdown-menu-wide > li > a { white-space: nowrap; font-size: .92rem; }
@media (max-width: 1040px) {
    .nav-links .dropdown-menu-wide { display: none !important; width: min(100%, calc(100vw - 32px)); max-width: calc(100vw - 32px); }
    .nav-links .dropdown.open .dropdown-menu-wide { display: flex !important; }
}

/* Display the initiatives submenu in a horizontal row. */
.dropdown-menu-wide { display: flex; align-items: center; gap: 4px; width: max-content; min-width: 0; max-width: calc(100vw - 24px); overflow-x: auto; white-space: nowrap; }
.dropdown-menu-wide a { flex: 0 0 auto; font-size: .92rem; white-space: nowrap; }
@media (max-width: 1040px) {
    .dropdown-menu-wide { display: none; width: min(100%, calc(100vw - 32px)); min-width: 0; max-width: calc(100vw - 32px); overflow-x: auto; }
    .dropdown.open .dropdown-menu-wide { display: flex; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .portal { grid-template-columns: 1fr; }
    .sidebar { position: static; height: auto; }
    .sidebar nav { display: flex; flex-wrap: wrap; gap: 4px; }
    .sidebar .side-sec { width: 100%; margin: 10px; }
}
@media (max-width: 760px) {
    .section { padding: 48px 0; }
    .nav-toggle { display: block; }
    .nav-links {
        position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column;
        align-items: stretch; padding: 12px; box-shadow: var(--shadow-lg); display: none; gap: 2px;
        max-height: 76vh; overflow-y: auto;
    }
    .nav-links.show { display: flex; }
    .nav-links > li > a { padding: 13px 14px; font-size: 1rem; }
    .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding-left: 14px; }
    .dropdown.open .dropdown-menu { display: block; }
    .nav-cta { margin: 8px 0 0; }
    .stats .container { grid-template-columns: repeat(2, 1fr); }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .two-col { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .hero { padding: 70px 0 80px; }
    .form-card { padding: 24px; }
    .topbar .tb-right { display: none; }
}

/* ---------- Modern foundation landing page ---------- */
.topbar { display: none; }
.navbar { background: rgba(255,255,255,.96); box-shadow: 0 1px 0 rgba(20,37,27,.08); }
.navbar .container { min-height: 82px; }
.brand { letter-spacing: -.03em; }
.nav-links > li > a { font-size: .9rem; }
.nav-links > li > a:hover, .nav-links > li > a.active { background: #f0f5e9; }
.hero {
    min-height: 570px; padding: 78px 0 74px; color: var(--ink); background: #f7f8f2;
}
.hero::before { content: ''; position: absolute; width: 540px; height: 540px; right: -110px; top: -160px; border-radius: 50%; background: #edf2e4; }
.hero::after { content: ''; position: absolute; left: 49%; bottom: -160px; top: auto; right: auto; width: 300px; height: 300px; border: 1px solid #e2e8d8; border-radius: 50%; opacity: .8; font-size: 0; transform: none; }
.hero-layout { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 34px; min-height: 420px; }
.hero-copy { position: relative; z-index: 2; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px; color: #58634f; font-size: .79rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.hero-eyebrow i { width: 8px; height: 8px; background: #a5c842; border-radius: 50%; box-shadow: 0 0 0 5px #e7efd3; }
.hero-eyebrow > span { color: #adb49f; }
.hero h1 { max-width: 700px; color: #172319; font-size: clamp(3.25rem, 6.4vw, 5.75rem); font-weight: 800; line-height: .99; letter-spacing: -.075em; }
.hero h1 em { color: #557d27; font-style: normal; }
.hero p.lead { max-width: 510px; margin: 25px 0 28px; color: #606b5c; font-size: 1.04rem; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 23px; }
.hero .btn-orange { min-height: 52px; padding: 13px 22px; border-radius: 9px; background: #557d27; color: #fff; box-shadow: 0 8px 20px rgba(65,99,32,.18); }
.hero .btn-orange:hover { color: #fff; background: #45691d; }
.hero .btn-orange span, .hero-link span { font-size: 1.15rem; }
.hero-link { color: #344131; font-size: .93rem; font-weight: 700; }
.hero-link:hover { color: #557d27; }
.hero-proof { display: flex; align-items: center; gap: 9px; margin-top: 34px; color: #687264; font-size: .76rem; font-weight: 600; }
.hero-proof b { color: #b7bcae; }
.proof-check { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: #e2edcf; color: #557d27; font-size: .7rem; }
.hero-art { min-height: 410px; position: relative; display: grid; place-items: center; }
.hero-orbit { position: absolute; border: 1px solid rgba(111,139,71,.16); border-radius: 50%; }
.orbit-one { width: 390px; height: 390px; }
.orbit-two { width: 310px; height: 310px; }
.impact-card { position: absolute; z-index: 1; background: #fff; border: 1px solid rgba(51,68,39,.08); box-shadow: 0 24px 65px rgba(34,48,25,.12); }
.impact-main { width: 286px; min-height: 290px; left: 50%; top: 50%; padding: 28px; border-radius: 18px; transform: translate(-50%,-50%) rotate(-2deg); }
.impact-label { display: block; color: #879079; font-size: .65rem; font-weight: 800; letter-spacing: .15em; }
.impact-main strong { display: block; margin-top: 22px; color: #304821; font-size: 4.3rem; font-weight: 800; line-height: 1; letter-spacing: -.08em; }
.impact-main strong span { color: #a5c842; }
.impact-caption { display: block; max-width: 195px; margin-top: 9px; color: #707969; font-size: .88rem; line-height: 1.55; }
.impact-avatars { display: flex; align-items: center; margin-top: 28px; }
.impact-avatars i { display: grid; place-items: center; width: 31px; height: 31px; margin-left: -6px; border: 2px solid #fff; border-radius: 50%; background: #dfe9cd; color: #506e35; font-size: .67rem; font-style: normal; font-weight: 800; }
.impact-avatars i:first-child { margin-left: 0; background: #efd6b6; color: #815a37; }
.impact-avatars i:nth-child(2) { background: #d9e4ee; color: #486b83; }
.impact-avatars i:nth-child(3) { background: #ebd8d1; color: #86574b; }
.impact-avatars i:nth-child(4) { background: #557d27; color: #fff; }
.impact-avatars small { margin-left: 9px; color: #7a8374; font-size: .68rem; font-weight: 600; }
.impact-note { position: absolute; z-index: 2; top: 26px; right: 0; display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 11px; background: #fff; box-shadow: 0 12px 32px rgba(34,48,25,.1); color: #78816e; font-size: .72rem; line-height: 1.5; transform: rotate(3deg); }
.impact-note b { color: #35442d; }
.note-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #eef3e5; color: #6a8e3b; font-size: 1.2rem; }
.impact-mini { z-index: 2; right: 1%; bottom: 41px; display: flex; align-items: center; gap: 11px; padding: 13px 17px; border-radius: 12px; transform: rotate(2deg); }
.mini-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; background: #e8f3e8; color: #17712b; font-size: 1.15rem; }
.impact-mini b, .impact-mini small { display: block; }
.impact-mini b { color: #34432d; font-size: 1rem; }
.impact-mini small { color: #838a7d; font-size: .68rem; }
.impact-leaf { position: absolute; right: 12%; top: 10%; color: #a5c842; font-size: 2.7rem; transform: rotate(18deg); }
.stats { background: #fff; color: var(--ink); border-top: 1px solid #edf0e8; border-bottom: 1px solid #edf0e8; }
.stats .container { max-width: 1000px; }
.stat { padding: 25px 12px; border-color: #edf0e8; }
.stat b { color: #557d27; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.stat small { color: #7a8374; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
@media (max-width: 900px) {
    .hero-layout { grid-template-columns: 1fr 1fr; gap: 12px; }
    .hero h1 { font-size: clamp(3rem, 6.8vw, 4.5rem); }
    .hero-art { transform: scale(.88); transform-origin: center right; }
}
@media (max-width: 760px) {
    .navbar .container { min-height: 70px; }
    .hero { padding: 58px 0 38px; }
    .hero-layout { grid-template-columns: 1fr; gap: 0; }
    .hero h1 { font-size: clamp(3.1rem, 13vw, 4.5rem); }
    .hero-proof { flex-wrap: wrap; }
    .hero-art { min-height: 360px; transform: scale(.88); transform-origin: top center; margin-top: 12px; }
    .impact-main { width: 270px; }
    .impact-note { right: 2%; }
    .impact-mini { right: 0; bottom: 26px; }
    .stats .container { grid-template-columns: repeat(2, 1fr); }
}

/* Video hero palette follows the foundation logo: green, orange and blue */
.hero { isolation: isolate; min-height: 650px; padding: 82px 0 78px; color: #fff; background: #18251b; }
.hero::before { display: none; }
.hero::after { z-index: -1; left: auto; right: -140px; bottom: -245px; top: auto; width: 520px; height: 520px; border-color: rgba(255,255,255,.12); }
.hero-video, .hero-shade { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; }
.hero-video { object-fit: cover; object-position: center 42%; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, rgba(10,25,17,.91) 0%, rgba(10,25,17,.76) 48%, rgba(10,25,17,.34) 100%), linear-gradient(0deg, rgba(9,23,15,.35), transparent 48%); }
.hero-eyebrow { color: rgba(255,255,255,.8); }
.hero-eyebrow i { background: var(--orange); box-shadow: 0 0 0 5px rgba(247,148,29,.22); }
.hero h1 {
    color: var(--green-dark);
    -webkit-text-stroke: 1px rgba(255,255,255,.9);
    text-shadow: 0 0 14px rgba(255,255,255,.96), 0 3px 24px rgba(0,0,0,.4);
}
.hero h1 em { color: var(--blue); }
.hero p.lead { color: rgba(255,255,255,.82); }
.hero-link { color: #fff; }
.hero-link:hover { color: #9bc9ed; }
.hero-proof { color: rgba(255,255,255,.8); }
.proof-check { color: #fff; background: var(--green-dark); }
.hero .btn-orange { background: var(--sun); color: #123f68; box-shadow: 0 9px 24px rgba(0,0,0,.2); }
.hero .btn-orange:hover { color: #fff; background: var(--green-dark); }
.impact-main strong span, .impact-leaf { color: var(--green); }
.note-icon { color: var(--blue); background: #eaf3fb; }
.mini-icon { color: var(--green-dark); background: #e8f3e8; }
.impact-note, .impact-mini { box-shadow: 0 18px 48px rgba(0,0,0,.25); }
@media (max-width: 760px) {
    .hero { min-height: 760px; padding: 58px 0 24px; }
    .hero-shade { background: linear-gradient(180deg, rgba(10,25,17,.88), rgba(10,25,17,.74) 52%, rgba(10,25,17,.62)); }
    .hero-video { object-position: 55% center; }
    .hero-art { transform: scale(.82); transform-origin: top center; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-video { display: none; }
    .hero { background: linear-gradient(135deg, #17281b, #476b2e); }
}

/* Full reference-inspired foundation landing page */
.nav-links { gap: 1px; }
.nav-links > li > a { padding-inline: 10px; font-size: .84rem; }
.nav-cta .btn { padding-inline: 17px; }
.nav-cta .btn span { margin-left: 4px; }
.nav-caret { display: inline-block; margin-left: 2px; color: #879184; font-size: .84rem; transition: transform .18s ease; }
.dropdown:hover > a .nav-caret, .dropdown:focus-within > a .nav-caret, .dropdown.open > a .nav-caret { color: var(--green-dark); transform: rotate(180deg); }
.dropdown-menu { min-width: 245px; max-height: min(72vh, 620px); overflow-y: auto; padding: 9px; border: 1px solid #e9eee7; border-radius: 12px; box-shadow: 0 18px 45px rgba(20,43,24,.14); }
.dropdown-menu-right { right: 0; left: auto; }
.dropdown-menu .menu-label { padding: 10px 13px 7px; color: #8b9488; font-size: .59rem; font-weight: 800; letter-spacing: .13em; }
.dropdown-menu a { padding: 10px 13px; border-radius: 8px; font-size: .86rem; }
.dropdown-menu a:hover { color: var(--green-deep); background: #eff5e9; }
.nav-toggle { border-radius: 10px; }
.nav-toggle:focus-visible, .nav-links a:focus-visible { outline: 3px solid rgba(7,86,154,.35); outline-offset: 2px; }
.section-heading { max-width: 720px; margin: 0 auto; }
.section-heading p { max-width: 610px; margin: 12px auto 0; }
.section-heading .h-title { letter-spacing: -.045em; }
.proof-section { background: #fff; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.proof-card { min-height: 155px; display: flex; align-items: flex-start; gap: 15px; padding: 22px; border: 1px solid #e7ece5; border-radius: 14px; background: #fff; transition: .2s; }
.proof-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.proof-card > div { flex: 1; }
.proof-card b { display: block; margin: 3px 0 7px; color: var(--ink); font-size: .98rem; }
.proof-card p { color: var(--muted); font-size: .84rem; line-height: 1.55; }
.proof-card > a { color: var(--green-dark); font-size: 1.1rem; }
.proof-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 12px; font-size: 1.2rem; font-weight: 800; }
.proof-icon-orange { color: #a34c00; background: #fff0df; }
.proof-icon-blue { color: var(--blue); background: #eaf2f9; }
.proof-icon-green { color: var(--green-dark); background: #eaf4e8; }
.focus-ribbon { overflow: hidden; padding: 17px 0; color: #fff; background: var(--green-deep); }
.focus-ribbon-track { display: flex; align-items: center; justify-content: space-around; gap: 27px; width: max-content; min-width: 200%; animation: focus-scroll 34s linear infinite; }
.focus-ribbon-track span { color: #fff; font-size: .83rem; font-weight: 650; white-space: nowrap; }
.focus-ribbon-track i { color: var(--orange); font-style: normal; }
@keyframes focus-scroll { to { transform: translateX(-50%); } }
.mission-visual { min-height: 370px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border-radius: 22px; color: #fff; background: radial-gradient(circle at 83% 18%, rgba(242,140,0,.62), transparent 28%), linear-gradient(145deg, #07521f, #07569a); box-shadow: var(--shadow-lg); }
.mission-visual::after { content: ''; position: absolute; right: -85px; bottom: -155px; width: 340px; height: 340px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 0 32px rgba(255,255,255,.035), 0 0 0 65px rgba(255,255,255,.025); }
.mission-visual-top, .mission-visual-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.mission-visual-top img { width: 66px; padding: 4px; border-radius: 11px; background: #fff; }
.mission-visual-top span { color: rgba(255,255,255,.72); font-size: .65rem; font-weight: 800; letter-spacing: .17em; }
.mission-visual-title { position: relative; z-index: 1; margin: auto 0; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800; line-height: 1.03; letter-spacing: -.06em; }
.mission-visual-title em { color: #ffb65b; font-style: normal; }
.mission-visual-bottom { justify-content: flex-start; gap: 12px; }
.mission-visual-bottom > span:first-child b, .mission-visual-bottom > span:first-child small { display: block; }
.mission-visual-bottom > span:first-child b { font-size: 1.4rem; }
.mission-visual-bottom > span:first-child small { color: rgba(255,255,255,.72); font-size: .65rem; }
.mission-visual-bottom > i { margin: 0 6px; color: #ffb65b; font-size: 1.4rem; font-style: normal; }
.mission-chip { padding: 8px 11px; border: 1px solid rgba(255,255,255,.24); border-radius: 20px; color: #fff; font-size: .62rem; }
.module-section { background: #fff; }
.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.module-card { min-height: 205px; position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 19px; border: 1px solid #e7ece5; border-radius: 13px; background: #fff; transition: .22s; }
.module-card:hover { border-color: #b7cfab; box-shadow: 0 12px 30px rgba(23,70,30,.1); transform: translateY(-4px); }
.module-icon { width: 39px; height: 39px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 11px; font-size: 1.2rem; font-weight: 800; }
.module-orange { color: #a34c00; background: #fff0df; }
.module-green { color: var(--green-dark); background: #eaf4e8; }
.module-blue { color: var(--blue); background: #eaf2f9; }
.module-label { color: #879080; font-size: .52rem; font-weight: 800; letter-spacing: .15em; }
.module-card h3 { margin: 5px 0 6px; color: var(--ink); font-size: .94rem; }
.module-card p { max-width: 230px; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.module-card > i { position: absolute; right: 18px; top: 18px; color: var(--green-dark); font-size: .95rem; font-style: normal; }
.how-section { background: #f2f6ed; }
.how-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 9%; }
.how-intro .h-title { font-size: clamp(2rem, 4vw, 3.2rem); }
.how-intro p { max-width: 370px; }
.how-steps { border-top: 1px solid #dfe7d8; }
.how-step { display: grid; grid-template-columns: 48px 1fr 25px; align-items: center; gap: 17px; padding: 23px 0; border-bottom: 1px solid #dfe7d8; }
.how-step > span { color: var(--orange); font-size: .76rem; font-weight: 800; letter-spacing: .08em; }
.how-step h3 { margin-bottom: 5px; color: var(--ink); font-size: 1.05rem; }
.how-step p { color: var(--muted); font-size: .84rem; }
.how-step > i { color: var(--green-dark); font-size: 1.1rem; font-style: normal; }
@media (max-width: 980px) {
    .nav-links > li > a { padding-inline: 7px; font-size: .76rem; }
    .module-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .nav-links > li > a { padding: 13px 14px; font-size: 1rem; }
    .dropdown-menu-right { right: auto; }
    .dropdown-menu .menu-label { padding: 10px 14px 6px; }
    .proof-grid { grid-template-columns: 1fr; }
    .mission-visual { min-height: 315px; }
    .module-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
    .module-card { min-height: 192px; padding: 15px; }
    .how-layout { grid-template-columns: 1fr; gap: 30px; }
    .focus-ribbon-track { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .focus-ribbon-track { animation: none; }
    .proof-card, .module-card { transition: none; }
}
@media (max-width: 1040px) {
    .navbar .container { position: relative; }
    .nav-toggle { display: block; margin-left: auto; }
    .nav-links {
        position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 400;
        display: none; flex-direction: column; align-items: stretch; gap: 3px;
        max-height: min(78vh, 680px); overflow-y: auto; padding: 12px;
        border: 1px solid #e6ece3; border-radius: 14px; background: #fff;
        box-shadow: 0 20px 50px rgba(20,43,24,.16);
    }
    .nav-links.show { display: flex; }
    .nav-links > li > a { justify-content: space-between; padding: 12px 13px; font-size: .94rem; }
    .nav-cta { margin: 5px 0 0; }
    .nav-cta .btn { justify-content: center; width: 100%; }
    .dropdown-menu, .dropdown-menu-right {
        position: static; display: none; min-width: 0; margin: 2px 0 7px; padding: 7px;
        max-height: none; overflow: visible; border: 0; border-radius: 10px; background: #f7f9f5; box-shadow: none;
        opacity: 1; visibility: visible; transform: none;
    }
    .dropdown.open .dropdown-menu { display: block; }
    .dropdown-menu .menu-label { padding: 8px 12px 5px; }
    .dropdown-menu a { padding: 9px 12px; }
}

/* Final hero polish: logo colors stay crisp above the moving footage. */
.hero-copy {
    padding: 30px; border: 1px solid rgba(255,255,255,.72); border-radius: 18px;
    background: rgba(255,255,255,.93); box-shadow: 0 22px 60px rgba(7,25,16,.22);
    backdrop-filter: blur(10px);
}
.hero-eyebrow { color: #52664f; }
.hero h1 { font-size: clamp(3rem, 4.7vw, 4.8rem); color: var(--green-dark); -webkit-text-stroke: 0; text-shadow: none; }
.hero h1 em { color: var(--blue); }
.hero p.lead { color: #58675b; }
.hero-link { color: var(--blue); }
.hero-link:hover { color: var(--green-dark); }
.hero-proof { color: #657266; }
.proof-check { color: var(--green-dark); background: #e8f3e8; }
.impact-avatars i:first-child { background: #fff0df; color: #a34c00; }
.impact-avatars i:nth-child(3) { background: #eaf4e8; color: var(--green-dark); }
@media (max-width: 760px) {
    .hero-copy { padding: 21px; }
    .hero h1 { font-size: clamp(2.35rem, 9vw, 3.4rem); }
}
/* Clean hero: keep the footage visible and use one clear impact card. */
.hero { min-height: 650px; padding: 64px 0; }
.hero-shade { background: linear-gradient(90deg, rgba(8,25,18,.82) 0%, rgba(8,25,18,.66) 48%, rgba(8,25,18,.26) 100%), linear-gradient(0deg, rgba(8,25,18,.28), transparent 50%); }
.hero-copy { position: relative; z-index: 2; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
.hero-eyebrow { color: rgba(255,255,255,.9); text-shadow: 0 1px 8px rgba(0,0,0,.28); }
.hero h1 { max-width: 720px; font-size: clamp(3rem, 5vw, 4.7rem); color: var(--green-dark); -webkit-text-stroke: 0; text-shadow: none; line-height: 1.08; letter-spacing: -.065em; }
.hero-title-green, .hero h1 em { display: inline-block; padding: 0; border-radius: 0; background: transparent; box-decoration-break: clone; -webkit-box-decoration-break: clone; text-shadow: 0 2px 16px rgba(0,0,0,.34); }
.hero-title-green { color: var(--green-dark); }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero p.lead { max-width: 530px; color: rgba(255,255,255,.92); text-shadow: 0 1px 9px rgba(0,0,0,.3); }
.hero-link { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.hero-link:hover { color: #c8e5ff; }
.hero-proof { color: rgba(255,255,255,.9); text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.proof-check { color: var(--green-dark); background: #e8f3e8; }
.hero-art { min-height: 350px; position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; margin: 0; transform: none; }
.hero-impact-panel { width: min(100%, 360px); padding: 28px; border: 1px solid rgba(255,255,255,.8); border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: 0 20px 55px rgba(5,22,14,.25); }
.impact-panel-head { display: flex; align-items: center; justify-content: space-between; color: #687761; font-size: .68rem; font-weight: 800; letter-spacing: .13em; }
.impact-panel-head i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--blue); background: #eaf2f9; font-size: 1.15rem; font-style: normal; }
.hero-impact-panel > strong { display: block; margin: 16px 0 0; color: #294a20; font-size: clamp(3.7rem, 5vw, 4.6rem); font-weight: 850; line-height: 1; letter-spacing: -.075em; }
.hero-impact-panel > strong span { color: var(--green); }
.hero-impact-panel > p { max-width: 260px; margin: 9px 0 18px; color: #64715e; font-size: .93rem; line-height: 1.55; }
.impact-panel-rule { height: 1px; background: #e7ebe3; }
.impact-panel-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 15px; }
.impact-panel-stats span { display: flex; flex-direction: column; gap: 3px; }
.impact-panel-stats b { color: var(--blue); font-size: 1rem; }
.impact-panel-stats small { color: #778071; font-size: .72rem; }
@media (max-width: 1040px) and (min-width: 761px) {
    .hero-art { transform: none; }
    .hero-impact-panel { padding: 23px; }
}
@media (max-width: 760px) {
    .hero { min-height: 0; padding: 48px 0 38px; }
    .hero-shade { background: linear-gradient(180deg, rgba(8,25,18,.82), rgba(8,25,18,.68) 60%, rgba(8,25,18,.56)); }
    .hero h1 { font-size: clamp(2.45rem, 10vw, 3.5rem); }
    .hero-art { min-height: 0; margin-top: 34px; transform: none; }
    .hero-impact-panel { width: min(100%, 390px); padding: 22px; }
    .hero-impact-panel > strong { font-size: 3.8rem; }
    .hero-proof { margin-top: 25px; }
}
/* Centered, full-video hero composition. */
.hero { min-height: min(760px, calc(100svh - 80px)); display: flex; align-items: center; padding: 76px 0; }
.hero-layout { width: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; }
.hero-copy { width: min(100%, 900px); margin: 0 auto; text-align: center; }
.hero-eyebrow { justify-content: center; margin-bottom: 20px; }
.hero h1 { max-width: 900px; margin: 0 auto; font-size: clamp(3.2rem, 7vw, 6rem); line-height: 1.02; letter-spacing: -.07em; }
.hero p.lead { max-width: 680px; margin: 22px auto 29px; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.75; }
.hero-actions { justify-content: center; gap: 18px; }
.hero-proof { justify-content: center; flex-wrap: wrap; margin-top: 25px; }
.hero-art { display: none; }
.hero-shade { background: linear-gradient(90deg, rgba(8,25,18,.72), rgba(8,25,18,.48) 50%, rgba(8,25,18,.72)), linear-gradient(0deg, rgba(8,25,18,.3), rgba(8,25,18,.2)); }
@media (max-width: 760px) {
    .hero { min-height: min(720px, calc(100svh - 70px)); padding: 55px 0; }
    .hero-layout { display: flex; }
    .hero h1 { font-size: clamp(2.8rem, 12vw, 4.2rem); }
    .hero-actions { gap: 14px; }
    .hero-proof { gap: 7px; }
}
/* Final visual refinement for a polished, centered NGO homepage hero. */
.hero { min-height: clamp(650px, calc(100svh - 80px), 820px); padding: clamp(70px, 9vh, 112px) 0; }
.hero-shade { background: linear-gradient(90deg, rgba(7,22,17,.67), rgba(7,22,17,.53) 50%, rgba(7,22,17,.67)), linear-gradient(180deg, rgba(7,22,17,.2), rgba(7,22,17,.38)); }
.hero-copy { max-width: 900px; }
.hero-eyebrow { width: fit-content; margin: 0 auto 24px; padding: 9px 15px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: rgba(7,31,23,.38); backdrop-filter: blur(8px); font-size: .72rem; letter-spacing: .12em; }
.hero-eyebrow i { flex: 0 0 8px; }
.hero h1 { font-size: clamp(3.45rem, 7.4vw, 6.35rem); line-height: .99; letter-spacing: -.075em; }
.hero-title-green { color: #46b653; text-shadow: 0 3px 22px rgba(0,0,0,.4); }
.hero h1 em { color: #53a9ed; text-shadow: 0 3px 22px rgba(0,0,0,.4); }
.hero p.lead { max-width: 650px; margin-top: 25px; color: rgba(255,255,255,.92); font-size: clamp(1rem, 1.45vw, 1.17rem); line-height: 1.8; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero .btn-orange { min-height: 54px; padding: 15px 25px; border-radius: 8px; background: var(--orange); color: #123f68; font-weight: 750; box-shadow: 0 10px 28px rgba(0,0,0,.25); }
.hero .btn-orange:hover { background: #ff9e18; color: #123f68; transform: translateY(-2px); }
.hero-link { padding: 12px 0; font-size: .98rem; font-weight: 700; }
.hero-proof { margin-top: 30px; font-size: .78rem; }
@media (max-width: 760px) {
    .hero { min-height: min(740px, calc(100svh - 70px)); padding: 62px 0 50px; }
    .hero-eyebrow { margin-bottom: 22px; font-size: .62rem; letter-spacing: .08em; }
    .hero h1 { font-size: clamp(2.8rem, 12vw, 4.15rem); }
    .hero p.lead { margin-top: 20px; line-height: 1.65; }
    .hero-actions { flex-direction: column; gap: 8px; }
    .hero-proof { margin-top: 22px; font-size: .7rem; }
}
/* Hero finish: stronger contrast, deliberate actions, and a compact impact signature. */
.hero { min-height: clamp(700px, calc(100svh - 76px), 850px); padding: 76px 0 64px; }
.hero-shade { background: linear-gradient(90deg, rgba(5,20,16,.78), rgba(5,20,16,.58) 50%, rgba(5,20,16,.78)), linear-gradient(180deg, rgba(5,20,16,.22), rgba(5,20,16,.38)); }
.hero-copy { max-width: 940px; }
.hero-eyebrow { margin-bottom: 26px; color: #f4f7f2; background: rgba(7,32,24,.56); }
.hero h1 { max-width: 940px; font-size: clamp(3.6rem, 7.8vw, 6.7rem); line-height: .98; letter-spacing: -.078em; }
.hero-title-green { color: #55c360; }
.hero h1 em { color: #67b9f5; }
.hero p.lead { max-width: 690px; color: rgba(255,255,255,.94); font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.8; }
.hero-actions { gap: 14px; }
.hero .btn-orange { min-height: 56px; padding: 15px 25px; border-radius: 8px; background: var(--orange); color: #133c5c; font-size: .97rem; box-shadow: 0 8px 26px rgba(0,0,0,.27); }
.hero .btn-orange:hover { background: #ff9c14; color: #133c5c; }
.hero-link { display: inline-flex; align-items: center; gap: 9px; min-height: 54px; padding: 12px 19px; border: 1px solid rgba(255,255,255,.52); border-radius: 8px; background: rgba(255,255,255,.08); font-size: .93rem; transition: background .2s, border-color .2s; }
.hero-link:hover { color: #fff; border-color: rgba(255,255,255,.82); background: rgba(255,255,255,.16); }
.hero-proof { margin-top: 26px; font-size: .76rem; }
.hero-impact-strip { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 4vw, 48px); width: fit-content; max-width: 100%; margin: 38px auto 0; padding: 18px 30px; border: 1px solid rgba(255,255,255,.23); border-radius: 12px; background: rgba(7,30,23,.45); box-shadow: 0 12px 36px rgba(0,0,0,.12); backdrop-filter: blur(8px); }
.hero-impact-strip span { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.hero-impact-strip strong { color: #fff; font-size: 1.3rem; line-height: 1.1; letter-spacing: -.035em; }
.hero-impact-strip small { color: rgba(255,255,255,.74); font-size: .68rem; letter-spacing: .045em; }
.hero-impact-strip > i { width: 1px; height: 34px; background: rgba(255,255,255,.25); }
@media (max-width: 760px) {
    .hero { min-height: 0; padding: 58px 0 48px; }
    .hero-eyebrow { margin-bottom: 22px; padding: 8px 12px; font-size: .57rem; }
    .hero h1 { font-size: clamp(2.85rem, 12.2vw, 4.25rem); }
    .hero-actions { flex-direction: row; justify-content: center; gap: 10px; }
    .hero .btn-orange, .hero-link { min-height: 49px; padding: 12px 15px; font-size: .82rem; }
    .hero-proof { margin-top: 21px; font-size: .68rem; }
    .hero-impact-strip { gap: 14px; width: 100%; margin-top: 27px; padding: 15px 12px; }
    .hero-impact-strip strong { font-size: 1.04rem; }
    .hero-impact-strip small { font-size: .57rem; }
    .hero-impact-strip > i { height: 29px; }
}
@media (max-width: 390px) {
    .hero-actions { flex-direction: column; }
    .hero .btn-orange, .hero-link { width: min(100%, 260px); justify-content: center; }
    .hero-impact-strip { gap: 9px; padding-inline: 8px; }
    .hero-impact-strip strong { font-size: .94rem; }
    .hero-impact-strip small { font-size: .52rem; }
}

/* Keep the hero headline white as requested. */
.hero-title-green, .hero h1 em { color: #fff; }
/* Clean, compact navigation inspired by BigNGO's straightforward top menu. */
.navbar { background: #fff; box-shadow: 0 1px 0 rgba(22,49,37,.08); }
.navbar .container { width: min(1360px, 96%); min-height: 78px; gap: 22px; }
.brand { flex: 0 0 auto; gap: 9px; color: var(--ink); font-size: 1.06rem; letter-spacing: -.035em; }
.brand img { height: 48px; }
.brand small { color: #78867a; font-size: .56rem; letter-spacing: .16em; }
.nav-links { gap: 1px; }
.nav-links > li > a { position: relative; gap: 5px; padding: 12px 9px; border-radius: 0; background: transparent !important; color: #3e5148; font-size: .84rem; font-weight: 650; white-space: nowrap; }
.nav-links > li:not(.nav-cta) > a::after { content: ''; position: absolute; right: 9px; bottom: 5px; left: 9px; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.nav-links > li:not(.nav-cta) > a:hover, .nav-links > li:not(.nav-cta) > a.active { color: var(--blue); }
.nav-links > li:not(.nav-cta) > a:hover::after, .nav-links > li:not(.nav-cta) > a.active::after, .dropdown.open > a::after { transform: scaleX(1); }
.nav-caret { margin-left: 1px; color: #839087; font-size: 0; }
.nav-caret::after { content: '⌄'; font-size: .68rem; }
.nav-cta { margin-left: 9px; }
.nav-cta .btn { min-height: 42px; padding: 9px 17px; border: 0; border-radius: 7px; background: var(--orange); box-shadow: none; color: #173b59; font-size: .84rem; font-weight: 750; }
.nav-cta .btn:hover { background: #ff9e1b; color: #173b59; transform: translateY(-1px); }
.nav-cta .btn-green { min-height: 48px; padding: 10px 26px; border: 2px solid var(--green-dark); border-radius: 999px; background: #f8fbf8 !important; color: var(--green-dark); box-shadow: none; }
.nav-cta .btn-green:hover { background: var(--green-dark) !important; color: #fff; }
.dropdown-menu { top: calc(100% + 7px); min-width: 238px; padding: 9px; border: 1px solid #e8ede8; border-radius: 11px; box-shadow: 0 16px 38px rgba(16,39,27,.13); }
.dropdown-menu a { padding: 9px 12px; color: #34493e; font-size: .83rem; }
.dropdown-menu .menu-label { color: #849184; font-size: .57rem; }
@media (max-width: 1040px) {
    .navbar .container { width: min(100% - 28px, 760px); min-height: 72px; gap: 12px; }
    .nav-toggle { border: 1px solid #e6ece6; border-radius: 8px; background: #f8faf7; }
    .nav-links > li > a { justify-content: space-between; padding: 12px 13px; border-radius: 7px; font-size: .94rem; }
    .nav-links > li:not(.nav-cta) > a::after { display: none; }
    .nav-caret::after { font-size: .78rem; }
}
.dropdown-menu-wide { display: flex; align-items: center; gap: 4px; width: max-content; max-width: calc(100vw - 20px); overflow-x: auto; white-space: nowrap; }
.dropdown-menu-wide a { font-size: .92rem; white-space: nowrap; }
.dropdown-menu-wide .menu-label { grid-column: 1 / -1; }
@media (max-width: 1040px) {
    .dropdown-menu-wide { min-width: 0; display: none; grid-template-columns: 1fr; }
    .dropdown.open .dropdown-menu-wide { display: block; }
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu, .dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }

/* About page: foundation profile and community story */
.about-hero { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 124px) 0 88px; background: #f4f8f5; }
.about-hero::before { content: ''; position: absolute; width: 580px; height: 580px; right: -160px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(240,130,20,.12), rgba(240,130,20,0) 68%); pointer-events: none; }
.about-hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(35px, 7vw, 100px); }
.about-hero-copy { max-width: 680px; }
.about-eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #607364; font-size: .68rem; font-weight: 800; letter-spacing: .13em; }
.about-eyebrow i { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(244,142,19,.16); }
.about-hero h1 { width: 100%; max-width: 1240px; margin: 24px auto 20px; color: #135f9f; font-size: clamp(3rem, 6vw, 5.35rem); line-height: .99; letter-spacing: -.065em; }
.about-hero h1 span { color: #19713b; }
.about-hero-copy > p { max-width: 1120px; margin: 0; color: #64746b; font-size: 1.06rem; line-height: 1.8; }
.about-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 29px; }
.about-hero .btn-orange, .about-join-band .btn-orange { border-radius: 7px; background: var(--orange); color: #153d5e; font-weight: 750; box-shadow: 0 9px 22px rgba(18,60,48,.12); }
.about-text-link, .about-inline-link { color: #1262a0; font-weight: 750; }
.about-text-link span, .about-inline-link span { margin-left: 6px; }
.about-credentials { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; color: #738176; font-size: .7rem; font-weight: 650; }
.about-credentials b { width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }
.about-hero-visual { position: relative; display: grid; place-items: center; min-height: 400px; }
.about-photo-frame { position: relative; display: grid; place-items: center; width: min(100%, 410px); aspect-ratio: 1 / .88; border-radius: 46% 54% 49% 51% / 51% 43% 57% 49%; background: linear-gradient(145deg, #fff, #e7f1e8); box-shadow: 0 28px 70px rgba(24,66,46,.13); }
.about-photo-frame::before { content: ''; position: absolute; inset: 15px; border: 1px solid rgba(24,113,59,.15); border-radius: inherit; }
.about-photo-frame img { position: relative; z-index: 1; width: min(68%, 270px); height: auto; border-radius: 18px; }
.about-note { position: absolute; right: -4px; bottom: 32px; display: flex; flex-direction: column; gap: 3px; padding: 17px 21px; border: 1px solid #edf1eb; border-radius: 10px; background: #fff; box-shadow: 0 14px 32px rgba(24,50,36,.12); color: #718075; font-size: .75rem; }
.about-note strong { color: #17663b; font-size: .92rem; }
.about-visual-mark { position: absolute; left: -3px; top: 38px; display: grid; place-items: center; width: 58px; height: 58px; border: 5px solid #f4f8f5; border-radius: 50%; background: #1262a0; color: #fff; font-family: Georgia,serif; font-size: 1.08rem; font-weight: 800; box-shadow: 0 8px 25px rgba(18,98,160,.22); }
.about-impact { position: relative; z-index: 2; margin-top: -1px; background: #fff; }
.about-impact-grid { display: grid; grid-template-columns: repeat(4,1fr); padding-top: 32px; padding-bottom: 32px; }
.about-impact-grid > div { display: flex; flex-direction: column; gap: 5px; padding: 3px 26px; border-right: 1px solid #e8eee9; }
.about-impact-grid > div:first-child { padding-left: 0; }
.about-impact-grid > div:last-child { border: 0; }
.about-impact-grid strong { color: #155f9c; font-size: clamp(1.8rem,3.2vw,2.55rem); letter-spacing: -.055em; line-height: 1; }
.about-impact-grid strong span { color: #258347; }
.about-impact-grid small { color: #748177; font-size: .76rem; }
.about-story-section { padding-top: 104px; padding-bottom: 104px; }
.about-story-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(35px,8vw,120px); }
.about-story-number { margin-top: 32px; color: #e9a348; font-size: 2.2rem; font-weight: 800; letter-spacing: -.06em; }
.about-story-number span { color: #849087; font-size: .63rem; letter-spacing: .12em; }
.about-story-copy { max-width: 760px; }
.about-story-copy .h-title { margin-top: 0; font-size: clamp(2.1rem,4.2vw,3.5rem); line-height: 1.08; }
.about-story-copy > p { color: #69776e; line-height: 1.85; }
.about-story-copy .about-inline-link { display: inline-flex; margin-top: 9px; }
.about-values-section, .about-stories-section { background: #f5f8f5; }
.about-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 36px; }
.about-section-heading .h-title { margin: 10px 0 0; }
.about-section-heading > p { max-width: 410px; margin: 0 0 4px; color: #718076; line-height: 1.7; }
.about-section-heading > .about-inline-link { flex: 0 0 auto; margin-bottom: 6px; }
.about-values-grid { gap: 20px; }
.about-value-card { position: relative; overflow: hidden; min-height: 260px; padding: 29px; border: 1px solid #e8eee8; border-radius: 12px; background: #fff; box-shadow: 0 9px 26px rgba(25,56,36,.035); }
.about-value-index { position: absolute; top: 25px; right: 26px; color: #c9d5cb; font-size: .73rem; font-weight: 800; letter-spacing: .08em; }
.about-value-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 24px; border-radius: 12px; background: #edf6ef; color: #19713b; font-size: 1.55rem; }
.about-value-card:nth-child(2) .about-value-icon { background: #edf4fa; color: #1262a0; }
.about-value-card:nth-child(3) .about-value-icon { background: #fff3e4; color: #df8315; }
.about-value-card h3, .about-team-card h3, .about-story-card h3 { margin-bottom: 10px; color: #244435; }
.about-value-card p, .about-team-card p, .about-story-card > p:last-child { margin: 0; color: #718076; font-size: .9rem; line-height: 1.75; }
.about-team-card { padding: 26px; border: 1px solid #edf0ec; border-radius: 11px; background: #fff; }
.about-team-card .avatar { background: #eaf3ed; color: #17683a; }
.about-team-card .badge { display: inline-flex; margin-top: 1px; }
.about-story-card { min-height: 230px; padding: 26px; border: 1px solid #e7ede7; border-radius: 11px; background: #fff; }
.about-story-label { display: inline-block; margin-bottom: 16px; color: #24814a; font-size: .61rem; font-weight: 800; letter-spacing: .12em; }
.about-story-meta { margin: 0 0 12px; font-size: .78rem; }
.about-story-meta span { padding: 0 5px; color: var(--orange); }
.about-join-section { padding-top: 82px; }
.about-join-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(30px,5vw,58px); border-radius: 14px; background: linear-gradient(115deg,#145f9d,#125788 66%,#176d43); color: #fff; }
.about-join-band .about-eyebrow { color: rgba(255,255,255,.76); }
.about-join-band h2 { margin: 19px 0 12px; color: #fff; font-size: clamp(2rem,4vw,3.3rem); line-height: 1.06; letter-spacing: -.055em; }
.about-join-band p { max-width: 510px; margin: 0; color: rgba(255,255,255,.8); line-height: 1.7; }
.about-join-band .about-actions { flex: 0 0 auto; align-items: flex-start; flex-direction: column; gap: 16px; margin: 0; }
.about-join-link { color: #fff; font-size: .88rem; font-weight: 700; }
@media (max-width: 800px) {
    .about-hero { padding: 65px 0 58px; }
    .about-hero-inner { grid-template-columns: 1fr; gap: 18px; }
    .about-hero-copy { max-width: 650px; }
    .about-hero-visual { min-height: 310px; }
    .about-photo-frame { width: min(82%, 340px); }
    .about-note { right: 2%; bottom: 16px; }
    .about-visual-mark { left: 3%; top: 10px; }
    .about-impact-grid { grid-template-columns: repeat(2,1fr); row-gap: 25px; }
    .about-impact-grid > div:nth-child(2) { border: 0; }
    .about-impact-grid > div:nth-child(3) { padding-left: 0; }
    .about-story-section { padding-top: 70px; padding-bottom: 70px; }
    .about-story-grid { grid-template-columns: 1fr; gap: 20px; }
    .about-story-number { margin-top: 14px; }
    .about-section-heading { align-items: flex-start; flex-direction: column; gap: 13px; }
    .about-join-band { align-items: flex-start; flex-direction: column; }
    .about-join-band .about-actions { flex-direction: row; align-items: center; flex-wrap: wrap; }
}
@media (max-width: 520px) {
    .about-hero h1 { font-size: clamp(2.75rem,13vw,4rem); }
    .about-hero-copy > p { font-size: .96rem; }
    .about-actions { gap: 16px; }
    .about-credentials { gap: 8px; font-size: .61rem; }
    .about-impact-grid > div { padding: 3px 12px; }
    .about-impact-grid small { font-size: .66rem; }
    .about-values-grid, .about-team-grid, .about-stories-grid { grid-template-columns: 1fr; }
    .about-value-card { min-height: 0; }
    .about-join-band .about-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
}
/* Centered About page introduction without a logo image */
.about-hero-inner { display: block; }
.about-hero-copy { max-width: 1240px; margin: 0 auto; text-align: center; }
.about-hero-copy > p { margin-inline: auto; }
.about-hero .about-eyebrow { justify-content: center; }
.about-hero .about-actions, .about-credentials { justify-content: center; }
.about-hero h1 { margin-inline: auto; }
@media (max-width: 800px) {
    .about-hero-inner { display: block; }
    .about-hero-copy { margin-inline: auto; text-align: center; }
}
/* Campaign listing and dedicated campaign pages */
.campaign-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.campaign-card { min-height: 300px; padding: clamp(25px,4vw,38px); border: 1px solid #e2ebe3; border-top: 4px solid var(--orange); border-radius: 12px; background: #fff; box-shadow: 0 10px 30px rgba(21,57,36,.055); }
.campaign-card h2 { margin: 8px 0 11px; font-size: clamp(1.55rem,3vw,2.15rem); }
.campaign-card-heading { min-height: 48px; color: #1d6b43; font-weight: 750; line-height: 1.45; }
.campaign-card p:last-of-type { color: #69766e; line-height: 1.75; }
.campaign-card-link { display: inline-flex; gap: 8px; margin-top: 20px; color: #1262a0; font-weight: 800; }
.campaign-events-heading { margin: 70px 0 24px; }
.campaign-events-heading h2 { font-size: clamp(1.8rem,4vw,2.6rem); }
.campaign-cover { width: 100%; height: clamp(220px,32vw,420px); overflow: hidden; background: #e8eee8; }
.campaign-cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.campaign-page { background: #f7f8f9; }
.campaign-detail-wrap { width: 100%; max-width: none; }
.campaign-detail-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(390px,1fr); gap: 0 clamp(24px,3vw,42px); align-items: start; padding-inline: clamp(14px,3vw,36px); }
.campaign-detail { min-width: 0; width: 100%; padding: 0; }
.campaign-detail-donation { min-width: 0; }
.campaign-detail-photo { position: relative; width: calc(100% + 2 * clamp(28px,5vw,55px)); margin: calc(-1 * clamp(28px,5vw,55px)) calc(-1 * clamp(28px,5vw,55px)) 34px; padding: clamp(8px,.8vw,12px); background: linear-gradient(135deg,#edf4ef,#fff 48%,#f8efe1); box-shadow: 0 18px 45px rgba(23,65,43,.12); }
.campaign-detail-photo::after { content: ''; position: absolute; inset: clamp(8px,.8vw,12px); border: 1px solid rgba(255,255,255,.72); pointer-events: none; }
.campaign-detail-image { display: block; width: 100%; max-width: 100%; height: auto; max-height: none; margin: 0; object-fit: contain; background: #f2f6f2; }
.campaign-detail-header { grid-column: 1 / -1; max-width: none; margin: 0 0 24px; padding: 0; text-align: center; }
.campaign-detail-header h1 { max-width: 1000px; margin: 0 auto; padding-inline: clamp(12px,3vw,36px); color: #176d43; font-family: Impact, 'Arial Narrow', sans-serif; font-size: clamp(1.8rem,3.6vw,2.65rem); font-weight: 900; line-height: 1.15; text-transform: uppercase; }
.campaign-description { margin-top: 0; }
.campaign-description p { max-width: none; color: #30343a; font-size: 1.04rem; line-height: 1.7; }
.campaign-description p + p { margin-top: 16px; }
.campaign-subsection, .campaign-scope { margin-top: 36px; }
.campaign-subsection h2, .campaign-scope h2 { margin-bottom: 18px; }
.campaign-scope { padding: 22px 24px; border-left: 4px solid #e89a22; background: #fff8ee; }
.campaign-scope p { color: #665d52; }
.campaign-callout { margin-top: 42px; padding: clamp(28px,5vw,48px); border-radius: 10px; background: linear-gradient(120deg,#145f9d,#176d43); color: #fff; text-align: center; }
.campaign-callout h2 { max-width: 760px; margin: 0 auto 12px; color: #fff; font-size: clamp(1.35rem,3vw,2.1rem); }
.campaign-tagline { margin-bottom: 28px; color: #fff1c9; font-family: Georgia,serif; font-size: 1.16rem; font-weight: 700; }
.campaign-callout .btn { margin-top: 24px; }
.campaign-donate-hero { position: relative; overflow: hidden; min-height: calc(100vh - 72px); padding: clamp(52px,8vw,96px) 0; background: linear-gradient(105deg,#f7d5af 0 23%,#fff7ed 23% 55%,#edf5ed 55% 100%); }
.campaign-donate-hero::before { content: ''; position: absolute; width: 520px; height: 520px; left: -270px; bottom: -320px; border: 95px solid rgba(242,140,0,.10); border-radius: 50%; }
.campaign-donation-page { position: relative; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(390px,.92fr); gap: clamp(28px,5vw,72px); align-items: start; }
.campaign-donation-photo-wrap { margin: 32px 0 0; }
.campaign-donation-photo { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px 4px 54px 4px; box-shadow: 0 24px 60px rgba(35,68,48,.18); }
.campaign-donate-eyebrow { display: inline-block; margin-bottom: 16px; color: #a94b08; font-size: .72rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.campaign-donation-intro h1 { max-width: 720px; color: #123e55; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.35rem,5.2vw,4.8rem); line-height: 1.02; letter-spacing: 0; }
.campaign-donate-lead { max-width: 650px; margin-top: 22px; color: #53645a; font-size: clamp(.98rem,1.4vw,1.12rem); line-height: 1.78; }
.campaign-donation[hidden] { display: none; }
.campaign-donation { display: grid; grid-template-columns: minmax(220px,.72fr) minmax(420px,1.28fr); gap: clamp(28px,5vw,58px); align-items: start; margin-top: 42px; padding: clamp(28px,5vw,48px); border: 1px solid #dde8df; border-radius: 12px; background: linear-gradient(145deg,#fffaf2,#fff 62%,#f1f7f2); }
.campaign-donation-intro { position: sticky; top: 104px; }
.campaign-donation-intro h2 { margin: 8px 0 15px; font-size: clamp(1.55rem,3vw,2.35rem); }
.campaign-donation-intro .campaign-tagline { margin-bottom: 18px; color: #1d6d3f; }
.campaign-donation-intro p { color: #637269; }
.campaign-tax-note { margin-top: 24px; padding: 14px 16px; border-left: 4px solid var(--orange); background: rgba(255,255,255,.86); font-size: .84rem; }
.campaign-donation-form { position: relative; padding: clamp(22px,3vw,34px); border: 1px solid #e2ebe3; border-radius: 8px; background: #fff; box-shadow: 0 24px 70px rgba(43,62,42,.18); }
.campaign-donation-form::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; border-radius: 8px 8px 0 0; background: linear-gradient(90deg,#f28c00 0 36%,#2e8b46 36% 68%,#1262a0 68%); }
.campaign-form-heading { margin-bottom: 22px; text-align: center; }
.campaign-form-heading span { color: #bc4f08; font-size: .7rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.campaign-form-heading h2 { margin: 8px 0 5px; color: #16445d; font-family: Georgia, 'Times New Roman', serif; font-size: 1.8rem; letter-spacing: 0; }
.campaign-form-heading p { color: #738178; font-size: .82rem; }
.campaign-donation-form .amount-presets { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 7px; }
.campaign-donation-form .amount-presets button { min-height: 40px; padding: 7px 4px; border: 1px solid #d9ded9; border-radius: 4px; font-size: .82rem; }
.campaign-donation-form .amount-presets button.sel { border-color: #ed7b13; background: #ed7b13; color: #fff; box-shadow: 0 8px 18px rgba(237,123,19,.22); }
.campaign-donation-form .field { margin-bottom: 12px; }
.campaign-donation-form input:not([type=checkbox]):not([type=radio]), .campaign-donation-form textarea { min-height: 42px; padding: 9px 10px; border-radius: 4px; background: #fff; font-size: .85rem; }
.campaign-donation-form .form-row { gap: 0 10px; }
.campaign-donation-form .form-row .field { min-width: 0; }
.campaign-donation-form .btn-orange { min-height: 48px; border-radius: 4px; background: #ef8617; font-size: .95rem; }
.campaign-consent { display: flex; align-items: flex-start; gap: 9px; margin: 4px 0 18px; color: #5e6d63; font-size: .78rem; }
.campaign-consent input { width: auto; min-height: 18px; margin-top: 3px; }
.campaign-consent-policy { padding: 10px 12px; border: 1px solid #edf0ec; background: #f8faf8; }
.campaign-donation-security { margin: 13px 0 0; color: #738178; font-size: .76rem; text-align: center; }
@media (max-width: 900px) { .campaign-donate-hero { min-height: auto; background: linear-gradient(155deg,#fff1dc 0 24%,#f5faf5 24% 100%); } .campaign-donation-page { grid-template-columns: 1fr; } .campaign-donation-intro { position: static; } }
@media (max-width: 900px) { .campaign-detail-layout { grid-template-columns: 1fr; } .campaign-detail-header { grid-column: 1; } .campaign-detail-donation { margin-top: 30px; } }
@media (max-width: 700px) { .campaign-donate-hero { padding: 38px 0; } .campaign-donation-intro h1 { font-size: 2.35rem; } .campaign-donation-photo { aspect-ratio: 16 / 11; border-radius: 3px 3px 28px 3px; } .campaign-donation-form { padding: 24px 16px; } .campaign-donation-form .amount-presets { grid-template-columns: repeat(3,minmax(0,1fr)); } }
.admin-campaign-list { display: grid; gap: 10px; }
.admin-campaign-row { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid #e2ebe3; border-radius: 8px; }
.admin-campaign-row div { display: grid; gap: 3px; }
.admin-campaign-preview { display: grid; gap: 8px; margin: 8px 0 20px; }
.admin-campaign-preview img { max-width: 520px; width: 100%; max-height: 260px; object-fit: contain; border: 1px solid #e2ebe3; border-radius: 8px; background: #f4f7f4; }
@media (max-width: 700px) { .admin-campaign-row { grid-template-columns: 1fr auto; } .admin-campaign-row .btn { grid-column: 1 / -1; } }

/* Blog and news images */
.blog-card { overflow: hidden; padding: 0 0 24px; }
.blog-card-image { display: block; width: 100%; aspect-ratio: 16 / 9; margin: 0 0 18px; object-fit: cover; }
.blog-card .muted, .blog-card h3, .blog-card p, .blog-card .more { margin-left: 24px; margin-right: 24px; }
.blog-detail-section { background: #fff; }
.blog-detail-wrap { width: min(1180px,92%); max-width: none; }
.blog-detail-meta { margin-bottom: 18px; }
.blog-detail-image { display: block; width: 100%; max-width: none; aspect-ratio: 16 / 7; margin-top: 22px; border-radius: 8px; object-fit: cover; }
.blog-detail-content { margin-top: 34px; color: #506158; font-size: clamp(1rem,1.35vw,1.15rem); line-height: 1.95; }
.blog-detail-wrap .cta-band, .blog-detail-wrap > .mt-3 { width: 100%; }

/* Projects listing and initiative details */
.projects-intro { max-width: 620px; margin: 14px auto 0; line-height: 1.75; }
.projects-grid { align-items: stretch; gap: 20px; }
.project-card { position: relative; overflow: hidden; padding: 27px 28px 25px; border: 1px solid #e6ede7; border-radius: 12px; background: #fff; box-shadow: 0 8px 26px rgba(21,57,36,.045); }
.initiative-details { display: grid; gap: 28px; }
.initiative-detail-wrap { width: 100%; max-width: none; }
.initiative-detail { overflow: hidden; width: 100%; scroll-margin-top: 110px; padding: 0 clamp(28px,5vw,54px) clamp(28px,5vw,54px); border: 1px solid #e1eae2; border-radius: 12px; background: #fff; box-shadow: 0 12px 36px rgba(21,57,36,.055); }
.initiative-detail-photo { position: relative; left: 50%; width: 100vw; aspect-ratio: 16 / 9; margin: 0 0 34px; transform: translateX(-50%); padding: 0; overflow: hidden; background: #edf3ee; box-shadow: 0 16px 40px rgba(23,65,43,.12); }
.initiative-detail-photo::after { content: ''; position: absolute; inset: 0; border: 0; box-shadow: inset 0 -80px 90px rgba(7,39,24,.12); pointer-events: none; }
.initiative-detail-image { display: block; width: 100%; max-width: none; height: 100%; margin: 0; object-fit: cover; background: #edf3ee; }
.initiative-detail-header { max-width: none; padding-bottom: 24px; border-bottom: 1px solid #e7ede8; }
.initiative-detail-header h2 { margin: 8px 0 10px; font-size: clamp(1.75rem,4vw,2.65rem); }
.initiative-tagline { color: #1d6d3f; font-size: 1.08rem; font-weight: 700; }
.initiative-description { max-width: 900px; padding: 24px 0 8px; }
.initiative-description p { margin: 0 0 16px; color: #637269; line-height: 1.85; }
.initiative-subsection { margin-top: 24px; }
.initiative-subsection h3 { margin-bottom: 16px; }
.initiative-subsection > p { max-width: 900px; color: #637269; }
.initiative-projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.initiative-project-card { overflow: hidden; border: 1px solid #dce8de; border-radius: 10px; background: #f4f8f4; color: #355644; font-size: .88rem; font-weight: 700; }
.initiative-project-card img { display: block; width: 100%; height: 160px; object-fit: cover; }
.initiative-project-card span { display: block; padding: 12px 15px; }
.initiative-objectives { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 28px; padding: 0 0 0 20px; }
.initiative-objectives li { padding-left: 3px; color: #637269; }
.initiative-process { display: grid; gap: 10px; max-width: 900px; padding-left: 24px; color: #637269; }
.initiative-commitment { margin-top: 28px; padding: 22px 24px; border-left: 4px solid var(--orange); background: #f7f9f6; }
.initiative-commitment strong { display: block; margin-bottom: 5px; color: #17683a; }
.initiative-commitment p { margin: 0; color: #637269; }
.initiative-donate-action { display: flex; justify-content: center; margin-top: 30px; }
.initiative-donate-action .btn { min-width: 180px; }
@media (max-width: 800px) {
    .initiative-objectives { grid-template-columns: 1fr; }
}
.project-card::after { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: linear-gradient(180deg,var(--orange),#218146); }
.project-card-mark { display: block; width: 34px; height: 4px; margin-bottom: 17px; border-radius: 4px; background: linear-gradient(90deg,var(--orange) 0 38%,#1262a0 38% 68%,#238044 68%); }
.project-card h3 { margin: 0 0 9px; color: #164f7c; font-size: 1.22rem; }
.project-card > p { margin: 0; color: #718076; font-size: .9rem; line-height: 1.7; }
.project-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 17px 0 0; padding: 0; list-style: none; }
.project-list li { padding: 7px 10px; border: 1px solid #e7eee8; border-radius: 6px; background: #f7faf7; color: #43604c; font-size: .76rem; line-height: 1.25; }
@media (max-width: 760px) { .projects-grid { grid-template-columns: 1fr; } .project-card { padding: 23px 22px; } }
/* Professional video hero with rotating service headlines */
.hero-video { display: block; transform-origin: 52% 48%; animation: hero-video-drift 30s ease-in-out infinite alternate; }
@keyframes hero-video-drift {
    0% { transform: scale(1.015) translate3d(-.25%, 0, 0) rotate(-.12deg); }
    100% { transform: scale(1.11) translate3d(.55%, -1.1%, 0) rotate(.12deg); }
}
.hero-shade { background: linear-gradient(112deg, rgba(5,32,29,.82) 0%, rgba(4,39,57,.68) 52%, rgba(5,27,29,.72) 100%), linear-gradient(0deg, rgba(5,21,19,.34), rgba(5,21,19,.12)); }
.hero .hero-headline { display: grid; min-height: 2em; max-width: 1050px !important; margin: 0 auto; color: #fff; -webkit-text-stroke: 0; text-shadow: none; }
.hero-title-slide { grid-area: 1 / 1; align-self: center; opacity: 0; transform: translateY(14px); transition: opacity .65s ease, transform .65s ease; pointer-events: none; }
.hero-title-slide.is-active { opacity: 1; transform: translateY(0); }
.hero-title-slide > span, .hero-title-slide > em { display: block; }
.hero-title-slide > span { color: #fff; text-shadow: 0 3px 22px rgba(0,0,0,.42); }
.hero .hero-title-slide > em { color: #ff9418; text-shadow: 0 3px 22px rgba(0,0,0,.42); }
.hero-slide-dots { display: flex; justify-content: center; gap: 8px; margin-top: 19px; }
.hero-slide-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 8px; background: rgba(255,255,255,.48); cursor: pointer; transition: width .25s ease, background .25s ease; }
.hero-slide-dots button.is-active { width: 27px; background: #f39118; }
.hero-slide-dots button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.hero p.lead { margin-top: 20px; }
@media (max-width: 760px) {
    .hero-video { display: block; object-position: 56% center; }
    .hero-headline { min-height: 2.12em; }
    .hero-slide-dots { margin-top: 16px; }
    .hero-shade { background: linear-gradient(180deg, rgba(5,28,30,.75), rgba(5,32,43,.64) 55%, rgba(5,24,28,.79)); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-video { animation: none; }
    .hero-title-slide { transition: none; }
}

/* Donation receipt */
.receipt-section { padding: 38px 0 64px; background: #f3f6f1; }
.receipt-actions { display: flex; justify-content: flex-end; gap: 10px; margin: 0 auto 18px; max-width: 1000px; }
.receipt-paper { --receipt-green: #126b43; --receipt-dark: #064d34; --receipt-pale: #f0f6e8; position: relative; max-width: 1000px; margin: 0 auto; overflow: hidden; padding: clamp(24px,4vw,42px); background: #fffefa; color: #193346; box-shadow: 0 14px 45px rgba(20,48,30,.12); font-family: Arial,Helvetica,sans-serif; }
.receipt-header { display: grid; grid-template-columns: 1.25fr .85fr; align-items: center; gap: 28px; padding-bottom: 24px; border-bottom: 2px solid var(--receipt-dark); }
.receipt-brand img { display: block; width: min(100%,380px); max-height: 145px; object-fit: contain; object-position: left center; }
.receipt-brand > span { display: block; margin-top: 10px; color: var(--receipt-green); font-size: .82rem; font-weight: 700; }
.receipt-brand i { display: inline-block; width: 5px; height: 5px; margin: 0 8px 2px; border-radius: 50%; background: #f39118; }
.receipt-contact { display: grid; gap: 10px; padding-left: 24px; border-left: 1px solid #b7c9b8; }
.receipt-contact p { display: grid; grid-template-columns: 23px 1fr; gap: 9px; align-items: start; margin: 0; color: #3b5148; font-size: .83rem; line-height: 1.45; overflow-wrap: anywhere; }
.receipt-contact-icon { color: var(--receipt-green); font-size: 1rem; }
.receipt-title { display: flex; justify-content: center; align-items: center; gap: 17px; margin: 24px 0 14px; padding: 13px 10px; border: 1px solid #d4e2c4; border-radius: 9px; background: var(--receipt-pale); color: var(--receipt-dark); font-size: clamp(1.3rem,3.7vw,2.35rem); font-weight: 800; letter-spacing: .035em; text-align: center; }
.receipt-title span { color: #33864c; font-size: .9em; }
.receipt-meta { display: flex; justify-content: space-between; gap: 14px; margin: 0 4px 15px; font-size: .92rem; }
.receipt-meta b { margin-left: 8px; color: var(--receipt-green); }
.receipt-donor { padding: 14px 18px 12px; border-radius: 10px; background: #f0f6e8; }
.receipt-donor h2 { margin: 0 0 7px; color: var(--receipt-green); font-size: 1rem; }
.receipt-donor-row { display: grid; grid-template-columns: 145px minmax(0,1fr); gap: 12px; min-height: 33px; align-items: center; border-bottom: 1px solid #c5d5bd; color: #52615c; font-size: .88rem; }
.receipt-donor-row:last-child { border: 0; }
.receipt-donor-row b { color: #253d34; font-weight: 500; overflow-wrap: anywhere; }
.receipt-acknowledgement { margin: 17px 7px 13px; color: #3d514a; font-size: .9rem; line-height: 1.65; }
.receipt-acknowledgement strong { color: var(--receipt-green); }
.receipt-details { width: 100%; border: 1px solid #8bb19a; border-spacing: 0; border-radius: 9px; overflow: hidden; font-size: .88rem; }
.receipt-details th, .receipt-details td { padding: 10px 14px; border-bottom: 1px solid #d8e4d9; text-align: left; }
.receipt-details th { background: #126b43; color: white; font-size: .95rem; }
.receipt-details th:first-child, .receipt-details td:first-child { width: 40%; border-right: 1px solid #a7c5ad; }
.receipt-details tbody tr:last-child td { border-bottom: 0; }
.receipt-details tbody tr:nth-child(even) { background: #f7faf5; }
.receipt-amount { color: #064d34; font-size: 1.06rem; font-weight: 800; }
.receipt-thanks { display: grid; justify-items: center; gap: 5px; padding: 22px 12px; color: #126b43; text-align: center; }
.receipt-thanks strong { font-family: Georgia,serif; font-size: clamp(1.8rem,4vw,2.7rem); font-style: italic; }
.receipt-thanks span { font-size: .9rem; line-height: 1.5; }
.receipt-note { padding: 13px 17px; border-radius: 10px; background: #f0f6e8; color: #354b42; font-size: .8rem; line-height: 1.55; }
.receipt-note > b { color: #126b43; font-size: .95rem; }
.receipt-note ul { margin: 5px 0 0; padding-left: 20px; }
.receipt-note li { padding: 2px 0; }
.receipt-signoff { display: grid; grid-template-columns: 1fr 132px 1fr; align-items: end; gap: 20px; padding: 22px 10px 30px; }
.receipt-gratitude { display: grid; gap: 5px; color: #126b43; }
.receipt-gratitude span { font-size: .84rem; }
.receipt-gratitude strong { font-size: 1.15rem; }
.receipt-gratitude small { color: #44544c; }
.receipt-seal { display: grid; place-items: center; width: 122px; height: 122px; padding: 12px; border: 3px double #174a89; border-radius: 50%; color: #174a89; text-align: center; }
.receipt-seal span { font-size: .5rem; font-weight: 800; letter-spacing: .04em; }
.receipt-seal b { font-size: 1.25rem; }
.receipt-seal small { max-width: 90px; font-size: .48rem; overflow-wrap: anywhere; }
.receipt-signature { display: grid; justify-items: center; gap: 7px; color: #126b43; font-size: .78rem; }
.signature-line { width: 85%; height: 30px; border-bottom: 1px dotted #536f5f; }
.receipt-ribbon { margin: 0 calc(clamp(24px,4vw,42px) * -1) calc(clamp(24px,4vw,42px) * -1); padding: 15px; border-top: 5px solid #e6ad19; background: linear-gradient(95deg,#126b43,#075337); color: white; font-size: .95rem; font-weight: 700; text-align: center; }
@media (max-width: 680px) {
    .receipt-section { padding: 20px 0 40px; }
    .receipt-actions { flex-wrap: wrap; }
    .receipt-header { grid-template-columns: 1fr; gap: 17px; }
    .receipt-brand img { width: min(100%,320px); margin-inline: auto; object-position: center; }
    .receipt-brand > span { text-align: center; font-size: .7rem; }
    .receipt-contact { padding: 14px 0 0; border-top: 1px solid #b7c9b8; border-left: 0; }
    .receipt-meta { align-items: flex-start; flex-direction: column; gap: 7px; }
    .receipt-donor { padding-inline: 12px; }
    .receipt-donor-row { grid-template-columns: 100px minmax(0,1fr); gap: 7px; font-size: .8rem; }
    .receipt-details { font-size: .78rem; }
    .receipt-details th, .receipt-details td { padding: 9px 8px; }
    .receipt-details th:first-child, .receipt-details td:first-child { width: 43%; }
    .receipt-signoff { grid-template-columns: 1fr 1fr; justify-items: center; }
    .receipt-gratitude { grid-column: 1 / -1; justify-self: start; }
    .receipt-seal { width: 104px; height: 104px; }
    .receipt-signature { width: 100%; }
}
@media print {
    .receipt-section, .receipt-section * { visibility: visible; }
    .receipt-section { position: absolute; inset: 0; width: 100%; padding: 0; background: #fff; }
    .receipt-section > .container { width: 100%; max-width: none; padding: 0; }
    .receipt-actions, .no-print, .site-header, .site-footer, .topbar { display: none !important; }
    .receipt-paper { width: 100%; max-width: none; margin: 0; padding: 8mm; box-shadow: none; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
    .receipt-header { grid-template-columns: 1.2fr .8fr; gap: 16px; }
    .receipt-brand img { max-height: 105px; }
    .receipt-contact p { font-size: 9pt; }
    .receipt-title { margin: 15px 0 10px; padding: 8px; }
    .receipt-details th, .receipt-details td { padding: 7px 10px; }
    .receipt-thanks { padding: 13px; }
    .receipt-note { padding: 10px 14px; }
    .receipt-signoff { padding: 15px 10px 20px; }
}

/* Keep each initiatives submenu link on its own vertical row. */
.nav-links .dropdown-menu-wide { display: block !important; width: max-content; min-width: 300px; max-width: calc(100vw - 24px); max-height: min(72vh, 620px); overflow: visible; white-space: normal; }
.nav-links .dropdown-menu-wide > li { display: block; }
.nav-links .dropdown-menu-wide > li > a { white-space: nowrap; font-size: .92rem; }
@media (max-width: 1040px) {
    .nav-links .dropdown-menu-wide { display: none !important; width: 100%; min-width: 0; max-width: none; max-height: none; overflow: visible; }
    .nav-links .dropdown.open .dropdown-menu-wide { display: block !important; }
}
/* Nested submenu for the Women's Employment Scheme. */
.nav-links .dropdown-submenu { position: relative; }
.nav-links .dropdown-submenu > .dropdown-menu { top: -9px; right: auto; left: calc(100% + 6px); display: none; min-width: 235px; opacity: 0; visibility: hidden; transform: translateY(4px); }
.nav-links .dropdown-submenu:hover > .dropdown-menu,
.nav-links .dropdown-submenu:focus-within > .dropdown-menu,
.nav-links .dropdown-submenu.open > .dropdown-menu { display: block; opacity: 1; visibility: visible; transform: translateY(0); }
.nav-links .dropdown-submenu > a { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-links .dropdown-submenu > a .submenu-caret { color: #839087; font-size: .9rem; }
@media (max-width: 1040px) {
    .nav-links .dropdown-submenu > .dropdown-menu { position: static; display: none !important; min-width: 0; padding: 0 0 0 14px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
    .nav-links .dropdown-submenu.open > .dropdown-menu { display: block !important; }
    .nav-links .dropdown-submenu > a .submenu-caret { display: inline-block; }
}

.nav-links .dropdown-submenu > .dropdown-menu { min-width: 280px; }
@media (max-width: 1040px) {
    .nav-links .dropdown-submenu > .dropdown-menu { min-width: 0; }
}
.gal-photo { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.admin-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.admin-gallery-card { overflow: hidden; border: 1px solid #e7ede7; border-radius: 12px; background: #fff; }
.admin-gallery-card > img, .admin-gallery-placeholder { display: grid; width: 100%; height: 160px; object-fit: cover; background: #f0f5f0; color: #758176; place-items: center; }
.admin-gallery-info { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; }
.admin-gallery-info span { color: #728076; font-size: .85rem; }
.admin-gallery-card form { padding: 0 14px 14px; }

/* Homepage hero with direct membership and donation forms */
.hero-forms { min-height: 0; padding: clamp(42px,6vw,76px) 0; }
.hero-forms .hero-video { display: block; }
.hero-forms .hero-forms-layout { display: block; }
.hero-forms-intro {max-width: 780px; margin: 20px auto 28px; text-align: center; }
.hero-forms-intro .hero-eyebrow {justify-content: center; margin-bottom: 14px; color: #fff; }
.hero-forms-intro h1 { color: #fff; font-size: clamp(2.2rem,4.4vw,3.8rem); line-height: 1.05; letter-spacing: -.045em; }
.hero-forms-intro h1 em { color: #ff9418; font-style: normal; }
.hero-forms-intro > p {max-width: 670px; margin: 12px auto 0; color: rgba(255,255,255,.9); line-height: 1.65; }
.hero-forms-intro .hero-proof { justify-content: center; margin-top: 14px; color: rgba(255,255,255,.88); }
.hero-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; gap: 22px; max-width: 1040px; margin: 0 auto; }
.hero-form-card { width: 100%; max-width: none; margin: 0; padding: 24px 28px 20px; border-top-width: 4px; border-radius: 14px; box-shadow: 0 18px 48px rgba(0,0,0,.22); }
.hero-donate-card { border-top-color: #f39118; }
.hero-form-kicker { color: #598130; font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero-form-card h2 { margin: 4px 0 0; color: #183421; font-size: 1.45rem; letter-spacing: -.025em; }
.hero-form-note { min-height: 38px; margin: 5px 0 15px; color: #647264; font-size: .82rem; line-height: 1.45; }
.hero-form-card .field { margin-bottom: 11px; }
.hero-form-card .field label { margin-bottom: 4px; color: #334538; font-size: .78rem; }
.hero-form-card .field input, .hero-form-card .field select { min-height: 42px; padding: 9px 12px; border-radius: 7px; font-size: .86rem; }
.hero-amount-presets { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin: 0 0 8px; }
.hero-amount-presets button { min-height: 36px; padding: 6px 5px; border: 1px solid #dce4da; border-radius: 7px; font-size: .8rem; }
.hero-amount-presets button.sel { border-color: #f39118; background: #fff1df; color: #9a4b00; }
.hero-form-card .btn { min-height: 44px; margin-top: 2px; border-radius: 7px; font-size: .88rem; }
.hero-form-foot { margin: 10px 0 0; color: #68756a; font-size: .74rem; text-align: center; }
.hero-form-foot a { color: #287640; font-weight: 750; }
@media (max-width: 760px) {
    .hero-forms { padding: 38px 0 44px; }
    .hero-forms-intro {margin-top: 20px; margin-bottom: 20px; }
    .hero-forms-intro .hero-eyebrow { font-size: .62rem; }
    .hero-form-grid { grid-template-columns: 1fr; gap: 16px; max-width: 520px; }
    .hero-form-card { padding: 22px 20px 18px; }
    .hero-forms .hero-proof { flex-wrap: wrap; }
}

.hero-donation-qr { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 9px 12px; border: 1px solid #e4eadf; border-radius: 9px; background: #f8fbf6; }
.hero-donation-qr img { width: 112px; height: 112px; flex: 0 0 112px; object-fit: contain; }
.hero-donation-qr span { color: #365b34; font-size: .84rem; font-weight: 750; }
.qr-payment-box { margin-top: 22px; text-align: center; }
.qr-payment-box h3 { margin-bottom: 12px; color: #183421; }
.qr-payment-box > img { display: block; width: min(310px,100%); aspect-ratio: 1; margin: 0 auto 15px; padding: 10px; border: 1px solid #e0e7df; border-radius: 12px; background: #fff; object-fit: contain; }
.qr-payment-box > p { max-width: 460px; margin: 0 auto 16px; }
.qr-payment-box form { max-width: 460px; margin-inline: auto; text-align: left; }
@media (max-width: 760px) { .hero-donation-qr img { width: 96px; height: 96px; flex-basis: 96px; } }
/* Sidebar symbols use HTML numeric entities to stay encoding-safe. */
.sidebar nav a .side-icon { display: inline-flex; width: 20px; flex: 0 0 20px; align-items: center; justify-content: center; color: #b6e5c2; font-size: 1rem; line-height: 1; font-weight: 700; }
.sidebar nav a.active .side-icon, .sidebar nav a:hover .side-icon { color: #fff; }
.hero-donation-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 2px 0 15px; padding: 12px; }
.hero-donation-qr img { width: min(188px,100%); height: auto; aspect-ratio: 1; flex: none; padding: 6px; border: 1px solid #e3e9e1; border-radius: 9px; background: #fff; }
.hero-qr-title { color: #365b34; font-size: .84rem; font-weight: 750; text-align: center; }
.hero-qr-missing { color: #69766b; font-size: .82rem; }
.hero-donation-presets { grid-column: 1 / -1; }
.hero-donation-presets .hero-amount-presets { grid-template-columns: repeat(4,minmax(0,1fr)); margin: 0 0 8px; }
.hero-donation-amount .hero-custom-amount { margin: 0 0 4px; color: #68756a; font-size: .73rem; font-weight: 600; }
.hero-donation-amount input { margin-bottom: 1px; }
@media (max-width: 760px) { .hero-donation-qr img { width: 170px; height: auto; flex-basis: auto; } .hero-donation-presets .hero-amount-presets { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.hero-form-grid { align-items: start; }
.hero-form-card { align-self: start; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 1200; display: grid; width: 58px; height: 58px; place-items: center; border: 2px solid rgba(255,255,255,.9); border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.24); transition: transform .2s ease, box-shadow .2s ease; }
.whatsapp-float:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.3); }
.whatsapp-float:focus-visible { outline: 3px solid #145c32; outline-offset: 4px; }
.whatsapp-float svg { display: block; width: 32px; height: 32px; fill: currentColor; }
@media (max-width: 600px) { .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; } }

/* Member referral links and points */
.referral-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.referral-panel-heading h2 { margin: 0 0 4px; }
.referral-panel-heading p { margin: 0; }
.referral-points-badge { flex: 0 0 auto; padding: 9px 14px; border: 1px solid #cfe8d4; border-radius: 999px; background: #eef8ef; color: #176b36; font-weight: 800; }
.referral-links-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.referral-link-card { min-width: 0; padding: 15px; border: 1px solid #e3ebe3; border-radius: 10px; background: #fbfdfb; }
.referral-link-card > label { display: block; margin-bottom: 8px; color: #2e4935; font-size: .86rem; font-weight: 750; }
.referral-link-control { display: flex; gap: 8px; }
.referral-link-control input { min-width: 0; flex: 1; padding: 9px 10px; border: 1px solid #d7e4d9; border-radius: 7px; background: #fff; color: #344538; font-size: .78rem; }
.referral-link-control .btn { flex: 0 0 auto; }
.referral-link-card > small { display: block; margin-top: 8px; color: #6a776b; line-height: 1.45; }
@media (max-width: 760px) { .referral-links-grid { grid-template-columns: 1fr; } }
.hero-donate-card .hero-donation-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 12px; }
.hero-donate-card .hero-donation-form > .btn,
.hero-donate-card .hero-donation-form > .hero-form-foot { grid-column: 1 / -1; }
@media (max-width: 760px) {
    .hero-donate-card .hero-donation-form { grid-template-columns: 1fr; }
    .hero-donate-card .hero-donation-form > * { grid-column: 1; }
}
