/* CSS Variables */
:root {
    /* Colors - Nouvelle palette FESTICS (Jaune/Or, Noir, Blanc) */
    --color-primary: #F4B41A;
    --color-primary-light: #F7C84A;
    --color-primary-lighter: #FADB7A;
    --color-primary-dark: #C89015;
    --color-accent: #E5A617;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-bg-light: #FAFAFA;
    --color-bg-dark: #1a1a1a;
    --color-text-dark: #000000;
    --color-text-light: #ffffff;
    --color-text-muted: #666666;
    --color-overlay: rgba(0, 0, 0, 0.85);
    --color-overlay-light: rgba(0, 0, 0, 0.6);
    
    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #F4B41A 0%, #E5A617 100%);
    --gradient-gold-subtle: linear-gradient(135deg, rgba(244, 180, 26, 0.1) 0%, rgba(229, 166, 23, 0.05) 100%);
    --gradient-gold-radial: radial-gradient(circle at top right, rgba(244, 180, 26, 0.15), transparent 70%);
    --gradient-dark: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    --gradient-light: linear-gradient(180deg, #ffffff 0%, #FAFAFA 100%);
    
    /* Typography */
    --font-logo: 'Qurova', sans-serif;
    --font-title: 'Glitten', serif;
    --font-body: 'Poppins', sans-serif;
    --font-heading: 'Raleway', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows - More realistic */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-gold: 0 8px 24px rgba(244, 180, 26, 0.3);
    --shadow-gold-lg: 0 12px 32px rgba(244, 180, 26, 0.4);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* Base Styles */
body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-family: var(--font-title);
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    text-align: center;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 2;
    display: inline-block;
    padding: 0 var(--spacing-md);
}

/* Decorative background squares for section titles */
.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border: 3px solid rgba(244, 180, 26, 0.15);
    border-radius: var(--radius-sm);
    z-index: -1;
    animation: floatSquare 6s ease-in-out infinite;
}

.section-title::before {
    top: -20px;
    left: -30px;
    transform: rotate(-15deg);
    animation-delay: 0s;
}

.section-title::after {
    bottom: -20px;
    right: -30px;
    transform: rotate(15deg);
    animation-delay: 3s;
}

@keyframes floatSquare {
    0%, 100% {
        transform: translateY(0) rotate(-15deg);
    }
    50% {
        transform: translateY(-10px) rotate(-10deg);
    }
}

/* Additional decorative elements for section headers */
.gallery .section-title::before,
.about .section-title::before,
.history .section-title::before,
.contact .section-title::before,
.sponsors .section-title::before,
.candidates .section-title::before {
    width: 100px;
    height: 100px;
    border-width: 2px;
    opacity: 0.8;
}

.gallery .section-title::after,
.about .section-title::after,
.history .section-title::after,
.contact .section-title::after,
.sponsors .section-title::after,
.candidates .section-title::after {
    width: 60px;
    height: 60px;
    border-width: 2px;
    opacity: 0.6;
}

.section-description {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(244, 180, 26, 0.1);
    z-index: 1000;
    transition: var(--transition-normal);
    border-bottom: 2px solid var(--color-primary);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    gap: var(--spacing-sm);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-family: var(--font-logo);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: var(--transition-fast);
}

.logo:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 0 8px rgba(244, 180, 26, 0.5));
}

.logo-image {
    height: 35px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    transition: var(--transition-fast);
}

.logo:hover .logo-image {
    filter: brightness(1.1);
}

.logo i {
    font-size: 2rem;
    color: var(--color-primary);
    transition: var(--transition-fast);
}

.logo:hover i {
    transform: rotate(-10deg);
    color: var(--color-primary-light);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-white);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-fast);
    box-shadow: 0 0 8px rgba(244, 180, 26, 0.5);
}

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

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

.nav-link.active {
    color: var(--color-primary);
}

.menu-toggle {
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    z-index: 2000;
    transition: var(--transition-fast);
    overflow: hidden;
}

.menu-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(244, 180, 26, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.menu-toggle:hover::before {
    width: 100%;
    height: 100%;
}

.menu-toggle:hover {
    background: rgba(244, 180, 26, 0.08);
}

.menu-toggle:active {
    transform: scale(0.95);
    background: rgba(244, 180, 26, 0.15);
}

/* Hamburger icon */
.menu-toggle i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.menu-toggle:hover i {
    color: var(--color-primary-light);
    filter: drop-shadow(0 0 8px rgba(244, 180, 26, 0.6));
    transform: translate(-50%, -50%) scale(1.1);
}

.menu-toggle:active i {
    transform: translate(-50%, -50%) scale(0.9);
}

/* Ripple effect on click */
.menu-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(244, 180, 26, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
}

.menu-toggle:active::after {
    width: 50px;
    height: 50px;
    opacity: 1;
    transition: width 0s, height 0s, opacity 0.3s ease;
}

/* Focus state for accessibility */
.menu-toggle:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
    border-radius: 4px;
}

.sidebar-close:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 8px;
}

.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

/* Video Hero Section */
.video-hero {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--color-bg-light) 0%, var(--color-white) 100%);
    position: relative;
}

.video-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: var(--color-black);
    aspect-ratio: 16 / 9;
    margin: 0 auto;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* Video Overlay */
.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    opacity: 1;
    transition: opacity 0.4s ease;
    cursor: pointer;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-play-btn {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(244, 180, 26, 0.95);
    border: 3px solid var(--color-white);
    color: var(--color-black);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(244, 180, 26, 0.4);
    position: relative;
}

.video-play-btn::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(244, 180, 26, 0.5);
    animation: pulse-ring 2s infinite;
}

.video-play-btn:hover {
    transform: scale(1.1);
    background: var(--color-primary-light);
    box-shadow: 0 12px 32px rgba(244, 180, 26, 0.6);
}

.video-play-btn:active {
    transform: scale(0.95);
}

.video-play-btn i {
    margin-left: 4px;
}

.video-overlay-text {
    text-align: center;
    color: var(--color-white);
}

.video-overlay-text h3 {
    font-family: var(--font-title);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: var(--spacing-xs);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.video-overlay-text p {
    font-size: 1.125rem;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Video Controls */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.video-wrapper:hover .video-controls,
.video-controls.show,
.video-wrapper.playing .video-controls {
    opacity: 1;
}

.video-control-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 1rem;
}

.video-control-btn:hover {
    background: var(--color-primary);
    color: var(--color-black);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 180, 26, 0.4);
}

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

.video-progress-container {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin: 0 var(--spacing-xs);
}

.video-progress {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.video-progress-filled {
    height: 100%;
    background: var(--color-primary);
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(244, 180, 26, 0.6);
    border-radius: 4px;
    position: relative;
}

.video-progress-filled::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: var(--color-white);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-progress-container:hover .video-progress-filled::after {
    opacity: 1;
}

.video-progress-container:hover .video-progress-filled {
    box-shadow: 0 0 16px rgba(244, 180, 26, 0.9);
}

/* Pulse animation for play button */
@keyframes pulse-ring {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.3);
    }
}

/* Page Header */
.page-header {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    margin-top: 70px;
    border-bottom: 3px solid var(--color-primary);
    overflow: hidden;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(244, 180, 26, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(244, 180, 26, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, rgba(244, 180, 26, 0.05), transparent);
}

/* Animated background squares for page header */
.page-header::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(244, 180, 26, 0.1);
    border-radius: var(--radius-xl);
    top: -100px;
    right: -100px;
    transform: rotate(25deg);
    animation: floatSquare 15s ease-in-out infinite;
}

.page-title {
    position: relative;
    z-index: 2;
    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.02em;
    text-shadow: 0 0 20px rgba(244, 180, 26, 0.3);
    display: inline-block;
    padding: 0 var(--spacing-lg);
}

/* Decorative squares for page titles */
.page-title::before,
.page-title::after {
    content: '';
    position: absolute;
    border: 2px solid rgba(244, 180, 26, 0.3);
    border-radius: var(--radius-md);
    z-index: -1;
}

.page-title::before {
    width: 120px;
    height: 120px;
    top: -30px;
    left: -40px;
    transform: rotate(-12deg);
    animation: floatSquare 8s ease-in-out infinite;
}

.page-title::after {
    width: 80px;
    height: 80px;
    bottom: -25px;
    right: -35px;
    transform: rotate(18deg);
    animation: floatSquare 8s ease-in-out infinite;
    animation-delay: 4s;
}

.page-description {
    position: relative;
    z-index: 2;
    font-size: 1.25rem;
    color: var(--color-white);
    text-align: center;
    opacity: 0.9;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('../images/homebackground.webp?v=2');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--color-overlay);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    padding: var(--spacing-xl) 0;
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 400;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    display: block;
    font-family: var(--font-logo);
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--color-primary);
    margin-top: var(--spacing-xs);
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px rgba(244, 180, 26, 0.5);
}

.hero-description {
    font-size: 1.125rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 1s ease 0.2s both;
}

/* Countdown */
.countdown-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--spacing-md);
    margin: var(--spacing-lg) auto;
    max-width: 600px;
    animation: fadeInUp 1s ease 0.4s both;
}

.countdown-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-sm);
}

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

.countdown-value {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
}

