/* Slider container */
.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Slides wrapper */
.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Individual slide */
.slide {
    min-width: 100%;
    transition: 0.5s;
}

/* Slide content (image or video) */
.slide img,
.slide video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Navigation buttons */
.slider-button {
    opacity: 40%;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 55%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}

.slider-button.left {
    left: 10px;
}

.slider-button.right {
    right: 10px;
}

.left-img,
.right-img {
    width: 10px;
    height: 10px;
}

.background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

.text-content {
    position: absolute;
    top: 25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    left: 10px;
    color: white;
}

.explore-btn {
    border: none;
    width: 130px;
    height: 40px;
    margin-top: 10px;
    background-color: rgb(71, 71, 168);
    color: white;
    border-radius: 30px;
}

.explore-btn:hover {
    background-color: white;
    color: rgb(53, 53, 151);
    font-weight: bold;
    border: 2px solid rgb(53, 53, 151);
    transition-duration: 300ms;
    transition-timing-function: ease-in-out;
}


@media(max-width:1024px){
    .slide img,
    .slide video {
        width: 100%;
        height: 582px;
        display: block;
        object-fit: cover;
    }
    .background {
        position: absolute;
        width: 100%;
        height: 582px;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.4);
        object-fit: cover;
    }

}

