:root {
    --primary: #1a1a1a;
    --secondary: #ffffff;
    --accent: #c79f27;
    --bg: #0a0a0a;
}

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

body {
    font-family: 'Roboto', sans-serif;
}

h1, h2, h3, .section-title {
    font-family: 'Poppins', sans-serif;
}


body {
    background-color: var(--bg);
    color: var(--secondary);
    background-image: url('../assets/background.png');
    background-size: cover; /* Ensures the image covers the entire background */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed; /* Prevents the image from repeating */
    position: relative; /* Added for overlay positioning */
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(21, 31, 40, 0.6); /* First overlay */
    z-index: -20; /* Places the overlay behind the content */
}

body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); 
    backdrop-filter: blur(2px);/* Second overlay */
    z-index: -10; /* Places the overlay behind the content but above the first overlay */
}

/* Navbar styles */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(26, 26, 26, 0.5); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Blur effect */
    border-radius: 50px;
    border: 1px solid rgba(76, 41, 41, 0.2); 
    z-index: 1000;
}

.nav-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent);
}

.nav-brand img {
    width: 210px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    font-size: 1.13rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-links a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Hamburger menu styles */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Responsive styles */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 100%;
        background: rgba(26, 26, 26, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        z-index: -1;
        border-radius: 50px;
        gap: 2rem;
        
    }

    .nav-links li {
        width: 90%; /* Ensure the line spans the full width */
        border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Add a solid line */
        padding: 0.3rem 0; /* Add spacing above and below the line */
    }
    
    .nav-links li:last-child {
        border-bottom: none; /* Remove the line after the last item */
    }
    
    .nav-links a {
        color: var(--secondary);
        text-decoration: none;
        transition: color 0.3s ease;
        display: block; /* Ensure the link spans the full width */
        text-align: center; /* Center-align the text */
        /* Add padding inside the button */
    }
    
    .nav-links a:hover {
        color: var(--accent);
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* Hero section styles */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent; /* Ensures sections are transparent */
    overflow: hidden;

    
}

.organizer_logo{
    width: 60%; 
    max-width: 600px; 
    margin: 0 auto; 
    display: block;
    margin-bottom: 20px;

}
.main_logo {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: block;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3)); /* Adds shadow to edges */
    transition: filter 0.3s ease; /* Smooth shadow change */
    position: relative; /* Required for the pseudo-element */
    overflow: hidden; /* Ensures the animation stays within the logo */
}

.main_logo {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: block;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3)); /* Adds shadow to edges */
    transition: filter 0.3s ease; /* Smooth shadow change */
    position: relative; /* Required for the pseudo-element */
    overflow: hidden; /* Ensures the animation stays within the logo */
}

.main_logo {
    position: relative;
    overflow: hidden;
}

.main_logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: red; /* Temporary background for debugging */
    transform: skewX(-30deg);
    animation: shine-animation 2s infinite;
}

@keyframes shine-animation {
    0% {
        left: -100%; /* Start off-screen */
    }
    100% {
        left: 100%; /* Move across the logo */
    }
}

@keyframes shine-animation {
    0% {
        left: -100%; /* Start off-screen */
    }
    100% {
        left: 100%; /* Move across the logo */
    }
}

.main_logo:hover {
    filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.5)); /* Intensifies the shadow on hover */
}


.registration-btn {
    margin-top: 20px;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent background */
    backdrop-filter: blur(5px); /* Blur effect */
    border: 2px solid rgba(255, 255, 255, 0.8); /* Border for glass effect */
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 30px;
    
}

.registration-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(199, 159, 39, 0.3);
}

/* Responsive styles for registration button */
@media (max-width: 768px) {
    .registration-btn {
        font-size: 1rem; /* Reduce font size */
        padding: 0.8rem 1.5rem; /* Adjust padding */
        border-radius: 40px; /* Slightly smaller border radius */
    }

    .main_logo {
        width: 80%; /* Adjust logo size for smaller screens */
    }
    .organizer_logo {
        width: 80%; /* Adjust logo size for smaller screens */
    }

    .body{
        padding-top: 80px; /* Adjust padding for smaller screens */
    }

    .hero{
        height: 85vh;
    }

    


}

