/* ============================================================
   style.css — Hon. Mwangi Nyagah | Kaimbaga Ward
   Octa-Sanctum Solutions®
   ============================================================ */

:root {
    --primary:       #1a5f3f;
    --primary-light: #2d7a56;
    --secondary:     #d4a574;
    --accent:        #c8102e;
    --bg-light:      #fafaf8;
    --bg-dark:       #0f1a14;
    --text-dark:     #1a1a1a;
    --text-light:    #f5f5f5;
    --border:        #e0ddd5;
    --shadow:        rgba(26, 95, 63, 0.1);
}

/* ─ Reset ──────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Work Sans', sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Crimson Pro', serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Skip link */
.skip-link {
    position: absolute; top: -40px; left: 0;
    background: var(--primary); color: white;
    padding: 8px; z-index: 1001; text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ═══════════════════════════════════════════
   NAV — DESKTOP
   ══════════════════════════════════════════ */
nav {
    background: white; padding: 1rem 0;
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
    border-bottom: 3px solid var(--primary);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 2rem;
    display: flex; justify-content: space-between;
    align-items: center; position: relative;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 1rem; z-index: 1002; }
.logo-circle {
    width: 60px; height: 60px; border-radius: 50%; overflow: hidden;
    border: 2px solid var(--primary); box-shadow: 0 4px 12px var(--shadow);
    display: flex; align-items: center; justify-content: center; background: white;
    flex-shrink: 0;
}
.logo-circle img { width: 100%; height: 100%; object-fit: cover; }
.logo-text h1 { font-size: 1.5rem; color: var(--primary); line-height: 1.3; }
.logo-text p  { font-size: 0.85rem; color: var(--secondary); font-weight: 500; }

/* ── Desktop nav list ── */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
}

.stat-number-wrapper {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
}

.stat-plus {
    font-size: inherit;
    font-weight: 900;
    line-height: 2;
}

/* Mobile styles for stat strip (max-width: 768px) */
@media (max-width: 768px) {
    .stats-strip {
        padding: 1rem 0.75rem;
    }

    .stats-strip-inner {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem 1rem;
    }

    .stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.35rem;
    }

    .stat-number-wrapper {
        display: inline-flex;
        align-items: baseline;
        justify-content: center;
        gap: 2px;
        flex-wrap: nowrap;
    }

    .stat-number {
        font-size: 1.6rem;
        font-weight: 800;
        line-height: 1.2;
        white-space: nowrap;
    }

    .stat-plus {
        display: inline-block;
        font-size: 1.6rem;
        font-weight: 800;
        line-height: 1.2;
        margin-left: 0;
        white-space: nowrap;
    }

    .stat-label {
        font-size: 0.7rem;
        font-weight: 500;
        letter-spacing: 0.02em;
        word-break: break-word;
        max-width: 100px;
    }

    .stat-item i {
        font-size: 1.25rem;
        margin-bottom: 0.2rem;
    }
}

/* Extra small devices (max-width: 480px) */
@media (max-width: 480px) {
    .stats-strip-inner {
        gap: 1rem 0.75rem;
    }

    .stat-number {
        font-size: 1.35rem;
    }

    .stat-plus {
        font-size: 1.35rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .stat-item i {
        font-size: 1.1rem;
    }
}

/* Ensure the wrapper stays inline on all screen sizes */
.stat-number-wrapper {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    flex-wrap: nowrap;
}

.stat-plus {
    font-size: inherit;
    font-weight: 700;
    line-height: 1;
    display: inline-block;
}

/* Desktop: hide mobile-only elements */
.nav-drawer-header    { display: none; }
li.nav-auth-row       { display: none; }
li.nav-spacer         { display: none; }
li.nav-auth-login,
li.nav-auth-register  { display: flex; align-items: center; }
li.nav-auth-login     { margin-left: 1rem; }

/* Desktop link style */
.nav-links > li > a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.5rem 0.9rem;
    position: relative;
    transition: color 0.3s;
    display: block;
}
.nav-links > li > a::after {
    content: '';
    position: absolute; bottom: -2px; left: 0.9rem; right: 0.9rem;
    height: 2px; background: var(--primary);
    transform: scaleX(0); transform-origin: center;
    transition: transform 0.3s;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--primary); }
