/* ============================================
   NGO Website - Communities In Schools Inspired
   ============================================ */

:root {
    --primary: #1B3A6B;
    --primary-light: #2B5EA7;
    --accent: #F5A623;
    --accent-hover: #E09515;
    --orange: #E67E22;
    --text: #333333;
    --text-light: #666666;
    --bg-light: #F8F9FA;
    --footer-bg: #EFF2F7;
    --footer-bottom-bg: #E4E9F0;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --radius: 12px;
    --transition: all 0.3s ease;
    --header-nav-height: 68px;
    --top-banner-height: 0px;
    --site-header-height: calc(var(--header-nav-height) + var(--top-banner-height));
}

@media (min-width: 992px) {
    :root {
        --header-nav-height: 76px;
    }
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; }

/* Buttons */
.btn-accent {
    background: var(--accent);
    color: var(--primary);
    border: none;
    font-weight: 600;
    border-radius: 50px;
    padding: 10px 28px;
    transition: var(--transition);
}
.btn-accent:hover {
    background: var(--accent-hover);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245,166,35,0.4);
}
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    padding: 10px 28px;
}
.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
}
.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
}
.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Section Styles */
.section-label {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}
.section-title {
    color: var(--primary);
    font-weight: 800;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

/* ========== TOP HEADER BANNER ========== */
.top-header-banner {
    width: 100%;
    line-height: 0;
    overflow: hidden;
    background: var(--primary);
}
.top-header-banner a {
    display: block;
    text-decoration: none;
}
.top-header-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* ========== HEADER ========== */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: transparent;
    box-shadow: none;
    transition: background 0.35s ease, box-shadow 0.35s ease;
}
.site-header:not(.header-over-hero) {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.site-header.scrolled {
    background: var(--white) !important;
    box-shadow: var(--shadow);
}
/* Desktop only — transparent header over hero / inner page header */
@media (min-width: 992px) {
    body:has(.hero-section) .site-header:not(.scrolled),
    body:has(.page-header) .site-header:not(.scrolled),
    .site-header.header-over-hero:not(.scrolled) {
        background: transparent !important;
        box-shadow: none !important;
    }
    body:has(.hero-section) .site-header:not(.scrolled) .navbar,
    body:has(.page-header) .site-header:not(.scrolled) .navbar,
    .site-header.header-over-hero:not(.scrolled) .navbar {
        background: transparent !important;
    }
    /* Keep header solid while top banner is still visible */
    body:has(.top-header-banner) .site-header.scrolled {
        background: var(--white) !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
    }
    body:has(.top-header-banner) .site-header.scrolled .navbar {
        background: var(--white) !important;
    }
}
.site-header .navbar { padding: 12px 0; }

@media (min-width: 992px) {
    .site-header .navbar > .container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    .header-top-row {
        display: contents;
    }
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.site-logo-img {
    width: auto;
    max-height: 50px;
    max-width: 180px;
    object-fit: contain;
}
.logo-text {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
    transition: color 0.35s ease;
}

.navbar-nav .nav-link {
    color: var(--primary);
    font-weight: 500;
    padding: 8px 16px !important;
    font-size: 0.95rem;
    transition: color 0.35s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-light);
}

.nav-icon {
    color: var(--primary);
    font-size: 1.1rem;
    transition: color 0.35s ease;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    line-height: 1;
}
.nav-icon:hover { color: var(--accent); }

/* Header Search Panel */
.header-search-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--primary);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease;
    z-index: 1045;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.header-search-panel.is-open {
    max-height: 100px;
    opacity: 1;
    padding: 16px 0;
}
.header-search-form {
    display: flex;
    align-items: center;
    gap: 12px;
}
.header-search-input {
    flex: 1;
    border: none;
    border-radius: 50px;
    padding: 14px 24px;
    font-size: 1rem;
    outline: none;
    background: var(--white);
    color: var(--text);
}
.header-search-input::placeholder {
    color: #999;
}
.header-search-submit,
.header-search-close {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}
.header-search-submit:hover,
.header-search-close:hover {
    background: var(--accent);
    color: var(--primary);
}
.site-header .navbar {
    position: relative;
}
body.search-open {
    overflow: hidden;
}
body.search-open .site-header,
body.search-open .site-header .navbar {
    background: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
body.search-open .site-header .logo-text,
body.search-open .site-header .navbar-nav .nav-link,
body.search-open .site-header .nav-icon {
    color: var(--primary) !important;
}

/* Desktop only — white nav text over hero / page header */
@media (min-width: 992px) {
    body:has(.hero-section) .site-header:not(.scrolled) .logo-text,
    body:has(.hero-section) .site-header:not(.scrolled) .navbar-nav .nav-link,
    body:has(.hero-section) .site-header:not(.scrolled) .nav-icon,
    body:has(.page-header) .site-header:not(.scrolled) .logo-text,
    body:has(.page-header) .site-header:not(.scrolled) .navbar-nav .nav-link,
    body:has(.page-header) .site-header:not(.scrolled) .nav-icon,
    .site-header.header-over-hero:not(.scrolled) .logo-text,
    .site-header.header-over-hero:not(.scrolled) .navbar-nav .nav-link,
    .site-header.header-over-hero:not(.scrolled) .nav-icon {
        color: var(--white);
    }
    body:has(.hero-section) .site-header:not(.scrolled) .navbar-nav .nav-link:hover,
    body:has(.hero-section) .site-header:not(.scrolled) .navbar-nav .nav-link.active,
    body:has(.page-header) .site-header:not(.scrolled) .navbar-nav .nav-link:hover,
    body:has(.page-header) .site-header:not(.scrolled) .navbar-nav .nav-link.active,
    .site-header.header-over-hero:not(.scrolled) .navbar-nav .nav-link:hover,
    .site-header.header-over-hero:not(.scrolled) .navbar-nav .nav-link.active {
        color: var(--accent);
    }
    body:has(.hero-section) .site-header:not(.scrolled) .navbar-toggler,
    body:has(.page-header) .site-header:not(.scrolled) .navbar-toggler,
    .site-header.header-over-hero:not(.scrolled) .navbar-toggler {
        border-color: rgba(255,255,255,0.5);
    }
    body:has(.hero-section) .site-header:not(.scrolled) .navbar-toggler-icon,
    body:has(.page-header) .site-header:not(.scrolled) .navbar-toggler-icon,
    .site-header.header-over-hero:not(.scrolled) .navbar-toggler-icon {
        filter: brightness(0) invert(1);
    }
    body:has(.hero-section) .site-header:not(.scrolled) .dropdown-toggle::after,
    body:has(.page-header) .site-header:not(.scrolled) .dropdown-toggle::after,
    .site-header.header-over-hero:not(.scrolled) .dropdown-toggle::after {
        border-top-color: var(--white);
    }
}
.site-header.scrolled .dropdown-toggle::after {
    border-top-color: var(--primary);
}

/* Desktop: open all dropdowns on hover */
@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown > .dropdown-menu {
        display: none;
        margin-top: 0;
        animation: none;
    }
    .navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
        display: block !important;
        animation: navDropdownIn 0.25s ease;
    }
    .navbar-nav .nav-item.dropdown:hover > .nav-link {
        color: var(--primary-light);
    }
    .site-header.header-over-hero:not(.scrolled) .navbar-nav .nav-item.dropdown:hover > .nav-link {
        color: var(--accent);
    }
}
@keyframes navDropdownIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.btn-donate {
    padding: 8px 20px !important;
    font-size: 0.9rem;
}

