/* ================================
   VIDEO SECTION
================================ */

.video-section {
    background: #ffffff;
    padding-bottom: 60px;
    padding-left: 20px;
    padding-top: 2px;
    padding-right: 20px;
    text-align: center;
}

.video-section h2 {
    font-size: 42px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
    margin-top: 10px;
}

.video-section p {
    color: #333;
    font-size: 18px;
    margin-bottom: 40px;
    margin-top: 5px;
}

/* --- Fixed 16:9 video canvas --- */

.video-container {
    width: 100%;
    max-width: 900px;
    margin: auto;

    aspect-ratio: 16 / 9;   /* Ensures perfect 16:9 */
    background: #000;       /* Black background before loading */

    border-radius: 12px;
    overflow: hidden;

    position: relative;
}



/* Wrapper for iframe + thumbnail */
.video-wrapper-overlay {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: auto;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
}

/* Temporary thumbnail overlay */
.video-thumbnail {
    position: absolute;
    inset: 0;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 5; /* stays above iframe */
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85; /* optional dim effect */
}

/* Your iframe stays underneath */
.video-wrapper-overlay iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}