.countdown-label {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: var(--spacing-xs);
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    transition: var(--transition-normal);
    cursor: pointer;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-black);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(244, 180, 26, 0.3);
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-black);
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 180, 26, 0.5);
}

.btn-secondary {
    background: var(--color-black);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: 0 4px 12px rgba(244, 180, 26, 0.2);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-black);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 180, 26, 0.5);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--color-white);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

/* About Section */
.about {
    padding: var(--spacing-xl) 0;
    background: var(--color-bg-light);
    position: relative;
    overflow: hidden;
}

/* Decorative background for about section */
.about::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    top: 20%;
    right: 10%;
    border: 2px solid rgba(244, 180, 26, 0.08);
    border-radius: var(--radius-lg);
    transform: rotate(30deg);
    animation: floatSquare 10s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text p {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
}

/* Preview Sections */
.preview-sections {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.preview-sections .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.preview-card {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    background-image: 
        linear-gradient(white, white),
        var(--gradient-gold);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Decorative square pattern for cards */
.preview-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(244, 180, 26, 0.1) 48%, rgba(244, 180, 26, 0.1) 52%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(244, 180, 26, 0.1) 48%, rgba(244, 180, 26, 0.1) 52%, transparent 52%);
    background-size: 20px 20px;
    transform: rotate(15deg);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
}

.preview-card::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(244, 180, 26, 0.15);
    border-radius: var(--radius-sm);
    transform: rotate(-12deg);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
}

.preview-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-gold-lg);
}

.preview-card:hover::before,
.preview-card:hover::after {
    opacity: 1;
}

.preview-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    position: relative;
    box-shadow: var(--shadow-gold);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.preview-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-gold);
    border-radius: var(--radius-md);
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.4s ease;
    z-index: -1;
}

.preview-card:hover .preview-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(244, 180, 26, 0.5);
}

.preview-card:hover .preview-icon::before {
    opacity: 0.6;
}

.preview-icon i {
    font-size: 2rem;
    color: var(--color-black);
    transition: all 0.3s ease;
}

.preview-card:hover .preview-icon i {
    transform: scale(1.1);
}

.preview-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
}

.preview-text {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
}

.preview-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.preview-link:hover {
    color: var(--color-primary-dark);
    gap: var(--spacing-sm);
}

.preview-link i {
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

/* History Section */
.history {
    padding: var(--spacing-xl) 0;
    background: var(--gradient-light);
    position: relative;
    overflow: hidden;
}

/* Decorative background for history section */
.history::before,
.history::after {
    content: '';
    position: absolute;
    border: 2px solid rgba(244, 180, 26, 0.08);
    border-radius: var(--radius-lg);
    z-index: 0;
    pointer-events: none;
}

.history::before {
    width: 160px;
    height: 160px;
    top: 15%;
    left: 8%;
    transform: rotate(-20deg);
    animation: floatSquare 11s ease-in-out infinite;
}

.history::after {
    width: 120px;
    height: 120px;
    bottom: 20%;
    right: 12%;
    transform: rotate(25deg);
    animation: floatSquare 11s ease-in-out infinite;
    animation-delay: 5.5s;
}

.timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--spacing-lg) 0;
}

/* Desktop timeline line */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        var(--color-primary) 5%,
        var(--color-primary) 95%,
        transparent 100%
    );
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(244, 180, 26, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-xl);
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: var(--gradient-gold);
    border: 5px solid var(--color-white);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(244, 180, 26, 0.4);
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-marker::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px solid rgba(244, 180, 26, 0.3);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

.timeline-item:hover .timeline-marker {
    transform: translate(-50%, -50%) scale(1.3);
    box-shadow: 0 6px 20px rgba(244, 180, 26, 0.6);
}

.timeline-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
    background-image: 
        linear-gradient(white, white),
        var(--gradient-gold);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Decorative corner pattern */
.timeline-content::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 8px,
            rgba(244, 180, 26, 0.05) 8px,
            rgba(244, 180, 26, 0.05) 16px
        );
    transform: rotate(15deg);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.timeline-item:hover .timeline-content::before {
    opacity: 1;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold-lg);
}

.timeline-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    height: 320px;
}

