.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.caption-hero {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
}

.caption-hero span {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    line-height: 1.25;
    text-align: center;
    letter-spacing: 0px;
    color: #fff !important;
}
.caption-hero span b{
    font-weight: 800;
}
.legenda {
    position: absolute; 
    top: 73%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10; /* Garante que a legenda fique acima do vídeo */
    width: 100%; /* Opcional: garante alinhamento responsivo */
}
#cover-hero {
    background-image: url('https://needus.com.br/video/hero-dona.mp4')!important;
    background-size: cover;
    background-position: 100% center;
    margin-bottom: -80px;
}
#cover-hero1 {
    background-image: url('https://needus.com.br/video/hero-5anos.mp4')!important;
    background-size: cover;
    background-position: 100% center;
    margin-bottom: -80px;
}
#cover-hero2 {
    background-image: url('/images/banner-hero2.webp')!important;
    background-size: cover;
    background-position: 100% center;
    margin-bottom: -80px;
}
@media (max-width: 768px) {
    .legenda {
        position: relative ;
        top: 66%;
        color: white;
    }
    #cover-hero {
        background-image: url('/images/case-urcamp-mobile.webp')!important;
        height: 100vh;
        background-position: center;
    }
    #cover-hero1 {
        background-image: url('/images/banner-heroedu-mobile.webp')!important;
        height: 100vh;
        background-position: center;
    }
    #cover-hero2 {
        background-image: url('/images/banner-hero-mobile.webp')!important;
        height: 100vh;
        background-position: center;
    }
    .video-container video{
        height: 100vh;
        background: rgb(0,1,31);
        background: linear-gradient(90deg, rgba(0,1,31,1) 0%, rgba(0,1,31,1) 100%);
    }
}

