/* JBA-USA Landing Page - Bold & Dynamic Design */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Bold Color Palette */
    --primary: #C8102E;
    --primary-dark: #9B0D24;
    --primary-light: #E8344A;
    --secondary: #012169;
    --secondary-dark: #000D3D;
    --secondary-light: #1A3A8A;
    --accent: #00A3E0;
    --accent-dark: #0077A3;

    /* Neutrals */
    --text-dark: #1A1A2E;
    --text-medium: #4A4A6A;
    --text-light: #6B6B8D;
    --bg-light: #F5F7FA;
    --bg-dark: #0A0A1A;
    --white: #FFFFFF;

    /* Theme-aware colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F7FA;
    --bg-tertiary: #EEF1F5;
    --text-primary: #1A1A2E;
    --text-secondary: #4A4A6A;
    --text-tertiary: #6B6B8D;
    --border-color: #E8E8F0;
    --card-bg: #FFFFFF;
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --navbar-border: #E8E8F0;

    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.18);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.25);
    --shadow-primary: 0 8px 30px rgba(200, 16, 46, 0.35);
    --shadow-secondary: 0 8px 30px rgba(1, 33, 105, 0.35);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* Dark Mode Theme */
[data-theme="dark"] {
    /* Adjusted brand colors for dark mode visibility */
    --primary: #E8344A;
    --primary-dark: #C8102E;
    --primary-light: #FF5A6E;
    --secondary: #4A7FD0;
    --secondary-dark: #3060B0;
    --secondary-light: #6A9FE8;
    --accent: #00C8F0;
    --accent-dark: #00A3E0;

    /* Theme-aware colors for dark mode */
    --bg-primary: #0D1117;
    --bg-secondary: #161B22;
    --bg-tertiary: #21262D;
    --text-primary: #F0F6FC;
    --text-secondary: #C9D1D9;
    --text-tertiary: #8B949E;
    --border-color: #30363D;
    --card-bg: #161B22;
    --navbar-bg: rgba(13, 17, 23, 0.95);
    --navbar-border: #30363D;

    /* Adjusted neutrals for dark mode */
    --text-dark: #F0F6FC;
    --text-medium: #C9D1D9;
    --text-light: #8B949E;
    --bg-light: #161B22;
    --white: #161B22;

    /* Enhanced shadows for dark mode */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);
    --shadow-primary: 0 8px 30px rgba(232, 52, 74, 0.3);
    --shadow-secondary: 0 8px 30px rgba(74, 127, 208, 0.3);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVIGATION - Bold Header with Logo
   ============================================ */
.navbar {
    background: var(--navbar-bg);
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: background-color var(--transition-normal);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo {
    height: 60px;
    width: auto;
    transition: transform var(--transition-normal);
}

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

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(200, 16, 46, 0.05);
}

.nav-link-admin {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--white) !important;
    border-color: var(--secondary);
}

.nav-link-admin:hover {
    background: linear-gradient(135deg, var(--secondary-light, #1a3a8a) 0%, var(--secondary) 100%);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 20, 80, 0.3);
}

.nav-link-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white) !important;
    border-color: var(--primary);
}

.nav-link-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.nav-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-right: 0.75rem;
    padding-right: 1rem;
    border-right: 2px solid var(--border-color);
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    margin-right: 0.75rem;
    padding-right: 1rem;
    border-right: 2px solid var(--border-color);
}

