:root {
    --primary: #0A6E31;
    --primary-dark: #065224;
    --primary-light: #2B8C4A;
    --secondary: #1C9E5E;
    --accent: #F4B400;
    --accent-dark: #d9a000;
    --light: #F7F9FB;
    --dark: #0F172A;
    --gray: #64748B;
    --gray-light: #E2E8F0;
    --gradient-primary: linear-gradient(135deg, #0A6E31 0%, #1C9E5E 100%);
    --gradient-dark: linear-gradient(135deg, #0F172A 0%, #1a2744 100%);
    --gradient-hero: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(10,110,49,0.7) 100%);
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 32px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.14);
    --shadow-xl: 0 24px 64px rgba(15, 23, 42, 0.18);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; }
.fw600 { font-weight: 600; }
.page-transition { opacity: 0; animation: pageFadeIn 0.8s ease forwards; }
@keyframes pageFadeIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ===== BUTTONS ===== */
.btn {
    padding: 14px 34px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.12);
    transform: translateX(-100%) skewX(-15deg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn:hover::before { transform: translateX(200%) skewX(-15deg); }
.btn-primary { background: var(--gradient-primary); color: #fff; box-shadow: 0 6px 24px rgba(10, 110, 49, 0.3); }
.btn-primary:hover { box-shadow: 0 10px 40px rgba(10, 110, 49, 0.4); transform: translateY(-3px); }
.btn-accent { background: var(--accent); color: var(--dark); box-shadow: 0 6px 24px rgba(244, 180, 0, 0.3); }
.btn-accent:hover { box-shadow: 0 10px 40px rgba(244, 180, 0, 0.4); transform: translateY(-3px); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: #f0f0f0; transform: translateY(-3px); }
.btn-sm { padding: 10px 22px; font-size: 0.82rem; }
.btn-lg { padding: 16px 44px; font-size: 1rem; }
.btn-outline-secondary { background: transparent; border: 2px solid var(--gray-light); color: var(--dark); }
.btn-outline-secondary:hover { border-color: var(--primary); color: var(--primary); }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; position: relative; }
.section-dark { background: var(--gradient-dark); color: #fff; }
.section-primary { background: var(--gradient-primary); color: #fff; }
.section-light { background: var(--light); }
.section-white { background: #fff; }
.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.section-title span { color: var(--primary); }
.section-title .highlight { color: var(--primary); }
.section-dark .section-title span, .section-primary .section-title span { color: var(--accent); }
.section-dark .section-title .highlight, .section-primary .section-title .highlight { color: var(--accent); }
.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 580px;
    margin-bottom: 52px;
    line-height: 1.7;
}
.section-dark .section-subtitle, .section-primary .section-subtitle { color: rgba(255,255,255,0.65); }
.text-gradient { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.glass {
    background: var(--glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}
.overlay-dark {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}
.parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.88) 0%, rgba(10,110,49,0.78) 100%);
}
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10,110,49,0.08);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 60px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 18px;
    border: 1px solid rgba(10,110,49,0.12);
}
.divider {
    width: 48px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin-bottom: 22px;
}
.section-dark .divider, .section-primary .divider { background: var(--accent); }
.overflow-hidden { overflow: hidden; }

/* ===== STICKY SOCIAL SIDEBAR ===== */
.social-sidebar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 10px;
    background: rgba(15,23,42,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 0 16px 16px 0;
    border: 1px solid rgba(255,255,255,0.06);
    border-left: none;
}
.social-sidebar a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    transition: var(--transition);
}
.social-sidebar a:hover {
    color: #fff;
    background: var(--primary);
    transform: translateX(4px);
}
.social-sidebar-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-top: 8px;
    font-weight: 600;
}
@media (max-width: 768px) {
    .social-sidebar { display: none; }
}