.timeline-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(244, 180, 26, 0.1) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.timeline-item:hover .timeline-image::after {
    opacity: 1;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.timeline-text {
    padding: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.timeline-year {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-black);
    background: var(--gradient-gold);
    padding: 0.375rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
    box-shadow: var(--shadow-gold);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-year {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(244, 180, 26, 0.5);
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.timeline-description {
    color: var(--color-text-muted);
    line-height: 1.8;
    font-size: 1rem;
}

/* Alternate layout for even items */
.timeline-item:nth-child(even) .timeline-content {
    direction: ltr;
}

/* Gallery Section */
.gallery {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-bg-light) 100%);
    position: relative;
    overflow: hidden;
}

/* Additional decorative background elements for gallery section */
.gallery::before,
.gallery::after {
    content: '';
    position: absolute;
    border: 2px solid rgba(244, 180, 26, 0.08);
    border-radius: var(--radius-lg);
    z-index: 0;
    pointer-events: none;
}

.gallery::before {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    transform: rotate(-25deg);
    animation: floatSquare 12s ease-in-out infinite;
}

.gallery::after {
    width: 150px;
    height: 150px;
    bottom: 15%;
    right: 8%;
    transform: rotate(20deg);
    animation: floatSquare 12s ease-in-out infinite;
    animation-delay: 6s;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    padding: 0 var(--spacing-sm);
}

.filter-btn {
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    background: var(--color-white);
    color: var(--color-text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(244, 180, 26, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.filter-btn span {
    position: relative;
    z-index: 1;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(244, 180, 26, 0.25);
    border-color: var(--color-primary);
}

.filter-btn:hover::before {
    opacity: 0.1;
}

.filter-btn.active {
    background: var(--color-primary);
    color: var(--color-black);
    border-color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(244, 180, 26, 0.4);
    transform: translateY(-2px);
}

.filter-btn.active::before {
    opacity: 0;
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    padding: 0 var(--spacing-sm);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    background: var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: scale(1);
    border: 2px solid transparent;
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-gold-subtle);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(244, 180, 26, 0.25);
    border-color: var(--color-primary);
}

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

.gallery-item img,
.gallery-item .gallery-video {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.gallery-video-item {
    position: relative;
}

.gallery-video {
    display: block;
    pointer-events: none;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.gallery-overlay i {
    font-size: 3.5rem;
    color: var(--color-white);
    transform: scale(0.7) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.video-label {
    color: var(--color-white);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-sm);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
    max-width: 90%;
}

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

.gallery-item:hover .gallery-overlay i {
    transform: scale(1) translateY(0);
}

.gallery-item:hover .video-label {
    opacity: 1;
    transform: translateY(0);
}

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

.gallery-video-item .gallery-overlay i {
    color: var(--color-primary);
    text-shadow: 0 0 24px rgba(244, 180, 26, 0.6);
}

/* Gallery item fade animation for filtering */
.gallery-item.filtering-out {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}

.gallery-item.filtering-in {
    animation: fadeInScale 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Category badge on images */
.gallery-item::after {
    content: attr(data-category);
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    color: var(--color-primary);
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 3;
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* Video Modal for Gallery */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    opacity: 1;
}

.video-modal.closing {
    opacity: 0;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(244, 180, 26, 0.9);
    border: none;
    color: var(--color-black);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    z-index: 10001;
}

.video-modal-close:hover {
    background: var(--color-primary-light);
    transform: rotate(90deg) scale(1.1);
}

.video-modal-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--color-black);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .video-modal {
        padding: var(--spacing-sm);
    }
    
    .video-modal-close {
        top: -40px;
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
    }
    
    .video-modal-wrapper {
        border-radius: var(--radius-md);
    }
}

@media (max-width: 480px) {
    .video-modal-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

/* Contact Section */
.contact {
    padding: var(--spacing-xl) 0;
    background: var(--color-bg-light);
    position: relative;
    overflow: hidden;
}

/* Decorative background for contact section */
.contact::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    top: 25%;
    right: 15%;
    border: 2px solid rgba(244, 180, 26, 0.08);
    border-radius: var(--radius-lg);
    transform: rotate(-18deg);
    animation: floatSquare 9s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.contact-card {
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
    background-image: 
        linear-gradient(white, white),
        var(--gradient-gold);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Decorative pattern for contact cards */
.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(244, 180, 26, 0.05) 10px,
            rgba(244, 180, 26, 0.05) 20px
        );
    border-radius: 0 var(--radius-xl) 0 100%;
    pointer-events: none;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold-lg);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    position: relative;
    box-shadow: var(--shadow-gold);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: var(--gradient-gold);
    border-radius: var(--radius-md);
    opacity: 0;
    filter: blur(12px);
    transition: opacity 0.4s ease;
    z-index: -1;
}

.contact-card:hover .card-icon {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 16px 40px rgba(244, 180, 26, 0.6);
}

.contact-card:hover .card-icon::before {
    opacity: 0.7;
}

.card-icon i {
    font-size: 2rem;
    color: var(--color-black);
    transition: transform 0.3s ease;
}

.contact-card:hover .card-icon i {
    transform: scale(1.1);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
}

.card-description {
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition-fast);
}

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

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: var(--transition-fast);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.75rem;
    background: var(--color-white);
    padding: 0 0.25rem;
    color: var(--color-primary);
}

.form-group input[type="file"] {
    padding: 0;
    border: 2px dashed #e5e7eb;
    background: var(--color-bg-light);
    cursor: pointer;
    position: relative;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-group input[type="file"]::file-selector-button {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-label {
    position: static;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
    font-size: 0.95rem;
    font-weight: 600;
}

.file-input-wrapper {
    position: relative;
    width: 100%;
}

.file-input-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    border: 2px dashed #e5e7eb;
    border-radius: var(--radius-sm);
    background: var(--color-bg-light);
    cursor: pointer;
    transition: var(--transition-fast);
    min-height: 120px;
}

.file-input-display:hover {
    border-color: var(--color-primary);
    background: rgba(244, 180, 26, 0.05);
}

.file-input-display i {
    font-size: 2rem;
    color: var(--color-primary);
}

.file-input-display .file-text {
    text-align: center;
    color: var(--color-text-dark);
    font-size: 0.95rem;
}

.file-input-display .file-hint {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
}

.file-preview {
    margin-top: 0.5rem;
    max-width: 200px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.file-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.info-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.info-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.info-item p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

/* Sponsors Section */
.sponsors {
    padding: var(--spacing-xl) 0;
}

.sponsors-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.sponsor-tier {
    text-align: center;
}

.tier-title {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.sponsor-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.sponsor-card {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

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

.sponsor-card.platinum {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, rgba(244, 180, 26, 0.05), rgba(244, 180, 26, 0.02));
}

.sponsor-card.platinum:hover {
    border-color: var(--color-primary-light);
    box-shadow: 0 8px 24px rgba(244, 180, 26, 0.3);
}

.sponsor-card.gold {
    border-color: var(--color-primary-dark);
    background: rgba(244, 180, 26, 0.03);
}

.sponsor-card.gold:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(244, 180, 26, 0.25);
}

.sponsor-card.silver {
    border-color: rgba(244, 180, 26, 0.4);
    background: rgba(244, 180, 26, 0.02);
}

.sponsor-card.silver:hover {
    border-color: var(--color-primary-dark);
    box-shadow: 0 8px 24px rgba(244, 180, 26, 0.2);
}

.sponsor-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-sm);
    background: linear-gradient(135deg, var(--color-primary-lighter), var(--color-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sponsor-logo i {
    font-size: 2rem;
    color: var(--color-white);
}

.sponsor-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sponsor-card h4 {
    font-size: 1.125rem;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

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

/* Footer */
.footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: var(--spacing-lg) 0 var(--spacing-sm);
    border-top: 3px solid var(--color-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
        row-gap: var(--spacing-lg);
    }
    
    .footer-col {
        text-align: left;
    }
}

@media (max-width: 768px) {
    /* Video Hero Responsive */
    .video-hero {
        padding: var(--spacing-lg) 0;
    }

    .video-container {
        padding: 0 var(--spacing-sm);
    }

    .video-wrapper {
        border-radius: var(--radius-lg);
    }

    .video-play-btn {
        width: 75px;
        height: 75px;
        font-size: 1.65rem;
    }

    .video-overlay-text h3 {
        font-size: clamp(1.25rem, 4vw, 1.75rem);
        padding: 0 var(--spacing-sm);
    }

    .video-overlay-text p {
        font-size: 0.95rem;
    }

    .video-controls {
        padding: var(--spacing-sm) var(--spacing-sm) 0.75rem;
        gap: 0.5rem;
    }

    .video-control-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 0.875rem;
    }

    .video-progress-container {
        height: 6px;
        margin: 0 0.25rem;
    }

    .video-progress-filled::after {
        width: 12px;
        height: 12px;
    }

    .footer {
        padding: var(--spacing-md) 0 var(--spacing-sm);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-md);
        row-gap: var(--spacing-lg);
    }
    
    .footer-col {
        text-align: left;
    }
    
    .footer-col h4 {
        font-size: 0.95rem;
    }
    
    .footer-description {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-sm);
        row-gap: var(--spacing-md);
    }
    
    .footer-col {
        text-align: left;
    }
    
    .footer-col h4 {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-col ul {
        font-size: 0.75rem;
    }
    
    .footer-col ul li {
        margin-bottom: 0.25rem;
    }
    
    .footer-description {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .social-links {
        justify-content: flex-start;
        gap: 0.5rem;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
    
    .contact-list li {
        font-size: 0.75rem;
        justify-content: flex-start;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        font-size: 0.75rem;
    }
    
    .footer-bottom {
        font-size: 0.75rem;
        padding-top: 0.75rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 1rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .footer-logo {
        font-size: 1rem;
    }
    
    .footer-logo i {
        font-size: 1.25rem;
    }
}

/* Sponsors Section */
.sponsors {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-bg-light) 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative background for sponsors section */
.sponsors::before,
.sponsors::after {
    content: '';
    position: absolute;
    border: 2px solid rgba(244, 180, 26, 0.08);
    border-radius: var(--radius-lg);
    z-index: 0;
    pointer-events: none;
}

.sponsors::before {
    width: 170px;
    height: 170px;
    top: 18%;
    left: 10%;
    transform: rotate(-22deg);
    animation: floatSquare 13s ease-in-out infinite;
}

.sponsors::after {
    width: 130px;
    height: 130px;
    bottom: 22%;
    right: 8%;
    transform: rotate(28deg);
    animation: floatSquare 13s ease-in-out infinite;
    animation-delay: 6.5s;
}

.sponsor-tier {
    margin-bottom: var(--spacing-xl);
}

.tier-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-direction: column;
}

.tier-header i {
    font-size: 3rem;
    color: var(--color-primary);
    animation: pulse 2s ease-in-out infinite;
}

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

.tier-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(244, 180, 26, 0.2);
}

.sponsors-grid {
    display: grid;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.gold-sponsors {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    max-width: 1000px;
    margin: 0 auto;
}

.sponsor-card {
    background: var(--color-white);
    border: 3px solid transparent;
    background-image: 
        linear-gradient(white, white),
        var(--gradient-gold);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
}

/* Decorative square grid pattern */
.sponsor-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 30px,
            rgba(244, 180, 26, 0.03) 30px,
            rgba(244, 180, 26, 0.03) 31px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 30px,
            rgba(244, 180, 26, 0.03) 30px,
            rgba(244, 180, 26, 0.03) 31px
        );
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    pointer-events: none;
}

/* Animated corner squares */
.sponsor-card::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    border: 3px solid rgba(244, 180, 26, 0.2);
    border-radius: var(--radius-sm);
    transform: rotate(45deg);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

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

.sponsor-card:hover::after {
    opacity: 1;
    transform: rotate(45deg) scale(1.2);
}

.sponsor-card:hover {
    transform: translateY(-16px) scale(1.03);
    box-shadow: var(--shadow-gold-lg);
}

.sponsor-logo {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: var(--spacing-lg);
    background: var(--gradient-gold-radial);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sponsor-logo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-gold-subtle);
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sponsor-card:hover .sponsor-logo::before {
    opacity: 1;
}

.sponsor-logo img {
    max-width: 100%;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    position: relative;
    z-index: 1;
}

.sponsor-card:hover .sponsor-logo img {
    transform: scale(1.08);
    filter: drop-shadow(0 8px 24px rgba(244, 180, 26, 0.3));
}

.sponsor-name {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-dark);
    text-align: center;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.sponsor-cta {
    text-align: center;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, rgba(244, 180, 26, 0.08) 0%, rgba(229, 166, 23, 0.12) 100%);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-xl);
    margin-top: var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

.sponsor-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(244, 180, 26, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.sponsor-cta h3 {
    font-family: var(--font-title);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-md);
    font-weight: 400;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

.sponsor-cta p {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.sponsor-cta .btn {
    margin-top: var(--spacing-sm);
    position: relative;
    z-index: 1;
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
}

@media (max-width: 768px) {
    .gold-sponsors {
        grid-template-columns: 1fr;
        max-width: 450px;
        gap: var(--spacing-lg);
    }
    
    .sponsor-card {
        min-height: 180px;
        padding: var(--spacing-lg);
    }
    
    .sponsor-logo {
        padding: var(--spacing-sm);
    }
    
    .sponsor-logo img {
        max-height: 140px;
    }
    
    .tier-header i {
        font-size: 2.5rem;
    }
    
    .sponsor-cta {
        padding: var(--spacing-lg);
    }
    
    .sponsor-cta .btn {
        font-size: 1rem;
        padding: 0.875rem 2rem;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-family: var(--font-logo);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: var(--spacing-xs);
    letter-spacing: 0.05em;
    color: var(--color-primary);
}

.footer-logo .logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-logo i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.footer-description {
    margin-bottom: var(--spacing-sm);
    opacity: 0.9;
    font-size: 0.875rem;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: break-word;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(244, 180, 26, 0.1);
    border: 1px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    font-size: 0.875rem;
    color: var(--color-primary);
}

.social-links a:hover {
    background: var(--color-primary);
    color: var(--color-black);
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(244, 180, 26, 0.5);
}

.footer-col h4 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.footer-col ul {
    font-size: 0.875rem;
}

.footer-col ul li {
    margin-bottom: 0.375rem;
}

.footer-col ul li a {
    opacity: 0.9;
    transition: var(--transition-fast);
    display: inline-block;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.footer-col ul li a:hover {
    opacity: 1;
    padding-left: 0.5rem;
    color: var(--color-primary);
}

.footer-col p {
    font-size: 0.875rem;
    margin-bottom: var(--spacing-xs);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

.contact-list li i {
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.contact-list li span {
    word-break: break-word;
    overflow-wrap: break-word;
}

.phone-link {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.phone-link:hover {
    color: var(--color-primary);
}

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

.newsletter-form input {
    flex: 1;
    padding: 0.625rem 0.75rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.newsletter-form button {
    padding: 0.625rem 0.875rem;
    background: var(--color-primary);
    color: var(--color-black);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    flex-shrink: 0;
    border: none;
}

.newsletter-form button:hover {
    background: var(--color-primary-light);
    color: var(--color-black);
    box-shadow: 0 0 12px rgba(244, 180, 26, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    transition: var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--color-primary);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: lightboxZoomIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes lightboxZoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(244, 180, 26, 0.9);
    color: var(--color-black);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    cursor: pointer;
    z-index: 2001;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--color-primary-light);
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(244, 180, 26, 0.5);
}

.lightbox-close:active,
.lightbox-prev:active,
.lightbox-next:active {
    transform: scale(0.95);
}

.lightbox-close {
    top: var(--spacing-lg);
    right: var(--spacing-lg);
}

.lightbox-prev {
    left: var(--spacing-lg);
}

.lightbox-next {
    right: var(--spacing-lg);
}

/* Image counter in lightbox */
.lightbox::before {
    content: attr(data-counter);
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(244, 180, 26, 0.3);
    z-index: 2001;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(244, 180, 26, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(244, 180, 26, 0.6);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Shimmer effect for cards on load */
.preview-card,
.contact-card,
.sponsor-card,
.candidate-card {
    animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

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

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

.sponsor-card:nth-child(odd) { animation: slideInFromLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards; }
.sponsor-card:nth-child(even) { animation: slideInFromRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards; }

.candidate-card {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.candidate-card:nth-child(1) { animation-delay: 0.1s; }
.candidate-card:nth-child(2) { animation-delay: 0.15s; }
.candidate-card:nth-child(3) { animation-delay: 0.2s; }
.candidate-card:nth-child(4) { animation-delay: 0.25s; }
.candidate-card:nth-child(5) { animation-delay: 0.3s; }
.candidate-card:nth-child(6) { animation-delay: 0.35s; }

/* Mobile Sidebar with Glassmorphism - Professional Style */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100px;
    width: 85px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
    z-index: 1999;
    box-shadow: 8px 0 40px rgba(244, 180, 26, 0.15);
    border-right: 2px solid var(--color-primary);
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    left: 0;
    box-shadow: 8px 0 50px rgba(244, 180, 26, 0.25);
}

.sidebar-header {
    padding: 0.875rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(244, 180, 26, 0.3);
    background: rgba(0, 0, 0, 0.5);
    min-height: 60px;
}

.sidebar-logo {
    display: none;
}

.sidebar-close {
    background: transparent;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.sidebar-close i {
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.sidebar-close:hover {
    background: rgba(244, 180, 26, 0.15);
    transform: rotate(90deg) scale(1.1);
}

.sidebar-close:hover i {
    color: var(--color-primary-light);
    filter: drop-shadow(0 0 6px rgba(244, 180, 26, 0.5));
}

.sidebar-close:active {
    transform: rotate(90deg) scale(0.95);
}

.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 0;
    gap: 0.5rem;
    overflow-y: auto;
}

.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(244, 180, 26, 0.5);
    border-radius: 2px;
}

.sidebar-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-size: 0.7rem;
    font-weight: 500;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.sidebar-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--color-primary);
    border-radius: 0 2px 2px 0;
    transition: height 0.3s ease;
    box-shadow: 0 0 8px rgba(244, 180, 26, 0.5);
}

.sidebar-link:hover::before,
.sidebar-link.active::before {
    height: 60%;
}

.sidebar-link:hover {
    color: var(--color-primary);
    background: rgba(244, 180, 26, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sidebar-link i {
    font-size: 1.5rem;
    transition: var(--transition-fast);
}

.sidebar-link span {
    text-align: center;
    line-height: 1.2;
    font-size: 0.7rem;
}

.sidebar-link.active {
    color: var(--color-primary);
    background: rgba(244, 180, 26, 0.15);
}

.sidebar-link.active i {
    color: var(--color-primary);
}

/* Responsive */
@media (max-width: 1024px) {
    /* Show sidebar on tablet */
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block;
    }
    
    .menu-toggle {
        display: block;
    }
}

@media (max-width: 1024px) {
    /* Tablet optimizations */
    .preview-card,
    .contact-card,
    .sponsor-card,
    .candidate-card {
        padding: var(--spacing-md);
    }
    
    .candidates-photos-grid {
        gap: var(--spacing-lg);
    }
    
    .candidate-photo-card {
        width: 180px;
        height: 180px;
    }
    
    .candidate-name-label {
        font-size: 0.875rem;
    }
    
    .candidate-modal {
        max-height: 88vh;
    }
    
    .modal-logo {
        width: 50px;
        height: 50px;
    }
    
    .modal-header-text h3 {
        font-size: 1rem;
    }
    
    .modal-header-text p {
        font-size: 0.8125rem;
    }
    
    .candidate-modal-photo {
        padding: var(--spacing-lg);
    }
    
    .candidate-modal-photo img {
        max-width: 280px;
        height: 340px;
    }
    
    .modal-candidate-badge {
        font-size: 0.8125rem;
        padding: 0.5rem 1.5rem;
    }
    
    .modal-candidate-name {
        font-size: 1.5rem;
    }
    
    .candidates-detailed-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: var(--spacing-lg);
    }
    
    .candidate-detail-photo {
        width: 150px;
        height: 150px;
    }
    
    .candidate-detail-name {
        font-size: 1.25rem;
    }
    
    .preview-icon,
    .card-icon {
        width: 60px;
        height: 60px;
    }
    
    .preview-icon i,
    .card-icon i {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    /* Mobile optimizations */
    .preview-card,
    .contact-card {
        padding: var(--spacing-md);
    }
    
    .sponsor-card {
        padding: var(--spacing-lg);
        aspect-ratio: auto;
        min-height: 200px;
    }
    
    .preview-icon,
    .card-icon {
        width: 56px;
        height: 56px;
    }
    
    .preview-icon i,
    .card-icon i {
        font-size: 1.5rem;
    }
    
    .sponsor-logo {
        padding: var(--spacing-md);
    }
    
    .sponsor-logo img {
        max-height: 140px;
    }
    
    .candidate-photo {
        height: 240px;
    }
    
    .candidate-info {
        padding: var(--spacing-md);
    }
    
    /* Reduce decorative elements on mobile */
    .section-title::before,
    .section-title::after {
        width: 60px;
        height: 60px;
        border-width: 2px;
    }
    
    .section-title::before {
        top: -15px;
        left: -20px;
    }
    
    .section-title::after {
        bottom: -15px;
        right: -20px;
    }
    
    .page-title::before,
    .page-title::after {
        display: none;
    }
    
    .gallery::before,
    .gallery::after,
    .about::before,
    .history::before,
    .history::after,
    .contact::before,
    .sponsors::before,
    .sponsors::after,
    .candidates::before {
        opacity: 0.5;
        width: 100px;
        height: 100px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: var(--spacing-md);
    }
    
    .gallery-item img,
    .gallery-item .gallery-video {
        min-height: 240px;
    }
    
    .gallery-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .gallery-overlay i {
        font-size: 2.5rem;
    }
    
    .video-label {
        font-size: 0.9rem;
        padding: 0.375rem 0.75rem;
    }
    
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .lightbox-close {
        top: var(--spacing-md);
        right: var(--spacing-md);
    }
    
    .lightbox-prev {
        left: var(--spacing-md);
    }
    
    .lightbox-next {
        right: var(--spacing-md);
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .carousel-item img {
        width: 120px;
        height: 120px;
    }
    
    /* Sidebar adjustments for mobile */
    .mobile-sidebar {
        width: 80px;
    }
    
    .sidebar-link {
        padding: 0.85rem 0.4rem;
        font-size: 0.65rem;
    }
    
    .sidebar-link i {
        font-size: 1.375rem;
    }
    
    .sidebar-header {
        padding: 0.75rem;
        min-height: 56px;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-120px * 8 - var(--spacing-md) * 8));
        }
    }
    
    .section-title {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 5vw, 3.5rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1.25rem, 3.5vw, 2.5rem);
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .preview-sections .container {
        grid-template-columns: 1fr;
    }
    
    /* Tablet timeline improvements */
    .timeline {
        padding: var(--spacing-md) 0;
    }
    
    .timeline::before {
        left: 30px;
        width: 3px;
    }
    
    .timeline-marker {
        left: 30px;
        width: 20px;
        height: 20px;
        border-width: 4px;
    }
    
    .timeline-content {
        grid-template-columns: 1fr;
        margin-left: 70px;
        padding: var(--spacing-md);
        gap: var(--spacing-md);
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        grid-template-columns: 1fr;
        margin-left: 70px;
    }
    
    .timeline-image {
        height: 280px;
        order: -1;
    }
    
    .timeline-text {
        padding: var(--spacing-sm);
    }
    
    .timeline-title {
        font-size: 1.5rem;
    }
    
    .timeline-description {
        font-size: 0.95rem;
    }
    
    .timeline-item {
        margin-bottom: var(--spacing-lg);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .contact-card {
        padding: var(--spacing-md);
    }
    
    .card-title {
        font-size: 1.25rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 0.95rem;
    }
    
    .file-input-display {
        min-height: 100px;
    }
    
    .file-input-display i {
        font-size: 1.75rem;
    }
    
    .file-input-display .file-text {
        font-size: 0.875rem;
    }
    
    .countdown {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .footer-logo {
        font-size: 1.125rem;
    }
    
    .footer-logo i {
        font-size: 1.375rem;
    }
    
    .footer-col h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-description {
        font-size: 0.8125rem;
    }
    
    .footer-col ul {
        font-size: 0.8125rem;
    }
    
    .contact-list li {
        font-size: 0.8125rem;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        font-size: 0.8125rem;
        padding: 0.5rem 0.625rem;
    }
    
    .footer-bottom {
        font-size: 0.8125rem;
        padding-top: 0.75rem;
    }
}

/* Candidates Carousel Section */
.candidates-carousel {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
    overflow: hidden;
    width: 100%;
}

.candidates-carousel .container {
    max-width: 100%;
    padding: 0;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: var(--spacing-md) 0;
    margin: 0;
}

.carousel-track {
    display: flex;
    gap: var(--spacing-md);
    animation: scroll 30s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-item {
    flex-shrink: 0;
    text-align: center;
    transition: var(--transition-normal);
}

.carousel-item img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-primary);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.carousel-item:hover img {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.carousel-item p {
    margin-top: var(--spacing-xs);
    font-weight: 500;
    color: var(--color-text-dark);
    font-size: 0.875rem;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-150px * 8 - var(--spacing-md) * 8));
    }
}

/* Candidates Section */
.candidates {
    padding: var(--spacing-xl) 0;
    background: var(--color-bg-light);
    position: relative;
    overflow: hidden;
}

/* Decorative background for candidates section */
.candidates::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    top: 20%;
    right: 12%;
    border: 2px solid rgba(244, 180, 26, 0.08);
    border-radius: var(--radius-lg);
    transform: rotate(24deg);
    animation: floatSquare 10s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

/* Grille des photos candidats */
.candidates-photos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    padding: var(--spacing-md) 0;
}

.candidate-photo-card {
    position: relative;
    cursor: pointer;
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: 220px;
    height: 220px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    background: var(--color-white);
    flex-shrink: 0;
}

.candidate-photo-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-gold-lg);
}

.candidate-photo-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.candidate-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.candidate-photo-card:hover .candidate-photo-wrapper img {
    transform: scale(1.08);
}

.candidate-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.7) 40%,
        transparent 100%
    );
    padding: var(--spacing-md);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.375rem;
}

.candidate-photo-card:hover .candidate-photo-overlay {
    opacity: 1;
}

.candidate-number-badge {
    background: var(--gradient-gold);
    color: var(--color-black);
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    align-self: flex-start;
    box-shadow: 0 4px 12px rgba(244, 180, 26, 0.4);
}

.candidate-name-label {
    color: var(--color-white);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.candidates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.candidate-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    background-image: 
        linear-gradient(white, white),
        var(--gradient-gold);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    position: relative;
}

/* Decorative corner pattern */
.candidate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    background: 
        linear-gradient(135deg, rgba(244, 180, 26, 0.15) 0%, transparent 70%);
    border-radius: 0 0 100% 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

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

.candidate-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-gold-lg);
}

