/* ═══════════════════════════════════════════════════════
   ASOT — African Society of Organ Transplantation
   Premium Design System
   ═══════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ──────────────────────────── */
:root {
    /* African-Inspired Palette */
    --burgundy: #7B2D26;
    --burgundy-light: #9E3D34;
    --burgundy-dark: #5A1F1A;
    --gold: #D4A853;
    --gold-light: #E4C478;
    --gold-dark: #B8903D;
    --dark: #2C1810;
    --dark-soft: #3D261A;
    --cream: #FFF8F0;
    --cream-dark: #F5EDE0;
    --white: #FFFFFF;
    --text-primary: #2C1810;
    --text-secondary: #5A4A3A;
    --text-muted: #8A7A6A;
    --text-light: #C5B8AA;

    /* Glassmorphism */
    --glass-bg: rgba(255, 248, 240, 0.65);
    --glass-border: rgba(212, 168, 83, 0.25);
    --glass-shadow: 0 8px 32px rgba(44, 24, 16, 0.12);
    --glass-blur: 16px;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1200px;
    --container-padding: 0 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Navbar */
    --navbar-height: 72px;
}

/* ─── Reset & Base ──────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ─── Utility Classes ────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--container-padding);
}

.text-gold {
    color: var(--gold);
}

/* ─── Section Base ───────────────────────────────────── */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section--alt {
    background-color: var(--cream-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 12px;
    position: relative;
    padding: 0 20px;
}

.section-label::before,
.section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--gold);
}

.section-label::before { left: -20px; }
.section-label::after { right: -20px; }

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 8px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--burgundy), var(--gold));
    margin: 16px auto 0;
    border-radius: 3px;
}

/* ─── Scroll Animations ─────────────────────────────── */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

/* ─── Glass Card ─────────────────────────────────────── */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    transition: transform var(--transition-base),
                box-shadow var(--transition-base);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(44, 24, 16, 0.18);
}

/* ─── Buttons ────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    color: var(--white);
    border: 2px solid #c49a46;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--burgundy-light), var(--gold));
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(123, 45, 38, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.btn-glow {
    animation: btnGlow 3s ease-in-out infinite;
}

@keyframes btnGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 168, 83, 0.2); }
    50% { box-shadow: 0 0 40px rgba(212, 168, 83, 0.45); }
}

.btn-icon {
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* ═══════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    z-index: 1000;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(44, 24, 16, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.nav-logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transition: transform var(--transition-fast);
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.08);
}

.nav-logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all var(--transition-base);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--white);
}

.nav-link:hover::after {
    width: 60%;
}

.nav-link--cta {
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    color: var(--white) !important;
    border-radius: 50px;
    padding: 8px 20px;
    margin-left: 8px;
}

.nav-link--cta::after { display: none; }

.nav-link--cta:hover {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(212, 168, 83, 0.3);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    padding: 8px;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(160deg, var(--dark) 0%, var(--burgundy-dark) 40%, var(--burgundy) 70%, var(--dark-soft) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(212, 168, 83, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(123, 45, 38, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(44, 24, 16, 0.3) 0%, transparent 60%);
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translateY(-20vh) scale(1);
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 24px;
    max-width: 800px;
}

.hero-logo-wrapper {
    margin-bottom: 32px;
}

.hero-logo {
    width: 160px;
    height: 160px;
    object-fit: contain;
    margin: 0 auto;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
    animation: heroLogoFloat 6s ease-in-out infinite;
}

@keyframes heroLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-divider::before,
.hero-divider::after {
    content: '';
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.hero-divider::after {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-divider-diamond {
    color: var(--gold);
    font-size: 0.6rem;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.hero-congress-info {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.hero-scroll-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ═══════════════════════════════════════════════════════
   ABOUT — Tabs
   ═══════════════════════════════════════════════════════ */
.about-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.tab-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--cream-dark);
    border: 2px solid transparent;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    color: var(--burgundy);
    border-color: var(--gold);
    background: var(--white);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    color: var(--white);
    border-color: var(--burgundy);
    box-shadow: 0 4px 20px rgba(123, 45, 38, 0.3);
}

.tab-icon {
    font-size: 1.1rem;
}

.tab-content-wrapper {
    position: relative;
    min-height: 300px;
}

