/* =============================================
   LMNHS GENERAL ALUMNI ASSOCIATION — Main Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* ── Logo-matched greens ── */
    --green-dark:    #0f4a1e;
    --green:         #1a6b2a;
    --green-mid:     #22883a;
    --green-bright:  #2aab48;
    --green-light:   #d4f0dc;
    --green-glow:    rgba(26, 107, 42, 0.14);

    /* ── Logo gold ── */
    --gold:          #c9940a;
    --gold-bright:   #f0b429;
    --gold-light:    #fef3c7;
    --gold-glow:     rgba(201, 148, 10, 0.18);

    /* ── Backgrounds ── */
    --bg:            #f4fbf5;
    --bg-panel:      #ebf5ee;
    --bg-card:       #ffffff;
    --bg-card-hover: #f0faf2;

    /* ── Text ── */
    --text-primary:  #0d2b14;
    --text-secondary:#3d6647;
    --text-dim:      #8ab496;

    /* ── Borders ── */
    --border:        #cce5d3;
    --border-accent: #a0cead;

    /* ── Status ── */
    --danger:        #c62828;
    --warning:       #d97706;
    --success:       #1a6b2a;

    /* ── Fonts ── */
    --font:          'Poppins', sans-serif;

    /* ── Utilities ── */
    --radius:        10px;
    --radius-lg:     16px;
    --shadow-sm:     0 1px 4px rgba(10,50,20,0.07), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md:     0 4px 20px rgba(10,50,20,0.10), 0 2px 8px rgba(0,0,0,0.05);
    --shadow-lg:     0 12px 40px rgba(10,50,20,0.16), 0 4px 12px rgba(0,0,0,0.07);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-panel); }
::-webkit-scrollbar-thumb { background: var(--border-accent); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--green); }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; line-height: 1.2; color: var(--text-primary); }
a { color: var(--green); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--green-bright); }

/* ============================================= NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(14px);
    border-bottom: 3px solid var(--green);
    box-shadow: 0 2px 16px rgba(26,107,42,0.10);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.nav-logo-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--border-accent);
}
.nav-logo-text { display: flex; flex-direction: column; }
.logo-text {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--green-dark);
    letter-spacing: 0.5px;
    line-height: 1.1;
}
.logo-sub {
    font-size: 0.58rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.logo-bracket { display: none; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s;
    border: 1px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--green);
    background: var(--green-glow);
    border-color: var(--border-accent);
}

.nav-admin {
    background: var(--green) !important;
    color: #fff !important;
    border-color: var(--green) !important;
}
.nav-admin:hover {
    background: var(--green-mid) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(26,107,42,0.35) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--green);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ============================================= HERO */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 40%, rgba(201,148,10,0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 15%, rgba(255,255,255,0.06) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 110%, rgba(0,0,0,0.25) 0%, transparent 50%);
}

/* decorative ring */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright), var(--gold));
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 20px 24px 40px;
    max-width: 880px;
}

.hero-logo {
    width: 148px;
    height: 148px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(201,148,10,0.55);
    box-shadow: 0 0 0 8px rgba(201,148,10,0.12), 0 8px 40px rgba(0,0,0,0.35);
    margin: 0 auto 12px;
    flex-shrink: 0;
}
.hero-logo img {
    width: 116%;
    height: 116%;
    margin: -8%;
    object-fit: cover;
    display: block;
}

.hero-tag {
    display: block;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold-bright);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 18px;
    background: rgba(201,148,10,0.18);
    border: 1px solid rgba(201,148,10,0.45);
    padding: 5px 18px;
    border-radius: 30px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 {
    font-size: clamp(2.6rem, 6.5vw, 5rem);
    font-weight: 900;
    line-height: 1.02;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.hero h1 .accent { color: var(--gold-bright); }

.hero-sub {
    font-size: clamp(0.9rem, 2vw, 1.35rem);
    color: rgba(255,255,255,0.72);
    font-weight: 500;
    letter-spacing: 1.5px;
    margin-bottom: 28px;
    text-transform: uppercase;
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.62);
    max-width: 520px;
    margin: 0 auto 48px;
    line-height: 1.8;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 52px;
    margin-bottom: 52px;
    flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-num {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--gold-bright);
    display: block;
    line-height: 1;
    text-shadow: 0 2px 12px rgba(201,148,10,0.4);
}

.stat-label {
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: rgba(255,255,255,0.52);
    text-transform: uppercase;
    margin-top: 6px;
}

.hero-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================= BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.22s;
    text-decoration: none;
}

.btn-primary {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}
.btn-primary:hover {
    background: var(--gold-bright);
    border-color: var(--gold-bright);
    color: #fff;
    box-shadow: 0 6px 22px rgba(201,148,10,0.40);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.85);
    color: #fff;
    transform: translateY(-2px);
}

/* Non-hero outline (sections, admin) */
.section .btn-outline,
.admin-panel .btn-outline,
.admin-panel-body .btn-outline,
.view-all .btn-outline {
    color: var(--green);
    border-color: var(--green);
    background: transparent;
}
.section .btn-outline:hover,
.admin-panel .btn-outline:hover,
.admin-panel-body .btn-outline:hover,
.view-all .btn-outline:hover {
    background: var(--green-glow);
    border-color: var(--green-mid);
    color: var(--green-mid);
}

.btn-danger {
    background: var(--danger);
    color: #fff;
    border-color: var(--danger);
}
.btn-danger:hover {
    background: #e53935;
    box-shadow: 0 4px 14px rgba(198,40,40,0.35);
    transform: translateY(-1px);
}

.btn-white {
    background: #ffffff;
    color: var(--green-dark);
    border-color: #ffffff;
}
.btn-white:hover {
    background: var(--green-light);
    color: var(--green-dark);
    border-color: var(--green-light);
    box-shadow: 0 6px 20px rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 7px 16px;
    font-size: 0.76rem;
}

/* ============================================= SECTIONS */
.section {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header { margin-bottom: 48px; }

.section-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    background: var(--gold-glow);
    border: 1px solid rgba(201,148,10,0.28);
    padding: 3px 14px;
    border-radius: 30px;
}

