.videos-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.videos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.videos-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #212529;
    margin: 0;
}

.see-all-link {
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.see-all-link:hover {
    color: #212529;
}

.video-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 280px;
    margin-bottom: 20px;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Video thumbnail backgrounds */
.video-1 {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                      url('../img/video/video1.png');
}

.video-2 {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
    url('../img/video/video2.png');
}

.video-3 {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                      url('../img/video/video3.png');
}

.video-4 {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                      url('../img/video/video4.png');
}

.video-5 {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
    url('../img/video/video5.png');
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 15px solid #212529;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 3px;
}

.video-card:hover .play-button {
    background-color: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px 15px 15px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.likes {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.views {
    font-size: 0.9rem;
    opacity: 0.9;
}

.heart-icon {
    color: #dc3545;
    font-size: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .videos-title {
        font-size: 2rem;
    }
    
    .videos-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .see-all-link {
        align-self: flex-end;
    }
    
    .video-card {
        height: 250px;
    }
    
    .videos-section {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .videos-title {
        font-size: 1.75rem;
    }
    
    .video-card {
        height: 200px;
        margin-bottom: 15px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button::before {
        border-left-width: 12px;
        border-top-width: 8px;
        border-bottom-width: 8px;
    }
    
    .video-stats {
        padding: 20px 12px 12px;
        font-size: 0.8rem;
    }
}

/* Hover effects */
.video-card:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-thumbnail {
    transition: transform 0.3s ease;
}

/* Active state */
.video-card:active {
    transform: translateY(-2px);
}

/* Custom scrollbar for horizontal scroll on mobile */
.video-scroll-container {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #dee2e6 transparent;
}

.video-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.video-scroll-container::-webkit-scrollbar-track {
    background: transparent;
}

.video-scroll-container::-webkit-scrollbar-thumb {
    background-color: #dee2e6;
    border-radius: 3px;
}

.video-scroll-container::-webkit-scrollbar-thumb:hover {
    background-color: #adb5bd;
}