/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header {
    background: #ffffff; 
    color: #fff;
    padding: 10px 0;
    width: 100%; 
    position: fixed; 
    top: 0; 
    left: 0; 
    z-index: 1000; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
}

.logo {
    width: 250px;
}

/* Hide the navigation by default on smaller screens */
nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

nav ul li a {
    color: #ff3c00;
    text-decoration: none;
    text-align: center;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

/* Change link color to black on hover */
nav ul li a:hover {
    color: #000;
}

/* Moving line under the navigation items */
nav ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

/* Show and move the line on hover */
nav ul li a:hover::after {
    transform: scaleX(1); /* Expand the line to full width */
    transform-origin: bottom left; /* Anchor the line at the bottom left */
}



/* Mobile Navigation Styles */
.mobile-nav {
    display: none;
}

.menu-toggle {
    display: none;
}



/* Intro video styles */
.intro-video {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.intro-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    text-align: center;
    /* z-index: 1; */
}

.intro-text h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.intro-text p {
    font-size: 1rem;
}






/* Intro video styles */
.intro-video {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.intro-video video {
    width: 100%;
    height: 97%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    text-align: center;
    height: 97%;
}

.intro-text h1 {
    font-size: 2.7rem;
    margin-bottom: 10px;
}

.intro-text p {
    font-size: 1rem;
}


/* styles.css */

.see-it-all-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff3700; 
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

.see-it-all-button:hover {
    background: #1a1919; 
    color: #fff; 
}



/* Scroll down arrow styles */
.scroll-down {
    position: absolute;
    bottom: 70px; 
    left: 49%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 1.5s infinite; 
}

.scroll-down img {
    width: 40px; 
    height: auto;
}

/* Bounce animation for scroll down arrow */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}







/* About section styles */
.about {
    margin-top: 50px; 
    padding: 100px 0;
    position: relative; 
    background-color: #f4f4f4; 
}

.about-text {
    position: absolute; 
    top: 20px;
    left: 50%;
    transform: translateX(-50%); 
    z-index: 2; 
    text-align: center; 
    color: #ff3c00;
}

.about-text h2 {
    font-size: 2rem;
    margin: 0; 
    position: relative;
    padding: 0 90px; 
}
.container h3 {
    color: #ff3c00;

}

.about-image {
    flex: 1;
    max-width: 300px; 
    max-height: 300px; 
    overflow: hidden; 
    margin-right: 20px; 
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: 8px; 
}

.text-content {
    flex: 2;
    padding-left: 20px;
    text-align: left;
    background-color: #fff; 
    border-radius: 8px; 
    padding: 20px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}





/* Program Highlights section styles */
.program-highlights {
    margin-left: 170px;
    margin-right: 170px;
    padding: 50px 0;
    background-color: #ffffff; 
}

.section-header {
    text-align: left;
    padding: 0 20px; 
    margin-bottom: 30px; 
}

.section-header h2 {
    font-size: 2rem;
    margin: 0;
}

.section-header h2 .highlight-text {
    color: #121212; 
}

.section-header h4 {
    font-weight: normal; 
    color: #333; 
}

.highlights-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns */
    gap: 30px; 
}

.highlight {
    background-color: #fff; 
    border-radius: 8px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    overflow: hidden; 
    display: flex;
    flex-direction: column;
}

.highlight-image {
    width: 100%;
    height: 50%;
    overflow: hidden; /* Hide overflow from image */
}