@media (max-width: 480px) {
    .registration-btn {
        font-size: 1.2rem; /* Further reduce font size for smaller screens */
        padding: 0.6rem 1rem; /* Adjust padding for smaller screens */
        /* Make the button full-width */
        text-align: center; /* Center-align text */
    }

    
    .organizer_logo{
        width: 80%; 
        max-width: 600px; 
        margin: 0 auto; 
        display: block;
        margin-bottom: 20px;
    
    }
    .main_logo {
        width: 100%; 
        max-width: 1200px; 
        margin-bottom: 20px;
    }
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 2rem;
    /* opacity: 0;
    transform: translateY(50px);
    z-index: 10000; */
}

.organizer_logo, .main_logo, .registration-btn {
    /* opacity: 0;
    transform: translateY(20px); */
}




.title {
    font-size: 6.5rem;
    font-weight: 900;
    background: var(--accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    letter-spacing: 12px;
    position: relative;
    text-transform: uppercase;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.tagline {
    font-size: 1.8rem;
    color: var(--secondary);
    letter-spacing: 6px;
    opacity: 0.9;
}

.section-divider {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    gap: 1rem;
}

.line {
    height: 1px;
    width: 100px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
}

.diamond {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    transform: rotate(45deg);
}

.about {
    min-height: 100vh;
    padding: 4rem 8rem;
    background: transparent; /* Ensures sections are transparent */
}

.about-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-grid2 {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    
}

.image-placeholder {
    width: 100%;
    height: auto;
    max-height: 400px; 
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex; /* Added */
    justify-content: center; /* Added */
    align-items: center; /* Added */
}

.image-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: shine 2s infinite;
}

.about-content {
    padding: 2rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px; /* Adjusts the distance below the title */
    left: 50%; /* Centers the line */
    transform: translateX(-50%); /* Ensures the line is perfectly centered */
    width: 100px; /* Adjust the width of the line */
    height: 3px; /* Thickness of the line */
    background: var(--accent); /* Matches the accent color */
}

.section-title2 {
    font-size: 1.9rem;
    color: var(--accent);
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

.section-title2::after {
    content: '';
    position: absolute;
    bottom: -10px; /* Adjusts the distance below the title */
    left: 50%; /* Centers the line */
    transform: translateX(-50%); /* Ensures the line is perfectly centered */
    width: 100px; /* Adjust the width of the line */
    height: 3px; /* Thickness of the line */
    background: var(--accent); /
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--secondary);
    opacity: 0.9;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.section-text2 {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--secondary);
    opacity: 0.9;
    margin-bottom: 1.5rem;
    text-align: justify; /* Justify text for better readability */
}

.about-logo-org{
    width: 100%;
    max-width: 400px; /* Set a max width for the logo */
         margin-bottom: 1rem;
}

.glass-box {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Blur effect */
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Border for glass effect */
    border-radius: 15px; /* Rounded corners */
    padding: 0.5rem;
    padding-bottom: 0; /* Padding inside the box */
    display: inline-block; /* Ensure the box wraps around the image */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    margin-bottom: 1rem; /* Space below the box */
}

@keyframes shine {
    to {
        left: 100%;
    }
}

/* Add media query for responsiveness */
@media (max-width: 768px) {
    .about {
        padding: 1rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-grid2 {
        grid-template-columns: 1fr;
    }

   
}

.tracks {
    min-height: 100vh;
    padding: 4rem 8rem;
    background: transparent; /* Ensures sections are transparent */
}

.tracks .section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.tracks .section-title::after {
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
}

.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.track-card {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent background */
    backdrop-filter: blur(5px); /* Blur effect for glassmorphism */
    -webkit-backdrop-filter: blur(5px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border for glass effect */
    border-radius: 20px; /* Rounded corners */
    padding: 2rem;
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

.track-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(199, 159, 39, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.track-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15); /* Slightly brighter background on hover */
}

.track-card:hover::before {
    transform: translateX(100%);
}

.track-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--bg);
}

.track-card h3 {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.track-card p {
    color: var(--secondary);
    opacity: 0.8;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .tracks {
        padding: 2rem;
    }
    
    .tracks-grid {
        grid-template-columns: 1fr;
    }
}

.prizes {
    min-height: 60vh;
    padding: 4rem 8rem;
    background: transparent; /* Ensures sections are transparent */
}

.prizes .section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.prizes .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.prize-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.prize-card:hover {
    transform: translateY(-10px);
}

.prize-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--bg);
}

