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

/* Performance and portability optimizations */
:root {
    --primary-blue: #1a3a5c;
    --primary-blue-dark: #0f2538;
    --primary-blue-light: #2d5a8a;
    --accent-blue: #4a90c2;
    --accent-gold: #c29b4a;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-white: #ffffff;
    --bg-light: #f5f7fa;
    --border-color: #d0d8e0;
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease-out;
    --font-serif: 'Libre Baskerville', serif;
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --primary-red: var(--primary-blue);
    --primary-red-dark: var(--primary-blue-dark);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1;
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-blue-light);
    border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

.registration-closed-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a365d 0%, #2d4a6f 100%);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 24px;
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
    padding-top: max(24px, env(safe-area-inset-top));
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    overflow: auto;
}

.registration-closed-content {
    width: 100%;
    max-width: 680px;
    text-align: center;
    color: #ffffff;
    padding: clamp(20px, 4vw, 44px);
}

.registration-closed-title {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 4.5vw, 2.4rem);
    line-height: 1.15;
    margin-bottom: 16px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.registration-closed-text {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 2.6vw, 1.2rem);
    line-height: 1.6;
    margin: 0 auto 24px;
    max-width: 60ch;
}

.registration-closed-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #1a365d;
    padding: 14px 32px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s;
    min-height: 48px;
    max-width: 100%;
}

.registration-closed-button:hover {
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .registration-closed-overlay {
        padding: 18px;
        padding-left: max(18px, env(safe-area-inset-left));
        padding-right: max(18px, env(safe-area-inset-right));
        padding-top: max(18px, env(safe-area-inset-top));
        padding-bottom: max(18px, env(safe-area-inset-bottom));
    }

    .registration-closed-content {
        padding: 16px;
    }

    .registration-closed-button {
        width: 100%;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background-color: transparent;
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-fast);
    will-change: background-color, box-shadow;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
}

.navbar .nav-menu a {
    color: white;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 1px;
    font-family: var(--font-serif);
}

.navbar.scrolled .nav-menu a {
    color: var(--text-dark);
}

.navbar .logo-text {
    display: none;
}

.navbar.scrolled .logo-text {
    color: var(--primary-blue);
}


.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    transition: var(--transition);
}

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    display: block;
}

.secretariat-detail {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-top: 2rem;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
}

.secretariat-detail-photo-wrapper {
    flex-shrink: 0;
}

.secretariat-detail-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
}

.secretariat-detail-content h2 {
    font-family: var(--font-serif);
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.secretariat-detail-role {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.secretariat-detail-email a {
    color: var(--primary-blue);
    text-decoration: none;
}

.secretariat-detail-email a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .secretariat-detail {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.logo-img[src=""],
.logo-img:not([src]) {
    display: none;
}

.logo-text {
    display: none;
}

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

.nav-logo a:hover .logo-text {
    color: var(--primary-blue-dark);
}

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

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.nav-menu a::after {
    display: none;
}

.nav-menu a:hover {
    opacity: 0.7;
}

.dropdown {
    position: relative;
}

.dropdown-arrow {
    display: none;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(26, 58, 92, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    list-style: none;
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) translateZ(0);
    transition: var(--transition-fast);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    border-radius: 4px;
    z-index: 1001;
    will-change: opacity, transform;
}

.navbar.scrolled .dropdown-menu {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: white !important;
    transition: var(--transition);
    text-transform: none;
    font-size: 0.85rem;
    font-family: var(--font-serif);
    position: relative;
    z-index: 1002;
}

.navbar.scrolled .dropdown-menu a {
    color: var(--text-dark) !important;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    opacity: 1;
}

.navbar.scrolled .dropdown-menu a:hover {
    background-color: var(--bg-light);
}

.lang-switch {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    margin-left: 1rem;
    transition: var(--transition);
}

.lang-switch:hover {
    background: var(--primary-blue-dark);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    padding: 6rem 20px 4rem;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide.zoom {
    animation: zoomIn 8s ease-out forwards;
}

@keyframes zoomIn {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(90, 60, 80, 0.55) 0%, rgba(60, 50, 70, 0.45) 50%, rgba(40, 40, 60, 0.5) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

.hero-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.hero-logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.3));
    transition: var(--transition);
}

.hero-logo-img:hover {
    transform: scale(1.05);
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    font-style: italic;
    opacity: 0.9;
    letter-spacing: 1px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-tagline {
    font-size: 0.95rem;
    font-style: italic;
    max-width: 650px;
    margin: 1rem auto 0;
    opacity: 0.85;
    line-height: 1.5;
}

.hero-dates {
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-dates p {
    margin: 0.3rem 0;
}

.registration-section {
    background-color: var(--bg-white);
    padding: 5rem 20px;
    text-align: center;
}

.registration-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
}

.registration-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Countdown Section */
.countdown-section {
    background-color: var(--primary-blue);
    background-image: 
        url('img/signature.png') no-repeat center center,
        url('img/mun2026 logo.PNG') no-repeat center center,
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.025) 0%, transparent 50%),
        linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.01) 50%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255, 255, 255, 0.01) 50%, transparent 52%);
    background-size: 45% auto, 25% auto, 100% 100%, 100% 100%, 100% 100%, 20px 20px, 20px 20px;
    background-position: center, center, center, center, center, 0 0, 0 0;
    background-repeat: no-repeat, no-repeat, repeat, repeat, repeat, repeat, repeat;
    padding: 1rem 20px;
    text-align: center;
    position: relative;
}

.countdown-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(26, 58, 92, 0.88), rgba(26, 58, 92, 0.88));
    z-index: 1;
    pointer-events: none;
}

.countdown-section > .container {
    position: relative;
    z-index: 2;
}

.countdown-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: white;
    margin-bottom: 0.75rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.countdown-item {
    text-align: center;
    min-width: 60px;
}

.countdown-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.countdown-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.limited-spots {
    margin-bottom: 2rem;
}

.spots-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.spots-text strong {
    color: var(--accent-gold);
    font-size: 1.3rem;
}

.countdown-section .registration-buttons {
    margin-top: 0;
}

.countdown-section .btn-outline {
    border-color: white;
    color: white;
}

.countdown-section .btn-outline:hover {
    background-color: white;
    color: var(--primary-blue);
}