/* Mega Menu */
.mega-dropdown { position: static !important; }
.mega-menu {
    width: 100%;
    left: 0 !important;
    right: 0 !important;
    border: none;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow);
    padding: 30px 0;
    margin-top: 0 !important;
}
.mega-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.3rem;
}
.mega-col-title {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
}
.mega-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mega-links li { margin-bottom: 8px; }
.mega-links a {
    color: var(--text);
    font-size: 0.9rem;
}
.mega-links a:hover { color: var(--primary-light); }

.mega-featured { position: relative; }
.mega-featured img { width: 100%; height: 200px; object-fit: cover; }
.mega-featured-link {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    color: var(--white);
    padding: 12px 20px;
    font-weight: 600;
    border-radius: 0 0 var(--radius) var(--radius);
}
.mega-featured-link:hover { color: var(--accent); }

main { padding-top: 0; }

/* ========== HERO ========== */
.hero-section { position: relative; }
.hero-swiper {
    height: var(--hero-height, 85vh);
    min-height: var(--hero-min-height, 500px);
}
.hero-slide {
    background-size: cover;
    background-position: center;
    position: relative;
    height: 100%;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--hero-overlay, linear-gradient(135deg, rgba(27,58,107,0.45) 0%, rgba(27,58,107,0.3) 100%));
}
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}
.min-vh-75 { min-height: 75vh; }
.hero-title {
    color: var(--white);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.hero-subtitle {
    color: var(--accent);
    font-size: 1.3rem;
    font-weight: 600;
    max-width: 600px;
}
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
    color: var(--white);
}
.hero-swiper .swiper-pagination-bullet-active {
    background: var(--accent);
}
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 3;
}
.hero-wave svg { width: 100%; height: 80px; display: block; }

