@import url('https://fonts.cdnfonts.com/css/cascadia-code');

:root {
    --color-primary: #fead53;
    --color-background: #000000;
    --color-text-light: #ffffff;
    --color-text-dark: #333333;
    --color-ongoing: #28a745;
    --color-upcoming: #ffc107;
    --font-primary: 'Cascadia Code', sans-serif;
    --transition-speed: 0.3s;
    --max-width: 1650px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-background);
    color: var(--color-text-light);
    line-height: 1.6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav_logo {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav_logo img {
    height: 60px;
    width: auto;
    transition: transform var(--transition-speed);
}

.nav_logo img:hover {
    transform: scale(1.1);
}

.nav_links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav_links.active {
    display: flex;
}

.nav_links a {
    color: var(--color-text-light);
    font-size: 1.1rem;
    transition: color var(--transition-speed);
    position: relative;
}

.nav_links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-speed);
}

.nav_links a:hover:after,
.nav_links a.active:after {
    width: 100%;
}

.nav_links a:hover,
.nav_links a.active {
    color: var(--color-primary);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--color-primary);
    font-size: 2rem;
    cursor: pointer;
}

@media (min-width: 972px) {
    .hamburger {
        display: none !important;
    }

    .nav {
        display: flex !important;
    }
}

@media (max-width: 972px) {
    .hamburger {
        display: block;
    }

    .nav_links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        padding: 2rem;
        width: 100%;
        gap: 1.5rem;
        z-index: 100;
    }

    .nav_links .active {
        display: flex;
    }

    .nav_logo img {
        height: 50px;
    }

    .nav_links a {
        font-size: 1.4rem;
    }
}


section {
    min-height: 100vh;
}

.first_screen {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;

    width: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url("/assets/pexels-pavel-danilyuk-8438865.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.first_screen a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 650px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 4px solid #fff;
    font-size: 6rem;
    text-decoration: none;
    text-transform: uppercase;
    font-family: sans-serif;
    color: #fff;
    overflow: hidden;
}

a span {
    display: inline-block;
    position: relative;
    transition: 1.0s;
}

a span:nth-child(odd):before {
    content: attr(data-text);
    position: absolute;
    transform: translateY(200%);
}

a span:nth-child(odd) {
    transform: translateY(-200%);
}

a:hover span:nth-child(odd) {
    transform: translateY(0);
}

a span:nth-child(even):before {
    content: attr(data-text);
    position: absolute;
    transform: translateY(-200%);
}

a span:nth-child(even) {
    transform: translateY(200%);
}

a:hover span:nth-child(even) {
    transform: translateY(0);
}

@media screen and (max-width: 768px) {
    a {
        width: 90%;
        height: 150px;
        font-size: 4rem;
    }
}

@media screen and (max-width: 480px) {
    a {
        width: 95%;
        height: 120px;
        font-size: 3rem;
        border-width: 3px;
    }
}

@media screen and (max-width: 320px) {
    a {
        height: 100px;
        font-size: 2.5rem;
        border-width: 2px;
    }
}

.title-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.filter-buttons {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    z-index: 2;
    width: auto;
    max-width: 90%;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--color-primary);
    background: transparent;
    color: var(--color-text-light);
    border-radius: 25px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-speed);
}

.filter-btn:hover {
    background: var(--color-primary);
    color: var(--color-text-dark);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--color-primary);
    color: var(--color-text-dark);
}

