:root {
    --yellow: #FACC15;
    --orange: #ef5d22;
    --black: #000000;
    --dark: #111111;
    --light: #F9FAFB;
    --instagram: #E4405F;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Poppins, Arial, sans-serif;
    background: #fff;
    color: #000;
}

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

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    position: sticky;
    top: 0; /* Reset to 0 since banner is gone */
    background: #f7f7f7;
    border-bottom: 1px solid #eee;
    z-index: 1000;
}

nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 14px;
}

    nav a:hover {
        color: var(--orange);
    }

.btn {
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background: var(--orange);
    color: #fff;
    font-weight: 600;
    border: none;
    text-decoration: none;
}

#races .btn-primary {
    position: absolute;
    bottom: 20px;
}

.btn-secondory {
    background: #ffffff;
    color: #ef5d22;
    font-weight: 600;
    border: none;
    text-decoration: none;
}

.btn-outline {
    border: 2px solid #000;
    background: none;
    font-weight: 600;
}

/* SECTIONS GENERIC */
section {
    padding: 60px 0;
}

h2.section-title {
    font-size: 32px;
    text-align: center;
    margin: 0 0 10px;
}

p.section-subtitle {
    text-align: center;
    color: #555;
    margin: 0 0 40px;
}

/* WHATSAPP FLOATING BUTTON */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #009688;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .whatsapp-float:hover {
        background-color: #128C7E;
        transform: scale(1.1);
        box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.4);
    }

/* INSTAGRAM FLOATING BUTTON */
.instagram-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 110px;
    right: 40px;
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .instagram-float:hover {
        transform: scale(1.1);
        box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.4);
        background: linear-gradient(45deg, #FD1D1D, #E1306C, #C13584, #833AB4, #5851DB, #405DE6);
    }

/* Social media tooltips */
.social-tooltip {
    position: fixed;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

.whatsapp-tooltip {
    bottom: 110px;
    right: 30px;
}

.instagram-tooltip {
    bottom: 180px;
    right: 30px;
}

.social-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 20px;
    border-width: 6px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.85) transparent transparent transparent;
}

.whatsapp-float:hover + .whatsapp-tooltip,
.instagram-float:hover + .instagram-tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* HERO */
#hero {
    padding: 80px 20px 80px;
    background: url('images/banner.jpg') no-repeat center center / cover;
    color: white;
    position: relative;
    height: 500px;
}

    #hero .container {
        position: relative;
        z-index: 2;
    }

    #hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        z-index: 1;
    }

    #hero .hero-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 40px;
    }

    #hero h1 {
        font-size: 50px;
        font-weight: 800;
        margin: 10px 0 15px;
    }

    #hero p {
        margin: 0;
    }

.chips span {
    display: inline-block;
    background: var(--orange);
    color: #000;
    padding: 8px 18px;
    margin-right: 10px;
    font-weight: bold;
    border-radius: 20px;
    font-size: 13px;
}

.hero-tag {
    color: var(--orange);
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 1px;
}

.hero-right {
    text-align: right;
    font-size: 60px;
    font-weight: 800;
    opacity: 0.08;
    line-height: 1.1;
}

/* Mewari Runners SECTION */
#mewari-runners {
    background: linear-gradient(135deg, #1a1a1a, #000);
    color: white;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

    #mewari-runners::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('images/360_F_356310974_2Rgeln5zNXZgG4eb9q97PC2OVWzIyZIr.jpg');
        background-size: cover;
        opacity: 0.1;
    }

.MewariRunners-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.MewariRunners-header {
    text-align: center;
    margin-bottom: 40px;
}

.MewariRunners-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.MewariRunners-date {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    background: rgba(250, 204, 21, 0.2);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid rgba(250, 204, 21, 0.3);
}

.MewariRunners-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.MewariRunners-description {
    font-size: 18px;
    line-height: 1.7;
    color: #f0f0f0;
}

    .MewariRunners-description p {
        margin-bottom: 20px;
    }

