.premium-section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    background-image: url('Images/gallery\ \(28\).jpeg');
    background-size: cover;
    background-position: center;
    height: 100vh; /* Adjust height as needed */
    color: #fff; /* Change text color for better visibility */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Subtle text shadow for readability */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Elegant font choice */
}



body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    
}

.video-gallery-container {
    padding: 20px;
    
    
    max-width: 1200px;
    margin: auto;
}

.video-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.text {
    text-align: center;
    margin-bottom: 30px;
}

.text h1 {
    font-size: 2.5em;
    margin: 0;
    color: #333;
}

.text p {
    font-size: 1.2em;
    color: #666;
    margin: 10px 0 0;
}

.video-thumbnail {
    position: relative;
    width: 300px;
    height: 200px;
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.video-thumbnail .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.video-thumbnail .overlay .text {
    color: #fff;
    font-size: 18px;
    text-align: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
}

.video-thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.video-thumbnail:hover .overlay {
    opacity: 1;
}

@media (max-width: 768px) {
    .video-thumbnail {
        width: 45%;
    }
    .text h1 {
        font-size: 2em;
    }

    .text p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .video-thumbnail {
        width: 100%;
    }
    .text h1 {
        font-size: 1.5em;
    }

    .text p {
        font-size: 0.9em;
    }

}
