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

:root {
    /* Brand Colors */
    --aur-gold: #ffca08;
    --aur-gold-dark: #dca700;
    --aur-gold-light: #ffe566;
    --aur-gold-glow: rgba(255, 202, 8, 0.25);
    
    /* Dashboard Specific & Additional Brand Colors */
    --aur-blue: #0b306b;
    --aur-blue-dark: #0a2656;
    --aur-yellow: #ffca08;
    
    /* Institutional Dark Palette */
    --color-charcoal: #111111;
    --color-dark-gray: #1a1a1c;
    --color-card-bg: #222224;
    --color-border-dark: #2d2d30;
    
    /* Neutral Light Palette */
    --bg-light: #f8f9fa;
    --bg-gray: #f3f4f6;
    --bg-white: #ffffff;
    --bg-main: #f4f6fa;
    --border-light: #e5e7eb;
    --text-dark: #111827;
    --text-muted: #6b7280;
    --text-gray: #6b7280;
    --text-light: #ffffff;
    --text-light-muted: rgba(255, 255, 255, 0.7);

    /* Shadows & Animations */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.15), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-glow: 0 0 15px var(--aur-gold-glow);
    
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 8px;
}

[data-theme="dark"] {
    --bg-light: #121212;
    --bg-gray: #1e1e1e;
    --bg-white: #2a2a2a;
    --bg-main: #0f172a;
    --border-light: #333333;
    --text-dark: #f8f9fa;
    --text-muted: #9ca3af;
    --text-gray: #9ca3af;
    --color-charcoal: #f8f9fa; /* Reverse contrast for light components in dark mode */
    --aur-blue: #60a5fa; /* Readable light blue in dark mode */
    --aur-blue-dark: #3b82f6;
}

/* GLOBAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--color-charcoal);
    font-weight: 800;
    line-height: 1.2;
}

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

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

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.75rem 1.75rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-primary {
    background-color: var(--aur-gold);
    color: #111111 !important; /* Always dark text for high contrast on gold background */
    border-color: var(--aur-gold);
}

.btn-primary:hover {
    background-color: var(--aur-gold-light);
    border-color: var(--aur-gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background-color: var(--color-charcoal);
    color: var(--text-light) !important;
    border-color: var(--color-charcoal);
}

.btn-secondary:hover {
    background-color: #222;
    border-color: #222;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-charcoal) !important;
    border-color: var(--aur-gold);
}

.btn-outline:hover {
    background-color: var(--aur-gold);
    color: var(--color-charcoal) !important;
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--text-light) !important;
    border-color: var(--text-light);
}

.btn-outline-white:hover {
    background-color: var(--text-light);
    color: var(--color-charcoal) !important;
}

/* TABLES */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    color: var(--color-charcoal);
}

.table th, .table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.table th {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.table tr:hover td {
    background-color: rgba(0, 0, 0, 0.02);
}

/* TOP UTILITY BAR */
.top-bar {
    background-color: #0c0c0e;
    color: var(--text-light-muted);
    font-size: 0.8rem;
    padding: 0.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-info {
    display: flex;
    gap: 1.5rem;
}

.top-bar-info a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-info a:hover {
    color: var(--aur-gold);
}

.top-bar-socials {
    display: flex;
    gap: 1rem;
}

.top-bar-socials a:hover {
    color: var(--aur-gold);
}

/* STICKY GLASSMORPHIC HEADER */
.header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    background: rgba(17, 17, 17, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--aur-gold);
    box-shadow: var(--shadow-lg);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    color: var(--text-light);
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

.nav-brand span {
    color: var(--aur-gold);
}

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

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-light-muted);
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover, .nav-item.active .nav-link {
    color: var(--text-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--aur-gold);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-item.active .nav-link::after {
    width: 100%;
}

/* MEGA MENU / DROPDOWN SYSTEM */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #1c1c1e;
    border-top: 3px solid var(--aur-gold);
    min-width: 220px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-xl);
    border-radius: 0 0 6px 6px;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    color: var(--text-light-muted);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.05);
    padding-left: 1.75rem;
}

/* DYNAMIC HERO SLIDER */
.hero-slider {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
    background: #000;
    border-bottom: 6px solid var(--aur-gold);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 30%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    color: var(--text-light);
    transform: translateY(30px);
    transition: transform 0.8s ease-in-out;
}

.slide.active .slide-content {
    transform: translateY(0);
}

