/* Video Slider Section Styles */
.video-slider-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.video-slider-header {
    text-align: center;
    margin-bottom: 40px;
}

.video-slider-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
}

.video-slider-header p {
    font-size: 16px;
    color: #6c757d;
    margin: 0;
}

.video-slider-wrapper {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #24B800 #e9ecef;
    padding: 10px 0 20px;
}

/* Custom Scrollbar for Webkit browsers */
.video-slider-wrapper::-webkit-scrollbar {
    height: 8px;
}

.video-slider-wrapper::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 10px;
}

.video-slider-wrapper::-webkit-scrollbar-thumb {
    background: #24B800;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.video-slider-wrapper::-webkit-scrollbar-thumb:hover {
    background: #1d9600;
}

.video-slider-container {
    display: flex;
    gap: 20px;
    width: max-content;
    padding: 0 10px;
}

.video-slide {
    flex: 0 0 auto;
    width: 320px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.video-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.video-slide video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #000;
}

/* Play Button Overlay */
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    z-index: 10;
    transition: opacity 0.3s ease;
    pointer-events: all;
}

.video-play-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.video-play-btn:hover {
    transform: scale(1.1);
    background: #24B800;
}

.video-play-btn svg {
    width: 32px;
    height: 32px;
    color: #24B800;
    margin-left: 4px;
    transition: color 0.3s ease;
}

.video-play-btn:hover svg {
    color: #fff;
}

.video-play-btn:active {
    transform: scale(0.95);
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .video-slider-section {
        padding: 40px 0;
    }

    .video-slider-header h2 {
        font-size: 24px;
    }

    .video-slider-header p {
        font-size: 14px;
        padding: 0 20px;
    }

    .video-slide {
        width: 280px;
    }

    .video-slider-container {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .video-slider-header h2 {
        font-size: 20px;
    }

    .video-slide {
        width: 260px;
    }
}

/* Smooth scroll behavior */
.video-slider-wrapper {
    scroll-behavior: smooth;
}

/* Add a subtle gradient fade on edges */
.video-slider-section::before,
.video-slider-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    pointer-events: none;
    z-index: 1;
}

.video-slider-section::before {
    left: 0;
    background: linear-gradient(to right, rgba(248, 249, 250, 1), rgba(248, 249, 250, 0));
}

.video-slider-section::after {
    right: 0;
    background: linear-gradient(to left, rgba(248, 249, 250, 1), rgba(248, 249, 250, 0));
}

.video-slider-section {
    position: relative;
}