/* ===== NAVBAR ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}
.site-header.scrolled .navbar {
    background: rgba(15,23,42,0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 4px 40px rgba(0,0,0,0.15);
}
.navbar {
    padding: 0;
    background: transparent;
    transition: all 0.4s ease;
    position: relative;
}
.navbar .container { position: relative; }
.navbar-brand {
    font-weight: 800;
    font-size: 1.45rem;
    color: #fff !important;
    padding: 18px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.navbar-brand .brand-text { color: #fff; letter-spacing: -0.02em; }
.navbar-brand .brand-dot { color: var(--accent); }
.navbar-brand .brand-ext { color: rgba(255,255,255,0.5); font-weight: 500; font-size: 0.9rem; }
.navbar-brand .brand-name {
    font-weight: 800;
    font-size: 1.25rem;
    color: #fff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: 'Segoe UI', 'Poppins', system-ui, sans-serif;
}
.navbar .nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    padding: 26px 16px !important;
    position: relative;
    font-size: 0.88rem;
    letter-spacing: 0.01em;
}
.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 18px;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: var(--accent);
    transition: all 0.35s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { width: 20px; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: #fff !important; }
.navbar .dropdown-menu {
    background: rgba(15,23,42,0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 10px;
    margin-top: 4px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    min-width: 200px;
}
.navbar .dropdown-item {
    color: rgba(255,255,255,0.75);
    padding: 11px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    transition: var(--transition);
}
.navbar .dropdown-item:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
    padding-left: 26px;
}
.navbar .donate-btn {
    background: var(--accent) !important;
    color: var(--dark) !important;
    padding: 11px 26px !important;
    border-radius: 60px;
    font-weight: 700;
}
.navbar .donate-btn::after { display: none; }
.navbar .donate-btn:hover { background: var(--accent-dark) !important; color: var(--dark) !important; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(244,180,0,0.3); }
.navbar-toggler { border: none; padding: 4px; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
    width: 28px; height: 28px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
@media (max-width: 991.98px) {
    .navbar { background: rgba(15,23,42,0.95); }
    .navbar .nav-link { padding: 14px 16px !important; }
    .navbar .nav-link::after { display: none; }
    .navbar .dropdown-menu { background: transparent; border: none; padding-left: 20px; box-shadow: none; }
    .navbar .dropdown-item { padding: 10px 16px; }
    .navbar .donate-btn { display: inline-block; margin: 10px 16px; }
}

/* ===== TOP BAR ===== */
.top-bar {
    background: #0A6E31;
    padding: 6px 0;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.9);
    position: relative;
    z-index: 10000;
}
.top-bar-link {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.top-bar-link:hover { color: #fff; }
.top-bar-link i { font-size: 0.72rem; }
.top-bar-social {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    font-size: 0.75rem;
}
.top-bar-social:hover { color: #fff; background: rgba(255,255,255,0.15); }

/* ===== SEARCH MODAL ===== */
.search-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(11,17,32,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}
.search-modal.open {
    opacity: 1;
    visibility: visible;
}
.search-modal-content {
    width: 100%;
    max-width: 640px;
    padding: 24px;
    position: relative;
}
.search-modal-close {
    position: absolute;
    top: -60px;
    right: 24px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 1.6rem;
    cursor: pointer;
    transition: color 0.2s;
}
.search-modal-close:hover { color: #fff; }
.search-modal-form { width: 100%; }
.search-modal-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.search-modal-icon {
    position: absolute;
    left: 18px;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.4);
    pointer-events: none;
}
.search-modal-input {
    width: 100%;
    padding: 18px 18px 18px 52px;
    font-size: 1.2rem;
    border: none;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    outline: none;
    transition: background 0.25s;
}
.search-modal-input::placeholder { color: rgba(255,255,255,0.35); }
.search-modal-input:focus { background: rgba(255,255,255,0.12); }

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: #0F172A;
}
.hero-slides {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-slides .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    display: flex;
    align-items: center;
    z-index: 0;
}
.hero-slides .hero-slide.active {
    visibility: visible;
    opacity: 1;
    z-index: 1;
}
.hero-slides .hero-slide .slide-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
.hero-slides .hero-slide .slide-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15,23,42,0.55) 0%, rgba(10,110,49,0.30) 100%);
    z-index: 1;
}
.hero-slides .hero-slide .slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 80px;
}
#particles-js {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}
.hero-title {
    font-size: 4.2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.08;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}