.slide-content h2 {
    font-size: 3.5rem;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.slide-content h2 span {
    color: var(--aur-gold);
}

.slide-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-light-muted);
}

/* SLIDER CONTROLS */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.slider-arrow:hover {
    background: var(--aur-gold);
    color: var(--color-charcoal);
}

.slider-arrow-prev {
    left: 2%;
}

.slider-arrow-next {
    right: 2%;
}

.slider-dots {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dot.active {
    background: var(--aur-gold);
    transform: scale(1.2);
}

/* PILLARS SECTION */
.section-padding {
    padding: 6rem 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--aur-gold);
    margin: 12px auto 0;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pillar-card {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    border-bottom: 4px solid transparent;
    transition: var(--transition-slow);
}

.pillar-card:hover {
    transform: translateY(-8px);
    border-bottom-color: var(--aur-gold);
    box-shadow: var(--shadow-xl);
}

.pillar-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--color-charcoal);
    color: var(--aur-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
}

.pillar-card h3 {
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.pillar-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* STATISTICS COUNTER BAND */
.stats-band {
    background-color: var(--color-charcoal);
    color: var(--text-light);
    padding: 4rem 5%;
    border-top: 4px solid var(--aur-gold);
    border-bottom: 4px solid var(--aur-gold);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--aur-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--text-light-muted);
    font-weight: 600;
}

/* LEADERSHIP GRID */
.leaders-section {
    background-color: var(--bg-gray);
}

.leaders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.leader-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
}

.leader-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.leader-photo-wrapper {
    height: 320px;
    overflow: hidden;
    position: relative;
    background: var(--color-charcoal);
}

.leader-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.leader-card:hover .leader-photo {
    transform: scale(1.08);
}

.leader-info {
    padding: 1.5rem;
    text-align: center;
    border-top: 3px solid var(--aur-gold);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.leader-name {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.leader-title {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

/* PUBLIC NEWS & EVENTS PAGES */
.page-header {
    background: linear-gradient(135deg, rgba(17,17,17,0.9) 0%, rgba(0,0,0,0.95) 100%), url('/img/hero-bg.jpg') center/cover no-repeat;
    color: var(--text-light);
    padding: 6rem 5% 5rem;
    text-align: center;
    border-bottom: 4px solid var(--aur-gold);
}

.page-header h1 {
    font-size: 3rem;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.page-header h1 span {
    color: var(--aur-gold);
}

.page-header p {
    color: var(--text-light-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* NEWS SECTION STYLING */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.news-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.news-image {
    height: 220px;
    position: relative;
    background: var(--color-charcoal);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--aur-gold);
    color: var(--color-charcoal);
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.news-content {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-title {
    font-size: 1.25rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.news-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.news-more {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--color-charcoal);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-more:hover {
    color: var(--aur-gold-dark);
}

/* EVENT CARDS */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.event-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    border-top: 4px solid var(--aur-gold);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.event-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-gray);
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-charcoal);
    align-self: flex-start;
    margin-bottom: 1.25rem;
}

.event-date-badge i {
    color: var(--aur-gold-dark);
}

.event-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.event-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* CONTACT PAGE STYLING */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--color-charcoal);
    color: var(--aur-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: var(--text-muted);
}

.contact-form-panel {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--aur-gold);
}

/* FORMS AND CONTROLS */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--color-charcoal);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.2rem;
    border: 2px solid var(--border-light);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    background-color: var(--bg-gray);
}

.form-control:focus {
    outline: none;
    border-color: var(--aur-gold);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(255, 202, 8, 0.15);
}

/* PREMIUM FOOTER */
.site-footer {
    background-color: #0c0c0e;
    color: var(--text-light-muted);
    padding: 5rem 5% 2.5rem;
    border-top: 5px solid var(--aur-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.footer-column h3 {
    color: var(--aur-gold);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--aur-gold);
}

.footer-logo {
    margin-bottom: 1.25rem;
    max-height: 50px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--text-light-muted);
    font-size: 0.9rem;
}

.footer-column ul li a:hover {
    color: var(--text-light);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--aur-gold);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.85rem;
}

/* ADMIN PANEL & TABLES */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: #0c0c0e;
    color: var(--text-light);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-content {
    flex-grow: 1;
    padding: 3rem;
    background-color: var(--bg-gray);
    overflow-y: auto;
}

.admin-table-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    margin-bottom: 2rem;
}

.admin-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-light);
}

.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 1.5rem;
}

