/* ================================================================
   JUNIOR LAKSH 2026 - Main Layout CSS (Enhanced Apple Style)
   ================================================================ */

/* Override hidden overflow from Coming Soon page */
html, body.developed-mode {
    overflow-y: auto;
    overflow-x: hidden;
    height: auto;
    min-height: 100vh;
    scroll-behavior: smooth;
    background: #FAFBFF;
}

body.developed-mode {
    justify-content: flex-start;
    padding-top: 80px; /* space for fixed header */
}

/* ── Typography & Colors ── */
.text-blue { color: var(--blue); }
.text-orange { color: var(--orange); }
.text-purple { color: var(--purple); }
.text-green { color: var(--green); }

.text-gradient {
    background: linear-gradient(90deg, var(--blue), var(--purple), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mx-auto { margin-left: auto; margin-right: auto; }

/* ── Header Navigation ── */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(250, 251, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(37, 88, 244, 0.08);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    flex-direction: column; /* to stack container and color line */
}

.site-header > .nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

/* Header Color Line Animation */
.header-color-line {
    width: 100%;
    height: 4px;
    display: flex;
}

.hcl-block {
    flex: 1;
    height: 100%;
    transition: background-color 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hcl-block.s-blue { background-color: var(--blue); }
.hcl-block.s-orange { background-color: var(--orange); }
.hcl-block.s-purple { background-color: var(--purple); }
.hcl-block.s-green { background-color: var(--green); }
.hcl-block.s-darkgreen { background-color: #0B683B; }

.nav-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.nav-logo img {
    height: 48px;
    object-fit: contain;
}

.nav-logo .jl-logo {
    height: 54px; /* Junior Laksh logo taller to match visual weight */
}

.logo-divider {
    width: 2px;
    height: 36px;
    background: rgba(0,0,0,0.1);
    border-radius: 2px;
}

.mobile-menu-btn {
    display: none;
}

.main-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: 'Space Grotesk', sans-serif;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.08em;
    transition: color 0.3s, transform 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: -6px; left: 0;
    background-color: var(--blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: var(--blue); }

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 99px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    cursor: inherit;
}

.btn-primary {
    background: var(--blue);
    color: white;
    box-shadow: 0 8px 24px rgba(37, 88, 244, 0.25);
}

.btn-primary:hover {
    background: #1a42cc;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(37, 88, 244, 0.35);
}

.btn-large {
    padding: 18px 48px;
    font-size: 16px;
}

.btn-outline {
    display: inline-block;
    padding: 12px 28px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border-radius: 99px;
    border: 2px solid;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-white { border-color: white; color: var(--blue); background: white; }
.btn-white:hover { background: transparent; color: white; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255,255,255,0.3); }

.btn-blue { border-color: var(--blue); color: var(--blue); }
.btn-blue:hover { background: var(--blue); color: white; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(37,88,244,0.2); }

.btn-orange { border-color: var(--orange); color: var(--orange); }
.btn-orange:hover { background: var(--orange); color: white; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(243,106,28,0.2); }

.btn-green { border-color: var(--green); color: var(--green); }
.btn-green:hover { background: var(--green); color: white; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(14,198,79,0.2); }

.btn-purple { border-color: var(--purple); color: var(--purple); }
.btn-purple:hover { background: var(--purple); color: white; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(207,79,232,0.2); }

/* ── Page Content & Sections ── */
.page-content {
    position: relative;
    z-index: 10;
    width: 100%;
    flex: 1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    
    /* Reset properties inherited from style.css */
    display: block;
    min-height: auto;
}

section {
    padding: 120px 0;
    position: relative;
}

/* Alternate Section Backgrounds */
.section-about {
    background: radial-gradient(circle at top right, rgba(207,79,232,0.03), transparent 60%);
}

.section-competitions {
    background: linear-gradient(180deg, transparent, rgba(37,88,244,0.02) 100%);
}

.section-contact {
    background: radial-gradient(circle at bottom left, rgba(14,198,79,0.04), transparent 50%);
}

.section-header {
    margin-bottom: 48px;
    text-align: center;
}

.section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.header-line {
    width: 80px;
    height: 5px;
    background: var(--blue);
    border-radius: 6px;
}

.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

/* ── Hero Section ── */
.section-hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 24px;
    position: relative;
}

.hero-title {
    font-size: clamp(33px, 5.5vw, 66px);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

/* ── Hero Animated Logo ── */
.hero-logo-anim-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 270px;
    margin: 0 auto 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-gif-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.title-word {
    display: inline-block;
    color: var(--text-color);
    transition: color 1s ease;
}

.title-word.tc-blue { color: var(--blue); }
.title-word.tc-orange { color: var(--orange); }
.title-word.tc-purple { color: var(--purple); }
.title-word.tc-green { color: var(--green); }
.title-word.tc-darkgreen { color: #0B683B; }

.hero-subtitle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 500;
    color: var(--text-color);
    opacity: 0.85;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-subtitle:hover {
    color: var(--blue);
}

.location-icon {
    color: var(--blue);
}

.hero-desc {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 24px;
}

.hero-date-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 0 auto 32px auto;
    width: fit-content;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05), inset 0 0 10px rgba(255,255,255,0.6);
}

.hero-date-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 0.02em;
    margin: 0;
}

.countdown {
    display: flex;
    gap: 20px;
}

.cd-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.cd-num {
    font-size: 32px;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-color);
    line-height: 1;
    margin-bottom: 4px;
}

