:root {
    --clr-bg: #f8fafc;
    --clr-surface: #ffffff;
    --clr-card: #ffffff;
    --clr-text: #0f172a;
    --clr-text-soft: #475569;
    --clr-border: #e2e8f0;

    /* Theme #337dae */
    --clr-accent: #337dae;
    --clr-accent-light: #5ba4da;
    --gradient-primary: linear-gradient(135deg, #337dae 0%, #1e5276 100%);
    --gradient-hover: linear-gradient(135deg, #4d94c7 0%, #2a6996 100%);
    --gradient-text: linear-gradient(135deg, #337dae 0%, #1e5276 100%);

    --hero-overlay: linear-gradient(
        to bottom,
        rgba(248, 250, 252, 0.7),
        rgba(248, 250, 252, 1)
    );
    --nav-bg: rgba(255, 255, 255, 0.85);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 25px rgba(51, 125, 174, 0.2);

    --font-hero: "Outfit", sans-serif;
    --font-body: "Inter", sans-serif;
}

[data-theme="dark"] {
    --clr-bg: #0a1118;
    --clr-surface: #101822;
    --clr-card: #16212e;
    --clr-text: #f8fafc;
    --clr-text-soft: #94a3b8;
    --clr-border: rgba(255, 255, 255, 0.1);

    --gradient-text: linear-gradient(135deg, #5ba4da 0%, #337dae 100%);
    --hero-overlay: linear-gradient(
        to bottom,
        rgba(10, 17, 24, 0.8),
        rgba(10, 17, 24, 1)
    );
    --nav-bg: rgba(10, 17, 24, 0.85);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 25px rgba(51, 125, 174, 0.4);
}

/* ═══════════════════════════════════════════════════════════
       2. RESET & BASE
    ═══════════════════════════════════════════════════════════ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-body);
    background-color: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.6;
    overflow-x: hidden;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-hero);
    font-weight: 700;
    line-height: 1.2;
    color: var(--clr-text);
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}

/* ═══════════════════════════════════════════════════════════
       3. UTILITIES & GRID SYSTEM
    ═══════════════════════════════════════════════════════════ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Flexbox Helpers */
.d-flex {
    display: flex;
}
.flex-wrap {
    flex-wrap: wrap;
}
.align-items-center {
    align-items: center;
}
.align-items-end {
    align-items: flex-end;
}
.justify-content-center {
    justify-content: center;
}
.gap-3 {
    gap: 1rem;
}

/* Text Helpers */
.text-center {
    text-align: center;
}
.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Margin Helpers */
.me-1 {
    margin-right: 0.3rem;
}
.me-2 {
    margin-right: 0.5rem;
}
.mt-3 {
    margin-top: 1rem;
}
.mb-3 {
    margin-bottom: 1rem;
}
.mt-4 {
    margin-top: 1.5rem;
}
.mb-4 {
    margin-bottom: 1.5rem;
}
.mt-5 {
    margin-top: 3rem;
}
.mb-5 {
    margin-bottom: 3rem;
}

/* Custom Grid (Safe from overlapping) */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    row-gap: 1.5rem;
}
.row > * {
    padding: 0 15px;
    width: 100%;
    flex: 0 0 auto;
    max-width: 100%;
}
.col-6 {
    width: 50%;
    max-width: 50%;
}

@media (min-width: 768px) {
    .col-md-3 {
        width: 25%;
        max-width: 25%;
    }
    .text-md-end {
        text-align: right;
    }
}
@media (min-width: 992px) {
    .col-lg-2 {
        width: 16.666667%;
        max-width: 16.666667%;
    }
    .col-lg-5 {
        width: 41.666667%;
        max-width: 41.666667%;
    }
    .col-lg-6 {
        width: 50%;
        max-width: 50%;
    }
    .col-lg-7 {
        width: 58.333333%;
        max-width: 58.333333%;
    }
    .text-lg-end {
        text-align: right;
    }
}

/* ═══════════════════════════════════════════════════════════
       4. COMPONENTS
    ═══════════════════════════════════════════════════════════ */
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-family: var(--font-hero);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(51, 125, 174, 0.6);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--clr-text);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-family: var(--font-hero);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--clr-border);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.btn-outline:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
}

.btn-outline-utmm {
    background: transparent;
    color: var(--clr-text);
    border: 1px solid var(--clr-border);
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-family: var(--font-hero);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.btn-outline-utmm:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
}

