/* =====================================================
   Conscious Reliance Forum - TOAB Election 2026-2028
   Main Stylesheet - GREEN THEME (TOAB Brand Colors)
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&family=Tiro+Bangla:ital@0;1&family=Playfair+Display:wght@700;800&display=swap');

/* CSS Variables — TOAB Green palette */
:root {
    --primary: #1B6B2F;
    --primary-light: #2A8C42;
    --primary-dark: #0E3D1A;
    --gold: #C9A227;
    --gold-light: #F0C84A;
    --gold-dark: #9A7A1A;
    --accent: #E63946;
    --white: #FFFFFF;
    --off-white: #F4F9F5;
    --light-gray: #EAF3EC;
    --mid-gray: #7A9882;
    --dark: #0D2012;
    --text: #1E2D22;
    --text-light: #4A6652;
    --border: #C8DFCc;
    --shadow: rgba(27, 107, 47, 0.13);
    --shadow-gold: rgba(201, 162, 39, 0.25);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Hind Siliguri', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* =====================================================
   TOP BAR
   ===================================================== */
.top-bar {
    background: var(--primary-dark);
    padding: 6px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.75);
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.top-bar a { color: var(--gold-light); }
.top-bar a:hover { color: var(--white); }
.vote-date {
    background: var(--gold);
    color: var(--primary-dark);
    font-weight: 700;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 12px;
}

/* =====================================================
   HEADER / NAV
   ===================================================== */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 20px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 20px;
}
.logo-group {
    display: flex;
    align-items: center;
    gap: 14px;
}
.logo-conscious img {
    height: 56px;
    width: auto;
    object-fit: contain;
}
.logo-divider {
    width: 1px;
    height: 46px;
    background: var(--border);
}
.logo-toab img {
    height: 40px;
    width: auto;
}
.site-brand-text {
    font-size: 10px;
    color: var(--mid-gray);
    line-height: 1.3;
    margin-top: 2px;
}

/* Navigation */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 3px;
}
.main-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    padding: 7px 12px;
    border-radius: 8px;
    white-space: nowrap;
    transition: var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
    background: var(--primary);
    color: var(--white);
}
.main-nav .nav-vote {
    background: var(--gold);
    color: var(--primary-dark);
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 8px;
}
.main-nav .nav-vote:hover {
    background: var(--gold-dark);
    color: var(--white);
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* =====================================================
   CONTAINER
   ===================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =====================================================
   PAGE HERO / BANNER
   ===================================================== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    background: rgba(201,162,39,0.08);
    border-radius: 50%;
}
.page-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
}
.page-hero-sub {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    position: relative;
}

/* =====================================================
   HOME HERO
   ===================================================== */
.home-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
    padding: 60px 0 70px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.home-hero::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: rgba(201,162,39,0.08);
    border-radius: 50%;
}
.home-hero::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -60px;
    width: 300px; height: 300px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.home-hero-inner {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-block;
    background: rgba(201,162,39,0.2);
    border: 1px solid rgba(201,162,39,0.4);
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #fff;
}
.hero-title .highlight {
    display: block;
    color: var(--gold-light);
    font-size: 24px;
    margin-top: 8px;
}
.hero-slogan {
    font-size: 16px;
    color: rgba(255,255,255,0.78);
    font-style: italic;
    margin-bottom: 14px;
    border-left: 3px solid var(--gold);
    padding-left: 14px;
}
.hero-subtitle {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 520px;
}
.hero-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

/* Countdown */
.countdown-row { display: flex; gap: 12px; flex-wrap: wrap; }
.countdown-box {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 12px 18px;
    text-align: center;
    min-width: 68px;
}
.countdown-num { font-size: 28px; font-weight: 700; color: var(--gold-light); line-height: 1.1; }
.countdown-label { font-size: 11px; color: rgba(255,255,255,0.65); margin-top: 4px; font-weight: 500; }

