/* ============================================================
   LIGER NEXXUS FOUNDATION — Main Stylesheet
   Theme  : Premium NGO | Green #0E5A3D + Gold #D4AF37
   Fonts  : Poppins (body) + Playfair Display (headings)
   ============================================================ */

/* ---------- 1. CSS VARIABLES ---------- */
:root {
    --primary: #0E5A3D;
    --primary-dark: #093F2A;
    --primary-light: #E7F1EC;
    --secondary: #D4AF37;
    --secondary-dark: #B8962C;
    --white: #FFFFFF;
    --light-bg: #F8F9FA;
    --text: #333333;
    --text-light: #6B7280;
    --border: #E5E7EB;

    --font-body: 'Poppins', sans-serif;
    --font-display: 'Playfair Display', serif;

    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 2px 10px rgba(14, 90, 61, 0.06);
    --shadow-md: 0 10px 30px rgba(14, 90, 61, 0.10);
    --shadow-lg: 0 24px 60px rgba(9, 63, 42, 0.18);
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.35, 1);

    --container: 1500px;
    --section-pad: 60px;
    /* navbar: 18px padding + 60px logo mark + 18px padding */
    --nav-h: 96px;
}

/* ---------- 2. RESET & BASE ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    /* The off-canvas mobile menu sits off the right edge; clip at the root so it
       can't create a horizontal scroll / empty gap on the right (body's own
       overflow-x:hidden doesn't fully prevent scrolling at the html level). */
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
}

.container {
    width: min(var(--container), 94%);
    margin-inline: auto;
}

section {
    padding: var(--section-pad) 0;
}

/* ---------- 3. TYPOGRAPHY ---------- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--primary-dark);
    line-height: 1.25;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
}

h3 {
    font-size: 1.35rem;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary-dark);
    margin-bottom: 14px;
}

.section-header p {
    color: var(--text-light);
    margin-top: 16px;
}

/* Gold flourish under headings — signature element */
.gold-line {
    width: 70px;
    height: 3px;
    margin: 18px auto 0;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    position: relative;
}

.gold-line::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9px;
    height: 9px;
    transform: translate(-50%, -50%) rotate(45deg);
    background: var(--secondary);
    border-radius: 2px;
}

.gold-line.left {
    margin-left: 0;
}

/* ---------- 4. BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-gold {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--primary-dark);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.35);
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-outline-green {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-green:hover {
    background: var(--primary);
    color: var(--white);
}

/* ---------- 5. PAGE LOADER ---------- */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--primary-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    /* Stop the full-screen overlay from eating taps the instant it starts to
       hide — without this it fades to invisible but keeps intercepting clicks
       (e.g. the mobile menu button) for the length of the transition. */
    pointer-events: none;
}

.loader-ring {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

.loader-text {
    color: var(--white);
    font-family: var(--font-display);
    letter-spacing: 2px;
    font-size: 1rem;
}

/* ---------- 6. SCROLL PROGRESS BAR ---------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    z-index: 2000;
}

/* ---------- 7. NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
}

.navbar .container {
    /* Inherit the shared centered width (min(1500px,94%) + margin:auto) from
       .container so the logo/nav line up with every section's content — one
       consistent column edge from the header all the way down the page. */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
    transition: var(--transition);
}

.logo-mark {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    font-size: 1.5rem;
    font-weight: 700;
    color: #c9a227;
    white-space: nowrap;
}

.logo-text small {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c9a227;
}

.logo span small {
    display: block;
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary);
}

.navbar.scrolled .logo {
    color: var(--primary-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
    position: relative;
    padding: 6px 0;
    transition: var(--transition);
}

.navbar.scrolled .nav-links a {
    color: var(--text);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary);
}

/* Brand header + Donate button live inside the nav markup but only appear
   inside the mobile off-canvas menu — hidden in the desktop inline nav. */
.nav-menu-brand,
.nav-menu-donate {
    display: none;
}

.nav-cta {
    display: inline-flex;
    flex-shrink: 0;
}

.nav-cta .btn {
    padding: 11px 24px;
    font-size: 0.85rem;
}

/* Google Translate Widget — styled like the Donate button.
   With InlineLayout.SIMPLE, Google renders a `.goog-te-gadget-simple` div
   wrapping an <a> (its own icon + "Select Language" text + a ▼ span) — there
   is no real <select>/.goog-te-combo in this layout, so that's what gets
   styled here instead. Class names on the inner <a> are Google-generated and
   unstable, so selectors target structure/attributes, not those classes. */
