:root {
    --white: #FFFFFF;
    --off-white: #F9F7F3;
    --ochre: #C8861A;
    --ochre-light: #F0B740;
    --ochre-pale: #FDF3DC;
    --blue: #1A3A5C;
    --blue-mid: #2E5F8A;
    --blue-light: #D6E8F5;
    --charcoal: #1C1C1E;
    --gray: #6B7280;
    --gray-light: #E5E7EB;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 24px rgba(26, 58, 92, 0.08);
    --shadow-lg: 0 12px 48px rgba(26, 58, 92, 0.14);
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --site-gutter: 4%;
    --section-pad-y: 52px;
    --page-hero-pad: 72px var(--site-gutter) 18px;
    --font-body: 'Libre Baskerville', serif;
    --font-heading: 'Libre Baskerville', serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 64px;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--charcoal);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    font-size: 16px;
    line-height: 1.6;
}

body * {
    font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.section-title,
.mvv-title,
.tl-title,
.contact-info-title,
.donate-form-card h2,
.donate-why h3,
.bank-details h4,
.footer-donate-cta h3,
.success-card h2,
.nav-logo-text span:first-child {
    font-family: var(--font-heading) !important;
}

body,
p,
a,
li,
span,
button,
input,
select,
textarea,
label,
.hero-desc,
.section-sub,
.init-card-desc,
.story-text,
.story-name,
.story-role,
.tl-desc,
.footer-col ul li a,
.footer-bottom p,
.btn-primary,
.btn-outline-white,
.btn-full,
.btn-white {
    font-family: var(--font-body);
}

[style*="font-family:'Playfair Display'"] {
    font-family: var(--font-heading) !important;
}

[style*="font-family:'DM Sans'"] {
    font-family: var(--font-body) !important;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--off-white);
}

::-webkit-scrollbar-thumb {
    background: var(--ochre);
    border-radius: 4px;
}

/* ── PAGE SYSTEM ── */
.page {
    display: none;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.page.active {
    display: block;
}

/* ── NAVBAR ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(200, 134, 26, 0.12);
    padding: 0 var(--site-gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    transition: box-shadow var(--transition);
    width: 100%;
    max-width: 100vw;
}

nav.scrolled {
    box-shadow: var(--shadow);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
    min-width: 0;
}

.nav-logo img {
    width: 180px;
    max-width: 100%;
    height: auto;
    display: block;
}

.nav-logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--ochre), var(--ochre-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.nav-logo-text {
    line-height: 1;
}

.nav-logo-text span:first-child {
    display: block;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 17px;
    color: var(--blue);
}

.nav-logo-text span:last-child {
    font-size: 11px;
    color: var(--ochre);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    display: block;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--charcoal);
    transition: all var(--transition);
    cursor: pointer;
}

.nav-links a:hover,
.nav-links a.active-nav {
    background: var(--ochre-pale);
    color: var(--ochre);
}

.nav-dropdown {
    position: relative;
    padding-bottom: 8px;
    margin-bottom: -8px;
}

.dropdown-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 150px;
    background: white;
    border: 1px solid var(--gray-light);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 8px;
    display: none;
    z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
}

.nav-donate-btn {
    background: linear-gradient(135deg, var(--ochre), var(--ochre-light));
    color: var(--white) !important;
    padding: 9px 20px !important;
    border-radius: 24px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 16px rgba(200, 134, 26, 0.28);
    transition: all var(--transition) !important;
}

.nav-donate-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 24px rgba(200, 134, 26, 0.38) !important;
    background: var(--ochre) !important;
}

/* Donate page active: dark label on ochre pill for clearer “current page” affordance */
.nav-links a.nav-donate-btn.active-nav {
    background: linear-gradient(135deg, var(--ochre), var(--ochre-light)) !important;
    color: var(--charcoal) !important;
    box-shadow:
        0 4px 16px rgba(200, 134, 26, 0.28),
        0 0 0 2px rgba(200, 134, 26, 0.25);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    border: none;
    background: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: white;
    z-index: 999;
    padding: 12px var(--site-gutter) 18px;
    border-bottom: 1px solid var(--gray-light);
    box-shadow: var(--shadow-lg);
}

.mobile-menu.open {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition);
}

