.video-wrapper {
    display: flex;
    flex-direction: column;
    /* stack video + caption */
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 40px 0;
    text-align: center;
}

.video-wrapper video {
    max-width: 100%;
    height: auto;
    outline: 2px solid #4CAF50;
    /* green outline */
    outline-offset: 4px;
    border-radius: 6px;
    /* optional: soft corners */
}

.video-caption {
    margin-top: 10px;
    color: #333;
    /* <-- fixed missing # */
    font-weight: 500;
    font-size: 1.2rem;
}


.video-container {
    position: relative;
    width: 90vw;
    /* take up most of the screen */
    max-width: 1000px;
    /* prevent being too huge on large screens */
    aspect-ratio: 16 / 9;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.schedule-demo-btn {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);

    /* background: rgba(102, 187, 106, 0.85); */
    background: #81BC41;

    /* light transparent green */
    color: #ffffff;
    padding: 16px 60px;
    /* increased horizontal padding */
    min-width: 280px;
    /* optional: ensures consistent width */
    border-radius: 999px;

    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.3px;

    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    /* center text if wider */
    gap: 10px;

    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;

    z-index: 5;
}

.schedule-demo-btn:hover {
    background: #81BC40;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}