/* Modern Professional Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Modern Color Palette */
    --primary: #00D9A3;
    --primary-dark: #00B88C;
    --secondary: #6366F1;
    --accent: #F59E0B;
    --danger: #EF4444;

    /* Neutral Colors */
    --bg-primary: #0A0E27;
    --bg-secondary: #151932;
    --bg-card: #1A1F3A;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;

    /* Neon/Glow Effects */
    --glow-primary: 0 0 20px rgba(0, 217, 163, 0.5);
    --glow-secondary: 0 0 20px rgba(99, 102, 241, 0.5);
    --glow-accent: 0 0 20px rgba(245, 158, 11, 0.5);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Mode */
body.light-mode {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-card: #FFFFFF;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Fade-in animation system */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-padding-top: 80px;
}

/* Debug mode: disable images */
html.no-images img,
body.no-images img {
    display: none !important;
}

body.no-images .gallery-image,
body.no-images .figure-image,
body.no-images .article-image,
body.no-images .event-image-main,
body.no-images .image-grid-item {
    background: rgba(255, 255, 255, 0.04) !important;
}

body.no-images .gallery-overlay {
    opacity: 1 !important;
    transform: none !important;
}

/* Selection styling */
::selection {
    background: var(--primary);
    color: var(--bg-primary);
}

::-moz-selection {
    background: var(--primary);
    color: var(--bg-primary);
}

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

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
}


/* Modern Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.92);
    /* backdrop-filter removed (high CPU on some Chrome/GPUs) */
    border-bottom: 1px solid rgba(0, 217, 163, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

body.light-mode header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

header.scrolled {
    box-shadow: var(--shadow-lg);
    border-bottom-color: rgba(0, 217, 163, 0.3);
}

/* Performance mode: disable costly effects */
body.perf-mode header {
    background: rgba(10, 14, 39, 0.98);
}

body.perf-mode .hero-pattern {
    animation: none !important;
}

body.perf-mode * {
    scroll-behavior: auto;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    z-index: 1001;
    box-shadow: var(--glow-primary);
}

/* News Ticker */
.news-ticker-container {
    background: var(--bg-secondary);
    border-bottom: 1px solid rgba(0, 217, 163, 0.1);
    height: 40px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 80px;
    /* Below header */
    width: 100%;
    z-index: 999;
    overflow: hidden;
}

body.scrolled-header .news-ticker-container {
    /* Optional: hide or stick logic */
}

.ticker-label {
    background: var(--danger);
    color: white;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.8rem;
    position: relative;
    z-index: 2;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.2);
}

.pulse-red {
    display: inline-block;
    color: white;
    margin-right: 8px;
    animation: pulse 1.5s infinite;
}

.ticker-wrap {
    flex: 1;
    overflow: hidden;
    height: 100%;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 20px, black 95%, transparent);
}

.ticker-move {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: ticker 30s linear infinite;
}

.ticker-move:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    padding: 0 2rem;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.ticker-item::after {
    content: "•";
    margin-left: 2rem;
    color: var(--primary);
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

.navbar {
    padding: 1rem 0;
}

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

/* Modern Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    padding: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: var(--glow-primary);
}

.flag-icon {
    width: 100%;
    height: 100%;
}

.logo h1 {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modern Navigation */
.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-links a i {
    font-size: 1rem;
    transition: var(--transition);
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.nav-links a:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.nav-links a:hover::before {
    opacity: 0.1;
}

.nav-links a.active {
    color: var(--primary);
    background: rgba(0, 217, 163, 0.1);
}

/* Theme Toggle */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 2px solid rgba(0, 217, 163, 0.2);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    transition: var(--transition);
}

.lang-toggle {
    width: auto;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border-radius: 12px;
    border: 2px solid rgba(0, 217, 163, 0.2);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    transition: var(--transition);
}

.lang-toggle span {
    margin-left: 6px;
}

.theme-toggle:hover,
.lang-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 217, 163, 0.1);
    box-shadow: var(--glow-primary);
    transform: translateY(-2px);
}

.theme-toggle:hover {
    transform: translateY(-2px) rotate(10deg);
}

/* Bangla Font Support */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&display=swap');

body.lang-bn {
    font-family: 'Hind Siliguri', 'Inter', sans-serif;
}

