.vndgallery .carousel-wrap {
    width: 1000px;
    margin: auto;
    position: relative;
}
.vndgallery .owl-carousel .owl-nav{
    overflow: hidden;
    height: 0px;
}

.vndgallery .owl-theme .owl-dots .owl-dot.active span,
.vndgallery .owl-theme .owl-dots .owl-dot:hover span {
    background: #333333;
}


.vndgallery .owl-carousel .item {
    text-align: center;
}

.vndgallery .owl-carousel .nav-btn{
    height: 47px;
    position: absolute;
    width: 26px;
    cursor: pointer;
    top: 100px !important;
}

.vndgallery .owl-carousel .owl-prev.disabled,
.vndgallery .owl-carousel .owl-next.disabled{
    pointer-events: none;
    opacity: 0.2;
}

.vndgallery .owl-carousel .prev-slide{
    background: url(../images/nav-icon.png) no-repeat scroll 0 0;
    left: 10px;
}
.vndgallery .owl-carousel .next-slide{
    background: url(../images/nav-icon.png) no-repeat scroll -24px 0px;
    right: 10px;
}
.vndgallery .owl-carousel .prev-slide:hover{
    background-position: 0px -53px;
}
.vndgallery .owl-carousel .next-slide:hover{
    background-position: -24px -53px;
}

.vndgallery span.img-text {
    text-decoration: none;
    outline: none;
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    cursor: pointer;
    width: 100%;
    font-size: 23px;
    display: block;
    text-transform: capitalize;
}
.vndgallery span.img-text:hover {
    color: #2caae1;
}

.vndgallery .item {
    position: relative;
    overflow: hidden;
    height: 350px;   
}

.vndgallery .item img {
    width: 100%;
    height: 100%;
    object-fit: cover; // Ensures the image fills the container and is cropped if necessary 
    display: block;
}

.vndgallery .item .img-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5); // Semi-transparent background for the text 
    color: #fff;
    padding: 10px;
    text-align: center;
    font-size: 14px;
}
