.video-testimonials {
    padding: 4rem 2rem;
    background: #f8f8f8;
    margin-top: 2rem;
}

.video-header {
    text-align: center;
    margin-bottom: 3rem;
}

.video-header h2 {
    color: #005a5a;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Lato', sans-serif;
}

.video-divider {
    border: 0;
    height: 2px;
    background-color: #005a5a;
    width: 100px;
    margin: 20px auto;
}

.video-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    /* Added to ensure full width */
    width: 100%;
}

/* Updated video card styles */
.video-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    /* Added to ensure full width */
    width: 100%;
}

/* Updated video wrapper styles */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000; /* Added dark background */
    width: 100%; /* Explicitly set width */
}

/* Updated iframe styles */
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important; /* Force full width */
    height: 100% !important; /* Force full height */
    object-fit: cover; /* Ensure video covers container */
}

/* New play button styles */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
}

.play-button i {
    color: #005a5a;
    font-size: 24px;
    margin-left: 4px; /* Slight offset for visual center */
}

/* Play button hover effect */
.play-button:hover {
    background: #005a5a;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button:hover i {
    color: white;
}

/* Add overlay to make video thumbnail darker */
.video-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
}

.video-wrapper:hover::after {
    background: rgba(0, 0, 0, 0.1);
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    color: #005a5a;
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.video-info p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

/* Animation for cards */
.video-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation delay for cards */
.video-card:nth-child(2) { animation-delay: 0.2s; }
.video-card:nth-child(3) { animation-delay: 0.4s; }
.video-card:nth-child(4) { animation-delay: 0.6s; }
.video-card:nth-child(5) { animation-delay: 0.8s; }

/* Responsive styles */
@media (max-width: 992px) {
    .video-grid {
        gap: 1.5rem;
    }
    
    .video-header h2 {
        font-size: 2.2rem;
    }
    
    /* Adjusted play button size for tablets */
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button i {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .video-testimonials {
        padding: 3rem 1rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-header h2 {
        font-size: 2rem;
    }
    
    .video-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .video-info h3 {
        font-size: 1.1rem;
    }
    
    /* Further adjusted play button size for mobile */
    .play-button {
        width: 45px;
        height: 45px;
    }
    
    .play-button i {
        font-size: 18px;
    }
}




































.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    width: 100%;
}

/* Thumbnail styles */
.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video container styles */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Play button styles */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
}

.play-button i {
    color: #005a5a;
    font-size: 24px;
    margin-left: 4px;
}

/* Close button styles */
.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
}

.close-button i {
    color: #005a5a;
    font-size: 16px;
}

/* Hover effects */
.play-button:hover, .close-button:hover {
    background: #005a5a;
    transform: scale(1.1);
}

.close-button:hover {
    transform: rotate(90deg) scale(1.1);
}

.play-button:hover i, .close-button:hover i {
    color: white;
}



































































.video-testimonials {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-header {
    text-align: center;
    margin-bottom: 2rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.video-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    background: #000;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: #000;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
   height: auto;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
}

.play-button i {
    color: #005a5a;
    font-size: 24px;
    margin-left: 4px;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
}

.close-button i {
    color: #005a5a;
    font-size: 16px;
}

.play-button:hover, .close-button:hover {
    background: #005a5a;
    transform: scale(1.1);
}

.close-button:hover {
    transform: rotate(90deg) scale(1.1);
}

.play-button:hover i, .close-button:hover i {
    color: white;
}

.video-info {
    padding: 1rem;
}

.video-info h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.video-info p {
    margin: 0;
    color: #666;
}