/* Leaders side */
.leaders-pair { display: flex; gap: 14px; justify-content: center; margin-bottom: 14px; }
.leader-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 14px;
    padding: 16px 12px;
    text-align: center;
    flex: 1;
    cursor: pointer;
    transition: all 0.2s;
}
.leader-card:hover { background: rgba(255,255,255,0.18); transform: translateY(-3px); }
.leader-photo {
    width: 96px;
    height: 116px;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
    border: 3px solid var(--gold);
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.leader-name { font-size: 13px; font-weight: 700; color: #fff; }
.leader-role {
    background: var(--gold);
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 6px;
}
.vote-info-box {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
}
.vote-info-item { text-align: center; flex: 1; }
.vote-info-item + .vote-info-item { border-left: 1px solid rgba(255,255,255,0.15); }
.vote-info-label { font-size: 10px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.vote-info-value { font-size: 13px; font-weight: 700; color: var(--gold-light); }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Hind Siliguri', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}
.btn-primary { background: var(--gold); color: var(--primary-dark); }
.btn-primary:hover { background: var(--gold-dark); color: #fff; }
.btn-outline { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.2); }
.btn-secondary { background: var(--primary); color: #fff; }
.btn-secondary:hover { background: var(--primary-dark); }
.btn-green { background: #25D366; color: #fff; }
.btn-green:hover { background: #128C7E; }

/* =====================================================
   SECTIONS
   ===================================================== */
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-alt { background: var(--light-gray); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-label {
    display: inline-block;
    background: rgba(27,107,47,0.1);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.3;
    margin-bottom: 10px;
}
.section-desc { color: var(--text-light); font-size: 15px; }
.divider-gold { width: 60px; height: 3px; background: var(--gold); border-radius: 2px; margin: 16px auto 0; }
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* =====================================================
   MANIFESTO
   ===================================================== */
.manifesto-intro {
    background: var(--primary);
    color: #fff;
    border-radius: 16px;
    padding: 32px 36px;
    margin-bottom: 32px;
}
.salutation { font-size: 18px; font-weight: 700; color: var(--gold-light); display: block; margin-bottom: 14px; }
.manifesto-intro p { opacity: 0.88; font-size: 15px; }

.accordion { display: flex; flex-direction: column; gap: 8px; margin-bottom: 40px; }
.accordion-item { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; }
.accordion-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Hind Siliguri', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-dark);
    transition: all 0.2s;
}
.accordion-btn:hover { background: var(--light-gray); }
.accordion-btn.open { background: var(--primary); color: #fff; }
.accordion-num {
    background: var(--gold);
    color: var(--primary-dark);
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.accordion-icon { margin-left: auto; font-size: 22px; font-weight: 300; flex-shrink: 0; }
.accordion-title { flex: 1; }
.accordion-body { display: none; padding: 20px 24px; border-top: 1px solid var(--border); background: #FAFCFA; }
.accordion-body.show { display: block; }
.manifesto-subsection { margin-bottom: 16px; }
.subsec-title { font-weight: 700; color: var(--primary); font-size: 14px; margin-bottom: 5px; }
.subsec-body { font-size: 14px; color: var(--text-light); line-height: 1.7; }

.manifesto-goal {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    border-radius: 16px;
    padding: 36px 40px;
    text-align: center;
    margin-top: 32px;
}
.manifesto-goal h3 { font-family: 'Playfair Display', serif; font-size: 24px; margin-bottom: 14px; color: var(--gold-light); }
.pledge-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 12px; margin-top: 20px; text-align: left; }
.pledge-item { font-size: 14px; color: rgba(255,255,255,0.85); display: flex; align-items: flex-start; gap: 8px; }

/* =====================================================
   PANEL IMAGE
   ===================================================== */
.panel-img-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(27,107,47,0.15);
    border: 3px solid var(--gold);
    cursor: zoom-in;
}
.panel-img-container img { display: block; width: 100%; }

/* =====================================================
   CANDIDATE POSTERS (homepage scroll grid)
   ===================================================== */
.candidate-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 14px;
}
.cand-poster {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
    display: block;
    background: var(--light-gray);
    box-shadow: 0 3px 12px rgba(27,107,47,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}
.cand-poster:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(27,107,47,0.18); }
.cand-poster img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.cand-poster-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(14,61,26,0.92));
    padding: 28px 10px 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

/* =====================================================
   CANDIDATES PAGE — CARD GRID
   ===================================================== */
.candidates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.cand-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 3px 14px var(--shadow);
    transition: all 0.25s;
    cursor: pointer;
    position: relative;
}
.cand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(27,107,47,0.15);
    border-color: var(--primary-light);
}
.cand-card-img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: top;
    display: block;
}
.cand-card-body {
    padding: 14px 14px 16px;
}
.cand-card-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
    line-height: 1.3;
}
.cand-card-pos {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}
.cand-card-biz {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.4;
}
.cand-tap-hint {
    font-size: 11px;
    color: var(--primary-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Filter tabs */
.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    justify-content: center;
}
.filter-tab {
    padding: 8px 18px;
    border-radius: 24px;
    border: 1.5px solid var(--border);
    background: #fff;
    font-family: 'Hind Siliguri', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
}
.filter-tab:hover, .filter-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* =====================================================
   CANDIDATE DETAIL OVERLAY (click/tap panel)
   ===================================================== */
.cand-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(7,30,12,0.72);
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
}
.cand-overlay.open { display: flex; }

.cand-detail {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    -webkit-overflow-scrolling: touch;
}
.cand-detail-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(0,0,0,0.08);
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    z-index: 10;
    color: var(--text);
    transition: background 0.2s;
}
.cand-detail-close:hover { background: rgba(0,0,0,0.18); }

