/* ─────────────────────────────────────────────────────────────────────────────
   BASC Design System — main.css
   Tokens: --color-basc-green #2D5F2E | --color-basc-orange #F2791C
           --color-basc-gold  #d1a055 | --color-basc-white  #FFFFFF
   ───────────────────────────────────────────────────────────────────────────── */

/* ── Base ──────────────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
    background: var(--color-basc-white);
    color: var(--color-basc-green);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f3f3f3; }
::-webkit-scrollbar-thumb { background: var(--color-basc-green); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-basc-orange); }


/* ══════════════════════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════════════════════ */

#site-header {
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

#site-header.header-scrolled {
    background-color: rgba(20, 50, 21, 0.97) !important;
    box-shadow: 0 4px 32px rgba(0,0,0,0.3) !important;
    border-bottom-color: rgba(209,160,85,0.15);
}

.header-border-bottom {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(209,160,85,0.25), transparent);
    pointer-events: none;
}

/* Nav links */
header nav a,
header nav button { color: rgba(255,255,255,0.9); transition: color 0.2s ease; }
header nav a:hover,
header nav button:hover { color: var(--color-basc-gold); }

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.4rem 0.7rem;
    border-radius: 0.5rem;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
    transition: color 0.18s ease, background 0.18s ease;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 50%; right: 50%;
    height: 2px;
    background: var(--color-basc-gold);
    border-radius: 99px;
    transition: left 0.2s ease, right 0.2s ease;
}
.nav-link:hover::after,
.nav-link.active::after { left: 12px; right: 12px; }
.nav-link:hover { color: var(--color-basc-gold); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--color-basc-gold); font-weight: 600; }

/* Dropdowns */
.nav-dropdown {
    background: white;
    border-radius: 0.875rem;
    box-shadow: 0 16px 48px rgba(0,0,0,0.14), 0 0 0 1px rgba(0,0,0,0.04);
    padding: 0.5rem;
    z-index: 200;
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-basc-green);
    border-radius: 0.5rem;
    transition: background 0.15s ease, color 0.15s ease;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    text-decoration: none;
}
.nav-dropdown-item:hover,
.nav-dropdown-item.current {
    background: var(--color-basc-green);
    color: white;
}
.nav-dropdown-item.current { font-weight: 600; }
.nav-dropdown-icon {
    color: rgba(45,95,46,0.45);
    font-size: 0.875rem;
    flex-shrink: 0;
    transition: color 0.15s ease;
}
.nav-dropdown-item:hover .nav-dropdown-icon,
.nav-dropdown-item.current .nav-dropdown-icon { color: rgba(255,255,255,0.85); }

.nav-dropdown-label {
    padding: 0.5rem 0.75rem 0.25rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(45,95,46,0.45);
}
.nav-dropdown-divider {
    height: 1px;
    background: rgba(0,0,0,0.06);
    margin: 0.35rem 0.75rem;
}

/* Icon buttons (accessibility, language) */
.header-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.45rem 0.55rem;
    color: rgba(255,255,255,0.75);
    border-radius: 0.5rem;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: color 0.18s ease, background 0.18s ease;
}
.header-icon-btn:hover { color: var(--color-basc-gold); background: rgba(255,255,255,0.07); }

/* Font size buttons inside dropdown */
.font-size-btn {
    flex: 1;
    padding: 0.5rem;
    font-weight: 700;
    color: var(--color-basc-green);
    border-radius: 0.5rem;
    border: 1px solid rgba(45,95,46,0.12);
    background: transparent;
    cursor: pointer;
    transition: background 0.15s ease;
    text-align: center;
}
.font-size-btn:hover { background: rgba(45,95,46,0.08); }

