.hero {
    position: relative;
    margin-top: 114px;
    padding: 200px 25px;
    width: 100%;
    /* height: 100vh; */
    overflow: hidden;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    scroll-behavior: auto;
}

/* Slider wrapper */
.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 400vw;
    height: 100%;
    transition: transform 1.2s ease-in-out;
    z-index: 0;
}

/* Individual slides with gradient overlay */
.slide {
    width: 100vw;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide::before {
    content: "";
    position: absolute;
    width: 100vw;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
    top: 0;
    left: 0;
    z-index: 1;
}

/* Text styling (unchanged) */
.hero-text {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1124px;
    margin: 0px 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.hero-title {
    font-size: 44px;
    font-weight: 700;
    padding-bottom: 24px;
}

.hero-description {
    font-size: 16px;
    padding-bottom: 36px;
    width: 500px;
    font-weight: 500;
    line-height: 1.6em;
}

#btn-cta {
    padding: 14px 18px;
    color: white;
    background-color: rgb(231, 196, 0);
    border: none;
    border-radius: 2px;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.15s;
    cursor: pointer;
}

#btn-cta:hover {
    background-color: rgb(255, 217, 0);
}

@media screen and (max-width: 600px) {
    .hero-description{
        width: 90vw;
    }
}
@media (max-width: 700px) {
    .hero {
        margin-top: 80px;
    }
}