.cd-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Floating Corn Shapes */
.hero-shapes {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    width: 60px;
    height: auto;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.1));
    animation: floatShape 8s ease-in-out infinite;
    opacity: 0.8;
}

@keyframes floatShape {
    0% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(10deg); }
    66% { transform: translateY(10px) rotate(-5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.shape-orange { top: 15%; left: 3%; width: 70px; animation-delay: 0s; }
.shape-purple { top: 25%; right: 3%; width: 50px; animation-delay: -2s; }
.shape-darkgreen { bottom: 20%; left: 4%; width: 80px; animation-delay: -4s; }
.shape-blue { bottom: 25%; right: 4%; width: 65px; animation-delay: -1s; }
.shape-green { top: 50%; right: 6%; width: 45px; animation-delay: -5s; }

/* ── About Section ── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 5;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(37, 88, 244, 0.15);
    border: 1px solid rgba(255,255,255,0.8);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image img:hover {
    transform: scale(1.02);
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.9;
}

.about-text p {
    margin-bottom: 24px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(37, 88, 244, 0.15);
    border: 1px solid rgba(255,255,255,0.8);
    background: #000;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-wrapper:hover {
    transform: scale(1.02);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.section-about-laksh .about-grid {
    grid-template-columns: 0.9fr 1.3fr;
}

.about-media {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.instagram-phone {
    flex-shrink: 0;
    width: auto;
    aspect-ratio: 9 / 19;
    height: auto;
    background: #000;
    border-radius: 32px;
    border: 8px solid #1a1a1a;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.instagram-phone:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(225,48,108,0.25);
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 18px;
    background: #1a1a1a;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}

.phone-screen {
    flex: 1;
    background: linear-gradient(135deg, rgba(240, 148, 51, 0.85) 0%, rgba(230, 104, 60, 0.85) 25%, rgba(220, 39, 67, 0.85) 50%, rgba(204, 35, 102, 0.85) 75%, rgba(188, 24, 136, 0.85) 100%), url('/assets/ig_preview.png') center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

.ig-icon svg {
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    fill: white;
    transition: transform 0.3s ease;
}

.instagram-phone:hover .ig-icon svg {
    transform: scale(1.1);
}

.ig-handle {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.ig-cta {
    font-size: 13px;
    font-weight: 600;
    background: rgba(255,255,255,0.25);
    padding: 8px 20px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    transition: background 0.3s ease;
}

.instagram-phone:hover .ig-cta {
    background: rgba(255,255,255,0.35);
}

/* ── Highlights Section ── */
.section-highlights {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    padding: 80px 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    text-align: center;
}

.stat-card {
    background: white;
    padding: 40px 20px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.06);
}

.stat-num {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    color: var(--text-mid);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ── Competitions Section ── */
.comps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.comp-card {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 48px 36px;
    border: 1px solid rgba(255,255,255,1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.comp-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 6px;
}

.comp-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.comp-card.card-blue::before { background: var(--blue); }
.comp-card.card-orange::before { background: var(--orange); }
.comp-card.card-green::before { background: var(--green); }
.comp-card.card-purple::before { background: var(--purple); }

.comp-icon {
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 64px;
}

.comp-icon img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.comp-card h3.comp-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-color);
}

.comp-card p.comp-desc {
    color: var(--text-mid);
    margin-bottom: 24px;
    line-height: 1.6;
    font-size: 15px;
}

.comp-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    text-align: left;
    background: rgba(0,0,0,0.03);
    padding: 16px 20px;
    border-radius: 16px;
}