.section-title {
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--green-dark);
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 52px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    border-radius: 2px;
}

.section-desc {
    margin-top: 24px;
    color: var(--text-secondary);
    max-width: 600px;
    font-size: 1.05rem;
    line-height: 1.78;
}

/* ── Divider ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ============================================= CARDS */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.28s;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.card-img-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--bg-panel), var(--green-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--border-accent);
    border-bottom: 1px solid var(--border);
}

.card-body { padding: 22px; }

.card-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    align-items: center;
}

.badge {
    font-size: 0.67rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 30px;
}

.badge-date     { background: var(--green-glow); color: var(--green-dark); border: 1px solid var(--border-accent); }
.badge-location { background: #f9fafb; color: var(--text-secondary); border: 1px solid var(--border); }
.badge-upcoming { background: rgba(217,119,6,0.10); color: var(--warning); border: 1px solid rgba(217,119,6,0.30); }
.badge-ongoing  { background: rgba(26,107,42,0.12); color: var(--green); border: 1px solid var(--border-accent); }
.badge-completed{ background: #f3f4f6; color: var(--text-dim); border: 1px solid var(--border); }

.card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.card p   { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.65; margin-bottom: 16px; }
.card-slots { font-size: 0.78rem; font-weight: 600; color: var(--green); margin-bottom: 16px; }

/* ============================================= ABOUT STRIP */
.about-strip {
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 72px 24px;
}

.about-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.feature-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    transition: all 0.22s;
    border-left: 3px solid var(--green);
}
.feature-item:hover {
    border-color: var(--border-accent);
    border-left-color: var(--gold);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.feature-icon { font-size: 1.6rem; margin-bottom: 8px; display: block; }
.feature-item h4 { font-size: 0.82rem; font-weight: 700; color: var(--green-dark); margin-bottom: 4px; }
.feature-item p  { font-size: 0.83rem; color: var(--text-secondary); line-height: 1.5; }

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hexagon-display {
    width: 280px;
    height: 280px;
    background: linear-gradient(145deg, var(--green), var(--green-mid));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    box-shadow:
        0 0 0 10px rgba(26,107,42,0.10),
        0 0 0 22px rgba(26,107,42,0.05),
        0 12px 40px rgba(10,50,20,0.25);
    border: 3px solid rgba(201,148,10,0.4);
}

.hex-text-big {
    font-size: 3.8rem;
    font-weight: 900;
    color: var(--gold-bright);
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hex-text-small {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
}

/* ============================================= PAGE HERO (inner pages) */
.page-hero {
    background: linear-gradient(150deg, #0a3014 0%, #1a6b2a 55%, #22883a 100%);
    padding: 72px 24px 56px;
    text-align: center;
    border-bottom: 4px solid var(--gold);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 120%, rgba(201,148,10,0.12) 0%, transparent 55%);
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
}
.page-hero p {
    color: rgba(255,255,255,0.68);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
    font-weight: 300;
    position: relative;
}

/* ============================================= ADMIN */
.admin-layout {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    align-items: start;
}

.admin-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: sticky;
    top: 88px;
    box-shadow: var(--shadow-sm);
}

.admin-sidebar-header {
    background: var(--green);
    padding: 16px 20px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    text-transform: uppercase;
}

.admin-sidebar ul { list-style: none; padding: 10px 0; }
.admin-sidebar ul li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}
.admin-sidebar ul li a:hover,
.admin-sidebar ul li a.active {
    color: var(--green-dark);
    background: var(--green-glow);
    border-left-color: var(--green);
}

.admin-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.admin-panel-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-panel);
}

.admin-panel-header h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--green-dark);
}

.admin-panel-body { padding: 24px; }

/* ── Form ── */
.form-group { margin-bottom: 20px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--green-dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px var(--green-glow);
    background: #fff;
}

.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { background: #fff; }

.file-upload-area {
    border: 2px dashed var(--border-accent);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg);
}
.file-upload-area:hover,
.file-upload-area.drag-over {
    border-color: var(--green);
    background: var(--green-glow);
}
.file-upload-area p { color: var(--text-secondary); font-size: 0.9rem; margin-top: 8px; }
.upload-icon { font-size: 2rem; display: block; }

/* ── Table ── */
.data-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.data-table th {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--green-dark);
    padding: 10px 16px;
    text-align: left;
    border-bottom: 2px solid var(--border-accent);
    background: var(--bg-panel);
}
.data-table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
    vertical-align: middle;
}
.data-table tr:hover td { background: var(--green-glow); }
.data-table td:first-child { color: var(--text-primary); font-weight: 600; }

/* ── Alert ── */
.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border-left: 4px solid;
}
.alert-success { background: rgba(26,107,42,0.08); border-color: var(--green); color: var(--green-dark); }
.alert-error   { background: rgba(198,40,40,0.08); border-color: var(--danger); color: var(--danger); }

/* ============================================= EMPTY STATE */
.empty-state { text-align: center; padding: 80px 24px; }
.empty-state .empty-icon { font-size: 3rem; display: block; margin-bottom: 16px; }
.empty-state p { font-size: 1rem; color: var(--text-secondary); }

/* ============================================= FOOTER */
.footer {
    background: linear-gradient(160deg, #0a3014 0%, #1a6b2a 100%);
    border-top: 4px solid var(--gold);
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--gold-bright);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.footer-brand p { color: rgba(255,255,255,0.50); font-size: 0.88rem; line-height: 1.65; }

.footer-links h4,
.footer-info h4 {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-bright);
    margin-bottom: 16px;
}

.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links ul li a { color: rgba(255,255,255,0.50); font-size: 0.9rem; }
.footer-links ul li a:hover { color: var(--gold-bright); }

.footer-info p { color: rgba(255,255,255,0.50); font-size: 0.88rem; margin-bottom: 6px; }
.footer-tagline { margin-top: 16px; font-size: 0.82rem; color: var(--gold); font-style: italic; }

.footer-fb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    background: #1877f2;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.footer-fb-btn:hover {
    background: #1558b0;
    color: #fff;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.10);
    text-align: center;
    padding: 20px 24px;
    color: rgba(255,255,255,0.38);
    font-size: 0.8rem;
}

