.page {
    width: 100%;            /* La página ocupa el 100% del ancho disponible */
    max-width: 1200px;       /* El ancho máximo de la página */
    margin: 0 auto;          /* Centrar la página horizontalmente */
    padding: 10px;           /* Espacio interno */
    background-color: #fff; /* Color de fondo blanco */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Sombra suave para dar relieve */
	background-size: cover;
}


/* SECCION_1 */
.nosotros { 
    display: flex;
    max-width: 100%;
	height:auto;
    background: url('images/Nosotros/BANNER PRINCIPAL.webp') no-repeat center center;
    background-size: cover;
    color: #3c3c3c;
    padding-right: 50px;
    align-items: center;
}

.titulo_nosotros {
    width: 50%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
    background-color: rgba(223, 213, 220, 0.4);
}

.titulo_nosotros h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    text-align: center;
    font-weight: normal;
}

.titulo_nosotros p {
    font-size: 0.8em;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Modo responsivo para tabletas y móviles */
@media (max-width: 1024px) {
    .nosotros {
        flex-direction: column;
        background: url('images/Nosotros/BANNER%20PRINCIPAL_mov.webp') no-repeat center center;
        background-size: cover;
        padding-right: 0;
        text-align: center;
		max-height: 800px;
    }

    .titulo_nosotros {
        width: 100%;
        padding: 20px;
        background-color: rgba(223, 213, 220, 0.4);
    }
}

@media (max-width: 768px) {
    .nosotros {
        background: none; /* Elimina la imagen de fondo */
        flex-direction: column;
        align-items: center;
    }

    .titulo_nosotros {
        width: 100%;
    }

    .nosotros::before {
        content: "";
        display: block;
        width: 100%;
        height: 356px; /* Ajusta el tamaño de la imagen */
        background: url('images/Nosotros/BANNER%20PRINCIPAL_mov.webp') no-repeat center center;
        background-size: cover;
    }
}

/* SECCION_2 */
.mision-section {
    background-color: #0A3D62;
    padding: 40px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mision-container {
    max-width: 1200px;
    display: flex;
    gap: 40px;
    align-items: center;
}

/* Imagen */
.mision-image {
    flex: 1;
    text-align: center;
}

.mision-image img {
    max-width: 100%;
    height: auto;
    background-color: rgba(223, 213, 220, 0.3);
    padding: 20px;
}

/* Título */
.mision-title {
    background-color: #0074D9;
    padding: 10px 20px;
    color: white;
    font-size: 40px;
    font-weight: normal;
    text-align: center;
    border-radius: 8px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3), 
                inset 2px 2px 5px rgba(255, 255, 255, 0.2);
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Texto */
.mision-text {
    flex: 2;
    font-size: 18px;
    line-height: 1.6;
    max-width: 65vh;
    margin-right: 60px;
    margin-left: 40px;
}

/* Responsividad */
@media (max-width: 1024px) {
    .mision-container {
        flex-direction: column;
        text-align: left;
        gap: 20px;
    }

    .mision-text {
        max-width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .mision-title {
        font-size: 20px;
        padding: 8px 16px;
    }

    .mision-text {
        font-size: 16px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .mision-section {
        padding: 20px;
    }

    .mision-title {
        font-size: 18px;
        padding: 6px 12px;
    }

    .mision-text {
        font-size: 14px;
        line-height: 1.4;
    }
}

/* SECCION_3 */
.vision-section {
    background: linear-gradient(to bottom, #d7c6d4, #d1dcee);
    padding: 40px;
    color: #0A3D62;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision-container {
    max-width: 1200px;
    display: flex;
    gap: 40px;
    align-items: center;
}

/* Imagen */
.vision-image {
    flex: 1;
    text-align: center;
}

.vision-image img {
    max-width: 100%;
    height: auto;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 0px;
}

/* Título */
.vision-title {
    background-color: #fff;
    padding: 10px 10px;
    color: #0074D9;
    font-size: 40px;
    font-weight: normal;
    text-align: center;
    border-radius: 8px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2), 
                inset 2px 2px 5px rgba(255, 255, 255, 0.2);
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(200, 200, 200, 0.6);
}

/* Texto */
.vision-text {
    flex: 2;
    font-size: 18px;
    line-height: 1.6;
    max-width: 65vh;
    margin-right: 60px;
    margin-left: 40px;
}

/* Responsividad */
@media (max-width: 1024px) {
    .vision-container {
        flex-direction: column;
        text-align: left;
        gap: 20px;
    }

    .vision-text {
        max-width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .vision-title {
        font-size: 20px;
        padding: 8px 16px;
    }

    .vision-text {
        font-size: 16px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .vision-section {
        padding: 20px;
    }

    .vision-title {
        font-size: 18px;
        padding: 6px 12px;
    }

    .vision-text {
        font-size: 14px;
        line-height: 1.4;
    }
}

/* SECCIÓN_4 */
#valores {
    background-color: #0F3A5A;
    color: white;
    padding: 60px 25px;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-items: center;
}

.valores-grid h3{
  color:white; 
}

.valor-card {
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3),
                0 6px 6px rgba(0, 0, 0, 0.2),
                inset 0 -3px 10px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateX(5deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.valor-card:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4),
                0 10px 10px rgba(0, 0, 0, 0.3),
                inset 0 -5px 15px rgba(0, 0, 0, 0.6);
}

.header {
    grid-column: span 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blue {
    background: linear-gradient(145deg, #2A82B8, #1B5A88);
}

.purple {
    background: linear-gradient(145deg, #9A79A1, #7A5D80);
}

.blue::after, .purple::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 20px;
    background: rgba(255, 255, 255, 0.2);
}

.blue::before, .purple::before {
    content: "";
    position: absolute;
    right: 25px;
    top: 0;
    height: 100%;
    width: 10px;
    background: rgba(255, 255, 255, 0.1);
}

.icono {
    display: block;
    margin: 0 auto 15px auto;
    width: 100px;
}

/* Responsividad */
@media (max-width: 1024px) {
    .valores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .valores-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* SECCION_5 */
.fundadores_1 {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #d2a3e0, #a3c3e0);
    text-align: center;
}

.fundadores {
    padding: 50px 20px;
    color: #0a0a0a;
}

.fundadores h2 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #0A3D62;
}

.fundadores-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.fundador {
    background: rgba(255, 255, 255, 0.3);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    text-align: center;
    max-width: 300px;
}

.fundador img {
    max-width: 100%;
    height: 230px;
    border-radius: 5px;
}

.nombre {
    background: #005a8d;
    color: white;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
}

/* Estilos responsivos */
@media screen and (max-width: 768px) {
    .fundadores h2 {
        font-size: 2.5em;
    }

    .fundadores-container {
        flex-direction: column;
        align-items: center;
    }

    .fundador {
        width: 90%;
        max-width: 350px;
    }
}

@media screen and (max-width: 480px) {
    .fundadores {
        padding: 30px 10px;
    }

    .fundadores h2 {
        font-size: 2em;
    }

    .fundador {
        width: 100%;
        max-width: 300px;
        padding: 15px;
    }

    .nombre {
        font-size: 0.9em;
        padding: 8px;
    }
}



/* SECCION_6 */
.sedes { 
    font-family: Arial, sans-serif;
    background-color: #0A3D62; 
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    color: white;
}

.container_sedes {
    width: 60%;
    margin: 0px;
    padding: 20px;
    background-color: #21577b;
}

.titulo_sedes {
    width: 50%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
}

.titulo_sedes h3 {
    font-size: 2.6em;
    margin-bottom: 10px;
    text-align: center;
    font-weight: normal;
	color:white;
}

.titulo_sedes p {
    font-size: 1.2em;
    margin-bottom: 20px;
    line-height: 1.5;
}

.right-column {
    width: 95%;
}

.myt-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: white;
    padding: 0px;
    border-radius: 100px;
}

.icon_9 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
    transition: box-shadow 0.3s ease-in-out;
}

.icon_9 img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 50%;
}

.icon_9:hover {
    box-shadow: 0px 0px 20px 5px rgba(255, 255, 255, 0.8),
                0px 0px 30px 10px rgba(182, 140, 177, 0.8);
}

.text_9 {
    text-align: left;
    width: 70%;
}

.text_9 strong {
    color: white;
    font-size: 1.3em;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .sedes {
        flex-direction: column;
    }

    .container_sedes {
        width: 90%;
        padding: 15px;
    }

    .titulo_sedes {
        width: 100%;
        padding: 15px 0;
    }

    .titulo_sedes h3 {
        font-size: 2em;
    }

    .titulo_sedes p {
        font-size: 1em;
    }

    .icon_9 {
        width: 80px;
        height: 80px;
        margin-right: 10px;
    }

    .text_9 {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .titulo_sedes h3 {
        font-size: 1.8em;
    }

    .titulo_sedes p {
        font-size: 0.9em;
    }

    .icon_9 {
        width: 60px;
        height: 60px;
    }

    .text_9 strong {
        font-size: 0.8em;
    }
}

/* SECCION_7 */
.banner_ag {
            width: 100%;
            max-height: auto; /* Ajusta la altura según necesidad */
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .banner_ag img {
            width: 100%;
            height: auto;
            object-fit: cover;
        }
	.mobile-img {
        display: none;
    }

    @media screen and (max-width: 768px) {
        .desktop-img {
            display: none;
        }

        .mobile-img {
            display: block;
            width: 100%;
            height: auto;
        }
    }
	
	
/* SECCION_8 */

.identidad { 
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #002d4c;
    color: white;
}

.container_ide {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}
.identidad_ide {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
	color:white;
}
.identidad_ide span {
    color: #b28bcf;
}

.section_ide {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
    max-width: 1200px;
    margin: auto;
}
.text-column_ide {
    width: 50%;
    padding-right: 20px;
}
.text-column_ide h2 {
    color: white;
    font-size: 0.9em;
    padding: 10px 30px;
    border-radius: 5px;
    line-height: 1.3;
    display: inline-block;
    width: 80%;
    position: relative;
    background: linear-gradient(to right, rgba(178, 139, 207, 0.6), rgba(140, 102, 145, 0.6));
}
.text-column_ide h2::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(to right, rgba(178, 139, 207, 0.4), rgba(178, 139, 207, 0.2));
}
.text-column_ide h2::before {
    content: "";
    position: absolute;
    right: 5px;
    top: 0;
    width: 15px;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
}
.text-column_ide p {
    color: white;
    text-align: left;
    line-height: 1.3;
    font-size: 0.9em;
    padding-left: 30px;
}

.art-column_ide {
    width: 50%;
    display: flex;
    justify-content: center;
}
.art-column_ide img {
    max-width: 80%;
    height: auto;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
}

/* Responsivo para tabletas */
@media (max-width: 1024px) {
    .section_ide {
        flex-direction: column;
        padding: 30px;
    }
    .text-column_ide, .art-column_ide {
        width: 100%;
        text-align: center;
    }
    .text-column_ide p {
        padding-left: 0;
    }
    .art-column_ide img {
        max-width: 90%;
    }
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    .identidad_ide {
        font-size: 22px;
    }
    .section_ide {
        padding: 20px;
    }
    .text-column_ide h2 {
        font-size: 0.8em;
        width: 100%;
        padding: 8px 20px;
    }
    .text-column_ide p {
        font-size: 0.8em;
    }
    .art-column_ide img {
        max-width: 100%;
        padding: 10px;
    }
}
/* FLECHA DE REGRESO */
#irArriba {
      position: fixed;
      bottom: 110px;
      right: 240px;
      background-color: #333;
      color: white;
      border: none;
      padding: 12px 16px;
      border-radius: 10%;
      cursor: pointer;
      font-size: 30px;
      display: none; /* Oculto por defecto */
      box-shadow: 0 4px 6px rgba(0,0,0,0.3);
      z-index: 1000;
      transition: background-color 0.3s;
    }

    #irArriba:hover {
      background-color: pink;
    }
	
	/* RESPONSIVO PARA TABLETS */
@media (max-width: 1024px) {
  #irArriba {
    right: 40px;
    bottom: 90px;
    font-size: 28px;
    padding: 10px 14px;
  }
}

/* RESPONSIVO PARA MÓVILES */
@media (max-width: 768px) {
  #irArriba {
    right: 20px;
    bottom: 70px;
    font-size: 26px;
    padding: 8px 12px;
  }
}