/*--------------------------------------------------------------
# Testimonials Details videos section--------
--------------------------------------------------------------*/
.testimonial-video-details {
    overflow: hidden;
}

.video-images {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.quote-icon {
    position: absolute;
    top: 5px;
    left: 0px;
    color: #6b7280;
}

@media(max-width: 575px) {
    .video-images {
        height: 250px;
    }

}

@media(min-width: 576px) and (max-width: 1200px) {
    .video-images {
        height: 170px;
    }
}

.testimonial-video-details .play-btn {
    width: 72px;
    height: 72px;
    background: radial-gradient(rgb(249 115 22) 50%, rgba(249, 115, 22, 0.4) 52%);
    border-radius: 50%;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    border: none;
}

.testimonial-video-details .play-btn::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    z-index: 100;
    transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.testimonial-video-details .play-btn::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    animation-delay: 0s;
    animation: pulsate-btn 2s;
    animation-direction: forwards;
    animation-iteration-count: infinite;
    animation-timing-function: steps;
    opacity: 1;
    border-radius: 50%;
    border: 5px solid rgba(249, 115, 22, 0.7);
    top: -15%;
    left: -15%;
    background: rgba(198, 16, 0, 0);
}

.testimonial-video-details .play-btn:hover::after {
    border-left: 15px solid rgb(249, 115, 22);
    transform: scale(20);
}

.testimonial-video-details .play-btn:hover::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border: none;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    z-index: 200;
    animation: none;
    border-radius: 0;
}

@-webkit-keyframes pulsate-btn {
    0% {
        transform: scale(0.6, 0.6);
        opacity: 1;
    }

    100% {
        transform: scale(1, 1);
        opacity: 0;
    }
}

@keyframes pulsate-btn {
    0% {
        transform: scale(0.6, 0.6);
        opacity: 1;
    }

    100% {
        transform: scale(1, 1);
        opacity: 0;
    }
}

.testimonial-video-box {
    position: relative;
}

.textimonials-video-contnent h4 {
    margin-top: 14px;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 1px;
    color: #4b5563;
}

.textimonials-video-contnent p {
    font-size: 15px;
    font-weight: 500;
    color: gray;
}

.testimonial-content-box {
    position: relative;
    padding: 1.5rem 1.5rem .5rem 1.5rem
}

.testimonial-user-image {
    width: 78px;
    height: 78px;
    object-fit: cover;
    border-radius: 50%;
}

.rotate-180 {
    transform: rotate(180deg);
}

.modal-close {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    height: 30px;
    width: 30px;
    border: none;
    color: red;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-close i {
    font-size: 20px;
    font-weight: 700;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio (9/16 = 0.5625) */
    height: 0;
}

/* iframe styles */
iframe.testimonial-video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}