
:root {
    --primary-color: #1F2937;
    --accent-color: #E83B3A;
    --highlight-color: #f3b010;
    --success-color: #006E70;
    --background-light: #F9FAFB;
    --text-dark: #1F2937;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --footer-bg: #E5E7EB;
}

body {
    font-family: 'Baloo Da 2', cursive;
    background: linear-gradient(135deg, var(--background-light), #E5E7EB);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

.navbar {
    background: #FFFFFF;
    box-shadow: 0 4px 12px var(--shadow-color);
    transition: all 0.3s ease;
    padding: 1rem 0; /* Adjusted for vertical centering */
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    max-height: 40px;
    margin-right: 0.5rem;
}

.navbar-brand, .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    text-decoration: none !important; /* Remove underline */
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #FF5555 !important; /* Red hover color to match logo */
}

.pulse-btn {
    background: linear-gradient(90deg, var(--accent-color), var(--highlight-color));
    border: none;
    font-weight: 500;
    border-radius: 25px;
    color: #fff;
    animation: pulseGlow 2.5s infinite ease-in-out;
    transition: all 0.3s ease;
    margin: auto 0; /* Center vertically */
}

.pulse-btn:hover {
    background: linear-gradient(90deg, var(--highlight-color), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 var(--highlight-color); /* Start with yellow glow */
    }
    70% {
        box-shadow: 0 0 0 15px rgba(106, 17, 203, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(106, 17, 203, 0);
    }
}

.hero {
    background: linear-gradient(rgb(26 26 64), rgb(242 169 19 / 46%)), url(https://source.unsplash.com/1600x900/?stars,night) center / cover no-repeat;
    color: white;
    padding: 10rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: pulse 15s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        background-size: 100%;
    }
    50% {
        background-size: 110%;
    }
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--highlight-color);
}

.hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    color: #F3F4F6;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 2.2rem;
    position: relative;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--highlight-color));
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;
}

.about-section {
    background: var(--background-light);
    padding: 5rem 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.about-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px var(--shadow-color);
}

.about-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.about-section strong {
    color: var(--accent-color);
    font-weight: 600;
}

.rules-section {
    background: linear-gradient(135deg, #fff, var(--background-light));
    padding: 5rem 0;
}

.rules-section ul {
    list-style: none;
    padding-left: 0;
    counter-reset: rule-counter;
}


.rules-section li[data-aos="fade-right"] {
    transform: translateX(-20px);
    opacity: 0;
}

.rules-section li[data-aos="fade-left"] {
    transform: translateX(20px);
    opacity: 0;
}

.rules-section li.aos-animate {
    transform: translateX(0);
    opacity: 1;
}

.rules-section li.aos-animate-reverse {
    transform: translateX(20px);
    opacity: 0;
}

.rules-section li[data-aos="fade-right"].aos-animate-reverse {
    transform: translateX(-20px);
}

.rules-section li:nth-child(1) {
    transition-delay: 0.1s;
}

.rules-section li:nth-child(2) {
    transition-delay: 0.2s;
}

.rules-section li:nth-child(3) {
    transition-delay: 0.3s;
}

.rules-section li:nth-child(4) {
    transition-delay: 0.4s;
}

.rules-section li:nth-child(5) {
    transition-delay: 0.5s;
}

.rules-section li:nth-child(6) {
    transition-delay: 0.6s;
}

.rules-section li:nth-child(7) {
    transition-delay: 0.7s;
}

.rules-section li:nth-child(8) {
    transition-delay: 0.8s;
}

.rules-section li:nth-child(9) {
    transition-delay: 0.9s;
}

.rules-section li:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);*/
    background: linear-gradient(135deg, #fff, #e0fdf9);
    border-left-color: var(--highlight-color);
}

.rules-section strong {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--highlight-color);
    border-radius: 50%;
    transition: transform 0.3s ease;
    /* padding: 10px; */
    min-height: 35px;
    min-width: 35px;
}

.rules-section li:hover strong {
    transform: scale(1.2);
}

.rules-section li span {
    font-size: 1.15rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.consent-checkbox {
    margin: 2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 15px var(--shadow-color);
    max-width: 700px;
    transition: all 0.3s ease;
}

.consent-checkbox:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.consent-checkbox input {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    accent-color: var(--accent-color);
    transition: transform 0.3s ease;
}

.consent-checkbox input:hover {
    transform: scale(1.2);
}

.consent-checkbox label {
    font-size: 1.2rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent-color), var(--highlight-color));
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(90deg, var(--highlight-color), var(--accent-color));
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-disabled {
    background: #D1D5DB;
    pointer-events: none;
    opacity: 0.6;
}