.candidate-photo {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--gradient-gold-subtle);
    position: relative;
}

.candidate-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 60%,
        rgba(0, 0, 0, 0.3) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.candidate-card:hover .candidate-photo::after {
    opacity: 1;
}

.candidate-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(0%) brightness(1);
}

.candidate-card:hover .candidate-photo img {
    transform: scale(1.12);
    filter: grayscale(0%) brightness(1.05);
}

.candidate-info {
    padding: var(--spacing-lg);
    text-align: center;
    position: relative;
    z-index: 2;
}

.candidate-number {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--color-black);
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: var(--shadow-gold);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.candidate-card:hover .candidate-number {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(244, 180, 26, 0.5);
}

.candidate-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.25rem;
}

.candidate-city {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.candidate-city i {
    font-size: 0.75rem;
}

/* Candidates Detailed Cards for Home Page */
.candidates-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.candidate-detail-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    background-image: 
        linear-gradient(white, white),
        var(--gradient-gold);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    position: relative;
}

.candidate-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    background: 
        linear-gradient(135deg, rgba(244, 180, 26, 0.15) 0%, transparent 70%);
    border-radius: 0 0 100% 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.candidate-detail-card:hover::before {
    opacity: 1;
}

.candidate-detail-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-gold-lg);
}

.candidate-detail-header {
    position: relative;
    padding: var(--spacing-lg);
    background: var(--gradient-gold-subtle);
}