.MewariRunners-details {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

    .detail-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .detail-item h4 {
        font-size: 16px;
        font-weight: 600;
        color: var(--orange);
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .detail-item p {
        font-size: 14px;
        color: #ddd;
        margin: 0;
        padding-left: 28px;
    }

.detail-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Basic dropdown styling */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    padding: 0 10px;
    color: #000;
    font-weight: 500;
    font-size: 14px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 10;
}

    .dropdown-content a {
        display: block;
        padding: 10px 14px;
        text-decoration: none;
        color: #000;
    }

.dropdown:hover .dropdown-content {
    display: block;
}

/* STATS */
#stats {
    background: #111;
    color: white;
    text-align: center;
}

.stats-inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-box {
    margin: 20px 40px;
    min-width: 160px;
}

    .stat-box h2 {
        color: var(--orange);
        font-size: 32px;
        margin: 0;
    }

/* ABOUT */
#about {
    background: #fff;
}

.about-wrapper {
    display: flex;
    gap: 40px;
    align-items: stretch;
    flex-wrap: wrap;
}

.about-left {
    flex: 1 1 55%;
}

.about-right {
    border-left: 6px solid #ef5d22;
    flex: 1 1 35%;
    background: var(--light);
    border-radius: 12px;
    padding: 20px;
}

.about-highlight {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

    .about-highlight div {
        text-align: center;
    }

    .about-highlight h3 {
        margin: 0;
        font-size: 24px;
        color: var(--orange);
    }

    .about-highlight span {
        font-size: 12px;
        color: #555;
    }

/* RACES */
#races {
    background: #fff;
    text-align: center;
}

.race-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.race-card {
    display: flex;
    background: #000;
    color: white;
    padding: 25px;
    width: 300px;
    border-radius: 12px;
    text-align: left;
    position: relative;
    overflow: hidden;
    flex-direction: column;
    justify-content: flex-start;
}

    .race-card h3 {
        color: var(--orange);
        margin-top: 0;
    }

.race-meta {
    font-size: 13px;
    color: #ddd;
    margin: 8px 0;
}

.race-level {
    margin-bottom: 45px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #bbb;
}

.race-big {
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 60px;
    font-weight: 800;
    opacity: 0.05;
}

/* ROUTE */
#route {
    background: var(--light);
}

.route-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.route-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.route-subgrid {
    line-height: 1.5;
    font-size: 14px;
    display: grid;
    /* grid-template-columns: repeat(auto-fit,minmax(180px,1fr));*/
    gap: 15px;
    margin-top: 10px;
}

.route-item {
    background: #f4f4f4;
    border-radius: 20px;
    padding: 12px 12px;
    font-size: 15px;
}

.cutoff-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 2px solid var(--orange);
}

    .cutoff-timeline li {
        padding: 10px 15px 10px 18px;
        position: relative;
        font-size: 13px;
    }

        .cutoff-timeline li::before {
            content: '';
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--orange);
            position: absolute;
            left: -6px;
            top: 15px;
        }

/* Intermediate Cutoffs Styling */
.cutoff-section {
    margin-top: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px 20px;
    border-left: 4px solid var(--orange);
}

    .cutoff-section h4 {
        margin: 0 0 15px 0;
        color: #000;
        font-size: 16px;
    }

.cutoff-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

    .cutoff-table th {
        background: #eee;
        padding: 8px 10px;
        text-align: left;
        font-weight: 600;
        border-bottom: 1px solid #ddd;
    }

    .cutoff-table td {
        padding: 8px 10px;
        border-bottom: 1px solid #eee;
    }

    .cutoff-table tr:last-child td {
        border-bottom: none;
    }

.distance-cell {
    font-weight: 600;
    color: #000;
}

.time-cell {
    color: #333;
}
/* INCLUDED */
#included {
    background: #000;
    color: white;
    text-align: center;
}

.inc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 20px;
    margin-top: 30px;
}

.inc-item {
    box-shadow: 0 0 2px rgb(255 255 255);
    background: #111;
    padding: 20px;
    border-radius: 10px;
    font-size: 14px;
}

.inc-item_border {
    box-shadow: 0 0 10px rgb(255 255 255 / 60%);
    border: solid 2px #fff;
    padding: 20px;
    border-radius: 10px;
    font-size: 14px;
    background: rgb(0 0 0 / 12%);
}

    .inc-item_border:hover {
        transform: scale(1.05);
    }

