@font-face{
    font-family: 'Aller Regular';
    src: url('../fonts/Aller/Aller_Std_Rg.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face{
    font-family: 'Aller Display';
    src: url('../fonts/Aller/AllerDisplay.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
body{
    width: 100vw;
    font-family: 'Aller Regular';
    display: flex;
    flex-direction: column;
}
.content-prime{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.content-prime img{
    width: 100%;
    object-fit:  cover;
}
.container-estgeo{
    width: 100%;
    height: 730px;
    position: relative;
    background-color: #ffffff;
}
.img-backgroundest{
    width: 100%;
    height: 100%;
    background-size:  505px 505px;
    background-position: 150px 110px;
    background-repeat: no-repeat;
    background-image: url('../webp/img/servicios/estudios/IMAGEN 01.webp');
    position: absolute;
}
.estudio-text{
    margin-bottom: 240px;
}
.estudio-text h2{
    font-family: 'Aller Display';
    text-align: center;
    color: #AAD159;
    font-size: 82.64px;

    position: relative;
}
.estudio-text p{
    font-family: 'Aller Regular';
    text-align: justify;
    color: #002060;
    margin: 25px 30.24px 47px 53.67px;
    font-size: 32.2px;
    position: relative;
}
#Carrusel_contenedor_principal {
    width: 100vw;
    height: 90vh;
    background-color: #002060;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.carousel-container{
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.carousel{
    width: 100vw;
    height: 100%;
    position:absolute;
    overflow:hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.carousel img{
    position:absolute;
    width:100vw;
    height: 100vh;
    left:100%;
    overflow: hidden;
    transition:all 0.5s ease-in-out;
}
.carousel img.active{
    width: auto;
    left: 0;
    justify-content: center;
}
#carruselcalidaduno{
    z-index: 10;
    width:100vw;
    height: 100vh;
    display: contents;
}
#carruselcalidaduno img{
    width: 100%;
    height: 100%;
}

#carruselcalidaddos{
    position: relative;
    width: 40vw;
    height: 65vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    object-fit: unset;
    z-index: 10;
}
#carruselcalidaddos img.active {
    display: flex;
    width: 70%;
    height: 100%;
    margin-left: 30%;
    z-index: 10;
    object-fit: unset; /* Sobrescribe la propiedad object-fit */
}
#carruselcalidaddos img.next_calidad {
    width: 70%;
    height: 80%;
    opacity: 0.4;
    margin-left: 2%;
    left: 0;
    z-index: 5;
    object-fit: unset;
    transition: all 0.5s ease-in-out;
}

#carruselcalidaddos img.prev_calidad{
    width:100% ;
    height: 80%;
    z-index: 0;
    opacity: 0.2;
    object-fit: unset;
    transition:all 0.5s ease-in-out;
}
.carousel-controls {
    position: absolute;
    bottom: 40px; /* Ubica el contenedor en la parte inferior */
    left: 50%; /* Centra horizontalmente */
    transform: translateX(50%); /* Ajusta para centrar perfectamente */
    z-index:10;
    display: flex;
    gap:20px;
}
button{
    bottom: 0;
    width: 40px;
    height: 40px;
    background-color: #fffefea5;
    color: #ffffff;
    border-radius: 50%;
    border:none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor:pointer;
}
button i{
    font-size:25px ;
}
button:disabled{
    /* display: inline-block; */
    cursor: not-allowed;
    opacity: 0;
}
.section-estu{
    width: 100%;
    display: flex;
    padding: 0 45px 35px;
}
.img-backgroundestu{
    width: 100%;
    background-size: 100% 100%;
    background-image: url('../webp/img/servicios/calidad/IMAGEN 02.webp');
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    position: sticky;
    top: 0;
    /* padding: 2rem; */
    background-repeat: no-repeat;
    background-position: center;

}
.cont-textestu-1 h3, .cont-textestu-2 h3{
    font-family: 'Aller Display';
    margin:30px 0 0;
    font-size: 40px;
    font-weight: bold;
    color: #002060;
}
.cont-textestu-1 ul, .cont-textestu-2 ul{
    font-family: 'Aller Regular';
    list-style-type: none;
    font-size: 32.2px;
    color: #002060;
}
@media screen and (max-width: 768px) and (orientation: portrait) {
    .estudio-text h2 {
        font-size: 2rem;
    }
    .estudio-text p {
        font-size: 1rem;
        margin:1rem 1rem;
    }
    .img-backgroundest {
        width: 100%;
        height: 100%;
    }
    .img-backgroundest {
        background-size: 290px 290px;
        background-position: center center;
    }
    .container-estgeo {
        height: 490px;
        position: relative;
    }
    #Carrusel_contenedor_principal{
        height: 200px;
    }
    .carousel-container {
        height: 100%;
    }
    .carousel-controls {
        left:35%;
    }
    button {
        bottom: 0;
        width: 25px;
        height: 25px;
    }
    button i {
        font-size: 12px;
    }
    #carruselcalidaddos img.active {
        height: 78%;
    }
    #carruselcalidaddos img.next_calidad {
        height: 60%;
    }
    .section-estu {
        padding: 0 15px 2px 20px;
    }
    .cont-textestu-1 h3, .cont-textestu-2 h3 {
        font-size: 1rem;
    }
    .cont-textestu-1 ul, .cont-textestu-2 ul {
        font-size: 1rem;
        list-style-type: disc;
        left: 14px;
        position: relative;
    }
    
}
@media screen and (max-height: 500px) and (orientation: landscape) {
    .container-estgeo {
        height: 332px;
    }
    .estudio-text h2 {
        font-size: 2rem;
    }
    .estudio-text p {
        font-size: 1rem;
        margin: 15px 10px;
    }
    .img-backgroundest {
        background-size: 200px 200px;
        background-position: center center;
    }
    .section-estu {
        padding: 0 15px 2px 20px;
    }
    .cont-textestu-1 h3, .cont-textestu-2 h3 {
        font-size: 1rem;
    }
    .cont-textestu-1 ul, .cont-textestu-2 ul {
        font-size: 1rem;
        list-style-type: disc;
        left: 14px;
        position: relative;
    }
}