.highlight-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.highlight-details {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.highlight-details h3 {
    margin-top: 0;
}

.highlight-details p {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}








/* Additional Image Section Styles */
.additional-image {
    width: 100%; 
    padding: 0 50px; 
    box-sizing: border-box; 
    background-color: #ffffff; 
}

.additional-image img {
    width: auto; 
    max-width: 100%; 
    height: auto; 
    display: block; 
    margin: 0 auto; 
}







/* Activity section styles */
.activities {
    margin: 50px 170px;
    padding: 50px 0;
    background-color: #ffffff;
}

.activity-header {
    text-align: center;
    padding: 0 20px;
    margin-bottom: 30px;
}

.activity-header h2 {
    font-size: 2rem;
    color: #ff3c00;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-header h2 .line {
    flex: 1;
    height: 1px;
    background-color: #333;
    margin: 0 10px;
}

.activities-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.activity {
    display: flex;
    gap: 20px;
    align-items: center; 
}

.activity-image img {
    width: 100%;
    max-width: 100px; 
    height: auto;
    object-fit: contain; 
}

.activity-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center; 
}

.activity-details .title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-align: center; 
}

.activity-details .description {
    font-size: 1rem;
    color: #666;
    margin: 0;
    text-align: center; 
}







/* Registration section styles */
.registration {
    margin: 50px 170px;
    padding: 50px 0;
    background-color: #ffffff; 
}

.section-header {
    text-align: center;
    padding: 0 20px; 
    margin-bottom: 30px; 
    position: relative;
}

.section-header h2 {
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff3c00; 
}

.section-header h2 .line {
    flex: 1;
    height: 1px;
    background-color: #333;
    margin: 0 10px;
}

.section-header p {
    font-size: 1rem;
    color: #333;
    margin-top: 10px;
}

.events-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px; 
    justify-content: center; 
}

