﻿.testimonials2 .client p {
    color: var(--light-color);
    background-color: var(--dark-color);
    margin-bottom: 2px;
    padding: 4px 8px;
    border-radius: 4px;
}

.testimonials2 .client {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: end;
}

.testimonials2 .item-video {
    border-style: solid;
    border-width: 5px 5px 5px 5px;
    border-color: var(--default-color);
    border-radius: 15px 15px 15px 15px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

.testimonials2 .blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: 2s;
}

.testimonials2 .image-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.testimonials2 .image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100% );
    pointer-events: none;
}

.testimonials2 .blog-image:hover {
    transform: scale(1.05);
}

/*.testimonials2 .btn-play {
    position: absolute;
    max-width: 60px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.testimonials2 .testimonial-card .btn-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    transform: translate(-50%, -50%);
    z-index: 5;
}*/

.testimonials2 .testimonial-card .top-info {
    color: var(--light-color);
    background: linear-gradient(to bottom, rgb(0 0 0) 5%, rgb(199 199 199 / 0%) 100%);
    z-index: 3;
}

    .testimonials2 .testimonial-card .top-info h6,
    .testimonials2 .testimonial-card .top-info p {
        color: var(--light-color);
    }

.testimonials2 .testimonial-card .testimonial-content h6 {
    color: var(--light-color);
}

.testimonials2 .testimonial-card .testimonial-content p {
    color: var(--light-color);
}

.testimonials2 .testimonial-card .testimonial-client p {
    color: var(--dark-color);
}

.testimonials2 .testimonial-card .testimonial-content i {
    color: var(--accent-color);
}

.testimonials2 .testimonial-card .client-name {
    background-color: var(--light-color);
    color: var(--dark-color);
    padding: 8px 8px;
    border-radius: 4px;
    line-height: 20px;
}

.modal-body iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    max-width: none;
}

.testimonials2 .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--light-color);
    border-radius: 50%;
    animation: pulse-border 1200ms ease-out infinite;
}

.testimonials2 .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 80px;
    height: 80px;
    background: var(--light-color);
    border-radius: 50%;
    transition: all 200ms;
}

.testimonials2 .btn-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    transform: translate(-50%, -50%);
    z-index: 5;
}

    .testimonials2 .btn-play span {
        z-index: 3;
        position: absolute;
        top: 55%;
        left: 55%;
        transform: translate(-50%, -50%);
        display: block;
        width: 0;
        height: 0;
        border-left: 24px solid var(--accent-color);
        border-top: 16px solid transparent;
        border-bottom: 16px solid transparent;
    }

@media (max-width: 992px) {
    .testimonials2 .btn-play:before {
        width: 72px;
        height: 72px;
    }

    .testimonials2 .btn-play:after {
        width: 56px;
        height: 56px;
    }

    .testimonials2 .btn-play span {
        border-left: 16px solid var(--accent-color);
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
    }
}