.candidate-detail-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--color-white);
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.candidate-detail-card:hover .candidate-detail-photo {
    transform: scale(1.05);
    border-color: var(--color-primary);
}

.candidate-detail-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.candidate-detail-card:hover .candidate-detail-photo img {
    transform: scale(1.1);
}

.candidate-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-gold);
    color: var(--color-black);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: var(--shadow-gold);
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.candidate-detail-card:hover .candidate-badge {
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 8px 24px rgba(244, 180, 26, 0.5);
}

.candidate-detail-body {
    padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-lg);
    text-align: center;
}

.candidate-detail-name {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.candidate-detail-location {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(244, 180, 26, 0.15);
}

.candidate-detail-location i {
    font-size: 0.875rem;
    color: var(--color-primary);
}

.candidate-detail-experience {
    text-align: left;
    background: rgba(244, 180, 26, 0.05);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-primary);
}

.candidate-detail-experience h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.candidate-detail-experience h4 i {
    color: var(--color-primary);
    font-size: 0.875rem;
}

.candidate-detail-experience p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-text);
}

/* Animation for detailed cards */
.candidate-detail-card {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.candidate-detail-card:nth-child(1) { animation-delay: 0.1s; }
.candidate-detail-card:nth-child(2) { animation-delay: 0.2s; }
.candidate-detail-card:nth-child(3) { animation-delay: 0.3s; }
.candidate-detail-card:nth-child(4) { animation-delay: 0.1s; }
.candidate-detail-card:nth-child(5) { animation-delay: 0.2s; }
.candidate-detail-card:nth-child(6) { animation-delay: 0.3s; }

/* ============================================
   PROGRAM SECTION STYLES
   ============================================ */

/* Program Section */
.program {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--color-bg-light) 0%, var(--color-white) 50%, var(--color-bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.program::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: var(--gradient-gold-radial);
    border-radius: 50%;
    opacity: 0.3;
    pointer-events: none;
}

.program::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: var(--gradient-gold-radial);
    border-radius: 50%;
    opacity: 0.3;
    pointer-events: none;
}

/* Program Timeline */
.program-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: var(--spacing-md) 0;
}

/* Program Phase */
.program-phase {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.program-phase::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 80px;
    bottom: -60px;
    width: 2px;
    background: linear-gradient(
        180deg,
        var(--color-primary) 0%,
        rgba(244, 180, 26, 0.3) 100%
    );
}

.program-phase:last-child::before {
    display: none;
}

/* Program Phase Icon */
.program-phase-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-phase:hover .program-phase-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-gold-lg);
}

.program-phase-icon i {
    font-size: 2rem;
    color: var(--color-black);
}

/* Program Phase Content */
.program-phase-content {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    background-image: 
        linear-gradient(white, white),
        var(--gradient-gold);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-phase-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: 
        linear-gradient(-135deg, rgba(244, 180, 26, 0.1) 0%, transparent 70%);
    border-radius: 0 var(--radius-lg) 0 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.program-phase:hover .program-phase-content {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.program-phase:hover .program-phase-content::before {
    opacity: 1;
}

/* Program Phase Header */
.program-phase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid rgba(244, 180, 26, 0.15);
}

.program-phase-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin: 0;
}

.program-phase-date {
    background: var(--gradient-gold-subtle);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid rgba(244, 180, 26, 0.2);
}

/* Program Phase Description */
.program-phase-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

/* Program Phase List */
.program-phase-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: var(--spacing-sm);
}

.program-phase-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    font-size: 0.9375rem;
    color: var(--color-text);
    padding: var(--spacing-xs) 0;
}

.program-phase-list li i {
    color: var(--color-primary);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Highlighted Phase (Competition Day) */
.program-phase-highlight .program-phase-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-gold);
    box-shadow: var(--shadow-gold-lg);
}

.program-phase-highlight .program-phase-icon i {
    font-size: 2.5rem;
}

.program-phase-highlight .program-phase-content {
    background-image: 
        linear-gradient(to bottom, rgba(244, 180, 26, 0.08), white),
        var(--gradient-gold);
    border-width: 3px;
}

.program-phase-highlight .program-phase-title {
    color: var(--color-text-dark);
    font-size: 1.75rem;
    font-weight: 700;
}