.hero-title .line { display: block; }
.hero-title .highlight { color: var(--accent); }
.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    max-width: 560px;
    margin-bottom: 36px;
    line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.45);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
}
.hero-scroll .mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    position: relative;
}
.hero-scroll .mouse::after {
    content: '';
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 9px;
    background: #fff;
    border-radius: 2px;
    animation: scrollWheel 2.2s infinite;
}
@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; margin-bottom: 14px; }
    .hero-subtitle { font-size: 0.9rem; max-width: 100%; margin-bottom: 22px; line-height: 1.5; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero { min-height: 600px; }
    .hero-swiper .swiper-slide .slide-content .container { padding-top: 90px; }
}
@media (max-width: 576px) {
    .hero-title { font-size: 1.6rem; }
    .hero-subtitle { font-size: 0.82rem; }
}

/* ===== STATISTICS ===== */
.statistics { padding: 0; margin-top: -60px; position: relative; z-index: 10; }
.stat-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 36px 24px 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(10,110,49,0.06);
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}
.stat-card:hover::before { transform: scaleX(1); }
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.stat-icon { font-size: 2rem; color: var(--primary); margin-bottom: 14px; }
.stat-number {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 0.92rem; color: var(--gray); font-weight: 500; }

/* ===== THEMATIC CARDS ===== */
.thematic-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 36px 24px 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--gray-light);
    cursor: pointer;
    height: 100%;
    overflow: hidden;
}
.thematic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}
.thematic-card:hover::before { transform: scaleX(1); }
.thematic-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-12px); border-color: transparent; }
.thematic-card .icon-box {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: #fff;
    transition: var(--transition);
}
.thematic-card:hover .icon-box { transform: scale(1.08) rotate(4deg); border-radius: 14px; box-shadow: 0 8px 32px rgba(10,110,49,0.25); }
.thematic-card h5 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.thematic-card p { font-size: 0.88rem; color: var(--gray); margin-bottom: 0; line-height: 1.6; }

/* ===== BENEFICIARIES ===== */
.beneficiary-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    height: 260px;
}
.beneficiary-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.beneficiary-card:hover img { transform: scale(1.12); }
.beneficiary-card .beneficiary-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.88) 0%, transparent 65%);
    display: flex;
    align-items: flex-end;
    padding: 26px;
}
.beneficiary-card .beneficiary-label { color: #fff; font-weight: 700; font-size: 1.1rem; }

/* ===== PROGRAM CARDS ===== */
.program-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.04);
}
.program-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-10px); }
.program-card .program-image {
    height: 230px;
    position: relative;
    overflow: hidden;
}
.program-card .program-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.program-card:hover .program-image img { transform: scale(1.12); }
.program-card .program-tag {
    position: absolute; top: 16px; left: 16px;
    background: var(--accent); color: var(--dark);
    padding: 5px 14px; border-radius: 60px;
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase;
}
.program-card .program-body { padding: 28px; }
.program-card .program-body h5 { font-weight: 700; margin-bottom: 12px; font-size: 1.1rem; }
.program-card .program-body p { font-size: 0.88rem; color: var(--gray); margin-bottom: 18px; line-height: 1.6; }

/* ===== IMPACT STORIES ===== */
.impact-story-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}
.impact-story-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.impact-story-card .story-icon {
    width: 56px; height: 56px; border-radius: 16px;
    background: var(--gradient-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: #fff; margin-bottom: 20px;
}
.impact-story-card h5 { font-weight: 700; margin-bottom: 14px; }
.impact-story-card p { font-size: 0.88rem; color: var(--gray); margin-bottom: 18px; line-height: 1.6; }

/* ===== PARTNERS ===== */
.partner-logo {
    height: 90px;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    filter: grayscale(1); opacity: 0.45;
    transition: var(--transition);
}
.partner-logo:hover { filter: grayscale(0); opacity: 1; }
.partner-logo img { max-height: 100%; max-width: 100%; }

/* ===== CTA ===== */
.cta-section { position: relative; padding: 130px 0; overflow: hidden; }
.cta-section .cta-content { position: relative; z-index: 2; text-align: center; color: #fff; }
.cta-section h2 { font-size: 3rem; font-weight: 900; margin-bottom: 18px; letter-spacing: -0.02em; }
.cta-section p { font-size: 1.2rem; color: rgba(255,255,255,0.75); margin-bottom: 42px; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.cta-section .cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.65);
    padding: 80px 0 0;
}
.footer h5 { color: #fff; font-weight: 700; margin-bottom: 24px; font-size: 1rem; letter-spacing: 0.02em; }
.footer p { font-size: 0.88rem; line-height: 1.8; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 12px; }
.footer ul li a { color: rgba(255,255,255,0.55); font-size: 0.88rem; transition: var(--transition); }
.footer ul li a:hover { color: var(--accent); padding-left: 6px; }
.footer .social-links { display: flex; gap: 12px; margin-top: 22px; }
.footer .social-links a {
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center; color: #fff;
    transition: var(--transition); border: 1px solid rgba(255,255,255,0.06);
}
.footer .social-links a:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-4px); }
.footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 24px 0; margin-top: 60px; text-align: center; font-size: 0.82rem;
}