.nav-translate {
    display: inline-flex;
    align-items: center;
}

.nav-translate .goog-te-gadget {
    font-size: 0 !important;
    line-height: 1 !important;
    vertical-align: middle;
    background: transparent !important;
    border: none !important;
}

.nav-translate .goog-te-gadget-simple {
    display: inline-flex !important;
    align-items: center;
    border: none !important;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    cursor: pointer;
    transition: var(--transition);
}

.nav-translate .goog-te-gadget-simple:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.35);
}

/* Google's own globe/arrow sprite icon — replaced with a Font Awesome glyph below */
.nav-translate .goog-te-gadget-icon {
    display: none !important;
}

.nav-translate .goog-te-gadget-simple a {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 8px 16px !important;
    font-family: var(--font-body) !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: var(--primary-dark) !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.nav-translate .goog-te-gadget-simple a::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: '\f1ab';
    font-size: 0.95rem;
}

/* Replace default "Select Language" text with "Language" label */
.nav-translate .goog-te-gadget-simple a span:first-child {
    font-size: 0 !important;
    line-height: 0 !important;
    display: inline-block !important;
}

.nav-translate .goog-te-gadget-simple a span:first-child::after {
    content: 'Language';
    font-size: 0.85rem !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    color: var(--primary-dark) !important;
}

.nav-translate .goog-te-gadget-simple a span {
    color: var(--primary-dark) !important;
}

/* The two 1x1 spacer images + vertical-divider span Google injects between
   the label and the ▼ — purely decorative clutter from the default skin */
.nav-translate .goog-te-gadget-simple a img,
.nav-translate .goog-te-gadget-simple a span[style*="border-left"] {
    display: none !important;
}

.nav-translate .goog-te-gadget-simple a span[aria-hidden="true"] {
    font-size: 0.65rem !important;
    margin-left: 2px;
}

/* Only the top "This page has been translated" banner is unwanted chrome —
   .goog-te-menu-frame is the actual language-picker popup and must stay
   visible, or the widget looks clickable but never opens anything. */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 34px;
    height: 26px;
    flex-shrink: 0;
    position: relative;
    z-index: 1102;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .hamburger span,
.hamburger.open span {
    background: var(--primary-dark);
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 11px;
}

.hamburger span:nth-child(3) {
    top: 22px;
}

.hamburger.open span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    top: 11px;
    transform: rotate(-45deg);
}

/* ---------- 8. HERO ---------- */
/* Hero: slider images behind the navbar. */
.hero {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100vh;
    height: 100dvh;
    padding-top: var(--nav-h);
    background: var(--primary-dark);
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Dots sit centered just below the banner (one per slide) on every screen. */
.hero-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.65);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot:hover {
    border-color: var(--secondary);
}

.hero-dot.is-active {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: scale(1.25);
}

.hero-content {
    max-width: 820px;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.5);
    backdrop-filter: blur(10px);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 26px;
}

/* Deliberately smaller than the global h1 clamp — the hero is half-height now
   and the full-size heading alone pushed it well past 50vh. */
.hero h1 {
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    color: var(--white);
    margin-bottom: 20px;
}

.hero h1 em {
    font-style: italic;
    color: var(--secondary);
}

.hero p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 680px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 34px;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    z-index: 2;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    position: relative;
}

.mouse::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 9px;
    border-radius: 3px;
    background: var(--secondary);
    transform: translateX(-50%);
    animation: scrollWheel 1.8s ease-in-out infinite;
}

/* Inner page hero (small) */
.page-hero {
    /* Navbar is position:fixed, so clear its height before the content starts */
    padding: calc(var(--nav-h) + 40px) 0 40px;
    background:
        linear-gradient(rgba(6, 40, 27, 0.82), rgba(9, 63, 42, 0.88)),
        url('../images/hero-bg.svg') center/cover no-repeat;
    color: var(--white);
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
}

.breadcrumb {
    margin-top: 14px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
    color: var(--secondary);
}

.breadcrumb i {
    font-size: 0.65rem;
    margin: 0 8px;
    color: var(--secondary);
}