/* Hero Flyout Tab — CIS-style "New & Now" panel */
.hero-flyout {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) translateX(0);
    width: 400px;
    max-width: 38%;
    background: rgba(27, 58, 107, 0.93);
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-right: none;
    border-radius: 20px 0 0 20px;
    padding: 28px 32px;
    z-index: 10;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.45s ease;
}
.hero-flyout.is-hidden {
    transform: translateY(-50%) translateX(105%);
    opacity: 0;
    pointer-events: none;
}
.hero-flyout-heading {
    color: var(--accent);
    font-style: italic;
    font-weight: 700;
    font-size: 1.35rem;
    margin-bottom: 22px;
}
.hero-flyout-item h3 {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 12px;
}
.hero-flyout-link {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.25s ease, gap 0.25s ease;
}
.hero-flyout-link:hover {
    color: var(--accent);
    gap: 12px;
}
.hero-flyout-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    margin: 22px 0;
}

/* ========== STATS ========== */
.stats-section { background: var(--primary); color: var(--white); }
.stats-swiper { padding-bottom: 40px; }
.stats-swiper .swiper-slide { height: auto; }
.stat-item { padding: 20px; }
.stat-icon { font-size: 2rem; color: var(--accent); margin-bottom: 10px; }
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}
.stat-title {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 10px;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}
.stats-pagination {
    bottom: 0 !important;
}
.stats-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    width: 10px;
    height: 10px;
}
.stats-pagination .swiper-pagination-bullet-active {
    background: var(--accent);
}
@media (min-width: 992px) {
    .stats-swiper { padding-bottom: 0; }
    .stats-pagination { display: none; }
}

/* ========== LATEST NEWS ========== */
.news-section .section-title { text-align: left; }
.news-featured-inner {
    position: relative;
    height: 480px;
    border-radius: var(--radius);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}
.news-featured:hover .news-featured-inner { transform: scale(1.01); }
.news-featured-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
}
.news-featured-date {
    color: var(--white);
    font-size: 0.9rem;
    margin-bottom: 12px;
    opacity: 0.9;
}
.news-featured-title {
    color: var(--accent);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
}
.news-featured-excerpt {
    color: var(--white);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0.95;
}
.news-list-panel {
    position: relative;
    height: 480px;
    display: flex;
    flex-direction: column;
}
.news-list {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding-right: 4px;
    scrollbar-width: none;
}
.news-list::-webkit-scrollbar { display: none; }
.news-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    margin-bottom: 12px;
    background: var(--white);
    border: 1px solid #e8e8e8;
    border-radius: var(--radius);
    text-decoration: none;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.news-list-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}
.news-list-body { flex: 1; min-width: 0; }
.news-list-title {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-list-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.news-list-category {
    color: var(--primary-light);
    font-weight: 600;
}
.news-list-sep { opacity: 0.4; }
.news-list-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
}
.news-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-list-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-top: 12px;
}
.news-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.news-nav-btn:hover {
    background: var(--primary);
    color: var(--white);
}

@media (max-width: 991.98px) {
    .news-featured-inner { height: 360px; }
    .news-list-panel { height: auto; max-height: 500px; }
    .news-featured-title { font-size: 1.3rem; }
}

/* ========== PROGRAM CARDS ========== */
.program-card { border-radius: var(--radius); overflow: hidden; }
.program-card-bg {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: var(--radius);
}
.program-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27,58,107,0.9) 0%, rgba(27,58,107,0.3) 60%, transparent 100%);
    border-radius: var(--radius);
}
.program-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: var(--white);
}
.program-card-content h3 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.program-card-content p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

/* ========== DONATE BANNER ========== */
/* ========== DONATION BANNER ========== */
.donate-banner-section {
    position: relative;
    overflow: hidden;
}
.donate-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}
.donate-banner-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27,58,107,0.92) 0%, rgba(43,94,167,0.85) 50%, rgba(27,58,107,0.9) 100%);
}
.donate-banner-card {
    position: relative;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 48px 40px;
    color: var(--white);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.donate-banner-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,166,35,0.2);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}
