/* --- Variables & Reset --- */
:root {
    --primary-blue: #0f2d56;
    --primary-orange: #e3821b;
    --primary-red: #791706;
    --primary-black: #111111;
    --dark-green: #0f2d56;
    --text-grey: #5b636a;
    --text-gray: #5b636a;
    --bg-light: #ffffff;
    --bg-cream: #f8f6f2;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 999px;
    --shadow-sm: 0 6px 16px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 14px 28px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: var(--font-body);
    color: #2b2f33;
    overflow-x: hidden;
    background: url("images/World_map.svg") no-repeat center center fixed;
    background: linear-gradient(rgba(248, 246, 242, 0.97), rgba(248, 246, 242, 0.97)), url("images/World_map.svg") no-repeat center center fixed;
    background-size: cover;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(227, 130, 27, 0.6);
    outline-offset: 3px;
}

ul {
    list-style: none;
}

/* Skip link (accessibility) */
.skip-link {
    position: absolute;
    top: 10px;
    left: 10px;
    transform: translateY(-150%);
    background: #ffffff;
    color: #111;
    padding: 10px 16px;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    transition: transform 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
    transform: translateY(0);
    outline: 3px solid var(--primary-orange);
    outline-offset: 2px;
}

/* Utility: Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 1. Top Bar --- */
.top-bar {
    background-color: var(--dark-green);
    background-color: var(--primary-blue);
    color: #e0e0e0;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1001;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tb-left p {
    margin: 0;
    display: flex;
    align-items: center;
}

.tb-left p i {
    margin-right: 8px;
    color: var(--primary-red);
}

.tb-cta-link {
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 14px;
    border-radius: 20px;
    margin-left: 12px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.tb-cta-link:hover {
    background: var(--primary-orange);
    color: white;
    transform: translateY(-1px);
}

.tb-right {
    display: flex;
    gap: 25px;
    align-items: center;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item i {
    color: var(--primary-orange);
    font-size: 14px;
}

.info-item span {
    opacity: 0.9;
    transition: opacity 0.3s;
}

.info-item:hover span {
    opacity: 1;
}

.social-icons {
    display: flex;
    gap: 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 25px;
    margin-left: 5px;
}

.social-icons a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #fff;
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
    font-size: 12px;
}

.social-icons a:hover {
    background: var(--primary-orange);
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .top-bar {
        padding: 6px 0;
        font-size: 11px;
    }

    .tb-left p span {
        display: none;
    }

    .tb-cta-link {
        font-size: 9px;
        padding: 2px 8px;
        margin-left: 8px;
    }

    .tb-right {
        gap: 15px;
    }

    .info-item {
        font-size: 10px;
    }

    .social-icons {
        gap: 4px;
        border-left: none;
        padding-left: 15px;
        margin-left: 0;
    }

    .social-icons a {
        width: 22px;
        height: 22px;
        font-size: 9px;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-wrap: wrap;
        gap: 8px;
    }

    .tb-right {
        gap: 10px;
    }

    .info-item span {
        display: none;
    }

    .social-icons {
        padding-left: 10px;
    }
}

/* --- 2. Navbar --- */
/* Navbar */
.navbar {
    padding: 10px 0;
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    flex-wrap: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 20px;
    color: #333;
    color: var(--primary-blue);
}

.logo i {
    color: var(--primary-red);
}

.logo-img {
    height: 45px;
    height: 45px;
    width: auto;
}

/* Mobile First Nav Links */
.nav-links {
    display: none;
    /* Hidden by default on mobile */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #eee;
    gap: 0;
}

.nav-links.mobile-open {
    display: flex;
}

.nav-links li {
    width: 100%;
    border-bottom: 1px solid #f5f5f5;
}

.nav-links li:last-child {
    border-bottom: none;
}

.nav-links a {
    display: block;
    padding: 15px 0;
    font-size: 16px;
    font-weight: 500;
    color: #555;
    color: var(--primary-blue);
    text-transform: uppercase;
}

.nav-links a:hover,
.nav-links .active {
    color: var(--primary-orange);
}

/* Mobile Toggle (Default) */
.nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-green);
    color: var(--primary-blue);
    cursor: pointer;
}

/* Hide All Navbar Buttons on Mobile by default */
.navbar .btn {
    display: none;
}