/* ============================================= EVENT STATUS */
.status-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    border-bottom: 1px solid var(--border);
    text-transform: uppercase;
}

.status-bar.upcoming { background: rgba(217,119,6,0.07);  color: var(--warning); }
.status-bar.ongoing  { background: rgba(26,107,42,0.09);  color: var(--green-dark); }
.status-bar.completed{ background: #f9fafb;                color: var(--text-dim); }
.status-bar.full     { background: rgba(198,40,40,0.07);  color: var(--danger); }

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.pulse-dot.green  { background: var(--green-bright); animation: pulse-green  1.6s infinite; }
.pulse-dot.yellow { background: var(--warning);       animation: pulse-yellow 2.0s infinite; }
.pulse-dot.gray   { background: var(--text-dim); }
.pulse-dot.red    { background: var(--danger); }

@keyframes pulse-green  { 0%,100%{box-shadow:0 0 0 0 rgba(42,171,72,0.55)} 50%{box-shadow:0 0 0 7px rgba(42,171,72,0)} }
@keyframes pulse-yellow { 0%,100%{box-shadow:0 0 0 0 rgba(217,119,6,0.50)} 50%{box-shadow:0 0 0 7px rgba(217,119,6,0)} }

.slots-bar-wrap { margin: 12px 0 4px; }
.slots-bar-track {
    height: 5px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 6px;
}
.slots-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--green);
    transition: width 0.4s;
}
.slots-bar-fill.warn { background: var(--warning); }
.slots-bar-fill.full { background: var(--danger); }

/* ============================================= MEDIA GALLERY */
.media-section { margin-top: 40px; }
.media-section-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--green-dark);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.media-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
}

.photo-thumb {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--border);
    cursor: pointer;
    position: relative;
    background: var(--bg-panel);
    transition: all 0.22s;
}
.photo-thumb:hover {
    border-color: var(--green);
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
}
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.2s; }
.photo-thumb:hover img { opacity: 0.86; }
.photo-thumb .thumb-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.72));
    color: #fff;
    font-size: 0.72rem;
    padding: 12px 8px 6px;
    opacity: 0;
    transition: opacity 0.2s;
}
.photo-thumb:hover .thumb-caption { opacity: 1; }

/* Lightbox */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.lightbox-overlay.open { display: flex; }

.lightbox-img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

.lightbox-caption {
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
    margin-top: 14px;
    text-align: center;
    max-width: 600px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26,107,42,0.25);
    border: 1px solid rgba(26,107,42,0.5);
    color: #fff;
    font-size: 1.4rem;
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    backdrop-filter: blur(4px);
}
.lightbox-nav:hover { background: rgba(26,107,42,0.55); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-close {
    position: absolute;
    top: 16px; right: 20px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.65);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.lightbox-close:hover { color: #fff; }

.lightbox-counter {
    position: absolute;
    bottom: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    letter-spacing: 2px;
}

/* Video list */
.video-list { display: flex; flex-direction: column; gap: 16px; }

.video-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.video-item video { width: 100%; display: block; max-height: 420px; background: #000; }
.video-item-caption {
    padding: 10px 14px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border);
    font-weight: 500;
}

/* Admin media grid */
.admin-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    padding: 16px;
}

.admin-media-item {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg);
}

.admin-media-item img  { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.admin-media-item video { width: 100%; aspect-ratio: 16/9; display: block; background: #000; }

.admin-media-item-info {
    padding: 8px 10px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-media-item-name {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-dim);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-media-del {
    display: block;
    width: 100%;
    padding: 6px;
    background: rgba(198,40,40,0.07);
    color: var(--danger);
    border: none;
    border-top: 1px solid var(--border);
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 600;
    transition: background 0.2s;
    text-align: center;
    text-decoration: none;
}
.admin-media-del:hover { background: rgba(198,40,40,0.20); color: var(--danger); }

.upload-progress { display: none; margin-top: 12px; }
.upload-progress.show { display: block; }
.upload-progress-bar  { height: 5px; background: var(--border); border-radius: 3px; overflow: hidden; }
.upload-progress-fill { height: 100%; background: var(--green); border-radius: 3px; transition: width 0.3s; }

/* ============================================= EVENT DETAIL */
.event-detail-layout {
    max-width: 1000px;
    margin: 0 auto;
    padding: 48px 24px;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}

.event-detail-img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 24px;
    display: block;
    box-shadow: var(--shadow-sm);
}

.event-detail-img-placeholder {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, var(--bg-panel), var(--green-light));
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--border-accent);
    margin-bottom: 24px;
}

.event-detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

.event-detail-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.event-detail-desc {
    color: var(--text-secondary);
    line-height: 1.85;
    font-size: 1rem;
    white-space: pre-line;
}

/* Registration sidebar */
.reg-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: sticky;
    top: 88px;
    box-shadow: var(--shadow-md);
}

.reg-sidebar-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-panel);
}

.reg-sidebar-header h3 { font-size: 0.88rem; font-weight: 700; color: var(--green-dark); }
.reg-sidebar-body { padding: 20px; }

.reg-closed {
    text-align: center;
    padding: 32px 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.reg-closed .reg-closed-icon { font-size: 2.5rem; display: block; margin-bottom: 12px; }

.reg-success { text-align: center; padding: 24px 20px; }
.reg-success .reg-success-icon { font-size: 2.5rem; display: block; margin-bottom: 10px; }
.reg-success h4 { color: var(--green); font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.reg-success p  { font-size: 0.85rem; color: var(--text-secondary); }

@media (max-width: 768px) {
    .event-detail-layout { grid-template-columns: 1fr; }
    .reg-sidebar { position: static; }
}

/* ============================================= MEMBERS */
.member-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.28s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px 24px;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.member-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.member-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-accent);
    margin-bottom: 16px;
    box-shadow: 0 0 0 4px var(--green-glow);
}

.member-photo-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-panel), var(--green-light));
    border: 3px solid var(--border-accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: var(--green);
}