.comp-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-color);
}

.meta-icon {
    font-size: 16px;
    opacity: 0.8;
}

.meta-text {
    font-weight: 600;
}

.comp-card .btn-outline {
    margin-top: auto;
}

.prize-badge {
    background: linear-gradient(135deg, rgba(255,255,255,1), rgba(255,255,255,0.5));
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 8px 24px rgba(0,0,0,0.03);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.prize-label {
    font-size: 14px;
    color: var(--text-mid);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.prize-amount {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--purple), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Special Card Styling (Expo) */
.comp-card.card-special {
    background: linear-gradient(135deg, var(--purple), #1e1b4b);
    color: white;
    border: none;
}

.comp-card.card-special::before {
    display: none;
}

.comp-card.card-special h3.comp-title,
.comp-card.card-special p.comp-desc,
.comp-card.card-special .meta-text,
.comp-card.card-special .meta-icon {
    color: white;
}

.comp-card.card-special p.comp-desc {
    opacity: 0.9;
}

.comp-card.card-special .comp-details {
    background: rgba(255,255,255,0.1);
}

.comp-card.card-special .btn-outline {
    border-color: white;
    color: white;
}

.comp-card.card-special .btn-outline:hover {
    background: white;
    color: var(--purple);
}

/* ── Expo Section ── */
.expo-banner {
    background: linear-gradient(135deg, #0f172a, #1e1b4b);
    border-radius: 32px;
    padding: 80px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.3);
}

/* Subtle glow behind expo text */
.expo-banner::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 100%; height: 200%;
    background: radial-gradient(circle, rgba(207,79,232,0.15) 0%, transparent 50%);
    pointer-events: none;
}

.expo-content {
    flex: 1.2;
    z-index: 2;
}

.expo-content h2 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.expo-content p {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
}

.expo-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.expo-features li {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}
.expo-features li::before {
    content: "✓";
    color: var(--orange);
    font-weight: 900;
    font-size: 20px;
}

.expo-image {
    flex: 1;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.expo-placeholder {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    color: rgba(255,255,255,0.4);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 18px;
}

/* ── Register Section ── */
.section-register {
    padding: 120px 24px;
    background: linear-gradient(180deg, rgba(37,88,244,0.02), transparent);
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.register-banner {
    max-width: 950px;
    margin: 0 auto;
    background: linear-gradient(-45deg, var(--blue), var(--purple), var(--orange));
    background-size: 300% 300%;
    animation: gradientMove 10s ease infinite;
    padding: 80px 40px;
    text-align: center;
    border-radius: 32px;
    box-shadow: 0 30px 80px rgba(37, 88, 244, 0.2);
    color: white;
}

.register-banner h2 {
    font-size: 44px;
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: white;
}

.register-banner p {
    color: rgba(255,255,255,0.9);
    font-size: 20px;
}

/* ── Contact Section ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-mid);
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.03);
}

.contact-item strong {
    color: var(--text-dark);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-map {
    width: 100%;
    height: 100%;
    min-height: 450px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    color: #aaa;
    font-weight: 700;
    letter-spacing: 2px;
}

/* ── Footer ── */
.dev-footer {
    position: relative;
    background: white;
    margin-top: 60px;
    opacity: 1; 
    z-index: 100;
}

.dev-footer .bottom-strip {
    opacity: 1; 
    border-radius: 0;
    height: 10px;
}

.footer-bottom {
    padding: 40px 20px;
    text-align: center;
}

/* ── Apple Style Scroll Reveal Animations ── */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-fade {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity;
}

.reveal-up.visible, 
.reveal-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Competition Detail Pages ── */
.comp-hero {
    padding: 120px 24px 80px;
    color: white;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.banner-blue { background: linear-gradient(135deg, var(--blue), #1a42cc); }
.banner-orange { background: linear-gradient(135deg, var(--orange), #cc5511); }
.banner-green { background: linear-gradient(135deg, var(--green), #0a8a36); }

.comp-flag {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 99px;
    margin-bottom: 24px;
}

.comp-title {
    font-size: clamp(48px, 7vw, 84px);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.comp-layout {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 80px;
    margin-top: 60px;
}

.comp-left-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-block {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
}

.info-block h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-weight: 700;
}

.info-block p {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-dark);
}

.comp-right-col {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(20px);
    padding: 60px;
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.04);
    border: 1px solid rgba(255,255,255,1);
}

.guidelines-block h2 {
    font-size: 36px;
    margin-bottom: 30px;
    font-weight: 800;
}

.guidelines-block h3 {
    font-size: 24px;
    color: var(--blue);
    margin-bottom: 16px;
    margin-top: 40px;
    font-weight: 700;
}

.guidelines-block ul {
    padding-left: 24px;
    margin-bottom: 24px;
}

.guidelines-block li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: var(--text-mid);
    font-size: 18px;
}

.guidelines-block p {
    line-height: 1.7;
    color: var(--text-mid);
    margin-bottom: 20px;
    font-size: 18px;
}

/* ── Responsive Additions ── */
@media (max-width: 992px) {
    .expo-banner { flex-direction: column; padding: 50px 30px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .comp-layout { grid-template-columns: 1fr; gap: 40px; }
    .comp-right-col { padding: 40px 30px; }
}

@media (max-width: 768px) {
    .nav-logo img { height: 32px; }
    .nav-logo .jl-logo { height: 36px; }
    .logo-divider { height: 24px; }
    
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1100;
        padding: 0;
    }
    
    .hamburger-line {
        width: 100%;
        height: 3px;
        background-color: var(--blue);
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-btn.active .hamburger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: var(--orange);
    }
    .mobile-menu-btn.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active .hamburger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: var(--orange);
    }
    
    .main-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(250, 251, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1050;
    }
    
    .main-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 24px;
    }
    
    .hero-subtitle {
        display: block;
        text-align: center;
        line-height: 1.5;
    }
    
    .location-icon {
        display: inline-block;
        vertical-align: middle;
        margin-right: 4px;
        margin-bottom: 2px;
    }
    
    .about-grid, .section-about-laksh .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-media {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        width: 100%;
    }
    
    .video-wrapper {
        width: 100%;
    }
    
    .instagram-phone {
        height: 380px;
        width: auto;
        margin: 0 auto;
    }
    
    .section-hero { min-height: 70vh; }
    section { padding: 80px 0; }
    .register-banner { padding: 50px 24px; }
    
    .hero-shapes, .geo-shapes, .prisms {
        display: none !important;
    }
}
/* ── Competition Modal ── */
.comp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align top so we can apply padding-top */
    padding: 100px 20px 20px 20px; /* Push below the 80px header */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto; /* Allow overlay to scroll if modal is too tall on small screens */
}

.comp-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.comp-modal {
    background: #fff;
    width: 100%;
    max-width: 650px;
    border-radius: 16px; /* slightly smaller radius */
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0 auto auto auto; /* Centered horizontally, pushed to top of flex container */
}

.comp-modal-overlay.active .comp-modal {
    transform: translateY(0) scale(1);
}

.comp-modal-header {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.comp-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comp-modal-title img {
    height: 24px;
}

.comp-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: #888;
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
    padding: 0;
}

.comp-modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.comp-modal-body {
    padding: 16px 24px;
}

.comp-modal-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.03);
}

.comp-modal-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.comp-modal-meta-label {
    font-size: 0.7rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comp-modal-meta-value {
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
}

.comp-modal-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue);
    margin: 16px 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comp-modal-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(37, 88, 244, 0.2);
}

.comp-modal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comp-modal-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
    line-height: 1.4;
    color: #444;
    font-size: 0.85rem;
}

.comp-modal-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--blue);
    font-size: 1.1rem;
    font-weight: bold;
}

.comp-modal-list li ul {
    list-style: none;
    padding-left: 16px;
    margin-top: 4px;
}

.comp-modal-list li ul li::before {
    content: "-";
    color: #888;
}

.comp-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(0,0,0,0.05);
    background: #fafafa;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}

.btn-register-now {
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(37, 88, 244, 0.3);
}

.btn-register-now:hover {
    background: #1c45c4;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 88, 244, 0.4);
    color: #fff;
}
