.header__intro {
    background-color: #002146;
    min-height: 520px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
} @media (max-width:991px) {
    .header__intro {
        padding: 4em 0;
    }
    .header__intro .banner {
        padding: 2em 0;
        order: 0;
    }
    .header__intro .txt-banner {
        order: 1;
    }

}
.objetivos .nav a {
    font-size: 1em !important;
    line-height: 1.3em;
}
.pills-objetivos {
    min-height: 450px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: #002146;
    color: #fff;
    margin: .25em 0 0 0;
    padding: 3em 0;
}
.pills-objetivos span {
    color: #30D6E6;
}
.text-title2 {
    background: #30D6E6 !important;
    margin: 0 .5em;
    border-radius: 10px 10px 0px 0px !important;
}
.text-title2.active {
    background: #002146 !important;
    border-radius: 10px 10px 0px 0px !important;
    color: #30D6E6 !important;
    transition: 200ms ease-in ;
}
.pills-objetivos .objetivo {
    animation: movimiento 3s infinite ease-in;
}
@keyframes movimiento {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(0px);
    }
}
.bg-naranja{
    min-height: 530px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3em 0;
} @media (max-width: 991px) {
    .orgullo-txt {
        text-align: center;
        padding-bottom: 1.7em;
    }
}



.bg-naranja .card {
    position: relative;
    left: 150px;
    height: 400px;
    width: 300px;
    border-color: transparent;
    border-radius: 20px;
    box-shadow: .2px 0 0.8em rgba(128, 128, 128, 0.29);
}  @media (max-width: 1000px) {
    .bg-naranja .card {
        left: 0px !important;
    }
    .centro-card {
        display: flex;
        justify-content: center;
        text-align: center;
    }
}

.cabecera-orgullo {
    margin-top: 35px;
}

.bg-naranja {
    background-image: url(/img/v1/naranja.svg);
    background-repeat: no-repeat;
    background-position: right;
} @media (max-width: 1000px) {
    .bg-naranja {
        background-position: right bottom;
    }
} @media (max-width: 430px) {
    .bg-naranja {
        background-position: right bottom;
    }
}

.bg-naranja-3 {
    background-image: url(/img/v1/naranja.svg);
    background-repeat: no-repeat;
    background-position: center right;
}

.plataforma {
    min-height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;

} @media (max-width:1199px) {
    .plataforma h5 {
        font-size: 1em;
    }
}

.plataforma__height {
    min-height: 200px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.plataforma__info {
text-align: center;
}
.docentes {
    background-color: #002146;
    min-height: 590px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.docentes h2 {
    padding-bottom: 1.3em;
}
.docentes__contenedor {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    gap: 20px;
}
.docentes__persona {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

}
.maestro-img {
    width: 230px;
    height: auto;
    text-align: center;
}
.modalidades {
    display: flex;
    flex-direction: row;
    min-height: 500px;
    align-items: center;
    justify-content: center;
    padding: 3em 0;
}

.modalidades__espacio {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.modalidades .card {
    width: auto;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: .2px 0 0.8em rgba(128, 128, 128, 0.179);
    text-align: center;
}
@media (max-width:991px) {
    .modalidades .card {
        margin: 2em 0;
    }
}
.card .boton__espacio {
    width: 100%;
    display: flex;
    justify-content: center;

}
.card .boton {
    max-width: 320px;

}

.img-ajustada {
    height: 500px;
    width: auto;
    max-width: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

/* Para tablets y móviles (pantallas medianas) */
@media (max-width: 768px) {
    .img-ajustada {
        height: 400px;
    }
}

/* Para móviles pequeños */
@media (max-width: 480px) {
    .img-ajustada {
        height: 300px;
    }
}


.border-teachers {
    border: 5px solid #dee2e6 !important;
    border-color: #04d7f3 !important;
}


.text-container {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; /* Opcional: muestra "..." si se corta el texto */
  width: 100%; /* Define un ancho para que funcione */
}

.header__terms {
    background-color: #002146;
    min-height: 250px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
} @media (max-width:991px) {
    .header__terms {
        padding: 4em 0;
    }
    .header__terms .banner {
        padding: 2em 0;
        order: 0;
    }
    .header__terms .txt-banner {
        order: 1;
    }

}
