/* Video Modal Styles */
#videoModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    /* Center content perfectly */
    display: none;
    align-items: center;
    justify-content: center;
}

#videoModal .modal-content {
    position: relative;
    margin: 0;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    background: transparent; /* No white background behind video */
    box-shadow: none;
}

#videoModal #modalVideo {
    width: 100%;
    height: auto;
    max-height: 90vh;
    display: block;
}

#videoModal .close-modal {
    position: absolute;
    right: 8px;
    top: 8px;
    color: #000;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

#videoModal .close-modal:hover,
#videoModal .close-modal:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

/* Play Button Styles */
.play-button {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button i {
    color: white;
    font-size: 30px;
    margin-left: 5px;
}

.play-button:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}