.tab-content {
    display: none;
    animation: tabFadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

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

.tab-inner {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 4px 24px rgba(44, 24, 16, 0.06);
    border: 1px solid rgba(212, 168, 83, 0.15);
}

.tab-text h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--burgundy);
    margin-bottom: 20px;
}

.tab-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.tab-text p:last-child {
    margin-bottom: 0;
}

.tab-author {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 168, 83, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
}

.tab-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--burgundy), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.tab-author-name {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.tab-author-title {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.mission-points {
    list-style: none;
    margin-top: 20px;
}

.mission-points li {
    padding: 10px 0 10px 32px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.7;
    border-bottom: 1px solid rgba(212, 168, 83, 0.1);
}

.mission-points li:last-child {
    border-bottom: none;
}

.mission-points li::before {
    content: '◆';
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--gold);
    font-size: 0.55rem;
}

/* ═══════════════════════════════════════════════════════
   BOARD
   ═══════════════════════════════════════════════════════ */
.board-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.board-card {
    padding: 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.board-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--burgundy), var(--gold));
}

.board-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.4rem;
}

.board-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.board-card p {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════
   COMING SOON
   ═══════════════════════════════════════════════════════ */
.coming-soon {
    text-align: center;
    padding: 60px 20px;
}

.coming-soon-icon {
    color: var(--gold);
    margin-bottom: 20px;
    animation: clockPulse 3s ease-in-out infinite;
}

@keyframes clockPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.08); opacity: 1; }
}

.coming-soon-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.coming-soon-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Compact variant */
.coming-soon--compact {
    padding: 24px 16px;
}

.coming-soon--compact .coming-soon-icon {
    margin-bottom: 12px;
}

.coming-soon--compact .coming-soon-text {
    font-size: 0.88rem;
}

/* ═══════════════════════════════════════════════════════
   ACTIVITIES & MEMBERSHIP
   ═══════════════════════════════════════════════════════ */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    max-width: 800px;
    margin: 0 auto;
}

.activity-card {
    padding: 40px 32px;
    text-align: center;
}

.activity-card-icon {
    color: var(--burgundy);
    margin-bottom: 20px;
    transition: transform var(--transition-base);
}

.activity-card:hover .activity-card-icon {
    transform: scale(1.12);
}

.activity-card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════════════
   BYLAWS — Accordion
   ═══════════════════════════════════════════════════════ */
.bylaws-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.accordion {
    max-width: 800px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-item {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid rgba(212, 168, 83, 0.15);
    overflow: hidden;
    transition: box-shadow var(--transition-base);
}

.accordion-item:hover {
    box-shadow: 0 4px 20px rgba(44, 24, 16, 0.08);
}

.accordion-item.active {
    border-color: var(--gold);
    box-shadow: 0 4px 24px rgba(212, 168, 83, 0.15);
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    text-align: left;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.accordion-header:hover {
    background: rgba(212, 168, 83, 0.06);
}

.accordion-item.active .accordion-header {
    color: var(--burgundy);
    background: rgba(212, 168, 83, 0.08);
}

.accordion-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--cream-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-base);
    font-size: 1.2rem;
    color: var(--text-muted);
}