.donate-banner-title {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}
.donate-banner-text {
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.92;
    margin-bottom: 28px;
    max-width: 520px;
}
.donate-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}
.btn-donate-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50px;
    font-weight: 600;
    padding: 10px 28px;
    transition: var(--transition);
}
.btn-donate-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}
.donate-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    opacity: 0.85;
}
.donate-trust-badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.donate-trust-badges i { color: var(--accent); }
.donate-impact-grid {
    display: grid;
    gap: 14px;
}
.donate-impact-item {
    position: relative;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 20px 22px;
    transition: var(--transition);
}
.donate-impact-item:hover {
    background: rgba(255,255,255,0.16);
    transform: translateX(4px);
}
.donate-impact-item-featured {
    background: rgba(245,166,35,0.15);
    border-color: rgba(245,166,35,0.35);
}
.donate-impact-amount {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 6px;
}
.donate-impact-item p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
}
.donate-impact-tag {
    position: absolute;
    top: 12px;
    right: 14px;
    background: var(--accent);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 50px;
}

/* ========== VOLUNTEER SECTION ========== */
.volunteer-section {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
}
.volunteer-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(27,58,107,0.12);
    border: 1px solid rgba(27,58,107,0.06);
}
.volunteer-content {
    padding: 48px 40px;
}
.volunteer-title {
    color: var(--primary);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}
.volunteer-lead {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 28px;
}
.volunteer-benefits {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 32px;
}
.volunteer-benefit {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.volunteer-benefit-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.volunteer-benefit h6 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 4px;
}
.volunteer-benefit p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}
.volunteer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.btn-volunteer-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-weight: 600;
    padding: 10px 28px;
    transition: var(--transition);
}
.btn-volunteer-outline:hover {
    background: var(--primary);
    color: var(--white);
}
.volunteer-visual {
    position: relative;
    min-height: 320px;
}
.volunteer-image-wrap {
    position: relative;
    height: 100%;
    min-height: 380px;
}
.volunteer-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.volunteer-image-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--white) 0%, transparent 25%);
    z-index: 1;
    pointer-events: none;
}
.volunteer-stat-badge {
    position: absolute;
    bottom: 28px;
    left: 28px;
    z-index: 2;
    background: var(--white);
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    text-align: center;
}
.volunteer-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.volunteer-stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
    margin-top: 4px;
}

@media (max-width: 991.98px) {
    .donate-banner-card { padding: 32px 24px; }
    .volunteer-content { padding: 32px 24px; }
    .volunteer-visual { order: -1; }
    .volunteer-image-wrap { min-height: 260px; }
    .volunteer-image-wrap::before {
        background: linear-gradient(180deg, transparent 60%, var(--white) 100%);
    }
    .volunteer-stat-badge {
        bottom: 16px;
        left: 16px;
        padding: 14px 18px;
    }
    .volunteer-stat-number { font-size: 1.5rem; }
}

/* ========== EVENT CARDS ========== */
.event-card { position: relative; overflow: hidden; border-radius: var(--radius) !important; }
.event-card .card-img-top { height: 200px; object-fit: cover; }
.event-date {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--accent);
    color: var(--primary);
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 700;
    margin-bottom: 12px;
}
.event-date .day { font-size: 1.5rem; line-height: 1; }
.event-date .month { font-size: 0.75rem; text-transform: uppercase; }

/* ========== TESTIMONIALS ========== */
.testimonial-card {
    max-width: 700px;
    margin: 0 auto;
}
.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-light);
}
.testimonial-name { color: var(--primary); font-weight: 700; }

/* ========== SPONSORS ========== */
.sponsor-logo {
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}
.sponsor-logo:hover {
    filter: none;
    opacity: 1;
}

/* ========== NEWSLETTER ========== */
.newsletter-modal-dialog {
    max-width: 960px;
}
.newsletter-modal-content {
    background: transparent;
    overflow: visible;
}
.newsletter-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0,0,0,0.3);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.newsletter-modal-close:hover {
    background: rgba(0,0,0,0.55);
}
.newsletter-modal-inner {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    min-height: 420px;
}
.newsletter-modal-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139,26,45,0.88) 0%, rgba(27,58,107,0.82) 100%);
}
.newsletter-modal-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    min-height: 420px;
}
.newsletter-modal-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 40px;
    color: var(--white);
}
.newsletter-modal-copy h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
}
.newsletter-modal-copy p {
    font-size: 1rem;
    line-height: 1.65;
    opacity: 0.95;
    margin: 0;
    max-width: 360px;
}
.newsletter-modal-form-wrap {
    position: relative;
    padding: 48px 40px 48px 20px;
    display: flex;
    align-items: center;
}
.newsletter-modal-form {
    flex: 1;
    max-width: 320px;
    z-index: 2;
}
.newsletter-field {
    margin-bottom: 16px;
}
.newsletter-field label {
    display: block;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.newsletter-field input {
    width: 100%;
    border: none;
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 0.95rem;
    background: var(--white);
    color: var(--text);
}
.newsletter-field input:focus {
    outline: 2px solid var(--accent);
}
.newsletter-modal-submit {
    width: 100%;
    background: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: 6px;
    padding: 14px 24px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
}
.newsletter-modal-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}
.newsletter-modal-message {
    margin-top: 12px;
}
.newsletter-modal-message .alert {
    font-size: 0.85rem;
    padding: 10px 14px;
    margin: 0;
}
.newsletter-modal-person {
    position: absolute;
    right: -10px;
    bottom: 0;
    width: 200px;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}