/* ---------- 9. ABOUT ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image .img-frame {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 2/3;
}

.about-image .img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -22px;
    left: -22px;
    width: 55%;
    height: 55%;
    border: 3px solid var(--secondary);
    border-radius: var(--radius);
    z-index: -1;
}

.about-exp {
    position: absolute;
    bottom: 30px;
    right: -26px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    padding: 22px 28px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.35);
}

.about-exp strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.9rem;
    color: var(--primary);
}

.about-exp small {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
}

.about-text .section-eyebrow {
    margin-bottom: 10px;
}

.about-text h2 {
    margin-bottom: 8px;
}

.about-text p {
    color: var(--text-light);
    margin: 22px 0;
}

.about-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 26px 0 34px;
}

.about-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.92rem;
}

.about-points i {
    color: var(--secondary-dark);
}

/* ---------- 10. VISION & MISSION ---------- */
.vision-section {
    background:
        radial-gradient(circle at 15% 20%, rgba(212, 175, 55, 0.12), transparent 45%),
        linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
}

.vision-card {
    position: relative;
    overflow: hidden;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    padding: 70px 60px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-lg);
}

/* Oversized quote glyph behind the statement */
.vision-card::before {
    content: '\201C';
    position: absolute;
    top: -46px;
    left: 26px;
    font-family: var(--font-display);
    font-size: 13rem;
    line-height: 1;
    color: rgba(212, 175, 55, 0.13);
    pointer-events: none;
}

/* Slow gold sheen drifting across the card */
.vision-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.07), transparent);
    transform: skewX(-18deg);
    animation: visionSheen 9s ease-in-out infinite;
    pointer-events: none;
}

.vision-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    margin: 0 auto 26px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.45);
}

/* Ring that breathes outward from the icon */
.vision-icon::after {
    content: '';
    position: absolute;
    inset: -9px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.35);
    animation: visionPulse 3.2s ease-out infinite;
}

/* .vision-card i adds bottom margin — unwanted once the icon is centred in a badge */
.vision-card .vision-icon i {
    margin-bottom: 0;
}

/* Vision card merged inside the About section keeps its dark backdrop, and runs
   as a split layout: heading block on the left, the statement panel on the right.
   Scoped to #about on purpose — about.html's Mission/Vision cards share the
   .vision-card class but have flat markup that this grid would scramble. */
#about .vision-card {
    margin-top: 70px;
    max-width: none;
    display: grid;
    grid-template-columns: minmax(210px, 300px) 1fr;
    gap: 50px;
    align-items: center;
    text-align: left;
    background:
        radial-gradient(circle at 15% 20%, rgba(212, 175, 55, 0.12), transparent 45%),
        linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-color: rgba(255, 255, 255, 0.18);
}

#about .vision-icon {
    margin: 0 0 24px;
}

#about .vision-goals {
    max-width: none;
    margin-inline: 0;
}

.vision-panel {
    padding: 36px 38px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 900px) {
    #about .vision-card {
        grid-template-columns: 1fr;
        gap: 34px;
    }
}

.vision-section .vision-card+.vision-card {
    margin-top: 34px;
}

/* ---------- Donate: bank cheque ---------- */
.cheque-frame {
    max-width: 640px;
    margin: 0 auto;
    padding: 14px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.cheque-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: calc(var(--radius) - 8px);
}

.vision-card i {
    font-size: 2.4rem;
    color: var(--secondary);
    margin-bottom: 22px;
}

.vision-card h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.vision-card p {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    line-height: 1.9;
}

.vision-card p.vision-intro {
    font-style: normal;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.82);
    margin-top: 22px;
}

.vision-goals {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 28px;
    max-width: 620px;
    margin: 34px auto 0;
    text-align: left;
}

.vision-goals li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    transition: var(--transition);
}

.vision-goals li:hover {
    background: rgba(212, 175, 55, 0.14);
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-3px);
}

.vision-goals li i {
    color: var(--secondary);
    font-size: 1rem;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
    margin: 0;
}