/* ===== PAGE HERO ===== */
.page-hero {
    position: relative;
    padding: 190px 0 110px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 1;
}
.page-hero .page-hero-content { position: relative; z-index: 2; color: #fff; }
.page-hero h1 { font-size: 3.5rem; font-weight: 900; margin-bottom: 16px; letter-spacing: -0.02em; }
.page-hero .breadcrumb { background: transparent; padding: 0; margin: 0; }
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a { color: rgba(255,255,255,0.6); }
.page-hero .breadcrumb-item.active { color: var(--accent); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3); }

/* ===== ABOUT ===== */
.about-image-box {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.about-image-box img { width: 100%; }
.about-image-box .experience-badge {
    position: absolute; bottom: -20px; right: -20px;
    width: 140px; height: 140px; border-radius: 50%;
    background: var(--gradient-primary);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #fff; box-shadow: var(--shadow-xl);
}
.experience-badge .number { font-size: 2rem; font-weight: 800; line-height: 1; }
.experience-badge .text { font-size: 0.72rem; text-align: center; opacity: 0.9; }

/* ===== VALUES HEX ===== */
.values-hex { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-hex-item {
    background: #fff; border-radius: var(--radius-md);
    padding: 36px 28px; text-align: center;
    box-shadow: var(--shadow-sm); transition: var(--transition);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    min-height: 230px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.value-hex-item:hover { background: var(--gradient-primary); color: #fff; transform: scale(1.06); box-shadow: var(--shadow-xl); }
.value-hex-item .icon { font-size: 2rem; margin-bottom: 14px; }
.value-hex-item h6 { font-weight: 700; margin-bottom: 8px; }
.value-hex-item p { font-size: 0.82rem; margin-bottom: 0; }
.value-hex-item:hover p { color: rgba(255,255,255,0.8); }
@media (max-width: 768px) {
    .values-hex { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .value-hex-item { clip-path: none; border-radius: var(--radius-md); min-height: 170px; }
}

/* ===== PROGRAMS ===== */
.program-detail-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.program-detail-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.program-detail-card .program-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--border-color);
}
.program-detail-card .program-header .program-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--gradient-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: #fff; margin-bottom: 12px;
}
.program-detail-card .program-body { padding: 16px 24px 20px; }
.program-detail-card .program-body ul { list-style: none; padding: 0; margin: 0; }
.program-detail-card .program-body ul li {
    padding: 4px 0; font-size: 0.85rem; color: var(--text-muted);
    display: flex; align-items: flex-start; gap: 8px;
}
.program-detail-card .program-body ul li i { color: var(--primary); margin-top: 3px; font-size: 0.8rem; }

/* ===== GALLERY ===== */
.gallery-item {
    position: relative; border-radius: var(--radius-md);
    overflow: hidden; cursor: pointer; margin-bottom: 0;
}
.gallery-item img { width: 100%; transition: transform 0.7s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(15,23,42,0.55);
    opacity: 0; transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item .gallery-overlay i { color: #fff; font-size: 2rem; }

/* ===== NEWS ===== */
.news-card {
    background: #fff; border-radius: var(--radius-md);
    overflow: hidden; box-shadow: var(--shadow-sm);
    transition: var(--transition); height: 100%;
    border: 1px solid rgba(0,0,0,0.04);
}
.news-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-6px); }
.news-card .news-image { height: 220px; position: relative; }
.news-card .news-image img { width: 100%; height: 100%; object-fit: cover; }
.news-card .news-image .news-image-fallback {
    width: 100%; height: 100%;
    background: #e8eaed;
    display: flex; align-items: center; justify-content: center;
}
.news-card .news-image .news-image-placeholder-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #9aa0a6;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    user-select: none;
}
.news-card .news-date {
    position: absolute; top: 16px; left: 16px;
    background: var(--primary); color: #fff;
    padding: 8px 16px; border-radius: var(--radius-sm);
    text-align: center; line-height: 1.2;
}
.news-card .news-date .day { font-size: 1.3rem; font-weight: 800; display: block; }
.news-card .news-date .month { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; }
.news-card .news-body { padding: 26px; }
.news-card .news-body .news-category {
    color: var(--primary); font-size: 0.78rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px;
}
.news-card .news-body h5 { font-weight: 700; margin-bottom: 12px; }
.news-card .news-body p { font-size: 0.88rem; color: var(--gray); margin-bottom: 18px; }

/* ===== DONATE ===== */
.donate-method-card {
    background: #fff; border-radius: var(--radius-md);
    padding: 36px 28px; text-align: center;
    box-shadow: var(--shadow-sm); transition: var(--transition);
    height: 100%; border: 2px solid transparent;
}
.donate-method-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: var(--primary); }
.donate-method-card .method-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--gradient-primary);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px; font-size: 1.5rem; color: #fff;
}