.newsletter-modal-person img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    mask-image: linear-gradient(to left, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 60%, transparent 100%);
}
.newsletter-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
}
.newsletter-tab {
    position: fixed;
    bottom: 0;
    left: 0;
    background: var(--accent);
    color: var(--primary);
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    z-index: 1040;
    border-radius: 0 12px 0 0;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
.newsletter-tab:hover {
    background: var(--accent-hover);
    padding-right: 30px;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    cursor: pointer;
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary); color: var(--white); }
.back-to-top i { font-size: 1rem; }

/* ========== FOOTER ========== */
.site-footer {
    background: var(--footer-bg);
    border-top: 1px solid #d8dee8;
}
.site-footer .footer-bottom {
    background: var(--footer-bottom-bg);
    border-top: 1px solid #d8dee8;
    margin-top: 0;
}
.footer-brand .logo-text {
    color: var(--primary);
    font-weight: 800;
}
.footer-tagline {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
}
.footer-about {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
    max-width: 280px;
}
.footer-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 20px;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: var(--text);
    font-size: 0.9rem;
}
.footer-links a:hover { color: var(--primary-light); }

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    margin-right: 8px;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(27,58,107,0.08);
}
.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}
.footer-badge {
    display: block;
    line-height: 0;
}
.footer-badge img {
    height: 56px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    border-radius: 4px;
}
.footer-badge:hover img {
    opacity: 0.85;
}

.footer-legal a { color: var(--primary-light); font-weight: 500; }
.footer-address, .footer-tax, .footer-copyright {
    font-size: 0.85rem;
    color: var(--text-light);
}
.footer-address a { color: var(--primary-light); }

/* Footer mobile — 2 columns per row */
@media (max-width: 767.98px) {
    .footer-main {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 20px;
        row-gap: 8px;
    }
    .footer-main > .col-12 {
        grid-column: 1 / -1;
    }
    .footer-main > [class*="col-"] {
        width: 100%;
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }
    .footer-title {
        font-size: 0.95rem;
        margin-bottom: 14px;
    }
    .footer-links a {
        font-size: 0.82rem;
    }
    .footer-links li {
        margin-bottom: 8px;
    }
    .site-footer .social-links {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    .site-footer .social-links a {
        width: 36px;
        height: 36px;
        margin-right: 0;
        font-size: 0.9rem;
    }
    .footer-badge img {
        height: 48px;
        max-width: 120px;
    }
}

/* ========== PAGE HEADER (inner pages) ========== */
.page-header {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin-bottom: -1px;
}
.page-header-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}
.page-header-overlay {
    position: absolute;
    inset: 0;
    background: var(--page-hero-overlay);
    z-index: 1;
}
.page-header-bg {
    z-index: 0;
}
.page-header-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 140px 0 100px;
    text-align: left;
}
.page-header-title {
    color: var(--white);
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    line-height: 1.15;
    margin-bottom: 16px;
    max-width: 720px;
}
.page-header-subtitle {
    color: rgba(255,255,255,0.95);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.65;
    margin: 0;
    max-width: 640px;
}
.page-header-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    line-height: 0;
    pointer-events: none;
}
.page-header-wave svg {
    display: block;
    width: 100%;
    height: 72px;
}