/* Desktop Styles (Min-width 900px) */
@media (min-width: 900px) {
    .navbar {
        padding: 20px 0;
        padding: 12px 0;
    }

    .logo-img {
        height: 50px;
        height: 80px;
        height: 60px;
    }

    .nav-toggle {
        display: none;
    }

    .nav-links {
        display: flex !important;
        position: static;
        flex-direction: row;
        padding: 0;
        box-shadow: none;
        border: none;
        gap: 24px;
        background: transparent;
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    .nav-links li {
        width: auto;
        border: none;
    }

    .nav-links a {
        padding: 0;
        font-size: 14px;
        position: relative;
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -5px;
        left: 0;
        background-color: var(--primary-orange);
        transition: width 0.3s ease;
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
        width: 100%;
    }

    .navbar .btn {
        display: inline-block;
    }
}


/* Buttons */
.btn {
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

@keyframes pulse-orange {
    0% {
        box-shadow: 0 0 0 0 rgba(251, 155, 40, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(251, 155, 40, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(251, 155, 40, 0);
    }
}

.btn-orange {
    background-color: var(--primary-orange);
    color: white;
    animation: pulse-orange 2s infinite;
}

.btn-outline {
    background: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}

.btn-outline:hover {
    background: var(--primary-orange);
    color: #fff;
}

.btn-red {
    background-color: var(--primary-red);
    color: white;
    animation: pulse-red 2s infinite;
}

.btn-red:hover {
    background-color: #b71c1c;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(211, 47, 47, 0); }
    100% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0); }
}

/* --- Consolidated inline styles moved from HTML files --- */

/* Email tooltip (used across pages) */
[data-type="email-icon"] {
    position: relative;
}
[data-type="email-icon"]::after {
    content: attr(data-email);
    position: absolute;
    top: 140%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, top 0.3s;
    z-index: 1000;
    pointer-events: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
[data-type="email-icon"]:hover::after {
    opacity: 1;
    visibility: visible;
    top: 120%;
}

/* WhatsApp float/button */
.whatsapp-float {
    position: fixed;
    bottom: 120px;
    right: 40px;
    background-color: #25d366;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}
.whatsapp-float:hover { background-color: #128c7e; transform: scale(1.1); }

/* --- Mission Sidebar Widget --- */
.mission-sidebar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1100;
    display: flex;
    align-items: center;
    pointer-events: auto;
}

.mission-sidebar.open .sidebar-panel {
    transform: translate(0, -50%);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
    .mission-sidebar:hover .sidebar-panel {
        transform: translate(0, -50%);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

.sidebar-toggle {
    background: linear-gradient(180deg, rgba(121, 23, 6, 0.68), rgba(15, 45, 86, 0.68));
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-right: none;
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 15px 8px;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: -4px 4px 12px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-toggle:hover {
    background: linear-gradient(180deg, rgba(163, 49, 31, 0.75), rgba(28, 67, 120, 0.75));
}

.mission-sidebar.open .sidebar-toggle {
    background: linear-gradient(180deg, rgba(163, 49, 31, 0.75), rgba(28, 67, 120, 0.75));
}

@media (hover: hover) and (pointer: fine) {
    .mission-sidebar:hover .sidebar-toggle {
        background: linear-gradient(180deg, rgba(163, 49, 31, 0.75), rgba(28, 67, 120, 0.75));
    }
}

.sidebar-toggle .toggle-text {
    transform: rotate(180deg);
}

.sidebar-panel {
    position: absolute;
    top: 50%;
    right: 0;
    width: min(340px, calc(100vw - 18px));
    height: min(72vh, 520px);
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.22));
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-right: none;
    box-shadow: var(--shadow-md);
    border-radius: 16px 0 0 16px;
    transform: translate(102%, -50%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    flex-direction: column;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.sidebar-header h3 {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-size: 18px;
    margin: 0;
}

.sidebar-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #888;
    cursor: pointer;
    transition: color 0.3s ease;
}

.sidebar-close:hover {
    color: var(--primary-red);
}

.sidebar-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-body::-webkit-scrollbar {
    width: 8px;
}

.sidebar-body::-webkit-scrollbar-thumb {
    background: rgba(15, 45, 86, 0.25);
    border-radius: 999px;
}

.sb-mission-card {
    background: rgba(255, 255, 255, 0.52);
    border-radius: var(--radius-md);
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    position: relative;
}

.sb-badge.recent {
    background-color: #e0f2fe;
    color: #0ea5e9;
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.sb-mission-card h4 {
    font-size: 15px;
    color: var(--primary-blue);
    margin: 0 0 5px;
    font-weight: 600;
}

.sb-desc {
    font-size: 13px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 12px;
}

.sb-date {
    font-size: 12px;
    color: #6b7280;
    margin: 0 0 8px;
}

.sb-date i {
    color: var(--primary-orange);
}

.btn-sb-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 45, 86, 0.84);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-sb-action:hover {
    background: var(--primary-orange);
    transform: translateY(-1px);
}

.sidebar-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(0,0,0,0.08);
    text-align: center;
}

.sidebar-footer a {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-footer a:hover {
    color: var(--primary-orange);
}

@media (max-width: 768px) {
    body.mission-sidebar-open {
        overflow: hidden;
    }

    .mission-sidebar {
        top: 50%;
        bottom: auto;
        right: 12px;
        transform: translateY(-50%);
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
    }

    .sidebar-toggle {
        writing-mode: horizontal-tb;
        text-orientation: initial;
        border-radius: 999px;
        padding: 0 15px;
        min-height: 46px;
        letter-spacing: 0.5px;
        border-right: 1px solid rgba(255, 255, 255, 0.26);
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
        font-size: 12px;
        gap: 8px;
    }

    .sidebar-toggle .toggle-text {
        transform: none;
        font-size: 12px;
    }

    .sidebar-panel {
        position: fixed;
        top: 50%;
        left: auto;
        right: 12px;
        bottom: auto;
        width: min(92vw, 420px);
        max-width: 420px;
        height: min(68dvh, 540px);
        border-radius: 18px;
        border-right: 1px solid rgba(255, 255, 255, 0.35);
        transform: translate(14px, -50%) scale(0.98);
        transform-origin: center right;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .mission-sidebar.open .sidebar-panel {
        transform: translate(0, -50%) scale(1);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .sidebar-header {
        padding: 14px 16px;
    }

    .sidebar-header h3 {
        font-size: 17px;
    }

    .sidebar-body {
        padding: 14px;
        gap: 12px;
    }

    .sb-mission-card {
        padding: 13px;
        border-color: rgba(255, 255, 255, 0.5);
    }

    .sb-mission-card h4 {
        font-size: 14px;
        line-height: 1.35;
        margin-bottom: 6px;
    }

    .sb-date {
        font-size: 11.5px;
        margin-bottom: 8px;
    }

    .sb-desc {
        font-size: 12.5px;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .btn-sb-action {
        width: 100%;
        min-height: 34px;
        font-size: 12px;
    }

    .sidebar-footer {
        padding: 12px 16px;
    }

    .sidebar-footer a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
}

@media (max-width: 420px) {
    .mission-sidebar {
        right: 8px;
    }

    .sidebar-toggle {
        padding: 0 12px;
        min-height: 42px;
        gap: 6px;
    }

    .sidebar-panel {
        left: auto;
        right: 8px;
        width: calc(100vw - 16px);
        max-width: none;
        height: min(70dvh, 520px);
    }

    .sidebar-header h3 {
        font-size: 16px;
    }
}
/* whatsapp link color utility (for header links) */
.whatsapp-link { color: #25d366; }
.whatsapp-meta { color: #25d366; font-weight: 600; font-size: 0.9em; margin-top: 5px; display: inline-block; }

/* Newsletter footer small utilities */
.newsletter-desc { font-size: 14px; margin-bottom: 15px; color: #cbd5d4; }
.newsletter-input { width: 100%; padding: 12px; border-radius: var(--radius-md); border: none; margin-bottom: 10px; font-family: 'Inter', sans-serif; }
.newsletter-btn { width: 100%; padding: 10px; font-size: 14px; border: none; cursor: pointer; }
.newsletter-success { display: none; margin-top: 10px; font-size: 14px; color: #cbd5d4; }
.newsletter-form.is-submitted .newsletter-success { display: block; }
.privacy-note { font-size: 12px; color: #cbd5d4; margin-top: 8px; }

/* Contact form (moved from contact.html) */
#contact-form { background-color: #ffffff; padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid rgba(0, 0, 0, 0.05); }
.form-row { display:flex; gap:20px; }
.form-group { flex:1; margin-bottom:20px; }
#contact-form input, #contact-form textarea { width:100%; padding:15px; border:1px solid #e0e0e0; border-radius: var(--radius-md); font-family:'Inter', sans-serif; font-size:15px; background-color:#f8f9fa; transition: all 0.3s ease; box-sizing:border-box; }
#contact-form input:focus, #contact-form textarea:focus { border-color:#e67e22; background-color:#fff; outline:none; box-shadow: 0 0 0 4px rgba(230,126,34,0.1); }
#contact-form textarea { min-height:150px; resize:vertical; }
#contact-form button[type="submit"] { width:100%; padding:16px; font-size:16px; font-weight:600; border-radius: var(--radius-pill); cursor:pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; background-color:#ef4444; color:white; border:none; text-transform:uppercase; letter-spacing:0.5px; }
#contact-form button[type="submit"]:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); background-color:#d35400; }

/* Board slider */
.board-slider { display:flex; overflow-x:auto; gap:30px; padding:20px 10px; -webkit-overflow-scrolling: touch; }
.board-slider .board-member { flex:0 0 280px; background:white; padding:30px 20px; border-radius: var(--radius-md); text-align:center; box-shadow: var(--shadow-sm); border:1px solid rgba(0, 0, 0, 0.05); transition: transform 0.3s ease; }
.board-slider .board-member img { width:120px; height:120px; border-radius:50%; object-fit:cover; margin-bottom:15px; }
.slider-nav { position:absolute; top:50%; transform: translateY(-50%); width:45px; height:45px; border-radius:50%; background:white; border:1px solid #eee; box-shadow: var(--shadow-sm); cursor:pointer; z-index:10; display:flex; align-items:center; justify-content:center; color:#333; transition:all 0.3s ease; }
.slider-nav:hover { background:#ea580c; color:white; border-color:#ea580c; }
.slider-nav.prev { left:-20px; }
.slider-nav.next { right:-20px; }
@media (max-width:768px) { .slider-nav { display:none; } }

/* Gallery specific */
.vh-75 { height:75vh; }
.min-vh-75 { min-height: 75vh; }
.z-0 { z-index: 0; }
.z-1 { z-index: 1; }
.object-fit-cover { object-fit: cover; }
.bg-overlay-dark { background: rgba(0,0,0,0.5); }
.tracking-2 { letter-spacing: 2px; }
.metallic-gold { background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c); -webkit-background-clip:text; -webkit-text-fill-color:transparent; display:inline-block; }
.btn-gold { background:#b38728; color:#fff; border:none; transition: all 0.3s ease; }
.btn-gold:hover { background:#8c6a04; color:#fff; transform: translateY(-2px); box-shadow:0 10px 20px rgba(0,0,0,0.2); }

/* Gallery Hero Swiper */
.hero-swiper-container {
    overflow: hidden;
    position: relative;
    height: 450px;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.hero-swiper-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: hero-scroll 40s linear infinite;
}

.hero-swiper-track:hover {
    animation-play-state: paused;
}

@keyframes hero-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero-card-item {
    flex-shrink: 0;
    width: 280px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}
.hero-card-item:hover { transform: translateY(-10px); }
.hero-card-item img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); color: white; padding: 25px 15px 15px; font-weight: 600; font-size: 1rem; }

/* Printable report & newsletter-specific */
.report-header { background-color: #6b1405; color:white; padding:60px 40px; text-align:center; position:relative; overflow:hidden; }
.image-container img { width:100%; height:auto; max-height:350px; object-fit:cover; display:block; }
.bible-verse { background:#fdf2f2; border-radius:8px; padding:25px; font-style:italic; color:#6b1405; margin:30px 0; text-align:center; border: 1px solid #fecaca; }

/* Utility hidden class */
.hidden { display: none !important; }

/* small responsive footer tweaks used across pages */
@media (max-width: 768px) {
    .footer-content, .footer-section { text-align: center; }
    .footer-social { justify-content: center; display: flex; }
}

.btn-orange:hover {
    background-color: #e58a1f;
}

.btn-black {
    background-color: var(--primary-black);
    color: white;
    padding: 15px 35px;
}

.btn-black:hover {
    background-color: #333;
}

.btn-primary {
    background-color: var(--primary-black);
    color: #fff;
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 600;
}

/* --- 3. Hero Section --- */
.hero-wrapper {
    padding: 20px 0 40px 0;
}

.hero-card {
    background-color: var(--dark-green);
    border-radius: 30px;
    display: flex;
    overflow: hidden;
    /* Clips the image corners */
    min-height: 320px;
    /* reduced from 420px to decrease hero height */
    position: relative;
    color: white;
}

/* Left Content */
.hero-text {
    flex: 1;
    padding: 40px 30px;
    /* reduced padding to tighten vertical space */
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sub-headline {
    color: var(--primary-orange);
    font-family: 'Nothing You Could Do', cursive;
    /* Fallback used here, ideally a handwriting font */
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-style: normal;
    font-weight: 600;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 700;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.highlight {
    background: linear-gradient(90deg, var(--primary-orange), #1037b8, #db962e, var(--primary-orange));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 8s linear infinite;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.highlight.underline {
    text-decoration: underline;
    text-decoration-color: var(--primary-orange);
    text-underline-offset: 8px;
    color: #fff;
    /* Keep text white, underline orange */
}

.hero-text p {
    color: #cbd5d4;
    font-size: 16px;
    line-height: 1.75;
    max-width: 450px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* --- Hero Bottom Features Bar --- */
.hero-features-bar {
    width: 100%;
    background-color: rgba(253, 250, 246, 0.95);
    /* Slightly transparent cream */
    border-top: 1px solid #eee;
    padding: 25px 20px;

    /* ENABLE THIS to make it sit at the bottom of the hero image */
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
    /* Ensures it sits ON TOP of the hero image */
}

.feature-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    justify-content: center;
}

/* Updated Icon Styling for SVGs */
.feature-icon svg {
    width: 40px;
    /* Perfect icon size */
    height: 40px;
    stroke: #f57542;
    /* Nissi Orange */
    stroke-width: 1.5;
}

.feature-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #003366;
    margin: 0 0 4px 0;
}

.feature-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
}

.feature-divider {
    width: 1px;
    height: 40px;
    background-color: #e0e0e0;
    margin: 0 10px;
}

/* Mobile Fix */
@media (max-width: 768px) {
    .hero-features-bar {
        position: relative;
        /* On mobile, let it sit below the image naturally */
    }

    .feature-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .feature-divider {
        display: none;
    }

    .feature-item {
        justify-content: flex-start;
    }
}

/* Right Image */
.hero-image-container {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Optional: Overlay gradient to blend image into background like in design */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 20%;
    height: 100%;
    background: linear-gradient(to right, var(--dark-green), transparent);
}



/* Hero Section Mobile */
@media (max-width: 992px) {
    .hero-wrapper {
        padding: 15px 0 30px 0;
    }

    .hero-card {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        border-radius: 20px;
    }

    .hero-text {
        padding: 30px 20px;
        align-items: center;
    }

    .hero-text h1 {
        font-size: 36px;
        line-height: 1.3;
    }

    .hero-text p {
        font-size: 15px;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero-image-container {
        height: 250px;
        order: -1;
    }

    .image-overlay {
        display: none;
    }
}

/* --- Index Page Specifics (Moved from inline) --- */

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    80% {
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Performance hint: narrow will-change for key animated elements */
.single-image-container img,
.program-card img,
.feature-card,
.board-track,
.hero-text h1,
.hero-text p,
.hero-text .btn,
.dot {
    will-change: transform, opacity;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0 50px;
    background-color: transparent;
    background-image: radial-gradient(circle at top left, rgba(227, 130, 27, 0.12), rgba(255, 255, 255, 0) 45%),
        radial-gradient(circle at bottom right, rgba(15, 45, 86, 0.12), rgba(255, 255, 255, 0) 50%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 40px;
    text-align: center;
}

@media (min-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr 1.2fr;
        text-align: left;
        gap: 50px;
    }
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    display: inline-block;
    color: var(--primary-orange);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 14px;
    background: rgba(227, 130, 27, 0.12);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(227, 130, 27, 0.2);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    font-weight: 600;
    color: var(--primary-blue);
}

.hero-proof span {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    font-size: 13px;
}

.hero-quick-links {
    margin-top: 16px;
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 14px;
}

.hero-quick-links a {
    color: var(--primary-blue);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.hero-quick-links a:hover {
    border-bottom-color: var(--primary-orange);
}

@media (min-width: 992px) {
    .hero-proof,
    .hero-quick-links {
        justify-content: flex-start;
    }
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 25px;
    opacity: 0;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-text p {
    color: #444;
    font-size: 18px;
    max-width: 550px;
    margin-bottom: 35px;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-text .btn {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

/* Decorative Dots */
.dot {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    opacity: 0;
    animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.8s forwards;
}

.dot-blue {
    width: 12px;
    height: 12px;
    background-color: #3498db;
    top: 180px;
    left: -20px;
}

.dot-orange {
    width: 20px;
    height: 20px;
    background-color: var(--primary-orange);
    top: -30px;
    right: 80px;
}

.dot-red {
    width: 20px;
    height: 20px;
    background-color: var(--primary-red);
    top: -30px;
    right: 80px;
}

.dot-green {
    width: 10px;
    height: 10px;
    background-color: #2ecc71;
    bottom: 50px;
    right: 20%;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.single-image-container {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeInScale 1s ease-out 0.3s forwards;
}

.single-image-container img {
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
}

/* Features Section */
.features {
    padding: 80px 0;
    text-align: center;
    background: transparent;
}

.latest-missions,
.donation-breakdown,
.partners {
    padding: 80px 0;
    background: transparent;
}

.latest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.latest-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 24px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    backdrop-filter: blur(10px); /* Glassy effect */
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
}

.latest-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(15, 45, 86, 0.2);
}

.latest-date {
    background: transparent;
    border: 1px solid #5a0c0c;
    border-radius: var(--radius-md);
    padding: 12px 14px;
    text-align: center;
    min-width: 80px;
    align-self: start;
}

.latest-date .month {
    display: block;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #c2410c;
    font-weight: 700;
}

.latest-date .day {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #9a3412;
}

.latest-date .year {
    display: block;
    font-size: 12px;
    color: #9a3412;
    opacity: 0.8;
}

.latest-body h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark-green);
}

.latest-body p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-grey);
    margin-bottom: 14px;
}

.latest-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    font-size: 0.9rem;
    color: #5c6470;
    margin-bottom: 16px;
}

.latest-meta i {
    color: var(--primary-orange);
    margin-right: 6px;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.breakdown-card {
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Glassy effect */
    border-radius: var(--radius-lg); /* Rounded corners */
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 24px;
    text-align: left;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.breakdown-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.breakdown-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--dark-green);
}

.breakdown-card p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-grey);
    margin-bottom: 12px;
}

.breakdown-value {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-orange);
}

.partners-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.partner-pill {
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    color: var(--primary-blue);
}

@media (max-width: 768px) {
    .latest-card {
        grid-template-columns: 1fr;
    }

    .latest-date {
        width: fit-content;
    }
}

.section-header .subtitle {
    color: var(--primary-orange);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 2px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 44px;
    color: var(--dark-green);
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.15;
    font-weight: 700;
}

.section-header p {
    color: #555;
    font-size: 16px;
    max-width: 650px;
    margin: 0 auto 48px;
    line-height: 1.75;
    text-align: center;
    font-weight: 400;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Glassy effect */
    padding: 40px 25px;
    border-radius: var(--radius-lg); /* Rounded corners */
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-bottom-color 0.3s ease;
    border-bottom: 3px solid transparent;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.feature-card:nth-child(1) {
    animation-delay: 0.5s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.7s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.9s;
}

.feature-card:nth-child(4) {
    animation-delay: 1.1s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-bottom-color: var(--primary-orange);
}

.icon-circle {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    color: var(--primary-orange);
    border: 2px solid #fbe6d4;
    border-radius: 50%;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.icon-circle::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fbe6d4;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    z-index: -1;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.feature-card:hover .icon-circle {
    background-color: var(--primary-orange);
    color: white;
    border-color: var(--primary-orange);
    transform: scale(1.1);
}

.feature-card:hover .icon-circle::after {
    opacity: 0;
    transform: scale(0.8);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 18px;
    color: var(--dark-green);
    font-weight: 700;
    line-height: 1.3;
}

.feature-card p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    font-weight: 400;
}

/* Responsive Adjustments for Index */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 48px;
    }

    .hero-text p {
        margin: 0 auto 30px;
    }

    .hero-visual {
        height: 500px;
        margin-top: 30px;
    }

    .single-image-container img {
        width: 120%;
        height: 120%;
    }

    /* Mobile Nav Specifics */
    .nav-links.mobile-open {
        display: flex !important;
        position: absolute;
        top: 72px;
        top: 100%;
        margin-top: 15px;
        right: 20px;
        left: auto;
        width: auto;
        background: #fff;
        padding: 14px 18px;
        border-radius: 10px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        flex-direction: column;
        gap: 12px;
        z-index: 999;
    }

    .nav-links.mobile-open li {
        border: none;
        width: auto;
    }

    .nav-links.mobile-open li a {
        text-transform: none;
        color: #333;
        padding: 5px 10px;
    }
}

/* --- Impact Section Styles --- */
.impact-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.impact-section .container {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 250px));
    gap: 25px;
    justify-content: center;
    max-width: 850px;
}

/* --- General Card Styling --- */
.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    /* Slight lift on hover */
}

/* Image Wrapper */
.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The Floating Circle Icon */
.card-icon {
    position: absolute;
    bottom: -30px;
    /* Pulls half the icon below the image */
    left: 50%;
    transform: translateX(-50%);

    width: 80px;
    height: 80px;
    background-color: #f57542;
    /* The Orange/Gold you liked */
    border: 5px solid white;
    /* White ring around it */
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Card Text Content */
.card-content {
    padding: 50px 20px 30px;
    /* Extra top padding to clear the icon */
}

.card-content h3 {
    color: #003366;
    /* Nissi Deep Blue */
    margin-bottom: 15px;
    font-size: 22px;
}

.card-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* --- The "Call to Action" (3rd) Card --- */
.cta-card {
    background-color: #1a2b3c;
    /* Dark background from screenshot */
    background-image: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('images/World_map.svg');
    /* Optional background image overlay */
    background-size: cover;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-content {
    padding: 40px;
    text-align: left;
}

.cta-content h3 {
    color: white;
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 15px;
}

.cta-content p {
    color: #ddd;
    margin-bottom: 30px;
}

.arrow-graphic {
    font-size: 40px;
    color: #f57542;
    margin-bottom: 10px;
    text-align: right;
    transform: rotate(90deg);
    /* Just a simple CSS arrow trick */
}

.join-btn {
    background-color: #f57542;
    /* Nissi Orange */
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}

.join-btn:hover {
    background-color: #e06030;
    /* Darker orange on hover */
}

/* Extra small screens (phones) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 28px;
        line-height: 1.2;
    }

    .hero-text {
        padding: 25px 15px;
    }

    .hero-buttons .btn {
        padding: 12px 20px;
        font-size: 13px;
    }

    .card-image {
        height: 200px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        bottom: -20px;
    }

    .card-content {
        padding: 40px 15px 20px;
    }

    .card-content h3 {
        font-size: 18px;
    }

    .cta-content h3 {
        font-size: 20px;
    }

    .join-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .footer-logo {
        font-size: 18px;
    }

    .footer-logo-img {
        height: 30px;
    }

    .modal-content {
        width: 98%;
        margin: 20% auto;
    }

    .close {
        font-size: 24px;
        right: 15px;
        top: 10px;
    }
}

/* Mobile button improvements */
@media (max-width: 768px) {
    .btn {
        padding: 12px 24px;
        font-size: 13px;
        width: 100%;
        text-align: center;
        display: block;
    }

    .hero-buttons {
        width: 100%;
    }

    .hero-buttons .btn {
        margin-bottom: 10px;
    }

    .btn-text {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: #fff;
    }
}

/* --- About Page Styles --- */
.about-page {
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url("images/World_map.svg") no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
}

.about-overlay {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
}

.back-link {
    margin-bottom: 30px;
}

.back-link a {
    color: var(--primary-orange);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: var(--dark-green);
}

.about-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--dark-green);
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.about-content {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 900px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

.glassy-text {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glassy-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.glassy-text h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 20px;
    position: relative;
}

.glassy-text h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 2px;
}

.glassy-text p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-gray);
    margin: 0;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
    .impact-section {
        padding: 40px 15px;
    }

    .impact-section .container {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 20px;
    }

    .card-content {
        padding: 30px 20px 25px;
    }

    .card-content h3 {
        font-size: 20px;
    }

    .card-content p {
        font-size: 14px;
    }

    .cta-content {
        padding: 30px 20px;
    }

    .cta-content h3 {
        font-size: 24px;
    }

    .about-title {
        font-size: 36px;
    }

    .glassy-text {
        padding: 25px 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .glassy-text h2 {
        font-size: 22px;
    }

    .founder-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .founder-image {
        margin-bottom: 20px;
    }

    .founder-photo {
        width: 150px;
        height: 180px;
    }
}

/* Ensure full-width sections span the grid */
.founder-section,
.board-section {
    grid-column: 1 / -1;
}

/* --- Founder Section Styles --- */
.founder-section {
    margin-top: 40px;
}

.founder-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 600;
    color: var(--dark-green);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.founder-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 2px;
}

.founder-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.founder-image {
    flex-shrink: 0;
}

.founder-photo {
    width: 200px;
    height: 250px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.founder-info h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 8px;
}

.founder-title-text {
    font-size: 18px;
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 20px;
}

.founder-bio {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 15px;
}

/* --- Board Section Styles --- */
.board-section {
    margin-top: 60px;
}

.board-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 600;
    color: var(--dark-green);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.board-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 2px;
}

.modern-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

/* --- Restored Missing Styles Section --- */
.board-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.board-track {
    display: flex;
    gap: 30px;
    animation: scroll 20s linear infinite;
    width: calc(200% + 30px);
}

@media (max-width: 768px) {
    .board-section {
        margin-top: 40px;
    }

    .board-title {
        font-size: 28px;
    }

    .board-track {
        gap: 20px;
        animation-duration: 15s;
    }

    .board-member {
        flex: 0 0 180px;
        min-width: 180px;
        padding: 20px 15px;
    }

    .board-photo {
        width: 100px;
        height: 120px;
    }

    .board-info h4 {
        font-size: 18px;
    }

    .board-position {
        font-size: 14px;
    }
}

.board-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.board-member {
    background: transparent;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
    flex: 0 0 220px;
    min-width: 220px;
}

.board-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.board-image {
    margin-bottom: 20px;
}

.board-photo {
    width: 120px;
    height: 150px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.board-info h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 8px;
}

.board-position {
    font-size: 16px;
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 15px;
}

.board-bio {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-gray);
    margin: 0;
}

.board-member {
    position: relative;
    transition: transform 0.3s ease;
}

.board-member:hover {
    transform: translateY(-8px) scale(1.02);
}

.board-tooltip {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(14, 48, 44, 0.95);
    color: white;
    padding: 15px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.4;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, bottom 0.3s ease;
    z-index: 100;
    width: 200px;
    text-align: left;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.board-member:hover .board-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: -5px;
}

.board-tooltip::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(14, 48, 44, 0.95);
}

.board-tooltip p {
    margin: 5px 0;
    font-size: 11px;
}

.board-tooltip strong {
    color: var(--primary-orange);
    font-weight: 600;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 15% auto;
        max-height: 80vh;
        overflow-y: auto;
    }

    .modal-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .modal-photo {
        width: 60px;
        height: 60px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .modal-title h3 {
        font-size: 1.3rem;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-body>p {
        font-size: 1rem;
    }

    .modal-details {
        padding: 15px;
    }

    .modal-details p {
        font-size: 0.9rem;
    }
}

/* --- Events Page Styles --- */
.events-hero {
    background: linear-gradient(135deg, var(--dark-green) 0%, #1a4037 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.events-hero h1 {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 18px;
}

.events-hero p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.75;
}

.events-section {
    padding: 80px 0;
    background-color: transparent;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.event-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.event-date {
    background: var(--primary-orange);
    color: white;
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    min-width: 80px;
    height: fit-content;
}

.event-date .month {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.event-date .day {
    display: block;
    font-size: 28px;
    font-weight: 700;
}

.event-content {
    flex: 1;
}

.event-content h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 15px;
}

.event-content p {
    color: var(--text-gray);
    margin-bottom: 10px;
    line-height: 1.6;
}

.event-content p i {
    color: var(--primary-orange);
    margin-right: 8px;
}

.event-btn {
    display: inline-block;
    background: var(--primary-orange);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-top: 15px;
    transition: background 0.3s ease;
}

.event-btn:hover {
    background: #e04820;
}

@media (max-width: 768px) {
    .events-hero h1 {
        font-size: 36px;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        flex-direction: column;
        text-align: center;
    }

    .event-date {
        align-self: center;
    }
}

/* --- Causes Page Styles --- */
.causes-hero {
    background: linear-gradient(rgba(0, 77, 64, 0.85), rgba(0, 77, 64, 0.85)), url('images/3.webp');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 140px 0 100px;
    text-align: center;
}

.causes-hero h1 {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 18px;
}

.causes-hero p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.75;
}

.causes-section {
    padding: 80px 0;
    background-color: transparent;
}

.causes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cause-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.cause-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.cause-image {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.cause-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cause-card:hover .cause-image img {
    transform: scale(1.08);
}

.cause-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cause-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 12px;
}

.cause-content p {
    color: #666;
    line-height: 1.75;
    margin-bottom: 25px;
    font-size: 0.9rem;
    flex-grow: 1;
}

.progress-bar {
    background: #f0f0f0;
    height: 10px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress {
    background: linear-gradient(90deg, var(--primary-orange), #ff9f43);
    height: 100%;
    border-radius: 10px;
    position: relative;
}

.cause-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 25px;
    font-weight: 600;
}

.cause-stats span:first-child {
    color: var(--primary-orange);
}

.cause-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--dark-green);
    color: white;
    padding: 14px 0;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    gap: 10px;
}

.cause-btn:hover {
    background: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
    .causes-hero h1 {
        font-size: 36px;
    }

    .causes-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Contact Page Styles --- */
.contact-hero {
    background: linear-gradient(135deg, var(--dark-green) 0%, #1a4037 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.contact-hero h1 {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 18px;
}

.contact-hero p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.75;
}

.contact-section {
    padding: 80px 0;
    background-color: transparent;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h2,
.contact-form h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    background: var(--primary-orange);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-details h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 8px;
}

.contact-details p {
    color: var(--text-gray);
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-btn {
    background: var(--primary-orange);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.contact-btn:hover {
    background: #e04820;
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 36px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form {
        padding: 30px 20px;
    }
}

/* --- Footer Styles --- */
.footer {
    background-color: var(--bg-cream);
    color: var(--text-gray);
    padding: 60px 0 20px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    background: transparent;
}

.footer-section p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark-green);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-orange);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    background: rgba(0, 0, 0, 0.05);
    color: var(--dark-green);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-orange);
    color: white;
    transform: translateY(-2px);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-gray);
}

.footer-contact i {
    color: var(--primary-orange);
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-gray);
    margin: 0;
}

@media (max-width: 768px) {
    .footer {
        padding: 30px 0 15px 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-logo {
        font-size: 20px;
        justify-content: center;
        text-align: center;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h3 {
        font-size: 18px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
    }
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--dark-green);
    transform: translateY(-5px);
}

/* --- Home Impact Section --- */
.home-impact {
    padding: 100px 0;
    background-color: transparent;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.home-impact::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 50px solid rgba(255, 255, 255, 0.03);
    z-index: 1;
}

.home-impact::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--primary-orange);
    opacity: 0.1;
    z-index: 1;
    filter: blur(40px);
}

.impact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.impact-content .subtitle {
    color: var(--primary-orange);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
    text-transform: uppercase;
}

.impact-content h2 {
    font-family: var(--font-heading);
    font-size: 44px;
    margin-bottom: 25px;
    line-height: 1.15;
    color: #7c0606;
}

.impact-content p {
    color: #383636;
    margin-bottom: 34px;
    font-size: 16px;
    line-height: 1.75;
    max-width: 500px;
}

.impact-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-box {
    background: var(--primary-orange);
    padding: 30px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-box:hover {
    transform: translateY(-10px);
    background: var(--primary-blue);
    border-color: #ffffff;
}

.stat-box h3 {
    font-family: var(--font-heading);
    font-size: 40px;
    color: black;
    margin-bottom: 5px;
    font-weight: 800;
}

.stat-box p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.stat-box:hover p {
    color: white;
}

/* --- Impact Animation --- */
.impact-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.impact-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for stat boxes */
.stat-box:nth-child(1) {
    transition-delay: 0.1s;
}

.stat-box:nth-child(2) {
    transition-delay: 0.2s;
}

.stat-box:nth-child(3) {
    transition-delay: 0.3s;
}

.stat-box:nth-child(4) {
    transition-delay: 0.4s;
}

/* --- Testimonials Section --- */
.testimonials {
    padding: 100px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

/* Decorative background element */
.testimonials::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(251, 155, 40, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(251, 155, 40, 0.2);
}

.quote-icon {
    font-size: 42px;
    color: var(--primary-orange);
    margin-bottom: 25px;
    opacity: 0.2;
    line-height: 1;
}

.testimonial-card p {
    font-size: 16px;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 30px;
    font-style: italic;
    font-family: var(--font-body);
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--dark-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.author-info .author-name {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 4px;
}

.author-info span {
    font-size: 13px;
    color: #888;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 992px) {
    .home-impact {
        padding: 70px 0;
    }

    .impact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .impact-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .impact-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .impact-stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Scroll Animation Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-fade-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-fade-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Footer Staggering */
.footer-section:nth-child(1) { transition-delay: 0.1s; }
.footer-section:nth-child(2) { transition-delay: 0.2s; }
.footer-section:nth-child(3) { transition-delay: 0.3s; }
.footer-section:nth-child(4) { transition-delay: 0.4s; }

/* Accessibility: Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .scroll-animate,
    .scroll-fade-left,
    .scroll-fade-right,
    .scroll-scale {
        transition: none;
        opacity: 1 !important;
        transform: none !important;
    }

    .mission-modal-panel {
        animation: none !important;
        transition: none !important;
    }
}

/* Call to Action Banner */
.cta-banner {
    background: transparent;
    background-size: cover;
    background-position: center;
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--primary-orange);
    border-radius: 50%;
    opacity: 0.08;
    filter: blur(80px);
}

.cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.cta-label {
    display: inline-block;
    color: var(--primary-orange);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 15px;
    background: rgba(251, 155, 40, 0.1);
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid rgba(251, 155, 40, 0.2);
}

.cta-text h2 {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    color: rgb(128, 7, 7);
    margin-bottom: 14px;
    line-height: 1.2;
}

.cta-text p {
    font-size: 16px;
    color: #107c6a;
    line-height: 1.75;
    max-width: 600px;
    margin: 0 auto;
}

.cta-action .btn {
    font-size: 15px;
    padding: 16px 35px;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
    .cta-banner {
        padding: 70px 0;
    }

    .cta-text h2 {
        font-size: 32px;
    }

    .cta-text p {
        font-size: 16px;
    }
}

@media (min-width: 900px) {
    .cta-wrapper {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .cta-text {
        max-width: 600px;
        text-align: left;
    }

    .cta-text p {
        margin: 0;
    }
}

/* Improved CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--dark-green) 0%, #1a4037 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: var(--primary-orange);
    border-radius: 50%;
    opacity: 0.08;
    filter: blur(80px);
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: #2ecc71;
    border-radius: 50%;
    opacity: 0.05;
    filter: blur(60px);
}

.cta-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-label {
    color: var(--primary-orange);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 14px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.cta-text h2 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cta-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

.cta-action .btn {
    font-size: 16px;
    padding: 20px 50px;
    box-shadow: 0 10px 30px rgba(251, 155, 40, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-action .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.cta-action {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (min-width: 900px) {
    .cta-action {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .cta-banner {
        padding: 80px 0;
    }

    .cta-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .cta-text h2 {
        font-size: 32px;
    }

    .cta-text p {
        font-size: 16px;
    }

    .cta-action .btn {
        font-size: 14px;
        padding: 16px 35px;
    }
}

/* Transparency Section */
.transparency {
    padding: 100px 0;
    background: transparent;
    position: relative;
}

.transparency-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.transparency-content h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 15px;
}

.transparency-intro {
    max-width: 600px;
    margin: 0 auto 50px;
    color: var(--text-grey);
    font-size: 15.5px;
    line-height: 1.75;
}

.trust-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.trust-item {
    background: var(--bg-cream);
    padding: 35px;
    border-radius: var(--radius-md);
    text-align: left;
    display: flex;
    gap: 25px;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
    background: white;
    border-color: rgba(251, 155, 40, 0.3);
}

.trust-icon {
    width: 56px;
    height: 56px;
    background: rgba(211, 47, 47, 0.1);
    color: var(--primary-red);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.trust-item:hover .trust-icon {
    background: var(--primary-red);
    color: white;
}

.trust-text h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 10px;
}

.trust-text p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.commitment {
    font-size: 18px;
    color: var(--dark-green);
    font-weight: 600;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: inline-block;
    width: 100%;
    max-width: 700px;
}

@media (max-width: 768px) {
    .transparency {
        padding: 60px 0;
    }

    .transparency-content h2 {
        font-size: 32px;
    }

    .trust-points {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .trust-item {
        padding: 25px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* How You Can Help Section */
.how-you-can-help {
    padding: 80px 0;
    background: transparent;

}

.help-header {
    text-align: center;
    margin-bottom: 50px;
}

.help-header h2 {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    color: rgb(87, 3, 3);
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.help-card {
    background: rgb(110, 2, 2);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.help-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-orange);
}

.help-icon {
    width: 70px;
    height: 70px;
    background: rgba(251, 155, 40, 0.1);
    color: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 25px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.help-card:hover .help-icon {
    background: var(--primary-orange);
    color: white;
    transform: scale(1.1);
}

.help-card h3 {
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 700;
    color: white;
}

.help-card p {
    font-size: 14px;
    color: rgb(221, 206, 188);
    line-height: 1.75;
    margin: 0;
}

@media (max-width: 768px) {
    .how-you-can-help {
        padding: 60px 0;
    }

    .help-header h2 {
        font-size: 28px;
    }

    .help-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .help-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .help-grid {
        grid-template-columns: 1fr;
    }
}

/* -----------------------------
   Styles moved from index.html
   Review for duplicates and remove unused rules as needed
   ----------------------------- */

/* Mission Snapshot */
.mission-snapshot {
    padding: 80px 0;
    background: transparent;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.mission-label {
    color: var(--primary-orange);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 13px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.mission-header h2 {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    color: var(--dark-green);
    line-height: 1.2;
    margin-bottom: 18px;
}

.mission-body p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-grey);
    margin-bottom: 20px;
}

.mission-link {
    color: var(--dark-green);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.mission-link:hover {
    color: var(--primary-orange);
}

@media (min-width: 900px) {
    .mission-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 60px;
        align-items: center;
    }

    .mission-header h2 {
        font-size: 42px;
        margin-bottom: 0;
    }

    .mission-body {
        padding-left: 40px;
        border-left: 1px solid rgba(0, 0, 0, 0.1);
    }
}

.mission-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 30px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    /* Smooth movement */
    box-shadow: var(--shadow-sm);
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: #991b1b;
    /* Nissi Crimson */
}

/* Feature Grid Styles */
.features-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card-v2 {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.feature-img-container {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.feature-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card-v2:hover .feature-img-container img {
    transform: scale(1.1);
}

.feature-content-v2 {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feature-icon-v2 {
    width: 50px;
    height: 50px;
    background: var(--light-orange, #FFF5E6);
    color: var(--primary-orange, #FF8C00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.feature-content-v2 h3 {
    font-size: 22px;
    color: var(--dark-green, #004d40);
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-content-v2 p {
    color: var(--text-grey, #555);
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 0;
}

/* What We Do Cards */
.what-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 30px;
}

@media (min-width: 900px) {
    .what-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.what-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    text-align: left;
}

.what-card .img {
    height: 160px;
    overflow: hidden;
}

.what-card .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.what-card:hover .img img {
    transform: scale(1.06);
}

.what-card .body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.what-card h3 {
    font-size: 22px;
    margin: 8px 0 12px;
    color: var(--dark-green, #004d40);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.what-card p {
    font-size: 16px;
    color: #555;
    margin: 0 0 15px;
    line-height: 1.6;
    text-align: center;
}

.what-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    background: var(--primary-orange, #FF8C00);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    box-shadow: var(--shadow-sm);
    align-self: center;
}

.what-btn:hover {
    background: var(--dark-green, #004d40);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.what-btn i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.what-btn:hover i {
    transform: translateX(4px);
}

/* Two-column 'Do more together' split */
.do-more {
    padding: 80px 0;
    background: linear-gradient(rgba(107, 28, 9, 0.85), rgba(107, 28, 9, 0.85)), url('images/5.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.do-more .split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 900px) {
    .do-more .split-grid {
        grid-template-columns: 1fr;
    }
}

.do-more .left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.do-more .subtitle {
    color: var(--primary-orange);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
    text-transform: uppercase;
    font-size: 14px;
}

.do-more h2 {
    font-size: 36px;
    line-height: 1.2;
    color: rgb(179, 163, 95);
    margin-bottom: 25px;
    font-weight: 700;
}

.do-more p.lead {
    font-size: 17px;
    color: #e7dddd;
    line-height: 1.7;
    margin-bottom: 35px;
}

.do-more .right {
    position: relative;
    height: 450px;
}

.do-more .large-img {
    width: 85%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    margin-left: auto;
}

.do-more .large-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.do-more .small-img {
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 220px;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    z-index: 2;
    border: 6px solid #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.do-more .small-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .do-more .right {
        height: 350px;
        margin-top: 20px;
    }

    .do-more .small-img {
        width: 160px;
        height: 160px;
        bottom: -20px;
    }

    .do-more .large-img {
        width: 100%;
    }
}

/* Program Showcase Styles (moved) */
.program-showcase {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 40px;
}

.program-card {
    position: relative;
    aspect-ratio: 1 / 1;
    min-height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.program-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.program-card:hover img {
    transform: scale(1.1);
}

.program-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 45, 86, 0.85);
    /* Primary blue tint */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 20px;
    text-align: center;
}

.program-card:hover .program-overlay {
    opacity: 1;
}

.program-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.program-card:hover .program-title {
    transform: translateY(0);
}

.program-btn {
    padding: 10px 24px;
    background: var(--primary-orange, #FF8C00);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s, background 0.3s;
}

.program-card:hover .program-btn {
    transform: translateY(0);
}

.program-btn:hover {
    background: #fff;
    color: var(--primary-orange, #FF8C00);
}

@media (max-width: 1024px) {
    .program-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .program-showcase {
        grid-template-columns: 1fr;
    }
}

/* CTA Banner Customization (moved) */
.cta-banner {
    background: linear-gradient(rgba(0, 77, 64, 0.9), rgba(0, 77, 64, 0.9)), url('images/6.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-banner .btn-orange {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.cta-banner .btn-orange:hover {
    background: #fff;
    color: var(--dark-green, #004d40);
}

/* Ensure parallax works by removing transform after animation */
.cta-banner.visible {
    transform: none;
}

/* Mobile fix: avoid `background-attachment: fixed` on small screens to prevent jank/white flashes */
@media (max-width: 768px) {

    .do-more,
    .cta-banner {
        background-attachment: scroll;
        -webkit-backface-visibility: hidden;
        -webkit-transform: translateZ(0);
    }
}

/* -----------------------------
   Styles moved from about.html
   ----------------------------- */
.about-hero {
    background: linear-gradient(rgba(0, 77, 64, 0.85), rgba(0, 77, 64, 0.85)), url('images/13.webp');
    background-size: cover;
    background-position: center;
    padding: 140px 0 100px;
    text-align: center;
    color: #fff;
}

.about-hero h1 {
    font-size: 3.1rem;
    margin-bottom: 18px;
    font-weight: 700;
}

.about-hero p {
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.75;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: #f8f9fa;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media (min-width: 992px) {
    .split-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-img img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.about-img img:hover {
    transform: translateY(-5px);
}

.about-text h2 {
    color: #004d40;
    font-size: 2.3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-text p {
    color: #555;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 20px;
}

.subtitle {
    color: #FF8C00;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.mv-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 5px solid #FF8C00;
    height: 100%;
}

.mv-card h3 {
    color: #004d40;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.mv-card p {
    color: #666;
    line-height: 1.75;
    font-size: 1rem;
}

.founder-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    background: #fff;
    padding: 60px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.founder-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 30px;
    font-size: 12rem;
    color: rgba(255, 140, 0, 0.05);
    font-family: serif;
    line-height: 1;
    pointer-events: none;
}

@media (min-width: 992px) {
    .founder-card {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
}

.founder-img-wrapper {
    position: relative;
    flex-shrink: 0;
}

.founder-img-wrapper::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #FF8C00;
    z-index: 1;
    opacity: 0.1;
}

.founder-img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.founder-info {
    position: relative;
    z-index: 2;
    width: 100%;
}

.founder-info h3 {
    color: #004d40;
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.founder-role {
    color: #FF8C00;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 25px;
    display: inline-block;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(255, 140, 0, 0.08);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
}

.founder-info p {
    color: #555;
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 20px;
    font-weight: 300;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.board-member {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.board-member:hover {
    transform: translateY(-5px);
}

.board-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #f0f0f0;
}

.board-member h4 {
    color: #004d40;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.board-member span {
    color: #777;
    font-size: 0.95rem;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
    overflow: hidden;
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #004d40;
    font-size: 1.1rem;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #fcfcfc;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 25px 25px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .faq-question {
    color: #FF8C00;
}

.faq-icon {
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* -----------------------------
   Styles moved from home.html
   ----------------------------- */
/* Home specific hero/theme styles */

body.home-theme {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.hero-section {
    position: relative;
    padding: 80px 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' x2='0' y1='0' y2='1'%3E%3Cstop offset='0' stop-color='%230D041A'/%3E%3Cstop offset='1' stop-color='%230D041A'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='none' stroke='%23ffffff10' stroke-width='2' d='M0 100 C 150 200, 300 0, 450 100 S 750 0, 900 100' /%3E%3Cpath fill='none' stroke='%23ffffff08' stroke-width='2' d='M-100 300 C 50 400, 200 200, 350 300 S 650 200, 800 300' /%3E%3Cpath fill='none' stroke='%23ffffff08' stroke-width='2' d='M0 500 C 150 600, 300 400, 450 500 S 750 400, 900 500' /%3E%3C/svg%3E");
    background-size: cover;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 550px;
}

h1 {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.6rem;
}

p {
    line-height: 1.65;
}

.highlight {
    color: var(--primary-orange);
}

.hero-subtext {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--text-light);
    padding: 14px 32px;
    border-radius: var(--border-radius-btn);
}

.btn-play {
    width: 56px;
    height: 56px;
    background-color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-features {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-features li {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
}

.gallery-img {
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.img-tall {
    height: 320px;
}

.img-short {
    height: 200px;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    h1 {
        font-size: 3.5rem;
    }

    .img-tall {
        height: 380px;
    }

    .img-short {
        height: 220px;
    }

    .gallery-col-offset {
        margin-top: 60px;
    }
}

/* -----------------------------
   Styles moved from donate.html
   ----------------------------- */
.donate-hero {
    position: relative;
    background: linear-gradient(120deg, rgba(12, 36, 64, 0.85), rgba(0, 77, 64, 0.78)), url('images/6.webp');
    background-size: cover;
    background-position: center;
    padding: 140px 0 100px;
    text-align: center;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.donate-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 200, 120, 0.25), transparent 55%),
        radial-gradient(circle at 80% 30%, rgba(255, 140, 0, 0.2), transparent 50%);
    z-index: -1;
}

.donate-hero h1 {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    margin-bottom: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.donate-hero p {
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.92;
    line-height: 1.75;
}

.donate-section {
    position: relative;
    padding: 90px 0;
    background: radial-gradient(circle at top, rgba(255, 245, 235, 0.9), #f9f9f9 45%, #f1f5f9 100%);
    overflow: hidden;
}

.donate-section::before,
.donate-section::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.18), transparent 70%);
    z-index: 0;
}

.donate-section::before {
    top: -120px;
    right: -80px;
}

.donate-section::after {
    bottom: -140px;
    left: -60px;
}

.donate-container {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: clamp(28px, 4vw, 48px);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px);
    animation: rise-fade 0.6s ease-out both;
}

@keyframes rise-fade {
    from {
        transform: translateY(18px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.donation-header {
    text-align: center;
    margin-bottom: 30px;
}

.donation-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #0f2d56;
    margin-bottom: 10px;
}

.donation-header p {
    max-width: 620px;
    margin: 0 auto;
    color: #4b5563;
    line-height: 1.7;
}

.section-title {
    color: #0f2d56;
    font-size: 1.05rem;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(15, 45, 86, 0.12);
    padding-bottom: 12px;
}

.donation-currency-note {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 8px 0 20px;
    padding: 10px 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 216, 160, 0.35), rgba(255, 255, 255, 0.95));
    border: 1px solid rgba(255, 140, 0, 0.25);
    color: #3f4754;
    font-size: 0.95rem;
    box-shadow: 0 10px 18px rgba(255, 140, 0, 0.12);
}

.currency-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff8c00 0%, #ffb347 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 14px;
    margin-bottom: 26px;
}

@media(max-width: 480px) {
    .amount-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.amount-btn {
    padding: 14px 12px;
    border: 1.5px solid rgba(15, 45, 86, 0.12);
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f2d56;
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    text-align: center;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.06);
}

.amount-btn:hover,
.amount-btn.active {
    border-color: rgba(255, 140, 0, 0.6);
    color: #ffffff;
    background: linear-gradient(135deg, #ff8c00 0%, #ffb347 100%);
    transform: translateY(-2px);
    box-shadow: 0 16px 24px rgba(255, 140, 0, 0.2);
}

.custom-amount {
    margin-bottom: 28px;
}

.custom-amount label {
    display: block;
    margin-bottom: 8px;
    color: #0f2d56;
    font-weight: 600;
    font-size: 0.95rem;
}

.custom-amount input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(15, 45, 86, 0.18);
    border-radius: 12px;
    font-size: 1rem;
    background: #f8fafc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-amount input:focus {
    outline: none;
    border-color: rgba(255, 140, 0, 0.6);
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.15);
}

.payment-options {
    display: grid;
    gap: 18px;
    margin-bottom: 28px;
}

.payment-option {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid rgba(15, 45, 86, 0.15);
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.payment-option:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 45, 86, 0.35);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

.payment-option input {
    margin-bottom: 6px;
    accent-color: #ff8c00;
}

.payment-option:has(input:checked) {
    border-color: rgba(255, 140, 0, 0.8);
    box-shadow: 0 18px 32px rgba(255, 140, 0, 0.18);
    background: linear-gradient(180deg, rgba(255, 140, 0, 0.08), rgba(255, 255, 255, 0.95));
}

.payment-logo {
    width: min(160px, 60%);
    height: auto;
    margin-top: 12px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(15, 23, 42, 0.12));
}

.payment-option:has(input:checked) .payment-logo {
    filter: drop-shadow(0 10px 20px rgba(255, 140, 0, 0.35));
}

.option-title {
    font-weight: 700;
    color: #0f2d56;
    font-size: 1.05rem;
}

.option-desc {
    color: #4b5563;
    font-size: 0.95rem;
}

.option-detail {
    color: #6b7280;
    font-size: 0.9rem;
}

.worldremit-note {
    background: rgba(15, 45, 86, 0.04);
    border: 1px dashed rgba(15, 45, 86, 0.25);
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 22px;
    color: #1f2937;
}

.worldremit-note h4 {
    margin-bottom: 8px;
    color: #0f2d56;
    font-size: 1.05rem;
}

.worldremit-note p {
    margin-bottom: 8px;
    line-height: 1.6;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media(min-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 20px;
}

.donate-section .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #0f2d56;
    font-weight: 600;
    font-size: 0.95rem;
}

.donate-section .form-group input,
.donate-section .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(15, 45, 86, 0.18);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background: #f8fafc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.donate-section .form-group input:focus {
    outline: none;
    border-color: rgba(255, 140, 0, 0.6);
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.15);
}

.donate-btn {
    background: linear-gradient(135deg, #ff8c00 0%, #ffb347 100%);
    color: #fff;
    border: none;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    display: block;
    width: 100%;
    margin-top: 20px;
    box-shadow: 0 16px 28px rgba(255, 140, 0, 0.25);
}

.donate-btn:hover {
    background: linear-gradient(135deg, #0f2d56 0%, #11624d 100%);
    transform: translateY(-2px);
    box-shadow: 0 20px 32px rgba(15, 45, 86, 0.25);
}

.donation-footer-note {
    margin-top: 22px;
    text-align: center;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 700px) {
    .donate-hero {
        padding: 110px 0 80px;
    }

    .donate-container {
        padding: 28px 22px;
    }

    .payment-option {
        padding: 16px;
    }
}

/* --- Missions Page Styles --- */
.missions-hero {
    background: linear-gradient(rgba(0, 77, 64, 0.9), rgba(0, 77, 64, 0.8)), url('images/4.webp');
    background-size: cover;
    background-position: center;
    padding: 160px 0 100px;
    text-align: center;
    color: #fff;
    margin-bottom: 0;
    position: relative;
}

.missions-hero h1 {
    font-size: 3.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.missions-hero p {
    font-size: 1.05rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.75;
}

/* Events filter control */
.events-controls {
    display: flex;
    justify-content: flex-end;
    margin: 18px 0 6px;
}

.events-filter {
    padding: 10px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid #e6e6e6;
    background: #fff;
    font-size: 14px;
    color: #333;
}

.events-filter:focus {
    outline: 2px solid rgba(255, 140, 0, 0.25);
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.06);
}

/* Screen-reader only helper */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Keyboard focus for event cards */
.event-card:focus {
    outline: none;
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
    border-color: #FF8C00;
}

/* Hide images on very small screens to save bandwidth */
@media(max-width: 560px) {
    .events-controls {
        justify-content: flex-start;
        margin-bottom: 12px;
    }

    .events-filter {
        width: 100%;
    }
}

.event-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 0;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: none;
    display: flex;
    gap: 0;
    align-items: stretch;
    margin-bottom: 30px;
    overflow: hidden;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.event-date-box {
    background: #fff7ed;
    color: #c2410c;
    padding: 15px;
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 100px;
    border: 1px solid #ffedd5;
}

.event-date-box .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.event-date-box .month {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-details {
    flex: 1;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-details h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #1f2937;
    font-weight: 700;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    color: #6b7280;
    font-size: 0.95rem;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-meta i {
    color: #FF8C00;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.benefits-list li {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.benefits-list li i {
    color: #FF8C00;
    margin-top: 5px;
}

.benefits-list li strong {
    color: #004d40;
}

@media (max-width: 768px) {
    .missions-hero {
        padding: 120px 0 80px;
    }

    .missions-hero h1 {
        font-size: 2.5rem;
    }

    .event-card {
        flex-direction: column;
        gap: 0;
    }

    .event-date-box {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 10px;
        align-items: center;
        padding: 10px;
    }

    .event-date-box .day {
        margin-bottom: 0;
        font-size: 1.5rem;
    }

    .event-details {
        padding: 25px;
    }
}

/* --- Partners Grid Styles --- */
.partners-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 10px 0;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.partners-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scroll 35s linear infinite;
    align-items: center;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-item {
    font-size: 1.5rem;
    color: var(--text-grey);
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.partner-item:hover {
    color: var(--primary-orange);
    transform: translateY(-3px);
}

/* --- New Missions Page Enhancements --- */

.hero-subtitle {
    display: block;
    color: var(--primary-orange);
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

/* Stats Bar */
.mission-stats-bar {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    margin-bottom: 60px;
    padding: 0 20px;
}

.stats-grid {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    box-shadow: var(--shadow-md);
    border-bottom: 4px solid var(--primary-orange);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 32px;
    color: var(--primary-red);
    margin-bottom: 15px;
    background: rgba(211, 47, 47, 0.1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease, color 0.3s ease;
}

.stat-item:hover i {
    background: var(--primary-red);
    color: white;
}

.stat-info .count {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--dark-green);
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.stat-info .label {
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Event Card Specifics */
.event-image {
    flex: 0 0 320px;
    position: relative;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    color: #166534;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    width: fit-content;
}

.btn-event {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 12px 28px;
    background-color: white;
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-event:hover {
    background-color: var(--primary-orange);
    color: white;
    box-shadow: 0 5px 15px rgba(251, 155, 40, 0.3);
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .mission-stats-bar {
        margin-top: 0;
        margin-bottom: 40px;
    }

    .event-image {
        flex: auto;
        height: 240px;
        width: 100%;
    }
}

/* --- Volunteer Page Styles --- */
.volunteer-hero {
    background: linear-gradient(rgba(0, 77, 64, 0.85), rgba(0, 77, 64, 0.85)), url('images/14.webp');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    text-align: center;
    color: #fff;
}

.volunteer-hero h1 {
    font-size: 2.75rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.volunteer-hero p {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.75;
}

.volunteer-form-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.volunteer-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

/* Scoped form styles for volunteer page */
.volunteer-container .form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media(min-width: 768px) {
    .volunteer-container .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.volunteer-container .form-group {
    margin-bottom: 20px;
}

.volunteer-container .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #004d40;
    font-weight: 600;
    font-size: 0.95rem;
}

.volunteer-container .form-group input,
.volunteer-container .form-group select,
.volunteer-container .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.volunteer-container .form-group input:focus,
.volunteer-container .form-group select:focus,
.volunteer-container .form-group textarea:focus {
    outline: none;
    border-color: #FF8C00;
}

.submit-btn {
    background: #FF8C00;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    display: block;
    width: 100%;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #004d40;
    transform: translateY(-2px);
}

/* --- Thank You Page Styles --- */
.thank-you-hero {
    padding: 140px 0 100px;
    text-align: center;
    background-color: #f8f9fa;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.check-icon {
    font-size: 80px;
    color: #2ecc71;
    margin-bottom: 30px;
    animation: scaleIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.thank-you-hero h1 {
    color: #004d40;
    font-size: 3.1rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.thank-you-hero p {
    font-size: 1.05rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.75;
}

/* Redesign Styles for Upcoming Events Section */
.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.modern-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
}

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.mc-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.mc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modern-card:hover .mc-image img {
    transform: scale(1.05);
}

.mc-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fff;
    padding: 8px 15px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    line-height: 1;
    min-width: 60px;
    z-index: 2;
}

.mc-month {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #e67e22;
    /* Orange accent */
    margin-bottom: 2px;
}

.mc-day {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #333;
}

.mc-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.mc-meta {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #777;
    font-weight: 500;
}

.mc-meta i {
    color: #e67e22;
    margin-right: 5px;
}

.modern-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.modern-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.mc-footer {
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.mc-time {
    color: #666;
}

.mc-btn {
    color: #e67e22;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s;
}

.mc-btn:hover {
    gap: 8px;
}

/* Enhanced Filter */
.events-filter {
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    border: 1px solid #ddd;
    background: #fff;
    font-family: inherit;
    cursor: pointer;
    outline: none;
    box-shadow: var(--shadow-sm);
}

.events-filter:focus {
    border-color: #e67e22;
}

/* Ensure cards don't break across pages in the PDF */
@media print {
    .story-card {
        break-inside: avoid;
        page-break-inside: avoid;
        margin-bottom: 20px;
    }

    /* Hide the floating WhatsApp button in the PDF */
    .whatsapp-float,
    #backToTop,
    .btn-orange {
        display: none !important;
    }
}

/* Specific class to force a page break if needed */
.page-break {
    page-break-before: always;
}

@media print {
    /* 1. Prevent cards from being sliced in half */
    .story-card {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
        display: block !important; /* Grid can sometimes confuse PDF engines */
        margin-bottom: 30px !important;
    }

    /* 2. Prevent headings from being at the very bottom of a page */
    h2, h3 {
        break-after: avoid !important;
        page-break-after: avoid !important;
    }

    /* 3. Hide the download button itself in the PDF */
    #downloadPdfBtn {
        display: none !important;
    }
}

.new-page {
    page-break-before: always !important;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Gallery specific styles appended for gallery.html */
.gallery-hero { padding: 56px 0; text-align: center; }
.gallery-hero h1 { font-family: var(--font-heading); font-size: 36px; margin-bottom: 8px; }
.gallery-hero p { color: var(--text-grey); margin-bottom: 0; }
.gallery-filters { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:18px; }
.filter-btn { background:#fff; border:1px solid #eee; padding:8px 14px; border-radius:999px; cursor:pointer; font-weight:600; }
.filter-btn.active { background:var(--primary-orange); color:#fff; border-color:var(--primary-orange); }
.gallery-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap:16px; }
.gallery-item { position:relative; overflow:hidden; border-radius: var(--radius-md); background:#fafafa; cursor:pointer; }
.gallery-item img { display:block; width:100%; height:100%; object-fit:cover; transition: transform .35s ease; }
.gallery-item:hover img { transform:scale(1.06); }
.gallery-overlay { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:#fff; background:linear-gradient(180deg, rgba(0,0,0,0.0) 40%, rgba(0,0,0,0.45) 100%); opacity:0; transition:opacity .25s ease; }
.gallery-item:hover .gallery-overlay { opacity:1; }
.gallery-item.hide { display:none !important; }
.lightbox{ display:none; position:fixed; inset:0; align-items:center; justify-content:center; background:rgba(0,0,0,0.8); z-index:2000; }
.lightbox .lightbox-content{ max-width:90%; max-height:80vh; border-radius:8px; box-shadow:0 24px 80px rgba(0,0,0,.6); }
.lightbox-close{ position:fixed; top:20px; right:24px; font-size:28px; color:#fff; cursor:pointer; }

@media (max-width: 600px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap:10px; }
    .gallery-hero h1 { font-size:28px; }
}

/* -----------------------------
   Gallery Page Styles End
   ----------------------------- */

/* Newsletter Link Styling */
.nav-links a[href="newsletter.html"],
.nav-links .nav-btn-highlight {
    background-color: transparent !important;
    color: var(--primary-red) !important;
    border: none !important;
    border-radius: 0;
    margin-left: 15px;
    font-style: italic;
    font-family: 'Georgia', serif;
    transition: color 0.3s ease;
}

.nav-links a[href="newsletter.html"]:hover,
.nav-links .nav-btn-highlight:hover {
    background-color: transparent !important;
    color: #b71c1c !important;
    transform: none;
    box-shadow: none;
}

.nav-links a[href="newsletter.html"]::after,
.nav-links .nav-btn-highlight::after {
    display: none !important;
}
        /* Footer Enhancements */
        .footer { background: #e4d1d1; color: #690707; padding-top: 60px; }
        .footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
        .footer-col h3 { color: var(--primary-orange, #f57c00); margin-bottom: 20px; font-family: var(--font-heading, sans-serif); font-size: 1.25rem; }
        .footer-col p { color: #5a0303; line-height: 1.6; margin-bottom: 20px; }
        .footer-links, .footer-contact { list-style: none; padding: 0; }
        .footer-links li, .footer-contact li { margin-bottom: 12px; }
        .footer-links a, .footer-contact a { color: #4d0505; text-decoration: none; transition: color 0.3s ease; display: inline-flex; align-items: center; gap: 10px; }
        .footer-links a:hover, .footer-contact a:hover { color: var(--primary-orange, #f57c00); padding-left: 5px; }
        .footer-socials { display: flex; gap: 15px; }
        .footer-socials a { width: 36px; height: 36px; background: rgba(110, 4, 4, 0.1); display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #920808; transition: all 0.3s ease; }
        .footer-socials a:hover { background: var(--primary-orange, #f57c00); transform: translateY(-3px); }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 25px 0; text-align: center; color: #9c0f0f; font-size: 0.9rem; }

/* --- Contact Page Specifics --- */
.contact-page {
    --theme-red: #ef4444;
    --theme-blue: #0ea5e9;
    --theme-light-blue: #e0f2fe;
}

.contact-page .btn-orange {
    background-color: var(--theme-red) !important;
    border-color: var(--theme-red) !important;
    color: white !important;
}

.contact-page .btn-orange:hover {
    background-color: #dc2626 !important;
}

.contact-page .subtitle,
.contact-page .section-header .subtitle {
    color: var(--theme-blue) !important;
}

.contact-page .nav-links a:hover,
.contact-page .nav-links a.active {
    color: var(--theme-blue) !important;
}

.contact-page .contact-icon {
    color: var(--theme-blue) !important;
    background-color: var(--theme-light-blue) !important;
}

.contact-page .footer-social a:hover {
    color: var(--theme-blue) !important;
    border-color: var(--theme-blue) !important;
}

/* Success Message Styles */
.success-btn {
    display: inline-block;
    padding: 14px 35px;
    background-color: #ef4444;
    color: white;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 2px solid #ef4444;
    cursor: pointer;
}

.success-btn:hover {
    background-color: #d35400;
    border-color: #d35400;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.success-btn.outline {
    background-color: transparent;
    color: #ef4444;
    box-shadow: none;
}

.success-btn.outline:hover {
    background-color: #ef4444;
    color: white;
    border-color: #ef4444;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Contact Success Message */
#thank-you-msg {
    text-align: center;
    padding: 50px 30px;
    animation: fadeIn 0.5s ease-out;
    background: #fff;
    border-radius: 15px;
    margin: auto 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 25px;
    box-shadow: 0 10px 20px rgba(22, 163, 74, 0.15);
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-title {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--dark-green);
    margin-bottom: 15px;
    font-weight: 700;
}

.success-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes popcard-in {
    0% {
        transform: translateY(18px) scale(0.96);
        opacity: 0;
    }
    60% {
        transform: translateY(-2px) scale(1.01);
        opacity: 1;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* --- Freshness & Momentum --- */
.freshness {
    padding: 90px 0;
    background: #ffffff;
}

.latest-mission-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(340px, 1.05fr);
    align-items: center;
    gap: 24px;
    padding: clamp(20px, 3vw, 32px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(241, 245, 249, 0.6));
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(14px);
    margin-bottom: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.latest-mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
}

.latest-mission-card::before {
    content: "";
    position: absolute;
    inset: -30% -20% auto auto;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18), transparent 70%);
    pointer-events: none;
}

.latest-mission-card::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

.mission-tag {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid rgba(185, 28, 28, 0.2);
}

.latest-mission-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    aspect-ratio: 4 / 3;
    padding: 8px;
    background: transparent;
    border-radius: 18px;
}

.latest-mission-media img {
    width: 100%;
    height: 100%;
    max-height: 360px;
    object-fit: cover;
    display: block;
    filter: none;
    transition: transform 0.6s ease;
}

.latest-mission-card:hover .latest-mission-media img {
    transform: scale(1.05);
}

.mission-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary-orange);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    border: none;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.latest-mission-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    position: relative;
    z-index: 1;
}

.mission-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    row-gap: 6px;
    color: #6b7280;
    font-size: 0.95rem;
    font-weight: 600;
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 888px;
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.mission-meta time {
    color: var(--primary-blue);
}

.meta-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-orange);
    display: inline-block;
}

.latest-mission-content h3 {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.latest-mission-content p {
    color: #475569;
    line-height: 1.75;
    margin-bottom: 8px;
    max-width: 52ch;
}

/* Mission story modal */
body.modal-open {
    overflow: hidden;
}

body.modal-open .scroll-animate,
body.modal-open .scroll-fade-left,
body.modal-open .scroll-fade-right,
body.modal-open .scroll-scale {
    transform: none !important;
}

.mission-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: clamp(16px, 4vw, 28px);
    padding-top: calc(clamp(16px, 4vw, 28px) + env(safe-area-inset-top));
    padding-bottom: calc(clamp(16px, 4vw, 28px) + env(safe-area-inset-bottom));
    background: rgba(15, 45, 86, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 2100;
    overflow-y: auto;
}

.mission-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mission-modal-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(760px, 100%);
    max-height: calc(100dvh - 48px);
    margin: 0;
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transform: translateY(12px) scale(0.98);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mission-modal.is-open .mission-modal-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
    animation: popcard-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mission-modal-media {
    position: relative;
    min-height: 280px;
    background: transparent;
}

.mission-modal-media img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.mission-modal-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary-red);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}

.mission-modal-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
    overflow-y: auto;
    max-height: calc(100vh - 160px);
}

.mission-modal-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: #6b7280;
    font-size: 0.95rem;
    font-weight: 600;
}

.mission-modal-body h3 {
    font-size: 1.8rem;
    color: #1f2937;
    font-weight: 700;
}

.mission-modal-body p {
    color: #4b5563;
    line-height: 1.7;
}

.mission-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.mission-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1f2937;
    transition: transform 0.2s ease, background 0.2s ease;
}

.mission-modal-close:hover {
    transform: translateY(-1px);
    background: #ffffff;
}

@media (max-width: 900px) {
    .mission-modal-panel {
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr);
        width: min(720px, 100%);
    }

    .mission-modal-media {
        min-height: 220px;
    }

    .mission-modal-body {
        padding: 24px;
    }
}

@media (max-width: 600px) {
    .mission-modal {
        padding: 16px;
    }

    .mission-modal-actions .btn {
        width: 100%;
    }

    .mission-modal-body h3 {
        font-size: 1.45rem;
    }

    .mission-modal-body p {
        font-size: 0.98rem;
    }
}

@media (max-width: 700px) {
    .mission-modal-panel {
        max-height: 90svh;
    }

    .mission-modal-body {
        padding: 20px;
        max-height: 100%;
    }
}

@media (max-width: 420px) {
    .mission-modal-body {
        padding: 20px;
    }

    .mission-modal-meta {
        font-size: 0.88rem;
    }
}

.events-strip {
    background: #fdf9f4;
    border: 1px solid rgba(227, 130, 27, 0.15);
    border-radius: var(--radius-lg);
    padding: 26px;
    margin-bottom: 40px;
}

.events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.events-header h3 {
    font-size: 1.3rem;
    color: #1f2937;
}

.text-link {
    color: var(--primary-orange);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.text-link:hover {
    color: var(--primary-red);
    transform: translateX(2px);
}

.events-grid-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.event-mini {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    gap: 16px;
    align-items: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.event-date {
    background: #fff3e6;
    border-radius: 12px;
    padding: 10px 12px;
    text-align: center;
    min-width: 58px;
}

.event-day {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-orange);
    line-height: 1;
}

.event-month {
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    color: #92400e;
    margin-top: 4px;
}

.event-info h4 {
    font-size: 1rem;
    color: #1f2937;
    margin-bottom: 4px;
}

.event-info p {
    color: #6b7280;
    font-size: 0.9rem;
}

.news-teaser {
    margin-top: 10px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.news-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-date {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9ca3af;
    font-weight: 700;
}

.news-card h4 {
    font-size: 1.1rem;
    color: #1f2937;
    margin: 0;
}

.news-card p {
    color: #6b7280;
    line-height: 1.6;
    flex-grow: 1;
}

.news-card .text-link {
    align-self: flex-start;
}

@media (max-width: 900px) {
    .latest-mission-card {
        padding: 18px;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .latest-mission-media {
        aspect-ratio: 16 / 9;
        min-height: 0;
    }

    .latest-mission-media img {
        max-height: 320px;
        border-radius: 24px;
    }

    .latest-mission-content {
        justify-content: flex-start;
    }

    .events-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .events-strip {
        padding: 20px;
    }

    .event-mini {
        flex-direction: column;
        align-items: flex-start;
    }

    .event-date {
        min-width: 0;
    }

    .latest-mission-media img {
        max-height: 260px;


    }

    .mission-meta {
        width: 100%;
        border-radius: 14px;
        padding: 10px 12px;
        line-height: 1.35;
    }

    .mission-meta .meta-dot {
        display: none;
    }
}

/* Newsletter page */
.newsletter-page .newsletter-hero {
    background: linear-gradient(rgba(0, 77, 64, 0.9), rgba(0, 77, 64, 0.85)), url("images/13.webp");
    background-size: cover;
    background-position: center;
    padding: 140px 0 100px;
    text-align: center;
    color: #fff;
}

.newsletter-page .newsletter-lead {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 20px auto 0;
    opacity: 0.9;
}

.newsletter-page .newsletter-cta-wrap {
    margin-top: 35px;
}

.newsletter-page .newsletter-stories-section {
    background-color: #f9fafb;
    padding: 80px 0;
}

.newsletter-page .newsletter-stories-header {
    text-align: center;
    margin-bottom: 50px;
}

.newsletter-page .newsletter-field-label {
    color: #e67e22;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 14px;
}

.newsletter-page .newsletter-stories-title {
    font-family: var(--font-heading);
    font-size: 36px;
    color: #1a2b29;
    margin-top: 10px;
}

.newsletter-page .story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.newsletter-page .story-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.newsletter-page .story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.newsletter-page .story-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.newsletter-page .story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.newsletter-page .story-card:hover .story-image img {
    transform: scale(1.05);
}

.newsletter-page .story-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.newsletter-page .story-tag {
    display: inline-block;
    background: rgba(230, 126, 34, 0.1);
    color: #e67e22;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    align-self: flex-start;
}

.newsletter-page .story-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2c3e50;
    line-height: 1.4;
}

.newsletter-page .story-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 18px;
    font-size: 15px;
}

.newsletter-page .story-link {
    color: var(--primary-blue);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.newsletter-page .story-link:hover {
    color: var(--primary-orange);
    gap: 10px;
}

.newsletter-page .story-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    color: #95a5a6;
    font-size: 13px;
}

.newsletter-page .story-footer span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.newsletter-page .nav-links a:hover,
.newsletter-page .nav-links a.active {
    color: var(--primary-blue) !important;
}

.newsletter-page .footer-social a:hover {
    color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
}

@media (max-width: 768px) {
    .newsletter-page .newsletter-hero {
        padding: 110px 0 72px;
    }

    .newsletter-page .story-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .newsletter-page .story-content {
        padding: 22px;
    }
}

/* Homepage interactive map */
.uganda-map-section {
    padding: 90px 0;
}

.uganda-map-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.uganda-map-visual {
    position: relative;
    min-height: 440px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(15, 45, 86, 0.12);
    box-shadow: var(--shadow-sm);
}

.uganda-map-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.uganda-map-btn {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    border: 0;
    border-radius: 999px;
    background: rgba(15, 45, 86, 0.9);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.uganda-map-btn:hover,
.uganda-map-btn.active {
    background: var(--primary-orange);
    transform: translate(-50%, -50%) scale(1.05);
}

.uganda-map-details-panel {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.uganda-map-detail {
    display: none;
}

.uganda-map-detail.active {
    display: block;
}

.district-tag {
    display: inline-block;
    background: rgba(227, 130, 27, 0.12);
    color: #b45309;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

.uganda-map-detail h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.uganda-map-detail p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 12px;
}

.uganda-map-detail ul {
    display: grid;
    gap: 10px;
}

.uganda-map-detail li {
    color: #374151;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.uganda-map-detail li i {
    color: var(--primary-orange);
}

/* Homepage impact timeline */
.impact-timeline {
    padding: 90px 0;
    background: linear-gradient(180deg, rgba(248, 246, 242, 0.75), rgba(255, 255, 255, 0.8));
}

.timeline-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
}

.timeline-track::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 5%;
    right: 5%;
    height: 3px;
    background: linear-gradient(90deg, rgba(15, 45, 86, 0.2), rgba(227, 130, 27, 0.5), rgba(15, 45, 86, 0.2));
}

.timeline-item {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 62px 16px 18px;
    box-shadow: var(--shadow-sm);
    min-height: 250px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-orange);
    box-shadow: 0 0 0 6px rgba(227, 130, 27, 0.2);
}

.timeline-year {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 22px;
    margin-bottom: 10px;
}

.timeline-item h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: #1f2937;
    margin-bottom: 10px;
}

.timeline-item p {
    color: #4b5563;
    line-height: 1.65;
    font-size: 14px;
}

/* Newsletter archive tools */
.newsletter-page .newsletter-archive-tools {
    display: grid;
    gap: 14px;
    margin-bottom: 26px;
}

.newsletter-page .archive-search-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 0 14px;
}

.newsletter-page .archive-search-wrap i {
    color: #9ca3af;
}

.newsletter-page .archive-search-input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 15px;
    padding: 12px 0;
}

.newsletter-page .archive-year-filter {
    width: fit-content;
    border: 1px solid rgba(0, 0, 0, 0.14);
    background: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    color: #374151;
}

.newsletter-page .archive-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.newsletter-page .archive-tag {
    border: 1px solid rgba(15, 45, 86, 0.2);
    background: #fff;
    color: var(--primary-blue);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.newsletter-page .archive-tag:hover,
.newsletter-page .archive-tag.active {
    background: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}

.newsletter-page .archive-result-count {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

.newsletter-page .archive-no-results {
    margin-top: 12px;
    color: #7f1d1d;
    font-weight: 600;
}

@media (max-width: 992px) {
    .uganda-map-grid {
        grid-template-columns: 1fr;
    }

    .timeline-track {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .timeline-track::before {
        left: 22px;
        right: auto;
        top: 24px;
        bottom: 24px;
        width: 3px;
        height: auto;
        background: linear-gradient(180deg, rgba(15, 45, 86, 0.2), rgba(227, 130, 27, 0.5), rgba(15, 45, 86, 0.2));
    }

    .timeline-item {
        min-height: 0;
        padding: 16px 16px 16px 56px;
    }

    .timeline-item::before {
        top: 22px;
        left: 22px;
        transform: none;
    }
}