@media (max-width: 560px) {
    .vision-goals {
        grid-template-columns: 1fr;
    }
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.cards-grid.three {
    grid-template-columns: repeat(3, 1fr);
}

.m-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 38px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.m-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.m-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.m-card:hover::before {
    transform: scaleX(1);
}

.m-card .icon {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    background: var(--primary-light);
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    margin-bottom: 22px;
    transition: var(--transition);
}

.m-card:hover .icon {
    background: var(--primary);
    color: var(--secondary);
    transform: rotate(-6deg) scale(1.06);
}

.m-card h3 {
    font-size: 1.12rem;
    margin-bottom: 10px;
}

.m-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ---------- 11. FLAGSHIP INITIATIVE ---------- */
.flagship {
    background: var(--light-bg);
}

.flagship-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
}

.flagship-heading {
    text-align: center;
}

.flagship-heading .gold-line.left {
    margin-left: auto;
    margin-right: auto;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--secondary-dark);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.status-badge i {
    animation: pulseDot 1.6s infinite;
}

.flagship-text p {
    color: var(--text-light);
    margin: 18px 0;
}

.roadmap {
    margin: 28px 0 34px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
    gap: 16px;
}

.roadmap-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    transition: var(--transition);
}

.roadmap-step:hover {
    border-color: var(--secondary);
    transform: translateX(6px);
}

.roadmap-step .num {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-dark);
    line-height: 1.4;
}

.roadmap-step h4 {
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.roadmap-step p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 2px 0 0;
}

.flagship-visual {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.flagship-visual .img-placeholder {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ---------- 12. TIMELINE ---------- */
.timeline {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding-left: 10px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 29px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--secondary), var(--primary));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding: 0 0 42px 84px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 14px;
    top: 4px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--secondary);
    display: grid;
    place-items: center;
    color: var(--primary);
    font-size: 0.8rem;
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

.timeline-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.5);
}

.timeline-year {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--secondary-dark);
    font-size: 1rem;
    letter-spacing: 1px;
}

.timeline-card h3 {
    margin: 6px 0 8px;
    font-size: 1.15rem;
}

.timeline-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ---------- 13. LEADERSHIP ---------- */
.leader-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 460px));
    justify-content: center;
    gap: 40px;
}

.leader-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.leader-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.leader-photo {
    height: 400px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: var(--primary-light);
}

.leader-photo .img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transition: transform 0.6s ease;
}

.leader-card:hover .leader-photo .img-placeholder {
    transform: scale(1.05);
}

.leader-body {
    padding: 30px 32px 36px;
}

.leader-role {
    font-size: 0.75rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--secondary-dark);
    font-weight: 600;
}

.leader-body h3 {
    margin: 8px 0 12px;
    font-size: 1.4rem;
}

.leader-body p {
    font-size: 0.92rem;
    color: var(--text-light);
}

.leader-socials {
    margin-top: 20px;
    display: flex;
    gap: 12px;
}

.leader-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.leader-socials a:hover {
    background: var(--primary);
    color: var(--secondary);
    transform: translateY(-4px);
}

/* ---------- TEAM GRID ---------- */

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.team-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.team-photo {
    aspect-ratio: 1 / 1;
    background: var(--primary-light);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.team-initials {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--primary);
}

.team-body {
    padding: 22px 22px 26px;
}

.team-body h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.team-role {
    display: block;
    color: var(--secondary-dark);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.team-body p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.65;
}

.team-body .leader-socials {
    justify-content: center;
}

/* ---------- 14. IMPACT COUNTERS ---------- */
.impact {
    background:
        radial-gradient(circle at 85% 15%, rgba(212, 175, 55, 0.15), transparent 40%),
        linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.impact .section-header h2 {
    color: var(--white);
}

.impact .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.counters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.counter-box {
    padding: 34px 16px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.counter-box:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.5);
}

.counter-box i {
    font-size: 1.7rem;
    color: var(--secondary);
    margin-bottom: 14px;
}

.counter-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
}

.counter-soon {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--secondary);
    display: block;
    padding: 10px 0;
}

.counter-box small {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

/* ---------- 15. CSR SECTION ---------- */
.csr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.csr-benefits {
    display: grid;
    gap: 18px;
    margin: 28px 0 36px;
}

.csr-benefits li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.csr-benefits i {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 1rem;
}

.csr-benefits h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
}

.csr-benefits p {
    font-size: 0.88rem;
    color: var(--text-light);
}

.csr-visual {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/4.6;
}

/* ---------- 16. FORMS (Volunteer / Contact) ---------- */
.form-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    padding: 50px;
    max-width: 860px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--light-bg);
    outline: none;
    transition: var(--transition);
    font-size: 0.92rem;
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(14, 90, 61, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group .error-msg {
    font-size: 0.75rem;
    color: #C0392B;
    display: none;
}

.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
    border-color: #C0392B;
}