/* ========== PROGRAMS NEWS BULLETIN ========== */
.programs-bulletin {
    background: var(--primary);
    color: #fff;
    overflow: hidden;
    border-bottom: 3px solid var(--accent);
}
.programs-bulletin-inner {
    display: flex;
    align-items: stretch;
    min-height: 52px;
}
.programs-bulletin-label {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding: 12px 20px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.programs-bulletin-label i {
    font-size: 1rem;
}
.programs-bulletin-track {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}
.programs-bulletin-track::before,
.programs-bulletin-track::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    z-index: 2;
    pointer-events: none;
}
.programs-bulletin-track::before {
    left: 0;
    background: linear-gradient(to right, var(--primary), transparent);
}
.programs-bulletin-track::after {
    right: 0;
    background: linear-gradient(to left, var(--primary), transparent);
}
.programs-bulletin-scroll {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    animation: programsBulletinScroll 70s linear infinite;
    padding: 12px 0;
}
.programs-bulletin-scroll:hover {
    animation-play-state: paused;
}
.programs-bulletin-item {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
    padding: 0 8px;
    transition: color 0.2s ease;
}
.programs-bulletin-item:hover {
    color: var(--accent-light, #ffb347);
}
.programs-bulletin-sep {
    color: rgba(255, 255, 255, 0.45);
    padding: 0 4px;
    user-select: none;
}
@keyframes programsBulletinScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (max-width: 767.98px) {
    .programs-bulletin-inner {
        flex-direction: column;
    }
    .programs-bulletin-label {
        justify-content: center;
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    .programs-bulletin-scroll {
        animation-duration: 55s;
    }
}

/* ========== FORMS ========== */
.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.2rem rgba(27,58,107,0.15);
}
.form-label { font-weight: 500; color: var(--text); }

/* ========== CARDS ========== */
.card { border-radius: var(--radius); transition: var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img-top { height: 220px; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }

/* ========== TEAM ========== */
.team-card { text-align: center; }
.team-card img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--bg-light);
}
.team-card h5 { color: var(--primary); font-weight: 700; }
.team-card .designation { color: var(--accent); font-weight: 500; font-size: 0.9rem; }

/* ========== GALLERY ========== */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(27,58,107,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: var(--white); font-size: 2rem; }

/* ========== LATEST EVENT ========== */
.latest-event-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(27,58,107,0.1);
    border: 1px solid rgba(27,58,107,0.06);
}
.latest-event-image {
    position: relative;
    min-height: 360px;
}
.latest-event-image img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}
.latest-event-date-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 14px;
    padding: 14px 18px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    line-height: 1.1;
}
.latest-event-date-badge .day {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
}
.latest-event-date-badge .month {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}
.latest-event-date-badge .year {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.8;
}
.latest-event-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.latest-event-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}
.latest-event-title {
    color: var(--primary);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
}
.latest-event-desc {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}
.latest-event-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}
.latest-event-meta li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text);
    margin-bottom: 12px;
    font-size: 0.95rem;
}
.latest-event-meta i {
    color: var(--accent);
    margin-top: 3px;
}
.latest-event-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ========== EVENT CALENDAR ========== */
.event-calendar-card {
    background: var(--white);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(27,58,107,0.06);
}
.event-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.event-calendar-header h4 {
    color: var(--primary);
    font-weight: 800;
    margin: 0;
    font-size: 1.25rem;
}
.event-cal-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.event-cal-nav:hover {
    background: var(--primary);
    color: var(--white);
}
.event-calendar-weekdays,
.event-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}
.event-calendar-weekdays span {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    padding: 8px 0;
}
.event-cal-day {
    aspect-ratio: 1;
    border: none;
    background: var(--bg-light);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.event-cal-day:hover:not(:disabled) {
    background: rgba(43,94,167,0.12);
    color: var(--primary);
}
.event-cal-day.other-month {
    opacity: 0.35;
    cursor: default;
}
.event-cal-day.today {
    border: 2px solid var(--primary);
}
.event-cal-day.selected {
    background: var(--primary);
    color: var(--white);
}
.event-cal-day.has-event::after {
    content: '';
    position: absolute;
    bottom: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}
.event-cal-day.selected.has-event::after {
    background: var(--white);
}
.event-calendar-sidebar {
    background: var(--white);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(27,58,107,0.06);
    height: 100%;
}
.event-calendar-sidebar h5 {
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 20px;
}
.cal-event-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 420px;
    overflow-y: auto;
}
.cal-event-item {
    display: block;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    text-decoration: none;
    transition: var(--transition);
}
.cal-event-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}
.cal-event-item h6 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.cal-event-item .cal-event-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
}
.cal-event-item .cal-event-meta i {
    color: var(--accent);
    margin-right: 6px;
}
.cal-event-empty {
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: center;
    padding: 40px 20px;
}

/* ========== HOME GALLERY ========== */
.home-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.home-gallery-item {
    position: relative;
    border: none;
    padding: 0;
    border-radius: 14px;
    overflow: hidden;
    background: none;
    cursor: pointer;
    aspect-ratio: 4/3;
}
.home-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.home-gallery-item:hover img {
    transform: scale(1.08);
}
.home-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(27,58,107,0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
    padding: 12px;
}
.home-gallery-item:hover .home-gallery-overlay { opacity: 1; }
.home-gallery-overlay i { font-size: 1.5rem; }
.home-gallery-overlay span {
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 991.98px) {
    .latest-event-content { padding: 28px 24px; }
    .home-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
    .home-gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .event-calendar-card, .event-calendar-sidebar { padding: 20px 16px; }
}