.program-phase-highlight .program-phase-description {
    color: var(--color-text-dark);
}

.program-phase-highlight .schedule-time {
    color: var(--color-black);
    font-weight: 700;
}

.program-phase-highlight .schedule-activity {
    color: var(--color-text-dark);
    font-weight: 500;
}

/* Program Schedule */
.program-schedule {
    margin-top: var(--spacing-lg);
    background: rgba(244, 180, 26, 0.05);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    border-left: 4px solid var(--color-primary);
}

.schedule-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(244, 180, 26, 0.15);
}

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

.schedule-time {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.9375rem;
}

.schedule-activity {
    color: var(--color-text-dark);
    font-size: 0.9375rem;
}

/* Program CTA */
.program-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: var(--gradient-gold-subtle);
    border-radius: var(--radius-xl);
    border: 2px solid rgba(244, 180, 26, 0.2);
}

.program-cta h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.program-cta p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
}

.program-cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design for Program Section */
@media (max-width: 768px) {
    .program-phase {
        grid-template-columns: 60px 1fr;
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-lg);
    }

    .program-phase::before {
        left: 30px;
        top: 60px;
    }

    .program-phase-icon {
        width: 60px;
        height: 60px;
    }

    .program-phase-icon i {
        font-size: 1.5rem;
    }

    .program-phase-highlight .program-phase-icon {
        width: 70px;
        height: 70px;
    }

    .program-phase-highlight .program-phase-icon i {
        font-size: 1.75rem;
    }

    .program-phase-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .program-phase-title {
        font-size: 1.25rem;
    }

    .program-phase-highlight .program-phase-title {
        font-size: 1.5rem;
    }

    .program-phase-date {
        padding: 0.375rem 0.875rem;
        font-size: 0.8125rem;
    }

    .program-schedule {
        padding: var(--spacing-sm);
    }

    .schedule-item {
        grid-template-columns: 1fr;
        gap: var(--spacing-xs);
    }

    .schedule-time {
        font-size: 0.875rem;
    }

    .schedule-activity {
        font-size: 0.875rem;
        padding-left: var(--spacing-sm);
    }

    .program-cta {
        padding: var(--spacing-lg);
    }

    .program-cta h3 {
        font-size: 1.5rem;
    }

    .program-cta p {
        font-size: 1rem;
    }

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

    .program-cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .program {
        padding: var(--spacing-md) 0;
    }

    .program::before,
    .program::after {
        width: 250px;
        height: 250px;
        opacity: 0.2;
    }

    .program-timeline {
        padding: 0;
    }

    .program-phase {
        grid-template-columns: 45px 1fr;
        gap: var(--spacing-sm);
        margin-bottom: var(--spacing-md);
    }

    .program-phase::before {
        left: 22px;
        top: 45px;
        bottom: -40px;
        width: 1px;
    }

    .program-phase-icon {
        width: 45px;
        height: 45px;
    }

    .program-phase-icon i {
        font-size: 1.125rem;
    }

    .program-phase-highlight .program-phase-icon {
        width: 55px;
        height: 55px;
    }

    .program-phase-highlight .program-phase-icon i {
        font-size: 1.375rem;
    }

    .program-phase-content {
        padding: var(--spacing-sm) var(--spacing-sm) var(--spacing-md);
        border-width: 1px;
    }

    .program-phase-content::before {
        width: 40px;
        height: 40px;
    }

    .program-phase-header {
        margin-bottom: var(--spacing-sm);
        padding-bottom: var(--spacing-sm);
        gap: var(--spacing-sm);
    }

    .program-phase-title {
        font-size: 1rem;
        line-height: 1.3;
    }

    .program-phase-highlight .program-phase-title {
        font-size: 1.125rem;
    }

    .program-phase-date {
        padding: 0.25rem 0.625rem;
        font-size: 0.75rem;
        align-self: flex-start;
    }

    .program-phase-description {
        font-size: 0.875rem;
        line-height: 1.5;
        margin-bottom: var(--spacing-sm);
    }

    .program-phase-list {
        gap: var(--spacing-xs);
    }

    .program-phase-list li {
        font-size: 0.8125rem;
        padding: 0.25rem 0;
        line-height: 1.4;
    }

    .program-phase-list li i {
        font-size: 0.75rem;
        margin-top: 0.125rem;
    }

    .program-schedule {
        padding: var(--spacing-sm);
        margin-top: var(--spacing-md);
        border-left-width: 3px;
    }

    .schedule-item {
        padding: var(--spacing-xs) 0;
    }

    .schedule-time {
        font-size: 0.8125rem;
        font-weight: 700;
    }

    .schedule-activity {
        font-size: 0.8125rem;
        padding-left: 0;
        margin-top: 0.125rem;
    }

    .program-cta {
        padding: var(--spacing-md);
        margin-top: var(--spacing-lg);
        border-radius: var(--radius-lg);
    }

    .program-cta h3 {
        font-size: 1.125rem;
        margin-bottom: 0.375rem;
    }

    .program-cta p {
        font-size: 0.875rem;
        margin-bottom: var(--spacing-md);
        line-height: 1.5;
    }

    .program-cta-buttons .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    /* Reduce section header spacing on mobile */
    .program .section-header {
        margin-bottom: var(--spacing-md);
    }

    .program .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .program .section-description {
        font-size: 0.875rem;
        margin-bottom: var(--spacing-md);
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .program-phase {
        grid-template-columns: 40px 1fr;
        gap: 0.5rem;
    }

    .program-phase::before {
        left: 20px;
    }

    .program-phase-icon {
        width: 40px;
        height: 40px;
    }

    .program-phase-icon i {
        font-size: 1rem;
    }

    .program-phase-highlight .program-phase-icon {
        width: 50px;
        height: 50px;
    }

    .program-phase-highlight .program-phase-icon i {
        font-size: 1.25rem;
    }

    .program-phase-content {
        padding: 0.625rem;
    }

    .program-phase-title {
        font-size: 0.9375rem;
    }

    .program-phase-highlight .program-phase-title {
        font-size: 1.0625rem;
    }

    .program-phase-description {
        font-size: 0.8125rem;
    }

    .program-phase-list li {
        font-size: 0.75rem;
    }
}

/* Modal Professionnel pour les Candidats */
.candidate-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.candidate-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.candidate-modal {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Cacher la scrollbar mais garder le scroll */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE et Edge */
}

.candidate-modal::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.candidate-modal-overlay.active .candidate-modal {
    transform: scale(1) translateY(0);
}

.candidate-modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: var(--color-white);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.candidate-modal-close:hover {
    background: rgba(244, 180, 26, 0.9);
    color: var(--color-black);
    transform: rotate(90deg);
}

/* En-tête du modal avec logo FESTICS - Design épuré */
.candidate-modal-header {
    position: relative;
    background: linear-gradient(135deg, #8B4513 0%, #654321 100%);
    padding: var(--spacing-md);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    text-align: center;
}

.modal-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-md);
    margin: 0 auto var(--spacing-sm);
}

.modal-header-text h3 {
    color: var(--color-white);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.modal-header-text p {
    color: var(--color-primary);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Photo du candidat dans le modal - Grande et complètement visible */
.candidate-modal-photo {
    position: relative;
    background: linear-gradient(135deg, rgba(244, 180, 26, 0.08) 0%, rgba(139, 69, 19, 0.08) 100%);
    padding: var(--spacing-xl);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.candidate-modal-photo img {
    width: 100%;
    max-width: 320px;
    height: 380px;
    border-radius: var(--radius-lg);
    object-fit: contain;
    object-position: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border: 4px solid var(--color-white);
    background: var(--color-white);
}

.modal-candidate-badge {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--color-black);
    padding: 0.625rem 1.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: var(--spacing-lg);
    box-shadow: 0 6px 20px rgba(244, 180, 26, 0.4);
}

/* Corps du modal - Design carte moderne */
.candidate-modal-body {
    padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-lg);
}

.modal-candidate-name {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    background: linear-gradient(135deg, #8B4513 0%, #654321 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-info-section {
    background: var(--color-white);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.modal-info-section:last-child {
    margin-bottom: 0;
}

.modal-info-section h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-info-section h4::before {
    content: '';
    width: 4px;
    height: 16px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.modal-info-section p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--color-text);
    font-weight: 400;
}

/* Pied de page du modal - Signature discrète */
.candidate-modal-footer {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.03) 0%, rgba(244, 180, 26, 0.03) 100%);
    padding: var(--spacing-md);
    text-align: center;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.candidate-modal-footer p {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin: 0;
    font-weight: 500;
}

/* Partner Type Selection */
.partner-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.partner-type-option {
    position: relative;
}

.partner-type-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.partner-type-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-md);
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
}

.partner-type-label i {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-primary);
}

.partner-type-label span {
    font-weight: 500;
    color: var(--color-text-dark);
}

.partner-type-option input[type="radio"]:checked + .partner-type-label {
    border-color: var(--color-primary);
    background: rgba(244, 180, 26, 0.1);
}

.partner-type-label:hover {
    border-color: var(--color-primary-light);
}