body.lang-bn h1,
body.lang-bn h2,
body.lang-bn h3,
body.lang-bn h4,
body.lang-bn .hero-title,
body.lang-bn .section-title {
    font-weight: 700;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

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

/* Modern Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 0 4rem;
    background: var(--bg-primary);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    /* Slight transparency to blend with dark theme */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 0%, var(--bg-primary) 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 217, 163, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 163, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    /* Animations are off by default to prevent constant 100% CPU on some Chrome setups */
    animation: none;
    will-change: transform;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* Particles (PERFORMANCE): SVG-tile + transform only
   Avoids animating many radial-gradients (CPU heavy in Chrome).
*/
.particles-css {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

/* Tiny SVG dot tile encoded as data URI (fast to render) */
:root {
    --particle-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Ccircle cx='20' cy='25' r='2.2' fill='rgba(244,42,65,0.45)'/%3E%3Ccircle cx='75' cy='40' r='1.8' fill='rgba(244,42,65,0.35)'/%3E%3Ccircle cx='55' cy='85' r='2.6' fill='rgba(244,42,65,0.28)'/%3E%3Ccircle cx='105' cy='70' r='2.1' fill='rgba(244,42,65,0.32)'/%3E%3Ccircle cx='35' cy='110' r='1.7' fill='rgba(244,42,65,0.25)'/%3E%3C/svg%3E");
}

.particles-css::before,
.particles-css::after {
    content: '';
    position: absolute;
    inset: -40%;
    background-image: var(--particle-tile);
    background-repeat: repeat;
    background-size: 220px 220px;
    opacity: 0.55;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.particles-css::before {
    animation: none;
}

.particles-css::after {
    opacity: 0.35;
    background-size: 300px 300px;
    animation: none;
}

@keyframes particleDrift1 {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-60px, -60px, 0);
    }
}

@keyframes particleDrift2 {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(60px, 60px, 0);
    }
}

/* FX only when user interacts (class added by js/fx.js) */
body.fx-on .hero-pattern {
    animation: gridMove 30s linear infinite;
}

body.fx-on .particles-css::before {
    animation: particleDrift1 55s linear infinite;
}

body.fx-on .particles-css::after {
    animation: particleDrift2 85s linear infinite;
}

@media (prefers-reduced-motion: reduce) {

    body.fx-on .hero-pattern,
    body.fx-on .particles-css::before,
    body.fx-on .particles-css::after {
        animation: none !important;
    }
}

@media (max-width: 768px) {

    .particles-css::before,
    .particles-css::after {
        opacity: 0.28;
        animation-duration: 45s;
    }
}

/* Automatic performance mode: disables particles & background motion entirely */
body.perf-mode .particles-css::before,
body.perf-mode .particles-css::after {
    animation: none !important;
}

@media (prefers-reduced-motion: reduce) {

    .particles-css::before,
    .particles-css::after {
        animation: none !important;
    }
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 217, 163, 0.1);
    border: 1px solid rgba(0, 217, 163, 0.3);
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInDown 0.6s ease;
}

.hero-badge i {
    font-size: 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cta-button i {
    font-size: 1.125rem;
    transition: var(--transition);
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-primary);
    box-shadow: var(--shadow-md), var(--glow-primary);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--glow-primary);
}

.cta-button.primary:hover i {
    transform: translateX(4px);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(0, 217, 163, 0.3);
}