/* ===== CONTACT ===== */
.contact-info-card {
    display: flex; gap: 20px;
    padding: 26px; background: #fff;
    border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
    transition: var(--transition); border: 1px solid rgba(0,0,0,0.04);
}
.contact-info-card:hover { box-shadow: var(--shadow-lg); transform: translateX(6px); }
.contact-info-card .contact-icon {
    width: 56px; height: 56px; min-width: 56px; border-radius: 16px;
    background: var(--gradient-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: #fff;
}
.contact-info-card h6 { font-weight: 700; margin-bottom: 4px; }
.contact-info-card p { font-size: 0.88rem; color: var(--gray); margin-bottom: 0; }

/* ===== MAP ===== */
.map-container { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.map-container iframe { width: 100%; height: 420px; border: none; }

.state-card {
    background: #fff; border-radius: var(--radius-md);
    padding: 26px; text-align: center;
    box-shadow: var(--shadow-sm); transition: var(--transition);
    cursor: pointer; border: 1px solid rgba(0,0,0,0.04);
}
.state-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); background: var(--gradient-primary); color: #fff; }
.state-card h5 { font-weight: 700; margin-bottom: 8px; }
.state-card p { font-size: 0.82rem; margin-bottom: 0; color: var(--gray); }
.state-card:hover p { color: rgba(255,255,255,0.8); }

/* ===== ORG TREE (Sleek) ===== */
}

/* ===== TIMELINE ===== */
.timeline { position: relative; padding: 0; }
.timeline::before {
    content: ''; position: absolute; left: 50%;
    transform: translateX(-50%); width: 2px; height: 100%; background: var(--gray-light);
}
.timeline-item { display: flex; align-items: flex-start; margin-bottom: 48px; position: relative; }
.timeline-item:nth-child(odd) { flex-direction: row; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-item .timeline-content { width: 45%; background: #fff; border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); }
.timeline-item .timeline-dot {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--gradient-primary); position: absolute; left: 50%;
    transform: translateX(-50%); display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 0.85rem; z-index: 2;
    box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(10,110,49,0.15);
}
.timeline-item .timeline-year { font-size: 0.85rem; color: var(--primary); font-weight: 700; margin-bottom: 8px; }
@media (max-width: 768px) {
    .timeline::before { left: 24px; }
    .timeline-item, .timeline-item:nth-child(even) { flex-direction: row; }
    .timeline-item .timeline-content { width: calc(100% - 70px); margin-left: 70px; }
    .timeline-item .timeline-dot { left: 24px; }
}

/* ===== SIDEBAR ===== */
.sidebar-card {
    background: #fff; border-radius: var(--radius-md);
    padding: 32px; box-shadow: var(--shadow-sm);
    position: sticky; top: 110px; border: 1px solid rgba(0,0,0,0.04);
}

/* ===== FORM ===== */
.form-control, .form-select {
    border: 2px solid var(--gray-light);
    border-radius: 12px; padding: 13px 18px;
    font-size: 0.92rem; transition: var(--transition);
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary); box-shadow: 0 0 0 4px rgba(10, 110, 49, 0.08);
}