.member-callsign {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--green-dark);
    letter-spacing: 0.5px;
    line-height: 1.1;
    margin-bottom: 4px;
}

.member-name {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.member-role {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--green-dark);
    background: var(--green-glow);
    border: 1px solid var(--border-accent);
    border-radius: 30px;
    padding: 4px 12px;
    margin-bottom: 12px;
    display: inline-block;
}

.member-bio {
    font-size: 0.87rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 16px;
}

.member-meta {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: auto;
}

.badge-active   { background: rgba(26,107,42,0.10); color: var(--green-dark); border: 1px solid var(--border-accent); }
.badge-inactive { background: #f3f4f6; color: var(--text-dim); border: 1px solid var(--border); }
.badge-alumni   { background: var(--gold-glow); color: var(--gold); border: 1px solid rgba(201,148,10,0.30); }

.member-join { font-size: 0.67rem; font-weight: 500; color: var(--text-dim); letter-spacing: 0.5px; }

/* filter tabs */
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; align-items: center; }

/* ============================================= AFFILIATIONS */
.affiliations-strip {
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 72px 24px;
}

.affiliations-inner { max-width: 1200px; margin: 0 auto; }

.affiliations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 0;
}

.affiliation-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    transition: all 0.28s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

.affiliation-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.affiliation-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--border);
    padding: 8px;
}

.affiliation-logo-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bg-panel), var(--green-light));
    border: 1px solid var(--border-accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.affiliation-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); line-height: 1.3; }
.affiliation-card p  { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.55; }

.affiliation-link {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--green);
    border: 1.5px solid var(--border-accent);
    border-radius: 30px;
    padding: 5px 14px;
    transition: all 0.2s;
    margin-top: auto;
}
.affiliation-link:hover {
    background: var(--green-glow);
    border-color: var(--green);
    color: var(--green-dark);
}

/* ============================================= SAFETY PAGE */
.safety-critical-strip {
    background: linear-gradient(90deg, #fff5f5, #fef2f2);
    border-top: 2px solid #fca5a5;
    border-bottom: 1px solid #fecaca;
    padding: 40px 24px;
}

.safety-critical-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 28px;
}

.safety-critical-header h2 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #b91c1c;
    margin: 0;
}

.safety-critical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
    max-width: 1200px;
    margin: 0 auto;
}

.safety-critical-card {
    background: rgba(254,202,202,0.35);
    border: 1px solid rgba(252,165,165,0.5);
    border-radius: var(--radius);
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.safety-critical-card .safety-card-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.safety-critical-title { font-size: 0.82rem; font-weight: 700; color: #b91c1c; margin-bottom: 4px; }
.safety-critical-excerpt { font-size: 0.8rem; color: #dc2626; opacity: 0.7; line-height: 1.4; }

.safety-main { padding: 60px 0 80px; }
.safety-main .container { max-width: 900px; margin: 0 auto; padding: 0 24px; }

.safety-category { margin-bottom: 56px; scroll-margin-top: 88px; }

.safety-category-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--border-accent);
}

.safety-category-icon { font-size: 1.8rem; line-height: 1; }

.safety-category-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--green-dark);
    margin: 0;
    flex: 1;
}

.safety-category-count {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-dim);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 3px 10px;
}

.safety-rules-list { display: flex; flex-direction: column; gap: 14px; }

.safety-rule {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.safety-rule:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-md);
}

.safety-rule.critical {
    border-left: 4px solid var(--danger);
    background: linear-gradient(90deg, rgba(198,40,40,0.04) 0%, var(--bg-card) 40%);
}

.safety-rule-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.safety-rule-icon { font-size: 1.3rem; line-height: 1; flex-shrink: 0; }
.safety-rule-title { font-size: 0.92rem; font-weight: 700; color: var(--text-primary); margin: 0; flex: 1; }

.safety-badge-critical {
    background: #fee2e2;
    color: #b91c1c;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 30px;
    flex-shrink: 0;
}

.safety-rule-content {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0;
    padding-left: 34px;
}

.safety-ack-box {
    margin-top: 60px;
    background: linear-gradient(145deg, var(--green), var(--green-mid));
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(201,148,10,0.35);
}

.safety-ack-icon { font-size: 2.2rem; color: var(--gold-bright); margin-bottom: 16px; }
.safety-ack-box h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.safety-ack-box p  { font-size: 0.9rem; color: rgba(255,255,255,0.72); line-height: 1.75; max-width: 600px; margin: 0 auto; }
.safety-ack-box div { justify-content: center; }

/* Media section on event detail */
.media-section {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.thumb-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: #fff;
    font-size: 0.72rem;
    padding: 16px 8px 6px;
    opacity: 0;
    transition: opacity 0.2s;
}
.photo-thumb:hover .thumb-caption { opacity: 1; }

