.video-card-testimonials-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.video-card-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
}

.video-card-testimonials {
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-card-testimonials:hover {
    transform: scale(1.05);
}

.video-card-testimonials-wrapper {
    position: relative;
    border: 8px solid #00a5a0;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 aspect ratio */
}

.video-card-testimonials-wrapper img.thumbnail2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pause-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    pointer-events: none;
}

.video-card-testimonials-title {
    font-size: 14px;
    font-weight: 600;
    margin: 8px 0;
}

.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.video-modal-content {
    position: relative;
    width: 80%;
    max-width: 800px;
}

.video-modal-content iframe {
    width: 100%;
    height: 450px;
}

.close-btn {
    position: absolute;
    top: -35px;
    right: -10px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {
    .video-card-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .video-modal-content iframe {
        height: 250px;
    }
}

.video-card-testimonials:nth-child(2n+1) .video-card-testimonials-wrapper {
    border: 8px solid #2e335d;
}
 
.video-card-testimonials:nth-child(2n) .video-card-testimonials-wrapper {
    border: 8px solid #3AAFA9;
}