/* ===== PAGINATION ===== */
.pagination .page-link { border: none; padding: 10px 18px; color: var(--dark); border-radius: var(--radius-sm); margin: 0 4px; font-weight: 500; }
.pagination .page-link:hover { background: var(--primary); color: #fff; }
.pagination .page-item.active .page-link { background: var(--gradient-primary); }

/* ===== ACCORDION ===== */
.accordion-item { border: none; margin-bottom: 12px; border-radius: var(--radius-md) !important; overflow: hidden; }
.accordion-button { box-shadow: none !important; font-weight: 700; padding: 20px 24px; border-radius: var(--radius-md) !important; }
.accordion-button:not(.collapsed) { background: var(--gradient-primary); color: #fff; }
.accordion-body { padding: 20px 24px; }

/* ===== SWIPER OVERRIDES ===== */
.swiper-pagination-bullet { width: 10px; height: 10px; background: rgba(255,255,255,0.3); opacity: 1; }
.swiper-pagination-bullet-active { background: var(--accent); width: 28px; border-radius: 5px; }
.section-primary .swiper-pagination-bullet { background: rgba(255,255,255,0.25); }
.section-primary .swiper-pagination-bullet-active { background: var(--accent); }
.hero-pagination { position: absolute; bottom: 100px !important; z-index: 3; }
.hero-pagination .swiper-pagination-bullet { width: 14px; height: 14px; margin: 0 6px !important; background: rgba(255,255,255,0.25); opacity: 1; }
.hero-pagination .swiper-pagination-bullet-active { background: var(--accent); width: 40px; border-radius: 7px; }

/* ===== WHATSAPP CHATBOT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.whatsapp-float .whatsapp-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    border: none;
}
.whatsapp-float .whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}
.whatsapp-float .whatsapp-btn .pulse-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 3px solid #25D366;
    opacity: 0;
    animation: whatsappPulse 2s infinite;
}
@keyframes whatsappPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 0; }
}
.whatsapp-float .whatsapp-tooltip {
    background: #fff;
    color: var(--dark);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    position: relative;
    margin-bottom: 4px;
}
.whatsapp-float .whatsapp-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 24px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg);
    border-radius: 2px;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 20px rgba(10,110,49,0.3);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 32px rgba(10,110,49,0.4);
}

/* ===== PROGRAM DETAIL CARDS ===== */
.program-detail-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.program-detail-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-3px);
}
.program-header {
    padding: 28px 32px 20px;
    border-bottom: 1px solid var(--border-color);
}
.program-icon {
    width: 54px; height: 54px;
    border-radius: 14px;
    background: var(--gradient-primary);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 14px;
    box-shadow: 0 6px 20px rgba(10,110,49,0.2);
}
.program-body { padding: 24px 32px 28px; }
.program-body ul { list-style: none; padding: 0; margin: 0; }
.program-body ul li {
    padding: 6px 0;
    font-size: 0.92rem;
    color: var(--text-muted);
}
.program-body ul li i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 0.85rem;
}

/* ===== SIDEBAR ===== */
.sidebar-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: sticky;
    top: 110px;
}
.sidebar-card h5 {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 16px;
    color: var(--dark);
}
.sidebar-card ul { list-style: none; padding: 0; margin: 0 0 0; }
.sidebar-card ul li { border-bottom: 1px solid var(--border-color); }
.sidebar-card ul li:last-child { border-bottom: none; }
.sidebar-card ul li a {
    display: block;
    padding: 10px 0;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    transition: var(--transition);
}
.sidebar-card ul li a:hover {
    color: var(--primary);
    padding-left: 6px;
}
.sidebar-card hr { margin: 20px 0; }