.nav-links > li > a:hover::after,
.nav-links > li > a.active::after { transform: scaleX(1); }

/* ── Desktop separators between nav link items ── */
.nav-links > li {
    position: relative;
}
/* Show a thin vertical line before each link item that isn't the first
   and isn't an auth/spacer element */
.nav-links > li:not(:first-child):not(.nav-auth-login):not(.nav-auth-register):not(.nav-spacer)::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 1px; height: 16px;
    background: linear-gradient(to bottom, transparent, #ccc, transparent);
    pointer-events: none;
}
/* No separator before the first auth pill */
.nav-links > li.nav-auth-login::before { display: none; }

/* ── Auth pills (desktop) ─ */
.nav-btn-login{
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.42rem 1.1rem;
    border-radius: 20px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600; font-size: 0.86rem;
    text-decoration: none;
    transition: all 0.22s;
    white-space: nowrap; line-height: 1;
}

.nav-btn-register {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.42rem 1.1rem;
    border-radius: 20px;
    color: #fff !important;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600; font-size: 0.86rem;
    text-decoration: none;
    transition: all 0.22s;
    white-space: nowrap; line-height: 1;
}
.nav-btn-login {
    color: var(--primary);
    border: 1.5px solid var(--primary);
    background: transparent;
}
.nav-btn-login:hover {
    background: var(--primary);
    color: white;
}
.nav-btn-register {
    background: var(--primary);
    color: white;
    border: 1.5px solid var(--primary);
    margin-left: 0.5rem;
}
.nav-btn-register:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    box-shadow: 0 4px 12px rgba(26,95,63,0.28);
}

/* ═════════════════════════════════════════
   HAMBURGER (mobile only + hides when menu opens)
   ═════════════════════════════════════════ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;

    width: 28px;
    height: 20px;

    background: transparent;
    border: none;
    cursor: pointer;

    padding: 0;
    z-index: 1002;

    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* bars */
.hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;

    background: var(--primary);
    border-radius: 10px;

    transition: all 0.25s ease;
}

/* 📱 show only on mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
}

/* 🚫 REMOVE morphing into X completely */
.hamburger.active span {
    transform: none;
    opacity: 1;
}

/* ✅ HIDE hamburger when drawer is open */
.hamburger.active {
    opacity: 0;
    transform: scale(0.85);
    pointer-events: none;
}
/* ══════════════════════════════════════════
   OVERLAY
   ═════════════════════════════════════════ */
.overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 998;
}
.overlay.active { opacity: 1; visibility: visible; }

/* ════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════ */
.btn {
    background: var(--primary); color: white; padding: 0.8rem 1.8rem;
    border-radius: 6px; transition: all 0.3s; border: none; cursor: pointer;
    font-family: 'Work Sans', sans-serif; font-weight: 600;
    text-decoration: none; display: inline-block;
}
.btn:hover {
    background: var(--primary-light); transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(26,95,63,0.2);
}
.btn-secondary {
    background: transparent; border: 2px solid white; color: white;
}
.btn-secondary:hover { background: white; color: var(--primary); }
.btn-gold {
    background: var(--secondary); color: var(--bg-dark);
    padding: 0.9rem 2.2rem; border-radius: 8px;
    font-weight: 700; font-size: 1rem; border: none; cursor: pointer;
    font-family: 'Work Sans', sans-serif;
    display: inline-flex; align-items: center; gap: 0.6rem;
    transition: all 0.3s;
}
.btn-gold:hover {
    background: #e8b98a; transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212,165,116,0.3);
}
.btn-full { width: 100%; justify-content: center; padding: 1rem; font-size: 1rem; }

