*{
    margin: 0;
    padding: 0;
}

html{
    scroll-behavior: smooth;
}

body, html{
    width: 100%;
}

body{
    margin: 0;
    padding: 0;
    background-color: #DEE8FF;
}

:root{
    font-size: 18px;  /* 1rem = 18px */
}

h1{
    font-size: 2.9rem;
    font-family: fontH1H2;
}

h2{
    font-size: 2.3rem;
    font-family: fontH1H2;
}

h3{
    font-size: 2.0rem;
    font-family: fontH3H4;
}

h4{
    font-size: 1.8rem;
    font-family: fontH3H4;
}

h5{
    font-size: 1.6rem;
    font-family: fontH5H6;
}

h6{
    font-size: 1.4rem;
    font-family: fontH5H6;
}

p, a, li, br{
    font-size: 1rem;
    font-family: fontTexto;
}
span{
    font-size: 0.8rem;
    font-family: fontTexto;
}

@font-face{
    font-family: fontH1H2;
    src: url(fonts/RobotoCondensed-Bold.ttf);
}

@font-face{
    font-family: fontH3H4;
    src: url(fonts/BarlowCondensed-Bold.ttf);
}

@font-face{
    font-family: fontH5H6;
    src: url(fonts/ArchivoNarrow-VariableFont_wght.ttf);
}

@font-face{
    font-family: fontTexto;
    src: url(fonts/Inter-VariableFont_opsz\,wght.ttf);
    font-weight: 400;
}

/* ---------- NAVBAR ---------- */