.mobile-menu a:hover {
    background: var(--ochre-pale);
    color: var(--ochre);
}

.mobile-submenu-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray);
    padding: 12px 16px 6px;
    font-weight: 600;
}

.mobile-submenu-link {
    padding-left: 30px !important;
    font-size: 14px;
}

/* ── FLOATING DONATE ── */
.float-donate {
    position: fixed;
    /* Clear Tawk.to launcher (~60px) + spacing; keeps Donate above the chat bubble */
    bottom: calc(20px + 4.5rem);
    right: 20px;
    margin-bottom: 12px;
    z-index: 1500;
    background: linear-gradient(135deg, var(--ochre), var(--ochre-light));
    color: white;
    border: none;
    cursor: pointer;
    padding: 14px 22px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 28px rgba(200, 134, 26, 0.4);
    transition: all var(--transition);
    animation: pulse-donate 2.5s ease-in-out infinite;
}

.float-donate:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 40px rgba(200, 134, 26, 0.5);
    animation: none;
}

@keyframes pulse-donate {

    0%,
    100% {
        box-shadow: 0 6px 28px rgba(200, 134, 26, 0.4);
    }

    50% {
        box-shadow: 0 6px 40px rgba(200, 134, 26, 0.6);
    }
}

/* ── SECTION COMMON ── */
section {
    padding: var(--section-pad-y) var(--site-gutter);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ochre-pale);
    color: var(--ochre);
    padding: 6px 14px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 700;
    color: var(--blue);
    line-height: 1.2;
    margin-bottom: 12px;
}

.section-sub {
    font-size: 17px;
    color: var(--gray);
    max-width: 580px;
    line-height: 1.7;
}

.section-header {
    margin-bottom: 32px;
}

.section-header.center {
    text-align: center;
}

.section-header.center .section-sub {
    margin: 0 auto;
}

/* ── HERO ── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 520px;
    overflow: hidden;
    padding: 0;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100vw;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-hero {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.placeholder-hero img,
.init-card-img img,
.about-img-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ph1 {
    background: linear-gradient(135deg, #0f2540 0%, #1A3A5C 50%, #2E5F8A 100%);
}

.ph2 {
    background: linear-gradient(135deg, #2a1a00 0%, #5C3A0A 50%, #C8861A 100%);
}

.ph3 {
    background: linear-gradient(135deg, #0f2540 0%, #1a4a3a 50%, #2E8A6A 100%);
}

.placeholder-icon {
    font-size: 80px;
    opacity: 0.2;
}

.placeholder-label {
    color: white;
    opacity: 0.25;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 22, 40, 0.75) 0%, rgba(10, 22, 40, 0.3) 60%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 0 var(--site-gutter);
    animation: heroFadeIn 1.2s ease both;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(240, 183, 64, 0.2);
    border: 1px solid rgba(240, 183, 64, 0.4);
    color: var(--ochre-light);
    padding: 6px 16px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5.5vw, 68px);
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 14px;
}

.hero-title span {
    color: var(--ochre-light);
}

.hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    margin-bottom: 22px;
    max-width: 520px;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--ochre), var(--ochre-light));
    color: white;
    border: none;
    cursor: pointer;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 15px;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(200, 134, 26, 0.35);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(200, 134, 26, 0.45);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    cursor: pointer;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 15px;
    transition: all var(--transition);
    backdrop-filter: blur(8px);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero-slider-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all var(--transition);
    cursor: pointer;
}

.dot.active {
    background: var(--ochre-light);
    width: 24px;
    border-radius: 4px;
}

.hero-stats {
    position: absolute;
    bottom: 28px;
    right: var(--site-gutter);
    z-index: 3;
    display: flex;
    gap: 22px;
}

.hero-stat {
    text-align: center;
    animation: heroFadeIn 1.4s ease both;
}

.hero-stat-num {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 75px;
    font-weight: 700;
    color: var(--ochre-light);
    line-height: 1;
}

.hero-stat-label {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ── ABOUT STRIP ── */
.about-strip {
    background: var(--blue);
    padding: 28px var(--site-gutter);
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.about-strip p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    text-align: center;
    max-width: 680px;
}