/* ── Mobile menu ───────────────────────────────────────────────────────────── */
.mobile-menu-panel {
    background: rgba(15, 38, 16, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(209,160,85,0.15);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.875rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    border-radius: 0.625rem;
    transition: background 0.15s ease, color 0.15s ease;
    text-decoration: none;
}
.mobile-nav-link:hover { background: rgba(255,255,255,0.07); color: white; }
.mobile-nav-link.active { background: rgba(209,160,85,0.12); color: var(--color-basc-gold); font-weight: 600; }
.mobile-nav-link.sub {
    padding-left: 2rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
}
.mobile-nav-link.sub:hover { color: rgba(255,255,255,0.9); }
.mobile-nav-link.sub.active { color: var(--color-basc-gold); }

.mobile-nav-group { margin: 0.25rem 0; }

.mobile-group-label {
    padding: 0.5rem 0.875rem 0.2rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-basc-gold);
    opacity: 0.65;
}

.mobile-tools-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255,255,255,0.07);
    margin-top: 0.5rem;
}
.mobile-tool-btn {
    padding: 0.45rem 0.6rem;
    color: rgba(255,255,255,0.6);
    border-radius: 0.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    background: transparent;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 0.875rem;
}
.mobile-tool-btn:hover { background: rgba(255,255,255,0.1); color: white; }

.mobile-lang-pill {
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.5);
    border-radius: 0.375rem;
    border: 1px solid rgba(255,255,255,0.12);
    background: transparent;
    transition: all 0.15s ease;
    text-decoration: none;
}
.mobile-lang-pill:hover,
.mobile-lang-pill.active {
    background: var(--color-basc-gold);
    color: var(--color-basc-green);
    border-color: var(--color-basc-gold);
}


/* ══════════════════════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════════════════════ */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-basc-green);
    color: var(--color-basc-white);
    border: 2px solid var(--color-basc-green);
    border-radius: 0.875rem;
    font-weight: 700;
    padding: 0.75rem 1.75rem;
    font-size: 0.9375rem;
    transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
    text-decoration: none;
}
.btn-primary:hover {
    background: var(--color-basc-orange);
    border-color: var(--color-basc-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(242,121,28,0.28);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.08);
    color: white;
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 0.875rem;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    font-size: 0.9375rem;
    transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
    backdrop-filter: blur(4px);
    text-decoration: none;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

/* Donate button — universal */
.btn-donate {
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: var(--color-basc-gold);
    color: var(--color-basc-green) !important;
    border: 2px solid var(--color-basc-gold);
    border-radius: 0.875rem;
    font-weight: 700;
    padding: 0.65rem 1.4rem;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    text-decoration: none;
}
.btn-donate:hover, .btn-donate:focus {
    background: var(--color-basc-orange);
    border-color: var(--color-basc-orange);
    color: white !important;
    box-shadow: 0 8px 24px rgba(242,121,28,0.3);
    transform: translateY(-1px);
}

/* Hero-specific buttons */
.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 0.875rem;
    font-weight: 600;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    transition: all 0.25s ease;
    backdrop-filter: blur(6px);
    text-decoration: none;
}
.hero-btn-secondary:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.55);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}
.hero-btn-donate {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-basc-gold);
    color: #1a3d1b !important;
    border: 2px solid var(--color-basc-gold);
    border-radius: 0.875rem;
    font-weight: 800;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    transition: all 0.25s ease;
    text-decoration: none;
}
.hero-btn-donate:hover {
    background: var(--color-basc-orange);
    border-color: var(--color-basc-orange);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(242,121,28,0.4);
}


/* Focus-visible — WCAG 2.4.7 keyboard navigation */
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-donate:focus-visible,
.hero-btn-secondary:focus-visible,
.hero-btn-donate:focus-visible,
.cta-btn:focus-visible,
.header-icon-btn:focus-visible,
.nav-link:focus-visible,
.nav-dropdown-item:focus-visible,
.font-size-btn:focus-visible,
.mobile-nav-link:focus-visible,
.mobile-tool-btn:focus-visible,
.mobile-lang-pill:focus-visible {
    outline: 2px solid var(--color-basc-gold);
    outline-offset: 2px;
}

/* Brand payment buttons */
.btn-paypal {
    background: #003087;
    color: white;
    border-radius: 99px;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}
.btn-paypal:hover {
    background: #002466;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,48,135,0.3);
}
.btn-stripe {
    background: #635bff;
    color: white;
    border-radius: 99px;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}