@media (max-width: 768px) {
    .filter-buttons {
        width: 90%;
        border-radius: 15px;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

.current_events,
.upcoming_events,
.past_events {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex: 1; 
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
}


/* Events Sections */
.events-section {
    padding: 5rem 2rem;

    width: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url("/assets/neon-sumer-K8eWS_abimM-unsplash.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.section-title {
    font-size: 2.5rem;
    margin-top: 50px;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 3rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 3px solid var(--color-text-light);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    background: var(--color-primary);
    border-radius: 50%;
}

.event-card {
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(1px);
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform var(--transition-speed);
}

.event-card.ongoing {
    border-left: 5px solid var(--color-ongoing);
}

.event-card.upcoming {
    border-left: 5px solid var(--color-upcoming);
}

.event-card:hover {
    transform: translateX(10px);
}

.event-title {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.event-info {
    margin-bottom: 0.5rem;
}

.event-description {
    color: rgba(255, 255, 255, 0.8);
}

.register-btn {
    background: var(--color-primary);
    color: var(--color-text-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.register-btn:hover {
    background: #ffba6a; /* Lighter shade of primary color */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 173, 83, 0.3);
}

.register-btn i {
    transition: transform 0.3s ease;
}

.register-btn:hover i {
    transform: translateX(4px);
}

.event-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.gallery-btn,
.resources-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-btn:hover,
.resources-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 480px) {
    .event-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Responsive Design */
@media (max-width: 972px) {
    .hamburger {
        display: block;
    }

    .nav_links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        padding: 2rem;
        flex-direction: column;
        text-align: center;
    }

    .nav_links.active {
        display: flex;
    }

    .hero-title {
        padding: 1rem 2rem;
    }

    .hero-title span {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }

    .event-card {
        padding: 1rem;
    }

    .event-title {
        font-size: 1.25rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 1s ease-in;
}

/* Footer */

.active-section {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: Arial, sans-serif; */

    background-color: #000;
    color: #fff;

    background-image: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url("/assets/neon-sumer-K8eWS_abimM-unsplash.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    max-width: 900%;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

/* Discover Our Activeness Heading */

.fottop{
    height: 40vh;
}
.heading {
    text-align: center;
    margin: 30px 0;
}

.heading h1 {
    font-size: 3em;
    font-weight: bold;
    margin-top: 120px;
    margin-bottom: 100px;
    color: var(--color-primary);
    letter-spacing: 1px;
}


/* Stats Container */
.stats-container {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
    margin-bottom: 100px;
}

.stat-item h2 {
    font-size: 2em;
    font-weight: bold;
    transition: transform 0.3s ease-in-out;
    padding-bottom: 10px;
}

.stat-item p {
    font-size: 2.1em;
    /* margin-top: 10px; */
    font-weight: bold;
}

/* Zoom Effect */
.zoom-effect:hover {
    transform: scale(1.3);
    color: var(--color-primary);
}

/* Divider */
hr {
    border: 1px solid var(--color-primary);
    margin: 20px 0;
}

/* Bottom Container */
.bottom-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 6em;
    height: 28vh;
    gap: 20px;
}

/* Logo Section */
.logo-section {
    margin-top: 1rem;
    flex: 1;
    text-align: center;
}

.logo-section img {
    height: 85px;
    width: auto;
    margin: 5px;
    transition: transform 0.3s ease-in-out;
}

.logo-section img:hover {
    transform: scale(1.1);
}

.logo-section p {
    margin-top: 20px;
    font-size: 1.5em;
    transition: transform 0.3s ease-in-out;
}

.logo-section p:hover {
    transform: scale(1.1);
}

/* Navigation Section */
.nav-section {
    margin-top: 0.5rem;
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* gap: 10px; */
    justify-items: left;
}

.nav-btn {
    text-decoration: none;
    color: #fff;
    font-size: 1.40em;
    padding: 10px 20px;
    /* background-color: #000; */
    border-radius: 10px;
    text-align: left;
    transition: transform 0.3s, background-color 0.3s;
}

.nav-btn:hover {
    transform: translateY(-5px) scale(1.1);
    /* background-color: #000; */
}

/* Recruitment Section */
.recruit-section {
    margin-top: .80rem;
    flex: 1;
    text-align: left;
}

.recruit-section h3 {
    font-size: 2em;
    margin-bottom: 7px;
    color: var(--color-primary);
}

.mail-btn button {
    background-color: #555;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
}

.mail-btn button:hover {
    background-color: var(--color-primary);
    transform: scale(1.1) rotate(-3deg);
}

.recruit-section p {
    margin-top: 10px;
    font-size: 1em;
    color: #666;
    line-height: 1.6;
}

.al{
    color: var(--color-primary);
}

.recruit-section p.quote {
    font-style: italic;
    font-size: 1.1em;
    color: #986060;
    margin-top: 20px;
}

/* Footer */
footer {
    margin-top: 15px;
    font-size: 1.4em;
    text-align: center;
}