@media (max-width: 480px) {
    /* Mobile timeline - professional vertical layout */
    .timeline {
        padding: var(--spacing-sm) 0;
    }
    
    .timeline::before {
        left: 20px;
        width: 2px;
    }
    
    .timeline-marker {
        left: 20px;
        width: 16px;
        height: 16px;
        border-width: 3px;
    }
    
    .timeline-marker::before {
        display: none;
    }
    
    .timeline-content {
        margin-left: 50px;
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
        border-radius: var(--radius-lg);
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50px;
    }
    
    .timeline-image {
        height: 220px;
        border-radius: var(--radius-md);
        order: -1;
    }
    
    .timeline-text {
        padding: var(--spacing-xs);
    }
    
    .timeline-year {
        font-size: 0.75rem;
        padding: 0.25rem 0.75rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .timeline-title {
        font-size: 1.25rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .timeline-description {
        font-size: 0.875rem;
        line-height: 1.6;
    }
    
    .timeline-item {
        margin-bottom: var(--spacing-md);
    }
    
    .timeline-content::before {
        display: none;
    }
    
    /* Extra small screen optimizations */
    .preview-card,
    .contact-card,
    .candidate-card {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .candidates-photos-grid {
        gap: var(--spacing-md);
    }
    
    .candidate-photo-card {
        width: 160px;
        height: 160px;
    }
    
    .candidate-number-badge {
        font-size: 0.6875rem;
        padding: 0.3rem 0.7rem;
    }
    
    .candidate-name-label {
        font-size: 0.8125rem;
    }
    
    .candidate-modal {
        border-radius: var(--radius-lg);
        max-height: 95vh;
        margin: var(--spacing-sm);
    }
    
    .candidate-modal-header {
        padding: var(--spacing-lg) var(--spacing-md);
        flex-direction: column;
        text-align: center;
    }
    
    .modal-logo {
        width: 45px;
        height: 45px;
    }
    
    .modal-header-text h3 {
        font-size: 0.9375rem;
    }
    
    .modal-header-text p {
        font-size: 0.75rem;
    }
    
    .candidate-modal-photo {
        padding: var(--spacing-lg) var(--spacing-md) 0;
    }
    
    .candidate-modal-photo {
        padding: var(--spacing-md);
    }
    
    .candidate-modal-photo img {
        max-width: 260px;
        height: 320px;
    }
    
    .modal-candidate-name {
        font-size: 1.625rem;
    }
    
    .modal-info-section {
        padding: var(--spacing-md);
    }
    
    .modal-info-section h4 {
        font-size: 0.75rem;
    }
    
    .modal-info-section p {
        font-size: 0.9375rem;
    }
    
    .modal-candidate-badge {
        font-size: 0.8125rem;
        padding: 0.4rem 1.2rem;
    }
    
    .candidate-modal-body {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .modal-candidate-name {
        font-size: 1.375rem;
    }
    
    .modal-info-section {
        padding: var(--spacing-md);
    }
    
    .modal-info-section h4 {
        font-size: 0.9375rem;
    }
    
    .modal-info-section p {
        font-size: 0.9375rem;
    }
    
    .candidate-modal-footer {
        padding: var(--spacing-md);
    }
    
    .candidates-detailed-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .candidate-detail-header {
        padding: var(--spacing-md);
    }
    
    .candidate-detail-photo {
        width: 140px;
        height: 140px;
    }
    
    .candidate-detail-body {
        padding: var(--spacing-lg) var(--spacing-md) var(--spacing-md);
    }
    
    .candidate-detail-name {
        font-size: 1.125rem;
    }
    
    .candidate-detail-location {
        font-size: 0.875rem;
    }
    
    .candidate-detail-experience {
        padding: var(--spacing-sm);
    }
    
    .candidate-detail-experience h4 {
        font-size: 0.875rem;
    }
    
    .candidate-detail-experience p {
        font-size: 0.875rem;
    }
    
    .sponsor-card {
        padding: var(--spacing-md);
        min-height: 180px;
    }
    
    .preview-icon,
    .card-icon {
        width: 50px;
        height: 50px;
    }
    
    .preview-icon i,
    .card-icon i {
        font-size: 1.375rem;
    }
    
    .preview-title,
    .card-title {
        font-size: 1.125rem;
    }
    
    .preview-text,
    .card-description {
        font-size: 0.875rem;
    }
    
    .sponsor-logo {
        padding: var(--spacing-sm);
    }
    
    .sponsor-logo img {
        max-height: 120px;
    }
    
    .candidate-photo {
        height: 220px;
    }
    
    .candidate-number {
        font-size: 0.75rem;
        padding: 0.25rem 0.75rem;
    }
    
    .candidate-name {
        font-size: 1.125rem;
    }
    
    /* Hide most decorative elements on very small screens */
    .section-title::before,
    .section-title::after {
        width: 40px;
        height: 40px;
        opacity: 0.6;
    }
    
    .preview-card::before,
    .preview-card::after,
    .sponsor-card::after {
        display: none;
    }
    
    .gallery::before,
    .gallery::after,
    .about::before,
    .history::before,
    .history::after,
    .contact::before,
    .sponsors::before,
    .sponsors::after,
    .candidates::before {
        display: none;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .gallery-item img,
    .gallery-item .gallery-video {
        min-height: 220px;
    }
    
    .filter-btn {
        padding: 0.625rem 1rem;
        font-size: 0.8125rem;
    }
    
    .gallery-overlay i {
        font-size: 2rem;
    }
    
    .video-label {
        font-size: 0.8125rem;
    }
    
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 44px;
        height: 44px;
        font-size: 1.125rem;
    }
    
    .lightbox-close {
        top: var(--spacing-sm);
        right: var(--spacing-sm);
    }
    
    .lightbox-prev {
        left: var(--spacing-sm);
    }
    
    .lightbox-next {
        right: var(--spacing-sm);
    }
    
    /* Video Hero Extra Small Screens */
    .video-hero {
        padding: var(--spacing-md) 0;
    }

    .video-container {
        padding: 0 var(--spacing-xs);
    }

    .video-wrapper {
        border-radius: var(--radius-md);
    }

    .video-play-btn {
        width: 65px;
        height: 65px;
        font-size: 1.4rem;
    }

    .video-overlay-text h3 {
        font-size: 1.15rem;
        padding: 0 var(--spacing-xs);
    }

    .video-overlay-text p {
        font-size: 0.8rem;
    }

    .video-controls {
        padding: 0.5rem 0.5rem 0.625rem;
        gap: 0.375rem;
    }

    .video-control-btn {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 0.75rem;
        border-radius: 6px;
    }

    .video-progress-container {
        height: 5px;
        margin: 0 0.125rem;
    }

    .video-progress-filled::after {
        width: 10px;
        height: 10px;
    }

    /* Smaller sidebar on very small screens */
    .mobile-sidebar {
        width: 72px;
    }
    
    .sidebar-link {
        padding: 0.7rem 0.25rem;
        font-size: 0.575rem;
    }
    
    .sidebar-link i {
        font-size: 1.2rem;
    }
    
    .sidebar-close {
        width: 36px;
        height: 36px;
        padding: 0.4rem;
    }
    
    .sidebar-close i {
        font-size: 1.125rem;
    }
    
    .menu-toggle {
        width: 36px;
        height: 36px;
    }
    
    .menu-toggle i {
        font-size: 1.35rem;
    }
    
    .sidebar-header {
        padding: 0.625rem;
        min-height: 52px;
    }
}

/* Landscape mode adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .mobile-sidebar {
        width: 70px;
    }
    
    .sidebar-link {
        padding: 0.6rem 0.3rem;
        font-size: 0.55rem;
    }
    
    .sidebar-link i {
        font-size: 1.125rem;
    }
    
    .sidebar-nav {
        padding: 1rem 0;
        gap: 0.25rem;
    }
}

@media (min-width: 1025px) {
    .mobile-sidebar,
    .sidebar-overlay {
        display: none !important;
    }
}

/* ============================================
   Section Comité d'Organisation
   ============================================ */

.committee-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-bg-light);
    position: relative;
    overflow: hidden;
}

.committee-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: var(--gradient-gold-radial);
    opacity: 0.3;
    pointer-events: none;
}

.committee-triangle {
    margin-top: var(--spacing-xl);
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
}

.committee-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid var(--color-primary);
    background: var(--color-white);
}

.committee-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(244, 180, 26, 0.4);
}

.committee-card.patron {
    width: 100%;
    max-width: 350px;
}

.committee-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

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

.committee-members {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    width: 100%;
    max-width: 750px;
}

.committee-members .committee-card {
    width: 100%;
}

/* Responsive - Maintenir le triangle sur mobile */
@media (max-width: 768px) {
    .committee-triangle {
        gap: var(--spacing-md);
    }
    
    .committee-card.patron {
        max-width: 250px;
    }
    
    .committee-members {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
        max-width: 550px;
    }
}

@media (max-width: 480px) {
    .committee-card.patron {
        max-width: 180px;
    }
    
    .committee-members {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
        max-width: 400px;
    }
}

@media (max-width: 380px) {
    .committee-card.patron {
        max-width: 150px;
    }
    
    .committee-members {
        gap: 0.5rem;
        max-width: 330px;
    }
}

/* ============================================
   GALLERY ENHANCEMENTS - EDITION TABS
   ============================================ */

/* Edition Tabs Container */
.edition-tabs {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    padding: 0;
}