.about-strip p span {
    color: var(--ochre-light);
    font-weight: 600;
}

/* ── IMPACT COUNTERS ── */
.impact-section {
    background: var(--off-white);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.impact-card {
    background: white;
    border-radius: var(--radius);
    padding: 24px 18px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border-bottom: 4px solid transparent;
}

.impact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--ochre);
}

.impact-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.ic-yellow {
    background: var(--ochre-pale);
}

.ic-blue {
    background: var(--blue-light);
}

.impact-num {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
}

.impact-num span {
    font-family: inherit;
    color: var(--ochre);
}

.impact-label {
    font-size: 14px;
    color: var(--gray);
    margin-top: 6px;
    font-weight: 500;
}

/* ── INITIATIVES ── */
.initiatives-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.init-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    background: white;
    cursor: pointer;
}

.init-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.init-card-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.init-card-img .ph-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.45);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.bg-edu {
    background: linear-gradient(135deg, #1A3A5C, #2E5F8A);
}

.bg-health {
    background: linear-gradient(135deg, #1A4A3A, #2E8A6A);
}

.bg-women {
    background: linear-gradient(135deg, #5C1A3A, #8A2E5F);
}

.bg-fund {
    background: linear-gradient(135deg, #5C3A0A, #C8861A);
}

.bg-elder {
    background: linear-gradient(135deg, #3A1A5C, #6A2E8A);
}

.bg-child {
    background: linear-gradient(135deg, #0A3A5C, #1A8AC8);
}

.init-card-body {
    padding: 18px;
}

.init-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--ochre-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}

.init-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 8px;
}

.init-card-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

.init-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ochre);
    font-size: 13px;
    font-weight: 600;
    margin-top: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: gap var(--transition);
}

.init-card-link:hover {
    gap: 10px;
}

/* ── VIDEO GALLERY (YouTube embeds) ── */
/* Grid: 4 equal columns → row 1 = videos 1–4, row 2 = 5–8, etc. */
.video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    min-width: 0;
}

.video-gallery-grid>.video-gallery-card {
    min-width: 0;
    max-width: none;
}

.video-gallery-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: white;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.video-gallery-card .video-embed-wrap {
    position: relative;
    width: 100%;
    min-width: 0;
    aspect-ratio: 16 / 9;
    background: #0f172a;
}

.video-gallery-card .video-embed-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-width: 0;
    border: 0;
}

/* Flex item: translateY on .fade-up paints outside flow and cards overlap — keep motion on inner content only via opacity. */
article.video-gallery-card.fade-up {
    opacity: 0;
    transform: none;
    transition: opacity 0.6s ease;
}

article.video-gallery-card.fade-up.visible {
    opacity: 1;
}

/* ── ABOUT PAGE ── */
.about-hero {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
    padding: var(--page-hero-pad);
    text-align: center;
    color: white;
}

.about-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 900;
    margin-bottom: 16px;
}

.about-hero h1 span {
    color: var(--ochre-light);
}

.about-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 620px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-img-block {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 460px;
    background: var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
}

.about-img-overlay {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    background: white;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow);
}

.about-badge {
    background: var(--ochre-pale);
    border-radius: 10px;
    padding: 8px 12px;
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--ochre);
}

.about-badge-text {
    line-height: 1.2;
}

.about-badge-text strong {
    display: block;
    font-weight: 600;
    color: var(--blue);
}

