/* ================================
   RESET & BASE STYLES
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Inspired by the design */
    --bg-dark: #0A0A0F;
    --bg-card: #1A1A2E;
    --bg-surface: #16213E;
    --bg-white: #FFFFFF;
    --bg-off-white: #F8F9FA;

    --primary: #9B59B6;
    --primary-dark: #8E44AD;
    --secondary: #E74C3C;
    --accent: #F39C12;
    --accent-bright: #E67E22;

    --text-primary: #FFFFFF;
    --text-secondary: #B8B8B8;
    --text-muted: #808080;
    --text-accent: #9B59B6;

    --border-color: #2C3E50;
    --border-bright: #9B59B6;
    
    /* Spacing */
    --spacing-xs: 6px;
    --spacing-sm: 12px;
    --spacing-md: 20px;
    --spacing-lg: 28px;
    --spacing-xl: 36px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    --spacing-4xl: 80px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.08);
    
    /* Transitions */
    --transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

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

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

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

/* ================================
   TYPOGRAPHY
================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Goldman', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: 56px; }
h2 { font-size: 40px; }
h3 { font-size: 28px; }
h4 { font-size: 20px; }

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary);
}

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

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: var(--spacing-sm);
}

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

/* ================================
   BUTTONS
================================ */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(155, 89, 182, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(155, 89, 182, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(155, 89, 182, 0.3);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* ================================
   NAVIGATION
================================ */
.navbar {
    position: relative;
    background: var(--bg-white);
    border-bottom: 2px solid var(--primary);
    padding: var(--spacing-md) 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.nav-logos {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo h1 span {
    color: var(--primary);
}

.interfold-logo span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

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

.nav-links a:not(.btn-primary):not(.btn-secondary)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):not(.btn-secondary):hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ================================
   HERO SECTION
================================ */
.hero {
    padding: 0 0 var(--spacing-xl);
    background: var(--bg-dark);
    color: var(--text-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 96px;
    line-height: 1;
    margin-bottom: var(--spacing-xs);
    color: var(--primary);
    font-weight: 800;
    text-align: center;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.hero-backdrop {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: var(--spacing-xs);
    text-align: center;
    overflow: hidden;
}

.backdrop-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hero-title-svg {
    margin-bottom: var(--spacing-xs);
    text-align: center;
}

.title-logo {
    width: 100%;
    max-width: 800px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(155, 89, 182, 0.4));
    transition: all 0.3s ease;
}

.title-logo:hover {
    filter: drop-shadow(0 8px 24px rgba(155, 89, 182, 0.6));
    transform: scale(1.02);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-date {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

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

.hero-countdown {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin: var(--spacing-md) 0;
}

.hero-countdown-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: var(--spacing-sm) var(--spacing-md);
    text-align: center;
    min-width: 80px;
    position: relative;
    overflow: hidden;
}

.hero-countdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.hero-countdown-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 2px;
}

.hero-countdown-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-images {
    position: relative;
    height: 500px;
}

.hero-image-card {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.hero-image-card:hover {
    transform: translateY(-8px);
}

.hero-image-card.card-1 {
    width: 400px;
    height: 280px;
    top: 0;
    right: 80px;
    z-index: 2;
}

.hero-image-card.card-2 {
    width: 350px;
    height: 250px;
    bottom: 0;
    right: 0;
    z-index: 1;
}

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

/* ================================
   COUNTDOWN SECTION
================================ */
.countdown-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-off-white);
}

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

.countdown-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    transition: var(--transition);
}

.countdown-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.countdown-number {
    display: block;
    font-size: 72px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.countdown-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ================================
   ABOUT SECTION
================================ */
.about-section {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-dark);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-text-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text-centered p {
    margin-bottom: var(--spacing-md);
    font-size: 18px;
}

.about-text p {
    margin-bottom: var(--spacing-md);
    font-size: 18px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

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

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

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

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

/* ================================
   THEME SECTION
================================ */
.theme-section {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-dark);
    position: relative;
}

.theme-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.theme-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.theme-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: var(--spacing-xl);
    color: var(--text-primary);
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 1000px;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.theme-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(155, 89, 182, 0.2);
    border-color: var(--primary);
}

.theme-name {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
}

.theme-name::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--secondary);
}

.theme-description {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: var(--spacing-lg);
    color: var(--text-secondary);
}

.theme-description p {
    margin-bottom: var(--spacing-sm);
}

.explore-events-btn {
    background: var(--primary);
    color: white;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.explore-events-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.explore-events-btn:hover::before {
    left: 100%;
}

.explore-events-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(155, 89, 182, 0.3);
}

