
/* ==========================================
   VIDEO TESTIMONIAL
========================================== */

.video-testimonials-section {
    overflow: hidden;
}

.video-testimonials-carousel {
    position: relative;
    overflow: hidden;
    padding: 5px 0 20px;
}

.video-testimonials-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.video-testimonials-carousel .owl-item {
    display: flex;
    height: auto;
    padding: 0 10px;
}

.video-reel-card {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;

    overflow: hidden;

    border-radius: 20px;
    background: #111;

    isolation: isolate;
}

/* Video */

.video-reel {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* Overlay */

.video-reel-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.05) 30%,
        rgba(0, 0, 0, 0.15) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

/* Play */

.video-play-btn {
    position: absolute;

    top: 50%;
    left: 50%;

    z-index: 5;

    width: 58px;
    height: 58px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255,255,255,.95);
    color: var(--bs-primary);

    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-btn i {
    margin-left: 3px;
}

/* Hide play button when playing */

.video-reel-card.playing .video-play-btn {
    opacity: 0;
    pointer-events: none;
}

/* Content */

.video-reel-content {
    position: absolute;

    left: 20px;
    right: 20px;
    bottom: 20px;

    z-index: 4;

    color: #fff;
}

.video-testimonial-label {
    display: inline-block;

    padding: 6px 10px;
    margin-bottom: 8px;

    border-radius: 30px;

    background: rgba(255,255,255,.18);

    backdrop-filter: blur(8px);

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;

    text-transform: uppercase;
}

.video-reel-content h4 {
    color: #fff;

    font-size: 17px;
    line-height: 1.35;

    margin: 0 0 6px;
}

.video-reel-content p {
    color: rgba(255,255,255,.8);

    font-size: 13px;
    margin: 0;
}

/* Mute */

.video-mute-btn {
    position: absolute;

    top: 18px;
    right: 18px;

    z-index: 6;

    width: 38px;
    height: 38px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(0,0,0,.45);
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* ==========================================
   OWL NAVIGATION
========================================== */

.video-testimonials-carousel .owl-nav button.owl-prev,
.video-testimonials-carousel .owl-nav button.owl-next {

    position: absolute;

    top: 50%;

    width: 45px;
    height: 45px;

    margin: 0;

    border-radius: 50%;

    background: #fff !important;

    color: var(--bs-primary) !important;

    transform: translateY(-50%);

    box-shadow: 0 5px 20px rgba(0,0,0,.15);

    display: flex;
    align-items: center;
    justify-content: center;
}

.video-testimonials-carousel .owl-nav button.owl-prev {
    left: 0;
}

.video-testimonials-carousel .owl-nav button.owl-next {
    right: 0;
}

.video-testimonials-carousel .owl-nav button span {
    font-size: 30px;
    line-height: 1;
}


/* ==========================================
   TABLET
   2 CARDS
========================================== */

@media (max-width: 991px) {

    .video-testimonials-carousel .owl-item {
        padding: 0 8px;
    }

    .video-reel-card {
        border-radius: 18px;
    }

}


/* ==========================================
   MOBILE
   1 CARD
========================================== */

@media (max-width: 767px) {

    .video-testimonials-section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .video-testimonials-carousel .owl-item {
        padding: 0 6px;
    }

    .video-reel-card {
        border-radius: 18px;
    }

    .video-testimonials-carousel .owl-nav button.owl-prev,
    .video-testimonials-carousel .owl-nav button.owl-next {
        width: 38px;
        height: 38px;
    }

}