/* Print */
@media print {
    .navbar, .safety-critical-strip, .safety-ack-box, footer { display: none !important; }
    .safety-main { padding: 0; }
    .safety-rule { border: 1px solid #ccc; break-inside: avoid; }
    .safety-rule.critical { border-left: 4px solid #c00; }
    body { background: #fff; color: #000; }
    .safety-category-header h2, .safety-rule-title { color: #000; }
    .safety-rule-content { color: #333; }
    .safety-badge-critical { background: #fee; color: #c00; border: 1px solid #c00; }
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--green);
    flex-shrink: 0;
    cursor: pointer;
}

/* ============================================= HOST BATCH */
.host-batch-section {
    background: var(--bg);
}

.host-batch-header {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 40px 48px 28px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.host-batch-label {
    flex-shrink: 0;
    text-align: center;
}

.host-batch-pill {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(201,148,10,0.10);
    border: 1.5px solid rgba(201,148,10,0.35);
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 8px;
}

.host-batch-year {
    font-family: 'Bebas Neue', 'Poppins', sans-serif;
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    font-weight: 400;
    letter-spacing: 4px;
    line-height: 1;
    white-space: nowrap;
    color: var(--gold-bright);
}

.host-batch-desc {
    font-size: 0.97rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 580px;
    border-left: 3px solid var(--green-bright);
    padding-left: 18px;
}
.host-batch-desc strong {
    color: var(--green-dark);
    font-weight: 700;
}

@media (max-width: 640px) {
    .host-batch-header { padding: 28px 20px 16px; flex-direction: column; align-items: flex-start; gap: 16px; }
    .host-batch-label { text-align: left; }
    .host-batch-desc { border-left: none; padding-left: 0; border-top: 3px solid var(--green-bright); padding-top: 14px; }
}

/* ============================================= FEATURED CAROUSEL */
.featured-carousel-wrap {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.featured-carousel {
    position: relative;
    overflow: hidden;
}

.featured-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-slide {
    min-width: 100%;
    display: flex;
    align-items: stretch;
    min-height: 340px;
    flex-shrink: 0;
}

.featured-slide-img {
    width: 42%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 340px;
}

.featured-slide-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 52px 56px;
    gap: 12px;
}

.featured-slide-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 30px;
    width: fit-content;
}

.featured-slide-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: 3px;
    color: #ffffff;
    line-height: 1.1;
    margin: 0;
}

.featured-slide-desc {
    font-size: 0.98rem;
    color: rgba(255,255,255,0.68);
    line-height: 1.72;
    max-width: 420px;
    font-weight: 300;
    margin: 0;
}

.featured-slide-btn {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    background: rgba(255,255,255,0.14);
    border: 1.5px solid rgba(255,255,255,0.35);
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    width: fit-content;
    transition: all 0.22s;
}
.featured-slide-btn:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.65);
    color: #fff;
    transform: translateX(4px);
}

/* Arrows */
.feat-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    backdrop-filter: blur(6px);
    padding: 0;
    line-height: 1;
    z-index: 10;
}
.feat-nav:hover { background: rgba(0,0,0,0.45); }
.feat-prev { left: 18px; }
.feat-next { right: 18px; }

/* Dots */
.feat-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 10;
}
.feat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.22s;
}
.feat-dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .featured-slide { flex-direction: column; min-height: auto; }
    .featured-slide-img { width: 100%; min-height: 160px; }
    .featured-slide-body { padding: 28px 24px; }
    .feat-prev { left: 8px; }
    .feat-next { right: 8px; }
}

/* ============================================= RECENT ACTIVITIES */

/* White header bar above the dark panel */
.act-section-header-bar {
    background: #fff;
    padding: 52px 48px 36px;
}
.act-section-header-bar .act-section-head {
    max-width: 1280px;
    margin: 0 auto;
}

