/* Video Testimonials Section */
.testimonials-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
    background: linear-gradient(180deg, #fff 0%, #f9fafb 100%);
}

.video-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.video-card {
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    display: flex;
    flex-direction: column;
}


@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.video-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 40px 80px rgba(15, 92, 77, 0.15);
    z-index: 10;
    animation-play-state: paused;
}

/* Glare effect on hover */
.video-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.8s ease;
    z-index: 5;
    pointer-events: none;
}

.video-card:hover::after {
    left: 150%;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    background: #000;
}

.testimonial-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
    display: block;
    filter: contrast(1.05) saturate(1.1);
}

.video-overlay-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
    cursor: pointer;
}

.video-card:hover .video-overlay-icon {
    background: var(--primary);
    border-color: var(--primary);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 30px rgba(15, 92, 77, 0.5);
}

@media (max-width: 992px) {
    .video-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .video-testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        gap: 3rem;
    }
    .video-card { animation: none; } /* Disable float on mobile for better performance */
}