.cand-detail-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 28px 20px 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: #fff;
}
.cand-detail-img {
    width: 90px;
    height: 110px;
    object-fit: cover;
    object-position: top;
    border-radius: 12px;
    border: 3px solid var(--gold);
    flex-shrink: 0;
}
.cand-detail-info { flex: 1; padding-top: 4px; }
.cand-detail-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 6px;
}
.cand-detail-pos {
    display: inline-block;
    background: var(--gold);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}
.cand-detail-biz {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

.cand-detail-body { padding: 20px; }
.cand-detail-section { margin-bottom: 20px; }
.cand-detail-section-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--light-gray);
}
.commitment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.commitment-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
    background: var(--light-gray);
    border-radius: 8px;
    padding: 10px 12px;
}
.commitment-list li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 2px;
}
.coming-soon-badge {
    background: #FFF3CD;
    color: #856404;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Hind Siliguri', sans-serif;
    width: 100%;
    margin-top: 8px;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.wa-btn:hover { background: #128C7E; }
.wa-btn svg { width: 22px; height: 22px; flex-shrink: 0; }

.no-contact-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    padding: 12px;
    background: var(--light-gray);
    border-radius: 10px;
}

/* =====================================================
   LEADERS SECTION
   ===================================================== */
.leaders-highlight-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}
.leader-full-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px 28px 24px;
    text-align: center;
    max-width: 300px;
    flex: 1;
    min-width: 220px;
    box-shadow: 0 6px 28px rgba(27,107,47,0.1);
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}
.leader-full-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(27,107,47,0.16); }
.leader-full-img {
    width: 120px;
    height: 150px;
    object-fit: cover;
    object-position: top;
    border-radius: 14px;
    border: 4px solid var(--gold);
    margin-bottom: 16px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.lfc-name { font-size: 20px; font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; }
.lfc-role {
    background: var(--gold);
    color: var(--primary-dark);
    display: inline-block;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}
.lfc-group {
    display: inline-block;
    background: var(--light-gray);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.lfc-biz { font-size: 13px; color: var(--text-light); line-height: 1.5; }

/* =====================================================
   QUICK LINKS
   ===================================================== */
.quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px,1fr));
    gap: 18px;
    text-align: center;
}
.quick-card {
    background: #fff;
    padding: 26px 18px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(27,107,47,0.07);
    border: 1px solid var(--border);
    transition: all 0.2s;
    display: block;
    color: var(--text);
}
.quick-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(201,162,39,0.15);
}
.quick-icon { font-size: 34px; margin-bottom: 12px; }
.quick-title { font-size: 16px; font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; }
.quick-desc { font-size: 13px; color: var(--text-light); }