/* Event Box Container */
.event-box {
    width: calc(25% - 30px); 
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

/* Hover Effect for Event Box */
.event-box:hover {
    transform: scale(1.05);
}

/* Event Image */
.event-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Event Details (Visible by Default) */
.event-details {
    padding: 15px;
    background-color: #ffffff; 
    position: relative;
    z-index: 1;
    text-align: center;
    padding-bottom: 50px;
}

.event-details p {
    margin: 5px 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.event-details .day {
    color: #ff3c00;
}

.event-details .title {
    font-size: 1.15rem;
    font-weight: bold;
    color: #333;
}

/* Overlay (Visible on Hover) */
.event-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff; 
    color: #333;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    z-index: 2; 
}

/* Show Overlay on Hover */
.event-box:hover .event-overlay {
    transform: translateY(0);
    opacity: 1;
}

.overlay-title {
    font-size: 1rem;
    font-weight: bold;
    color: #ff3300;
    margin-bottom: 5px; 
    z-index: 3; 
}

.buy-tickets {
    display: block;
    background-color: #161616; 
    color: #fff; 
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease; 
}

.registration .buy-tickets:hover {
    background-color: #ff3c00; 
    color: #fff; 
}

.more-info {
    display: block;
    font-size: 0.8rem;
    color: #1e1e1e; 
    text-decoration: none;
    transition: border-bottom 0.3s ease; 
    padding-bottom: 20px;
}

.more-info:hover {
    border-bottom: 1px solid #ff3c00; 
    padding-bottom: 20px;

}

/* Event Info Section */
.event-info {
    margin: 50px 20px;
    padding: 30px;
    background-color: #f9f9f9; 
    border-radius: 8px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    text-align: center; 
}

.info-header {
    margin-bottom: 20px; 
}

.info-header h3 {
    font-size: 1.5rem;
    color: #ff3c00; 
    margin: 0;
    font-weight: bold;
}

.info-content {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

.info-content p {
    margin: 10px 0; 
}

.info-content a {
    color: #ff3c00; 
    text-decoration: none;
    font-weight: bold;
}

.info-content a:hover {
    text-decoration: underline; 
}






/* Contact Us Section */
.contact-us {
    margin: 50px auto; 
    padding: 30px;
    background-color: #ffffff; 
    border-radius: 8px; 
    text-align: center; 
    position: relative; 
    max-width: 1200px; 
    overflow: hidden; 
}



/* Header Styling */
.contact-header {
    margin-bottom: 20px; 
    position: relative; 
    z-index: 2; 
}

.contact-header h2 {
    font-size: 2rem;
    color: #ff3c00; 
    margin: 0;
    font-weight: bold;
    position: relative; 
}


/* Content Styling */
.contact-content {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

.contact-content p {
    margin: 10px 0; 
}

/* Contact Link */
.contact-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #ff3c00; 
    color: #fff; 
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease; 
}

.contact-link:hover {
    background-color: #e03a00; 
}








/* Footer Styling */
.footer {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    padding-top: 40px;    
    padding-left: 100px;
    padding-bottom: 40px;
    background-color: #1f1f1f; 
    border-top: 1px solid #ddd; 
    font-size: 1rem; 
}

.footer-left {
    display: flex;
    flex-direction: column; 
    align-items: flex-start; 
    font-size: 0.9rem; 
    color: #ffffff; 
}

.footer-links {
    margin: 0; 
}

.footer-links a {
    color: #ff3c00; 
    text-decoration: none; 
    margin-right: 10px; 
}

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

.footer-copyright {
    margin: 1px 0 0; 
}

.footer-right {
    font-size: 1rem; 
    color: #6d6d6d; 
    text-align: right; 
    padding-right: 100px; 
}







/* Media Queries */

@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
    }

    .mobile-nav {
        display: none;
    }
    

    .container {
        flex-direction: column;
        text-align: center;
    }

    .scroll-down {
        display: none;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 2rem;
        color: #ff3c00;
        cursor: pointer;
    }
    

    .about-text {
        left: 0;
        right: 0;
        transform: none;
    }

    .about-image {
        max-width: 100%;
        margin: 0 auto 20px;
    }

    .text-content {
        padding-left: 2rem;
        padding-right: 2rem;
        text-align: center;
    }

    .highlights-container {
        grid-template-columns: 1fr;
    }

    .activity-header h2 {
        font-size: 1.5rem;
    }

    .activity {
        flex-direction: column;
    }

    .events-container {
        display: flex;
        flex-direction: column; /* Stack the event boxes vertically */
        gap: 30px; /* Maintain spacing between event boxes */
        justify-content: center; 
    }

    .event-box {
        width: 100%; /* Ensure event boxes take full width */
    }

    .registration-container,
    .contact-container {
        gap: 10px;
    }

    .registration-form,
    .contact-form {
        gap: 10px;
    }

    footer p {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 0;
    }

    nav ul {
        display: none;
        flex-direction: column;
    }

    .intro-text h1 {
        font-size: 1.5rem;
    }

    .program-highlights {
        margin-left: 30px;
        margin-right: 30px;
    }

    .activities {
        margin: 0 30px;
    }

    .registration {
        margin: 0 30px;
    }

    .contact {
        margin: 0 30px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .highlight-details p {
        font-size: 0.8rem;
    }

    .footer {
        flex-direction: column; /* Stack the footer sections vertically */
        align-items: flex-start; 
        padding-left: 30px; /* Reduce padding for smaller screens */
        padding-right: 30px; /* Add padding to the right */
    }

    .footer-right {
        text-align: left; /* Align text to the left */
        padding-right: 0; 
        margin-top: 20px; /* Add some space between footer-left and footer-right */
    }
}

@media (max-width: 480px) {
    .intro-text h1 {
        font-size: 1.2rem;
    }

    .intro-text p {
        font-size: 0.8rem;
    }

    .about-text h2 {
        font-size: 1.2rem;
    }

    .section-header h2 {
        font-size: 1.2rem;
    }

    .highlight-details h3 {
        font-size: 1rem;
    }

    .highlight-details p {
        font-size: 0.8rem;
    }

    .activity-header h2 {
        font-size: 1.2rem;
    }

    .activity-details .title {
        font-size: 1rem;
    }

    .activity-details .description {
        font-size: 0.8rem;
    }

    .registration-form,
    .contact-form {
        gap: 5px;
    }
}