.about-badge-text span {
    font-size: 13px;
    color: var(--gray);
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.mvv-card {
    border-radius: var(--radius);
    padding: 22px 18px;
    background: white;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all var(--transition);
}

.mvv-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.mvv-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.mvv-m {
    background: linear-gradient(135deg, var(--ochre-pale), #ffe8a0);
}

.mvv-v {
    background: linear-gradient(135deg, var(--blue-light), #a8d4f5);
}

.mvv-c {
    background: linear-gradient(135deg, #fce4ec, #f8bbd9);
}

.mvv-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 10px;
}

.mvv-text {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

/* ── EVENTS ── */
.events-hero {
    background: var(--off-white);
    padding: var(--page-hero-pad);
}

.events-timeline {
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-light);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 0;
    margin-bottom: 32px;
    align-items: start;
}

.timeline-item:nth-child(odd) .tl-content {
    grid-column: 1;
    text-align: right;
    padding-right: 24px;
}

.timeline-item:nth-child(odd) .tl-empty {
    grid-column: 3;
}

.timeline-item:nth-child(even) .tl-content {
    grid-column: 3;
    padding-left: 24px;
}

.timeline-item:nth-child(even) .tl-empty {
    grid-column: 1;
}

.tl-dot {
    grid-column: 2;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.tl-dot-inner {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--ochre);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px rgba(200, 134, 26, 0.3);
}

.tl-card {
    background: white;
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.tl-card:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.01);
}

.tl-date {
    font-size: 12px;
    font-weight: 600;
    color: var(--ochre);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.tl-title {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 8px;
}

.tl-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

.tl-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.badge-health {
    background: #e8f5e9;
    color: #2e7d32;
}

.badge-edu {
    background: var(--blue-light);
    color: var(--blue);
}

.badge-drive {
    background: var(--ochre-pale);
    color: var(--ochre);
}

.badge-women {
    background: #fce4ec;
    color: #c2185b;
}

.badge-camp {
    background: #ede7f6;
    color: #512da8;
}

/* ── SUCCESS STORIES ── */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.story-card {
    background: white;
    border-radius: var(--radius);
    padding: 22px 18px;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.story-card::before {
    content: '"';
    position: absolute;
    top: 12px;
    right: 18px;
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    color: var(--ochre-pale);
    line-height: 1;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.story-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 12px;
}

.story-text {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 14px;
    font-style: italic;
}

.story-name {
    font-weight: 600;
    color: var(--blue);
    font-size: 15px;
}

.story-role {
    font-size: 12px;
    color: var(--ochre);
    font-weight: 500;
    margin-top: 2px;
}

.story-stars {
    color: var(--ochre-light);
    font-size: 14px;
    margin-bottom: 14px;
}

/* ── GALLERY ── */
.gallery-hero {
    background: var(--blue);
    padding: var(--page-hero-pad);
    text-align: center;
}

.gallery-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    color: white;
}

.gallery-hero h1 span {
    color: var(--ochre-light);
}

.gallery-hero p {
    color: rgba(255, 255, 255, 0.75);
    margin-top: 14px;
    font-size: 17px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    align-items: start;
}

.masonry-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    display: block;
    width: 100%;
    min-width: 0;
    box-shadow: var(--shadow);
    background: white;
}

.masonry-item-inner {
    width: 100%;
}

/* Grid: same issue as video flex — translateY on descendants overlaps neighbors. */
.masonry-item-inner.fade-up {
    opacity: 0;
    transform: none;
    transition: opacity 0.6s ease;
}

.masonry-item-inner.fade-up.visible {
    opacity: 1;
}

.masonry-item:hover .masonry-overlay {
    opacity: 1;
}

.masonry-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 58, 92, 0.55);
    opacity: 0;
    transition: opacity var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.masonry-overlay span {
    color: white;
    font-size: 28px;
}

.ph-img {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    padding: 12px 10px;
    box-sizing: border-box;
}

/* Gallery index: identical square thumbs per row; category title under each image. */
.masonry-grid .gallery-album-card {
    margin: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}

.masonry-grid .gallery-album-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--gray-light);
}

.masonry-grid .gallery-album-thumb--empty {
    min-height: 0;
}