.btn-stripe:hover {
    background: #4d44cc;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99,91,255,0.3);
}
.btn-paypal:focus-visible,
.btn-stripe:focus-visible {
    outline: 2px solid var(--color-basc-gold);
    outline-offset: 2px;
}

/* Label utility */
.label-caps {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af;
}


/* ══════════════════════════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════════════════════════ */

.hero-section { background: #0c1e0d; }

.hero-gradient {
    background: radial-gradient(ellipse 120% 90% at 50% 110%, #3a7540 0%, #2D5F2E 30%, #1a3d1b 60%, #0c1e0d 100%);
}

.hero-dots {
    background-image: radial-gradient(circle, rgba(255,255,255,0.18) 1px, transparent 1px);
    background-size: 28px 28px;
}

/* Glowing orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.hero-orb-1 {
    width: 500px; height: 500px;
    background: rgba(45,95,46,0.35);
    top: -100px; left: -120px;
    animation: floatOrb 12s ease-in-out infinite;
}
.hero-orb-2 {
    width: 400px; height: 400px;
    background: rgba(209,160,85,0.12);
    bottom: -80px; right: -80px;
    animation: floatOrb 16s ease-in-out infinite reverse;
}
.hero-orb-3 {
    width: 250px; height: 250px;
    background: rgba(58,117,64,0.25);
    top: 50%; right: 15%;
    animation: floatOrb 10s ease-in-out infinite 4s;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(30px, -20px) scale(1.06); }
    66%       { transform: translate(-20px, 30px) scale(0.96); }
}

/* Leaf particle (generated by JS) */
.hero-leaf {
    position: absolute;
    width: 8px; height: 8px;
    background: rgba(255,255,255,0.06);
    border-radius: 50% 0 50% 0;
    animation: leafFall linear infinite;
    pointer-events: none;
}
@keyframes leafFall {
    0%   { transform: translateY(-20px) rotate(0deg) scale(0); opacity: 0; }
    10%  { opacity: 1; transform: translateY(0) rotate(30deg) scale(1); }
    90%  { opacity: 0.6; }
    100% { transform: translateY(100vh) rotate(360deg) scale(0.5); opacity: 0; }
}

/* Hero content animations */
.hero-anim-0 { animation: heroRise 0.8s cubic-bezier(0.16,1,0.3,1) 0.0s both; }
.hero-anim-1 { animation: heroRise 0.8s cubic-bezier(0.16,1,0.3,1) 0.1s both; }
.hero-anim-2 { animation: heroRise 0.9s cubic-bezier(0.16,1,0.3,1) 0.2s both; }
.hero-anim-3 { animation: heroRise 0.8s cubic-bezier(0.16,1,0.3,1) 0.35s both; }
.hero-anim-4 { animation: heroRise 0.8s cubic-bezier(0.16,1,0.3,1) 0.5s both; }

@keyframes heroRise {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ══════════════════════════════════════════════════════════════════════════════
   IMPACT STRIP
   ══════════════════════════════════════════════════════════════════════════════ */

.impact-strip {
    background: linear-gradient(100deg, #0a1b0a 0%, #0f2010 40%, #122212 70%, #0a1b0a 100%);
    border-top: 1px solid rgba(209,160,85,0.18);
    border-bottom: 1px solid rgba(209,160,85,0.18);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

@media (max-width: 767px) {
    .impact-grid { grid-template-columns: repeat(2, 1fr); }
    .impact-item:nth-child(1),
    .impact-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.07); }
    .impact-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.07); }
}
@media (min-width: 768px) {
    .impact-item:not(:last-child) { border-right: 1px solid rgba(255,255,255,0.07); }
}

.impact-item { padding: 1.5rem 1rem; }

.impact-icon {
    display: block;
    font-size: 1.1rem;
    color: rgba(209,160,85,0.5);
    margin-bottom: 0.5rem;
}

.impact-number {
    display: block;
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 900;
    color: var(--color-basc-gold);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.impact-label {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}


/* ══════════════════════════════════════════════════════════════════════════════
   SECTION TYPOGRAPHY
   ══════════════════════════════════════════════════════════════════════════════ */

.section-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(45,95,46,0.08);
    border: 1px solid rgba(45,95,46,0.15);
    color: var(--color-basc-green);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 99px;
}
.section-chip--light {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.65);
}