.countdown-section .btn-primary {
    background-color: white;
    border-color: white;
    color: var(--primary-blue);
}

.countdown-section .btn-primary:hover {
    background-color: var(--bg-light);
    border-color: var(--bg-light);
}

/* Registration Closed Message */
.registration-closed-message {
    max-width: 400px;
    margin: 0 auto;
    color: white;
}

.closed-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.registration-closed-message h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: white;
}

.registration-closed-message p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.event-highlights {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 0.75rem 0;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.highlight-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
}

.highlight-label {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.3rem;
}

.stay-updated {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.stay-updated h4 {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    color: white;
}

.stay-updated p {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    color: white;
}

@media (max-width: 768px) {
    .countdown-title {
        font-size: 1.8rem;
    }

    .countdown-timer {
        gap: 1rem;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .countdown-section .registration-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Registration Closed Message Mobile Styles */
    .registration-closed-message {
        padding: 0 0.25rem;
    }

    .closed-icon {
        font-size: 1.3rem;
    }

    .registration-closed-message h3 {
        font-size: 1rem;
    }

    .registration-closed-message p {
        font-size: 0.8rem;
    }

    .event-highlights {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem 0;
    }

    .highlight-number {
        font-size: 1.2rem;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 0.4rem;
    }

    .social-link {
        width: 100%;
        max-width: 150px;
        justify-content: center;
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
    }
}

/* ==========================================
   SPEAKERS SHOWCASE SECTION
   ========================================== */
.speakers-section {
    position: relative;
    background: #ffffff;
    padding: 5rem 0;
    text-align: center;
    overflow: hidden;
}

.speakers-bg-glow {
    display: none; /* Remove blue glow */
}

.speakers-bg-glow {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background:
        radial-gradient(ellipse 600px 400px at 20% 30%, rgba(74, 144, 194, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 500px 350px at 80% 70%, rgba(194, 155, 74, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 400px 400px at 50% 50%, rgba(74, 144, 194, 0.05) 0%, transparent 60%);
    animation: speakerGlowDrift 12s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes speakerGlowDrift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -20px) scale(1.05); }
}

.speakers-section > .container {
    position: relative;
    z-index: 1;
}

.speakers-section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.speakers-section-subtitle {
    font-size: 1rem;
    color: var(--text-dark);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

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

.speakers-section-title {
    text-align: center;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-blue);
}

/* Walking Line (Marquee) Wrapper */
.speakers-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 0;
    position: relative;
}

.speakers-carousel-track-container {
    width: 100%;
    overflow: hidden;
}

.speakers-carousel-track {
    display: flex;
    white-space: nowrap;
    animation: walkingLine 60s linear infinite; /* Slower for larger posters */
    width: max-content;
    align-items: center;
}

@keyframes walkingLine {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* Speaker Card - Full Poster Style */
.speaker-card {
    min-width: clamp(260px, 60vw, 380px); /* Smooth scaling on all screens */
    width: clamp(260px, 60vw, 380px);
    padding: 0 clamp(8px, 2vw, 15px);
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
}

.speaker-card-inner {
    background: transparent;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    height: auto;
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
    pointer-events: none; /* Make element practically untouchable */
}

.speaker-img-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4; /* Keeps poster proportions perfect on any device */
    max-height: 540px;
    position: relative;
    overflow: hidden;
}

.speaker-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Full size, no crop */
    background: #f8f9fa; /* Light grey for padding if aspect ratios differ */
    transition: filter 0.5s ease;
}

.speaker-info {
    display: none; /* Removed as names are in images */
}

/* Hide Navigation Controls */
.speakers-nav, .speakers-dots {
    display: none !important;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .speaker-card {
        min-width: clamp(220px, 75vw, 280px); /* Fill phone screen nicely */
        width: clamp(220px, 75vw, 280px);
    }
    .speakers-section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        margin-bottom: 2rem;
    }
}

/* Navigation Arrows */
.speakers-nav {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.speakers-nav:hover {
    background: rgba(194, 155, 74, 0.2);
    border-color: rgba(194, 155, 74, 0.4);
    transform: scale(1.08);
}

.speakers-nav:active {
    transform: scale(0.95);
}

/* Dots */
.speakers-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2.5rem;
}

.speakers-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 0;
}

.speakers-dot.active {
    background: var(--accent-gold);
    box-shadow: 0 0 12px rgba(194, 155, 74, 0.5);
    transform: scale(1.25);
}

.speakers-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.45);
    transform: scale(1.15);
}

/* Responsive: Tablet */
@media (max-width: 992px) {
    .speaker-card {
        min-width: 50%;
    }

    .speakers-section {
        padding: 4rem 20px;
    }

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

/* Responsive: Mobile */
@media (max-width: 640px) {
    .speaker-card {
        min-width: 100%;
    }

    .speakers-section {
        padding: 3rem 15px;
    }

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

    .speakers-section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .speakers-nav {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .speakers-carousel-wrapper {
        gap: 0.5rem;
    }

    .speaker-card {
        padding: 0 6px;
    }

    .speaker-info {
        padding: 1rem 0.75rem 1.25rem;
    }

    .speaker-name {
        font-size: 1rem;
    }
}

.btn-outline {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 2px solid var(--text-dark);
    border-radius: 50px;
    color: var(--text-dark);
    text-decoration: none;
    font-family: var(--font-serif);
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--text-dark);
    color: white;
}

.registration-banner {
    background-color: rgba(255, 255, 255, 0.96);
    color: var(--text-dark);
    padding: 2.25rem;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.registration-banner h2 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
}

.registration-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--font-serif);
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition-fast);
    border: 2px solid var(--primary-blue);
    animation: popupPulse 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(26, 58, 92, 0.3);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    will-change: transform, box-shadow;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn-primary:hover {
    background-color: var(--primary-blue-dark);
    border-color: var(--primary-blue-dark);
    transform: translateY(-3px) scale(1.05) translateZ(0);
    box-shadow: 0 8px 25px rgba(26, 58, 92, 0.4);
    animation: none;
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: transparent;
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--font-serif);
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: white;
}

@keyframes popupPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(26, 58, 92, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(26, 58, 92, 0.5);
    }
}

.letter-section {
    padding: 5rem 20px;
    background-color: var(--bg-white);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-gold);
}