.inc-item:hover {
    transform: scale(1.05);
}
/* RULES SECTION */
/* Card */
#rules.rules-card {
    max-width: 900px;
    margin: auto;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    border-left: 6px solid #0d6efd;
}
/* Header */
.rules-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

    .rules-header .icon {
        width: 70px;
        height: 70px;
        background: #0d6efd;
        color: #fff;
        font-size: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

    .rules-header h3 {
        margin: 0;
        font-size: 1.6rem;
        color: #222;
    }

    .rules-header p {
        margin-top: 6px;
        color: #666;
        font-size: 15px;
    }
/* List */
.rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .rules-list li {
        position: relative;
        padding: 16px 16px 16px 50px;
        margin-bottom: 14px;
        background: #f8f9fc;
        border-radius: 12px;
        transition: .3s;
        font-size: 15px;
        color: #444;
    }

        .rules-list li:hover {
            background: #fff1f1;
            transform: translateX(8px);
        }

        .rules-list li::before {
            content: "✔";
            position: absolute;
            left: 18px;
            top: 50%;
            transform: translateY(-50%);
            width: 22px;
            height: 22px;
            background: #ef5d22;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: bold;
        }
/* Mobile */
@media (max-width:768px) {
    .rules-card {
        padding: 25px;
    }

    .rules-header {
        flex-direction: column;
        text-align: center;
    }

    .rules-list li {
        padding-left: 45px;
    }
}
/* FAQ */
#faq {
    background: #fff;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 15px 5px;
    cursor: pointer;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
}

.faq-toggle {
    font-size: 20px;
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .45s ease, opacity .35s ease, transform .35s ease, padding .45s ease;
    padding-top: 0;
    font-size: 14px;
    color: #555;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
    padding-top: 10px;
}
/* CONTACT */
#contact {
    background: var(--dark);
    color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
}

    .contact-grid h3 {
        margin-top: 0;
    }

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    font-family: inherit;
    font-size: 14px;
}

.contact-form textarea {
    min-height: 90px;
    resize: vertical;
}

.contact-info p {
    margin: 6px 0;
    font-size: 14px;
}
/* CTA */
    #cta {
        background-size: contain !important;
        background-position: left;
        background-repeat: no-repeat !important;
        padding: 70px 20px;
        background-image: url(images/mainbanner.png);
        text-align: center;
        margin: 0px 10%;
    }

    #cta h2 {
        font-size: 34px;
        margin-bottom: 10px;
        margin-left: 40%;
    }

    #cta p, #cta a {
        margin-left: 40%;
    }
/* FOOTER */
footer {
    background: #000;
    color: white;
    padding: 25px 20px;
    text-align: center;
    font-size: 13px;
}
/* MOBILE MENU STYLES */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #000;
    padding: 5px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px; /* Adjusted since banner is gone */
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    z-index: 999;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

    .mobile-menu.active {
        display: block;
    }

    .mobile-menu a {
        display: block;
        padding: 12px 0;
        text-decoration: none;
        color: #000;
        font-weight: 500;
        border-bottom: 1px solid #eee;
    }

        .mobile-menu a:hover {
            color: var(--orange);
        }

.mobile-dropdown {
    margin: 12px 0;
}

.mobile-dropdown-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.mobile-dropdown-content {
    display: none;
    padding-left: 15px;
    background: #f9f9f9;
    margin-top: 5px;
    border-radius: 5px;
}

    .mobile-dropdown-content a {
        padding: 10px 15px;
        border-bottom: 1px solid #eee;
    }

.mobile-dropdown.active .mobile-dropdown-content {
    display: block;
}

.mobile-dropdown-arrow {
    transition: transform 0.3s;
}

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

