/* Video Modal Component */

.video-modal .modal-dialog {
    max-width: 800px;
    margin: 1.75rem auto;
}

.video-modal .modal-content {
    background-color: #000;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.video-modal .modal-header {
    border-bottom: none;
    padding: 15px 20px;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.video-modal .modal-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.video-modal .close {
    color: #fff;
    opacity: 0.8;
    text-shadow: none;
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
}

.video-modal .close:hover {
    opacity: 1;
}

.video-modal .modal-body {
    padding: 0;
    background: #000;
}

/* Global Video Container for 16:9 ratio */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

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

/* Play Button Styling for triggers (preserving just in case) */
.btn-play-video {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.btn-play-video i {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding-left: 3px;
    /* Visual center for play icon */
}

.btn-play-video:hover {
    color: var(--secondary);
}

.btn-play-video:hover i {
    background: var(--secondary);
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .video-modal .modal-dialog {
        margin: 10px;
    }
}