.navbar{
    width: 100%;
    height: auto;
    padding: 8px 45px; 
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background-color: white;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar-content{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.navbar-logo{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}
.navbar-logo H5{
    font-weight: 800;
    color: #1F1863;
}
.navbar-logo img{
    width: 80px;
    height: auto;
}
.navbar-links{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}
.navbar-links a{
    padding: 14px 15px;
    color: #1F1863;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
}
.navbar-links a:not(.boton1)::after {
    width: 0;
    height: 2px;
    left: 0;
    bottom: -5px;
    content: "";
    position: absolute;
    background-color: #1F1863;
    transition: width 0.3s ease;
}
.navbar-links a:hover::after {
    width: 100%;
}
.navbar-link:hover{
    color: #7ABAEA;
}
.navbar-toggle{
    display: none;
    font-size: 28px;
    color: #1F1863;
    cursor: pointer;
}

/* ================= MOBILE ================= */
@media (min-width: 320px) and (max-width: 599px){

    .navbar{
        padding: 10px 20px;
    }

    .navbar-content{
        justify-content: space-between;
    }

    .navbar-logo img{
        width: 60px;
    }

    .navbar-logo h5{
        font-size: 14px;
    }

    .navbar-links{
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 20px 0;

        display: none;
        z-index: 999;
    }

    .navbar-links.active{
        display: flex !important;
    }

    .navbar-toggle{
        display: block;
    }
}

/* ================= TABLET ================= */
@media (min-width: 600px) and (max-width: 1023px){

    .navbar{
        padding: 10px 30px;
    }

    .navbar-content{
        justify-content: space-between;
    }

    .navbar-logo img{
        width: 70px;
    }

    .navbar-logo h5{
        font-size: 20px;
    }

    .navbar-links{
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 20px 0;
        display: none;
        z-index: 999;
    }

    .navbar-links.active{
        display: flex !important;
    }

    .navbar-toggle{
        display: block;
    }
}

/* ================= DESKTOP ================= */
@media (min-width: 1024px) and (max-width: 1440px){

    .navbar{
        padding: 8px 30px;
    }

    .navbar-links{
        gap: 15px;
    }

    .navbar-links a{
        padding: 12px 10px;
        font-size: 18px;
    }
}

/* --------------------------------------- */

/* ---------- BOTONES ---------- */

.boton1{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 15px;
    background-color: #7ABAEA;  
    text-decoration: none;
    color: #1F1863;
    font-weight: 600;
    transition: 1s;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
.boton1:hover{
    transform: scale(1.1);
    transition: 1s;
}
.boton-redes{
    width: 30px;
    height: 30px;
    padding: 10px;
    background-color: #7ABAEA;  
    transition: 1s;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.boton-contacto-redes{
    width: 50px;
    height: 50px;
    background-color: #7ABAEA;  
    transition: 1s;
    border-radius: 50%;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.boton-contacto-redes:hover, .boton-redes:hover{
    transform: translateY(-5px);
}

/* --------------------------------------- */

/* ---------- UTILIDADES ---------- */

.link-document{
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #294B95;
    font-size: 1.3rem;
    font-family: fontH5H6;
    background-color: #bfd0ff;
    padding: 11px 12px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: 1s;
    border-radius: 8px;
}
.link-document:hover{
    transform: scale(1.1);
    transition: 1s;
}
.subtitulo{
    color: #1F1863;
}
.titulogeneral{
    width: 100%;
    margin-bottom: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    color: #1F1863;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}
.titulogeneral p{
    color: black;
}
.titulogeneral h6{
    color: #294B95;
}
.section2-titulo, .section4-titulo, .section7-titulo, .section8-titulo{
    margin-bottom: 70px;
    gap: 5px;
}
.section3-titulo{
    margin-bottom: 10px;
    gap: 5px;
}
.section6-titulo{
    gap: 5px;
    text-align: center;
}
.minihero{
    width: 100%;
    height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #cedbff;
}
.image-link{
    display: block;
    width: 100%;
    height: 100%;
}
.image-link img{
    width: 100%;
    display: block;
    cursor: pointer;
}
/* ================= MOBILE ================= */
@media (min-width: 320px) and (max-width: 599px){

    .minihero{
        height: auto;
        padding: 40px 20px;
        text-align: center;
        box-sizing: border-box;
    }

    .minihero h1{
        font-size: 32px;
    }
}

/* ================= TABLET ================= */
@media (min-width: 600px) and (max-width: 1023px){

    .minihero{
        height: 25vh;
        padding: 0 30px;
        text-align: center;
        box-sizing: border-box;
    }

    .minihero h1{
        font-size: 42px;
    }
}

/* ================= DESKTOP ================= */
@media (min-width: 1024px) and (max-width: 1440px){

    .minihero{
        height: 28vh;
    }

    .minihero h1{
        font-size: 50px;
    }
}

/* --------------------------------------- */

/* ---------- SECTION 1 ---------- */

.section1{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
	background-position: center;
}
.section1-content{
    width: 100%;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    gap: 15px;
}
.section1-content h1, .section1-content h5{
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
}
.section1-content img{
    width: 100%;
    height: auto;
}
.text-animate1{
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.text-animate1.visible{
    opacity: 1;
    transform: translateY(0);
}
/* ================= MOBILE ================= */
@media (min-width: 320px) and (max-width: 599px){

    .section1-content{
        height: 70vh;
        padding: 0 20px;
        gap: 10px;
        text-align: center;
    }

    .section1-content h1{
        font-size: 36px;
    }

    .section1-content h5{
        font-size: 20px;
    }

    .section1-content a{
        font-size: 18px;
        padding: 10px 15px;
    }
}

/* ================= TABLET ================= */
@media (min-width: 600px) and (max-width: 1023px){

    .section1-content{
        height: 75vh;
        padding: 0 40px;
        text-align: center;
    }

    .section1-content h1{
        font-size: 40px;
    }

    .section1-content h5{
        font-size: 22px;
    }

    .section1-content a{
        font-size: 18px;
        padding: 12px 18px;
    }
}

/* ================= DESKTOP ================= */
@media (min-width: 1024px) and (max-width: 1440px){

    .section1-content{
        height: 80vh;
    }

    .section1-content h1{
        font-size: 48px;
    }

    .section1-content h5{
        font-size: 20px;
    }
}

/* --------------------------------------- */

/* ---------- SECTION 2 ---------- */

.section2{
    width: 100%;
    margin-top: 70px;
    padding: 0 45px; 
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
    scroll-margin-top: 120px;
}

.section2-content{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: stretch;  
}
.section2-image{
    width: 40%;
    padding: 0 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.section2-image img{
    width: 100%;
    height: 580px;
    border-radius: 15px;
    object-fit: cover;
    border: 1px black solid;
}
.section2-text{
    width: 60%;
    padding: 0 45px;
    display: flex;
    justify-content: start;
    align-items: start;
    flex-direction: column;
    text-align: justify;
    gap: 20px;
}
.image-animated1{
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 1.0s ease-out, transform 1.0s ease-out;
}
.image-animated1.visible{
    opacity: 1;
    transform: translateX(0); 
}
/* ================= MOBILE ================= */
@media (min-width: 320px) and (max-width: 599px){

    .section2{
        padding: 0 20px;
        margin-top: 50px;
    }

    .section2-content{
        flex-direction: column;
        gap: 25px;
    }

    .section2-image{
        width: 100%;
        padding: 0;
    }

    .section2-image img{
        height: 250px;
    }

    .section2-text{
        width: 100%;
        padding: 0;
        gap: 15px;
    }

    .section2-text h5{
        font-size: 20px;
        text-align: left;
    }

    .section2-text p{
        font-size: 18px;
    }
    
    .section2-text a{
        text-align: left;
    }

    .link-document{
        font-size: 20px;
    }

    .section2-text a.boton1{
        margin-top: 10px;
        font-size: 18px;
        padding: 10px 15px;
    }
}

/* ================= TABLET ================= */
@media (min-width: 600px) and (max-width: 1023px){

    .section2{
        padding: 0 30px;
    }

    .section2-content{
        flex-direction: column;
        gap: 30px;
    }

    .section2-image{
        width: 100%;
        padding: 0;
    }

    .section2-image img{
        height: 400px;
        object-position: cover;
    }

    .section2-text{
        width: 100%;
        padding: 0;
        gap: 18px;
    }

    .section2-text h5{
        font-size: 20px;
    }

    .section2-text p{
        font-size: 18px;
    }
}

/* ================= DESKTOP ================= */
@media (min-width: 1024px) and (max-width: 1440px){

    .section2{
        padding: 0 30px;
    }

    .section2-image{
        width: 45%;
        padding: 0 20px;
    }

    .section2-text{
        width: 55%;
        padding: 0 20px;
    }

    .section2-image img{
        height: 520px;
    }
}

/* --------------------------------------- */

/* ---------- SECTION 3 ---------- */

.section3{
    width: 100%;
    margin: 70px 0;
    padding: 30px 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
    background-color: #cedbff;
    scroll-margin-top: 120px;
}
.section3-content{
    width: 80%;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;  
    border-radius: 10px;
}
.section3-valor{
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}
.section3-valor img{
    width: 80%;  
}
.section3-valor img:hover{
    transform: scale(1.05);
    transition: 0.5s;
}
.section3-titulo h6{
    color: #294B95;
}
/* ================= MOBILE ================= */
@media (min-width: 320px) and (max-width: 599px){

    .section3{
        padding: 30px 20px;
    }

    .section3-content{
        width: 100%;
        padding: 15px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .section3-valor{
        width: 100%;
    }

    .section3-valor img{
        width: 100%;
    }

    .section3-titulo p{
        font-size: 18px;
        text-align: center;
    }
}

/* ================= TABLET ================= */
@media (min-width: 600px) and (max-width: 1023px){

    .section3{
        padding: 40px 40px;
    }

    .section3-content{
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .section3-valor{
        width: 100%;
    }

    .section3-valor img{
        width: 90%;
    }

    .section3-titulo p{
        text-align: center;
    }
    
}

/* ================= DESKTOP ================= */
@media (min-width: 1024px) and (max-width: 1440px){

    .section3{
        padding: 30px 60px;
    }

    .section3-content{
        width: 90%;
    }

    .section3-valor img{
        width: 80%;
    }
}

/* --------------------------------------- */

/* ---------- SECTION 4 ---------- */

.section4{
    width: 100%;
    margin: 70px 0;
    padding: 0 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
    scroll-margin-top: 120px;
}
.section4-content{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.section4-titulo h6{
    color: #294B95;
}
.section4-text{
    width: 100%;
    padding: 0 45px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    text-align: justify;
    gap: 15px;
}
.section4-image{
    width: 100%;
    padding: 0 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.section4-image img{
    width: 100%;
    border-radius: 10px;
}
.section4-subtitulo{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.section4-botones{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}
/* ================= MOBILE ================= */
@media (min-width: 320px) and (max-width: 599px){

    .section4{
        padding: 0 20px;
    }

    .section4-content{
        flex-direction: column;
        gap: 25px;
    }

    .section4-text{
        padding: 0;
        width: 100%;
        gap: 12px;
        order: 2;
    }

    .section4-text h6, .section4-text a{
        text-align: left;
    }

    .section4-text p{
        font-size: 18px;
    }

    .section4-image{
        padding: 0;
        width: 100%;
        order: 1;
    }

    .section4-image img{
        height: 250px;
        object-fit: cover;
        object-position: center;
    }

    .section4-botones{
        flex-direction: column;
        gap: 10px;
    }

    .section4-botones a{
        width: 80%;
        text-align: center;
    }
}

/* ================= TABLET ================= */
@media (min-width: 600px) and (max-width: 1023px){

    .section4{
        padding: 0 30px;
    }

    .section4-content{
        flex-direction: column;
        gap: 30px;
    }

    .section4-text{
        padding: 0;
        width: 100%;
        order: 2;
    }

    .section4-text p{
        font-size: 18px;
    }

    .section4-image{
        padding: 0;
        width: 100%;
        order: 1;
    }

    .section4-image img{
        height: 400px;
        object-fit: cover;
    }

    .section4-botones{
        gap: 15px;
    }
}

/* ================= DESKTOP ================= */
@media (min-width: 1024px) and (max-width: 1440px){

    .section4{
        padding: 0 30px;
    }

    .section4-text{
        width: 55%;
        padding: 0 20px;
    }

    .section4-image{
        width: 45%;
        padding: 0 20px;
    }

    .section4-image img{
        height: 500px;
        object-fit: cover;
    }
}

/* --------------------------------------- */

/* ---------- SECTION 5 ---------- */

.section5{
    width: 100%;
    margin: 80px 0;
    padding: 0px 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
}
.section5-content{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
.section5-square{
    width: 100%;
    max-width: 350px;
    padding: 20px 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #cedbff;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    gap: 10px;
    color: #1F1863;
    transition: 0.3s;
}
.section5-square:hover{
    transform: translateY(-5px);
    transition: 0.3s;
}
.section5-image{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.section5-image img{
    width: 100%;
    border-radius: 10px;
}
.section5-text{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.section5-text h6{
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
}
/* ================= MOBILE ================= */
@media (min-width: 320px) and (max-width: 599px){

    .section5{
        padding: 0 20px;
    }

    .section5-content{
        flex-direction: column;
        gap: 20px;
    }

    .section5-square{
        max-width: 100%;
        padding: 15px;
    }

    .section5-text h6{
        font-size: 24px;
    }
}

@media (min-width: 600px) and (max-width: 1023px){

    .section5{
        padding: 0 30px;
    }

    .section5-content{
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .section5-square{
        max-width: 500px;
        width: 100%;
    }
}

/* ================= DESKTOP ================= */
@media (min-width: 1024px) and (max-width: 1440px){

    .section5{
        padding: 0 30px;
    }

    .section5-content{
        gap: 20px;
    }

    .section5-square{
        max-width: 320px;
        padding: 18px;
    }
}

/* --------------------------------------- */

/* ---------- SECTION 6 ---------- */

.section6{
    width: 100%;
    height: 62vh;
    margin: 80px 0;
    padding: 30px 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
    background-color: #DEE8FF;
    background: linear-gradient(rgba(43, 43, 43, 0.7),rgba(37, 37, 37, 0.7)), url(media/imagen2.webp) center center;
    background-size: cover;
    background-attachment: fixed;
}
.section6-content{
    width: 100%;
    padding: 25px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 25px;
}
.section6-content p{
    width: 80%;
    text-align: center;
    color: white;
}
.section6-titulo h2{
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}
.section6-titulo h6{
    color: #DEE8FF;
}
/* ================= MOBILE ================= */
@media (min-width: 320px) and (max-width: 599px){

    .section6{
        height: auto;
        padding: 50px 20px;
        background-attachment: scroll;
    }

    .section6-content p{
        width: 100%;
        font-size: 18px;
    }

    .section6-titulo h2{
        font-size: 35px;
        text-align: center;
    }

    .section6-titulo h6{
        text-align: center;
        font-size: 20px;
    }
}

/* ================= TABLET ================= */
@media (min-width: 600px) and (max-width: 1023px){

    .section6{
        height: auto;
        padding: 60px 30px;
        background-attachment: scroll;
    }

    .section6-content p{
        width: 90%;
        font-size: 18px;
    }

    .section6-titulo h2{
        text-align: center;
    }

    .section6-titulo h6{
        text-align: center;
    }
}

/* ================= DESKTOP ================= */
@media (min-width: 1024px) and (max-width: 1440px){

    .section6{
        height: 55vh;
        padding: 30px;
    }

    .section6-content p{
        width: 70%;
    }
}

/* --------------------------------------- */

/* ---------- SECTION 7 ---------- */

.section7{
    width: 100%;
    margin: 70px 0;
    padding: 0px 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
    scroll-margin-top: 120px;
}
.section7-content{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}
.section7-titulo h6{
    color: #294B95;
}
.section7-persona{
    width: 100%;
    max-width: 350px;
    padding: 20px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #cedbff;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    gap: 5px;
}
.persona-image{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.persona-image img{
    width: 100%;
    max-width: 300px;
    height: 350px;
    border-radius: 10px;
    object-fit: cover;
}
.persona-text{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.persona-text h5{
    color: #1F1863;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}
.persona-text h6{
    color: #294B95;
}
/* ================= MOBILE ================= */
@media (min-width: 320px) and (max-width: 599px){

    .section7{
        padding: 0 20px;
    }

    .section7-content{
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .section7-persona{
        max-width: 400px;
        width: 100%;
    }

    .persona-image img{
        height: 280px;
    }
}

/* ================= TABLET ================= */
@media (min-width: 600px) and (max-width: 1023px){

    .section7{
        padding: 0 30px;
    }

    .section7-content{
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .section7-persona{
        max-width: 450px;
        width: 100%;
    }

    .persona-image img{
        height: 320px;
    }
}
/* --------------------------------------- */

/* ---------- SECTION 8 ---------- */

.section8{
    width: 100%;
    margin: 70px 0;
    padding: 0px 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
}
.section8-content{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 25px;  
}
.section8-mapa{
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;   
}
.section8-mapa iframe{
    width: 100%;
    height: 550px;
    border-radius: 10px;
}
.section8-contacto{
    width: 70%;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #B7CEFF;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}
.section8-telefono{
    width: 100%;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
/* ================= MOBILE ================= */
@media (min-width: 320px) and (max-width: 599px){

    .section8{
        padding: 0 20px;
    }

    .section8-mapa{
        width: 100%;
    }

    .section8-mapa iframe{
        height: 300px;
    }

    .section8-contacto{
        width: 100%;
    }

    .section8-telefono{
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .section8-telefono h6{
        font-size: 18px;
    }
}

/* ================= TABLET ================= */
@media (min-width: 600px) and (max-width: 1023px){

    .section8{
        padding: 0 30px;
    }

    .section8-mapa{
        width: 100%;
    }

    .section8-mapa iframe{
        height: 400px;
    }

    .section8-contacto{
        width: 90%;
    }

    .section8-telefono{
        flex-direction: column;
        text-align: center;
    }
}

/* ================= DESKTOP ================= */
@media (min-width: 1024px) and (max-width: 1440px){

    .section8{
        padding: 0 40px;
    }

    .section8-mapa iframe{
        height: 500px;
    }

    .section8-contacto{
        width: 90%;
        white-space: nowrap;
        
    }
    .section8-telefono h6{
        font-size: 18px;
    }
}

/* --------------------------------------- */

/* ---------- FOOTER ---------- */

.footer{
    width: 100%;
    padding: 70px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
    background-color: white;
}
.footer-content{
    max-width: 1200px;
    width: 100%;
    padding: 40px 20px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 40px;
}
.footer-content h6{
    color: #1F1863;
}
.footer-logo{
    width: 20%;
    max-width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.footer-logo img{
    width: 120px;
    height: auto;
}
.footer-column{
    width: 20%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
}
.footer-column a{
    text-decoration: none;
    color: black;
}
.footer-column a:hover{
    color: #294B95;
}
.linea{
    width: 85%;
    height: 1.5px;
    background-color: #1F1863;
}
.footer-bottom{
    width: 85%;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.footer-bottom-column1{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.footer-bottom-column2{
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.footer-contact{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
}
.footer-redes{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 15px;
}
.texto-horario{
    text-align: justify;
}
/* ================= MOBILE ================= */
@media (min-width: 320px) and (max-width: 599px){

    .footer-content{
        flex-direction: column;
        align-items: center;
        gap: 30px;
        text-align: center;
        box-sizing: border-box;
    }

    .footer-logo{
        width: 100%;
        max-width: none;
    }

    .footer-column{
        width: 100%;
        align-items: center;
    }

    .footer-contact{
        align-items: center;
    }

    .footer-redes{
        justify-content: center;
    }
    .texto-horario{
        text-align: center;
    }

    .footer-bottom{
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }

    .footer-bottom-column1,
    .footer-bottom-column2{
        justify-content: center;
    }
}

/* ================= TABLET ================= */
@media (min-width: 600px) and (max-width: 1023px){

    .footer-content{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        box-sizing: border-box;
    }

    .footer-logo{
        grid-column: span 2;
        display: flex;
        justify-self: center;
        align-items: center;
        margin-top: 10px;
        order: 99;
    }

    .footer-column{
        width: 100%;
    }

    .footer-bottom{
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }

    .footer-bottom-column1,
    .footer-bottom-column2{
        justify-content: center;
    }
}

@media (min-width: 1024px) and (max-width: 1200px){

    .footer-content{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        box-sizing: border-box;
    }

    .footer-logo{
        grid-column: span 2;
        justify-self: center;
        text-align: center;
    }

    .footer-column{
        width: 100%;
    }
}

/* ================= DESKTOP ================= */
@media (min-width: 1201px) and (max-width: 1440px){

    .footer-content{
        gap: 25px;
        box-sizing: border-box;
    }

    .footer-logo img{
        width: 100px;
    }

    .footer-column{
        width: auto;
        flex: 1;
        min-width: 160px;
    }
}

/* --------------------------------------- */

/* ---------- SOBRE NOSOTROS 2 ---------- */

.sobrenosotros2{
    width: 100%;
    margin: 50px 0;
    padding: 0 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.sobrenosotros2-content{
    width: 100%;
    padding: 0 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 35px;
}
.sobrenosotros2-image{
    width: 100%;
    padding: 0 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    gap: 40px;
}
.sobrenosotros2-image img{
    width: 650px;
    height: 400px;
    border-radius: 10px;
}
.sobrenosotros2-text{
    width: 100%;
    padding: 0 45px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
}
.sobrenosotros2-text p{
    text-align: justify;
}
.sobrenosotros2-text h2{
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 599px) {

    .sobrenosotros2 {
        margin: 30px 0;
        padding: 0 15px;
    }

    .sobrenosotros2-content {
        flex-direction: column;
        padding: 0;
        gap: 25px;
    }

    .sobrenosotros2-text {
        padding: 0;
        gap: 15px;
        align-items: center;
    }

    .sobrenosotros2-text p {
        font-size: 16px;
        text-align: justify;
    }

    .sobrenosotros2-image {
        padding: 0;
        gap: 0;
    }

    .sobrenosotros2-image img {
        width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: cover;
    }
}

@media (min-width: 600px) and (max-width: 1023px) {

    .sobrenosotros2 {
        padding: 0 25px;
    }

    .sobrenosotros2-content {
        flex-direction: column;
        padding: 0;
        gap: 30px;
    }

    .sobrenosotros2-text {
        padding: 0;
    }

    .sobrenosotros2-image {
        padding: 0;
    }

    .sobrenosotros2-image img {
        width: 100%;
        height: auto;
        max-height: 380px;
        object-fit: cover;
    }
}

@media (min-width: 1024px) and (max-width: 1440px) {

    .sobrenosotros2 {
        padding: 0 30px;
    }

    .sobrenosotros2-content {
        flex-direction: row;
        gap: 40px;
        align-items: center;
    }

    .sobrenosotros2-text {
        padding: 0;
        flex: 1;
    }

    .sobrenosotros2-text p {
        font-size: 16px;
        line-height: 1.6;
    }

    .sobrenosotros2-image {
        padding: 0;
        flex: 1;
        justify-content: center;
    }

    .sobrenosotros2-image img {
        width: 100%;
        max-width: 520px;
        height: 360px;
        object-fit: cover;
        border-radius: 10px;
    }
}
/* --------------------------------------- */

/* ---------- SOBRE NOSOTROS 3 ---------- */

.sobrenosotros3{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.sobrenosotros3-content{
    width: 100%;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 50px;
}
.sobrenosotros3-content p{
    width: 100%;
    text-align: justify;
}
.sobrenosotros3-row{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #cedbff;
}
.row-text{
    width: 70%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 30px;
}
.row-text h2{
    color: #1F1863;
}
.row-text h6{
    color: #294B95;
}
.sobrenosotros3-icono{
    width: 30%;
    display: flex;
    align-items: flex-start;
    justify-content: center; 
}
.sobrenosotros3-icono i{
  font-size: 11rem;
}
.image-animated2{
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 1.0s ease-out, transform 1.0s ease-out;
}
.image-animated2.visible{
    opacity: 0.6;
    transform: translateX(0); 
}
/* ================= MOBILE ================= */
@media (min-width: 320px) and (max-width: 599px){

    .sobrenosotros3-row{
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        box-sizing: border-box;
    }

    .row-text{
        width: 100%;
        padding: 0;
        align-items: center;
        text-align: center;
    }

    .sobrenosotros3-icono{
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .sobrenosotros3-icono i{
        font-size: 5rem;
    }

    .row-text p{
        text-align: justify;
        text-align-last: center;
        font-size: 18px;
    }
}

/* ================= TABLET ================= */
@media (min-width: 600px) and (max-width: 1023px){

    .sobrenosotros3-row{
        flex-direction: column;
        padding: 30px;
        gap: 25px;
        box-sizing: border-box;
    }

    .row-text{
        width: 100%;
        padding: 0;
        align-items: center;
        text-align: center;
    }

    .sobrenosotros3-icono{
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .sobrenosotros3-icono i{
        font-size: 7rem;
    }

    .row-text p{
        text-align-last: center;
    }
}

/* ================= DESKTOP ================= */
@media (min-width: 1024px) and (max-width: 1440px){

    .sobrenosotros3-row{
        flex-direction: row;
        padding: 20px 40px;
        box-sizing: border-box;
    }

    .row-text{
        width: 65%;
    }

    .sobrenosotros3-icono{
        width: 35%;
        align-items: center;
    }

    .sobrenosotros3-icono i{
        font-size: 9rem;
    }
}

/* --------------------------------------- */

/* ---------- SOBRE NOSOTROS 4 ---------- */

.sobrenosotros4{
    width: 100%;
    padding: 0 45px;
    margin-bottom: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-sizing: border-box;
}
.sobrenosotros4-content{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sobrenosotros4-column{
    width: 100%;
    padding: 0 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
}
.sobrenosotros4-text{
    width: 100%; 
    display: flex;
    align-items: center;
    justify-content: center
}
.sobrenosotros4-image{
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
}
.sobrenosotros4-image img{
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}
.sobrenosotros4-text h3{
    color: #1F1863;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.7));
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.4s ease;
    border-radius: 10px;
}
.sobrenosotros4-image:hover .overlay {
    opacity: 1;
}
.sobrenosotros4-image:hover .boton1 {
    transform: translateY(0);
}
/* ================= MOBILE ================= */
@media (min-width: 320px) and (max-width: 599px){

    .sobrenosotros4{
        padding: 0 20px;
    }

    .sobrenosotros4-content{
        flex-direction: column;
        gap: 30px;
    }

    .sobrenosotros4-column{
        padding: 0;
        gap: 10px;
    }

    .sobrenosotros4-text h3{
        font-size: 28px;
        text-align: center;
    }

    .overlay{
        opacity: 1;
    }

    .overlay .boton1{
        transform: translateY(0);
    }
}

/* ================= TABLET ================= */
@media (min-width: 600px) and (max-width: 1023px){

    .sobrenosotros4{
        padding: 0 30px;
    }

    .sobrenosotros4-content{
        flex-direction: row;
        gap: 20px;
    }

    .sobrenosotros4-column{
        padding: 0;
    }

    .sobrenosotros4-text h3{
        text-align: center;
    }

    .overlay{
        opacity: 1;
    }

    .overlay .boton1{
        transform: translateY(0);
    }
}

/* ================= DESKTOP ================= */
@media (min-width: 1024px) and (max-width: 1440px){

    .sobrenosotros4{
        padding: 0 45px;
    }

    .sobrenosotros4-content{
        flex-direction: row;
        gap: 40px;
    }

    .sobrenosotros4-column{
        padding: 0 20px;
    }

    .sobrenosotros4-image img{
        height: 300px;
        object-fit: cover;
    }
}

/* --------------------------------------- */

/* ---------- ADMISION 3 ---------- */

.admision3{
    width: 100%;
    margin-bottom: 40px;
    padding: 0 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.admision3-content{
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 50px;
}
.admision3-column{
    width: 50%;
    padding: 20px 40px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 15px;
    background-color: #cedbff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.admision3-column ul{
    padding-left: 20px;
    line-height: 1.6;
}
.admision3-column li{
    padding: 5px 0;
}
.admision3-column h4{
    color: #1F1863;
}
.requisito-importante{
    color: #294B95;
}
/* ================= MOBILE ================= */
@media (min-width: 320px) and (max-width: 599px){

    .admision3{
        padding: 0 20px;
    }

    .admision3-content{
        flex-direction: column;
        gap: 25px;
    }

    .admision3-column{
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
    }

    .admision3-column h4{
        font-size: 24px;
    }

    .admision3-column p{
        font-size: 18px;
    }

    .admision3-column ul{
        padding-left: 18px;
    }

    .admision3-column li{
        font-size: 18px;
    }
}

/* ================= TABLET ================= */
@media (min-width: 600px) and (max-width: 1023px){

    .admision3{
        padding: 0 30px;
    }

    .admision3-content{
        flex-direction: column;
        gap: 30px;
    }

    .admision3-column{
        width: 100%;
        padding: 25px 30px;
        box-sizing: border-box;
    }

    .admision3-column h4{
        text-align: left;
    }

    .admision3-column p{
        text-align: left;
    }
}

/* ================= DESKTOP ================= */
@media (min-width: 1024px) and (max-width: 1440px){

    .admision3{
        padding: 0 60px;
    }

    .admision3-content{
        flex-direction: row;
        gap: 40px;
    }

    .admision3-column{
        width: 50%;
        padding: 25px 30px;
    }
}

/* --------------------------------------- */

/* ---------- ADMISION 4 ---------- */

.admision4{
    width: 100%;
    margin-bottom: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #bfd0ff;
    padding: 30px 0;
}
.admision4-content{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
/* ================= MOBILE ================= */
@media (min-width: 320px) and (max-width: 599px){

    .admision4{
        padding: 25px;
        box-sizing: border-box;
    }

    .admision4-content{
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

   

    .admision4-content .boton1{
        width: 100%;
        text-align: center;
    }
}

/* ================= TABLET ================= */
@media (min-width: 600px) and (max-width: 1023px){

    .admision4{
        padding: 20px;
        box-sizing: border-box;
    }

    .admision4-content{
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
}

/* ================= DESKTOP ================= */
@media (min-width: 1024px) and (max-width: 1440px){

    .admision4{
        padding: 25px;
        box-sizing: border-box;
    }

    .admision4-content{
        flex-direction: row;
        gap: 30px;
        text-align: left;
    }
}

/* --------------------------------------- */

/* ---------- ADMISION 5 ---------- */

.admision5{
    width: 100%;
    margin-bottom: 70px;
    padding: 0px 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-sizing: border-box;
}
.admision5-bloques{
    max-width: 800px; 
    display: flex;
    align-items: center;
    justify-content: center;  
    gap: 50px;
    white-space: nowrap;
}
.admision5-bloques a{
    color: #294B95;
    font-size: 1.2rem;
    text-decoration: none;
}
.admision5-bloque{
    width: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center; 
    flex-direction: column;
    background-color: #bfd0ff;
    transition: 0.5s;
    cursor: pointer;
}
.admision5-bloque:hover{
    transform: scale(1.1);
    transition: 0.5s;
}
.admision5-titulo{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 50px;
    text-align: center;
    gap: 5px;
}
.admision5-titulo h2{
    color: #1F1863;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}
.admision5-titulo h6{
    color: #294B95;
}
/* ================= MOBILE ================= */
@media (min-width: 320px) and (max-width: 599px){

    .admision5{
        padding: 0 20px;
    }

    .admision5-bloques{
        flex-direction: column;
        gap: 20px;
        white-space: normal;
    }

    .admision5-bloque{
        width: 100%;
        padding: 20px;
        text-align: center;
    }
    .admision5-bloque:hover{
        transform: none;
    }
}

/* ================= TABLET ================= */
@media (min-width: 600px) and (max-width: 1023px){

    .admision5{
        padding: 0 30px;
    }

    .admision5-bloques{
        flex-direction: column;
        gap: 25px;
        white-space: normal;
    }

    .admision5-bloque{
        width: 100%;
        max-width: 500px;
    }

    .admision5-bloques a{
        font-size: 18px;
    }

    .admision5-bloque:hover{
        transform: none;
    }
}

/* ================= DESKTOP ================= */
@media (min-width: 1024px) and (max-width: 1440px){

    .admision5{
        padding: 0 60px;
    }

    .admision5-bloques{
        flex-direction: row;
        gap: 40px;
        white-space: nowrap;
    }

    .admision5-bloque{
        max-width: 350px;
    }

    .admision5-bloques a{
        font-size: 1.1rem;
    }
}

/* --------------------------------------- */

/* ---------- NIVELES 1 ---------- */

.niveles1{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center; 
}
.niveles1-content{
    width: 100%;
    padding: 0 45px;
    margin: 70px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;   
    gap: 35px;
}
.niveles1-fila{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
}
.niveles1-bloque{
    max-width: 500px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 10px;
    background: #cedbff;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); 
    gap: 10px;
    color: #1F1863;
}
.niveles1-image{
    width: 100%;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.niveles1-text{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.niveles1-image img{
    width: 100%;
    border-radius: 10px;
    transition: 0.4s ease;
}
.niveles1-image:hover img{
    filter: blur(2px);
}
.overlay2 {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.4s ease;
}
.niveles1-image:hover .overlay2 {
    opacity: 1;
}
.niveles1-image:hover button {
    transform: translateY(0);
}

@media (min-width: 320px) and (max-width: 599px){

    .niveles1-content{
        padding: 0 20px;
        gap: 25px;
    }

    .niveles1-fila{
        flex-direction: column;
        gap: 25px;
    }

    .niveles1-bloque{
        max-width: 100%;
        padding: 15px;
    }

    .niveles1-image{
        height: auto;
    }

    .niveles1-image img{
        height: auto;
    }

    .overlay2{
        opacity: 1;
        background: rgba(0,0,0,0.4);
    }

    /* ===== MODAL ===== */

    .niveles-card{
        width: 85%;
        max-width: 300px;
        border-radius: 10px;
        height: auto;
        flex-direction: column;
        max-height: 90vh;;
    }

    .niveles-card-left{
        display: none !important;
    }

    .niveles-card-right{
        width: 100% !important;   
        gap: 8px;
    }

    .card-text1{
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .niveles-card-right h3{
        font-size: 24px;
    }

    .card-text1 h5{
        font-size: 20px;
    }

    .card-text1 li{
        font-size: 18px;
    }
    .niveles-card-right a{
        white-space: nowrap;
    }
}
@media (min-width: 600px) and (max-width: 1023px){

    .niveles1-content{
        padding: 0 30px;
    }

    .niveles1-fila{
        flex-direction: column;
        gap: 30px;
    }

    .niveles1-bloque{
        max-width: 500px;
    }

    .niveles1-image{
        height: auto;
    }

    .overlay2{
        opacity: 1;
        background: rgba(0,0,0,0.3);
    }

    /* ===== MODAL ===== */

    .niveles-card{
        width: 70%;
        max-width: 350px;
        border-radius: 12px;
        height: auto;
        flex-direction: column;
        max-height: 90vh;
    }

    .niveles-card-left{
        display: none !important;
    }

    .niveles-card-right{
        width: 100% !important;
        padding: 20px;
    }

    .card-text1{
        width: 100%;
    }

    .niveles-card-right h3{
        font-size: 25px;
    }

    .card-text1 h5{
        font-size: 20px;
    }

    .card-text1 li{
        font-size: 18px;
    }
}

/* ================= DESKTOP ================= */
@media (min-width: 1024px) and (max-width: 1440px){

    .niveles1-content{
        padding: 0 45px;
    }

    .niveles1-fila{
        flex-direction: row;
        justify-content: center;
    }

    .niveles1-bloque{
        max-width: 450px;
    }

    .niveles1-image{
        height: 300px;
    }

    .niveles1-image img{
        height: 100%;
        object-fit: cover;
    }

    /* modal ajustado */
    .niveles-card{
        width: 70%;
        height: auto;
    }

    .niveles-card-left{
        width: 50%;
    }

    .niveles-card-right{
        width: 50%;
        padding: 20px;
    }
}

/* --------------------------------------- */

/* ---------- COMUNIDAD 2 ---------- */

.comunidad2{
    width: 100%;
    margin-top: 50px;
    padding: 0 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.comunidad2-content{
    width: 100%;
    padding: 0 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
}
.comunidad2-text{
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}
.comunidad2-text h2{
    color: #1F1863;
}
.comunidad2-images{
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
}
.comunidad2-images img{
    width: 400px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}
.comunidad2-images img:hover{
    transform: scale(1.03);
}
/* ================= MOBILE ================= */
@media (min-width: 320px) and (max-width: 599px){

    .comunidad2{
        padding: 0 20px;
    }

    .comunidad2-content{
        padding: 0;
        gap: 20px;
    }

    .comunidad2-text{
        align-items: center;
        text-align: center;
    }

    .comunidad2-images{
        flex-direction: column;
        gap: 20px;
    }

    .comunidad2-images img{
        width: 100%;
        max-width: 100%;
    }
}


/* ================= TABLET ================= */
@media (min-width: 600px) and (max-width: 1023px){

    .comunidad2{
        padding: 0 30px;
    }

    .comunidad2-content{
        padding: 0;
    }

    .comunidad2-text{
        align-items: center;
        text-align: center;
    }

    .comunidad2-images{
        flex-wrap: wrap;
        gap: 20px;
    }

    .comunidad2-images img{
        width: 45%;
    }
}


/* ================= DESKTOP ================= */
@media (min-width: 1024px) and (max-width: 1440px){

    .comunidad2{
        padding: 0 45px;
    }

    .comunidad2-images{
        gap: 25px;
    }

    .comunidad2-images img{
        width: 32%;
        max-width: 400px;
    }
}

/* --------------------------------------- */

/* ---------- COMUNIDAD 3 ---------- */

.comunidad3{
    margin-bottom: 70px;
}
.comunidad3-cards{
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 25px;
}
.comunidad3-card{
    width: 100%;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    background-color: #cedbff;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    gap: 20px;
    transition: transform 0.3s ease;
}
.comunidad3-card:hover{
    transform: translateY(-5px);
}
.comunidad3-card p{
    text-align: justify;
}
.comunidad3-card h6{
    color: #1F1863;
}
.comunidad3-card span{
    color: #294B95;
}
/* ================= MOBILE ================= */
@media (min-width: 320px) and (max-width: 599px){

    .comunidad3-cards{
        flex-direction: column;
        gap: 20px;
    }

    .comunidad3-card{
        padding: 20px;
        box-sizing: border-box;
    }

    .comunidad3-card h6{
        font-size: 1rem;
    }
}

/* ================= TABLET ================= */
@media (min-width: 600px) and (max-width: 1023px){

    .comunidad3-cards{
        flex-direction: column;
        gap: 25px;
    }

    .comunidad3-card{
        padding: 25px;
        box-sizing: border-box;
    }
}


/* ================= DESKTOP ================= */
@media (min-width: 1024px) and (max-width: 1440px){

    .comunidad3-cards{
        flex-direction: row;
        gap: 25px;
    }

    .comunidad3-card{
        padding: 30px;
    }
}
/* --------------------------------------- */

/* ---------- CONTACTO ---------- */

.contacto2{
    width: 100%;
    margin-top: 50px;
    padding: 0 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.contacto2-content{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 25px;
}
.contacto2-text{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 25px;
}
.contacto2-redes{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.contacto2-text h5{
    color: #294B95;
}
/* ================= MOBILE ================= */
@media (min-width: 320px) and (max-width: 599px){

    .contacto2{
        padding: 0 20px;
    }

    .contacto2-content{
        gap: 20px;
    }

    .contacto2-text{
        gap: 15px;
        text-align: center;
    }

    .contacto2-text h5{
        font-size: 1rem;
    }

    .contacto2-redes{
        flex-wrap: wrap;
        gap: 15px;
    }
}


/* ================= TABLET ================= */
@media (min-width: 600px) and (max-width: 1023px){

    .contacto2{
        padding: 0 30px;
    }

    .contacto2-text{
        text-align: center;
        gap: 20px;
    }

    .contacto2-redes{
        flex-wrap: wrap;
        gap: 20px;
    }
}


/* ================= DESKTOP ================= */
@media (min-width: 1024px) and (max-width: 1440px){

    .contacto2{
        padding: 0 45px;
    }

    .contacto2-text{
        text-align: center;
    }

    .contacto2-redes{
        flex-wrap: nowrap;
    }
}
/* --------------------------------------- */

/* ---------- EVENTOS 2 ---------- */

.eventos2{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 50px;
}
.eventos2-content{
    width: 100%;
    padding: 0 15px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}
.eventos2-content h3{
    color: #1F1863;
}
/* ================= MOBILE ================= */
@media (min-width: 320px) and (max-width: 599px){

    .eventos2-content{
        padding: 0 20px;
        text-align: center;
        align-items: center;
    }
}

/* ================= TABLET ================= */
@media (min-width: 600px) and (max-width: 1023px){

    .eventos2-content{
        padding: 0 30px;
        text-align: center;
        align-items: center;
    }
}


/* ================= DESKTOP ================= */
@media (min-width: 1024px) and (max-width: 1440px){

    .eventos2-content{
        padding: 0 15px;
        text-align: left;
        align-items: flex-start;
    }
}

/* --------------------------------------- */

/* ---------- EVENTOS 3 ---------- */

.eventos3-buscador{
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}
#buscadorEventos{
    width: 90%;
    max-width: 500px;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid #b9c8ec;
    background-color: #f7f9ff;
    font-size: 16px;
    outline: none;
    transition: 0.3s ease;
}
#buscadorEventos:focus{
    border-color: #7ABAEA;
    box-shadow: 0 0 10px rgba(41, 75, 149, 0.15);
}
.eventos3{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.eventos3-content{
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 20px
}
.evento3-subtitulo{
    padding: 0 15px;
}
.eventos3-bloque{
    width: 90%;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #cedbff;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 0 8px 8px 0;
    cursor: pointer;
}
.ebloque-text{
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #1F1863;
}
.ebloque-icon{
    width: 10%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.eventos3-expandido {
    width: 92%;
    max-height: 0;
    margin-bottom: 20px;
    overflow: hidden;
    transition: max-height 0.4s ease;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #cedbff;
    border-radius: 0 8px 8px 0;
}
.expandido-content {
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 25px;
}
.expandido-content img {
    width: 100%;
    max-width: 400px;
    margin-bottom: 10px;
}
.eventos3-bloque.active i {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}
.expandido-text{
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}
.expandido-text ul{
    padding-left: 15px;
}
.expandido-text h5{
    color: #294B95;
}
.expandido-text span{
    color: #7ABAEA;
}
.expandido-image {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    justify-content: center;
}
.expandido-image img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.expandido-image-final{
     grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.expandido-image-final a{
    width: calc(33.33% - 7px);
    display: flex;
}
.expandido-image-final a img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}
@media (max-width: 599px) {
    .eventos3-content {
        align-items: center;
    }

    .eventos3-bloque {
        width: 95%;
        padding: 12px;
        box-sizing: border-box;
    }

    .ebloque-text h4 {
        font-size: 20px;
    }

    .ebloque-icon {
        width: 15%;
    }

    .eventos3-expandido {
        width: 95%;
    }

    .expandido-content {
        padding: 12px;
        gap: 15px;
    }

    .expandido-text {
        gap: 12px;
    }

    .expandido-text h5 {
        font-size: 16px;
    }

    .expandido-text p,
    .expandido-text span,
    .expandido-text ul li {
        font-size: 14px;
        line-height: 1.4;
    }

 .expandido-image {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
    }

    .expandido-image a {
        width: 100%;
        display: block;
    }

    .expandido-image img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 8px;
    }

    .expandido-image-final {
        grid-column: 1 / -1;
        display: flex;
        justify-content: center;
    }

    .expandido-image-final a {
        width: 48%;
    }
}

@media (min-width: 600px) and (max-width: 1023px) {
    .eventos3-content {
        align-items: center;
    }

    .eventos3-bloque {
        width: 92%;
    }

    .eventos3-expandido {
        width: 92%;
    }

    .expandido-content {
        padding: 15px;
        gap: 20px;
    }

    .expandido-image {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .expandido-image-final {
        justify-content: center;
    }

    .expandido-image-final img {
        width: calc(33.33% - 7px);
    }

    .expandido-content img {
        max-width: 100%;
    }
}

@media (min-width: 1024px) and (max-width: 1440px) {
    .eventos3-content {
        align-items: flex-start;
    }

    .eventos3-bloque,
    .eventos3-expandido {
        width: 90%;
    }

    .expandido-image {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* --------------------------------------- */

/* ---------- GALERIA 3 ---------- */

.galeria3{
    width: 100%;
    margin-bottom: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.galeria3-content{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.slider1-titulo{
    width: 100%;
    padding: 0 15px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-sizing: border-box;
    text-align: center;
    gap: 5px;
}
.slider1-titulo h3{
    color: #294B95;
}
.slider1-titulo p{
    width: 80%;
}
.slider{
    position: relative;
    max-width: 1000px;
    margin: auto;
    display: flex;
    align-items: center;
}
.slider-window{
    overflow: hidden;
    width: 100%;
}
.slides{
    display: flex;
    transition: transform 0.4s ease-in-out;
}
.slide{
    min-width: calc(100% / 3);
    padding: 5px;
    box-sizing: border-box;
}
.slide img{
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}
.prev, .next{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    font-size: 22px;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    background: none;
}
.prev{ 
    left: -75px; 
}
.next{ 
    right: -75px; 
}
.linea2{
    margin-bottom: 25px;
}
.linea3{
    margin-top: 40px;
    margin-bottom: 25px;
}
@media (max-width: 599px) {

    .slider1-titulo p {
        width: 95%;
        font-size: 18px;
        text-align: justify;
        text-align-last: center;
    }

    .slider {
        max-width: 100%;
        padding: 0 10px;
    }

    .slide {
        min-width: 100%;
    }

    .slide img {
        height: 200px;
    }

    .prev {
        left: 5px;
    }

    .next {
        right: 5px;
    }
}

@media (min-width: 600px) and (max-width: 1023px) {

    .slider1-titulo p {
        width: 90%;
        font-size: 15px;
    }

    .slider {
        max-width: 100%;
        padding: 0 20px;
        overflow: hidden;
    }

    .slide {
        min-width: calc(100% / 2);
    }

    .slide img {
        height: 230px;
    }

    .prev {
        left: -20px;
    }

    .next {
        right: -20px;
    }
}
@media (min-width: 1023px) and (max-width: 1170px){

    .slider{
        padding: 0 20px;
        overflow: hidden;
    }

    .prev{
        left: -10px !important;
    }

    .next{
        right: -10px !important;
    }
}
@media (min-width: 1024px) and (max-width: 1440px) {

    .slider {
        max-width: 1000px;
        padding: 0 35px;
    }

    .slide {
        min-width: calc(100% / 3);
    }

    .slide img {
        height: 250px;
    }

    .prev {
        left: -40px;
    }

    .next {
        right: -40px;
    }
}

/* --------------------------------------- */

/* ---------- OVERLAY TARJETA ---------- */

.overlay3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.0);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, background .3s ease;
    z-index: 999;
}
.overlay3.active {
    opacity: 1;
    background: rgba(0,0,0,0.6);
    pointer-events: all;
}
.niveles-card {
    background-color: #DEE8FF;
    width: 70%;
    max-width: 900px;
    max-height: 90vh;
    height: auto;
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    transform: scale(0.85) translateY(20px); 
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
}
.niveles-card-left{
    width: 50%;
    display: flex;
}
.niveles-card-left img{
    width: 100%;
    height: auto;
}
.niveles-card-right{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    gap: 15px;
    padding: 15px 0;
}
.niveles-card-right h3{
    color: #1F1863;
}
.card-right-content{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
}
.overlay3.active .niveles-card {
    transform: scale(1) translateY(60px);
    opacity: 1;
}
.card-content{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.card-text1{
    width: 85%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    padding: 0 20px;
}
.card-text1 ul{
    padding-left: 20px;
}
.card-text1 li{
    padding: 5px 0;
}
.card-text1 h5{
    color: #294B95;
}
.card-text2{
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* --------------------------------------- */

/* ---------- CHATBOT ---------- */

.chatbot-toggle{
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #294B95;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: 0.3s ease;
}
.chatbot-toggle:hover{
    transform: scale(1.05);
}
.chatbot-toggle i{
    color: white;
    font-size: 26px;
}
.chatbot-container{
    position: fixed;
    bottom: 105px;
    right: 25px;
    width: 360px;
    background: white;
    border-radius: 18px;
    overflow: hidden;
    z-index: 9999;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: 0.3s ease;
}
.chatbot-container.active{
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}
.chatbot-header{
    width: 100%;
    padding: 18px;
    background: #294B95;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}
.chatbot-header h3{
    font-size: 18px;
}
.chatbot-header span{
    font-size: 13px;
}
.chatbot-header button{
    background: transparent;
    border: none;
    cursor: pointer;
}
.chatbot-header i{
    color: white;
    font-size: 22px;
}
.chatbot-messages{
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 450px;
    max-height: 500px;
    overflow-y: auto;
}
.bot-message{
    background: #eef3ff;
    padding: 14px;
    margin-top: 10px;
    margin-bottom: 8px;
    font-family: fontTexto;
    border-radius: 12px;
    color: #1F1863;
    line-height: 1.5;
    white-space: pre-line;
}
.chat-options{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.chat-option{
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: #cedbff;
    color: #1F1863;
    cursor: pointer;
    transition: 0.3s ease;
    text-align: left;
    font-weight: 600;
}
.chat-option:hover{
    background: #b8cbff;
}
.asesor-btn{
    background: #294B95;
    color: white;
}
.asesor-modal{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
}
.asesor-modal.active{
    opacity: 1;
    pointer-events: all;
}
.asesor-content{
    width: 90%;
    max-width: 420px;
    background: white;
    border-radius: 18px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.asesor-content h3{
    color: #1F1863;
}
.asesor-content input,
.asesor-content textarea{
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #ccc;
    resize: none;
    font-family: inherit;
    box-sizing: border-box;
}
#enviarWhatsapp{
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: #25D366;
    color: white;
    font-weight: bold;
    cursor: pointer;
}
.select-container{
    position: relative;
    width: 100%;
}

#nivelUsuario{
    width: 100%;
    padding: 16px 45px 16px 16px;
    border: 1px solid #cfcfcf;
    border-radius: 14px;
    background: white;
    font-size: 14px;
    font-family: inherit;
    color: #666;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}
.select-container::after{
    content: "⌄";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-70%);
    font-size: 20px;
    color: #666;
    pointer-events: none;
}
.user-message{
    width: fit-content;
    max-width: 85%;
    margin-top: 18px;
    background: #294B95;
    color: white;
    padding: 12px 14px;
    border-radius: 14px 14px 4px 14px;
    margin-left: auto;
    margin-bottom: 18px;
    line-height: 1.4;
}
.respuesta-activa{
    width: fit-content;
    max-width: 85%;
    border-radius: 14px 14px 14px 4px;
    animation: aparecerMensaje 0.25s ease;
}
.typing-message{
    width: fit-content;
    max-width: 85%;
    background: #eef3ff;
    padding: 12px 14px;
    border-radius: 14px 14px 14px 4px;
    color: #1F1863;
    animation: pulseTyping 1s infinite;
}

@keyframes pulseTyping{

    0%{
        opacity: 0.5;
    }

    50%{
        opacity: 1;
    }

    100%{
        opacity: 0.5;
    }

}
@keyframes aparecerMensaje{

    from{
        opacity: 0;
        transform: translateY(10px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }

}
@media (min-width: 320px) and (max-width: 430px){

    .chatbot-container{
        width: calc(100% - 20px);
        right: 10px;
        bottom: 90px;
    }
    .chatbot-toggle{
        width: 60px;
        height: 60px;
        right: 10px;
        bottom: 15px;
    }
    .chatbot-messages{
        height: 400px;
    }
    .asesor-content{
        width: calc(100% - 20px);
        max-width: none;
    }

}
@media (min-width: 431px) and (max-width: 1023px){

    .chatbot-container{
        width: 420px;
        right: 20px;
        bottom: 100px;
    }
    .chatbot-toggle{
        width: 65px;
        height: 65px;
        right: 20px;
        bottom: 20px;
    }
    .chatbot-messages{
        height: 500px;
    }
    .asesor-content{
        max-width: 500px;
    }
}
@media (min-width: 1024px) and (max-width: 1440px){

    .chatbot-container{
        width: 360px;
        right: 25px;
        bottom: 105px;
    }
    .chatbot-toggle{
        width: 65px;
        height: 65px;
        right: 25px;
        bottom: 25px;
    }
    .chatbot-messages{
        height: 450px;
    }
    .asesor-content{
        max-width: 420px;
    }

}