.form-group.invalid .error-msg {
    display: block;
}

.form-success {
    display: none;
    margin-top: 22px;
    padding: 16px 20px;
    background: var(--primary-light);
    border: 1px solid var(--primary);
    color: var(--primary-dark);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.form-success.visible {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ---------- 17. DONATION ---------- */
.donate-section {
    background: var(--light-bg);
}

.donate-card {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    border-radius: var(--radius);
    padding: 60px 50px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.donate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.donate-card i.heart {
    font-size: 2.4rem;
    color: var(--secondary);
    margin-bottom: 18px;
}

.donate-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 24px 0 30px;
    padding: 10px 22px;
    border-radius: 50px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px dashed var(--secondary);
    color: var(--secondary-dark);
    font-weight: 600;
    font-size: 0.88rem;
}

.donate-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- 18. GALLERY (Masonry) ---------- */
.gallery-masonry {
    columns: 3 300px;
    column-gap: 22px;
}

/* Flex variant: wraps and centers a leftover last-row item (used on index.html) */
.gallery-masonry.gallery-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
}

.gallery-flex .gallery-item {
    width: 380px;
    height: 280px;
    margin-bottom: 0;
}

.gallery-flex .gallery-item .img-placeholder {
    height: 100%;
    object-fit: cover;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 22px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-item .img-placeholder {
    transition: transform 0.6s ease;
    width: 100%;
    height: auto;
}

.gallery-item:hover .img-placeholder {
    transform: scale(1.07);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 63, 42, 0.85), transparent 60%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 22px;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-overlay i {
    color: var(--secondary);
}

/* ---------- 19. CONTACT ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: start;
}

.contact-info-card {
    background: linear-gradient(150deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: var(--radius);
    padding: 44px 38px;
    box-shadow: var(--shadow-lg);
}

.contact-info-card h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.contact-info-card>p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.contact-line {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.contact-line i {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary);
}

.contact-line strong {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--secondary);
}

.contact-line span {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.9);
}

.social-row {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.social-row a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.social-row a:hover {
    background: var(--secondary);
    color: var(--primary-dark);
    transform: translateY(-4px);
}

.map-embed {
    margin-top: 60px;
    height: 380px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ---------- 20. FAQ ---------- */
.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--secondary);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: none;
    border: none;
    padding: 20px 24px;
    text-align: left;
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--primary-dark);
    cursor: pointer;
}

.faq-question i {
    color: var(--secondary-dark);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease;
}

.faq-answer p {
    padding: 0 24px 22px;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ---------- 21. CTA BANNER ---------- */
.cta-banner {
    background:
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.2), transparent 45%),
        linear-gradient(120deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius);
    padding: 70px 60px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
    color: var(--white);
    max-width: 560px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    margin-top: 10px;
    max-width: 540px;
}

/* ---------- 22. FOOTER ---------- */
.footer {
    background: #07281B;
    color: rgba(255, 255, 255, 0.8);
    padding: 90px 0 0;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 2px;
    background: var(--secondary);
}

.footer-tagline {
    display: block;
    margin-top: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary);
}

.footer-about p {
    font-size: 0.9rem;
    margin: 18px 0 24px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i {
    font-size: 0.6rem;
    color: var(--secondary);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 6px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact-list i {
    flex-shrink: 0;
    width: 16px;
    margin-top: 5px;
    font-size: 0.85rem;
    color: var(--secondary);
}

.footer-contact-list a {
    transition: var(--transition);
    word-break: break-word;
}

.footer-contact-list a:hover {
    color: var(--secondary);
}

.footer-bottom {
    padding: 26px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.82rem;
}

.footer-bottom a:hover {
    color: var(--secondary);
}

.footer-bottom .legal {
    display: flex;
    gap: 22px;
}

/* ---------- 23. BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--secondary);
    border: none;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: var(--transition);
    z-index: 900;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}

/* ---------- 24. UTILITIES ---------- */
.bg-light {
    background: var(--light-bg);
}

.text-center {
    text-align: center;
}

.mt-30 {
    margin-top: 30px;
}

/* ---------- 21. GALLERY FILTERS (gallery.html) ---------- */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 44px;
}

.filter-btn {
    padding: 10px 26px;
    border: 1.5px solid rgba(14, 90, 61, 0.25);
    border-radius: 50px;
    background: var(--white);
    color: var(--primary);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.gallery-item.hidden {
    display: none;
}

/* ---------- 25. COMING SOON PLACEHOLDER ---------- */
.coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 30px;
    background: var(--primary-light);
    border: 1.5px dashed rgba(14, 90, 61, 0.3);
    border-radius: var(--radius);
}

.coming-soon .icon {
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    margin-bottom: 26px;
    border-radius: 50%;
    background: var(--white);
    color: var(--secondary);
    font-size: 2.4rem;
    box-shadow: var(--shadow-sm);
}

.coming-soon h3 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--primary);
    margin-bottom: 14px;
}

