/* Base Styles */
html {
    background-color: rgb(33, 33, 36);
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

/* Landing Section */
.landing {
    padding-top: 6rem;
    padding-bottom: 5rem;
    margin-bottom: 0;
    text-align: center;
    background: linear-gradient(to left, #967ff494, white);
    height: 80vh;
}

.landing h1 {
    font-size: 6em;
    font-weight: 500;
}

.landing h2 {
    font-size: 1.5em;
    font-weight: 300;
    padding-bottom: 6rem;
}

.landing a {
    text-align: center;
    display: inline-block;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: 500;
    color: #000;
    height: 3rem;
    width: 10rem;
    background-color: rgb(150, 127, 244, 255);
    border-radius: 0.75rem;
    line-height: 3rem;
    transition: opacity 0.3s ease;
}

.landing a:hover {
    opacity: 0.8;
}

/* Benefits and Expectations Sections */
.benifits, .expectations {
    height: 90vh;
    width: 80vh;
    background-color: rgb(33, 33, 36);
    border-radius: 1rem;
    border: 2px solid rgb(150, 127, 244, 255);
    text-align: center;
    color: #FAF9F6;
    margin-top: 2rem;
}

.benifits, .expectations {
    position: relative;
    z-index: 2; /
}

.benifits h1, .expectations h1 {
    padding-bottom: 2rem;
    font-size: 3em;
    font-weight: 500;
}

.benifits h2, .expectations h2 {
    font-size: 1.5em;
    font-weight: 300;
    text-align: left;
    padding-left: 2rem;
}

/* Content Section */
.content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    gap: 2rem;
    min-height: 300px;
}

.content::before {
    content: "";
    position: absolute;
    top: 0;
    left: -250%;
    width: 100%;
    height: 120%;
    background: linear-gradient(120deg, rgba(150, 127, 244, 0.2), rgba(150, 127, 244, 0.5), rgba(150, 127, 244, 0.2));
    transform: skewX(-30deg);
    animation: shine 6s linear infinite;
    z-index: 2;
}

@keyframes shine {
    0% {
        left: -250%;
    }
    100% {
        left: 200%;
    }
}

/* Join Section */
.join {
    background-color: rgb(33, 33, 36);
    border: 2px solid rgb(150, 127, 244, 255);
    border-radius: 1rem;
    text-align: center;
    color: #FAF9F6;
    padding: 4rem 2rem;
    margin: 7rem auto;
    width: 80%;
}

.join h2 {
    font-size: 1.5em;
    font-weight: 300;
    padding-bottom: 2rem;
}

.join h1 {
    font-size: 2.5em;
    font-weight: 500;
    margin-bottom: 2rem;
}

.join a {
    text-decoration: none;
    color: #000;
    background-color: rgb(150, 127, 244, 255);
    padding: 1rem 2rem;
    font-size: 1.2em;
    font-weight: 500;
    border-radius: 0.5rem;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.join a:hover {
    opacity: 0.8;
}

/* Join scroll */
.join-scroll h1 {
    text-decoration: none;
    color: #FAF9F6; 
    padding-top: 7rem; 
    font-size: 3em;
    font-weight: 500;
    text-align: center; 
}

.join-scroll svg {
    fill: #FAF9F6; 
    width: 3rem; 
    height: 3rem; 
    display: block; 
    margin: 0 auto; 
}

/* Footer */
.footer {
    background-color: rgb(33, 33, 36);
    color: #FAF9F6;
    padding: 2rem 1rem;
    margin-top: 4rem;
    border-top: 2px solid rgb(150, 127, 244, 255);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.footer-logo {
    width: 70px;
    height: auto;
    margin: 0;
    border-radius: 0.75rem;
}

.footer p {
    font-size: 1rem;
    margin: 0.5rem 0;
    font-family: 'Poppins', sans-serif;
    text-align: left;
}

.footer a {
    color: #FAF9F6;
    text-decoration: none;
    font-size: 1rem;
    margin-left: 0;
    font-family: 'Poppins', sans-serif;
    text-align: left;
    font-weight: 500;
    padding-right: 3rem;
}

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

/* Media Queries for Responsiveness */

/* Phones */
@media (max-width: 600px) {
    .content {
        flex-direction: column;
        gap: 1rem; 
    }


    .benifits, .expectations {
        width: 90%; 
        height: auto;
        margin: 1rem auto; 
    }

    .landing h1 {
        font-size: 3em;
    }

    .landing h2 {
        font-size: 1em;
    }

    .join {
        width: 90%;
        padding: 2rem 1rem;
    }

    .join h1 {
        font-size: 1.2rem;
    }
    .join h2 {
        font-size: 1rem;
    }

    .join a {
        font-size: 1.2em;
        padding: 0.5rem 1rem;
    }

    .join-scroll h1 {
        font-size: 2em;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        font-size: .8rem;
    }
}


/* Tablets */
@media (min-width: 601px) and (max-width: 1024px) {
    .landing h1 {
        font-size: 4em;
    }

    .landing h2 {
        font-size: 1.2em;
    }

    .content {
        display: flex;
        flex-wrap: wrap; 
        justify-content: space-around; 
        align-items: stretch; 
        gap: 1rem; 
    }

    .benifits, .expectations {
        width: 45%; 
        min-height: 300px; 
        margin: 1rem auto; 
        display: flex; 
        flex-direction: column; 
    }

    .join {
        width: 70%;
    }
}

/* Laptops and Desktops */
@media (min-width: 1025px) {
    .landing h1 {
        font-size: 6em;
    }

    .landing h2 {
        font-size: 1.5em;
    }

    .benifits, .expectations {
        width: 80vh;
        height: 90vh;
    }

    .join {
        width: 80%;
    }
}

