/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #05052b;
    color: white;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

a{
    color: inherit;
    text-decoration: none;
}

/* Background Layers */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.background-color {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #05052b;
}

.background-top {
    position: absolute;
    top: 152px;
    left: 0;
    width: 100%;
    height: 1316px;
}

.background-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.background-bottom {
    position: absolute;
    top: 2212px;
    left: 0;
    width: 100%;
    height: 962px;
}

.background-bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

/* Main Content */
.main-content {
    max-width: 1421px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    text-align: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.hero-logo {
    max-width: 1194px;
    /* margin: 0 auto 0; */
}

.hero-logo img {
    width: 100%;
    height: auto;
}

.hero-quote {
    font-size: 28px;
    font-weight: 700;
    line-height: 38px;
    margin-bottom: 16px;
}

.hero-quote p {
    margin: 0;
}

.hero-author {
    font-size: 22px;
    font-style: italic;
    line-height: 35px;
}

/* Events Section */
.events-section {
    /* padding-bottom: 217px; */
}

.events-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 95px;
    position: relative;
}

.events-line {
    height: 5px;
    background-color: #d9d9d9;
    flex: 1;
    max-width: 448px;
}

.events-title {
    font-size: 50px;
    font-weight: 700;
    color: #86cfd2;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: -0.25px;
    line-height: 64px;
    padding: 0 40px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.event-card {
    display: block;
    border-radius: 30px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 457 / 578;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(134, 207, 210, 0.3);
}

.event-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Contact Section */
.contact-section {
    text-align: center;
    padding-top: 227px;
    padding-bottom: 232px;
}

.contact-logo {
    max-width: 865px;
    margin: 0 auto 0;
}

.contact-logo img {
    width: 100%;
    height: auto;
}

.contact-address {
    font-size: 22px;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 24px;
}

.contact-cta {
    display: inline-block;
    background-color: #86cfd2;
    color: #05052b;
    font-size: 29px;
    font-weight: 700;
    /* text-transform: uppercase; */
    text-decoration: none;
    padding: 2px 80px;
    border-radius: 90px;
    line-height: 64px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(134, 207, 210, 0.4);
}

/* Footer */
.footer {
    background-color: #03031b;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer p {
    font-size: 14px;
    font-weight: 400;
    text-align: center;
}

/* helpers */
.d-none {
    display: none;
}

/* Responsive Design */
@media (max-width: 1440px) {


    .background-top {
        top: 100px;
    }
}

@media (max-width: 1200px) {
    .events-title {
        font-size: 40px;
    }

    .events-line {
        max-width: 300px;
    }

    .hero-quote {
        font-size: 26px;
    }

    .hero-author {
        font-size: 26px;
    }
}

@media (max-width: 992px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .hero-logo {
        max-width: 80%;
    }

    .contact-logo {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .events-header {
        flex-direction: column;
        gap: 20px;
    }

    .events-line {
        width: 200px;
        max-width: 100%;
    }

    .events-title {
        font-size: 32px;
        padding: 0;
    }

    .hero-quote {
        font-size: 22px;
        line-height: 30px;
    }

    .hero-author {
        font-size: 22px;
    }

    .contact-address {
        font-size: 18px;
        line-height: 1.5;
    }

    .contact-cta {
        font-size: 22px;
        padding: 15px 50px;
        line-height: 1.5;
    }

    .contact-section {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .events-section {
        padding-bottom: 100px;
    }
}

@media (max-width: 576px) {
    .events-grid {
        grid-template-columns: 1fr;
    }


    .hero-quote {
        font-size: 18px;
    }

    .hero-author {
        font-size: 18px;
    }

    .events-title {
        font-size: 26px;
    }

    .contact-cta {
        font-size: 18px;
        padding: 12px 40px;
    }

    .footer p {
        font-size: 14px;
    }
}
