/* Custom CSS */
#hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* Contenedor del video */
.video-background-container {
    z-index: -1;
}

/* Estilos para el video */
.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Esto es clave: hace que el video cubra todo el espacio sin distorsionarse */
    transform: translate(-50%, -50%);
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Overlay oscuro para que el texto sea legible */
    z-index: 0;
}

.hero-content {
    z-index: 1;
}