/* ========== FAQ ========== */
.accordion-button:not(.collapsed) {
    background: var(--primary);
    color: var(--white);
}
.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(27,58,107,0.15);
}

/* ========== DONATION PAGE ========== */
.donate-trust-strip {
    background: var(--primary);
    padding: 18px 0;
}
.donate-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.donate-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
}
.donate-trust-item i {
    color: var(--accent);
    font-size: 1.1rem;
}
.donate-page-section {
    background: var(--bg-light);
}
.donate-form-card {
    background: var(--white);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 12px 48px rgba(27,58,107,0.08);
    border: 1px solid rgba(27,58,107,0.06);
}
.donate-form-title {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.85rem;
    margin-bottom: 8px;
}
.donate-form-lead {
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.6;
}
.donate-type-toggle {
    display: inline-flex;
    background: var(--bg-light);
    border-radius: 50px;
    padding: 4px;
    gap: 4px;
}
.donate-type-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    margin: 0;
}
.btn-check:checked + .donate-type-btn {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(27,58,107,0.2);
}
.donate-amount-label {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 0.9rem;
}
.donate-amount-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}
.donation-amount-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px 8px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
}
.donation-amount-value {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--primary);
}
.donation-amount-impact {
    font-size: 0.65rem;
    color: var(--text-light);
    line-height: 1.2;
}
.donation-amount-btn:hover,
.donation-amount-btn.active {
    border-color: var(--accent);
    background: rgba(245,166,35,0.08);
    box-shadow: 0 4px 16px rgba(245,166,35,0.2);
}
.donate-custom-input .input-group-text {
    background: var(--bg-light);
    border-color: #dee2e6;
    font-weight: 700;
    color: var(--primary);
}
.donate-payment-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.donate-payment-option {
    display: block;
    cursor: pointer;
    margin: 0;
}
.donate-payment-option input {
    position: absolute;
    opacity: 0;
}
.donate-payment-option span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    transition: var(--transition);
}
.donate-payment-option input:checked + span {
    border-color: var(--primary);
    background: rgba(27,58,107,0.05);
    color: var(--primary);
}
.donate-payment-option span i {
    color: var(--accent);
    width: 18px;
    text-align: center;
}
.donate-submit-btn {
    width: 100%;
    padding: 14px !important;
    font-size: 1.05rem !important;
}
.donate-sidebar-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(27,58,107,0.06);
}
.donate-sidebar-card-header {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
}
.donate-sidebar-card-header > i {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.donate-sidebar-card-header h4 {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.donate-sidebar-card-header p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}
.donate-qr-wrap {
    background: var(--bg-light);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    margin-bottom: 14px;
}
.donate-qr-image {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.donate-qr-id {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 10px;
    word-break: break-all;
}
.donate-bank-details {
    list-style: none;
    padding: 0;
    margin: 0;
}
.donate-bank-details li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 12px;
}
.donate-bank-details li:last-child {
    border-bottom: none;
}
.donate-bank-details span {
    color: var(--text-light);
    font-size: 0.85rem;
}
.donate-bank-details strong {
    color: var(--primary);
    font-size: 0.9rem;
    text-align: right;
}
.donate-sidebar-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.donate-campaign-item {
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}
.donate-campaign-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.donate-campaign-item h6 {
    color: var(--primary);
    font-weight: 600;
    margin: 0;
    font-size: 0.9rem;
}
.donate-recent-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
.donate-recent-item:last-child {
    border-bottom: none;
}
.donate-recent-avatar {
    width: 36px;
    height: 36px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    flex-shrink: 0;
}
.donate-recent-body {
    flex: 1;
    min-width: 0;
}
.donate-recent-body strong {
    display: block;
    color: var(--primary);
    font-size: 0.9rem;
}
.donate-recent-body small {
    color: var(--text-light);
    font-size: 0.75rem;
}
.donate-recent-amount {
    color: var(--accent);
    font-weight: 800;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.donate-why-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow);
    border: 1px solid rgba(27,58,107,0.04);
}
.donate-why-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 18px;
}
.donate-why-card h5 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 12px;
}
.donate-why-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}
.campaign-progress {
    height: 8px;
    border-radius: 4px;
    background: #eee;
}
.campaign-progress .bar {
    height: 100%;
    border-radius: 4px;
    background: var(--accent);
}