.mobile-register-btn {
    margin-top: 20px;
    text-align: center;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.badge-orange {
    background: var(--orange);
    color: #fff;
}

.badge-glass {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

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

    .hero-hashtags span {
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 1px;
        color: rgba(255,255,255,0.35);
    }

.hero-right-display {
    text-align: center;
    opacity: 0.9;
}

.km-block {
    gap: 11px;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    margin-bottom: 16px;
    justify-content: flex-start;
}

.km-num {
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
    color: var(--orange);
    text-shadow: 0 0 40px rgba(239,93,34,0.5);
}

.km-Text {
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    color: var(--orange);
    text-shadow: 0 0 40px rgba(239,93,34,0.5);
}

.km-Text-Sub {
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    color: var(--orange);
    text-decoration: underline;
}

.km-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

.km-sep {
    font-size: 28px;
    font-weight: 900;
    color: rgba(255,255,255,0.2);
    margin: 4px 0 12px;
}

.edition-pill {
    display: inline-block;
    background: rgba(239,93,34,0.15);
    border: 1px solid rgba(239,93,34,0.4);
    color: var(--orange);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 5px 16px;
    border-radius: 20px;
    text-transform: uppercase;
}

a {
    text-decoration: none;
}
/* RESPONSIVE */
@media (max-width: 1024px) {
    header {
        padding: 15px 20px;
    }

    nav a {
        margin: 0 8px;
        font-size: 13px;
    }
}

@media (max-width: 900px) {
    header {
        padding: 10px 20px;
        top: 0;
    }

    #hero .hero-inner {
        flex-direction: column;
        text-align: left;
    }

    .hero-right {
        text-align: left;
        font-size: 48px;
    }

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

    .desktop-nav {
        display: none !important;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-menu {
        display: none;
    }

        .mobile-menu.active {
            display: block;
        }
    /* CTA */
    #cta {
        background-size: 60%;
    }
}

@media (max-width: 768px) {
    .MewariRunners-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .MewariRunners-date {
        font-size: 18px;
    }

    .MewariRunners-description {
        font-size: 16px;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        margin-top: 10px;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }
    /* Social media buttons mobile adjustments */
    .whatsapp-float,
    .instagram-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
    }

    .whatsapp-float {
        bottom: 30px;
        right: 30px;
    }

    .instagram-float {
        bottom: 100px;
        right: 30px;
    }

    .whatsapp-tooltip,
    .instagram-tooltip {
        font-size: 12px;
        padding: 6px 10px;
    }

    .whatsapp-tooltip {
        bottom: 95px;
        right: 20px;
    }

    .instagram-tooltip {
        bottom: 165px;
        right: 20px;
    }

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

    .mobile-menu {
        top: 60px;
    }
    /* CTA */
    #cta {
        background-size: 60%;
    }
}

@media (max-width: 600px) {
    #hero h1 {
        font-size: 34px;
    }

    h2.section-title {
        font-size: 26px;
    }

    .stat-box {
        margin: 10px 20px;
        min-width: 120px;
    }

    .about-wrapper {
        flex-direction: column;
    }

    .about-left,
    .about-right {
        flex: 1 1 100%;
    }

    .race-card {
        width: 100%;
        max-width: 300px;
    }

    .stats-inner {
        gap: 10px;
    }

    .stat-box h2 {
        font-size: 28px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    section {
        padding: 40px 0;
    }

    .MewariRunners-title {
        font-size: 24px;
    }

    .MewariRunners-date {
        font-size: 16px;
    }
    /* Social media buttons mobile adjustments */
    .whatsapp-float,
    .instagram-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
    }

    .whatsapp-float {
        bottom: 25px;
        right: 25px;
    }

    .instagram-float {
        bottom: 90px;
        right: 25px;
    }

    .whatsapp-tooltip,
    .instagram-tooltip {
        display: none; /* Hide tooltip on very small screens */
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px 15px;
        top: 0;
    }

    #hero {
        padding: 60px 20px 60px;
        height: auto;
        min-height: 400px;
    }

    .chips span {
        padding: 6px 12px;
        font-size: 12px;
        margin-bottom: 5px;
    }

    .menu-toggle {
        font-size: 20px;
    }

    .mobile-menu {
        top: 55px;
    }

    .MewariRunners-title {
        font-size: 22px;
    }

    .MewariRunners-description {
        font-size: 15px;
    }
    /* Social media buttons mobile adjustments */
    .whatsapp-float,
    .instagram-float {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .instagram-float {
        bottom: 80px;
        right: 20px;
    }

    .km-block {
        gap: 0px !important;
        display: flex;
        flex-direction: column !important;
        align-items: baseline;
        margin-bottom: 16px;
        justify-content: flex-start !important;
    }
}

/* ── GALLERY ───────────────────────────────────────── */
#marathon-gallery {
    background: var(--light);
}
#marathon-gallery img {
    max-width: 100%;
    display: block;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 14px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
}

    .gallery-item.tall {
        grid-row: span 2;
    }

    .gallery-item.wide {
        grid-column: span 2;
    }

