:root {
    --primary: #4a00e0;
    --secondary: #8e2de2;
    --accent: #ff6b6b;
    --light: #f8f9fa;
    --dark: #212529;
    --success: #28a745;
    --warning: #ffc107;
    --info: #17a2b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navlinks {
    display: flex;
}

.navlinks li {
    margin: 0 15px;
}

.navlinks a {
    font-weight: 500;
    transition: all 0.3s ease;
}

.navlinks a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.countdown {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.countdown-item {
    margin: 0 15px;
    text-align: center;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    opacity: 0.8;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Events Section */
.events {
    background-color: #f8f9fa;
    position: relative;
}

.events-container {
    display: flex;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
    gap: 20px;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.events-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

.event-card {
    min-width: 300px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.event-image {
    height: 200px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-details {
    padding: 20px;
}

.event-details h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.event-details p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.event-meta {
    display: flex;
    justify-content: space-between;
    color: #888;
    font-size: 0.8rem;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* Event navigation arrows */
.event-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: all 0.3s ease;
}

.event-nav:hover {
    background: var(--primary);
    color: white;
}

.event-nav.prev {
    left: 10px;
}

.event-nav.next {
    right: 10px;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: white;
    font-size: 1.1rem;
}

/* FAQ Section */
.faq {
    background-color: #f8f9fa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 300px;
}

/* Contact Section */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-details {
    margin-top: 30px;
}

.contact-details div {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-details i {
    width: 40px;
    height: 40px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-column ul li a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }

    .event-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .countdown-item {
        margin: 0 8px;
    }
    
    .countdown-number {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 60px 0;
    }
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

/* Individual video card */
.video-item {
    position: relative;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
}

.video-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Wrapper to keep video ratio */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio */
    background: #000;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

/* Add gradient overlay on hover */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(74, 0, 224, 0.8), rgba(142, 45, 226, 0.4));
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-item:hover .video-overlay {
    opacity: 1;
}

/* Play icon */
.video-overlay i {
    font-size: 3rem;
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.video-item:hover .video-overlay i {
    transform: scale(1.1);
}

/* Video title */
.video-item h4 {
    text-align: center;
    margin: 15px 0 18px;
    font-size: 1.15rem;
    color: var(--dark);
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.video-item:hover h4 {
    color: var(--primary);
}

/* Subtitle or description (optional) */
.video-item p {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

/* Hover glow effect */
.video-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.video-item:hover::after {
    opacity: 0.15;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .video-grid {
        gap: 20px;
    }

    .video-item h4 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

#videos,#leaderboard {
    background: linear-gradient(135deg, #f7f8fa 0%, #e6ecf3 100%);
    padding: 80px 0;
}

.leaderboard-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.leaderboard-row {
    padding: 18px 30px;
    border-radius: 15px;
    background: linear-gradient(90deg, #ffffff 0%, #e8f0ff 100%);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    font-weight: 600;
    font-size: 1.15rem;
    position: relative;
    overflow: hidden;
}
.leaderboard-row::before {
    content: '';
    position: absolute;
    left: -50%;
    top: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(45deg);
}
.leaderboard-row:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    background: linear-gradient(90deg, #d0e4ff 0%, #a8ccff 100%);
}

/* Top 3 Podium Style */
.top-podium {
    background: linear-gradient(90deg, #fff8e1 0%, #ffe0b2 100%);
}
.top-podium .rank {
    font-size: 2rem;
}

/* Rank / Medal */
.rank {
    flex: 0 0 60px;
    text-align: center;
}

/* Name */
.name {
    flex: 1;
    text-align: left;
    padding-left: 20px;
    font-weight: 700;
    color: #0a3d62;
}

/* Points */
.points {
    flex: 0 0 100px;
    text-align: right;
    font-weight: 700;
    font-size: 1.2rem;
    color: #ff416c;
    background: linear-gradient(90deg, #ff416c, #ff4b2b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.category-name {
    flex: 1 1 120px;
}

.category-points {
    flex: 1 1 120px;
    background: none;
    padding: 6px 8px;
    border-radius: 8px;
    font-weight: 600;
    color: #ff416c;
}

/* About Section */
#about {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

#about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #4a6baf, var(--primary));
}



.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.text-highlight {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 60px;
    border-left: 5px solid var(--primary);
    text-align: center;
}

.text-highlight p {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #444;
    margin: 0;
    font-weight: 500;
}

/* Four Features in Single Row */
.feature-grid-single-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 60px 0;
}

.feature-card {
    background: white;
    padding: 40px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-top: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-top: 3px solid var(--primary);
}

.feature-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), #4a6baf);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.icon-bg {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, rgba(74, 107, 175, 0.1), rgba(74, 107, 175, 0.05));
    border-radius: 25px;
    z-index: 1;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.feature-card p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.feature-number {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1rem;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.1);
}

.stats-row {
    display: flex;
    width: 100%;
    background: #f7faff;
    border-radius: 15px;
    overflow: hidden;
    margin: 60px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.stat-column {
    flex: 1;
    text-align: center;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background 0.3s;
}



.stat-column:hover {
    background: #d0e4ff;
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
    color: #555;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .stats-row {
        flex-direction: column;
    }
}

/* Enhanced Banners */
.about-banners-enhanced {
    margin: 60px 0;
}

.banner-enhanced {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.banner-visual {
    flex: 1;
    position: relative;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-icon-large {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary), #4a6baf);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    z-index: 2;
    position: relative;
}

.banner-graphic {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 107, 175, 0.1), rgba(74, 107, 175, 0.05));
    border-radius: 20px;
}

.banner-content-enhanced {
    flex: 1;
}

.banner-content-enhanced h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.banner-content-enhanced p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 10px 0;
    font-size: 1.1rem;
    color: #555;
    display: flex;
    align-items: center;
}

.feature-list i {
    color: var(--primary);
    margin-right: 15px;
    font-size: 1.2rem;
    width: 20px;
}


/* Responsive adjustments */
@media (max-width: 1024px) {
    .feature-grid-single-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .banner-enhanced {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    #about {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .text-highlight {
        padding: 20px;
    }
    
    .feature-grid-single-row {
        grid-template-columns: 1fr;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
    
    .cta-section-enhanced {
        padding: 40px 20px;
    }
    
    .cta-buttons-enhanced {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

