/* ========================================
   New Century Festivals - Premium Design
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Inter:wght@300;400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --primary: #1a1f3a;
    --primary-light: #2a3158;
    --accent: #c9a84c;
    --accent-light: #dfc06a;
    --accent-dark: #a8872e;
    --red: #b82e3b;
    --green: #1d6a4a;
    --white: #ffffff;
    --off-white: #f8f6f2;
    --cream: #f5f0e8;
    --text-dark: #1a1a1a;
    --text-body: #4a4a4a;
    --text-light: #8a8a8a;
    --border: #e8e3da;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --shadow-xl: 0 30px 80px rgba(0,0,0,0.18);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Playfair Display', 'Noto Sans SC', serif;
    --font-body: 'Inter', 'Noto Sans SC', sans-serif;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

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

/* ========================================
   Language Toggle
   ======================================== */
.language-toggle {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1100;
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 6px;
    border-radius: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(201, 168, 76, 0.2);
}

.language-toggle button {
    padding: 8px 20px;
    border: none;
    background: transparent;
    color: var(--text-dark);
    cursor: pointer;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    font-size: 13px;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
}

.language-toggle button:hover {
    background: var(--cream);
}

.language-toggle button.active {
    background: var(--primary);
    color: var(--white);
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    transition: var(--transition);
}

.navbar .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.navbar.scrolled {
    background: rgba(26, 31, 58, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.navbar.scrolled .nav-inner {
    padding: 14px 40px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo a:hover {
    opacity: 0.9;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    font-weight: 700;
    font-family: var(--font-display);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
}

.logo-sub {
    font-size: 0.65rem;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: 500;
    display: block;
    margin-top: -2px;
}

.nav-menu {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-menu a {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 8px;
    transition: var(--transition);
    letter-spacing: 0.3px;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.nav-menu a.nav-cta {
    background: var(--accent);
    color: var(--primary);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 30px;
}

.nav-menu a.nav-cta:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

/* Mobile menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

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

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

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

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--primary);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 31, 58, 0.85) 0%,
        rgba(26, 31, 58, 0.6) 40%,
        rgba(184, 46, 59, 0.4) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 140px 0 100px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero h1 .accent-text {
    color: var(--accent);
    font-style: italic;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 16px;
    max-width: 600px;
}

.hero-meta {
    display: flex;
    gap: 32px;
    margin: 32px 0 40px;
    flex-wrap: wrap;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

.hero-meta-item .icon {
    width: 40px;
    height: 40px;
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Floating elements */
.hero-float {
    position: absolute;
    right: 80px;
    bottom: 80px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;
}

.hero-stat {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 20px 28px;
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 160px;
}

.hero-stat .num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.2;
}

.hero-stat .label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 4px;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-indicator .mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator .mouse::after {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-anim 2s ease-in-out infinite;
}

@keyframes scroll-anim {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-body);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.3px;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

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

.btn-dark:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26, 31, 58, 0.3);
}

.btn-accent-outline {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-accent-outline:hover {
    background: var(--accent);
    color: var(--primary);
}

/* ========================================
   Section Styles
   ======================================== */
.section {
    padding: 120px 0;
    position: relative;
}

.section-cream {
    background: var(--cream);
}

.section-dark {
    background: var(--primary);
    color: var(--white);
}

.section-header {
    max-width: 720px;
    margin: 0 auto 70px;
    text-align: center;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}

.section-label::before,
.section-label::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--accent);
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.section-dark .section-header h2 {
    color: var(--white);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.section-dark .section-header p {
    color: rgba(255,255,255,0.6);
}

/* ========================================
   About Preview (Homepage)
   ======================================== */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-preview-content .label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.about-preview-content h2 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 24px;
}

.about-preview-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 16px;
    color: var(--text-body);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

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

.about-stat .num {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent-dark);
    line-height: 1;
}

.about-stat .text {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 6px;
    letter-spacing: 0.5px;
}

.about-preview-image {
    position: relative;
}

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

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

.about-preview-image .float-img {
    position: absolute;
    bottom: -30px;
    left: -40px;
    width: 200px;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 5px solid var(--white);
}

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

/* ========================================
   Event Highlights
   ======================================== */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.highlight-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 28px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--red));
    opacity: 0;
    transition: var(--transition);
}

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

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

.highlight-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.1), rgba(201, 168, 76, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.highlight-card:hover .highlight-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.2), rgba(201, 168, 76, 0.1));
}

.highlight-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.highlight-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   Gallery Grid
   ======================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-grid .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

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

