.cs_gallery-block{
    margin: 0 auto;
}
.cs_gallery-item{
    height: clamp(300px, 50vw, 400px);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(1);
    transition: transform .4s cubic-bezier(.645, .045, .355, 1);
    overflow: hidden;
    border-radius: 10px;
}
.cs_gallery-item .cs_gallery-img-card{
    width: 100%;
    height: 100%;
}
.cs_gallery-img-card .cs_gallery-item-image{
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: all .3s ease;
}
.cs_gallery-item .cs_gallery-content{
    position: absolute;
    text-align: center;
    padding: 30px;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg,  #001a2c 0, rgba(0, 0, 0, 0) 100%);
    transform: translateY(100px);
    opacity: 0;
    transition: transform .5s cubic-bezier(.645, .045, .355, 1);
}
#swiper-cs-gallery .cs_gallery-item .cs_gallery-content{
    opacity: 1;
    transform: translateY(0);
}
#swiper-cs-gallery .swiper-slide.swiper-slide-active{
    z-index: 99;
}
.cs_gallery-content .cs_gallery-title{
    margin-bottom: 15px;
    display: inline-flex;
}
.cs_gallery-content .cs_gallery-title h3{
    color: #ffffff;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 600;
    text-transform: uppercase;
    transition: all .3s ease;
}
.cs_gallery-content .cs_gallery-title h3:hover{
    color: #4285f4;
    transition: all .3s ease;
    transform: scale(1.1);
}

.cs_gallery-content  .cs_gallery-text{
    font-size: 14px;
    color: #ffffff;
    width: 100%;
    font-weight: 700;
    text-transform: capitalize;
    margin: 0;
}
#swiper-cs-gallery{
    padding: clamp(24px, 5vw, 60px) 0;
}
.cs_gallery-block .swiper-button-next, 
.cs_gallery-block .swiper-button-prev{
    background: #ffffff;
    border-radius: 100%;
    width: 45px;
    height: 45px;
}

@media only screen and (min-width: 1199.99px){
    #swiper-cs-gallery .swiper-slide.swiper-slide-active .cs_gallery-item{
        transition: all .3s ease;
        transform: scale(1.1);
    }
    #swiper-cs-gallery .cs_gallery-item .cs_gallery-content {
        opacity: 0;
        transform: translateY(0);
    }
    #swiper-cs-gallery .swiper-slide.swiper-slide-active .cs_gallery-item .cs_gallery-content{
        opacity: 1;
        transform: translateY(0);
    }
}