.theme-toggle-btn {
    background: transparent;
    border: 2px solid transparent;
    color: var(--text-secondary);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle-btn:hover {
    color: var(--primary);
    background: rgba(200, 16, 46, 0.05);
}

.theme-toggle-btn svg {
    width: 20px;
    height: 20px;
}

.theme-toggle-btn .icon-sun,
.theme-toggle-btn .icon-moon {
    display: none;
}

/* Show sun icon in dark mode, moon icon in light mode */
[data-theme="dark"] .theme-toggle-btn .icon-sun {
    display: block;
}

[data-theme="light"] .theme-toggle-btn .icon-moon,
:root:not([data-theme]) .theme-toggle-btn .icon-moon {
    display: block;
}

.lang-btn {
    background: transparent;
    border: 2px solid transparent;
    color: var(--text-medium);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: inherit;
}

.lang-btn:hover {
    color: var(--primary);
    background: rgba(200, 16, 46, 0.05);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-color: var(--primary);
}

/* ============================================
   HERO SECTION - Dynamic & Impactful
   ============================================ */
.hero {
    position: relative;
    color: var(--white);
    padding: 8rem 0;
    text-align: center;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 50%, var(--secondary-light) 100%);
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(1, 33, 105, 0.75) 0%,
        rgba(10, 10, 40, 0.65) 50%,
        rgba(200, 16, 46, 0.25) 100%
    );
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content {
    animation: heroFadeIn 1s ease-out;
}

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

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.9;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all var(--transition-normal);
    border: 3px solid transparent;
    cursor: pointer;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    transform: translateY(-4px);
    box-shadow: var(--shadow-primary);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--secondary);
    border-color: var(--white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.btn-admin {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.btn-admin:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    transform: translateY(-4px);
    box-shadow: var(--shadow-primary);
}

.btn-member {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
}

.btn-member:hover {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
    transform: translateY(-4px);
    box-shadow: var(--shadow-secondary);
}

/* Video Control */
.video-control {
    position: absolute;
    bottom: 2.5rem;
    right: 2.5rem;
    z-index: 3;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.video-control:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

.video-control-icon {
    color: var(--white);
    font-size: 1.3rem;
    line-height: 1;
}

/* ============================================
   SECTIONS - Common Styles
   ============================================ */
section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

[data-theme="dark"] .section-title {
    color: var(--text-primary);
}

[data-theme="dark"] .stat-number {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .btn-secondary {
    border-color: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .btn-secondary:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

[data-theme="dark"] .portal-admin .portal-icon {
    background: linear-gradient(135deg, rgba(232, 52, 74, 0.2) 0%, rgba(232, 52, 74, 0.1) 100%);
}

[data-theme="dark"] .portal-member .portal-icon {
    background: linear-gradient(135deg, rgba(74, 127, 208, 0.2) 0%, rgba(74, 127, 208, 0.1) 100%);
}

[data-theme="dark"] .footer {
    background: linear-gradient(180deg, #161B22 0%, #0D1117 100%);
}

[data-theme="dark"] .footer-logo {
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

/* Hero section should always have light text on dark background */
[data-theme="dark"] .hero {
    color: #FFFFFF;
}

[data-theme="dark"] .hero-title,
[data-theme="dark"] .hero-subtitle,
[data-theme="dark"] .hero-description {
    color: #FFFFFF;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   STATISTICS SECTION - Bold Numbers
   ============================================ */
.stats {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    transition: background var(--transition-normal);
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
}

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

.stat-card {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-md);
    color: var(--white);
}

.stat-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

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

/* ============================================
   PORTAL ACCESS SECTION
   ============================================ */
.portals {
    background: var(--bg-primary);
    transition: background var(--transition-normal);
}

.portals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.portal-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.portal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
}

.portal-admin::before {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
}

.portal-member::before {
    background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-light) 100%);
}

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

.portal-admin:hover {
    border-color: var(--primary);
}

.portal-member:hover {
    border-color: var(--secondary);
}

.portal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
}

.portal-admin .portal-icon {
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.1) 0%, rgba(200, 16, 46, 0.05) 100%);
    color: var(--primary);
}

.portal-member .portal-icon {
    background: linear-gradient(135deg, rgba(1, 33, 105, 0.1) 0%, rgba(1, 33, 105, 0.05) 100%);
    color: var(--secondary);
}

.portal-icon svg {
    width: 40px;
    height: 40px;
    stroke: currentColor;
}