@media (max-width: 991.98px) {
    .donate-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .donate-amount-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .donate-form-card {
        padding: 24px 20px;
    }
}
@media (max-width: 575.98px) {
    .donate-amount-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .donate-payment-options {
        grid-template-columns: 1fr;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
    /* Mobile: always solid white header from first paint */
    .site-header,
    .site-header.header-over-hero,
    body:has(.hero-section) .site-header {
        background: var(--white) !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
    }
    .site-header .navbar {
        background: var(--white) !important;
        padding: 10px 0;
    }
    .site-header .logo-text,
    .site-header .navbar-nav .nav-link,
    .site-header .nav-icon {
        color: var(--primary) !important;
    }
    .site-header .navbar-toggler-icon {
        filter: none !important;
    }
    .site-header .dropdown-toggle::after {
        border-top-color: var(--primary) !important;
    }

    /* Hide hero flyout on mobile */
    .hero-flyout {
        display: none !important;
    }

    /* Mobile header: fixed top row — logo | donate + hamburger */
    .site-header .navbar > .container {
        display: block;
        padding-left: 12px;
        padding-right: 12px;
    }
    .header-top-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
        min-height: 48px;
    }
    .site-header .navbar-brand {
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
        margin-right: 0;
        overflow: hidden;
        padding: 0;
    }
    .site-header .navbar-brand .logo-text {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .site-header .logo-text {
        font-size: 0.9rem;
        color: var(--primary) !important;
    }
    .site-header .site-logo-img {
        max-height: 36px;
        max-width: 110px;
        flex-shrink: 0;
    }
    .header-mobile-controls {
        display: flex !important;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }
    .site-header .navbar-expand-lg .navbar-collapse:not(.show) {
        display: none !important;
    }
    .btn-donate-mobile {
        padding: 8px 14px !important;
        font-size: 0.8rem !important;
        white-space: nowrap;
        line-height: 1.2;
        box-shadow: none;
        outline: none;
    }
    .btn-donate-mobile:focus,
    .btn-donate-mobile:focus-visible {
        box-shadow: none;
        outline: none;
    }
    .btn-donate-mobile .fa-heart {
        font-size: 0.75rem;
    }
    .site-header .navbar-toggler {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        border: none !important;
        border-radius: 0;
        flex-shrink: 0;
        margin: 0;
        background: transparent !important;
        box-shadow: none !important;
        outline: none !important;
    }
    .site-header .navbar-toggler:focus,
    .site-header .navbar-toggler:focus-visible,
    .site-header .navbar-toggler:active {
        box-shadow: none !important;
        outline: none !important;
        border: none !important;
    }
    .site-header .navbar-toggler-icon {
        width: 20px;
        height: 20px;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231B3A6B' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        background-size: 100%;
        filter: none !important;
    }
    .site-header .navbar-collapse {
        background: var(--white);
        border-top: 1px solid #eee;
        margin-top: 8px;
        padding: 10px 0 15px;
        max-height: 80vh;
        overflow-y: auto;
    }
    .site-header .navbar-collapse.show,
    .site-header .navbar-collapse.collapsing {
        display: block;
    }
    .site-header .nav-actions {
        display: none !important;
    }

    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .section-title { font-size: 1.8rem; }
    .mega-menu { padding: 15px; }
    .program-card-bg { height: 300px; }
    .stat-number { font-size: 2rem; }
    .newsletter-tab span { display: none; }
    .newsletter-tab { padding: 12px 16px; }
    .newsletter-modal-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .newsletter-modal-copy {
        padding: 32px 24px 16px;
    }
    .newsletter-modal-form-wrap {
        padding: 16px 24px 32px;
    }
    .newsletter-modal-person {
        display: none;
    }
    .header-search-panel.is-open {
        padding: 12px 0;
    }
}

/* Search results */
.search-page-form .form-control {
    border-radius: 50px 0 0 50px;
}
.search-page-form .btn {
    border-radius: 0 50px 50px 0;
}
.search-result-item {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    transition: var(--transition);
}
.search-result-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}
.search-result-item h5 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 6px;
}
.search-result-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 767.98px) {
    .site-header .navbar > .container {
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }
    .hero-swiper {
        height: var(--hero-height, 70vh);
        min-height: var(--hero-min-height, 400px);
    }
    .hero-title { font-size: 1.6rem; }
    .page-header {
        min-height: 340px;
    }
    .page-header-content {
        padding: 110px 0 80px;
    }
    .page-header-wave svg {
        height: 48px;
    }
}

@media (max-width: 380px) {
    .btn-donate-mobile .fa-heart { display: none; }
    .btn-donate-mobile {
        padding: 7px 12px !important;
        font-size: 0.75rem !important;
    }
    .site-header .navbar-toggler {
        width: 36px;
        height: 36px;
    }
}