body {
	background-color: rgb(245, 245, 245);	  
    font-family: "Poppins", sans-serif; 
}
#masthead{
	padding-top: 200px;
	padding-bottom: 200px; 
	text-align: center;
	background-image: url("/assets/img/Asesoria-Academica.jpg");
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: center center;
	background-size: cover;		
	margin-bottom: 50px;
	position: relative;
	z-index: -1;		
}

.banner-masthead {
	background-color: white;
	position: relative;
	margin: 0 auto;
	max-width: 1400px;
	bottom: -15rem;
	padding: 20px;
	border-radius: 5px;
    box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.1);
	color: #004d0b;
	width: 200px;	 
}  

#masthead .masthead-heading {
    font-size: 25px; 
    font-weight: 700;
}

@media (min-width: 768px) {
	.banner-masthead {width: 400px;}  

	.masthead .masthead-heading {font-size: 80%;}	
}

/*---------------------------------------------------------------------------------------*/
/* DESCRIPCION AESORIAS ACADEMICAS
/*---------------------------------------------------------------------------------------*/
#asesorias{
    margin-top: 8rem;
    margin-bottom: 8rem;
}

/* Estilos generales */
.box {
    position: relative;
    width: 100%;  /* Establecemos que la caja ocupe el 100% del ancho disponible */
    max-width: 1320px;  /* Máximo ancho para pantallas grandes */
    height: 400px;  /* Mantener la altura fija */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    z-index: 1;
    margin: 0 auto;  /* Centrado horizontal */
}

.box::before, .box::after {
    content: ' ';
    position: absolute;
    top: 0;
    left: 50%;  /* Centramos los pseudo-elementos */
    width: 50%;  /* Ancho del 50% para la sombra de gradiente */
    height: 100%;
    background: #fff;
    border-radius: 8px;
    transform: skewX(15deg);
    transition: 0.5s;
    transform-origin: center;
}

/* Para asegurarnos que se centren correctamente (ajustamos el left) */
.box::before {
    left: 50%;  /* Centrado horizontal */
    transform: translateX(-50%) skewX(15deg); /* Ajustamos para que el pseudo-elemento se desplace hacia la izquierda la mitad de su ancho */
}

.box::after {
    left: 50%;  /* Centrado horizontal */
    filter: blur(30px);
    transform: translateX(-50%) skewX(15deg); /* Igual que el anterior */
}

/* Efectos de hover */
.box:hover::before,
.box:hover::after {
    transform: translateX(-50%) skewX(0deg) scaleX(1.3);  /* Mantener el centro y escala en el hover */
}

/* Fondo con gradiente */
.box::before, .box::after {
    background: linear-gradient(315deg, #ffbc00, #004d0b);
}

/* Estilos para el contenedor .content */
.box .content {
    position: relative;
    width: 100%;  /* Ancho del 100% para que se ajuste al tamaño del contenedor */
    max-width: 1160px;  /* Ancho máximo */
    height: 340px;  /* Altura fija */
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);  /* Sombra más grande */
    border-radius: 8px;
    z-index: 1;
    transform: 0.5s;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Estilos para el box con el texto */
.box .content .p-box {
    background: rgba(0, 0, 0, 0.3);  /* Fondo semitransparente */
    padding: 20px;
    border-radius: 5px;    
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Estilo para el texto */
.box .content .p-box  {
    font-size: 20px;
    color: white;
    text-align: center;
}

/* Estilo de los elementos <span> */
.box span {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    pointer-events: none;
}

/* Animación para los elementos <span> */
.box span::before, .box span::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: 0.1s;
    animation: animate 2s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);  /* Sombra más grande */
}

.box span::before {
    top: -50px;
    left: 50px;  /* Ajustado para el tamaño */
    opacity: 1;
}

.box span::after {
    bottom: -50px;
    right: 50px;  /* Ajustado para el tamaño */
    opacity: 1;
}

#listQuestion{
    padding-left: 50px;
    padding-right: 50px;
}

/* Responsividad con media queries */
@media (max-width: 1200px) {
    .box {
        width: 80%;  /* Reducir el tamaño en pantallas más pequeñas */
    }

    .box .content {
        width: 90%;  /* Reducir el tamaño del contenedor */
        padding: 15px 30px;  /* Ajustar el padding */
    }

    .box .content .p-box {
        font-size: 18px;  /* Reducir el tamaño de la fuente */
    }

    .box span::before, .box span::after {
        width: 100px;  /* Reducir el tamaño de los círculos */
        height: 100px;
    }
}

@media (max-width: 768px) {
    .box {
        width: 100%;  /* 100% del ancho en pantallas más pequeñas */
    }

    .box .content {
        width: 100%;  /* 100% del ancho en pantallas más pequeñas */
        padding: 10px 20px;  /* Ajustar padding */
    }

    .box .content .p-box {
        font-size: 16px;  /* Reducir aún más el tamaño de la fuente */
    }

    .box span::before, .box span::after {
        width: 80px;  /* Reducir el tamaño de los círculos */
        height: 80px;
    }
}

