.video-container {
                position: relative; /* Essential for absolute positioning of children */
                width: 100%;
                height: 435px; /* Or a specific height */
                overflow: hidden; /* Prevents video from overflowing */
                border-radius: 20px;
                }

                .video-container video {
                position: absolute;
                top: 50%;
                left: 50%;
                min-width: 320px;
                /* min-height: 100%; */
                max-width: 1000px;
                height: auto;
                transform: translate(-50%, -50%);
                z-index: 1; /* Lower z-index for the video */
                }

                .text-overlay {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                z-index: 2; /* Higher z-index to be on top */
                color: white; /* Example text color */
                font-family: Arial, Helvetica, sans-serif;
                text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
                text-align: center;
                width: 80%; /* Example width */
                }

                .text-overlay h1 {
                font-size: 3em; /* Example font size */
                margin-bottom: 10px;
                }

                .text-overlay p {
                font-size: 1.5em;
                }