.portal-title {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.portal-description {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.portal-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
    padding: 0;
}

.portal-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-primary);
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.portal-features li:last-child {
    border-bottom: none;
}

.portal-features li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #22C55E;
}

.portal-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
}

.portal-card .btn {
    width: 100%;
    max-width: 280px;
}

/* ============================================
   FEATURES / BENEFITS SECTION
   ============================================ */
.features {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    transition: background var(--transition-normal);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    text-align: center;
    border: 2px solid var(--border-color);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    border-radius: var(--radius-md);
    color: var(--white);
    transition: transform var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon svg {
    width: 36px;
    height: 36px;
    stroke: currentColor;
}

.feature-title {
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-description {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============================================
   VOLUNTEER CTA SECTION
   ============================================ */
.volunteer-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.volunteer-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.volunteer-cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.volunteer-cta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

.volunteer-cta-icon svg {
    width: 40px;
    height: 40px;
    stroke: currentColor;
}

.volunteer-cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.volunteer-cta-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.btn-volunteer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-volunteer:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: #f5f5f5;
}

@media (max-width: 768px) {
    .volunteer-cta-title {
        font-size: 2rem;
    }

    .volunteer-cta-description {
        font-size: 1rem;
    }

    .btn-volunteer {
        width: 100%;
        max-width: 300px;
    }
}

/* ============================================
   FOOTER - Modern & Clean
   ============================================ */
.footer {
    background: linear-gradient(180deg, var(--secondary-dark) 0%, #000510 100%);
    color: var(--white);
    padding: 5rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 70px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--white);
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all var(--transition-normal);
    font-weight: 500;
}

.footer-links a:hover {
    color: #FFFFFF;
    transform: translateX(5px);
}

.footer-links svg {
    width: 14px;
    height: 14px;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.footer-links a:hover svg {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .portals-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: none;
        text-align: center;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-logo {
        height: 50px;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .language-switcher {
        order: -1;
        width: 100%;
        justify-content: center;
        border-right: none;
        border-bottom: 2px solid var(--border-color);
        padding-right: 0;
        padding-bottom: 0.75rem;
        margin-right: 0;
        margin-bottom: 0.75rem;
    }

    .theme-toggle {
        border-right: none;
        padding-right: 0;
        margin-right: 0;
    }

    .nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .hero {
        padding: 5rem 0;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    section {
        padding: 4rem 0;
    }

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

    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    .stats-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .portal-card {
        padding: 2rem 1.5rem;
    }

    .portal-title {
        font-size: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section {
        text-align: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .video-control {
        display: none;
    }

    .hero-video {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .stat-card {
        padding: 2rem 1.5rem;
    }

    .stat-icon {
        width: 56px;
        height: 56px;
    }

    .stat-icon svg {
        width: 28px;
        height: 28px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon svg {
        width: 30px;
        height: 30px;
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Scroll animations - elements fade in when visible */
.stat-card,
.portal-card,
.feature-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    max-width: 100%;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-text p {
    margin-bottom: 1rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================
   EVENTS SECTION
   ============================================ */
.events-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

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

.event-card {
    display: flex;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

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

.event-date {
    background: var(--primary);
    color: white;
    padding: 1.5rem 1rem;
    text-align: center;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-month {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.event-day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-info {
    padding: 1.5rem;
    flex: 1;
}

.event-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.event-time,
.event-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.event-time svg,
.event-location svg {
    flex-shrink: 0;
    color: var(--text-tertiary);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 5rem 0;
    background: var(--bg-primary);
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.contact-item:hover {
    background: var(--primary);
    color: white;
}

.contact-item svg {
    flex-shrink: 0;
}

/* ============================================
   NAV BRAND TEXT (FALLBACK)
   ============================================ */
.nav-brand-text,
.footer-brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

/* ============================================
   FEATURE EMOJI
   ============================================ */
.feature-emoji {
    font-size: 2rem;
}