.masonry-grid .gallery-album-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.masonry-grid .gallery-album-category {
    margin: 0;
    padding: 12px 12px 14px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(14px, 2.2vw, 17px);
    font-weight: 700;
    color: var(--charcoal);
    text-align: center;
    line-height: 1.35;
    background: var(--off-white);
    border-top: 1px solid rgba(26, 58, 92, 0.08);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Emoji / icon row */
.ph-img>span:first-of-type {
    line-height: 1;
    flex-shrink: 0;
}

/* Album title (second span) — must stay readable on gradients */
.ph-img>span:last-of-type {
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(11px, 2.4vw, 13px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    max-width: 96%;
    line-height: 1.35;
}

.ph-img>span:only-of-type {
    color: rgba(255, 255, 255, 0.96);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.h-tall {
    height: 280px;
}

.h-mid {
    height: 200px;
}

.h-short {
    height: 150px;
}

.bg-g1 {
    background: linear-gradient(135deg, #1A3A5C, #2E5F8A);
}

.bg-g2 {
    background: linear-gradient(135deg, #5C3A0A, #C8861A);
}

.bg-g3 {
    background: linear-gradient(135deg, #1A4A3A, #2E8A6A);
}

.bg-g4 {
    background: linear-gradient(135deg, #3A1A5C, #6A2E8A);
}

.bg-g5 {
    background: linear-gradient(135deg, #5C1A1A, #8A2E2E);
}

.bg-g6 {
    background: linear-gradient(135deg, #1A3A1A, #2E7A2E);
}

.bg-g7 {
    background: linear-gradient(135deg, #3A2A1A, #7A6A3A);
}

.bg-g8 {
    background: linear-gradient(135deg, #1A2A3A, #3A5A6A);
}

.bg-g9 {
    background: linear-gradient(135deg, #2A1A1A, #5A2A2A);
}

.album-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.album-back-btn {
    background: var(--blue-light);
    color: var(--blue);
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.album-back-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.album-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.album-photo-card {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--off-white);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all var(--transition);
    aspect-ratio: 1 / 1;
}

.album-photo-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.album-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.image-modal.open {
    display: flex;
}

.image-modal-content {
    position: relative;
    max-width: 92vw;
    max-height: 84vh;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.image-modal-content img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 84vh;
    object-fit: contain;
    background: #111;
}

.modal-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.18);
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: background var(--transition);
}

.modal-btn:hover {
    background: rgba(255, 255, 255, 0.34);
}

.modal-prev {
    left: 18px;
}

.modal-next {
    right: 18px;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.18);
    color: white;
    font-size: 22px;
    cursor: pointer;
    transition: background var(--transition);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.34);
}

/* ── DONATE PAGE ── */
.donate-hero {
    background: linear-gradient(135deg, var(--blue) 0%, #0f2540 100%);
    padding: 88px var(--site-gutter) 44px;
    text-align: center;
}

.donate-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 900;
    color: white;
}

.donate-hero h1 span {
    color: var(--ochre-light);
}

.donate-hero p {
    color: rgba(255, 255, 255, 0.75);
    margin-top: 14px;
    font-size: 17px;
    max-width: 560px;
    margin-inline: auto;
}

.donate-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}

.donate-form-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-lg);
}

.donate-form-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    color: var(--blue);
    margin-bottom: 18px;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 0;
}

.amt-btn {
    padding: 12px;
    border-radius: 10px;
    border: 2px solid var(--gray-light);
    background: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--charcoal);
    transition: all var(--transition);
}

.amt-btn.selected,
.amt-btn:hover {
    border-color: var(--ochre);
    background: var(--ochre-pale);
    color: var(--ochre);
}


.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--gray-light);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--charcoal);
    background: var(--off-white);
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ochre);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.hidden {
    display: none;
}

.field-error {
    margin-top: 6px;
    font-size: 12px;
    color: #d14343;
    min-height: 0;
    display: none;
}

.field-error.field-error--show {
    display: block;
}

