* {
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--Color2);
    overflow-x: hidden;
}

#img-back {
    position: absolute;
    z-index: 1;
    aspect-ratio: 16 / 9;
    width: 100vw;
    height: 100vh;
    animation: img-slide 1s ease normal;
    opacity: 1;
}

@keyframes img-slide {
    0% {
        opacity: 0;
        transform: translateY(-15%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes text-expand {
    0% {
        opacity: 0;
        font-size: 3vw;
    }

    100% {
        opacity: 1;
        font-size: 5vw;
    }
}

#Overlay {
    position: absolute;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(#00000000 80%, var(--Color2) 100%);
    z-index: 1;
}

#Title {
    animation: text-expand 1.3s ease normal;
    position: absolute;
    text-align: center;
    text-transform: uppercase;
    top: 45vh;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    line-height: 14vh;
    font-size: 5vw;
    font-family: "Anton", sans-serif;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 1vw;
    z-index: 2;
}

#slogan {
    position: absolute;
    z-index: 2;
    top: 60vh;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 300;
    color: white;
    font-family: "Bebas Neue", sans-serif;
    font-size: 1vw;
    letter-spacing: 0.3vw;
    opacity: 0.7;
}

#Floating-pill {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 80%;
    transform: translate(-50%, -50%);
    width: 12vw;
    height: 9vh;
}

#Floating-pill button {
    width: 97%;
    height: 97%;
    color: white;
    cursor: pointer;
    background-color: var(--Color1);
    border: 6px solid var(--Color1);
    padding: 2%;
    background-clip: content-box;
    font-size: 1.5vw;
}

#Floating-pill:hover {
    width: 13vw;
    height: 8vh;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

#scroll-down {
    z-index: 2;
    position: absolute;
    top: 92vh;
    left: 50vw;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: whitesmoke;
    cursor: pointer;
}

#scroll-down svg {
    filter: invert(1);
}

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#Under-Area {
    position: absolute;
    top: 100vh;
    left: 0;
    width: 100vw;
    height: 70vh;
}

.Person-Portrait {
    width: 40vh;
    height: 40vh;
}

.carousel-slide {
    width: 80vw;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#carousel {
    width: 80vw;
    height: 50vh;
    max-width: 80vw;
    max-height: 50vh;
}

#team-introduction {
    width: 100vw;
    height: 49vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

.person-description {
    width: 35%;
    height: 50vh;
    text-wrap: wrap;
    margin-left: 1vw;
}

.person-description h3 {
    font-size: 1.4rem;
}

@media screen and (max-width: 768px) {
    #img-back {
        height: 100dvh;
    }

    #Title {
        font-size: 9vw;
        line-height: 9vh;
        top: 45dvh;
        text-align: left;
        left: 70vw;
    }

    #Floating-pill {
        width: 30vw;
        left: 65vw;
    }

    #Floating-pill button {
        font-size: 4vw;
    }

    #slogan {
        font-size: 3vw;
        top: 56dvh;
        left: 65vw;
        width: max-content;
    }

    .Person-Portrait {
        width: 30lvh;
        height: 30lvh;
    }

    #Under-Area {
        height: 100lvh;
    }

    #carousel {
        width: 100vw;
        max-width: 100vw;
        height: 90lvh;
    }

    .carousel-slide {
        flex-direction: column;
        align-items: center;
        width: 100vw;
        height: 70lvh;
    }

    .person-description {
        width: 80vw;
        height: 50lvh;
    }
}

/* Benefits Section Styles */
#benefits-section {
    padding: 5vh 5vw;
    width: 100vw;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--Color2);
    /* Ensure matches body bg */
}

.section-title {
    font-family: "Anton", sans-serif;
    color: white;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 5vh;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.benefits-container {
    display: flex;
    justify-content: center;
    gap: 3vw;
    flex-wrap: wrap;
    width: 100%;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2rem;
    width: 25vw;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.benefit-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--Color1);
    box-shadow: 0 15px 45px 0 rgba(0, 0, 0, 0.5);
}

.icon-wrapper {
    margin-bottom: 1.5rem;
    color: var(--Color1);
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.benefit-card:hover .icon-wrapper {
    transform: scale(1.1);
    color: white;
    background: var(--Color1);
}

.benefit-card h3 {
    font-family: "Bebas Neue", sans-serif;
    color: white;
    font-size: 1.8rem;
    letter-spacing: 1px;
    margin: 0;
}

@media screen and (max-width: 768px) {}

/* City Intro Section Styles */
.city-intro-section {
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5vh 10vw;
    gap: 5vw;
    background-color: var(--Color2);
}

.city-image-container {
    width: 40%;
    display: flex;
    justify-content: center;
    position: relative;
}

.city-image-container img {
    width: 20vw;
    height: auto;
    opacity: 1;
}

.city-text {
    width: 45%;
    color: white;
}

.city-text h1 {
    font-family: "Anton", sans-serif;
    font-size: 3.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Update responsive styles for benefits section */
@media screen and (max-width: 768px) {

    @keyframes text-expand-mobile {
        0% {
            opacity: 0;
            font-size: 3vw;
        }

        100% {
            opacity: 1;
            font-size: 8vw;
        }
    }

    #Title {
        animation: text-expand-mobile 1s ease-in-out;
    }

    .city-intro-section {
        flex-direction: column;
        padding: 5vh 5vw;
    }

    .city-image-container,
    .city-text {
        width: 100%;
        text-align: center;
    }

    .city-text h1 {
        font-size: 8vw;
    }

    .section-title {
        font-size: 8vw;
        margin-bottom: 3vh;
    }


    .benefits-container {
        flex-direction: column;
        align-items: center;
        gap: 3vh;
    }

    .benefit-card {
        width: 90vw;
        min-width: unset;
        padding: 2rem 1.5rem;
    }
}