.btn-primary-utmm {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-family: var(--font-hero);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
}
.btn-primary-utmm:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(51, 125, 174, 0.6);
    color: white;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(51, 125, 174, 0.1);
    border: 1px solid rgba(51, 125, 174, 0.3);
    color: var(--clr-accent-light);
    border-radius: 50px;
    font-family: var(--font-hero);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.section-padding {
    padding: 6rem 0;
}
.bg-surface {
    background-color: var(--clr-surface);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-subtitle {
    color: var(--clr-accent-light);
    font-weight: 700;
    font-family: var(--font-hero);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}
.section-title {
    font-size: 2.8rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 1.2rem;
    background: rgba(51, 125, 174, 0.1);
    border: 1px solid rgba(51, 125, 174, 0.3);
    color: var(--clr-accent-light);
    border-radius: 50px;
    font-family: var(--font-hero);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.feature-chip {
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    color: var(--clr-text-soft);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 4px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}
.feature-chip i {
    color: var(--clr-accent-light);
}
.feature-chip:hover {
    border-color: var(--clr-accent);
    color: var(--clr-text);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ═══════════════════════════════════════════════════════════
       5. LAYOUT & SECTIONS
    ═══════════════════════════════════════════════════════════ */

/* ─── NAVBAR ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 0;
    z-index: 1000;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--clr-border);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar-brand {
    font-family: var(--font-hero);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.navbar-brand i {
    font-size: 1.8rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.navbar-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-link {
    font-family: var(--font-hero);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--clr-text-soft);
    transition: color 0.3s;
    position: relative;
}
.nav-link:hover,
.nav-link.active {
    color: var(--clr-text);
}
.nav-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s;
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}
.theme-toggle {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    color: var(--clr-text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.1rem;
}
.theme-toggle:hover {
    background: var(--clr-card);
    transform: rotate(15deg);
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--clr-text);
    font-size: 1.8rem;
    cursor: pointer;
}

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}
.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    background-color: var(--clr-bg);
}
.hero-media img,
.hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-overlay);
    z-index: -1;
}
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    z-index: -1;
    animation: float 10s infinite alternate;
}
.hero::before {
    top: -10%;
    left: -10%;
    background: #337dae;
}
.hero::after {
    bottom: -10%;
    right: -10%;
    background: #1e5276;
    animation-delay: -5s;
}
@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 0;
}
.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}
.hero-desc {
    font-size: 1.2rem;
    color: var(--clr-text-soft);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-inline: auto;
}
.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

/* ─── COUNTDOWN ─── */
.countdown-wrapper {
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    padding: 2rem;
    border-radius: 20px;
    display: inline-flex;
    gap: 2rem;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    flex-wrap: wrap;
    justify-content: center;
}
.cd-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cd-num {
    font-family: var(--font-hero);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.cd-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-text-soft);
    margin-top: 0.5rem;
    font-weight: 600;
}

/* ─── STATS ─── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}
.stat-item {
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}
.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--clr-accent);
}
.stat-num {
    font-family: var(--font-hero);
    font-size: 3rem;
    font-weight: 900;
    color: var(--clr-text);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label {
    color: var(--clr-text-soft);
    font-weight: 500;
}

/* ─── ABOUT ─── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.about-img img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}
.about-img:hover img {
    transform: scale(1.05);
}
.about-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}
.about-content p {
    color: var(--clr-text-soft);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(51, 125, 174, 0.1);
    color: var(--clr-accent-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}
.feature-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
    font-family: var(--font-body);
}

/* ─── CATEGORIES ─── */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.cat-card {
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.cat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.cat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: rgba(51, 125, 174, 0.3);
}
.cat-card:hover::before {
    transform: scaleX(1);
}
.cat-icon {
    font-size: 3rem;
    color: var(--clr-text);
    margin-bottom: 1.5rem;
}
.cat-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.cat-desc {
    color: var(--clr-text-soft);
    margin-bottom: 2rem;
}
.cat-details {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--clr-border);
}
.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.detail-item i {
    color: var(--clr-accent-light);
}
.detail-item span {
    font-size: 0.9rem;
    font-weight: 600;
}
.cat-price {
    font-family: var(--font-hero);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}
.cat-price span {
    font-size: 1rem;
    color: var(--clr-text-soft);
    font-weight: 400;
}

/* ─── RACE INFO TABS ─── */
.info-tab-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.info-tab {
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    color: var(--clr-text);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-family: var(--font-hero);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.info-tab.active,
.info-tab:hover {
    background: var(--clr-accent);
    color: white;
    border-color: var(--clr-accent);
    box-shadow: var(--shadow-glow);
}
.info-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}
.info-panel.active {
    display: block;
}

.schedule-row {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}
.schedule-row:hover {
    transform: translateX(5px);
    border-color: rgba(51, 125, 174, 0.4);
}
.schedule-time {
    font-family: var(--font-hero);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--clr-accent);
    line-height: 1;
}
.schedule-date {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--clr-text-soft);
    text-transform: uppercase;
    margin-top: 0.3rem;
}
.schedule-title {
    font-family: var(--font-hero);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}
.schedule-desc {
    font-size: 0.9rem;
    color: var(--clr-text-soft);
}

.rule-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--clr-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--clr-border);
}
.rule-num {
    font-family: var(--font-hero);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--clr-accent-light);
    opacity: 0.4;
    line-height: 1;
}
.rule-content h6 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-hero);
}
.rule-content p {
    font-size: 0.95rem;
    color: var(--clr-text-soft);
    margin: 0;
}

.mandatory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.mandatory-item {
    background: var(--clr-card);
    padding: 1.2rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--clr-border);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: transform 0.2s;
}
.mandatory-item:hover {
    border-color: var(--clr-accent-light);
    transform: translateY(-2px);
}
.mandatory-item i {
    color: var(--clr-accent-light);
    font-size: 1.4rem;
}

