* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    position: relative;
}

/* Background */
.bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    background: url('images/static2.png') center top repeat-y;
    background-size: 100% auto;
    background-attachment: scroll;
    z-index: -2;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    background: linear-gradient(135deg, rgba(0, 50, 30, 0.7) 0%, rgba(0, 20, 40, 0.8) 100%);
    z-index: -1;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(0, 15, 15, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #859ADB;
    text-shadow: 0 0 10px rgba(63, 74, 152, 0.5);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 1.8rem;
    height: 1.8rem;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(63, 74, 152, 0.5));
}

.logo,
.logo-icon {
    transition: all 0.3s ease;
}

.logo:hover,
.logo:hover .logo-icon {

    text-shadow: 0 0 20px rgba(63, 74, 152, 0.8), 0 0 30px rgba(63, 74, 152, 0.5);
    filter: drop-shadow(0 0 15px rgba(63, 74, 152, 0.8));
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    transition: all 0.3s ease;
}

.nav-links a {
    color: #e5e7eb;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-links a:hover {
    color: #859ADB;
    background: rgba(63, 74, 152, 0.1);
}

/* Sections */
section {
    min-height: 100vh;
    padding: 6rem 2rem 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    color: #859ADB;
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 0 0 20px rgba(63, 74, 152, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

.section-subtitle {
    font-size: 1.5rem;
    color: #859ADB;
    text-align: center;
    margin: 2rem 0 1.5rem 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle:first-of-type {
    margin-top: 0.5rem;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(63, 74, 152, 0.5);
    }

    to {
        text-shadow: 0 0 30px rgba(63, 74, 152, 0.8), 0 0 40px rgba(63, 74, 152, 0.3);
    }
}

/* Hero Section */
.hero {
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #859ADB;
    text-shadow: 0 0 30px rgba(63, 74, 152, 0.8);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #d1d5db;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.6);
}

.blue-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(63, 74, 152, 0.4);
}

.blue-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(63, 74, 152, 0.6);
}

/* Content Cards */
.content-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-5 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}


/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0rem;
    top: 1.5rem;
    bottom: 4rem;
    width: 2px;
    background: #859ADB;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.45rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background: #859ADB;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(63, 74, 152, 0.5);
}

.timeline-date {
    color: #859ADB;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Prize Cards */
.prize-card {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.1));
    border: 2px solid #fbbf24;
    border-radius: 15px;
    padding: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.prize-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(251, 191, 36, 0.3);
}

.prize-amount {
    font-size: 2rem;
    color: #fbbf24;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* FAQ */
.faq-item {
    margin-bottom: 1rem;
}

.faq-question {
    background: rgba(63, 74, 152, 0.1);
    border: none;
    color: #859ADB;
    padding: 1rem;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(63, 74, 152, 0.2);
}

.faq-answer {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #d1d5db;
}

.faq-answer.active {
    max-height: fit-content;
    padding: 1rem;
}

/* Sponsors */
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
}

.sponsor-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.sponsor-grid.co-organisers .sponsor-card {
    min-height: 260.3px;
    height: 260.3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #859ADB;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: block;
        transition: transform 0.3s ease;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 20, 20, 0.98);
        flex-direction: column;
        padding: 0;
        max-height: 0;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(133, 154, 219, 0.2);
        gap: 0;
        pointer-events: none;
        visibility: hidden;
    }

    .nav-links.active {
        max-height: fit-content;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        visibility: visible;
    }

    .nav-links li {
        opacity: 0;
        transition: all 0.2s ease;
        border-bottom: 1px solid rgba(133, 154, 219, 0.1);
    }

    .nav-links.active li {
        opacity: 1;
    }

    /* Stagger the animation of menu items */
    .nav-links.active li:nth-child(1) {
        transition-delay: 0.05s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.15s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.25s;
    }

    .nav-links.active li:nth-child(6) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(7) {
        transition-delay: 0.35s;
    }

    .nav-links a {
        padding: 1rem 2rem;
        border-radius: 0;
        display: block;
        width: 100%;
        text-align: center;
    }

    .nav-links a:hover {
        background: rgba(63, 74, 152, 0.2);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    section {
        padding: 4rem 1rem 2rem;
    }
}

/* Floating elements */
.floating-element {
    position: absolute;
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}