.section-heading {
    font-size: clamp(1.75rem, 3.5vw, 2.625rem);
    font-weight: 800;
    color: var(--color-basc-green);
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.section-heading--light { color: white; }

.text-gradient-orange {
    background: linear-gradient(90deg, var(--color-basc-orange) 0%, #e6a43c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ══════════════════════════════════════════════════════════════════════════════
   ABOUT / MISSION
   ══════════════════════════════════════════════════════════════════════════════ */

.value-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(45,95,46,0.06);
    border: 1px solid rgba(45,95,46,0.12);
    color: var(--color-basc-green);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 99px;
    transition: background 0.2s ease, transform 0.2s ease;
}
.value-chip:hover {
    background: rgba(45,95,46,0.12);
    transform: translateY(-2px);
}

.about-card {
    background: linear-gradient(135deg, #1a3d1b 0%, #2D5F2E 60%, #3a7540 100%);
    border-radius: 1.5rem;
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(26,61,27,0.35);
}
.about-card::before {
    content: '';
    position: absolute;
    width: 240px; height: 240px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    top: -80px; right: -80px;
    pointer-events: none;
    z-index: 0;
}
.about-card::after {
    content: '';
    position: absolute;
    width: 180px; height: 180px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
    bottom: -60px; left: -60px;
    pointer-events: none;
    z-index: 0;
}
.about-card > * { position: relative; z-index: 1; }
.about-card-header {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    position: relative;
    z-index: 1;
}
.about-card-badge {
    width: 48px; height: 48px;
    background: var(--color-basc-gold);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
    color: #1a3d1b;
}
.about-card-stat {
    background: rgba(255,255,255,0.08);
    border-radius: 0.875rem;
    padding: 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
    text-decoration: none;
    transition: background 0.2s ease;
    display: block;
}
.about-card-stat:hover { background: rgba(255,255,255,0.13); }
.about-card ul { position: relative; z-index: 1; }


/* ══════════════════════════════════════════════════════════════════════════════
   PROJECT CARDS
   ══════════════════════════════════════════════════════════════════════════════ */

.project-card {
    background: white;
    border-radius: 1.125rem;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 16px rgba(45,95,46,0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.35s ease;
    text-decoration: none;
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 56px rgba(45,95,46,0.14);
}

.project-card-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #2D5F2E, #3a7540);
}
.project-card-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.project-card:hover .project-card-img { transform: scale(1.06); }

.project-card-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}
.project-card:hover .project-card-placeholder { transform: scale(1.04); }

.project-card-tag {
    position: absolute;
    top: 0.75rem; left: 0.75rem;
    background: rgba(26,61,27,0.82);
    backdrop-filter: blur(6px);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
}

.project-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-card-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-basc-green);
    line-height: 1.3;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card-excerpt {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: auto;
}

.project-status {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
    letter-spacing: 0.04em;
}
.project-status--active    { background: #dcfce7; color: #166534; }
.project-status--completed { background: #dbeafe; color: #1d4ed8; }
.project-status--paused    { background: #fef3c7; color: #92400e; }
.project-status--planned   { background: #f3f4f6; color: #4b5563; }

.project-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-basc-green);
    transition: color 0.2s ease;
    text-decoration: none;
}
.project-card-link:hover { color: var(--color-basc-orange); }


/* ══════════════════════════════════════════════════════════════════════════════
   NEWS SECTION + CARDS
   ══════════════════════════════════════════════════════════════════════════════ */

.news-section {
    background: linear-gradient(135deg, #09160a 0%, #0f2010 45%, #122414 80%, #09160a 100%);
}

.news-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 1.125rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: background 0.3s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease;
    text-decoration: none;
}
.news-card:hover {
    background: rgba(255,255,255,0.07);
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.35);
}

.news-card-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #1a3d1b, #2D5F2E);
}
.news-card-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94);
}
.news-card:hover .news-card-img { transform: scale(1.06); }