.captcha-label {
    font-weight: 600;
    font-size: 15px;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.captcha-image-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.captcha-image-frame {
    border: 1px solid #c5d4e0;
    border-radius: 10px;
    padding: 6px 8px;
    background: linear-gradient(180deg, #eef6fc 0%, #e4f0fa 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.captcha-image {
    display: block;
    border-radius: 6px;
    max-width: 100%;
    height: auto;
}

.captcha-refresh-btn {
    flex-shrink: 0;
    padding: 10px 18px;
    border-radius: 8px;
    border: 2px solid var(--ochre);
    background: transparent;
    color: var(--ochre);
    font-family: 'Source Sans 3', 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

.captcha-refresh-btn:hover {
    background: rgba(200, 134, 26, 0.12);
    color: var(--ochre-light);
}

.captcha-input {
    width: 100%;
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: var(--radius);
    border: 1px solid #d8e2eb;
    font-size: 15px;
    font-family: 'Source Sans 3', sans-serif;
    box-sizing: border-box;
}

.captcha-input::placeholder {
    color: #9aa8b5;
}

.captcha-input:focus {
    outline: none;
    border-color: var(--ochre);
    box-shadow: 0 0 0 3px rgba(200, 134, 26, 0.2);
}

.req-star {
    color: #d14343;
    font-weight: 700;
}

.field-invalid {
    border-color: #d14343 !important;
    background: #fff5f5 !important;
}

.btn-full {
    width: 100%;
    padding: 15px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--ochre), var(--ochre-light));
    color: white;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(200, 134, 26, 0.35);
    margin-top: 8px;
}

.btn-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(200, 134, 26, 0.45);
}

.success-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-width: 720px;
    margin: 0 auto;
    padding: 28px 22px;
    text-align: center;
}

.success-card-icon {
    font-size: 52px;
    margin-bottom: 14px;
}

.success-card h2 {
    font-family: 'Playfair Display', serif;
    color: var(--blue);
    margin-bottom: 12px;
    font-size: clamp(28px, 4vw, 36px);
}

.success-card p {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.8;
}

.payment-methods {
    margin-top: 18px;
}

.payment-methods h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 14px;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.pay-card {
    border: 1.5px solid var(--gray-light);
    border-radius: 10px;
    padding: 14px 10px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
}

.pay-card:hover,
.pay-card.selected {
    border-color: var(--ochre);
    background: var(--ochre-pale);
}

.pay-card-icon {
    font-size: 22px;
    margin-bottom: 4px;
}

.pay-card-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--charcoal);
}

.donate-why {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 24px;
}

.donate-why h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--blue);
    margin-bottom: 14px;
}

.why-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.why-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--ochre-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.why-text h4 {
    font-weight: 600;
    font-size: 15px;
    color: var(--blue);
}

.why-text p {
    font-size: 13px;
    color: var(--gray);
    margin-top: 2px;
    line-height: 1.5;
}

.bank-details {
    margin-top: 18px;
    background: white;
    border-radius: var(--radius);
    padding: 18px;
    border-left: 4px solid var(--ochre);
}

.bank-details h4 {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    color: var(--blue);
    margin-bottom: 14px;
}

.bank-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-light);
    font-size: 14px;
}

.bank-row:last-child {
    border-bottom: none;
}

.bank-row span:first-child {
    color: var(--gray);
}

.bank-row span:last-child {
    font-weight: 500;
    color: var(--charcoal);
}

/* ── CONTACT PAGE ── */
.contact-hero {
    background: var(--off-white);
    padding: var(--page-hero-pad);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

.contact-form-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.contact-form-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    color: var(--blue);
    margin-bottom: 18px;
}

.contact-info-block {
    padding: 8px 0;
}

.contact-info-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    color: var(--blue);
    margin-bottom: 16px;
}

.contact-info-item {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.ci-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--ochre-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.ci-text h4 {
    font-weight: 600;
    color: var(--charcoal);
    font-size: 15px;
}

.ci-text p {
    font-size: 14px;
    color: var(--gray);
    margin-top: 2px;
    line-height: 1.5;
}

.map-placeholder {
    height: 220px;
    background: linear-gradient(135deg, var(--blue-light), #c8dff0);
    border-radius: var(--radius);
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
}

.map-placeholder span:first-child {
    font-size: 36px;
}

.map-placeholder span:last-child {
    font-size: 13px;
    color: var(--gray);
}

.social-row {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    border: 1.5px solid var(--gray-light);
}

.social-btn:hover {
    background: var(--ochre-pale);
    border-color: var(--ochre);
    transform: translateY(-2px);
}

/* ── PAGE HERO GENERIC ── */
.page-hero {
    padding: var(--page-hero-pad);
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
    text-align: center;
    color: white;
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    margin-bottom: 14px;
}

.page-hero h1 span {
    color: var(--ochre-light);
}

.page-hero p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.78);
    max-width: 560px;
    margin: 0 auto;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.works-progress-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.events-upcoming-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.stories-impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
}