.gal-ph {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    transition: transform 0.3s;
}

    .gal-ph small {
        font-size: 11px;
        opacity: 0.6;
    }

    .gal-ph:hover {
        transform: scale(1.02);
    }

.gal-1 {
    background: linear-gradient(135deg, #1a1a3e, #2d2d70);
}

.gal-2 {
    background: linear-gradient(135deg, #ef5d22, #ff9055);
}

.gal-3 {
    background: linear-gradient(135deg, #c81e3a, #e84d6a);
}

.gal-4 {
    background: linear-gradient(135deg, #2d2d70, #1a1a3e);
}

.gal-5 {
    background: linear-gradient(135deg, #ef5d22, #c81e3a);
}

.gal-6 {
    background: linear-gradient(135deg, #1a1a3e, #ef5d22);
}

@media (max-width: 900px) {
    

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

    .gallery-item.wide {
        grid-column: span 2;
    }

    .gallery-item.tall {
        grid-row: span 1;
    }
    .sponsor-top {
        display: inline-flex;
        justify-content: space-evenly;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    

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

    .gallery-item.wide, .gallery-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .countdown {
        gap: 4px;
    }

    .cd-block {
        min-width: 64px;
        padding: 10px 12px;
    }

    .cd-num {
        font-size: 30px;
    }
    .sponsor-top {
        display: inline-flex;
        justify-content: space-evenly;
        flex-direction: column;
    }
}
/* ── SPONSORS ──────────────────────────────────────── */
#marathon-sponsors {
    background: #fff;
}

.sponsor-tiers {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tier-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gray);
    text-align: center;
    margin-bottom: 16px;
}

.sponsor-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}
.sponsor-top {
    display: inline-flex;
    justify-content: space-evenly;
}
.sponsor-card {
    border-radius: 10px;
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
}

    .sponsor-card:hover {
        transform: translateY(-3px);
    }

    .sponsor-card img {
        max-height: 45px;
        max-width: 98%;
        object-fit: contain;
    }

    .sponsor-card .sp-fallback {
        font-size: 13px;
        font-weight: 700;
        color: #888;
        text-align: center;
        line-height: 1.3;
    }

.tier-1 .sponsor-card {
    min-width: 240px;
    min-width: 240px;
}

    .tier-1 .sponsor-card img {
        max-height: 50px;
    }

.sponsor-cta {
    text-align: center;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #ebebeb;
}

    .sponsor-cta p {
        color: var(--gray);
        font-size: 14px;
        margin-bottom: 12px;
    }
/* ── REGISTER / CTA ────────────────────────────────── */
#marathon-register {
    background: linear-gradient(135deg, #111111 0%, #121216 50%, #121216 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

    #marathon-register::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at 80% 0%, rgba(239,93,34,0.2) 0%, transparent 50%), radial-gradient(ellipse at 10% 100%, rgba(200,30,58,0.15) 0%, transparent 50%);
        pointer-events: none;
    }

.register-inner {
    position: relative;
    z-index: 2;
}

.register-title {
    font-size: clamp(36px, 7vw, 72px);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

    .register-title span {
        color: var(--orange);
    }

.register-sub {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* Countdown */
.countdown-wrap {
    margin-bottom: 48px;
}

.cd-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 14px;
}

.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cd-block {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 14px 20px;
    min-width: 80px;
}

.cd-num {
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
    display: block;
}

.cd-unit {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-top: 4px;
    display: block;
}

.cd-sep {
    font-size: 28px;
    font-weight: 900;
    color: var(--orange);
    align-self: flex-start;
    margin-top: 10px;
}

/* Category cards */
.reg-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.reg-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px;
    padding: 32px 40px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .reg-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 40px rgba(0,0,0,0.3);
    }

    .reg-card.featured {
        border-color: var(--orange);
        background: rgba(239,93,34,0.1);
        box-shadow: 0 0 0 1px var(--orange);
    }

.rc-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange);
    color: white;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.rc-dist {
    font-size: 52px;
    font-weight: 900;
    line-height: 1;
}

.rc-name {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}

.rc-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--orange);
    margin: 8px 0;
}
.oursupporters {
    width: 55%;
}
@media (max-width: 640px) {
    .oursupporters {
        width: 100%;
    }
}