.gallery-item:nth-child(1) {
    aspect-ratio: auto;
}

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

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

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(26, 31, 58, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

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

.gallery-item .overlay p {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Gallery page styles */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    color: var(--text-body);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.gallery-masonry {
    columns: 4;
    column-gap: 16px;
}

.gallery-masonry .gallery-item {
    break-inside: avoid;
    margin-bottom: 16px;
    aspect-ratio: auto;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.95);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    background: rgba(255,255,255,0.1);
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-caption {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    text-align: center;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    background: rgba(255,255,255,0.1);
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ========================================
   Video Section
   ======================================== */
.video-section {
    position: relative;
    background: var(--primary);
    padding: 100px 0;
    overflow: hidden;
}

.video-wrapper {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
    border: none;
}

/* ========================================
   Contest Section
   ======================================== */
.contest-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contest-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.contest-card:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.contest-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.contest-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-body);
}

.contest-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.group-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 36px;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.group-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.1) 0%, transparent 60%);
}

.group-card h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 16px;
    position: relative;
}

.group-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.95rem;
    position: relative;
    padding-left: 20px;
}

.group-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    transform: translateY(-50%);
}

.group-card ul li:last-child {
    border-bottom: none;
}

.total-awards {
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-dark);
    margin-top: 32px;
}

/* ========================================
   Sponsors Section
   ======================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.benefit-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 36px;
    transition: var(--transition);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.benefit-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: rgba(201, 168, 76, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.benefit-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

.sponsor-tiers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.sponsor-tier {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 40px;
    text-align: center;
    transition: var(--transition);
}

.sponsor-tier:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(201, 168, 76, 0.3);
}

.sponsor-tier .tier-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.sponsor-tier h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.sponsor-tier p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--red) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

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

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.contact-info p {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.contact-item:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.contact-item .icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
}

.contact-item h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.contact-item a {
    color: var(--accent-dark);
    font-weight: 500;
}

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

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
    min-height: 450px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: none;
}

/* ========================================
   Contact Form
   ======================================== */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.contact-form-wrap h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: var(--transition);
    background: var(--off-white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
    background: var(--white);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-submit {
    margin-top: 8px;
}

.form-submit .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1rem;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--primary);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-text {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 4px;
}

.footer-brand .logo-sub {
    margin-bottom: 16px;
    display: block;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.5);
    max-width: 320px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom a {
    color: var(--accent);
    font-weight: 500;
}

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

/* ========================================
   Page Header (Inner Pages)
   ======================================== */
.page-header {
    background: var(--primary);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(184, 46, 59, 0.06) 0%, transparent 60%);
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: 3.2rem;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
}

.page-header p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.6);
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    position: relative;
}

.breadcrumb a {
    color: rgba(255,255,255,0.5);
}

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

.breadcrumb .sep {
    color: rgba(255,255,255,0.3);
}

/* ========================================
   About Page
   ======================================== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.about-text h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 16px;
    color: var(--text-body);
}

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

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

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.mission-card {
    text-align: center;
    padding: 48px 32px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.mission-card .icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.12), rgba(201, 168, 76, 0.04));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.mission-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.mission-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Impact numbers */
.impact-section {
    background: var(--primary);
    padding: 80px 0;
    text-align: center;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.impact-item .num {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.impact-item .label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-top: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ========================================
   Events Page
   ======================================== */
.event-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.event-details {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.event-details h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.event-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--text-body);
}

.event-meta-row .icon {
    width: 36px;
    height: 36px;
    background: rgba(201, 168, 76, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

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

.event-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.timeline {
    position: relative;
    padding-left: 48px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--accent);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--accent);
}

.timeline-item h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.timeline-item .time {
    font-size: 0.85rem;
    color: var(--accent-dark);
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   Animations
   ======================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.35s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.4s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

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

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

    .gallery-masonry {
        columns: 3;
    }

    .about-preview,
    .about-intro,
    .event-hero,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-float {
        display: none;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .navbar .nav-inner {
        padding: 16px 20px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 4px;
        transition: var(--transition);
        box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu a {
        padding: 14px 20px;
        font-size: 1rem;
    }

    .mobile-toggle {
        display: flex;
    }

    .language-toggle {
        top: 16px;
        right: 70px;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 120px 0 80px;
    }

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

    .hero-meta {
        flex-direction: column;
        gap: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

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

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

    .gallery-grid .gallery-item:nth-child(1) {
        grid-column: span 2;
    }

    .gallery-masonry {
        columns: 2;
    }

    .contest-info,
    .contest-groups,
    .benefits-grid,
    .sponsor-tiers {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .page-header {
        padding: 130px 0 60px;
    }

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

    .cta-content h2 {
        font-size: 2.2rem;
    }

    .about-preview-image .float-img {
        display: none;
    }

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

    .contact-form-wrap {
        padding: 32px 24px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .about-stat .num {
        font-size: 1.8rem;
    }

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

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

    .gallery-grid .gallery-item:nth-child(1) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-masonry {
        columns: 1;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
}
