/* Styling for the trigger button */
.video-trigger-btn {
    background-color: #ff0000;
    color: #ffffff;
    padding: 12px 24px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
}
 
/* Hidden overlay backdrop covering the whole screen */
.video-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 99999; /* Ensures it stays on top of header navigation */
    justify-content: center;
    align-items: center;
}
 
/* Modal window container */
.video-modal-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: #000;
}
 
/* Close button positioning and styling */
.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}
 
/* 16:9 Aspect Ratio Box for Responsive Video */
.video-iframe-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
}
.video-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
