/* Video section - responsive section and video */
.video-section {
    width: 100%;
    padding: 2.5rem 1rem;
    background-color: #f5f5f5;
}

.video-section__container {
    max-width: 900px;
    margin: 0 auto;
}

.video-section__title {
    font-family: "Poppins", sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    text-align: center;
    color: #1a365d;
    margin-bottom: 1.25rem;
}

/* Responsive video wrapper: keeps 16:9 aspect ratio, scales with width */
.video-section__wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.video-section__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* If you use an iframe (e.g. YouTube) instead, add class video-section__embed to the iframe */
.video-section__wrapper iframe.video-section__embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .video-section {
        padding: 1.75rem 0.75rem;
    }

    .video-section__title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .video-section__wrapper {
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .video-section {
        padding: 1.25rem 0.5rem;
    }

    .video-section__title {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
}