.cta-button.secondary:hover {
    background: rgba(0, 217, 163, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* --- Interactive Map Styles --- */
.map-section-container {
    margin-top: 4rem;
    text-align: center;
    position: relative;
    padding: 2rem;
    background: rgba(0, 217, 163, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(0, 217, 163, 0.1);
}

.map-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.map-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.impact-map-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 600px;
    /* Aspect ratio like BD map ~ */
    margin: 0 auto;
    /* Optional: Use a vector outline or abstract shape as bg */
    background-image: radial-gradient(circle at 50% 50%, rgba(0, 217, 163, 0.05) 0%, transparent 70%);
}

.map-network {
    width: 100%;
    height: 100%;
    position: relative;
}

.map-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.connection-line {
    stroke: var(--primary);
    stroke-width: 1;
    stroke-dasharray: 5;
    opacity: 0.3;
    animation: dashMove 2s linear infinite;
}

@keyframes dashMove {
    to {
        stroke-dashoffset: -10;
    }
}

.city-node {
    position: absolute;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.city-node.capital {
    width: 30px;
    height: 30px;
    z-index: 3;
}

.node-point {
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    border: 3px solid var(--primary);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.city-node:hover {
    transform: translate(-50%, -50%) scale(1.2);
    z-index: 10;
}

.city-node:hover .node-point {
    background: var(--primary);
    box-shadow: 0 0 20px var(--primary);
}

.node-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300%;
    height: 300%;
    border: 1px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0.3);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

.city-label {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(10, 14, 39, 0.8);
    padding: 2px 8px;
    border-radius: 4px;
    pointer-events: none;
    white-space: nowrap;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.city-node:hover .city-label {
    opacity: 1;
    color: var(--primary);
}

/* Map Tooltip */
.map-tooltip {
    position: absolute;
    background: rgba(26, 31, 58, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary);
    padding: 1rem;
    border-radius: 12px;
    width: 250px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 20;
    box-shadow: var(--shadow-xl);
}

.map-tooltip.active {
    opacity: 1;
    transform: translateY(0);
}

.map-tooltip h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.mt-stats {
    display: inline-block;
    background: rgba(0, 217, 163, 0.1);
    color: var(--text-primary);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 100px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.map-tooltip p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.stat-item {
    padding: 1.5rem;
    background: rgba(0, 217, 163, 0.05);
    border: 1px solid rgba(0, 217, 163, 0.1);
    border-radius: 16px;
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(0, 217, 163, 0.1);
    border-color: rgba(0, 217, 163, 0.3);
    transform: translateY(-4px);
}

.stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 1.25rem;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    box-shadow: var(--glow-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Overview Section */
.overview {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

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

.overview-card-link {
    text-decoration: none;
    display: block;
}

.overview-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(0, 217, 163, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
}

.overview-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), var(--glow-primary);
}

.overview-card:hover::before {
    opacity: 1;
}

.overview-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.overview-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.overview-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Timeline Section */
.timeline {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background-color: var(--primary-color);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
    text-align: right;
}

.timeline-date {
    flex: 0 0 45%;
    padding: 1rem;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.timeline-content {
    flex: 0 0 45%;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 217, 163, 0.1);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateX(-4px);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 4px rgba(0, 217, 163, 0.2), var(--glow-primary);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -57px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -57px;
}

.timeline-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.timeline-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.timeline-link:hover {
    gap: 0.5rem;
    transform: translateX(4px);
}

/* Events Section */
.events {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

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

.event-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 217, 163, 0.1);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.event-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), var(--glow-primary);
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.event-tag {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-tag.political {
    background: rgba(99, 102, 241, 0.2);
    color: var(--secondary);
}

.event-tag.governance {
    background: rgba(0, 217, 163, 0.2);
    color: var(--primary);
}

.event-tag.reform {
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent);
}

.event-tag.social {
    background: rgba(168, 85, 247, 0.2);
    color: #A855F7;
}

.event-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.event-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.375rem;
    font-weight: 700;
}

.event-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.event-highlights {
    list-style: none;
    padding-left: 0;
}

.event-highlights li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 25px;
}

.event-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.125rem;
}

.event-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.event-read-more:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), var(--glow-primary);
}

.event-read-more i {
    transition: var(--transition);
}

.event-read-more:hover i {
    transform: translateX(4px);
}

/* Key Figures Section */
.key-figures {
    padding: 6rem 0;
    background: var(--bg-primary);
}

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

.figure-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 217, 163, 0.1);
    transition: var(--transition);
}

.figure-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), var(--glow-primary);
}

.figure-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.figure-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-slow);
    display: block;
}

@media (max-width: 768px) {
    .figure-image {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .figure-image {
        height: 250px;
    }
}

.figure-card:hover .figure-image img {
    transform: scale(1.1);
}

.figure-info {
    padding: 2rem;
}

.figure-info h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.figure-role {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(0, 217, 163, 0.2);
    color: var(--primary);
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.figure-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.figure-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.figure-link:hover {
    gap: 0.75rem;
}

.figure-link i {
    transition: var(--transition);
}

/* Quick Links Section */
.quick-links-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

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

.quick-link-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 217, 163, 0.1);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

.quick-link-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), var(--glow-primary);
}

.quick-link-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

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

.quick-link-card h3 {
    color: var(--text-primary);
    font-size: 1.375rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.quick-link-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 217, 163, 0.1);
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.125rem;
    transition: var(--transition);
}

.quick-link-card:hover .link-arrow {
    background: var(--primary);
    color: var(--bg-primary);
    transform: translateX(4px);
}

/* Impact Section */
.impact {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.impact-content {
    max-width: 900px;
    margin: 0 auto;
}

.impact-text h3 {
    color: var(--text-primary);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.impact-text h4 {
    color: var(--text-primary);
    margin: 3rem 0 1.5rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.impact-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

.impact-areas {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.impact-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 217, 163, 0.1);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.impact-item:hover {
    border-left-width: 6px;
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.impact-item strong {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
}

.impact-item p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Modern Gallery Section */
.gallery {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 2px solid rgba(0, 217, 163, 0.2);
    border-radius: 12px;
    cursor: pointer;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn i {
    font-size: 1rem;
}

.filter-btn:hover {
    background: rgba(0, 217, 163, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-primary);
    border-color: transparent;
    box-shadow: var(--glow-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.gallery-item {
    opacity: 1;
    transition: var(--transition);
}

.gallery-item.hidden {
    display: none;
}

.gallery-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    width: 100%;
    height: 300px;
    background: var(--bg-card);
    border: 1px solid rgba(0, 217, 163, 0.1);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-image:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), var(--glow-primary);
    transform: translateY(-4px);
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-slow);
    display: block;
}

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

@media (max-width: 768px) {
    .gallery-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .gallery-image {
        height: 200px;
    }
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 14, 39, 0.95) 0%, transparent 50%);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.gallery-overlay p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.view-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-primary);
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
    box-shadow: var(--glow-primary);
}

.view-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md), var(--glow-primary);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
    animation: zoomIn 0.3s ease;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
}