/* Green — Recent Activities */
.act-header--green .act-title         { color: #0f4a1e; }
.act-header--green .act-eyebrow       { color: var(--green-bright); }
.act-header--green .act-view-all-btn  { color: #0f4a1e; border-color: #0f4a1e; }
.act-header--green .act-view-all-btn:hover { background: #0f4a1e; color: #fff; border-color: #0f4a1e; }

/* Navy — Upcoming Events */
.act-header--navy .act-title          { color: #0f2460; }
.act-header--navy .act-eyebrow        { color: #1a3a8f; }
.act-header--navy .act-view-all-btn   { color: #0f2460; border-color: #0f2460; }
.act-header--navy .act-view-all-btn:hover { background: #0f2460; color: #fff; border-color: #0f2460; }

/* Burgundy — Affiliations */
.act-header--burgundy .act-title         { color: #5a1030; }
.act-header--burgundy .act-eyebrow       { color: #7a1840; }
.act-header--burgundy .act-view-all-btn  { color: #5a1030; border-color: #5a1030; }
.act-header--burgundy .act-view-all-btn:hover { background: #5a1030; color: #fff; border-color: #5a1030; }

/* Dark panel base */
.act-section--dark {
    padding: 48px 48px 64px;
    max-width: 100%;
}

/* Green — Recent Activities */
.act-section--green {
    background: linear-gradient(150deg, #0a3014 0%, #1a6b2a 45%, #22883a 80%, #1a6b2a 100%);
}

/* Navy — Upcoming Events */
.act-section--navy {
    background: linear-gradient(150deg, #070e28 0%, #0f2460 45%, #1a3a8f 80%, #0f2460 100%);
}

/* Burgundy — Affiliations */
.act-section--burgundy {
    background: linear-gradient(150deg, #1e0610 0%, #5a1030 45%, #7a1840 80%, #5a1030 100%);
}

/* Make cards on dark bg look crisp */
.act-section--dark .act-card {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.act-section--dark .act-card:hover {
    background: rgba(255,255,255,0.11);
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.act-section--dark .act-card-title  { color: #fff; }
.act-section--dark .act-card-desc   { color: rgba(255,255,255,0.65); }
.act-section--dark .act-card-location { color: #a8e6b4; }
.act-section--dark .act-card-location:hover { color: #d4f0dc; }
.act-section--dark .act-card-footer { border-top-color: rgba(255,255,255,0.12); }
.act-section--dark .act-card-photos { color: rgba(255,255,255,0.45); }
.act-section--dark .act-card-readmore { color: var(--gold-bright); }
.act-section--dark .act-card-thumb-placeholder {
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 100%);
}
.act-section--dark .empty-state { color: rgba(255,255,255,0.6); }
.act-section--dark .empty-state a { color: var(--gold-bright); }
.act-section--dark .slots-bar-track { background: rgba(255,255,255,0.12); }
.act-section--dark .slots-bar-fill { background: var(--gold-bright); }
.act-section--dark .slots-bar-wrap div { color: rgba(255,255,255,0.5); }
.act-section--dark .ev-register-btn { background: var(--gold); color: #1a0e00; }
.act-section--dark .ev-register-btn:hover { background: var(--gold-bright); color: #1a0e00; }

.affiliation-card--dark {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.affiliation-card--dark:hover {
    background: rgba(255,255,255,0.11);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.affiliation-card--dark h3 { color: #fff; }
.affiliation-card--dark p  { color: rgba(255,255,255,0.6); }
.affiliation-card--dark .affiliation-logo-placeholder { color: rgba(255,255,255,0.3); }

.affiliation-link--dark {
    color: var(--gold-bright);
    border-color: rgba(240,180,41,0.35);
}
.affiliation-link--dark:hover {
    background: rgba(240,180,41,0.12);
    color: var(--gold-bright);
    border-color: var(--gold-bright);
}

.act-section {
    padding: 72px 48px;
    max-width: 1280px;
    margin: 0 auto;
}

.act-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.act-eyebrow {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--green-bright);
    margin-bottom: 8px;
}

.act-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 400;
    letter-spacing: 3px;
    color: var(--green-dark);
    line-height: 1;
    margin: 0;
}

.act-view-all-btn {
    flex-shrink: 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--green);
    text-decoration: none;
    border: 2px solid var(--green);
    padding: 9px 20px;
    border-radius: 8px;
    transition: all 0.2s;
    white-space: nowrap;
}
.act-view-all-btn:hover {
    background: var(--green);
    color: #fff;
}

/* Grid */
.act-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* First card spans 2 columns */
.act-card--featured {
    grid-column: span 2;
}

/* Card base */
.act-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.22s, box-shadow 0.22s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.act-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(26,107,42,0.12);
}

/* Thumbnail */
.act-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--green-light);
    flex-shrink: 0;
}
.act-card--featured .act-card-thumb {
    aspect-ratio: 16/7;
}
.act-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.act-card:hover .act-card-thumb img {
    transform: scale(1.04);
}
.act-card-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--green-light) 0%, #c8edd0 100%);
}

/* Date badge on thumb */
.act-card-date-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--green-dark);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    line-height: 1.3;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.act-card-date-badge em {
    display: block;
    font-style: normal;
    font-size: 0.65rem;
    font-weight: 400;
    opacity: 0.75;
}

/* Body */
.act-card-body {
    padding: 22px 24px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.act-card-location {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--green);
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: color 0.2s;
}
.act-card-location:hover { color: var(--green-dark); }

.act-card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.45rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: var(--green-dark);
    line-height: 1.15;
    margin: 0;
}
.act-card--featured .act-card-title {
    font-size: 1.9rem;
    letter-spacing: 2px;
}

.act-card-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.68;
    margin: 0;
    flex: 1;
}

.act-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.act-card-photos {
    font-size: 0.73rem;
    color: var(--text-dim);
    font-weight: 500;
}

.act-card-readmore {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--green);
    letter-spacing: 0.3px;
}

@media (max-width: 900px) {
    .act-section { padding: 48px 24px; }
    .act-grid { grid-template-columns: repeat(2, 1fr); }
    .act-card--featured { grid-column: span 2; }
}

@media (max-width: 600px) {
    .act-grid { grid-template-columns: 1fr; }
    .act-card--featured { grid-column: span 1; }
}

/* ============================================= REGISTRATION MODAL */
.reg-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 30, 14, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.reg-modal-overlay.active {
    display: flex;
}

.reg-modal {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(0,0,0,0.22);
    animation: modalIn 0.28s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.92) translateY(20px); }
    to   { opacity: 1; transform: scale(1)    translateY(0); }
}

.reg-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 28px 32px 20px;
    border-bottom: 1px solid var(--border);
    gap: 12px;
    position: sticky;
    top: 0;
    background: #fff;
    border-radius: 20px 20px 0 0;
    z-index: 1;
}

.reg-modal-eyebrow {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--green-bright);
    margin: 0 0 5px;
}

.reg-modal-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--green-dark);
    margin: 0;
    line-height: 1;
}

.reg-modal-close {
    background: var(--green-light);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}
.reg-modal-close:hover { background: var(--green-bright); color: #fff; }

#regForm {
    padding: 24px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.reg-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.reg-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.reg-form-group label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--green-dark);
}

.reg-req { color: #e53935; }

.reg-note {
    font-size: 0.68rem;
    font-weight: 400;
    color: var(--text-dim);
    text-transform: none;
    letter-spacing: 0;
}

.reg-form-group input,
.reg-form-group select {
    width: 100%;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 11px 14px;
    font-family: var(--font);
    font-size: 0.92rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.reg-form-group input:focus,
.reg-form-group select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(26,107,42,0.1);
    background: #fff;
}

.reg-error-box {
    background: rgba(229,57,53,0.07);
    border: 1px solid rgba(229,57,53,0.3);
    color: #c62828;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.reg-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.reg-submit-btn {
    flex: 1;
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 13px 20px;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.reg-submit-btn:hover:not(:disabled) { background: var(--green-mid); }
.reg-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.reg-cancel-btn {
    background: var(--bg);
    color: var(--text-secondary);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 13px 20px;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s;
}
.reg-cancel-btn:hover { border-color: var(--green); color: var(--green); }

@media (max-width: 560px) {
    .reg-modal { border-radius: 16px 16px 0 0; max-height: 95vh; margin-top: auto; }
    .reg-modal-overlay { align-items: flex-end; padding: 0; }
    .reg-form-row { grid-template-columns: 1fr; }
    .reg-modal-head, #regForm { padding-left: 20px; padding-right: 20px; }
}

/* ============================================= EVENT CARD EXTRAS */
.ev-status-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.ev-badge-live  { background: rgba(0,0,0,0.55); color: #4caf50; border: 1px solid rgba(76,175,80,0.4); }
.ev-badge-full  { background: rgba(0,0,0,0.55); color: #ef5350; border: 1px solid rgba(239,83,80,0.4); }
.ev-badge-open  { background: rgba(0,0,0,0.55); color: #f0b429; border: 1px solid rgba(240,180,41,0.4); }

.ev-register-btn {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: var(--green);
    padding: 7px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}
.ev-register-btn:hover { background: var(--green-mid); color: #fff; }

/* ============================================= OFFICERS PAGE */
.officers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 28px;
}

.officer-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.22s, box-shadow 0.22s, background 0.22s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.officer-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}

.officer-photo-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
}
.officer-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.officer-card:hover .officer-photo { transform: scale(1.05); }

.officer-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255,255,255,0.2);
}

.officer-info {
    padding: 20px 18px 24px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.officer-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 1.5px;
    color: #fff;
    line-height: 1.1;
}

.officer-role {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-bright);
}

.officer-assoc-year {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #1a0e00;
    background: var(--gold-bright);
    padding: 3px 10px;
    border-radius: 20px;
    margin: 2px auto 0;
}

.officer-batch {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.officer-occupation {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    margin-top: 2px;
}

.officer-bio {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.65;
    margin: 8px 0 0;
}

@media (max-width: 640px) {
    .officers-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 380px) {
    .officers-grid { grid-template-columns: 1fr; }
}

/* ============================================= CHATBOT */
.gaa-chat {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* Bubble button */
.gaa-chat-bubble {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a6b2a, #22883a);
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(26,107,42,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.gaa-chat-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 32px rgba(26,107,42,0.55);
}

.gaa-chat-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #e53935;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}
.gaa-chat-badge { display: flex; }

/* Chat window */
.gaa-chat-window {
    width: 340px;
    max-height: 520px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px) scale(0.96);
    transform-origin: bottom right;
    transition: opacity 0.25s, transform 0.25s;
}
.gaa-chat-window.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
}

/* Header */
.gaa-chat-head {
    background: linear-gradient(135deg, #0a3014, #1a6b2a);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.gaa-chat-head-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.35);
    flex-shrink: 0;
}
.gaa-chat-head-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gaa-chat-head-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}
.gaa-chat-head-status {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 5px;
}
.gaa-online-dot {
    width: 7px;
    height: 7px;
    background: #4cff72;
    border-radius: 50%;
    display: inline-block;
    animation: gaa-pulse 1.8s infinite;
}
@keyframes gaa-pulse {
    0%,100% { opacity: 1; }
    50%      { opacity: 0.4; }
}
.gaa-chat-head-close {
    margin-left: auto;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}
.gaa-chat-head-close:hover { background: rgba(255,255,255,0.28); }

/* Messages */
.gaa-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f6fbf7;
    scroll-behavior: smooth;
}
.gaa-msg { display: flex; }
.gaa-msg--bot  { justify-content: flex-start; }
.gaa-msg--user { justify-content: flex-end; }

.gaa-bubble {
    max-width: 82%;
    padding: 10px 13px;
    border-radius: 16px;
    font-size: 0.85rem;
    line-height: 1.55;
}
.gaa-msg--bot  .gaa-bubble {
    background: #fff;
    color: #1a2e1c;
    border: 1px solid #ddeee0;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.gaa-msg--user .gaa-bubble {
    background: linear-gradient(135deg, #1a6b2a, #22883a);
    color: #fff;
    border-bottom-right-radius: 4px;
}

/* Typing indicator */
.gaa-typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
}
.gaa-typing span {
    width: 7px;
    height: 7px;
    background: #aac8ae;
    border-radius: 50%;
    animation: gaa-bounce 1.2s infinite;
}
.gaa-typing span:nth-child(2) { animation-delay: 0.2s; }
.gaa-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes gaa-bounce {
    0%,80%,100% { transform: translateY(0); }
    40%          { transform: translateY(-6px); }
}

/* Quick replies */
.gaa-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 14px 4px;
    background: #f6fbf7;
    flex-shrink: 0;
}
.gaa-qr-btn {
    font-family: var(--font);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--green-dark);
    background: #fff;
    border: 1.5px solid #b8ddc0;
    border-radius: 20px;
    padding: 5px 12px;
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
}
.gaa-qr-btn:hover {
    background: var(--green-dark);
    color: #fff;
    border-color: var(--green-dark);
}

/* Input row */
.gaa-chat-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid #e0ede3;
    background: #fff;
    flex-shrink: 0;
}
.gaa-chat-input {
    flex: 1;
    border: 1.5px solid #d4e8d8;
    border-radius: 22px;
    padding: 9px 14px;
    font-family: var(--font);
    font-size: 0.85rem;
    outline: none;
    background: #f6fbf7;
    color: var(--text);
    transition: border-color 0.2s;
}
.gaa-chat-input:focus { border-color: var(--green); background: #fff; }
.gaa-chat-send {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--green);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}
.gaa-chat-send:hover { background: var(--green-mid); }

@media (max-width: 420px) {
    .gaa-chat { bottom: 16px; right: 14px; }
    .gaa-chat-window { width: calc(100vw - 28px); }
}

/* ============================================= BATCH CAROUSEL */
.batch-carousel {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
    min-height: 160px;
}

.batch-carousel-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.batch-slide {
    min-width: 100%;
    padding: 28px 70px;
    flex-shrink: 0;
}

.batch-slide-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.batch-year-block {
    text-align: center;
    flex-shrink: 0;
    min-width: 120px;
}

.batch-year-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.batch-year-num {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--gold-bright);
    line-height: 1;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.batch-alumni-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    margin-top: 4px;
}