.letter-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.letter-content-wrapper {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
}

.letter-text {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.letter-images {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 1rem;
}

.director-photo-card {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
}

.director-photo-card:hover {
    transform: none;
    box-shadow: none;
}

.director-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    margin-bottom: 0;
}

.director-img.placeholder {
    object-fit: contain;
    background-color: transparent;
    padding: 0;
}

.letter-images-top {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.letter-images-top .director-photo-card {
    flex: 0 1 280px;
    max-width: 280px;
}

.letter-images-top .director-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
}

.letter-text-full {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.letter-text-full p {
    margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
    .letter-images-top {
        gap: 1.5rem;
    }
    
    .letter-images-top .director-photo-card {
        flex: 0 1 200px;
        max-width: 200px;
    }
    
    .letter-images-top .director-img {
        height: 240px;
    }
}

@media (max-width: 600px) {
    .letter-images-top {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .letter-images-top .director-photo-card {
        flex: 0 1 100%;
        max-width: 280px;
    }
}

@media (max-width: 900px) {
    .letter-content-wrapper {
        flex-direction: column-reverse;
        align-items: center;
    }

    .letter-images {
        width: 100%;
        max-width: 500px;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 1rem;
        padding-top: 0;
        gap: 1rem;
    }
    
    .director-photo-card {
        min-width: 250px;
        flex: 1;
    }

    .director-img {
        height: 300px;
    }
}

@media (max-width: 600px) {
    .letter-images {
        flex-direction: column;
        align-items: center;
    }
    
    .director-photo-card {
        width: 100%;
    }
}

.letter-content p {
    margin-bottom: 1.5rem;
}

.letter-signature {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.letter-signature p {
    margin-bottom: 0.5rem;
}

.letter-signature .signature-img {
    display: block;
    height: auto;
    width: 220px;
    max-width: 100%;
    margin-top: 1rem;
}

.letter-signature a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

.letter-signature a:hover {
    text-decoration: underline;
}

.updates-section {
    padding: 4rem 20px;
    background-color: var(--bg-light);
    text-align: center;
}

.updates-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.updates-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

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

.partners-logos-section {
    padding: 3rem 20px;
    background-color: var(--bg-white);
}

.partners-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    align-items: center;
    justify-items: center;
}

.partners-logos-grid img {
    width: 100%;
    max-width: 160px;
    height: 50px;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: var(--transition);
}

.partners-logos-grid img:hover {
    filter: none;
    opacity: 1;
    transform: translateY(-2px);
}

.partners-logos-section .home-sponsors-lines {
    margin-top: 0;
    gap: 1.5rem;
}

.partners-logos-section .home-sponsors-lines .partners-line {
    padding-top: 0;
    border-top: none;
}

.partners-logos-section .home-sponsors-lines .partner-card {
    min-height: auto;
    padding: 1rem;
}

.partners-logos-section .home-sponsors-lines .partner-logo-box {
    height: 70px;
}

.partners-logos-section .home-sponsors-lines .partner-logo-img {
    max-height: 50px;
}

.partners-logos-section .home-sponsors-lines .partner-card,
.partners-logos-section .home-sponsors-lines .partner-logo-img {
    transition: none;
}

.partners-logos-section .home-sponsors-lines .partner-card:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.partners-logos-section .home-sponsors-lines .icesco-card .partner-logo-box {
    height: 85px;
}

.partners-logos-section .home-sponsors-lines .icesco-card .partner-logo-img {
    max-height: 68px;
}

.partners-section {
    padding: 4rem 20px;
    background-color: var(--bg-white);
}

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

.partner-item {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.partner-item:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.partner-logo {
    max-width: 250px;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}

.partner-item h3 {
    font-family: var(--font-serif);
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.partner-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem 0;
}

.checkbox-option input[type="checkbox"] {
    display: none;
}

.checkbox-box {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-top: 2px;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-box {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-box::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.checkbox-text {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-text a.link-primary {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-text a.link-primary:hover {
    text-decoration: underline;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-content-large {
    max-width: 900px;
}

.application-details-body {
    margin-top: 1rem;
}

.application-details-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0.75rem 1.25rem;
    align-items: start;
}

@media (max-width: 768px) {
    .application-details-grid {
        grid-template-columns: 1fr;
    }
}

.application-details-label {
    font-weight: 700;
    color: var(--primary-blue);
}

.application-details-value {
    color: var(--text-dark);
    white-space: pre-wrap;
    word-break: break-word;
}

.modal-content h3 {
    font-family: var(--font-serif);
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--text-dark);
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.actions-cell {
    white-space: nowrap;
}

.btn-small {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    margin: 0.1rem;
    transition: all 0.2s;
}

.btn-approve {
    background: #28a745;
    color: white;
}

.btn-approve:hover {
    background: #218838;
}

.btn-reject {
    background: #dc3545;
    color: white;
}

.btn-reject:hover {
    background: #c82333;
}

.action-done {
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
}

.footer {
    background-color: var(--primary-blue-dark);
    background-image: url('img/signature.png') no-repeat center center;
    background-size: 30% auto;
    background-position: center;
    color: #f8f8f8;
    text-align: center;
    padding: 2rem 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(15, 37, 56, 0.85), rgba(15, 37, 56, 0.85));
    z-index: 1;
}

.footer > .container {
    position: relative;
    z-index: 2;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-social a {
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--accent-gold);
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) translateZ(0);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delay {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.fade-in-delay-2 {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.fade-in-delay-3 {
    animation: fadeInUp 1s ease-out 0.9s both;
}

.fade-in-delay-4 {
    animation: fadeInUp 1s ease-out 1.2s both;
}

.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px) translateZ(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

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

.committee-card,
.secretariat-card,
.contact-card,
.resource-item,
.international-card,
.conference-link-card,
.apply-link-card {
    cursor: pointer;
}

body {
    animation: fadeIn 0.5s ease-in;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s ease-in-out infinite;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

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

    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: var(--bg-light);
        margin-top: 0;
    }

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

    .hero-logo-img {
        height: 80px;
    }

    .logo-img {
        height: 75px;
    }

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

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

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

    .registration-links {
        flex-direction: column;
    }

    .updates-form {
        flex-direction: column;
    }

    .updates-form input {
        min-width: 100%;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-date {
        width: 40px;
        height: 40px;
        font-size: 0.75rem;
    }

    .step-item {
        flex-direction: column;
        gap: 1rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .conference-links-grid,
    .apply-links-grid,
    .international-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

.page-header {
    background: linear-gradient(180deg, rgba(26, 58, 92, 0.7) 0%, rgba(26, 58, 92, 0.5) 50%, rgba(26, 58, 92, 0.65) 100%);
    color: white;
    padding: 8rem 20px 4rem;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.page-header h1 {
    font-family: var(--font-serif);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header-about {
    background: linear-gradient(180deg, rgba(26, 58, 92, 0.65) 0%, rgba(26, 58, 92, 0.45) 50%, rgba(26, 58, 92, 0.6) 100%),
                url('../img/abt emcy.JPG') center/cover no-repeat;
}

.page-header-committees {
    background: linear-gradient(180deg, rgba(26, 58, 92, 0.65) 0%, rgba(26, 58, 92, 0.45) 50%, rgba(26, 58, 92, 0.6) 100%),
                url('../img/IMG_9315.JPG') center/cover no-repeat;
}

.page-header-secretariat {
    background: linear-gradient(180deg, rgba(26, 58, 92, 0.65) 0%, rgba(26, 58, 92, 0.45) 50%, rgba(26, 58, 92, 0.6) 100%),
                url('../img/abt emcy2.jpg') center/cover no-repeat;
}

.page-header-gallery {
    background: linear-gradient(180deg, rgba(26, 58, 92, 0.65) 0%, rgba(26, 58, 92, 0.45) 50%, rgba(26, 58, 92, 0.6) 100%),
                url('../img/home2.jpg') center/cover no-repeat;
}

.page-header-schedule {
    background: linear-gradient(180deg, rgba(26, 58, 92, 0.65) 0%, rgba(26, 58, 92, 0.45) 50%, rgba(26, 58, 92, 0.6) 100%),
                url('../img/commitee ecosoc.jpg') center/cover no-repeat;
}

.page-header-resources {
    background: linear-gradient(180deg, rgba(26, 58, 92, 0.65) 0%, rgba(26, 58, 92, 0.45) 50%, rgba(26, 58, 92, 0.6) 100%),
                url('../img/ressources.png') center/cover no-repeat;
}

.page-header-contact {
    background: linear-gradient(180deg, rgba(26, 58, 92, 0.65) 0%, rgba(26, 58, 92, 0.45) 50%, rgba(26, 58, 92, 0.6) 100%),
                url('../img/home.jpg') center/cover no-repeat;
}

.page-header-apply {
    background: linear-gradient(180deg, rgba(26, 58, 92, 0.65) 0%, rgba(26, 58, 92, 0.45) 50%, rgba(26, 58, 92, 0.6) 100%),
                url('../img/how to apply.jpg') center/cover no-repeat;
}

.page-header-international {
    background: linear-gradient(180deg, rgba(26, 58, 92, 0.65) 0%, rgba(26, 58, 92, 0.45) 50%, rgba(26, 58, 92, 0.6) 100%),
                url('../img/commitee HRC.jpg') center/cover no-repeat;
}

.page-header-partners {
    background: linear-gradient(180deg, rgba(26, 58, 92, 0.65) 0%, rgba(26, 58, 92, 0.45) 50%, rgba(26, 58, 92, 0.6) 100%),
                url('../img/home.jpg') center/cover no-repeat;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.page-content {
    padding: 4rem 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.video-section {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.video-card {
    background-color: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.video-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.video-player {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.video-sound-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.55) 100%);
    color: white;
    font-family: var(--font-serif);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-align: center;
    padding: 1rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

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

.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.video-modal.show {
    display: flex;
}

.video-modal-content {
    width: 100%;
    height: 100%;
    max-width: 1200px;
    max-height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-player {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: #000;
    object-fit: contain;
}

.video-modal-close {
    position: absolute;
    top: -0.75rem;
    right: -0.75rem;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    background: rgba(0, 0, 0, 0.65);
    color: white;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.content-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.important-section {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-left: 6px solid var(--accent-gold);
    border-radius: 10px;
    padding: 1.75rem;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.important-section h2 {
    color: var(--primary-blue-dark);
    border-bottom-color: rgba(26, 58, 92, 0.25);
}

.important-section ul {
    margin-left: 1.25rem;
}

.important-section li {
    margin-bottom: 0.75rem;
}

.committees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.committee-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.committee-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.committee-card h3 {
    font-family: var(--font-serif);
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.committee-card .committee-type {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.committee-card img.committee-card-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    margin-bottom: 1rem;
}

.schedule-item {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-blue);
    transition: var(--transition);
}

.schedule-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.schedule-item .schedule-time {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.schedule-item .schedule-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.schedule-item .schedule-location {
    color: var(--text-light);
    font-style: italic;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-item .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

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

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.custom-alert-content {
    text-align: center;
    max-width: 400px;
    padding: 2.5rem 2rem;
}

.custom-alert-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.custom-alert-icon.success {
    background-color: #28a745;
}

.custom-alert-icon.success::after {
    content: '✓';
}

.custom-alert-icon.error {
    background-color: #dc3545;
}

.custom-alert-icon.error::after {
    content: '✕';
}

.custom-alert-icon.warning {
    background-color: #ffc107;
    color: #333;
    font-weight: bold;
}

.custom-alert-message {
    color: var(--text-dark);
    margin-bottom: 2rem;
    white-space: pre-wrap;
    line-height: 1.6;
}

.custom-alert-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.custom-alert-actions button {
    min-width: 100px;
}

.section-header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header-actions h3 {
    margin: 0;
    font-family: var(--font-serif);
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.export-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-export {
    background-color: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.btn-export:hover {
    background-color: var(--primary-blue-dark);
    transform: translateY(-2px);
}

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

.data-table th {
    background-color: var(--primary-blue);
    color: white;
    font-weight: 600;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: var(--transition);
}

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

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

.secretariat-member {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-blue);
}

.secretariat-member h3 {
    font-family: var(--font-serif);
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.member-role {
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.member-email {
    margin-bottom: 1rem;
}

.member-email a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

.member-email a:hover {
    text-decoration: underline;
}

.member-bio {
    line-height: 1.8;
    color: var(--text-dark);
}

.secretariat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.secretariat-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.secretariat-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    display: block;
}

.secretariat-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.secretariat-card h3 {
    font-family: var(--font-serif);
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.secretariat-card .member-role {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.contact-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-card h3 {
    font-family: var(--font-serif);
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-card a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-form {
    max-width: 700px;
    margin-top: 2rem;
}

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

.resource-item {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.resource-item:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.resource-item h3 {
    font-family: var(--font-serif);
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.resource-type {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.timeline {
    position: relative;
    padding: 2rem 0;
    margin-top: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--primary-blue);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
}

.timeline-date {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
}

.timeline-content {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
}

.timeline-content h3 {
    font-family: var(--font-serif);
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.steps-list {
    margin-top: 2rem;
}

.step-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-serif);
}

.step-content {
    flex: 1;
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
}

.step-content h3 {
    font-family: var(--font-serif);
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.portal-form {
    margin-top: 1.5rem;
}

.international-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.international-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.international-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.international-card h3 {
    font-family: var(--font-serif);
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.conference-location {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
}

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

.conference-link-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-dark);
    display: block;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.conference-link-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.conference-link-card h3 {
    font-family: var(--font-serif);
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.conference-link-card .link-arrow {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: var(--transition);
}

.conference-link-card:hover .link-arrow {
    transform: translateX(5px);
}

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

.apply-link-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-dark);
    display: block;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.apply-link-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.apply-link-card h3 {
    font-family: var(--font-serif);
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.apply-type-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
    transition: var(--transition);
}

.apply-type-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.apply-type-card h3 {
    font-family: var(--font-serif);
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.registration-banner-page {
    background-color: var(--primary-blue);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 3rem;
}

.registration-banner-page h2 {
    color: white;
    margin-bottom: 1rem;
}

.registration-banner-page p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-white {
    background-color: white;
    color: var(--primary-blue);
    border-color: white;
}

.btn-white:hover {
    background-color: var(--bg-light);
    color: var(--primary-blue);
    border-color: var(--bg-light);
}

.apply-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.table-container {
    overflow-x: auto;
    margin-top: 2rem;
}

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

.forgot-password {
    margin-top: 1rem;
}

.info-box {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
}

.button-container {
    margin-top: 2rem;
}

.note-text {
    margin-top: 2rem;
}

.form-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 20px 4rem;
}

.application-form {
    background-color: var(--bg-white);
    padding: 3rem 3.5rem;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 37, 56, 0.18);
    border-top: 4px solid var(--accent-gold);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

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

.form-section {
    background-color: #f8fafc;
    padding: 2rem 2.25rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
}

.form-section-title {
    font-family: var(--font-serif);
    color: var(--primary-blue);
    font-size: 1.6rem;
    margin-bottom: 1.75rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: var(--transition);
    background-color: var(--bg-white);
}

.form-group input[type="file"] {
    padding: 0.5rem;
    border: 2px dashed var(--border-color);
    border-radius: 5px;
    background-color: var(--bg-white);
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.1);
}

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

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

.radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

.radio-label input[type="radio"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

.radio-label span {
    color: var(--text-dark);
}

.form-submit {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.form-note {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.hidden {
    display: none;
}

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

    .application-form {
        padding: 2rem 1.5rem;
    }

    .form-section {
        padding: 1.5rem;
    }
}

.form-page {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
    min-height: 100vh;
    padding: 3rem 20px 5rem;
}

.form-container-pro {
    max-width: 720px;
    margin: 0 auto;
}

.form-progress {
    margin-bottom: 3rem;
}

.progress-bar {
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--primary-blue);
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    transform: scale(1.1);
}

.progress-step.completed .step-number {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

.progress-step.completed .step-number::after {
    content: '';
}

.step-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: var(--primary-blue);
}

.application-form-pro {
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.form-step {
    display: none;
    padding: 3rem;
    animation: fadeInUp 0.4s ease forwards;
}

.form-step.active {
    display: block;
}

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

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

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

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

.step-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.step-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.step-description {
    color: var(--text-light);
    font-size: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group-pro {
    position: relative;
}

.form-group-pro.full-width {
    grid-column: 1 / -1;
}

.form-group-pro label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.form-group-pro input,
.form-group-pro select,
.form-group-pro textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-sans);
    background: var(--bg-white);
    transition: all 0.3s ease;
}

.form-group-pro input:focus,
.form-group-pro select:focus,
.form-group-pro textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(26, 58, 92, 0.1);
}

.form-group-pro input::placeholder,
.form-group-pro textarea::placeholder {
    color: #aab4c0;
}

.form-group-pro input.error,
.form-group-pro select.error,
.form-group-pro textarea.error {
    border-color: #e74c3c;
    animation: shake 0.4s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

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

.file-upload-pro {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-pro:hover {
    border-color: var(--primary-blue);
    background: rgba(26, 58, 92, 0.02);
}

.file-upload-pro.has-file {
    border-color: var(--primary-blue);
    background: rgba(26, 58, 92, 0.05);
}

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

.file-upload-content {
    pointer-events: none;
}

.file-upload-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.file-upload-pro:hover .file-upload-icon {
    background: var(--primary-blue);
    color: white;
}

.file-upload-text {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.file-upload-hint {
    font-size: 0.85rem;
    color: var(--text-light);
}

.radio-group-pro {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.radio-option {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.radio-option input {
    position: absolute;
    opacity: 0;
}

.radio-box {
    display: block;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.radio-option input:checked + .radio-box {
    border-color: var(--primary-blue);
    background: rgba(26, 58, 92, 0.05);
}

.radio-option input:checked + .radio-box + .radio-text {
    color: var(--primary-blue);
}

.radio-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 500;
    color: var(--text-dark);
    pointer-events: none;
    transition: color 0.3s ease;
}

.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.btn-prev,
.btn-next,
.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-prev {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--border-color);
}

.btn-prev:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.btn-next {
    background: var(--primary-blue);
    color: white;
}

.btn-next:hover {
    background: var(--primary-blue-dark);
    transform: translateX(3px);
}

.btn-submit {
    background: var(--accent-gold);
    color: var(--primary-blue-dark);
}

.btn-submit:hover {
    background: #d4a94f;
    transform: scale(1.02);
}

.btn-prev svg,
.btn-next svg,
.btn-submit svg {
    transition: transform 0.3s ease;
}

.btn-next:hover svg {
    transform: translateX(3px);
}

.btn-prev:hover svg {
    transform: translateX(-3px);
}

@media (max-width: 768px) {
    .form-page {
        padding: 2rem 15px 4rem;
    }

    .form-step {
        padding: 2rem 1.5rem;
    }

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

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

    .progress-steps {
        gap: 0.5rem;
    }

    .step-label {
        font-size: 0.7rem;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .radio-group-pro {
        flex-direction: column;
    }

    .step-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-prev,
    .btn-next,
    .btn-submit {
        width: 100%;
        justify-content: center;
    }
}

.about-image-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.about-image-section img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.about-image-section:has(img:only-child) {
    grid-template-columns: 1fr;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-image-section:has(img:only-child) img {
    height: 420px;
}

.venue-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.venue-images {
    display: grid;
    gap: 1rem;
}

.venue-img-main {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.venue-img-secondary {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.venue-info h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.venue-info p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.rabat-showcase {
    margin-top: 1rem;
}

.rabat-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.rabat-images img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

.rabat-images img:hover {
    transform: scale(1.02);
}

.rabat-showcase p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

    .venue-img-main {
        height: 300px;
    }

    .venue-img-secondary {
        height: 220px;
    }

    .rabat-images {
        grid-template-columns: 1fr;
    }

    .rabat-images img {
        height: 240px;
    }
}

.partners-lines {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
    margin-top: 2rem;
}

.partners-line {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.partners-line:first-child {
    padding-top: 0;
    border-top: none;
}

.partners-line-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.partners-line-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-serif);
}

.partners-line-title {
    margin: 0;
    font-family: var(--font-serif);
    color: var(--primary-blue);
    font-size: 1.4rem;
    font-weight: 700;
}

.partners-line-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
}

.partner-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 280px;
    min-height: 170px;
}

.partner-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.partner-logo-box {
    width: 100%;
    height: 75px;
    background: var(--bg-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.partner-logo-img {
    max-width: 85%;
    max-height: 55px;
    width: auto;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.partner-logo-img.partner-logo-ausim {
    max-width: 52%;
    max-height: 36px;
}

.icesco-card .partner-logo-box {
    height: 95px;
}

.icesco-card .partner-logo-img {
    max-height: 80px;
    max-width: 92%;
}

.partner-logo-fallback {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-blue);
    opacity: 0.85;
}

.partner-logo-box:has(img[style*='display: none']) .partner-logo-fallback {
    display: flex;
}

.partner-name {
    margin-top: 0.9rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .partners-line-header {
        margin-bottom: 1.25rem;
    }

    .partners-line-number {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }

    .partners-line-title {
        font-size: 1.25rem;
    }

    .partner-card {
        min-height: 160px;
    }
}

.partnership-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.partnership-info h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    border-bottom: none;
    padding-bottom: 0;
}

.partnership-info > p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.partnership-info h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

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

.benefits-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.benefits-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 18px;
    height: 18px;
    background: var(--primary-blue);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

.partnership-form-container {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
}

.partnership-form-container h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

.partnership-form .form-group-pro {
    margin-bottom: 1.25rem;
}

.partnership-form .form-group-pro label {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.partnership-form .form-group-pro input,
.partnership-form .form-group-pro select,
.partnership-form .form-group-pro textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-white);
}

.partnership-form .form-group-pro input:focus,
.partnership-form .form-group-pro select:focus,
.partnership-form .form-group-pro textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.1);
}

.btn-full {
    width: 100%;
    margin-top: 0.5rem;
}

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

    .partnership-info h2 {
        font-size: 1.75rem;
    }
}

.committee-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

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

.gallery-showcase img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-showcase img:hover {
    transform: scale(1.03);
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2rem;
}

.team-card {
    display: flex;
    gap: 2.5rem;
    background-color: var(--bg-white);
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

 .team-card:focus-visible {
     outline: 3px solid rgba(26, 58, 92, 0.35);
     outline-offset: 4px;
 }

.team-photo-placeholder {
    flex-shrink: 0;
    width: 280px;
    height: 320px;
    overflow: hidden;
    background-color: var(--bg-light);
    position: relative;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-card:hover .team-photo {
    transform: scale(1.05);
}

.team-photo-placeholder:has(img[src=""]),
.team-photo-placeholder:has(img:not([src])) {
    background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--primary-blue) 100%);
}

.team-info {
    flex: 1;
    padding: 2rem 2rem 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-info h3 {
    font-family: var(--font-serif);
    color: var(--primary-blue);
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.team-role {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: white;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    width: fit-content;
}

.team-bio {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.team-funfact {
    color: var(--text-light);
    font-style: italic;
    padding: 1rem 1.25rem;
    background-color: rgba(194, 155, 74, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--accent-gold);
    font-size: 0.95rem;
}

.team-funfact strong {
    color: var(--accent-gold);
}

@media (max-width: 900px) {
    .team-card {
        flex-direction: column;
    }

    .team-photo-placeholder {
        width: 100%;
        height: 300px;
    }

    .team-info {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .team-photo-placeholder {
        height: 250px;
    }

    .team-info {
        padding: 1.5rem;
    }

    .team-info h3 {
        font-size: 1.4rem;
    }

    .team-funfact {
        border-left: none;
        border-top: 4px solid var(--accent-gold);
    }
}

 body.team-modal-open {
     overflow: hidden;
 }

 body.subscribe-modal-open {
     overflow: hidden;
 }

 .subscribe-modal-overlay {
     position: fixed;
     inset: 0;
     display: flex;
     align-items: center;
     justify-content: center;
     padding: 24px;
     background: rgba(0, 0, 0, 0.55);
     backdrop-filter: blur(6px);
     -webkit-backdrop-filter: blur(6px);
     opacity: 0;
     visibility: hidden;
     pointer-events: none;
     transition: opacity 220ms ease, visibility 220ms ease;
     z-index: 2100;
 }

 .subscribe-modal-overlay.is-open {
     opacity: 1;
     visibility: visible;
     pointer-events: auto;
 }

 .subscribe-modal {
     width: min(520px, 100%);
     background: var(--bg-white);
     border-radius: 14px;
     box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
     overflow: hidden;
     transform: translateY(14px) scale(0.98);
     opacity: 0;
     transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 240ms ease;
     position: relative;
 }

 .subscribe-modal-overlay.is-open .subscribe-modal {
     transform: translateY(0) scale(1);
     opacity: 1;
 }

 .subscribe-modal-close {
     position: absolute;
     top: 12px;
     right: 12px;
     width: 42px;
     height: 42px;
     border-radius: 999px;
     border: 1px solid rgba(0, 0, 0, 0.08);
     background: rgba(255, 255, 255, 0.9);
     color: var(--text-dark);
     font-size: 30px;
     line-height: 1;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     transition: transform 160ms ease, background 160ms ease;
     z-index: 1;
 }

 .subscribe-modal-close:hover {
     transform: scale(1.05);
     background: rgba(255, 255, 255, 1);
 }

 .subscribe-modal-content {
     padding: 34px 34px 28px;
     text-align: center;
 }

 .subscribe-modal-icon {
     width: 74px;
     height: 74px;
     margin: 0 auto 16px;
     display: grid;
     place-items: center;
     border-radius: 999px;
     background: rgba(26, 58, 92, 0.08);
     color: var(--primary-blue);
     font-size: 34px;
 }

 .subscribe-modal-overlay.is-error .subscribe-modal-icon {
     background: rgba(194, 155, 74, 0.14);
     color: var(--accent-gold);
 }

 .subscribe-modal-title {
     font-family: var(--font-serif);
     color: var(--primary-blue);
     font-size: 1.7rem;
     margin-bottom: 0.6rem;
 }

 .subscribe-modal-overlay.is-error .subscribe-modal-title {
     color: var(--primary-blue-dark);
 }

 .subscribe-modal-message {
     color: var(--text-light);
     font-size: 1.03rem;
     margin-bottom: 1.4rem;
 }

 .subscribe-modal-ok {
     min-width: 120px;
 }

 @media (max-width: 576px) {
     .subscribe-modal-overlay {
         padding: 12px;
     }

     .subscribe-modal-content {
         padding: 24px 18px 20px;
     }

     .subscribe-modal-title {
         font-size: 1.45rem;
     }

     .subscribe-modal-message {
         font-size: 0.98rem;
     }
 }

 .team-modal-overlay {
     position: fixed;
     inset: 0;
     display: flex;
     align-items: center;
     justify-content: center;
     padding: 24px;
     background: rgba(0, 0, 0, 0.55);
     backdrop-filter: blur(6px);
     -webkit-backdrop-filter: blur(6px);
     opacity: 0;
     visibility: hidden;
     pointer-events: none;
     transition: opacity 220ms ease, visibility 220ms ease;
     z-index: 2000;
     overflow: hidden;
 }

 .team-modal-overlay.is-open {
     opacity: 1;
     visibility: visible;
     pointer-events: auto;
 }

 .team-modal {
     width: min(1100px, 100%);
     max-height: min(85vh, 820px);
     background: var(--bg-white);
     border-radius: 14px;
     box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
     overflow: hidden;
     transform: translateY(14px) scale(0.98);
     opacity: 0;
     transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 240ms ease;
     position: relative;
     display: flex;
     flex-direction: column;
 }

 .team-modal-overlay.is-open .team-modal {
     transform: translateY(0) scale(1);
     opacity: 1;
 }

 .team-modal-close {
     position: absolute;
     top: 12px;
     right: 12px;
     width: 42px;
     height: 42px;
     border-radius: 999px;
     border: 1px solid rgba(0, 0, 0, 0.08);
     background: rgba(255, 255, 255, 0.9);
     color: var(--text-dark);
     font-size: 30px;
     line-height: 1;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     transition: transform 160ms ease, background 160ms ease;
     z-index: 1;
 }

 .team-modal-close:hover {
     transform: scale(1.05);
     background: rgba(255, 255, 255, 1);
 }

 .team-modal-body {
     display: grid;
     grid-template-columns: 420px 1fr;
     height: 100%;
     min-height: 0;
     flex: 1;
 }

 .team-modal-media {
     background: var(--bg-light);
     min-height: 0;
 }

 .team-modal-photo {
     width: 100%;
     height: 100%;
     max-height: 85vh;
     object-fit: cover;
     display: block;
 }

 .team-modal-content {
     padding: 34px 34px;
     overflow: auto;
     -webkit-overflow-scrolling: touch;
     min-height: 0;
 }

 .team-modal-name {
     font-family: var(--font-serif);
     color: var(--primary-blue);
     font-size: 2rem;
     margin-bottom: 0.75rem;
 }

 .team-modal-role {
     display: inline-block;
     padding: 0.55rem 1.3rem;
     background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
     color: white;
     border-radius: 999px;
     font-size: 0.95rem;
     font-weight: 600;
     margin-bottom: 1.3rem;
     width: fit-content;
 }

 .team-modal-bio {
     color: var(--text-dark);
     line-height: 1.85;
     margin-bottom: 1.25rem;
     font-size: 1.02rem;
 }

 .team-modal-message {
     color: var(--text-light);
     padding: 1rem 1.25rem;
     background-color: rgba(194, 155, 74, 0.1);
     border-radius: 10px;
     border-left: 4px solid var(--accent-gold);
     font-size: 0.98rem;
 }

 .team-modal-message strong {
     color: var(--accent-gold);
 }

 @media (max-width: 900px) {
     .team-modal-body {
         grid-template-columns: 1fr;
     }

     .team-modal-photo {
         max-height: 45vh;
     }

     .team-modal-content {
         padding: 24px;
     }
 }

 @media (max-width: 576px) {
     .team-modal-overlay {
         padding: 12px;
         overflow: auto;
     }

     .team-modal {
         width: 100%;
         max-height: 92vh;
         border-radius: 12px;
     }

     .team-modal-close {
         top: 10px;
         right: 10px;
         width: 40px;
         height: 40px;
         font-size: 28px;
     }

     .team-modal-content {
         padding: 18px;
     }

     .team-modal-name {
         font-size: 1.55rem;
     }

     .team-modal-bio {
         font-size: 0.98rem;
     }

     .team-modal-message {
         font-size: 0.95rem;
     }
 }

 @media (max-height: 520px) and (orientation: landscape) {
     .team-modal-overlay {
         padding: 10px;
         align-items: stretch;
     }

     .team-modal {
         max-height: 96vh;
     }

     .team-modal-body {
         grid-template-columns: 320px 1fr;
     }

     .team-modal-photo {
         max-height: 96vh;
     }

     .team-modal-content {
         padding: 16px 18px;
     }
 }

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

    .nav-container {
        padding: 0 15px;
    }

    .logo-img {
        max-height: 40px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .hero {
        min-height: 70vh;
    }

    .hero-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }

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

    .hero-tagline {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    .hero-dates p {
        font-size: 0.85rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 0.95rem;
    }

    .content-section h2 {
        font-size: 1.4rem;
    }

    .countdown-item {
        min-width: 60px;
        padding: 10px;
    }

    .countdown-number {
        font-size: 1.8rem;
    }

    .countdown-label {
        font-size: 0.7rem;
    }

    .committee-card,
    .feature-card {
        padding: 1.25rem;
    }

    .footer {
        padding: 1.5rem 0;
    }

    .footer-social a {
        font-size: 1.2rem;
        margin: 0 8px;
    }

    .about-image-section {
        flex-direction: column;
    }

    .about-image-section img {
        width: 100%;
        max-width: 100%;
    }

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

    .faq-question {
        font-size: 1rem;
        padding: 1rem;
    }

    .faq-answer {
        padding: 0 1rem 1rem;
    }

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

    .contact-card {
        padding: 1.25rem;
    }

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

@media (min-width: 577px) and (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .page-header h1 {
        font-size: 2rem;
    }

    .countdown-item {
        min-width: 70px;
    }

    .countdown-number {
        font-size: 2rem;
    }

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

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

@media (min-width: 769px) and (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

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

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

@media (max-width: 992px) {
    .hamburger {
        display: flex;
        z-index: 1100;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: left 0.4s ease;
        z-index: 1000;
        padding: 100px 20px 20px;
        overflow-y: auto;
    }

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

    .nav-menu li {
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }

    .nav-menu > li > a {
        font-size: 1.2rem;
        padding: 15px;
        display: block;
        color: white;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.1);
        box-shadow: none;
        display: block;
        padding: 10px 0;
        margin: 0;
        border-radius: 8px;
    }

    .dropdown-menu li {
        margin: 0;
    }

    .dropdown-menu a {
        font-size: 1rem;
        padding: 12px 20px;
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .dropdown-arrow {
        display: none;
    }

    body.menu-open {
        overflow: hidden;
    }
}

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

@media (max-width: 768px) {
    .schedule-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .schedule-tab {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 120px;
    }

    .schedule-event {
        flex-direction: column;
        text-align: center;
    }

    .event-time {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 768px) {
    .venue-info {
        grid-template-columns: 1fr;
    }

    .venue-map {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .letter-content {
        padding: 1.5rem;
    }

    .letter-text-full {
        font-size: 1rem;
    }

    .letter-signature {
        text-align: center;
    }

    .signature-img {
        max-width: 150px;
    }
}

@media (max-width: 768px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }
}

@media print {
    .navbar,
    .footer,
    .hamburger,
    .btn-primary {
        display: none !important;
    }

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

    .page-content {
        padding: 1rem;
    }
}

@media (hover: none) and (pointer: coarse) {
    .btn-primary:hover,
    .committee-card:hover,
    .team-card:hover,
    .faq-question:hover {
        transform: none;
    }

    .nav-menu a,
    .dropdown-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-primary {
        min-height: 48px;
    }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-slide {
        background-size: cover;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 60px;
    }

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

    .hero-dates {
        margin: 0.5rem 0;
    }

    .countdown-section {
        padding: 1rem 0;
    }
}

@supports (padding: max(0px)) {
    .navbar {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }

    .footer {
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
}

/* Logo Intro Screen */
.logo-intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.logo-intro.fade-out {
    opacity: 0;
    visibility: hidden;
}

.logo-intro-content {
    text-align: center;
    animation: introLogoAnimation 3s ease-in-out;
}

.intro-logo {
    max-width: 300px;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
    animation: logoScale 2.5s ease-in-out;
}

@keyframes introLogoAnimation {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    80% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes logoScale {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    30% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    70% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* --- EMCY Specific Splash Screen (About Page) --- */
.logo-intro-emcy {
    background: #ffffff; /* Premium minimal white */
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 1;
    visibility: visible;
    transition: opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1), 
                visibility 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.logo-intro-emcy.fade-out {
    opacity: 0;
    visibility: hidden;
}

.logo-intro-emcy .logo-content {
    position: relative;
    text-align: center;
    animation: emcyIntroScale 3s cubic-bezier(0.19, 1, 0.22, 1);
}

.logo-intro-emcy .intro-logo {
    max-width: 320px;
    height: auto;
    filter: blur(20px);
    opacity: 0;
    transform: scale(0.9);
    animation: emcyLogoReveal 2.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.logo-intro-emcy .logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(194, 155, 74, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    animation: emcyGlowExpand 2.5s ease-out 0.5s forwards;
    z-index: -1;
}

/* Animations */
@keyframes emcyLogoReveal {
    0% {
        filter: blur(20px);
        opacity: 0;
        transform: scale(0.9);
    }
    40% {
        opacity: 1;
    }
    100% {
        filter: blur(0);
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes emcyIntroScale {
    0% { transform: translateY(20px); }
    100% { transform: translateY(0); }
}

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

@media (max-width: 768px) {
    .logo-intro-emcy .intro-logo {
        max-width: 220px;
    }
}

@media (max-width: 768px) {
    .intro-logo {
        max-width: 200px;
        max-height: 200px;
    }
}

@media (max-width: 480px) {
    .intro-logo {
        max-width: 150px;
        max-height: 150px;
    }
}

/* About EMC Youth Logo */
.about-emcy-logo-container {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-top: 1rem;
}

.about-emcy-logo {
    max-width: 260px;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.08));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-emcy-logo:hover {
    transform: scale(1.06);
}

@media (max-width: 768px) {
    .about-emcy-logo {
        max-width: 200px;
    }
}