.modal-info {
    background-color: rgba(10, 14, 39, 0.85);
    /* backdrop-filter removed (high CPU on some Chrome/GPUs) */
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
    color: var(--text-primary);
    border: 1px solid rgba(0, 217, 163, 0.15);
}

.modal-info h3 {
    margin-bottom: 0.5rem;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--secondary-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2001;
}

.modal-close:hover {
    background-color: #d12239;
    transform: rotate(90deg);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    /* backdrop-filter removed for performance */
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-nav:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Modern Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

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

.contact-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 217, 163, 0.1);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--bg-primary);
    box-shadow: var(--glow-primary);
}

.contact-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(0, 217, 163, 0.1);
    border: 2px solid rgba(0, 217, 163, 0.2);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-primary);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
}

.contact-form-wrapper {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(0, 217, 163, 0.1);
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: var(--primary);
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem 1.25rem;
    border: 2px solid rgba(0, 217, 163, 0.2);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-card);
    box-shadow: 0 0 0 4px rgba(0, 217, 163, 0.1);
}

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

.submit-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-primary);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-md), var(--glow-primary);
    margin-top: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--glow-primary);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    font-size: 1.125rem;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    display: none;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.form-message i {
    font-size: 1.25rem;
}

.form-message.success {
    background: rgba(0, 217, 163, 0.1);
    color: var(--primary);
    border: 2px solid rgba(0, 217, 163, 0.3);
    display: flex;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 2px solid rgba(239, 68, 68, 0.3);
    display: flex;
}

/* Resources Section */
.resources {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

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

.resource-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.resource-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.resource-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.resource-card ul {
    list-style: none;
}

.resource-card li {
    margin-bottom: 0.8rem;
}

.resource-card a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.resource-card a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.resource-card a i {
    font-size: 0.85rem;
}

.disclaimer {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.15));
    border: 2px solid rgba(245, 158, 11, 0.5);
    border-left: 6px solid var(--accent);
    padding: 2rem;
    border-radius: 16px;
    margin-top: 3rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.15);
}

body.light-mode .disclaimer {
    background: linear-gradient(135deg, #fff3cd, #ffe69c);
    border-color: #ffc107;
}

.disclaimer i {
    color: var(--accent);
    font-size: 2rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.disclaimer p {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.0625rem;
    line-height: 1.7;
    font-weight: 500;
}

.disclaimer strong {
    color: var(--accent);
    font-weight: 700;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-bg), #0a0a0a);
    color: var(--white);
    padding: 4rem 0 1rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-flag {
    width: 40px;
    height: auto;
}

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-family: 'Playfair Display', serif;
}

.footer-section p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

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

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

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.95rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-form button {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-links span {
    color: #666;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Responsive Design */
.container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    section {
        padding: 5rem 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    section {
        padding: 4rem 0;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

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

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

    .hero-stats {
        gap: 2rem;
    }

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

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

    .cta-button {
        justify-content: center;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 1rem;
        z-index: 999;
    }

    body.dark-mode .nav-links {
        background-color: var(--dark-bg);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-actions {
        position: absolute;
        right: 70px;
    }

    .hamburger {
        display: flex;
    }

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

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

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

    .timeline-container::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column !important;
        text-align: left !important;
        padding-left: 60px;
    }

    .timeline-date {
        flex: 1;
        padding: 0.5rem 0;
    }

    .timeline-content {
        flex: 1;
    }

    .timeline-item .timeline-content::before {
        left: -57px !important;
    }

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

    .overview-grid,
    .events-grid,
    .resources-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
    }

    .modal-content {
        max-width: 95%;
    }

    .modal-nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero {
        padding: 100px 0 50px;
        min-height: auto;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
        line-height: 1.6;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 1rem;
    }

    section {
        padding: 3rem 0;
    }

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

    .section-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.875rem 1.75rem;
        font-size: 0.9375rem;
        width: 100%;
        justify-content: center;
    }

    .hero-buttons {
        width: 100%;
    }

    .hero-buttons .cta-button {
        width: 100%;
    }

    .overview-card,
    .event-card,
    .resource-card {
        padding: 1.5rem;
    }

    .overview-grid,
    .events-grid {
        gap: 1.5rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .contact-container {
        gap: 2rem;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }

    .gallery-filters {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }

    .filter-btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }

    .timeline-content {
        padding: 1.25rem;
    }

    .impact-item {
        padding: 1.5rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .logo h1 {
        font-size: 1.125rem;
    }

    .nav-links {
        top: 60px;
        padding: 1.5rem 0;
    }
}