.table th, .table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.table th {
    background-color: var(--color-charcoal);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.table tbody tr:hover {
    background-color: var(--bg-light);
}

/* RESPONSIVE LAYOUT */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 2px;
    transition: var(--transition-fast);
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #111;
        flex-direction: column;
        align-items: stretch;
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .slide-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Admin & Dashboard Glass UI */
.admin-main { 
    background: var(--color-charcoal); 
    color: var(--text-light); 
}
:root {
    --dark-card: rgba(17, 24, 39, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --brand-gold: #fbbf24;
    --success-green: #10b981;
    --danger-red: #ef4444;
}

.dashboard-header-glass {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.dashboard-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: #fff;
}

.glass-badge-role {
    background: rgba(251, 191, 36, 0.15);
    color: var(--brand-gold);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.glass-badge-danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger-red);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.glass-section-title {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
}

.glass-actions-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.glass-btn {
    padding: 0.8rem 1.5rem;
    background: var(--dark-card);
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    font-family: 'Outfit', sans-serif;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: #fff;
}

.glass-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.glass-stat-card {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.glass-stat-card:hover {
    transform: translateY(-5px);
}

.glass-stat-card.border-blue { border-left: 4px solid #3b82f6; }
.glass-stat-card.border-gold { border-left: 4px solid var(--brand-gold); }
.glass-stat-card.border-green { border-left: 4px solid var(--success-green); }

.stat-label {
    color: #9ca3af;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Outfit', sans-serif;
}

.stat-number {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}

.stat-icon {
    font-size: 3rem;
    opacity: 0.2;
}

.glass-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 2rem;
}

.glass-panel {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.glass-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.panel-title {
    color: #fff;
    font-size: 1.25rem;
    margin: 0;
    font-family: 'Outfit', sans-serif;
}

.glass-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-gold);
    text-decoration: none;
    transition: color 0.2s;
}

.glass-link:hover {
    color: #fff;
    text-decoration: underline;
}

.glass-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.glass-list li {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.glass-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.item-title {
    font-weight: 600;
    display: block;
    margin-bottom: 0.4rem;
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.2s;
}

.item-title:hover {
    color: var(--brand-gold);
}

.item-meta {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
}

.empty-state {
    color: #6b7280;
    font-size: 0.9rem;
    font-style: italic;
}

.glass-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.glass-table th {
    padding: 1rem;
    text-align: left;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #9ca3af;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-table td {
    padding: 1rem;
    color: #d1d5db;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.glass-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.btn-glass-success {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success-green);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.75rem;
    transition: all 0.3s;
}

.btn-glass-success:hover {
    background: rgba(16, 185, 129, 0.4);
    color: #fff;
}

.btn-glass-danger {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger-red);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.75rem;
    transition: all 0.3s;
}

.btn-glass-danger:hover {
    background: rgba(239, 68, 68, 0.4);
    color: #fff;
}


/* Dashboard Admin Main Layout */
.admin-main { flex: 1; padding: 3rem 5%; height: 100vh; overflow-y: auto; position: relative; z-index: 10; }

/* ──────────────────────────────────────────────────────────────
   DASHBOARD LAYOUT — Sidebar + Main Content wrapper
   Used by all role-based dashboards: admin, member, sympathizer
   ────────────────────────────────────────────────────────────── */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    background: #f0f4f8;
    overflow: hidden;
}

.dashboard-wrapper aside {
    flex-shrink: 0;
    height: 100vh;
    overflow-y: auto;
    position: sticky;
    top: 0;
}

.dashboard-main {
    flex: 1;
    padding: 2.5rem 3%;
    height: 100vh;
    overflow-y: auto;
    background: #f0f4f8;
    min-width: 0; /* prevent flex overflow */
}

/* Member portal two-column grid */
.member-portal-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
}

.portal-main-col {
    min-width: 0;
}

.portal-sidebar-col {
    min-width: 0;
    position: sticky;
    top: 2rem;
}

/* Responsive: stack columns on smaller screens */
@media (max-width: 1100px) {
    .member-portal-grid {
        grid-template-columns: 1fr;
    }
    .portal-sidebar-col {
        position: static;
    }
}

@media (max-width: 768px) {
    .dashboard-wrapper {
        flex-direction: column;
    }
    .dashboard-wrapper aside {
        width: 100% !important;
        height: auto;
        position: static;
    }
    .dashboard-main {
        height: auto;
        padding: 1.5rem 4%;
    }
}