.batch-members-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
    align-items: center;
}

.batch-member-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 30px;
    padding: 6px 14px 6px 6px;
    backdrop-filter: blur(4px);
}

.batch-member-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    overflow: hidden;
    flex-shrink: 0;
    border: 1.5px solid rgba(255,255,255,0.25);
}

.batch-member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.batch-member-info { line-height: 1.25; }

.batch-member-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.batch-member-role {
    font-size: 0.62rem;
    color: rgba(255,255,255,0.55);
    white-space: nowrap;
}

.batch-more {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    padding: 4px 10px;
}

/* Carousel nav buttons */
.batch-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    padding: 0;
}
.batch-nav:hover { background: rgba(255,255,255,0.28); }
.batch-prev { left: 14px; }
.batch-next { right: 14px; }

/* Dots */
.batch-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.batch-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.30);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
}
.batch-dot.active {
    background: var(--gold-bright);
    width: 20px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .batch-slide { padding: 20px 48px; }
    .batch-slide-inner { flex-direction: column; gap: 16px; text-align: center; }
    .batch-year-num { font-size: 2.4rem; }
    .batch-members-list { justify-content: center; }
}

/* ============================================= UTILITIES */
.text-center { text-align: center; }
.mt-24       { margin-top: 24px; }
.mb-24       { margin-bottom: 24px; }
.mono        { font-weight: 600; }
.view-all    { text-align: center; margin-top: 40px; }

