* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    overflow-x: hidden;
}
nav {
    background-color: rgba(0, 0, 0, 1);
    padding: 20px;
    width: 100%;
    top: 0;
    z-index: 10;
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}
nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 20px;
}

nav ul li {
    margin-right: 30px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 5px 8px;
}

nav ul li a:hover {
    background-color: #444;
    color: white;
    border-radius: 5px;
}

.join {
    background-color: #222;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.join:hover {
    background-color: #444;
    border-radius: 30px;

}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    position: absolute;
    top: 15px;
    right: 20px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}
.close-icon{
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
}
.nav-list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.nav-list.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px 0;
    z-index: 100;
}
.nav-list.active li {
    margin: 10px 0;
}
.nav-list select {
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    border: none;
    padding: 8px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    /* appearance: none; */
    outline: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.nav-list select:hover {
    background-color: #444;
}
.nav-list select option {
    background-color: #222;
    color: white;
}
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

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

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.1); */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: black;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    margin-top: 20px;
    border: 2px solid white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

.social-media {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.social-icon {
    color: white;
    font-size: 2rem;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
    position: relative;
    z-index: 1;
}

.social-icon:hover {
    transform: scale(1.2);
    color: #ff4500; /* Change to your desired hover color */
}
.features {
    padding: 50px 20px;
    background-color: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.feature-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.feature-card {
    background-color: #f9f9f9;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    text-align: center;
}

.feature-card img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.5;
}

.stats {
    background-color: #333;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat {
    margin: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
}

.events {
    text-align: center;
    padding: 20px;
}

.events h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.events p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Scrollable container */
.scroll-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    overflow: hidden;
}

/* Horizontal scrolling area */
.events-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    max-width: 90%;
}

.events-container::-webkit-scrollbar {
    display: block;
}

/* Event Card */
.event-card {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    width: 400px;
    height: 500px;
    flex: 0 0 auto;
    text-align: left;
    color: black;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    scroll-snap-align: start;
    padding: 10px;
}

.event-image {
    width: 100%;
    /* height: 200px; */
    object-fit: cover;
}

.event-details {
    padding: 20px;
}

.event-details h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.event-details h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.event-details p {
    font-size: 1rem;
    margin-bottom: 10px;
}
.register-open-button{
    background-color: blue;
    display: inline-block;
    text-decoration: none;
    padding: 10px 15px;
    color: white;
    border-radius: 5px;
    font-weight: bold;
}
.register-open-button:hover {
    background-color: #0056b3;
}
.register-closed-button {
    background-color: #666;
    display: inline-block;
    text-decoration: none;
    padding: 10px 15px;
    color: white;
    border-radius: 5px;
    font-weight: bold;
}

.register-closed-button:hover {
    background-color: #d43f3f;
}

/* Scroll Buttons */
.scroll-button {
    position: absolute;
    background-color: #666;
    color: #f9f9f9;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    transition: background 0.3s;
}

.scroll-button:hover {
    background-color: rgb(109, 104, 104);
}

.left {
    left: 10px;
}

.right {
    right: 10px;
}
footer {
    background-color: #f9f9f9;
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

footer p {
    margin: 5px 0;
}

footer p:first-child {
    font-weight: bold;
}

footer p:last-child {
    font-style: italic;
}
/* Responsive styles */
@media (max-width: 768px) {
    .event-card {
        max-width: 100%;
        margin: 10px 0;
    }

    .events h3 {
        font-size: 1.8rem;
    }

    .events h4 {
        font-size: 1.3rem;
    }

    .events p {
        font-size: 1rem;
    }

    .event-details h3 {
        font-size: 1.5rem;
    }

    .event-details h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .events h3 {
        font-size: 1.5rem;
    }

    .events h4 {
        font-size: 1.2rem;
    }

    .events p {
        font-size: 0.9rem;
    }

    .event-details h3 {
        font-size: 1.2rem;
    }

    .event-details h4 {
        font-size: 1rem;
    }

    .event-meta-icon {
        font-size: 1.2rem;
    }
}

.register-button {
    display: block;
    background-color: #333;
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    margin-top: 20px;
}

.faqs {
    padding: 50px 20px;
    background-color: white;
}

.faqs h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

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

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    background-color: #333;
    color: white;
    padding: 15px;
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: "▼";
    font-size: 0.8rem;
}

.faq-answer {
    background-color: #f9f9f9;
    padding: 20px;
    font-size: 1rem;
    line-height: 1.5;
    border: 1px solid #ddd;
}

.history {
    background-color: #222;
    color: white;
    padding: 50px 20px;
}

.history h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.history p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    max-width: 900px;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 900px;
    margin: 50px auto;
}

.contact-button {
    background-color: #333;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.2rem;
    text-decoration: none;
    text-align: center;
    min-width: 200px;
    margin: 10px;
}

footer {
    background-color: #f9f9f9;
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}
.footer-link-director{
    text-decoration:none;
    color: #666;
    font-weight: bold;
    transition: color 0.3s;

}
/* Responsive styles */
@media (max-width: 768px) {
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 5px 10px;
    }

    .menu-toggle,.close-icon {
        display: flex;
    }

    .nav-list {
        display: none;
        flex-direction: column;
    }

    .nav-list.active {
        display: flex;
    }
    .nav-list select {
        padding: 10px 10px;
        background-color: transparent;
    }
    .nav-list select option{
        background-color: #222;
        color: white;
    }

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

    .hero h2 {
        font-size: 1.5rem;
    }

    .cta-button {
        font-size: 1.2rem;
        padding: 10px 20px;
    }

    .feature-cards {
        flex-direction: column;
        align-items: center;
    }

    .feature-card {
        width: 100%;
    }

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

    .stat-number {
        font-size: 2.5rem;
    }

    .event-card {
        width: 100%;
    }

    .event-details h3 {
        font-size: 1.5rem;
    }

    .event-details h4 {
        font-size: 1.2rem;
    }

    .faq-container {
        padding: 0 10px;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-answer {
        font-size: 0.9rem;
    }

    .history p {
        font-size: 0.9rem;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-button {
        width: 100%;
        margin: 10px 0;
    }

    footer {
        font-size: 0.8rem;
    }
}

button, .cta-button, .join, .register-button, .contact-button {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

button:hover, .cta-button:hover, .join:hover, .register-button:hover, .contact-button:hover {
    transform: scale(1.05);
}
@media (max-width: 480px) {
    .nav-list select {
        font-size: 12px;
        padding: 5px 8px;
    }
    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 8px 16px;
    }

    .feature-card img {
        width: 80px;
        height: 80px;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }
}