.accordion-item.active .accordion-icon {
    background: var(--burgundy);
    color: var(--white);
    transform: rotate(45deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-body-inner {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
    white-space: pre-line;
}

/* Bylaws amendment */
.bylaws-amendment {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid rgba(212, 168, 83, 0.15);
    padding: 20px 24px;
}

.bylaws-amendment-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 8px;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════
   EVENTS
   ═══════════════════════════════════════════════════════ */
.events-grid {
    display: grid;
    gap: 32px;
}

.event-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 4px 24px rgba(44, 24, 16, 0.08);
    border: 1px solid rgba(212, 168, 83, 0.1);
    transition: all var(--transition-base);
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(44, 24, 16, 0.15);
}

.event-card--featured {
    border: 2px solid var(--gold);
    position: relative;
}

.event-card--featured::before {
    content: '★ Featured Event';
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 2;
    text-transform: uppercase;
}

.event-card-image {
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.event-card:hover .event-card-image img {
    transform: scale(1.05);
}

.event-card-body {
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-card-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    width: fit-content;
}

.event-card-status--upcoming {
    background: rgba(76, 175, 80, 0.12);
    color: #2E7D32;
}

.event-card-status--past {
    background: rgba(158, 158, 158, 0.12);
    color: #757575;
}

.event-card-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.event-card-status--upcoming .event-card-status-dot {
    animation: dotPulse 1.5s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.event-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.event-card--featured .event-card-title {
    font-size: 1.6rem;
    color: var(--burgundy);
}

.event-card-subtitle {
    font-style: italic;
    color: var(--gold-dark);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.event-card-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.event-card-meta span {
    font-size: 0.88rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-card-meta svg {
    flex-shrink: 0;
}

.event-card-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ── Past Events Accordion ───────────────────────────── */
.events-upcoming {
    margin-bottom: 40px;
}

.events-past-wrapper {
    margin-top: 20px;
}

.events-past-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    background: var(--white);
    border: 1px solid rgba(212, 168, 83, 0.2);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.events-past-toggle:hover {
    border-color: var(--gold);
    background: rgba(212, 168, 83, 0.04);
    color: var(--dark);
    box-shadow: 0 4px 20px rgba(44, 24, 16, 0.06);
}

.events-past-toggle.active {
    border-color: var(--gold);
    color: var(--burgundy);
    background: rgba(212, 168, 83, 0.06);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.events-past-toggle-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.events-past-toggle-text svg {
    color: var(--gold-dark);
}

.events-past-toggle-icon {
    font-size: 1rem;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-muted);
}

.events-past-toggle.active .events-past-toggle-icon {
    transform: rotate(90deg);
    color: var(--burgundy);
}

.events-past-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.events-past-body .events-grid {
    padding-top: 24px;
}

/* ═══════════════════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════════════════ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    group: true;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 24, 16, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-base);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-caption {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.4;
}

.gallery-item-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-base);
}

.gallery-item:hover .gallery-item-zoom {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ═══════════════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════════════ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform var(--transition-smooth);
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

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

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 2001;
    backdrop-filter: blur(4px);
}

.lightbox-close {
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-close:hover {
    transform: scale(1.1);
}

/* ═══════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info-card {
    padding: 36px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(212, 168, 83, 0.12);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
}

.contact-item-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item-value {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

a.contact-item-value:hover {
    color: var(--burgundy);
}

/* Form */
.contact-form {
    padding: 36px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(212, 168, 83, 0.2);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--dark);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input::placeholder {
    color: var(--text-light);
}

.form-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 168, 83, 0.12);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    margin-top: 16px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-status--success {
    color: #2E7D32;
}

.form-status--error {
    color: var(--burgundy);
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 16px;
    filter: brightness(1.1);
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.4;
}

.footer-brand-tagline {
    font-size: 0.85rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.footer-reg {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.footer-link-list li {
    margin-bottom: 10px;
}

.footer-link-list a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-link-list a:hover {
    color: var(--gold);
    padding-left: 6px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.88rem;
}

.footer-contact-list svg {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact-list a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.footer-contact-list a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 992px) {
    :root {
        --section-padding: 80px 0;
    }

    .event-card {
        grid-template-columns: 1fr;
    }

    .event-card-image {
        min-height: 220px;
        max-height: 300px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

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

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 64px 0;
        --navbar-height: 64px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(44, 24, 16, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 90px 32px 32px;
        gap: 4px;
        transition: right var(--transition-smooth);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1rem;
        padding: 12px 16px;
        width: 100%;
        border-radius: var(--radius-sm);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.06);
    }

    .nav-link--cta {
        margin-left: 0;
        margin-top: 12px;
        text-align: center;
    }

    .hero-logo {
        width: 120px;
        height: 120px;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    .tab-inner {
        padding: 28px 20px;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

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

    .board-grid {
        grid-template-columns: 1fr;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .event-card-body {
        padding: 24px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .contact-info-card,
    .contact-form {
        padding: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .tab-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .tab-btn {
        justify-content: center;
    }
}

/* ─── Accessibility ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* Focus visible */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* ─── Print Styles ───────────────────────────────────── */
@media print {
    .navbar,
    .hero-scroll-indicator,
    .lightbox,
    .hamburger {
        display: none !important;
    }

    .section {
        padding: 30px 0;
    }

    body {
        background: white;
        color: black;
    }
}