/* ============================================= RESPONSIVE */

/* ── Tablet (≤900px) ── */
@media (max-width: 900px) {
    .section { padding: 60px 20px; }
    .cards-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
    .about-strip-inner { gap: 40px; }
    .safety-critical-grid { grid-template-columns: 1fr 1fr; }
    .admin-layout { grid-template-columns: 200px 1fr; gap: 16px; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {

    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0; right: 0;
        background: rgba(255,255,255,0.98);
        border-bottom: 2px solid var(--border-accent);
        flex-direction: column;
        padding: 12px 16px 20px;
        gap: 2px;
        z-index: 999;
        box-shadow: 0 8px 24px rgba(26,107,42,0.12);
        backdrop-filter: blur(12px);
    }
    .nav-links.open { display: flex; }
    .nav-links li   { width: 100%; }
    .nav-links a    { display: block; padding: 12px 16px; font-size: 0.85rem; }
    .nav-logo-img   { width: 36px; height: 36px; }
    .logo-sub       { display: none; }

    .hero { min-height: 100svh; padding: 20px 0; }
    .hero-content { padding: 24px 20px; }
    .hero-logo    { width: 108px; height: 108px; margin-bottom: 14px; }
    .hero-tag     { font-size: 0.62rem; letter-spacing: 1.5px; }
    .hero-desc    { font-size: 0.95rem; margin-bottom: 32px; }
    .hero-stats   { gap: 24px; margin-bottom: 36px; }
    .stat-num     { font-size: 1.9rem; }
    .hero-btns    { flex-direction: column; align-items: center; gap: 10px; }
    .hero-btns .btn { width: 100%; max-width: 280px; justify-content: center; }

    .section { padding: 40px 16px; }
    .section-header { margin-bottom: 28px; }
    .section-title  { font-size: clamp(1.4rem, 6vw, 2rem); }
    .page-hero      { padding: 40px 16px 32px !important; }
    .page-hero h1   { font-size: clamp(1.6rem, 7vw, 2.5rem); }

    .cards-grid { grid-template-columns: 1fr; gap: 14px; }

    .about-strip { padding: 40px 16px; }
    .about-strip-inner { grid-template-columns: 1fr; gap: 32px; }
    .about-visual  { display: none; }
    .about-features { grid-template-columns: 1fr 1fr; gap: 12px; }

    .status-bar { font-size: 0.7rem; padding: 8px 14px; flex-wrap: wrap; gap: 4px; text-align: center; justify-content: center; }

    .event-detail-layout { grid-template-columns: 1fr; padding: 24px 16px; }
    .reg-sidebar         { position: static; }
    .event-detail-img    { max-height: 220px; }
    .slots-bar-wrap      { margin: 12px 0; }

    .photo-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 6px; }

    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-nav  { font-size: 2rem; padding: 6px 10px; }
    .lightbox-img  { max-height: 70vh; }

    .form-row { grid-template-columns: 1fr; gap: 0; }

    .btn    { padding: 12px 20px; }
    .btn-sm { padding: 6px 12px; font-size: 0.68rem; }

    .admin-layout { grid-template-columns: 1fr; gap: 0; margin: 0; padding: 0; }
    .admin-sidebar {
        position: static;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-top: none;
        overflow: hidden;
    }
    .admin-sidebar-header { cursor: pointer; user-select: none; }
    .admin-sidebar-header::after { content: ' ▾'; float: right; }
    .admin-sidebar ul         { display: none; }
    .admin-sidebar.open ul    { display: block; }
    .admin-panel-header       { flex-wrap: wrap; gap: 8px; padding: 12px 14px; }
    .admin-panel-header h2    { font-size: 0.85rem; }
    .admin-main               { padding: 12px; }
    .admin-panel              { border-radius: 8px; margin-bottom: 12px; }
    .admin-panel-body         { padding: 14px; }

    .admin-stats-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 8px !important; margin-bottom: 12px !important; }
    .admin-stats-grid > div { padding: 12px 6px !important; }
    .admin-stats-grid > div > div:first-child   { font-size: 1.3rem !important; margin-bottom: 4px !important; }
    .admin-stats-grid > div > div:nth-child(2)  { font-size: 1.5rem !important; }
    .admin-stats-grid > div > div:nth-child(3)  { font-size: 0.58rem !important; letter-spacing: 0 !important; }

    .quick-actions-body .btn { font-size: 0.68rem !important; padding: 8px 10px !important; }

    .data-table-wrap { margin: 0 -14px; }
    .data-table th, .data-table td { padding: 10px; font-size: 0.78rem; }

    .safety-critical-strip    { padding: 28px 16px; }
    .safety-critical-grid     { grid-template-columns: 1fr; gap: 10px; }
    .safety-critical-header h2{ font-size: 0.85rem; letter-spacing: 1px; }
    .safety-main              { padding: 32px 0 48px; }
    .safety-main .container   { padding: 0 16px; }
    .safety-category          { margin-bottom: 36px; }
    .safety-category-header h2{ font-size: 0.95rem; }
    .safety-rule              { padding: 14px 16px; }
    .safety-rule-content      { padding-left: 0; margin-top: 8px; }
    .safety-ack-box           { padding: 28px 16px; }

    .member-filters  { overflow-x: auto; white-space: nowrap; padding-bottom: 4px; justify-content: flex-start; }
    .member-grid     { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
    .member-card     { padding: 20px 16px 16px; }
    .member-photo    { width: 72px; height: 72px; }

    .footer-container { grid-template-columns: 1fr; gap: 24px; text-align: center; padding: 32px 20px; }
    .footer-links ul  { padding: 0; }

    .affiliation-card { padding: 20px 16px; }

    .file-upload-area { min-height: 80px; padding: 20px 16px; }
}

/* ── Small phones (≤420px) ── */
@media (max-width: 420px) {
    .hero-logo      { width: 84px; height: 84px; }
    .about-features { grid-template-columns: 1fr; }
    .member-grid    { grid-template-columns: 1fr 1fr; }
    .photo-grid     { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
    .logo-text      { font-size: 0.9rem; }
}
