body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000; /* Matches your video background */
    font-family: 'Arial', sans-serif;
}

.video-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: #000; /* Fallback for the container */
    display: flex;
    justify-content: center;
    align-items: center;
}

#bg-video {
    position: absolute;
    width: 100%;
    height: 100%;
    /* Default for Desktop: fill the screen */
    object-fit: cover;
    z-index: 1;
}

.overlay {
    position: relative; /* Sit on top of video */
    z-index: 2;
    text-align: center;
    color: white;
    padding: 20px;
}

/* Mobile Specific Adjustments */
@media (max-width: 768px) {
    #bg-video {
        /* On mobile: contain the video so it fits width-wise */
        object-fit: contain; 
    }

    .overlay {
        /* Ensure text stays centered over the video area */
        width: 90%;
    }

    h1 { font-size: 1.8rem; }
    p { font-size: 1rem; }
}