/* ── FOOTER ── */
footer {
    background: var(--charcoal);
    color: white;
    padding: 48px var(--site-gutter) 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 28px;
    margin-bottom: 32px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-top: 10px;
}

.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    color: white;
}

.footer-social a:hover {
    background: var(--ochre);
}

.footer-col h4 {
    font-weight: 600;
    font-size: 14px;
    color: white;
    margin-bottom: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    cursor: pointer;
    transition: color var(--transition);
}

.footer-col ul li a:hover {
    color: var(--ochre-light);
}

.footer-donate-cta {
    background: linear-gradient(135deg, var(--ochre), var(--ochre-light));
    border-radius: var(--radius);
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

.footer-donate-cta h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: white;
}

.footer-donate-cta p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 4px;
}

.btn-white {
    background: white;
    color: var(--ochre);
    border: none;
    cursor: pointer;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-white:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* ── ANIMATIONS ── */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 {
    transition-delay: 0.05s;
}

.stagger-2 {
    transition-delay: 0.12s;
}

.stagger-3 {
    transition-delay: 0.19s;
}

.stagger-4 {
    transition-delay: 0.26s;
}

.stagger-5 {
    transition-delay: 0.33s;
}

.stagger-6 {
    transition-delay: 0.40s;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .initiatives-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .masonry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .album-photo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .focus-grid,
    .events-upcoming-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .works-progress-grid,
    .stories-impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0 12px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-logo img {
        width: 120px !important;
    }

    .nav-logo {
        max-width: calc(100vw - 64px);
        overflow: hidden;
    }

    section {
        padding: 40px var(--site-gutter);
    }

    .about-grid,
    .donate-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .mvv-grid {
        grid-template-columns: 1fr;
    }

    .focus-grid,
    .events-upcoming-grid,
    .works-progress-grid,
    .stories-impact-grid {
        grid-template-columns: 1fr;
    }

    .stories-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        display: none;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 var(--site-gutter);
    }

    .hero-title {
        font-size: clamp(30px, 8vw, 46px);
    }

    .hero-desc {
        font-size: 16px;
        max-width: 100%;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-item {
        grid-template-columns: 40px 1fr;
    }

    .timeline-item:nth-child(odd) .tl-content,
    .timeline-item:nth-child(even) .tl-content {
        grid-column: 2;
        text-align: left;
        padding-left: 20px;
        padding-right: 0;
    }

    .timeline-item:nth-child(odd) .tl-empty,
    .timeline-item:nth-child(even) .tl-empty {
        display: none;
    }

    .tl-dot {
        grid-column: 1;
    }

    .masonry-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .album-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-donate-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .initiatives-grid {
        grid-template-columns: 1fr;
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .donate-form-card,
    .contact-form-card {
        padding: 22px 18px;
    }

    .hero-btns {
        width: 100%;
    }

    .hero-btns .btn-primary,
    .hero-btns .btn-outline-white {
        width: 100%;
        justify-content: center;
    }

    .payment-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .amount-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Video library: keep 4-up until narrow phones; avoids single-column tablet layout. */
@media (max-width: 720px) {
    .video-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .video-gallery-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .impact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .float-donate {
        right: 16px;
        bottom: calc(16px + 4.25rem);
        margin-bottom: 10px;
        padding: 12px 16px;
        font-size: 13px;
    }

    .album-photo-grid {
        grid-template-columns: 1fr;
    }
}

/* CodeIgniter: single-page sections are full-width routes (no SPA .page hiding) */
main.site-main {
    display: block;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

a.float-donate {
    text-decoration: none;
    color: inherit;
}

a.masonry-item {
    text-decoration: none;
    color: inherit;
}

.footer-donate-cta a.btn-white {
    text-decoration: none;
}

/* ── Image load shimmer ── */
@keyframes img-shimmer-shift {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

.img-shimmer {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(90deg,
            var(--gray-light) 0%,
            var(--off-white) 35%,
            #ffffff 50%,
            var(--off-white) 65%,
            var(--gray-light) 100%);
    background-size: 220% 100%;
    animation: img-shimmer-shift 1.35s ease-in-out infinite;
}

.img-shimmer.is-loaded {
    animation: none;
    background: transparent;
}

.img-shimmer img {
    opacity: 0;
    transition: opacity 0.45s ease;
    position: relative;
    z-index: 1;
}

.img-shimmer.is-loaded img {
    opacity: 1;
}

.placeholder-hero>.img-shimmer,
.init-card-img>.img-shimmer,
.about-img-block>.img-shimmer,
.album-photo-card>.img-shimmer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.init-card-img .ph-label {
    z-index: 2;
}

.placeholder-hero>.placeholder-label {
    position: relative;
    z-index: 2;
}

.about-img-block>span {
    position: relative;
    z-index: 2;
}

.about-img-overlay {
    z-index: 3;
}

.nav-logo>.img-shimmer {
    display: inline-block;
    line-height: 0;
    vertical-align: middle;
}

.image-modal-content>.img-shimmer {
    width: 100%;
    min-height: 120px;
}

/* —— Admin dashboard (internal) —— */
.admin-body {
    margin: 0;
    min-height: 100vh;
    background: var(--off-white);
    font-family: 'Source Sans 3', system-ui, sans-serif;
    color: var(--charcoal);
}

.admin-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px var(--site-gutter) 48px;
}

.admin-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 32px;
}

.admin-login-card {
    max-width: 400px;
    margin: 10vh auto 0;
}

.admin-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin: 0 0 20px;
    color: var(--blue);
}

.admin-error {
    color: #b42318;
    font-size: 0.95rem;
    margin: 0 0 16px;
}

.admin-setup-help .admin-error {
    margin-bottom: 12px;
}

.admin-setup-list {
    margin: 0 0 16px 1.1rem;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--charcoal);
}

.admin-setup-list code {
    font-size: 0.8rem;
    word-break: break-all;
}

.admin-setup-meta {
    font-size: 0.8rem;
    color: var(--gray);
    line-height: 1.5;
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid var(--gray-light);
}

.admin-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.admin-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    margin-bottom: 18px;
    box-sizing: border-box;
}