/* ══════════════════════════════════════════
   HERO
   ═════════════════════════════════════════ */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white; padding: 4rem 2rem 6rem; position: relative;
    overflow: hidden; min-height: 85vh; display: flex; align-items: center;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover; opacity: 0.3;
}
.hero-container {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center; position: relative; z-index: 1;
}
.hero-content h1 { font-size: 3rem; margin-bottom: 1rem; animation: fadeInUp 0.8s ease; text-shadow: 2px 2px 4px rgba(0,0,0,0.2); }
.hero-subtitle    { font-size: 1.5rem; margin-bottom: 1rem; opacity: 0.95; animation: fadeInUp 0.8s ease 0.2s backwards; font-weight: 600; }
.hero-description { font-size: 1.1rem; margin-bottom: 2rem; opacity: 0.9; line-height: 1.7; animation: fadeInUp 0.8s ease 0.4s backwards; }
.hero-actions     { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeInUp 0.8s ease 0.6s backwards; }
.hero-image-container { position: relative; animation: fadeInUp 0.8s ease 0.6s backwards; }
.hero-image-wrapper {
    width: 100%; aspect-ratio: 4/5;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 20px; border: 5px solid rgba(255,255,255,0.2);
    overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.hero-image-wrapper img { width: 100%; height: 100%; object-fit: cover; display: block; }

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

/* ════════════════════════════════════════════
   STATS STRIP
   ══════════════════════════════════════════ */
.stats-strip {
    background: white;
    border-bottom: 3px solid var(--border);
    box-shadow: 0 4px 20px var(--shadow);
    position: relative; z-index: 10;
}
.stats-strip-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item {
    padding: 1.8rem 1.5rem; text-align: center;
    border-right: 1px solid var(--border);
    position: relative; transition: background 0.3s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: #f0f7f4; }
.stat-item i { font-size: 1.6rem; color: var(--primary); margin-bottom: 0.5rem; display: block; }
.stat-number {
    font-family: 'Crimson Pro', serif;
    font-size: 2.4rem; font-weight: 700;
    color: var(--primary); line-height: 1; display: block;
}
.stat-label {
    font-size: 0.82rem; color: #777; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.06em;
    margin-top: 0.3rem; display: block;
}
.stat-item::after {
    content: ''; position: absolute; bottom: 0; left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 40px; height: 3px; background: var(--secondary);
    transition: transform 0.3s;
}
.stat-item:hover::after { transform: translateX(-50%) scaleX(1); }

/* ══════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════ */
.section { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 {
    font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem;
    position: relative; display: inline-block; padding-bottom: 1rem;
}
.section-header h2::after {
    content: ''; position: absolute; bottom: 0; left: 50%;
    transform: translateX(-50%); width: 100px; height: 3px; background: var(--secondary);
}
.section-header p { font-size: 1.1rem; color: #666; max-width: 700px; margin: 0 auto; }

/* ═════════════════════════════════════════
   CAROUSEL
   ════════════════════════════════════════ */
.carousel-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, #eef2f1 100%);
    padding: 5rem 2rem;
}
.carousel-container {
    max-width: 1000px; margin: 0 auto; position: relative;
    border-radius: 20px; overflow: hidden; box-shadow: 0 20px 40px var(--shadow);
}
.carousel-wrapper  { position: relative; overflow: hidden; }
.carousel-track    { display: flex; transition: transform 0.5s ease-in-out; }
.carousel-slide    { min-width: 100%; background: white; }
.carousel-image    { width: 100%; height: 400px; overflow: hidden; background: #f0f0f0; }
.carousel-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-image-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex; align-items: center; justify-content: center;
    font-size: 8rem; color: rgba(255,255,255,0.3);
}
.carousel-caption { padding: 2rem; background: white; text-align: center; border-top: 3px solid var(--primary); }
.carousel-caption h4 { font-size: 1.8rem; color: var(--primary); margin-bottom: 0.5rem; }
.carousel-caption p  { color: #666; font-size: 1.1rem; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 2rem; }
.carousel-dot {
    width: 12px; height: 12px; border-radius: 50%; background: var(--border);
    cursor: pointer; transition: all 0.3s; border: 2px solid transparent;
}
.carousel-dot.active { background: var(--primary); transform: scale(1.3); border-color: var(--secondary); }
.carousel-dot:hover  { background: var(--primary-light); }
.carousel-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.9); border: none;
    width: 50px; height: 50px; border-radius: 50%;
    font-size: 1.5rem; color: var(--primary); cursor: pointer;
    z-index: 10; display: flex; align-items: center; justify-content: center;
    transition: all 0.3s; box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.carousel-arrow:hover { background: white; transform: translateY(-50%) scale(1.1); }
.carousel-arrow.prev { left: 20px; }
.carousel-arrow.next { right: 20px; }

/* ─ Facebook Feed ─ */
.social-feed-section {
    max-width: 1000px; margin: 3rem auto 0; width: 100%;
}
.social-feed-inner {
    width: 100%; background: #fff; border-radius: 20px; overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow); border: 1px solid var(--border);
}
.social-feed-header {
    display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
    padding: 1.4rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
}
.social-feed-icon {
    width: 48px; height: 48px; display: flex; align-items: center;
    justify-content: center; flex-shrink: 0;
    border-radius: 12px; font-size: 1.6rem; background: rgba(255,255,255,0.15);
}
.social-feed-title h3 { font-size: 1.35rem; margin-bottom: 0.15rem; }
.social-feed-title p  { font-size: 0.85rem; opacity: 0.85; font-weight: 400; }
.social-feed-cta {
    margin-left: auto; display: flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1.1rem; border-radius: 6px; font-size: 0.88rem; font-weight: 600;
    background: rgba(255,255,255,0.15); border: 1.5px solid rgba(255,255,255,0.4);
    color: #fff; text-decoration: none; transition: background 0.2s; white-space: nowrap;
}
.social-feed-cta:hover { background: rgba(255,255,255,0.28); }
.social-feed-embed {
    width: 100%; display: flex; justify-content: center; align-items: flex-start;
    padding: 2rem; background: #f8f9fa; min-height: 540px; overflow-x: auto;
}
.social-feed-embed .fb-page,
.social-feed-embed .fb_iframe_widget,
.social-feed-embed .fb_iframe_widget span,
.social-feed-embed .fb_iframe_widget iframe {
    width: 100% !important; max-width: 100% !important;
}
.social-feed-footer {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 0.6rem;
    padding: 0.9rem 2rem; background: #fff; border-top: 1px solid var(--border);
}
.social-feed-footer p { font-size: 0.84rem; color: #777; }
.social-feed-footer p strong { color: var(--primary); }
.social-feed-fb-link {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.84rem; font-weight: 600; color: #1877f2;
    text-decoration: none; transition: opacity 0.2s;
}
.social-feed-fb-link:hover { opacity: 0.8; }

/* ── Mini Carousels ── */
.multi-carousel-container {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem; margin-top: 3rem;
}
.mini-carousel {
    background: white; border-radius: 15px; overflow: hidden;
    box-shadow: 0 10px 25px var(--shadow); transition: transform 0.3s;
}
.mini-carousel:hover { transform: translateY(-5px); }
.mini-carousel-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white; padding: 1.5rem; text-align: center;
}
.mini-carousel-header h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.mini-carousel-header i  { font-size: 2rem; margin-bottom: 0.5rem; display: block; }
.mini-track { display: flex; transition: transform 0.5s ease-in-out; }
.mini-slide {
    min-width: 100%; padding: 1.5rem; text-align: center;
    border-bottom: 1px solid var(--border);
}
.mini-slide h4 { color: var(--primary); margin-bottom: 0.5rem; font-size: 1.3rem; }
.mini-slide p  { color: #666; margin-bottom: 1rem; }
.mini-dots { display: flex; justify-content: center; gap: 8px; padding: 1rem; background: var(--bg-light); }
.mini-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); cursor: pointer; transition: all 0.3s; }
.mini-dot.active { background: var(--primary); }

/* ═════════════════════════════════════════
   BULLETINS
   ══════════════════════════════════════════ */
.bulletin-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem; margin-top: 2rem;
}
.bulletin-card {
    background: white; border-radius: 15px; overflow: hidden;
    box-shadow: 0 10px 25px var(--shadow); transition: transform 0.3s;
}
.bulletin-card:hover { transform: translateY(-5px); }
.bulletin-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white; padding: 1.5rem;
}
.bulletin-type  { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; margin-bottom: 0.5rem; opacity: 0.9; }
.bulletin-title { font-size: 1.5rem; }
.bulletin-body  { padding: 1.5rem; }
.bulletin-date  { color: var(--secondary); font-weight: 600; margin-bottom: 1rem; }
.bulletin-description { color: #666; line-height: 1.7; margin-bottom: 1.5rem; }

/* ════════════════════════════════════════
   WARD ISSUES SENTIMENT
   ═══════════════════════════════════════════ */
.issues-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0a2e1a 100%);
    padding: 5rem 2rem; position: relative; overflow: hidden;
}
.issues-section::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}
.issues-inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 2; }
.section-label-light {
    display: inline-block; font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--secondary); border: 1px solid rgba(212,165,116,0.4);
    padding: 0.3rem 0.9rem; border-radius: 20px; margin-bottom: 1rem;
}
.issues-title { font-size: 2.4rem; color: white; text-align: center; margin-bottom: 0.5rem; }
.issues-title em { color: var(--secondary); font-style: normal; }
.issues-sub { text-align: center; color: rgba(255,255,255,0.65); margin-bottom: 2.5rem; font-size: 1rem; }

