/* Contenedor principal del banner */
.banner-top {
    background: #1417f3;
    height: 500px;
    position: absolute; /* Absolute para ocupar todo el espacio */
    width: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1; /* Asegura que esté por encima de otros elementos */
}

/* Añadir un contenedor interno para controlar mejor el contenido */
.banner-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Estilos del slider del banner */
.banner-slider-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    transition: all 0.8s ease-in-out;
}

.banner-slide-item.active {
    visibility: visible;
    opacity: 1;
}

.banner-slide-content {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Texto del banner - Mejorado para visibilidad */
.banner-slide-text {
    text-align: center;
    color: white;
    padding: 20px 40px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.6); /* Más opaco para mejor legibilidad */
    max-width: 80%;
    position: relative;
    z-index: 10; /* Asegura que esté por encima */
    margin-top: 10%; /* Ajusta la posición vertical */
    transform: translateY(-50%); /* Centra verticalmente */
    backdrop-filter: blur(5px); /* Efecto de desenfoque para mejor legibilidad */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-slide-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-slide-text p {
    font-size: 1.3rem;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Overlay para mejorar la legibilidad del texto */
.banner-slide-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Overlay oscuro sutil */
    pointer-events: none;
    z-index: 1;
}

/* Asegura que el texto esté por encima del overlay */
.banner-slide-content {
    position: relative;
    z-index: 2;
}

/* Efecto de círculo expansivo al cambiar */
.banner-slide-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 100%;
    width: 0;
    height: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: all 0.8s ease-in-out;
    background: rgba(56, 22, 248, 0.2);
    z-index: 3;
}

.banner-slide-item.active::before {
    width: 300%;
    height: 300%;
    opacity: 0;
}

/* Ajuste para el título de licenciatura - Debe estar por encima del banner */
.licenciatura-title {
    border-radius: 30px;
    position: relative;
    z-index: 2;
    margin-top: 420px; /* Espacio para el banner de 400px + margen */
    padding: 20px;
    background: white; /* Fondo blanco para destacar */
    /* O puedes usar un fondo semitransparente */
    /* background: rgba(255, 255, 255, 0.95); */
}

/* También puedes crear un contenedor principal que contenga tanto el banner como el título */
.main-container {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Asegura que ocupe toda la pantalla */
}

/* Si el título está dentro del mismo contenedor que el banner */
.banner-top + .licenciatura-title,
.banner-top + * {
    position: relative;
    z-index: 2;
    margin-top: 400px; /* Altura del banner */
    background: white;
    padding: 20px;
}


@media (max-width: 768px) {
   .banner-top {
    height: 90%;

}
}


@media (max-width: 448px) {
 .banner-top {
    height: 90%;

}
}