.news-card-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.5rem;
}
.news-card-category {
    color: rgba(209,160,85,0.85);
    font-weight: 700;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.news-card-dot { color: rgba(255,255,255,0.2); }

.news-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    line-height: 1.35;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-excerpt {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-basc-gold);
    transition: color 0.2s ease;
    text-decoration: none;
}
.news-card-link:hover { color: white; }


/* ══════════════════════════════════════════════════════════════════════════════
   EMPTY STATES
   ══════════════════════════════════════════════════════════════════════════════ */

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 1.5rem;
}

.empty-icon {
    width: 88px; height: 88px;
    background: rgba(45,95,46,0.07);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: rgba(45,95,46,0.4);
    margin-bottom: 1.5rem;
    border: 2px solid rgba(45,95,46,0.1);
}
.empty-icon--light {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.08);
}

.empty-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-basc-green);
    margin-bottom: 0.5rem;
}
.empty-title--light { color: rgba(255,255,255,0.7); }

.empty-text {
    font-size: 0.9rem;
    color: #9ca3af;
    max-width: 340px;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.empty-text--light { color: rgba(255,255,255,0.35); }


/* ══════════════════════════════════════════════════════════════════════════════
   CTA SPLIT
   ══════════════════════════════════════════════════════════════════════════════ */

.cta-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 767px) {
    .cta-split { grid-template-columns: 1fr; }
}