.poll-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.poll-option { cursor: pointer; display: block; }
.poll-option input[type="radio"] { display: none; }
.poll-option span {
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    padding: 1.2rem 1rem; border: 2px solid rgba(255,255,255,0.15);
    border-radius: 12px; background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.8); font-size: 0.9rem; font-weight: 500;
    transition: all 0.25s; text-align: center;
}
.poll-option span i { font-size: 1.5rem; color: var(--secondary); }
.poll-option input:checked + span,
.poll-option span:hover {
    border-color: var(--secondary); background: rgba(212,165,116,0.12);
    color: white; transform: translateY(-2px);
}
.poll-option input:checked + span { box-shadow: 0 4px 15px rgba(212,165,116,0.2); }

.poll-fields { margin-bottom: 1.5rem; }
.poll-row    { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.poll-field  { display: flex; flex-direction: column; gap: 0.4rem; }
.poll-field--full { grid-column: 1 / -1; }
.poll-field label {
    font-size: 0.85rem; color: rgba(255,255,255,0.75); font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.poll-field label .poll-req { color: var(--secondary); }
.poll-field label .poll-opt { color: rgba(255,255,255,0.4); font-weight: 400; font-size: 0.8em; text-transform: none; letter-spacing: 0; }
.poll-field input,
.poll-field textarea {
    background: rgba(255,255,255,0.07); border: 1.5px solid rgba(255,255,255,0.15);
    border-radius: 8px; padding: 0.75rem 1rem; color: white;
    font-family: 'Work Sans', sans-serif; font-size: 0.95rem;
    transition: border-color 0.2s, background 0.2s; outline: none; width: 100%;
}
.poll-field input::placeholder,
.poll-field textarea::placeholder { color: rgba(255,255,255,0.3); }
.poll-field input:focus,
.poll-field textarea:focus { border-color: var(--secondary); background: rgba(255,255,255,0.1); }
.poll-field textarea { resize: vertical; min-height: 90px; }
.poll-note {
    margin-top: 1rem; font-size: 0.82rem; color: rgba(255,255,255,0.4);
    display: flex; align-items: center; gap: 0.4rem;
}
.poll-note i { color: var(--secondary); }

/* ══════════════════════════════════════════
   REGISTER SUPPORT
   ══════════════════════════════════════════ */
.register-section {
    background: var(--bg-light); padding: 5rem 2rem; border-top: 3px solid var(--border);
}
.register-inner {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.register-eyebrow {
    display: inline-block; font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--primary); border: 1px solid rgba(26,95,63,0.3);
    padding: 0.3rem 0.9rem; border-radius: 20px; margin-bottom: 1.2rem;
}
.register-title { font-size: 2.4rem; color: var(--primary); margin-bottom: 1rem; line-height: 1.2; }
.register-title em { color: var(--secondary); font-style: normal; }
.register-desc { color: #555; line-height: 1.8; margin-bottom: 1.5rem; font-size: 1rem; }
.register-channels { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1.5rem; }
.channel-btn {
    display: flex; align-items: center; gap: 0.8rem;
    padding: 0.8rem 1.2rem; border-radius: 8px; text-decoration: none;
    font-weight: 600; font-size: 0.9rem; transition: all 0.25s; max-width: 240px;
}
.channel-btn i { font-size: 1.2rem; }
.channel-btn.whatsapp { background: #25d366; color: white; }
.channel-btn.whatsapp:hover { background: #1fba58; transform: translateX(4px); }
.channel-btn.facebook  { background: #1877f2; color: white; }
.channel-btn.facebook:hover  { background: #1566d4; transform: translateX(4px); }

.register-form-card {
    background: white; border-radius: 20px;
    box-shadow: 0 20px 50px var(--shadow); padding: 2.5rem;
    border: 1px solid var(--border); position: relative; overflow: hidden;
}
.register-form-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.register-form-card h3    { font-size: 1.7rem; color: var(--primary); margin-bottom: 0.3rem; }
.register-form-card .form-sub { font-size: 0.9rem; color: #888; margin-bottom: 1.8rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.2rem; }
.form-group label {
    font-size: 0.85rem; font-weight: 600; color: #444;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.form-group label .req { color: var(--accent); }
.form-group input {
    border: 1.5px solid var(--border); border-radius: 8px;
    padding: 0.8rem 1rem; font-family: 'Work Sans', sans-serif;
    font-size: 0.95rem; color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s; outline: none; width: 100%; background: white;
}
.form-group input:focus {
    border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,95,63,0.08);
}
.form-group input::placeholder { color: #bbb; }
.form-note {
    font-size: 0.8rem; color: #999;
    display: flex; align-items: center; gap: 0.4rem; margin-top: 1rem;
}
.form-note i { color: var(--primary); }

/* ══════════════════════════════════════════
   TOAST
   ═══════════════════════════════════════════ */
.toast {
    position: fixed; bottom: 2rem; right: 2rem;
    background: var(--primary); color: white;
    padding: 1rem 1.5rem; border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex; align-items: center; gap: 0.7rem;
    font-weight: 600; font-size: 0.95rem;
    transform: translateY(120px); opacity: 0;
    transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
    z-index: 9999; max-width: 320px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast i    { font-size: 1.2rem; color: var(--secondary); }

/* ═════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
footer {
    background: var(--bg-dark); color: var(--text-light);
    padding: 4rem 2rem 1.5rem; margin-top: 0;
}
.footer-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem; margin-bottom: 2rem;
}
.footer-column h3 {
    color: var(--secondary); margin-bottom: 1.5rem; font-size: 1.3rem;
    position: relative; padding-bottom: 0.5rem;
}
.footer-column h3::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 2px; background: var(--primary);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a {
    color: rgba(255,255,255,0.8); text-decoration: none;
    transition: all 0.3s; display: inline-block;
}
.footer-links a:hover { color: white; transform: translateX(5px); }
.social-links { display: flex; gap: 1rem; margin-top: 1rem; }
.social-links a {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.1); display: flex; align-items: center;
    justify-content: center; color: white; text-decoration: none; transition: all 0.3s;
}
.social-links a:hover { background: var(--primary); transform: translateY(-3px); }
.footer-bottom {
    text-align: center; padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.9;
}
.footer-bottom a { color: var(--secondary); text-decoration: none; }

/* Scroll-to-top */
.go-top {
    position: fixed; bottom: 20px; right: 20px;
    background: var(--primary); color: white;
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; font-size: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    opacity: 0; pointer-events: none;
    transition: all 0.3s; z-index: 1000;
}
.go-top.visible { opacity: 1; pointer-events: auto; }
.go-top:hover   { background: var(--primary-light); transform: translateY(-3px); }

/* ═════════════════════════════════════════
   RESPONSIVE — 900px
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
    .stats-strip-inner { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3) { border-right: 1px solid var(--border); border-top: 1px solid var(--border); }
    .stat-item:nth-child(4) { border-right: none; border-top: 1px solid var(--border); }
    .register-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .poll-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════
   RESPONSIVE — 768px  (single consolidated mobile block)
   ══════════════════════════════════════════ */
@media (max-width: 768px) {

    /* Show hamburger */
    .hamburger { display: flex; }

    /* ── Drawer container ─
       Flex column. Nav drawer header is the FIRST flex child — it
       occupies its own height in normal flow so every link below it
       starts beneath it. No padding-top needed; no absolute positioning
       of the header. This is the only correct approach to avoid overlap. */
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 78%; max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        gap: 0;
        transition: right 0.38s cubic-bezier(0.77,0,0.18,1);
        box-shadow: -8px 0 32px rgba(0,0,0,0.2);
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 1001;
        list-style: none;
    }
    .nav-links.active { right: 0; }

/* ─ Drawer header (clean transparent spacer) ── */
.nav-drawer-header {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;

    position: sticky;
    top: 0;
    z-index: 2;

    height: 88px;
    min-height: 88px;
    width: 100%;

    /* ✅ REMOVE background completely */
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    border: none;
    padding: 0 1rem;

    flex-shrink: 0;
}

/* ❌ Hide duplicate text completely */
.nav-drawer-header .invisible-text {
    display: none !important;
}

/* Ensure close button aligns nicely */
.nav-drawer-header .nav-close-btn {
    position: static; /* no more floating conflict */
}

.nav-close-btn {
    width: 36px;
    height: 36px;

    background: var(--primary);
    color: #fff;

    border-radius: 50%;
    border: none;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1rem;
    cursor: pointer;

    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.nav-close-btn:hover { 
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

.nav-close-btn:active {
    transform: scale(0.95);
}

    /* ── Nav link items ── */
    .nav-links li { width: 100%; flex-shrink: 0; }

    /* Kill desktop separator inside mobile */
    .nav-links > li::before { display: none !important; }

    .nav-links li a {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        padding: 0.78rem 1.1rem;
        border-radius: 10px;
        margin: 0.15rem 0.65rem;
        font-size: 0.95rem; font-weight: 500;
        color: #444;
        text-decoration: none;
        transition: all 0.22s ease;
        /* width accounts for left+right margin */
        width: calc(100% - 1.3rem);
    }

    /* FontAwesome icons injected via ::before */
    .nav-links li a::before {
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        width: 22px; font-size: 0.95rem;
        text-align: center; opacity: 0.6; flex-shrink: 0;
    }
    .nav-links a[href="#home"]::before      { content: "\f015"; }
    .nav-links a[href="#bulletins"]::before  { content: "\f0a1"; }
    .nav-links a[href="#about"]::before      { content: "\f05a"; }
    .nav-links a[href="#gallery"]::before    { content: "\f03e"; }
    .nav-links a[href="#issues"]::before     { content: "\f075"; }
    .nav-links a[href="#register"]::before   { content: "\f234"; }
    .nav-links a[href="#contact"]::before    { content: "\f095"; }

    /* Kill desktop underline ::after inside mobile */
    .nav-links li a::after { display: none !important; }

    .nav-links li a:hover {
        background: rgba(26, 95, 63, 0.08);
        color: var(--primary);
        transform: translateX(4px);
    }
    .nav-links li a.active {
        background: linear-gradient(135deg, var(--primary), var(--primary-light));
        color: white; font-weight: 600;
        box-shadow: 0 4px 12px rgba(26, 95, 63, 0.2);
    }
    .nav-links li a.active::before { opacity: 1; }


    /* ── Auth row: appears immediately after links + spacer ──
       Solid background, border-top separator, no floating. */
    .nav-links .nav-auth-row {
        display: flex !important;
        gap: 0.7rem;
        padding: 0.85rem 1.1rem 1.1rem;
        border-top: 1px solid var(--border);
        background: #f6f6f4;
        flex-shrink: 0;
        width: 100%;
    }

    /* Login: outlined green pill */
    .nav-links .nav-auth-row .nav-btn-login {
        flex: 1;
        display: inline-flex; align-items: center; justify-content: center;
        font-family: 'Work Sans', sans-serif;
        font-size: 0.84rem; font-weight: 600;
        padding: 0.58rem 0.5rem;
        border-radius: 24px;
        background: transparent;
        border: 1.5px solid var(--primary);
        color: var(--primary);
        text-decoration: none;
        transition: all 0.22s;
        /* Override any ::before icon from nav link rules */
        width: auto;
        margin: 0;
    }
    .nav-links .nav-auth-row .nav-btn-login::before { display: none !important; }
    .nav-links .nav-auth-row .nav-btn-login:hover {
        background: var(--primary); color: white;
    }

    /* Register: solid green pill — white text on green = always visible */
    .nav-links .nav-auth-row .nav-btn-register {
        flex: 1;
        display: inline-flex; align-items: center; justify-content: center;
        font-family: 'Work Sans', sans-serif;
        font-size: 0.84rem; font-weight: 600;
        padding: 0.58rem 0.5rem;
        border-radius: 24px;
        background: var(--primary);
        border: 1.5px solid var(--primary);
        color: white;               /* explicit white  no inheritance issues */
        text-decoration: none;
        transition: all 0.22s;
        width: auto;
        margin: 0;
    }
    .nav-links .nav-auth-row .nav-btn-register::before { display: none !important; }
    .nav-links .nav-auth-row .nav-btn-register:hover {
        background: var(--primary-light); border-color: var(--primary-light);
        box-shadow: 0 4px 12px rgba(26,95,63,0.25);
    }

    /* Hide desktop-only auth li items */
    .nav-links li.nav-auth-login,
    .nav-links li.nav-auth-register { display: none; }

    /* Hero */
    .hero-container { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-subtitle   { font-size: 1.2rem; }
    .hero-description { font-size: 1rem; }
    .hero-actions { justify-content: center; }
    .hero-image-wrapper { max-width: 350px; margin: 0 auto; }

    .stats-strip-inner { grid-template-columns: repeat(2, 1fr); }

    .section { padding: 3rem 1.5rem; }
    .section-header h2 { font-size: 2rem; }
    .carousel-image { height: 300px; }
    .carousel-image-placeholder { font-size: 5rem; }
    .carousel-arrow { width: 40px; height: 40px; font-size: 1.2rem; }
    .multi-carousel-container { grid-template-columns: 1fr; }
    .bulletin-grid { grid-template-columns: 1fr; }
    .logo-circle { width: 50px; height: 50px; }
    .logo-text h1 { font-size: 1.2rem; }

    .social-feed-section { margin: 2rem 1rem 0; width: auto; }
    .social-feed-cta { margin-left: 0; width: 100%; justify-content: center; }
    .social-feed-embed { padding: 0.5rem; min-height: 420px; overflow: hidden; }
    .social-feed-footer { flex-direction: column; align-items: flex-start; padding: 0.9rem 1rem; }

    .poll-grid  { grid-template-columns: repeat(2, 1fr); }
    .poll-row   { grid-template-columns: 1fr; }
    .issues-title { font-size: 1.9rem; }
    .register-title { font-size: 2rem; }
    .register-channels { flex-direction: row; flex-wrap: wrap; }
    .channel-btn { max-width: none; flex: 1; min-width: 140px; }
}

/* ═════════════════════════════════════════
   RESPONSIVE  480px
   ══════════════════════════════════════════ */
@media (max-width: 480px) {
    .hero { padding: 3rem 1.5rem 4rem; }
    .carousel-image { height: 250px; }
    .carousel-caption { padding: 1.5rem; }
    .carousel-caption h4 { font-size: 1.5rem; }
    .carousel-arrow { width: 35px; height: 35px; font-size: 1rem; }
    .carousel-arrow.prev { left: 10px; }
    .carousel-arrow.next { right: 10px; }
    .social-feed-section { margin: 1.5rem 0.5rem 0; }
    .social-feed-embed { padding: 0.25rem; min-height: 420px; }
    .social-feed-inner { border-radius: 12px; }
    .stats-strip-inner { grid-template-columns: repeat(2, 1fr); }
    .poll-grid { grid-column: 1fr 1fr; }
    .register-form-card { padding: 1.8rem 1.4rem; }
    .poll-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   ACCESSIBILITY
   ═════════════════════════════════════════ */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0;
    margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}
button:focus, a:focus, input:focus, select:focus, textarea:focus {
    outline: 3px solid var(--secondary); outline-offset: 2px;
}

@media print {
    .no-print { display: none; }
    body { color: #000; background: #fff; }
    .hero { background: #fff !important; color: #000 !important; }
}