.mt-50 {
    margin-top: 50px !important;
}

footer {
    background: var(--footer-bg);
    color: var(--text-dark);
    padding: 3rem 0;
    text-align: center;
    position: relative;
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.1);
}

footer p {
    margin: 0.6rem 0;
    color: var(--text-dark);
}

/* Scroll Animation */
[data-aos][data-aos][data-aos-duration="400"], [data-aos][data-aos][data-aos-delay="400"] {
    transition-duration: 0.4s;
}

[data-aos][data-aos][data-aos-duration="600"], [data-aos][data-aos][data-aos-delay="600"] {
    transition-duration: 0.6s;
}

[data-aos][data-aos][data-aos-duration="800"], [data-aos][data-aos][data-aos-delay="800"] {
    transition-duration: 0.8s;
}

[data-aos][data-aos][data-aos-duration="1000"], [data-aos][data-aos][data-aos-delay="1000"] {
    transition-duration: 1s;
}

.submission-section {
    padding-top: 100px; /* Adjust for navbar height */
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); /* Subtle gradient for seamless background */
}

.container-narrow {
    max-width: 1000px; /* Smaller container width */
    margin-left: auto;
    margin-right: auto;
}

.form-card {
    background: rgba(255, 255, 255, 0.95); /* Semi-transparent white for card effect */
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    transition: transform 0.3s ease;
}

.form-card:hover {
    transform: translateY(-5px); /* Subtle lift effect on hover */
}

.form-control-custom {
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control-custom:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(var(--primary-color-rgb), 0.3);
}

.form-label {
    font-weight: 600;
    color: #333;
}

.form-check-label {
    color: #555;
}

.pulse-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 9px 30px;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.pulse-btn:not(.btn-disabled):hover {
    background-color: var(--highlight-color);
    transform: scale(1.05);
}

.btn-disabled {
    background-color: #ccc !important;
    cursor: not-allowed;
}

.consent-checkbox label {
    font-size: 0.9rem;
    color: #555;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.85rem;
}

.required-asterisk {
    color: #dc3545;
    font-size: 1rem;
}

.footer {
    background-color: #f5f5f5;
    font-size: 0.95rem;
}

.footer a {
    color: #333;
    text-decoration: none;
}

.footer a:hover {
    color: var(--highlight-color);
}

.social-icons i {
    font-size: 20px;
    color: #333;
    transition: all 0.3s ease;
}

.social-icons i:hover {
    color: var(--highlight-color);
    transform: scale(1.2);
}

.floating-medal {
    animation: swing 3s ease-in-out infinite alternate;
    transform-origin: top center;
    display: inline-block;
}

@keyframes swing {
    0% {
        transform: rotate(-7deg);
    }
    100% {
        transform: rotate(7deg);
    }
}

.section-title {
    position: relative;
    display: inline-block;
    margin: 0 auto;
    font-weight: 700;
    font-size: 2rem;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -12px;
    width: 80%;
    height: 4px;
    background: linear-gradient(90deg, #e53935, #fb8c00);
    border-radius: 4px;
}

/*.rules-section li {
    margin-bottom: 1.5rem;
    background: #fff;
    border-left: 6px solid var(--accent-color);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 6px 20px var(--shadow-color);
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    align-items: center;
}*/
.rules-section li {
    margin-bottom: 15px;
    background: #fff;
    /* border-left: 6px solid var(--accent-color); */
    padding: 0px 10px;
    border-radius: 0.75rem;
    /* box-shadow: 0 6px 20px var(--shadow-color); */
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    align-items: center;
}
/* News Section */
.news-card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.news-card img {
    height: 180px;
    object-fit: cover;
    width: 100%;
    border-bottom: 1px solid #eee;
    transition: transform 0.3s ease;
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-card .card-body {
    padding: 16px;
}

.news-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit title to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}






.video-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-color);
}

.video-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.video-wrapper {
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease;
    position: relative;
}

.video-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-color);
}

.play-btn-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #E83B3A; /* Red background */
    color: #fff; /* White play icon */
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
    transition: transform 0.2s ease;
}

.play-btn-overlay:hover {
    transform: scale(1.1);
}

.video-thumbnail {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.video-wrapper iframe {
    border: none;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}
/*mobile css*/
@media (max-width: 768px) {
    #bannerCarousel {
        margin-top: 82px;
    }
}
