.swiper-container {
    width: 100%;
    height: 95vh;
    position: relative;
    overflow: hidden;
}

/* Swiper slides */
.swiper-slide {
    position: relative;
    width: 100%;
    height: -webkit-fill-aviable;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover !important;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

/* Base style for all slides */
.swiper-slide img {
    transform: scale(1.15); /* Start slightly zoomed in */
    transition: transform 4s ease-in-out; /* Smooth and longer zoom-out effect */
}

/* Active slide style */
.swiper-slide-active {
    opacity: 1;
}

/* Active slide zoom-out effect */
.swiper-slide-active img {
    transform: scale(1); /* Zoom out when active */
}

/* Slide text styles */
.slide-text {
    position: absolute;
    top: -50px; /* Start above the slide */
    left: 50%;
    width: max-content;
    transform: translateX(-50%);
    font-size: 72px;
    text-shadow: 3px 3px 4px #000000;
    line-height: 82px;
    color: #fff;
    opacity: 0;
    text-align: center;
}

/* Custom pagination */
.custom-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    z-index: 999;
}

.swiper-button-prev, .swiper-button-next {
    color: #fff !important;
    background-color: #f1f1f1;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    background: none;
    transition: background-color 0.3s, color 0.3s;
    margin: 0 10px;
}

.swiper-button-prev:hover, .swiper-button-next:hover {
    color: #fff !important;
}

/* Pagination */
.pagination-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-pagination-bullet {
    width: 50px;
    height: 50px;
    background: #fff !important;
    color: #000 !important;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.swiper-wrapper {
    background: #fff;
}

.swiper-pagination-bullet-active {
    background: #fff !important;
    color: #fff !important;
}

#block-search {
    z-index: 999;
}
#block-search-detail{
    position: relative;
    z-index: 9999;
}
@media (max-width:1100px) {
    .slide-text{
        font-size: 50px;
    }
    .swiper-container {
        height: fit-content;
    }
}
@media (max-width:770px) {
    .swiper-button-prev, .swiper-button-next {
        display: none !important;
    }
    .slide-text{
        font-size: 30px;
        line-height: 40px;
    }
}
@media (max-width:500px) {
    .slide-text{
        font-size: 20px;
        line-height: 30px;
    }
}