.admin-btn {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--ochre), var(--ochre-light));
    color: var(--charcoal);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
}

.admin-btn:hover {
    filter: brightness(1.03);
}

.admin-dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}

.admin-dash-header .admin-title {
    margin-bottom: 4px;
}

.admin-signed-in {
    margin: 0;
    font-size: 0.875rem;
    color: var(--gray);
}

.admin-link-out {
    color: var(--blue-mid);
    font-weight: 600;
    text-decoration: none;
}

.admin-link-out:hover {
    text-decoration: underline;
}

.admin-note {
    font-size: 0.875rem;
    color: var(--gray);
    margin: 0 0 24px;
}

.admin-counts {
    display: inline-block;
    margin-left: 8px;
    color: var(--charcoal);
    font-weight: 600;
}

.admin-section {
    margin-bottom: 40px;
}

.admin-section-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--blue);
    margin: 0 0 14px;
}

.admin-empty {
    color: var(--gray);
    font-size: 0.95rem;
}

.admin-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    background: var(--white);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.admin-table th,
.admin-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--gray-light);
    vertical-align: top;
}

.admin-table th {
    background: var(--ochre-pale);
    font-weight: 700;
    white-space: nowrap;
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-cell-msg {
    max-width: 280px;
    word-break: break-word;
}

.admin-cell-mono {
    font-family: ui-monospace, monospace;
    font-size: 0.75rem;
    max-width: 160px;
    word-break: break-all;
}