/* =====================================================
   GALLERY
   ===================================================== */
.gallery-masonry {
    columns: 4;
    column-gap: 14px;
}
.gallery-item {
    break-inside: avoid;
    margin-bottom: 14px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}
.gallery-item:hover { transform: scale(1.02); opacity: 0.95; }
.gallery-item img { display: block; width: 100%; height: auto; }

/* Lightbox */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 90vh; border-radius: 8px; box-shadow: 0 4px 40px rgba(0,0,0,0.5); }
.lightbox-close {
    position: absolute;
    top: 16px; right: 20px;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 22px;
    width: 44px; height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}

/* =====================================================
   PREVIOUS BOARD
   ===================================================== */
.board-section {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: 0 3px 12px var(--shadow);
}
.board-header {
    background: var(--primary);
    color: #fff;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.board-header h3 { font-size: 17px; font-weight: 700; }
.board-body { padding: 20px 24px; display: none; }
.board-body.show { display: block; }

/* =====================================================
   LEGACY PAGE
   ===================================================== */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
    gap: 16px;
    margin-bottom: 48px;
}
.stat-card {
    background: var(--primary);
    color: #fff;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
}
.stat-num { font-size: 36px; font-weight: 800; color: var(--gold-light); }
.stat-label { font-size: 14px; opacity: 0.85; margin-top: 4px; }

.timeline { position: relative; padding-left: 32px; }
.timeline::before {
    content: '';
    position: absolute;
    left: 10px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(var(--primary), var(--primary-light));
    border-radius: 2px;
}
.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-dot {
    position: absolute;
    left: -27px; top: 6px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid var(--primary);
}
.timeline-year { font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.timeline-content {
    background: #fff;
    border-radius: 10px;
    padding: 14px 18px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px var(--shadow);
}
.timeline-content h4 { font-size: 15px; font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; }
.timeline-content p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

.legacy-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
    gap: 16px;
    margin-bottom: 48px;
}
.legacy-img-card { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px var(--shadow); }
.legacy-img-card img { display: block; width: 100%; height: auto; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.75);
    padding: 56px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand img { height: 50px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 10px; }
.footer-heading { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.65); transition: all 0.2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 14px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom-vote {
    background: var(--gold);
    color: var(--primary-dark);
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 960px) {
    .home-hero-inner { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .gallery-masonry { columns: 3; }
}
@media (max-width: 768px) {
    .hero-title { font-size: 30px; }
    .section-title { font-size: 24px; }
    .candidates-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .candidate-scroll { grid-template-columns: repeat(3, 1fr); }
    .leaders-highlight-grid { gap: 16px; }
    .quick-grid { grid-template-columns: repeat(2, 1fr); }
    /* Header mobile */
    .main-nav { display: none; }
    .main-nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.1); padding: 12px 20px 20px; z-index: 999; }
    .main-nav.open ul { flex-direction: column; gap: 4px; }
    .main-nav.open a { display: block; }
    .nav-toggle { display: flex; }
    /* Overlay on mobile */
    .cand-overlay { align-items: flex-end; padding: 0; }
    .cand-detail { border-radius: 20px 20px 0 0; max-height: 88vh; max-width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .gallery-masonry { columns: 2; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 24px; }
    .candidates-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .candidate-scroll { grid-template-columns: repeat(2, 1fr); }
    .cand-card-name { font-size: 13px; }
    .filter-tabs { gap: 6px; }
    .filter-tab { padding: 6px 12px; font-size: 13px; }
    .gallery-masonry { columns: 2; }
    .manifesto-intro { padding: 22px 18px; }
}