.cta-half {
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}
.cta-half::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 50%, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.cta-half--donate   { background: linear-gradient(135deg, #9a6414 0%, #c08a35 50%, #d1a055 100%); }
.cta-half--volunteer{ background: linear-gradient(135deg, #0f2010 0%, #1a3d1b 55%, #2D5F2E 100%); }

.cta-icon-wrap {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}
.cta-icon-wrap--donate   { background: rgba(255,255,255,0.18); }
.cta-icon-wrap--volunteer{ background: rgba(255,255,255,0.09); }

.cta-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
    line-height: 1.15;
    position: relative;
    z-index: 1;
}

.cta-text {
    color: rgba(255,255,255,0.72);
    font-size: 0.9375rem;
    line-height: 1.65;
    max-width: 320px;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 0.9375rem;
    padding: 0.8rem 1.75rem;
    border-radius: 0.875rem;
    transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s ease;
    position: relative;
    z-index: 1;
    text-decoration: none;
}
.cta-btn:hover { transform: translateY(-3px) scale(1.02); }
.cta-btn--donate {
    background: white;
    color: #9a6414;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.cta-btn--donate:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.25); color: #9a6414; }
.cta-btn--volunteer {
    background: var(--color-basc-gold);
    color: #1a3d1b;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.cta-btn--volunteer:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.35); color: #1a3d1b; }


/* ══════════════════════════════════════════════════════════════════════════════
   SCROLL REVEAL SYSTEM
   ══════════════════════════════════════════════════════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.72s cubic-bezier(0.16,1,0.3,1),
                transform 0.72s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.72s cubic-bezier(0.16,1,0.3,1),
                transform 0.72s cubic-bezier(0.16,1,0.3,1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* No-JS fallback */
html:not(.js-ready) .reveal,
html:not(.js-ready) .reveal-right {
    opacity: 1 !important;
    transform: none !important;
}


/* ══════════════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════════════ */

footer {
    background: var(--color-basc-green);
    color: var(--color-basc-white);
    border-top: 3px solid var(--color-basc-gold);
}

footer a { color: var(--color-basc-white); transition: color 0.2s ease; }
footer a:hover { color: var(--color-basc-gold); }

.footer-link { transition: color 0.2s ease, opacity 0.2s ease; }
.footer-link:hover { color: var(--color-basc-gold) !important; }

.lang-dropdown {
    background: var(--color-basc-white);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.05);
}
.lang-dropdown a,
.lang-dropdown button {
    color: var(--color-basc-green) !important;
    font-weight: 500;
}
.lang-dropdown a:hover,
.lang-dropdown button:hover {
    background: var(--color-basc-orange) !important;
    color: var(--color-basc-white) !important;
}


/* ══════════════════════════════════════════════════════════════════════════════
   CARD — legacy utility
   ══════════════════════════════════════════════════════════════════════════════ */

.card, .card-hover {
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 1.25rem;
    background: var(--color-basc-white);
    box-shadow: 0 4px 12px rgba(45,95,46,0.07);
    transition: all 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(45,95,46,0.13);
}


/* ══════════════════════════════════════════════════════════════════════════════
   FORM ELEMENTS
   ══════════════════════════════════════════════════════════════════════════════ */

.form-label {
    display: block;
    font-weight: 500;
    color: var(--color-basc-green);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}
.form-input {
    display: block;
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1.5px solid rgba(45,95,46,0.25);
    border-radius: 0.625rem;
    font-size: 1rem;
    color: #111827;
    background: var(--color-basc-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus {
    outline: none;
    border-color: var(--color-basc-gold);
    box-shadow: 0 0 0 3px rgba(209,160,85,0.2);
}
.form-input::placeholder { color: #9ca3af; }


/* ══════════════════════════════════════════════════════════════════════════════
   TYPOGRAPHY UTILITIES
   ══════════════════════════════════════════════════════════════════════════════ */

.heading-1 { font-size: 2.5rem; font-weight: 800; color: var(--color-basc-green); letter-spacing: -0.02em; }
.heading-2 { font-size: 2rem;   font-weight: 700; color: var(--color-basc-green); }
.heading-3 { font-size: 1.5rem; font-weight: 600; color: var(--color-basc-green); }


/* ══════════════════════════════════════════════════════════════════════════════
   RICH HTML CONTENT
   ══════════════════════════════════════════════════════════════════════════════ */

.rich-content { color: #1f2937; line-height: 1.75; }
.rich-content h1,.rich-content h2,.rich-content h3,.rich-content h4 { font-weight: 700; margin-top: 1.5em; margin-bottom: 0.5em; color: #166534; }
.rich-content h1 { font-size: 1.75rem; }
.rich-content h2 { font-size: 1.4rem; }
.rich-content h3 { font-size: 1.15rem; }
.rich-content p  { margin-bottom: 1em; }
.rich-content ul,.rich-content ol { padding-left: 1.5rem; margin-bottom: 1em; }
.rich-content ul { list-style-type: disc; }
.rich-content ol { list-style-type: decimal; }
.rich-content li { margin-bottom: 0.25em; }
.rich-content a  { color: #166534; text-decoration: underline; }
.rich-content a:hover { color: #14532d; }
.rich-content blockquote { border-left: 4px solid #166534; padding-left: 1rem; color: #6b7280; font-style: italic; margin: 1em 0; }
.rich-content img { max-width: 100%; border-radius: 0.5rem; margin: 1em 0; }
.rich-content strong { font-weight: 700; }
.rich-content em { font-style: italic; }
.rich-content hr { border: none; border-top: 1px solid #e5e7eb; margin: 1.5em 0; }


/* ══════════════════════════════════════════════════════════════════════════════
   ACCESSIBILITY MODES
   ══════════════════════════════════════════════════════════════════════════════ */

body.grayscale { filter: grayscale(100%) !important; }
body.invert    { filter: invert(100%) hue-rotate(180deg) !important; }

body.high-contrast { background: #000 !important; color: #fff !important; }
body.high-contrast :not(.btn-donate, i, .nav-dropdown *, .btn-donate *) {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #fff !important;
}
body.high-contrast .card, body.high-contrast header, body.high-contrast footer {
    background: #000 !important;
    border: 1px solid #fff !important;
}
body.high-contrast a:hover { text-decoration: underline !important; color: #ff0 !important; }
body.high-contrast .btn-donate { background: #ff0 !important; color: #000 !important; }

html.font-size-lg { font-size: 115%; }
html.font-size-xl { font-size: 130%; }


/* ══════════════════════════════════════════════════════════════════════════════
   BACK TO TOP
   ══════════════════════════════════════════════════════════════════════════════ */

#back-to-top {
    background: var(--color-basc-gold) !important;
    color: var(--color-basc-green) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2) !important;
    transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), opacity 0.22s ease !important;
}
#back-to-top:hover {
    transform: scale(1.12) translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
}