.schedule {
    min-height: 60vh;
    padding: 4rem 8rem;
    background: transparent; /* Ensures sections are transparent */
}

.schedule .section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.schedule .section-title::after {
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, 
        transparent,
        var(--accent),
        var(--accent),
        transparent
    );
}

.timeline-item {
    margin-bottom: 3rem;
    margin-left: 100px;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.timeline-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 25px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(199, 159, 39, 0.2);
    transition: all 0.3s ease;
}

.timeline-item:hover::before {
    transform: scale(1.2);
    box-shadow: 0 0 0 8px rgba(199, 159, 39, 0.2);
}

.time {
    position: relative;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 0.9rem;
    background: rgba(199, 159, 39, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(199, 159, 39, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    white-space: nowrap;
    margin: 1.5rem;
    min-width: 140px;
    text-align: center;
}

.timeline-item:hover .time {
    transform: scale(1.05);
    background: rgba(199, 159, 39, 0.2);
    border-color: rgba(199, 159, 39, 0.3);
}

.event {
    padding: 1.5rem 1.5rem 1.5rem 0;
}

.event h3 {
    color: var(--accent);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.event p {
    color: var(--secondary);
    opacity: 0.8;
    line-height: 1.6;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .schedule {
        padding: 2rem;
    }
    
    .timeline-item {
        margin-left: 60px;
        flex-direction: column;
        gap: 0;
    }
    
    .time {
        margin: 1rem;
        min-width: auto;
        width: fit-content;
    }
    
    .event {
        padding: 0 1rem 1rem 1rem;
    }
}

/* Platform Partner Section */
.platform-partner {
    padding: 4rem 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.05); /* Subtle background */
    border-radius: 15px;
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

.platform-partner .section-title {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.partner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.partner-logo {
    width: 200px;
    height: auto;
    transition: transform 0.3s ease;
}

.partner-description {
    font-size: 1rem;
    color: #fff;
    line-height: 1.5;
    max-width: 600px;
}

.logo-container {
    background-color: #fff; /* White background */
    padding: 10px; /* Add some padding around the logo */
    border-radius: 10px; /* Rounded corners */
    display: inline-block; /* Ensure it wraps tightly around the logo */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for better visibility */
}


.contact {
    min-height: 80vh;
    padding: 4rem 8rem;
    background: transparent; /* Ensures sections are transparent */
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--secondary);
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: rgba(255, 255, 255, 0.5);
    transition: 0.3s ease;
    pointer-events: none;
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:valid ~ label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    background: var(--bg);
    padding: 0 0.5rem;
    color: var(--accent);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--accent);
    border: none;
    border-radius: 10px;
    color: var(--bg);
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(199, 159, 39, 0.3);
}

.faq {
    min-height: 60vh;
    padding: 4rem 8rem;
    background: transparent; /* Ensures sections are transparent */
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    color: var(--accent);
    font-size: 1.2rem;
}

.toggle {
    color: var(--accent);
    font-size: 1.5rem;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 1000px;
}

.faq-item.active .toggle {
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .prizes-grid {
        grid-template-columns: 1fr;
    }
    
    .prizes,
    .schedule,
    .contact,
    .faq {
        padding: 2rem;
    }
}


/* Glassmorphism Footer Styles */
.footer {
    background: transparent; /* Transparent background */
    padding: 40px 0;
    text-align: center;
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Blur effect */
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border */
}

.footer-socials {
    margin-bottom: 20px;
}

.footer-socials .social-icon {
    color: #fff;
    margin: 0 15px;
    font-size: 24px;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
}

.footer-socials .social-icon:hover {
    color: #f0c040; /* Accent color */
    transform: scale(1.2); /* Slight zoom on hover */
}

.footer-contact p {
    margin: 10px 0;
    font-size: 1rem;
    color: #fff;
}

.footer-contact a {
    color: #f0c040;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-copyright {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #ccc;
    opacity: 0.8;
}