/* ================================
   EVENTS TEASER
================================ */
.events-teaser {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-dark);
    position: relative;
}

.events-teaser::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

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

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.15);
    border-color: var(--primary);
    background: rgba(155, 89, 182, 0.1);
}

.category-icon {
    font-size: 36px;
    margin-bottom: var(--spacing-sm);
    color: var(--primary);
}

.category-card h3 {
    font-size: 18px;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-card p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

/* ================================
   SPONSORS SECTION
================================ */
.sponsors-section {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-dark);
    position: relative;
}

.sponsors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

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

.sponsor-tier:last-child {
    margin-bottom: 0;
}

.tier-title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Co-Sponsor Container */
.co-sponsor-container {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-lg);
}

.co-sponsor-container .sponsor-logo-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--primary);
    border-radius: 16px;
    padding: var(--spacing-xl);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 250px;
    height: 150px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(155, 89, 182, 0.15);
}

.co-sponsor-container .sponsor-logo-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(155, 89, 182, 0.15), transparent);
    transition: left 0.6s ease;
}

.co-sponsor-container .sponsor-logo-wrapper:hover::before {
    left: 100%;
}

.co-sponsor-container .sponsor-logo-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(155, 89, 182, 0.25);
    border-color: var(--border-bright);
}

.co-sponsor-container .sponsor-logo-wrapper img {
    max-width: 200px;
    max-height: 100px;
    filter: grayscale(0%);
    opacity: 1;
    object-fit: contain;
    margin-bottom: var(--spacing-sm);
}

.co-sponsor-container .sponsor-designation {
    font-size: 14px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Previous Sponsors Marquee */
.sponsors-marquee {
    overflow: hidden;
    width: 100%;
    margin-top: var(--spacing-lg);
}

.sponsors-track {
    display: flex;
    animation: marquee 30s linear infinite;
    gap: var(--spacing-2xl);
}

.sponsors-marquee.fast .sponsors-track {
    animation: marquee-fast 20s linear infinite;
}

.sponsors-track .sponsor-logo {
    flex-shrink: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: var(--spacing-lg);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 100px;
    position: relative;
    overflow: hidden;
}

.sponsors-track .sponsor-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(155, 89, 182, 0.1), transparent);
    transition: left 0.6s ease;
}

.sponsors-track .sponsor-logo:hover::before {
    left: 100%;
}

.sponsors-track .sponsor-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.sponsors-track .sponsor-logo img {
    max-width: 140px;
    max-height: 60px;
    filter: grayscale(80%);
    opacity: 0.6;
    transition: all 0.3s ease;
    object-fit: contain;
}

.sponsors-track .sponsor-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

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

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

/* Pause on hover */
.sponsors-marquee:hover .sponsors-track {
    animation-play-state: paused;
}

/* ================================
   LEADERSHIP SECTION
================================ */
.leadership-section {
    padding: var(--spacing-4xl) 0;
}

.leadership-group {
    margin-bottom: var(--spacing-3xl);
}

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

.profile-card {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-surface));
    border: 1px solid rgba(155, 89, 182, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl) var(--spacing-lg);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.profile-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(155, 89, 182, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 48px rgba(155, 89, 182, 0.25);
    border-color: var(--primary);
}

.profile-card:hover::after {
    opacity: 1;
}

.profile-card h3 {
    font-size: 20px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease;
    line-height: 1.3;
    font-weight: 600;
}

.profile-card .designation {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    z-index: 1;
    line-height: 1.4;
}

.director-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--spacing-xl);
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    align-items: center;
}

