/* General Page Styling */
.page {
    padding: 30px 0;
    position: relative;
}

.page-header {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
}




.featured-video-section {
    margin-bottom: 40px;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
}


.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.featured-video, .video-item {
    margin-bottom: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.featured-video:hover, .video-item:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    position: relative;
    background-color: #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    aspect-ratio: 16/9;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    opacity: 0.9;
    transition: opacity 0.3s, transform 0.3s;
}

.video-thumbnail:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-title {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.5rem;
    line-height: 1.3;
}

.featured-video .video-title {
    font-size: 2rem;
    margin-bottom: 15px;
}

.video-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.featured-video .video-description {
    font-size: 1.2rem;
}

.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;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; 
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .page-header {
        font-size: 2rem;
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-video-section {
        max-width: 90%;
    }
    
    .featured-video .video-title {
        font-size: 1.8rem;
    }
    
    .video-title {
        font-size: 1.3rem;
    }
    
    .video-description {
        font-size: 1rem;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .modal-content {
        width: 95%;
    }
}

@media (max-width: 576px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-video-section {
        max-width: 100%;
    }
}

.video-item p{
    font-size: 14px !important;
}