
/* Video Section */
.video-section {
    padding: 40px 20px;
}

.video-container {
    max-width: 1200px;
    margin: 0 auto;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    /*padding:20px;*/
}

/* Thumbnails */
.video-thumbnail {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius:8px;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}
.video-section {
    padding: 240px 20px;
    
}

/* Play Button Overlay */
.video-thumbnail::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.video-thumbnail:hover::after {
    opacity: 1;
}

/* Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
}

.modal-content {
    position: relative;
    width: 50% !important;
    height:50%!important;
    margin: 50px auto;
    background:transparent !important;
}

.close-button {
    position: absolute;
    right: -40px;
    top: 0;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 1001;
}

.modal-content video {
    width: 45%;
    display: block;
    border-radius: 8px;
}





@media (min-width: 320px) and (max-width: 576px) {
     .modal-content video {
    width: 150% !important;
    display: block;
    border-radius: 8px;
}
}