/* ===== ORG TREE (Sleek) ===== */
.org-tree-wrapper {
    overflow-x: auto;
    padding: 10px 0 30px;
    -webkit-overflow-scrolling: touch;
}
.org-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
}
.org-tier {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.org-tier-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #fff;
    background: var(--primary, #0A6E31);
    padding: 4px 18px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.org-tier[data-tier="1"] .org-tier-label { background: var(--secondary, #1C9E5E); }
.org-tier[data-tier="2"] .org-tier-label { background: var(--accent, #F4B400); color: #1a1a2e; }
.org-tier-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 10px 0;
}
.org-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.org-node-line {
    width: 2px;
    height: 18px;
    background: linear-gradient(to bottom, var(--primary, #0A6E31), rgba(10,110,49,0.15));
    margin-bottom: 0;
    order: 1;
}
.org-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px 18px 16px;
    text-align: center;
    box-shadow: 0 2px 16px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.04);
    transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), box-shadow 0.35s ease;
    width: 190px;
    position: relative;
    z-index: 1;
    order: 0;
    cursor: default;
}
.org-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 40px rgba(10,110,49,0.12);
    border-color: rgba(10,110,49,0.15);
}
.org-tier[data-tier="0"] .org-card {
    width: 230px;
    padding: 24px 20px 20px;
    border-top: 3px solid var(--primary, #0A6E31);
}
.org-tier[data-tier="1"] .org-card {
    border-top: 3px solid var(--secondary, #1C9E5E);
}
.org-tier[data-tier="2"] .org-card {
    border-top: 3px solid var(--accent, #F4B400);
}
.org-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 10px;
    border: 3px solid rgba(10,110,49,0.08);
    transition: border-color 0.3s ease;
}
.org-card:hover .org-avatar {
    border-color: rgba(10,110,49,0.25);
}
.org-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.org-tier[data-tier="0"] .org-avatar {
    width: 78px;
    height: 78px;
}
.org-body {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.org-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--dark, #1a1a2e);
    line-height: 1.25;
}
.org-role {
    font-size: 0.73rem;
    color: var(--gray, #6b7280);
    line-height: 1.3;
    margin-top: 2px;
}
.org-mail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(10,110,49,0.06);
    color: var(--primary, #0A6E31);
    text-decoration: none;
    font-size: 0.75rem;
    margin: 6px auto 0;
    transition: background 0.25s ease, transform 0.25s ease;
}
.org-mail:hover {
    background: var(--primary, #0A6E31);
    color: #fff;
    transform: scale(1.1);
}
/* Connector between tiers */
.org-connector {
    width: 100%;
    max-width: 900px;
    height: 32px;
    position: relative;
    overflow: visible;
}
.org-connector-inner {
    display: flex;
    justify-content: center;
    gap: 20px;
    height: 100%;
}
.org-connector-cell {
    width: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}
.org-connector-cell[data-children="0"] { visibility: hidden; }
.org-c-line {
    display: block;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,110,49,0.15), rgba(10,110,49,0.4));
    position: relative;
}
.org-connector-cell[data-children="1"] .org-c-line::after { display: none; }
/* Horizontal connector for multiple children uses a subtle dot instead */
.org-connector-cell[data-children="2"] .org-c-line::after,
.org-connector-cell[data-children="3"] .org-c-line::after,
.org-connector-cell[data-children="4"] .org-c-line::after,
.org-connector-cell[data-children="5"] .org-c-line::after {
    display: none;
}

@media (max-width: 768px) {
    .org-tree { padding: 10px 0; }
    .org-tier-row { gap: 12px; }
    .org-card { width: 160px; padding: 16px 14px 14px; }
    .org-tier[data-tier="0"] .org-card { width: 200px; }
    .org-avatar { width: 56px; height: 56px; }
    .org-tier[data-tier="0"] .org-avatar { width: 66px; height: 66px; }
    .org-name { font-size: 0.84rem; }
    .org-role { font-size: 0.7rem; }
    .org-connector { display: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 576px) {
    .section { padding: 50px 0; }
    .section-title { font-size: 1.9rem; }
    .page-hero h1 { font-size: 2.2rem; }
    .cta-section h2 { font-size: 2rem; }
    .whatsapp-float { bottom: 16px; right: 12px; gap: 6px; }
    .whatsapp-float .whatsapp-btn { width: 48px; height: 48px; font-size: 1.2rem; }
    .whatsapp-float .whatsapp-tooltip { font-size: 0.72rem; padding: 5px 10px; white-space: normal; max-width: 140px; text-align: center; }
    .back-to-top { width: 40px; height: 40px; font-size: 0.85rem; }
}