.route-map-placeholder {
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: 20px;
    padding: 2rem;
    overflow-x: auto;
    display: flex;
    justify-content: center;
}
.elev-svg {
    width: 100%;
    min-width: 600px;
    max-width: 900px;
    height: auto;
}

/* ─── GALLERY SECTION ─── */
.gallery-section {
    padding: 6rem 0;
    background: var(--clr-surface);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1rem;
}
.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 100%;
}
.gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}
.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}
.gallery-item:hover .gallery-placeholder {
    transform: scale(1.05);
}
.gallery-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    transition: background 0.3s ease;
}
.gallery-item:hover .gallery-placeholder::before {
    background: rgba(0, 0, 0, 0.7);
}
.gallery-placeholder > div {
    position: relative;
    z-index: 2;
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 3;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-overlay i {
    font-size: 2.5rem;
    color: white;
    transform: scale(0.5);
    transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Dummy Backgrounds for gallery placeholders */
.gp-1 {
    background-image: url("https://images.unsplash.com/photo-1542223616-9de9aca5e8dc?q=80&w=1000&auto=format&fit=crop");
}
.gp-2 {
    background-image: url("https://images.unsplash.com/photo-1551632811-561732d1e306?q=80&w=800&auto=format&fit=crop");
}
.gp-3 {
    background-image: url("https://images.unsplash.com/photo-1476480862126-209bfaa8edc8?q=80&w=800&auto=format&fit=crop");
}
.gp-4 {
    background-image: url("https://images.unsplash.com/photo-1530915152865-c3c9cb59edb1?q=80&w=800&auto=format&fit=crop");
}
.gp-5 {
    background-image: url("https://images.unsplash.com/photo-1452626022479-5e6b6211ae42?q=80&w=800&auto=format&fit=crop");
}

/* ─── SPONSORS SECTION ─── */
.sponsors-section {
    padding: 5rem 0;
    background: var(--clr-bg);
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
    overflow: hidden;
}
.sponsor-logo {
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    font-weight: 700;
    color: var(--clr-text-soft);
    font-family: var(--font-hero);
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 80px;
    box-shadow: var(--shadow-sm);
}
.sponsor-logo:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* ─── CTA BAND ─── */
.cta-band {
    padding: 5rem 0;
    background: var(--clr-surface);
    position: relative;
    overflow: hidden;
}
.cta-band-title {
    font-family: var(--font-hero);
    font-size: 2.8rem;
    line-height: 1.2;
    font-weight: 800;
}

/* ─── FAQ ─── */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    background: var(--clr-card);
    overflow: hidden;
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    font-family: var(--font-hero);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--clr-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}
.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}
.faq-question i {
    transition: transform 0.3s;
    color: var(--clr-accent-light);
}
.faq-question.open i {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-answer.open {
    max-height: 200px;
}
.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--clr-text-soft);
}

/* ─── FOOTER ─── */
footer {
    background: var(--clr-surface);
    border-top: 1px solid var(--clr-border);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-logo {
    width: 250px;
    max-width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    display: block;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}
.footer-logo:hover {
    transform: translateY(-3px);
}
.footer-brand h3 {
    font-family: var(--font-hero);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-brand i {
    color: var(--clr-accent-light);
}
.footer-brand p {
    color: var(--clr-text-soft);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.social-links {
    display: flex;
    gap: 1rem;
}
.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-text);
    transition: all 0.3s;
}
.social-links a:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}
.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.footer-links ul li {
    margin-bottom: 0.8rem;
}
.footer-links a {
    color: var(--clr-text-soft);
    font-size: 0.95rem;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--clr-accent-light);
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--clr-border);
    color: var(--clr-text-soft);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── MOBILE MENU ─── */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--clr-bg);
    z-index: 2000;
    display: none;
    padding: 2rem;
    overflow-y: auto;
}
.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}
.btn-close {
    background: none;
    border: none;
    color: var(--clr-text);
    font-size: 2rem;
    cursor: pointer;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}
.mobile-nav a {
    font-family: var(--font-hero);
    font-size: 1.5rem;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
       6. RESPONSIVE QUERIES
    ═══════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 2rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    .text-lg-end {
        text-align: left;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-desc {
        font-size: 1rem;
    }
    .countdown-wrapper {
        gap: 1rem;
        padding: 1.5rem;
    }
    .cd-num {
        font-size: 1.8rem;
    }
    .category-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    .gallery-item:first-child {
        grid-column: span 1;
        grid-row: span 1;
    }
    .cta-band-title {
        font-size: 2.2rem;
    }

    /* Mobile Slider for Sponsors */
    .sponsors-section .row {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 1rem;
        margin-left: -15px;
        margin-right: -15px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .sponsors-section .row::-webkit-scrollbar {
        display: none;
    }
    .sponsors-section .col-6 {
        flex: 0 0 65%;
        max-width: 65%;
        scroll-snap-align: center;
    }
}