.director-card img {
    width: 100%;
    height: 300px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.director-info h3 {
    font-size: 28px;
    margin-bottom: var(--spacing-xs);
}

.director-info .designation {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.director-info .message {
    font-size: 16px;
    line-height: 1.7;
    font-style: italic;
    color: var(--text-secondary);
}

/* ================================
   GALLERY SECTION
================================ */
.gallery-section {
    padding: var(--spacing-4xl) 0;
    background: var(--bg-off-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

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

/* ================================
   CONTACT SECTION
================================ */
.contact-section {
    padding: var(--spacing-4xl) 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-xl);
}

.contact-item {
    margin-bottom: var(--spacing-lg);
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: var(--spacing-sm);
}

.contact-item a,
.contact-item p {
    font-size: 16px;
    color: var(--text-secondary);
}

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

.social-links h3 {
    font-size: 18px;
    margin-bottom: var(--spacing-md);
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.social-icon {
    padding: 12px 24px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ================================
   FOOTER
================================ */
.footer {
    background: var(--text-primary);
    color: white;
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

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

.footer-section h3 {
    font-size: 20px;
    margin-bottom: var(--spacing-md);
    color: white;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: var(--spacing-md);
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: var(--spacing-xs);
}

.footer-section a:hover {
    color: white;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ================================
   UTILITY CLASSES
================================ */
.center {
    text-align: center;
}
/* ================================
   EVENTS PAGE SPECIFIC STYLES
================================ */

/* Events Hero */
.events-hero {
    padding: var(--spacing-2xl) 0 var(--spacing-xl);
    background: var(--bg-gradient);
    color: var(--text-light);
    text-align: center;
}

.page-title {
    font-size: 56px;
    margin-bottom: var(--spacing-md);
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
}

/* Category Filter */
.category-filter {
    background: var(--bg-white);
    border-bottom: 2px solid var(--primary);
    padding: var(--spacing-md) 0;
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.category-tabs {
    display: flex;
    gap: var(--spacing-sm);
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    padding: 12px 24px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.category-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.category-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Events Grid */
.events-grid-section {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-white);
}

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

.event-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.event-poster {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.event-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-poster img {
    transform: scale(1.05);
}

.event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: var(--spacing-lg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-card:hover .event-overlay {
    opacity: 1;
}

.event-overlay h3 {
    color: white;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.view-details {
    color: var(--text-light);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.event-name {
    padding: var(--spacing-md);
    text-align: center;
    background: white;
}

.event-name h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* Hide events by default */
.event-card.hidden {
    display: none;
}

/* Active category styling */
.category-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ================================
   MOBILE RESPONSIVENESS
================================ */

/* Mobile and Tablet Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
        max-width: 100%;
    }

    /* Hero Section Mobile */
    .hero-content {
        padding: 0 0 var(--spacing-2xl);
        text-align: center;
    }

    .title-logo {
        max-width: 100%;
        width: 95%;
        filter: drop-shadow(0 2px 8px rgba(155, 89, 182, 0.3));
    }

    .title-logo:hover {
        transform: scale(1.01);
        filter: drop-shadow(0 4px 12px rgba(155, 89, 182, 0.4));
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: var(--spacing-sm);
    }

    .hero-date {
        font-size: 14px;
        margin-bottom: var(--spacing-lg);
    }

    .hero-countdown {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-sm);
        margin-bottom: var(--spacing-xl);
        width: 100%;
        max-width: 320px;
    }

    .hero-countdown-item {
        padding: var(--spacing-sm);
        background: rgba(155, 89, 182, 0.1);
        border-radius: var(--radius-md);
        border: 1px solid rgba(155, 89, 182, 0.2);
    }

    .hero-countdown-number {
        font-size: 20px;
        display: block;
        font-weight: 700;
        color: var(--primary);
    }

    .hero-countdown-label {
        font-size: 10px;
        text-transform: uppercase;
        color: var(--text-secondary);
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-sm);
        width: 100%;
        max-width: 280px;
    }

    .btn-large {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: 16px;
        width: 100%;
    }

    /* About Section Mobile */
    .about-content {
        padding: var(--spacing-xl) 0;
    }

    .about-text-centered {
        text-align: center;
        max-width: 100%;
        padding: 0 var(--spacing-sm);
    }

    .about-text-centered h2 {
        font-size: 28px;
        margin-bottom: var(--spacing-lg);
    }

    .about-text-centered p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: var(--spacing-md);
    }

    /* Theme Section Mobile */
    .theme-content {
        padding: var(--spacing-xl) 0;
    }

    .theme-card {
        max-width: 100%;
        padding: var(--spacing-lg);
        margin: 0 var(--spacing-sm);
    }

    .theme-name {
        font-size: 32px;
        margin-bottom: var(--spacing-lg);
    }

    .theme-description p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: var(--spacing-md);
    }

    /* Events Teaser Mobile */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
        padding: 0 var(--spacing-sm);
    }

    .category-card {
        padding: var(--spacing-lg);
        min-height: 140px;
    }

    .category-icon {
        font-size: 32px;
        margin-bottom: var(--spacing-sm);
    }

    .category-card h3 {
        font-size: 16px;
        margin-bottom: var(--spacing-xs);
    }

    .category-card p {
        font-size: 12px;
    }

    /* Sponsors Mobile - New Structure */
    .co-sponsor-container .sponsor-logo-wrapper {
        width: 200px;
        height: 120px;
        padding: var(--spacing-lg);
    }

    .co-sponsor-container .sponsor-logo-wrapper img {
        max-width: 160px;
        max-height: 80px;
    }

    .co-sponsor-container .sponsor-designation {
        font-size: 12px;
    }

    .sponsors-marquee {
        margin-top: var(--spacing-lg);
    }

    .sponsors-track .sponsor-logo {
        width: 140px;
        height: 80px;
        padding: var(--spacing-md);
    }

    .sponsors-track .sponsor-logo img {
        max-width: 110px;
        max-height: 50px;
    }

    /* Leadership Section Mobile */
    .profiles-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        padding: 0 var(--spacing-sm);
    }

    .profile-card {
        padding: var(--spacing-lg) var(--spacing-md);
        max-width: 100%;
        margin: 0 auto;
        min-height: 120px;
    }

    .profile-card h3 {
        font-size: 17px;
        margin-bottom: var(--spacing-xs);
    }

    .profile-card .designation {
        font-size: 14px;
    }

    .leadership-group {
        margin-bottom: var(--spacing-2xl);
    }

    .section-title {
        font-size: 32px;
        margin-bottom: var(--spacing-lg);
    }

    /* Gallery Mobile */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
        padding: 0 var(--spacing-sm);
    }

    /* Contact Mobile */
    .contact-content {
        flex-direction: column;
        gap: var(--spacing-xl);
        padding: 0 var(--spacing-sm);
    }

    .contact-info {
        text-align: center;
    }

    .social-links {
        text-align: center;
    }

    .social-icons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-sm);
    }

    /* Footer Mobile */
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-lg);
        text-align: center;
    }

    .footer-section {
        width: 100%;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .hero-content {
        padding: 0 0 var(--spacing-lg);
    }

    .title-logo {
        width: 100%;
        filter: drop-shadow(0 1px 4px rgba(155, 89, 182, 0.2));
    }

    .hero-countdown {
        max-width: 280px;
        gap: var(--spacing-xs);
    }

    .hero-countdown-number {
        font-size: 18px;
    }

    .hero-countdown-label {
        font-size: 9px;
    }

    .btn-large {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 15px;
    }

    .section-title {
        font-size: 28px;
    }

    .theme-name {
        font-size: 28px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .category-card {
        min-height: 120px;
        padding: var(--spacing-md);
    }

    /* Small mobile sponsors */
    .co-sponsor-container .sponsor-logo-wrapper {
        width: 180px;
        height: 100px;
        padding: var(--spacing-md);
    }

    .co-sponsor-container .sponsor-logo-wrapper img {
        max-width: 140px;
        max-height: 70px;
    }

    .sponsors-track .sponsor-logo {
        width: 120px;
        height: 70px;
        padding: var(--spacing-sm);
    }

    .sponsors-track .sponsor-logo img {
        max-width: 90px;
        max-height: 40px;
    }

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

    .profile-card {
        padding: var(--spacing-md);
        min-height: 100px;
    }

    .theme-card {
        padding: var(--spacing-md);
        margin: 0;
    }

    .theme-description p {
        font-size: 15px;
    }

    .about-text-centered p {
        font-size: 15px;
    }
}

/* Mobile Landscape Fixes */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-content {
        padding: 0 0 var(--spacing-lg);
    }

    .hero-countdown {
        max-width: 400px;
    }

    .about-content,
    .theme-content {
        padding: var(--spacing-lg) 0;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .profile-card:hover,
    .theme-card:hover,
    .category-card:hover,
    .title-logo:hover {
        transform: none;
    }

    .profile-card:hover img {
        transform: none;
    }

    .btn-primary:active,
    .btn-secondary:active {
        transform: scale(0.98);
    }
}

/* ================================
   POSTERS GALLERY STYLES
================================ */
.posters-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-dark);
}

.posters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.poster-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    aspect-ratio: 3/4;
}

.poster-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(155, 89, 182, 0.2);
    border-color: var(--border-bright);
}

.poster-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.poster-item:hover .poster-thumbnail {
    transform: scale(1.05);
}

/* Modal Styles */
.poster-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    animation: slideIn 0.3s ease;
}

.modal-content img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--text-primary);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.close-modal:hover {
    color: var(--secondary);
    transform: scale(1.1);
}

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

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

/* Responsive adjustments for poster gallery */
@media (max-width: 1024px) {
    .posters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .posters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
        max-width: 600px;
    }

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

    .close-modal {
        top: -35px;
        font-size: 30px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .posters-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        max-width: 300px;
    }
}

