
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
}


/* Navbar */

.custom-navbar {
    background: #06172b;
    padding: 15px 0;
}


/* Logo */

.navbar-brand {
    font-size: 24px;
    color: #ffffff;
}

.navbar-brand:hover {
    color: #ffffff;
}


/* Menu Links */

.navbar-nav .nav-link {
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    margin: 0 7px;
    transition: 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #ff8a1f;
}

.navbar-nav .nav-link.active {
    color: #ff8a1f;
}


/* Register Button */

.register-btn {
    background: #ff8a1f;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 5px;
    font-weight: 600;
    border: none;
}

.register-btn:hover {
    background: #ffffff;
    color: #06172b;
}


/* Mobile Responsive */

@media (max-width: 991px) {

    .navbar-collapse {
        padding-top: 20px;
    }

    .navbar-nav .nav-link {
        margin: 5px 0;
    }

    .register-btn {
        display: inline-block;
    }
}

.hero-img {
    height: 720px;
    object-fit: cover;
}

.hero-overlay {
    background: linear-gradient(
        90deg,
        rgba(2, 18, 35, 0.90) 0%,
        rgba(2, 18, 35, 0.65) 45%,
        rgba(2, 18, 35, 0.05) 80%
    );
}

.hero-title {
    font-size: clamp(45px, 7vw, 70px);
}

.hero-line {
    width: 40px;
    height: 3px;
    background: #ff8a1f;
}

.hero-description {
    max-width: 750px;
}

.countdown-section {
    background: linear-gradient(
        135deg,
        #021427,
        #021427
    );
}

.categories-section {
    background-color: #061f38;
}

.category-card {
    background: linear-gradient(180deg, #0a2745 0%, #081b30 100%) !important;
    transition: 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
}

.timeline-section {
    background: #061f38;
}

.timeline-blue {
    color: #4db8ff;
}

.timeline-card {
    background: #0b3155;
    border-left: 4px solid #ff9f1c;
    transition: 0.3s;
}

.timeline-card:hover {
    transform: translateX(6px);
    background: #0d3b66;
}

.timeline-time {
    background: #ff9f1c;
    color: #061f38;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background: rgba(77, 184, 255, 0.15);
    color: #4db8ff;
    font-size: 22px;
}
.featured-card {
    background: linear-gradient(180deg, #ff9800 0%, #d97f00 100%) !important;
}

/* Route Section */

.route-section {
    background: #061f38;
}

.route-blue {
    color: #4db8ff;
}


/* Information Boxes */

.route-info-box {
    background: #0b3155;
    border: 1px solid rgba(255, 255, 255, 0.08);
}


/* Tabs */

.route-tabs .nav-link {
    background: #0b3155;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.route-tabs .nav-link:hover {
    color: #ff9f1c;
}

.route-tabs .nav-link.active {
    background: #ff9f1c;
    color: #061f38;
}


/* Landmark Badge */

.route-badge {
    background: rgba(77, 184, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(77, 184, 255, 0.25);
    padding: 8px 12px;
    border-radius: 50px;
    font-size: 13px;
}


/* Bottom Notes */

.route-warning {
    background: rgba(255, 159, 28, 0.10);
    border: 1px solid rgba(255, 159, 28, 0.30);
}

.route-safety {
    background: rgba(77, 184, 255, 0.08);
    border: 1px solid rgba(77, 184, 255, 0.25);
}

.registration-section {
    background: #061f38;
}

.register-blue {
    color: #4db8ff;
}

.registration-card {
    background: #0b3155;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.register-badge {
    background: rgba(77, 184, 255, 0.12);
    color: #4db8ff;
    border: 1px solid rgba(77, 184, 255, 0.25);
}

.footer-section {
    background: #041526;
}

.footer-link {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: 0.3s;
}

.footer-link:hover {
    color: #ff9f1c;
}

.footer-icon {
    color: #4db8ff;
    font-size: 18px;
}

.text-accent{
    color: #ff9f1c;
}

.runner-benefits {
    background: #041526;
}

.benefit-card {
    background: #0b3155;
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-7px);
    border-color: rgba(255,159,28,0.5);
}

.enquiry-topbar {
    background: linear-gradient(90deg, #031221, #092a49, #031221);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.enquiry-link {
    transition: 0.3s;
}

.enquiry-link:hover {
    color: #ff9f1c !important;
}

/* About Section */

.about-section {
    background:
        radial-gradient(
            circle at left,
            rgba(77, 184, 255, 0.08),
            transparent 35%
        ),
        #041526;
}

.about-image-wrapper img {
    min-height: 480px;
    object-fit: cover;
}

.about-badge {
    background: rgba(4, 21, 38, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.about-line {
    width: 40px;
    height: 3px;
    background: #ff9f1c;
}

.about-info-card {
    background: rgba(11, 49, 85, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.3s ease;
}

.about-info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 159, 28, 0.45);
}

@media (max-width: 767px) {

    .about-image-wrapper img {
        min-height: 350px;
    }

}

@media (max-width:767px) {
    #form {padding-top: 5;}
}

/* ===== ONLY MOBILE HERO FIX ===== */

@media (max-width: 767px) {

    #home {
        height: auto;
        min-height: auto;
    }

    #home .hero-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #home .hero-overlay {
        z-index: 1;
    }

    #home > .position-absolute.top-50 {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        z-index: 2;
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .hero-title {
        font-size: 34px;
        line-height: 1.1 !important;
    }

    .hero-description {
        font-size: 16px !important;
    }
}