.coming-soon p {
    max-width: 560px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== LEGAL DOCUMENTS GRID ===== */
.legal-docs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.legal-doc-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.legal-doc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.legal-doc-card .doc-icon {
    background: linear-gradient(135deg, #1a5632, #2d8a56);
    padding: 2rem;
    text-align: center;
}
.legal-doc-card .doc-icon i {
    font-size: 3rem;
    color: #fff;
}
.legal-doc-card .doc-info {
    padding: 1.5rem;
}
.legal-doc-card .doc-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.legal-doc-card .doc-info p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
}
.legal-doc-card .doc-actions {
    display: flex;
    gap: 0.5rem;
}
.legal-doc-card .doc-actions a {
    flex: 1;
    padding: 0.6rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}
.legal-doc-card .doc-actions .btn-view {
    background: #1a5632;
    color: #fff;
}
.legal-doc-card .doc-actions .btn-view:hover {
    background: #144528;
}
.legal-doc-card .doc-actions .btn-download {
    background: transparent;
    color: #1a5632;
    border: 2px solid #1a5632;
}
.legal-doc-card .doc-actions .btn-download:hover {
    background: #1a5632;
    color: #fff;
}
.legal-note {
    background: #f8f9fa;
    border-left: 4px solid #c9a84c;
    padding: 1rem 1.5rem;
    margin-top: 2rem;
    border-radius: 0 8px 8px 0;
}
.legal-note p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
}
.legal-note i {
    color: #c9a84c;
    margin-right: 0.5rem;
}
@media (max-width: 1200px) {
    .legal-docs-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .legal-docs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .legal-docs-grid { grid-template-columns: 1fr; }
}

/* ---------- 26. ACTIVITIES & CAMPAIGNS ---------- */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.activity-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.activity-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.activity-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--primary-light);
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.activity-card:hover .activity-image img {
    transform: scale(1.06);
}

.activity-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary-dark);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
}

.activity-status {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    background: var(--white);
}

.activity-status i {
    font-size: 0.5rem;
    animation: pulseDot 1.6s infinite;
}

.activity-status-ongoing { color: var(--primary); }
.activity-status-upcoming { color: var(--secondary-dark); }
.activity-status-completed { color: var(--text-light); }

.activity-body {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.activity-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary-dark);
}

.activity-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.activity-body h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.activity-body > p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.65;
    flex: 1;
}

.activity-progress {
    margin-top: 18px;
}

.activity-progress-bar {
    height: 8px;
    border-radius: 50px;
    background: var(--primary-light);
    overflow: hidden;
}

.activity-progress-fill {
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.activity-progress-label {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-dark);
}

/* ---------- 27. GALLERY VIDEO ---------- */
.gallery-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    pointer-events: none;
}

.gallery-item:hover .gallery-play-icon {
    background: var(--secondary);
    color: var(--white);
    transform: translate(-50%, -50%) scale(1.08);
}

.gallery-video-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-video-modal.is-open {
    display: flex;
}

.gallery-video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 20, 15, 0.85);
}

.gallery-video-modal-dialog {
    position: relative;
    width: min(900px, 100%);
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius-sm);
    overflow: hidden;
    z-index: 1;
}

.gallery-video-modal-frame,
.gallery-video-modal-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.gallery-video-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: var(--white);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.gallery-video-modal-close:hover {
    background: var(--secondary);
}

.activity-btn {
    margin-top: 20px;
    align-self: flex-start;
    padding: 11px 24px;
    font-size: 0.86rem;
}