* {
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-smotthing: antialiased;
    font-family: 'Outfit', sans-serif;

}

html,
body {
    scroll-behavior: smooth;
    /* overflow-x: hidden; */
}

/* width */
::-webkit-scrollbar {
    width: 3px;
}



:root {
    --primary-color: #295794;
    /* Energetic Orange */
    --secondary-color: #0d1b2a;
    /* Deep Navy */
    --accent-color: #ff9800;
    --light-bg: #f8f9fa;
    --text-muted: #6c757d;
}


.color_2 {
    color: #F8474E;
}

.bg_2 {
    background-color: #F8474E;
    color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6,
.btn,
.font {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Hero Section */

.carousel,
.carousel-inner,
.carousel-item {
    height: 100%;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
}

.hero-content {
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #ddd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-register {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    display: inline-block;
}

.btn-register:hover {
    background-color: transparent;
    color: #fff !important;
    transform: translateY(-3px);
}

/* About Section */
.section-header {
    margin-bottom: 3rem;
}

.section-header small {
    color: var(--primary-color);
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.about-img-container {
    position: relative;
}


/* Race Cards */
.race-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: none;
    height: 100%;
}

.race-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.race-img-wrapper {
    overflow: hidden;
    height: 250px;
}

.race-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.race-card:hover .race-img-wrapper img {
    transform: scale(1.1);
}

.race-content {
    padding: 25px;
    text-align: center;
}

.race-distance {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.img-adjust{
    width : 450px;
}
/* CTA Section */
.registration-cta {
    background: linear-gradient(rgba(13, 27, 42, 0.85), rgba(13, 27, 42, 0.95)), url('../Images/register.webp');
    /* Fallback to local image */
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: white;
}

/* Timing & Rules Grid */
.info-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s;
}

.info-box:hover {
    transform: translateY(-5px);

}

.info-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.time-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.time-list li:last-child {
    border-bottom: none;
}

.badge-custom {
    background: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
}


/* .heading {
    font-family: "Anton", sans-serif;
} */


/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #1A77BC;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.navbar-toggler:focus,
.navbar-toggler,
.navbar-toggler:active,
.navbar-toggler .navbar-toggler-icon:focus,
.navbar-toggler-icon {
    outline: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
ul,
li {
    padding: 0;
    margin: 0;
    list-style: none;
    text-decoration: none;
}




.color {
    /* color: #A6412C; */
    color: #295794 !important;
}

.color-text {
    color: #818181;
}

.border-color {
    border-color: #DEDEDE;
}


header nav {
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.06);
    background: #fff;
    transition: all 0.5s ease;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
    background-color: transparent;
}



nav.fixed-top .logo {
    width: 120px;
}

.logo {
    width: 140px;
}

.carousel-control-next,
.carousel-control-prev {
    width: 5%;
}

/* Fixed Navbar Style */
.navbar.fixed-top {
    background-color: rgb(255, 255, 255);
    transform: translateY(-20px);
    /* Initial state for animation */
    animation: slideDown 0.3s ease-out forwards;
    /* Smooth slide effect */
}

/* Slide Down Animation */
@keyframes slideDown {
    from {
        transform: translateY(-20px);
    }

    to {
        transform: translateY(0);
    }
}



.btn-register {
    /* background-color: #A6412C; */
    background-color: #295794;
    color: white;
    border: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    padding: 10px 20px;
}

.btn-register:hover {
    transform: scale(0.97);
    background-color: #092141;
    color: rgb(0, 0, 0) !important;
}

/* Banner Animation */
.carousel-item img {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Event Overview Section */
.event-overview img {
    animation: slideIn 1s ease-in-out;
}

@keyframes slideIn {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}



section.register .bg {
    background: url(../Images/register.webp) no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 100px 40px;
    border-radius: 50px;
}

section.register .card {
    box-shadow: 0 4px 28px 0 rgba(0, 0, 0, 0.25);
    background: rgba(166, 65, 44, 0.39);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 0 150px 0 0;
    padding: 30px;

}


section.race {
    background-color: #181B50;
}


section.race .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

/* Card Hover Effect */
section.race .card-hover:hover {
    transform: translateY(-3px);
    /* Lift the card */
}

/* Card Image Animation */
section.race .card-hover img {
    transition: transform 0.3s ease;
}

section.race .card-hover:hover img {
    transform: scale(1.02);
    /* Slight zoom-in effect */
}

/* Button Hover Effect */
section.race .btn-register {
    /* background-color: #A6412C; */
    background-color: #181B50;
    color: #fff;
    border: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

section.race .btn-register:hover {
    transform: scale(1.1);
    background-color: #48BC5B;
}


footer {
    background: #181B50 !important;
}


footer a {
    color: #fff !important;
}

footer a:hover {
    text-decoration: underline !important;
}

section.otherbanner {
    background-size: cover;
    background-repeat: no-repeat;
    height: 30vh;
}

ul.list li {
    list-style: disc !important;
    margin-left: 20px;
    line-height: 30px;
}


section.hero-banner .card-img-overlay {
    top: auto;
    bottom: 10%;
}

section.hero-banner .card-img-overlay h3 {
    font-size: 50px;
    width: 400px;
}


.btn-register {
    background: #F8474E;
    color: black !important;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    padding: 10px 30px;
    border-radius: 0;
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
    transition: all 0.3s;
    border: none;
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
}

.btn-register:hover {
    transform: scale(1.05);
    background: #48BC5B;
    color: black !important;
    /* box-shadow: 0 0 20px rgba(255, 94, 0, 0.6); */
}

.count_1 {
    max-width: 900px;
    padding: 0 50px;
    margin: 0 auto;
}


 .category-card {
            background: #ffffff;
            border: 1px solid #333;
            border-radius: 20px;
            padding: 0;
            overflow: hidden;
            transition: 0.4s;
            height: 100%;
            position: relative;
        }

        .category-card:hover {
            border-color: var(--neon-green);
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 0 30px rgba(0, 255, 157, 0.15);
        }

        .cat-img-box {
            height: 140px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Bebas Neue', sans-serif;
            font-size: 7rem;
            color: rgba(255,255,255,0.05);
            background: linear-gradient(45deg, #1a1a1a, #111);
            position: relative;
        }

        .cat-overlay {
            position: absolute;
            top: 50%; left: 50%;
            transform: translate(-50%, -50%);
            font-size: 4rem;
            color: white;
            text-shadow: 0 0 20px currentColor;
            z-index: 2;
        }


        .bento-grid {
            display: grid;
            grid-template-columns: repeat(12, 1fr);
            grid-template-rows: repeat(2, 280px); /* Increased height */
            gap: 20px;
        }

        .bento-item {
            background: #f6f6f6;
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 24px;
            padding: 30px;
            position: relative;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
        }

        .bento-item:hover {
            transform: translateY(-15px) !important;
            /* box-shadow: 0 10px 40px rgba(0,0,0,0.5); */
        }

        .bento-item:hover .bento-icon {
            transform: scale(1.2) rotate(5deg);
        }

        /* Grid Spans */
        .bento-1 { grid-column: span 4; background: url('../Images/Starting.webp') no-repeat center; background-size: cover; } /* Main Image */
        .bento-2 { grid-column: span 4; background: #fff; } /* Yoga */
        .bento-3 { grid-column: span 4; background: #fff; } /* Zumba */
        .bento-4 { grid-column: span 4; background: #fff; } /* Family */
        .bento-5 { grid-column: span 4; background: #fff;  } /* Party */
        .bento-6 { grid-column: span 4; background: #fff;  } /* Party */

        .bento-icon {
            font-size: 3.5rem;
            margin-bottom: 20px;
            color: #000;
            transition: transform 0.4s ease;
        }
        
        .bento-content {
            position: relative;
            z-index: 2;
        }

        
        .bento-item.dark-overlay::before {
            content: '';
            position: absolute;
            top:0; left:0; width:100%; height:100%;
            background: url('../Images/effect-2.png');
            background-size: cover;
            background-position: center;
            z-index: 1;
            mix-blend-mode: multiply;
            opacity: 0.4;
        }

        

        .icon_box{
            background-color: #FA4B2D;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 70px;
            height: 70px;
            border-radius: 100%;
            padding: 20px;
            margin-bottom: 16px;
        }
        .icon_box img{
           width: 45px;
            height: 45px;
        }

        .rounded-lg-5{
            border-radius: 20px;
        }


         .marquee-strip {
            background: #48BC5B;
            color: rgb(255, 255, 255);
            padding: 15px 0;
            /* transform: rotate(-2deg) scale(1.05); */
            position: relative;
            z-index: 10;
            margin-top: -30px;
            font-family: 'Bebas Neue', sans-serif;
            font-size: 1.5rem;
            overflow: hidden;
            white-space: nowrap;
            /* border-top: 3px solid black;
            border-bottom: 3px solid black; */
        }

        .marquee-content {
            display: inline-block;
            animation: marquee 25s linear infinite;
        }

        @keyframes marquee {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }


        .last{
            background: url('../Images/others-banner.webp') no-repeat;background-position: center;background-size: cover;
        }
        .bg_efffect{
         background: radial-gradient(50% 50% at 50% 50%, #7ab2f2 0%, #215b9e 100%);
        }


        
        /* Container for the student and bubble */
        #student-wrapper {
            position: fixed;
            bottom: 20px;
            right: -250px; /* Start off-screen */
            width: 200px;
            display: flex;
            flex-direction: column;
            align-items: center;
            z-index: 100;
            /* Smooth entrance transition */
            transition: right 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        /* The Speech Bubble */
        .speech-bubble {
            background: #ffffff;
            border: 3px solid #333;
            border-radius: 20px;
            padding: 15px;
            margin-bottom: 10px;
            position: relative;
            text-align: center;
            font-size: 16px;
            font-weight: bold;
            color: #333;
            box-shadow: 4px 4px 0px rgba(0,0,0,0.1);
            opacity: 0; /* Hidden initially */
            transform: scale(0.8);
            transition: all 0.4s ease;
            width: 250px;
            font-family: 'Comic Sans MS', 'Chalkboard SE', sans-serif;
        }

        /* Speech bubble pointer */
        .speech-bubble::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            border-width: 10px 10px 0;
            border-style: solid;
            border-color: #333 transparent transparent transparent;
        }

        .speech-bubble.visible {
            opacity: 1;
            transform: scale(1);
        }

        /* The Student Vector (SVG) */
        #student-svg {
            width: 120px;
            height: auto;
            /* Idle breathing animation */
            animation: breathe 2s infinite ease-in-out;
        }

        /* Animation States */
        
        /* 1. Enter Screen State */
        .on-screen {
            right: 30px !important; 
        }

        /* 2. Running State */
        .running {
            /* We animate the 'right' property to move across simply, 
               or use transform for better performance. 
               Using right: 100vw moves it to the left edge + width */
            transition: right 3s linear !important; 
            right: 120vw !important; /* Move way off the left side */
        }

        /* Add bobbing motion only when running */
        .running #student-svg {
            animation: run-bob 0.3s infinite alternate !important;
        }

        /* Keyframes */
        @keyframes breathe {
            0%, 100% { transform: scaleY(1); }
            50% { transform: scaleY(1.02); }
        }

        @keyframes run-bob {
            0% { transform: translateY(0) rotate(5deg); }
            100% { transform: translateY(-15px) rotate(10deg); }
        }