.videotestimonials {
    position: relative;
    margin-bottom: 0;
}
.videotestimonials-slider--item {
    background: var(--Colour-Neutral-Light-Grey, #F2F2F2);
    border-bottom-right-radius: 30px;
    border-top-left-radius: 30px;
    position: relative;
    overflow: hidden;
    top: 30px;
}
.videotestimonials-slider--card {
    border-bottom-right-radius: 30px;
    background: var(--Colour-Tint-Teal-60, #9FD0D4);
    padding: 20px;
}
.videotestimonials-slider--body h3,
.videotestimonials-slider--body p {
    color: #fff;
}
.videotestimonials-slider--item .preview-img {
    border-top-left-radius: 30px;
    width: 100%;
    height: 450px;
    object-fit: cover;
    margin-bottom: -2px;
}
.videotestimonials-video {
    position: relative;
}

.youtube-container {
    position: relative;
    width: 100%;
    height: 450px;
    pointer-events: none;
}
.youtube-container::before {
    content: '';
    background-color: rgba(0, 0, 0, 0.2);
    height: 100%;
    display: block;
    width: 100%;
    border-top-left-radius: 30px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.youtube-container video {
    position: absolute;
    top: 0;
    left: 1px;
    width: 100%;
    height: 100%;
    border-top-left-radius: 30px;
    object-fit: cover;
}

.videotestimonials--controls {
    position: absolute;
    bottom: -15px;
    right: 15px;
    z-index: 2;
}
.videotestimonials--controls button {
    background: transparent;
    border: 0;
    cursor: pointer;
}
.videotestimonials-slider .slick-list {
    margin-top: 100px;
}
.videotestimonials-slider .slick-dots {
    z-index: 100;
    top: -65px;
    bottom: unset;
}
.videotestimonials-slider .slick-dots li.slick-active button:before {
    opacity: 1;
    color: #5BC8AF;
    font-size: 15px;
    line-height: 23px;
    box-shadow: none;
}
.videotestimonials-slider .slick-dots li button:before {
    font-size: 10px;
    line-height: 23px;
}
.videotestimonials-slider {
    margin-bottom: -105px !important;
    z-index: 100;
}
.videotestimonials-slider .slick-slide {
    margin: 0 15px;
}
/* SLIDER ACTIVE MIDDLE */
.videotestimonials-slider .slick-track div.slick-current .videotestimonials-slider--card {
    background: #5BC8AF !important;
}
.videotestimonials-slider .slick-track div.slick-current .videotestimonials-slider--item .youtube-container,
.videotestimonials-slider .slick-track div.slick-current .videotestimonials-slider--item .preview-img {
    height: 500px;
}
.videotestimonials-slider .slick-track div.slick-current .videotestimonials-slider--item {
    top: 0px;
}

.video-modal {
    display: none; 
    position: fixed;
    z-index: 9999; 
    left: 0; 
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.video-modal-content {
    position: relative;
    max-width: 800px;
    width: 90%;
    background: #000;
}

.video-modal video {
    width: 100%;
    height: auto;
    display: block;
}

.video-modal-close {
    position: absolute;
    top: -20px;
    right: -15px;
    color: #fff;
    font-size: 25px;
    cursor: pointer;
    z-index: 99999;
    background: var(--secondary-color);
    padding: 5px 10px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ABOUT US VIDEO TESTIMONIALS */
.about-us .videotestimonials {
    background: #DFEFF1;
    padding-top: 120px;
    padding-bottom: 200px;
}

@media only screen and (max-width: 1650px) {
    .videotestimonials-slider--body h3 {
        font-size: 1.50rem;
        line-height: 1.70rem;
    }
}

@media only screen and (max-width: 991px) {
    .about-us .videotestimonials {
        padding-top: 60px;
    }
}

@media only screen and (max-width: 767px) {
    .videotestimonials-slider {
        margin-bottom: 60px !important;
    }
    .about-us .videotestimonials {
        padding-top: 40px;
        padding-bottom: 30px;
    }
    .videotestimonials-slider .slick-track div.slick-current .videotestimonials-slider--item .youtube-container, 
    .videotestimonials-slider .slick-track div.slick-current .videotestimonials-slider--item .preview-img {
        height: 450px;
    }
    .youtube-container {
        height: 400px;
    }
    .videotestimonials-slider--item .preview-img {
        height: 400px;
    }
    .videotestimonials-slider--body h3 {
        font-size: 1.2rem;
        line-height: 1.4rem;
    }
}