/* Individual Edition Tab */
.edition-tab {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--color-white);
    border: 3px solid rgba(244, 180, 26, 0.3);
    border-radius: var(--radius-lg);
    color: var(--color-text-dark);
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 200px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.edition-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-gold-subtle);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.edition-tab:hover::before {
    opacity: 1;
}

.edition-tab:hover {
    transform: translateY(-6px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-gold-lg);
}

.edition-tab.active {
    background: var(--gradient-gold);
    border-color: var(--color-primary-dark);
    color: var(--color-black);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(244, 180, 26, 0.5);
}

.edition-tab.active::before {
    opacity: 0;
}

.edition-year {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

.edition-tab.active .edition-year {
    font-size: 2.25rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.edition-label {
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.75;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    z-index: 1;
}

.edition-tab.active .edition-label {
    opacity: 1;
    font-weight: 700;
}

/* Improve existing filter buttons */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    padding: var(--spacing-sm);
    background: rgba(244, 180, 26, 0.05);
    border-radius: var(--radius-lg);
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.75rem;
    background: var(--color-white);
    border: 2px solid rgba(244, 180, 26, 0.2);
    border-radius: var(--radius-md);
    color: var(--color-text-dark);
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
    transform: translateY(-2px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, rgba(244, 180, 26, 0.08) 0%, var(--color-white) 100%);
}

.filter-btn.active {
    background: var(--gradient-gold);
    border-color: var(--color-primary-dark);
    color: var(--color-black);
    box-shadow: var(--shadow-gold);
}

.filter-btn i {
    font-size: 1.125rem;
    transition: transform 0.3s ease;
}

.filter-btn:hover i {
    transform: scale(1.15);
}

.filter-btn.active i {
    transform: scale(1.2) rotate(5deg);
}

.filter-btn span {
    letter-spacing: 0.03em;
}

/* ============================================
   HOME GALLERY PREVIEW SECTION
   ============================================ */

.home-gallery-preview {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--color-bg-light) 0%, var(--color-white) 50%, var(--color-bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.home-gallery-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.home-gallery-preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

/* Gallery Preview Grid - Masonry Style */
.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.gallery-preview-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(244, 180, 26, 0.1);
    aspect-ratio: 1 / 1;
}

.gallery-preview-large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 1 / 1;
}

.gallery-preview-tall {
    grid-row: span 2;
    aspect-ratio: 1 / 2;
}

.gallery-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-preview-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold-lg);
    border-color: var(--color-primary);
}

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

.gallery-preview-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--spacing-md);
    opacity: 0;
    transition: opacity 0.4s ease;
    color: var(--color-white);
}

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

.gallery-preview-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--color-primary);
    color: var(--color-black);
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(244, 180, 26, 0.4);
}

.gallery-preview-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    transform: translateY(10px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-preview-item:hover .gallery-preview-overlay h3 {
    transform: translateY(0);
}

.gallery-preview-overlay p {
    font-size: 0.875rem;
    opacity: 0.9;
    line-height: 1.5;
    transform: translateY(10px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.05s;
}

.gallery-preview-item:hover .gallery-preview-overlay p {
    transform: translateY(0);
}

.gallery-preview-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-large i {
    font-size: 1.25rem;
}

/* ============================================
   CANDIDATES STATS SECTION
   ============================================ */

.candidates-stats {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.candidates-stats::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(244, 180, 26, 0.1);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.stats-container {
    max-width: 900px;
    margin: 0 auto var(--spacing-lg);
}

.stat-card {
    background: var(--color-white);
    border: 2px solid rgba(244, 180, 26, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-gold-subtle);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

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

.stat-card-large {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-xl);
}

.stat-icon {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold-lg);
    position: relative;
    z-index: 1;
}

.stat-icon i {
    font-size: 3.5rem;
    color: var(--color-black);
}

.stat-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 8vw, 5rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-description {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.stat-icon-small {
    width: 60px;
    height: 60px;
    background: rgba(244, 180, 26, 0.1);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.stat-card:hover .stat-icon-small {
    background: var(--color-primary);
    transform: scale(1.1);
}

.stat-icon-small i {
    font-size: 1.75rem;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.stat-card:hover .stat-icon-small i {
    color: var(--color-black);
}

.stat-number-small {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 1;
}

.stat-label-small {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text-dark);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}

.candidates-cta {
    text-align: center;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(244, 180, 26, 0.05) 0%, rgba(244, 180, 26, 0.1) 100%);
    border-radius: var(--radius-xl);
    border: 2px solid rgba(244, 180, 26, 0.2);
}

.candidates-cta p {
    font-size: 1.25rem;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

/* Counter animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number.animated {
    animation: countUp 0.8s ease-out;
}

/* ============================================
   RESPONSIVE STYLES - GALLERY ENHANCEMENTS
   ============================================ */

@media (max-width: 1024px) {
    .edition-tabs {
        gap: var(--spacing-sm);
    }
    
    .edition-tab {
        padding: var(--spacing-sm) var(--spacing-lg);
        min-width: 160px;
    }
    
    .edition-year {
        font-size: 1.75rem;
    }
    
    .edition-tab.active .edition-year {
        font-size: 2rem;
    }
    
    .edition-label {
        font-size: 0.8125rem;
    }
    
    .filter-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .filter-btn i {
        font-size: 1rem;
    }
    
    .gallery-preview-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-preview-large {
        grid-column: span 2;
        grid-row: span 2;
    }
}

@media (max-width: 768px) {
    .edition-tabs {
        gap: var(--spacing-xs);
        flex-direction: column;
        align-items: stretch;
    }
    
    .edition-tab {
        padding: var(--spacing-md);
        min-width: auto;
        border-width: 2px;
    }
    
    .edition-year {
        font-size: 1.5rem;
    }
    
    .edition-tab.active .edition-year {
        font-size: 1.75rem;
    }
    
    .edition-label {
        font-size: 0.75rem;
    }
    
    .gallery-filters {
        padding: var(--spacing-xs);
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.625rem 1rem;
        font-size: 0.8125rem;
        gap: 0.375rem;
    }
    
    .filter-btn i {
        font-size: 0.9375rem;
    }
    
    .filter-btn span {
        display: none;
    }
    
    .gallery-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .gallery-preview-large {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 16 / 9;
    }
    
    .gallery-preview-tall {
        grid-row: span 1;
        aspect-ratio: 1 / 1;
    }
    
    .gallery-preview-overlay {
        padding: var(--spacing-sm);
    }
    
    .gallery-preview-overlay h3 {
        font-size: 1rem;
    }
    
    .gallery-preview-overlay p {
        font-size: 0.8125rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .edition-tabs {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .edition-tab {
        padding: var(--spacing-sm);
        min-width: auto;
    }
    
    .edition-year {
        font-size: 1.375rem;
    }
    
    .edition-tab.active .edition-year {
        font-size: 1.5rem;
    }
    
    .edition-label {
        font-size: 0.6875rem;
    }
    
    .filter-btn {
        padding: 0.5rem 0.75rem;
    }
    
    .filter-btn i {
        font-size: 0.875rem;
    }
    
    .gallery-preview-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .gallery-preview-large,
    .gallery-preview-tall {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 4 / 3;
    }
    
    .gallery-preview-item {
        aspect-ratio: 4 / 3;
    }
    
    .btn-large {
        padding: 0.875rem 1.75rem;
        font-size: 0.9375rem;
    }
    
    .btn-large i {
        font-size: 1.125rem;
    }
}

/* ============================================
   RESPONSIVE - CANDIDATES STATS
   ============================================ */

@media (max-width: 768px) {
    .stat-card-large {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-lg);
    }
    
    .stat-icon {
        width: 100px;
        height: 100px;
    }
    
    .stat-icon i {
        font-size: 3rem;
    }
    
    .stat-number {
        font-size: clamp(3rem, 10vw, 4rem);
    }
    
    .stat-label {
        font-size: 1.25rem;
    }
    
    .stat-description {
        font-size: 0.9375rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
    }
    
    .candidates-cta p {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .candidates-stats {
        padding: var(--spacing-lg) 0;
    }
    
    .stat-card-large {
        padding: var(--spacing-md);
    }
    
    .stat-icon {
        width: 80px;
        height: 80px;
    }
    
    .stat-icon i {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: clamp(2.5rem, 12vw, 3.5rem);
    }
    
    .stat-label {
        font-size: 1.125rem;
    }
    
    .stat-description {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 1rem 0.5rem;
    }
    
    .stat-icon-small {
        width: 45px;
        height: 45px;
        margin-bottom: 0.5rem;
    }
    
    .stat-icon-small i {
        font-size: 1.25rem;
    }
    
    .stat-number-small {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }
    
    .stat-label-small {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    .candidates-cta {
        padding: var(--spacing-md);
    }
    
    .candidates-cta p {
        font-size: 1rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem !important;
        font-size: 1rem !important;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .stat-number-small {
        font-size: 1.25rem;
    }
    
    .stat-label-small {
        font-size: 0.6875rem;
    }
    
    .stat-icon-small {
        width: 40px;
        height: 40px;
    }
    
    .stat-icon-small i {
        font-size: 1.125rem;
    }
    
    .stats-grid {
        gap: 0.5rem;
    }
}