html{
    scroll-behavior:smooth;
}
body{
    margin: 0px;
    overflow-x: hidden ;
    background-color: #f6f7f8;
    font-family:'montserrat';
}

.contenedor-general{
    margin: 0;
    left: 0;
    right: 0;
    height: auto;
}
.cuadro2{
    display: none;
}
header {
    position: absolute;
    z-index: 10;
    width: 100%;
}
.contenedor-header{
    display: flex; 
  align-items: center; 
  width: 100%;
  height: 150px;
  z-index: 1000;
}
.contenedor-header img{
    width: 70%; 
  height: 100%; 
  object-fit: contain;
  background-color: rgba(97, 102, 107, 0.541);
  z-index: 1000;
}

.slider {
    position: relative;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    border-radius: 10px;
}

.slides {
    width: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    transition: opacity 0.5s;
}

.slide img {
    width: 100%;
    height: 650px;
    object-fit: cover;
}

.dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: rgba(0, 0, 0, 0.9);
}

.imagenes-cel{
    display: none;
}
.barras{
    display: flex; 
    flex-direction: column;
    width: 100%;
}
.redes{ 
    background-color: rgba(97, 102, 107, 0.541);
    text-align: center;
    height: 65px;
    display: flex;
    color:#ffffff;
    font-family: "Inter", sans-serif;
    justify-content: right;
    z-index: 1000;
}
.redes li{
    list-style: none;
    padding: 20px;
   
}
.redes li a{
    color:#ffffff;
}
.redes li a:hover{
    background-color: #b4710c;
    color: white;
    text-decoration: none;
    
}
.directorio{
    height: 85px;
    background-color: rgba(97, 102, 107, 0.541);
    display: flex;
    color:#ffffff;
    justify-content: right;
    font-family: "Inter", sans-serif;
    z-index: 1000;
}
.directorio li{
    list-style: none;
    padding: 30px;
    float: right;
    font-size: 17px;
}
.directorio li:hover{
    background-color: #b4710c;
    color: white;
}
.directorio li a{
    text-decoration: none;
    color:#ffffff;
}
.directorio li a:visited{
    color:#ffffff;
    text-decoration: none;
}

.texto{
    color: #646464;
    font-family: 'roboto';
    border-bottom: 3px solid #ccc;
    margin: 0 auto;
    width: 75%;
}
.texto h1{
    text-align: center;
}
.texto h2{
    text-align: center;
    font-size: 22px;
}
.texto p{
    font-size: 1.4rem;
    text-align: center;
    font-weight: 300;
}
.quien p{
    font-size:1.25rem;
}
.cuadro{
    width: 80%;
    height: max-content;
    margin: 0 auto;
    display:flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    gap: 35px;
    color: #646464;
    
}
.cuadro h1{
    font-family: "Inter", sans-serif;
    color: #0A3D62;
    text-align: center;
    font-size:3.3rem;
}
.cuadro p{
    font-size: 18px;
    text-align: center;
    font-weight: 300;
    font-family: 'roboto';

}
.fila{
    display: flex;
    gap: 25px;
    width: 85%;
}
.categoria{
    background-color: white;
    box-shadow: 0px 0px 10px rgb(165, 165, 165);
    border-radius: 15px;
    width: 100%;
    height: 250px;
    display: flex;
    flex-direction: column;
}
.categoria span{
    display: table;
    margin: -15px auto 0 auto;
    background-color: white;
    width: auto;
    height: auto;
    color: rgb(83, 111, 236);
    font-size: 70px;
    font-weight: 300;
    padding: 15px;
    border: 3px solid rgb(83, 111, 236);
    border-radius: 50%;
}

.categoria h3{
    font-family: 'roboto';
    font-size: 25px;
    text-align: center;
    color: #464646;
}
.categoria p{
    text-align: center;
    font-size: 18px;
    font-family: 'roboto';
    color: #646464;
    margin: 0 auto;
    width: 100%;
}


/*WORKING CAPITAL EN NUMERO*/
.numbers {
    font-family: 'montserrat';
    margin-top: 2%;
    text-align: center;
    padding: 20px;

}

.numbers h2 {
    font-size: 3rem;
    color: #0A3D62;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 1px  white;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    color: #0056b3;
    margin-bottom: 0.5rem;
}

.stat p {
    margin-top: -0.3rem;
    font-size: 1.2rem;
    color: #333;
    font-family: 'montserrat';
}
.simbolo{
    font-size: 2.5rem;
}

/*EFECTO*/
.contenedor-sedes {
    height: max-content;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.color_fondo {
    height: 100%;
    width: 100%;
    color: #0A3D62;
    position: absolute;
    transition: height 0.08s ease-in-out; /* Transición suave */
}
.numero {
    font-size: 40px;
    font-weight: bold;
    color: #7b7b7b; /* Texto blanco para destacar sobre el fondo */
}

.boton{
    border: 1px solid rgb(0, 0, 0);
    width: 35%;
    height: 30px;
    margin: 0 auto;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
    font-family:'roboto';
    padding-top: 10px;
}
.boton p{
    color: #464646;
    align-items: center;
    padding-top: 5%;
    height: 90%;
}
.boton:hover{
    background-color: #464646;
    color: white;
}
.video{
    width: 100%;
    height: 340px;
    background-color: #54595f;
    display: flex;
    margin-top: 10px;
}
.Mapa{
    width: 50%;
    height: auto;
    overflow: hidden;
    position: relative; /* Necesario para las transformaciones */
    opacity: 0; /* Oculto inicialmente */
    transform: translateX(100%); /* Fuera de la pantalla a la derecha */
    transition: opacity 0.5s ease, transform 1s ease; /* Suavidad */
}

.Mapa.visible {
    opacity: 1; /* Aparece */
    transform: translateX(0); /* Llega a su posición original */
}

.Mapa iframe{
    width: 100%;
    height: 339px;
}

.map{
    width: 50%;
    height: auto;
    overflow: hidden;
    position: relative; /* Necesario para las transformaciones */
    opacity: 0; /* Oculto inicialmente */
    transform: translateX(-100%); /* Fuera de la pantalla a la derecha */
    transition: opacity 0.5s ease, transform 1s ease; /* Suavidad */
}

.map.visible {
    opacity: 1; /* Aparece */
    transform: translateX(0); /* Llega a su posición original */
}

.map iframe{
    width: 100%;
    height: 339px;
    margin-left: 5%;
}

@keyframes slideIn {
    from {
        transform: translateX(100%); /* Empieza fuera de la pantalla a la derecha */
    }
    to {
        transform: translateX(0); /* Llega a su posición original */
    }
}
.text{
    width: 40%;
    vertical-align: middle;
    font-size: 75px;
    text-align: right;
    font-family: 'roboto';
    font-weight: bold;
    color: white;
}
.text h1{
    font-size: 50px;
}
.text h4{
    font-size: 25px;
}
.text p{
    font-size: 20px;
}
.Mapa iframe{
    margin-left: 10% !important;
    
}

.text-segundo{
    width: 40%;
    vertical-align: middle;
    font-size: 75px;
    text-align: left;
    font-family: 'roboto';
    font-weight: bold;
    color: white;
    margin-left: 5%;
}
.text-segundo h1{
    font-size: 50px;
}
.text-segundo h4{
    font-size: 25px;
}
.text-segundo p{
    font-size: 20px;
}
.mapa iframe{
    margin-left: 6% !important;
    
}
.final{
    width: 100%;
    text-align: center;
    font-family: 'Montserrat';

}

.portal-empleo{
    width: 100%;
    height: auto;
}
.contenedor-portal{
    display: flex;
    margin: 0 auto;
    width: 100%;
    height: auto;
    justify-content: center;
    align-items: center;

    
}
.contenedor-portal div{
    flex: 1;
    padding: 20px;
    transition: .4s;
}
.contenedor-portal div:hover{
    transform: scale(1.1);
}
.contenedor-portal div img{
    width: 100%;
    box-shadow: 0px 0px 15px rgb(160, 160, 160);
}

.anuncio-vacantes{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-top: 4%;
}
.anuncio-vacantes h2,.anuncio-vacantes p{
    width: 80%;
    padding:10px;
    line-height: 1.1;
    text-align: right;
}
.anuncio-vacantes h2{
    color: #0A3D62;
    font-size: 3.2rem;
}
.anuncio-vacantes p{
    font-size: 1.2rem;
    color: #61666B;
}
.video-horizontal{
    width: 60%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(100%); /* Fuera de la pantalla a la derecha */
    transition: opacity 30s ease, transform 1s ease; /* Suavidad */
}
.video-horizontal video{
    border-radius: 20px;
}
.video-horizontal.visible{
    opacity: 1; /* Aparece */
    transform: translateX(0); /* Llega a su posición original */

}
.publicaciones{
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;
}


.fb{
    width: 30%;
}
.v-horizontal{
    width: 100%;
}

.tarjetas{
    width: 100%;
    height: 57vh;
    align-items: center;
    display: flex;
    justify-content: center;
    
}
.testimonios{
    width: 50%;
    height: auto;
    margin: auto;
    position: absolute; 
    margin-bottom: 2%;
    border-radius: 20px;
    box-shadow: 0px 0px 20px #686868a1;
    display: flex;
    padding: 20px;
    opacity: 0; /* Oculta inicialmente */
    animation: alternar 60s infinite; 
}
.test{
    font-family: "Inter", sans-serif;
    color: #414141;
    text-align: center;
    font-size: 40px;
}
.testimonios img{
    width: 34%;
    height: auto;
    max-height: 250px;
    border: 2px solid white;
    box-shadow: 0px 0px 12px #686868a1;
    border-radius: 50%;
    padding: 10px;
}

.text-t{
    margin-left: 3%;
    font-family: 'roboto';
    text-align: justify;
    color: #9b9b9b;
    font-style: oblique;
}
.nombre {
    line-height: 1.1;
    font-family: 'Noto Sans JP';
    font-size: 16px;
    color: #333333; /* Color más oscuro para resaltar */
    font-weight: 400;
    display: inline; /* Asegura que el span no añada espacios adicionales */
    text-indent: 0; /* Elimina cualquier indentación aplicada al texto */
    margin: 0; /* Asegúrate de que no haya márgenes */
    padding: 0; /* Asegúrate de que no haya relleno */
    white-space: normal; /* Evita que el texto preserve espacios innecesarios */
  }
  .testimonios:nth-child(1) {
    animation-delay: 0s;
  }
  .testimonios:nth-child(2) {
    animation-delay: 20s;
  }
  .testimonios:nth-child(3) {
    animation-delay: 40s;
  }
  
  /* Definición de keyframes */
  @keyframes alternar {
    0%, 20% {
      opacity: 1; /* Se muestra */
      z-index: 1; /* Asegura que esté visible */
    }
    30%, 100% {
      opacity: 0; /* Se oculta */
      z-index: 0;
    }
  }


.contenedor-registro{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}  
.img-reg{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.img-registro{
    width: 60%;
    height: 50%;
}
.formulario{
    font-family: 'Montserrat';
    width: 100%;
    height: auto;
    display: flex;
    justify-content: left;
    flex-direction: column;
    font-size: 1.2rem;
    line-height: 2.5;
    padding: 10px;
}
.formulario input{
    width: 70%;
    height: 30px;
    border-radius:4px ;
    border: 0.5px solid rgba(118, 118, 118, 0.496);
}
.envio{
    margin-top: 3%;
    width: 70%;
    height: 40px;
   background-color: rgb(166, 228, 166);
   color: rgb(0, 0, 0);
   border:0px solid;
   box-shadow: 0px 0px 4px rgb(175, 175, 175);
   border-radius: 20px;
}
.final h1{
    font-family: "Inter", sans-serif;
    color: #414141;
    text-align: center;
    font-size: 40px;

}
.redes-final{
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    text-align:right;
    padding: 10px;
}
.redes-final a{
    width: 100%;
    font-size: 22px;
    font-family: 'roboto';
    margin-left: 2%;
    color: black;
    text-decoration: none;
}

.iconos,.info-redes{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    line-height: 1.5;
    padding: 10px;
}
.iconos{
    gap: 20px;
    font-size: 1.2rem;
}

.final{
    width: 70%;
    padding: 30px;
    display: flex;
    justify-content: left;
}
.final img{
    width: 100%;
    max-width: 250px;
    height: 100%;
}

.derechos{
    width: 100%;
    height: 30px;
    background-color: #54595f;
    color: white;
    text-align: center;
    font-family: 'roboto';
}

.contenedor-sede{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;


}
.nuestras-sedes{
    margin: 0 auto;
    width: 70%;
}

/*MODAL DE AVISOS*/
.modalDialog {
    display: none;
	position: fixed;
	font-family: Arial, Helvetica, sans-serif;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	z-index: 99999;
	opacity:0;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;
    overflow-y: scroll;
    
}

.modalDialog.show {
    display: block; /* Mostrar el modal */
}

.modalDialog:target {
	opacity:1;
	pointer-events: auto;
}
.modalDialog > div {

	width: 80%;
	position: relative;
	margin: 10% auto;
	padding: 5px 20px 13px 20px;
	border-radius: 15px;
	background: #fff;
  -webkit-transition: opacity 800ms ease-in;
-moz-transition: opacity 800ms ease-in;
transition: opacity 800ms ease-in;

}
.modalDialog > div {
    background: linear-gradient(255deg, #f8f8f8, #1a3872); /* Degradado claro */
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(253, 252, 252, 0.042);
    text-shadow: 0.1px 0.1px black;
}


/* Estilo para el texto del modal */
.modalDialog p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #f7f7f7; /* Texto oscuro para mayor legibilidad */
    margin: 1.5rem 0;
    width: 50%;
    padding: 0 1rem; /* Añadir espacio a los lados */
    text-align: left; /* Alineación del texto */
    font-family: 'Arial', sans-serif;
    font-weight: 400;
    word-wrap: break-word;
}
.color-titulos{
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Estilo para los emojis */
.modalDialog p span {
    font-size: 1.5rem; /* Aumentar el tamaño de los emojis */
}

/* Estilo para los enlaces en el texto */
.modalDialog p a {
    color: #0056b3; /* Color del enlace */
    text-decoration: none;
    font-weight: bold;
}

.modalDialog p a:hover {
    text-decoration: underline; /* Subrayar el enlace al pasar el cursor */
}

/* Ajuste para los hashtags y emojis */
.modalDialog p em {
    font-style: italic;
    color: #888; /* Color gris para los hashtags y textos secundarios */
}

.modalDialog p strong {
    font-weight: bold;
    color: #0056b3; /* Resaltar con color azul */
}

.logo-modal{
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contenedor-contacto{
    width: 80%;
    display: flex;
    margin: 0 auto;
}

.logo-modal img{
    width: 60%;
}
.close {
	background: #606061;
	color: #FFFFFF;
	line-height: 25px;
	position: absolute;
	right: -12px;
	text-align: center;
	top: -10px;
	width: 24px;
	text-decoration: none;
	font-weight: bold;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #000;
}
.close:hover { background: #00d9ff; }


/* MEDIDA PARA CELULARES*/
@media(min-width: 260px) and (max-width: 450px){
    .contenedor-header img{
        width: 150px;
    }
    .directorio li a{
        font-size: 11px;
        width: 30%;
    }
    .test{
        margin-top: 10%;
    }


    .fila{
        height:160vh !important;
    }

    #pad{
        margin-top: 20% !important;
    }
    .tarjetas{
        margin-top: 50% !important;
        display: none;
    }
    .test{
        display: none;
    }
    .testimonios{
        justify-content: center;
        display: flex;
        flex-direction: column;
        margin-top: 20%;
    }
    .testimonios img{
        width: 150px;
        height: 150px;
        left: 10% !important;
    }
    .final{
        margin-top: 40% !important;
    }
    .final img{
        margin-top: -80%;
        width: 180px;
    }
    .redes-final{
        text-align: center;
        margin-top: 10%;
    }
    .redes-final a{
        margin-top: 5%;
    }
}




@media (max-width: 799px){
    *{
        box-sizing: border-box;
    }
    html, body{
        overflow-x: hidden;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    .contenedor-general{
        width: 100%;
        margin: 0 auto;

    }
    .contenedor-header{
        flex-direction: column;
        background-color: #54595f;
        height: 100px;
    }
    .contenedor-header img{
        background-color: #54595f;
        width: 150px;
       
    }
    .redes{
        display: none;
    }
    .directorio{
       align-items: center;
       justify-content: center;
       background-color: #54595f;
    }
    .directorio li{
        font-size: 14px;
        width: 100%;
        float: right;
        padding: 7px;
        margin-left: 2%;
        text-align: center;
    }
    
.slider{
    margin-top: 180px;
    width: 100%;
    height: 300px;
}
.slide{
    width: 100%;

}
.slide img{
    width: 100%;
    height: 250px;
    object-fit: cover;
}
 

.cuadro2{
    width: 80%;
    margin: 0 auto;
    display: block;
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.cuadro{
    display: none;
}
.cuadro-celular{
    text-align: center;
}
.cuadro-celular p{
    font-size: 18px;
    text-align: center;
    font-weight: 300;
    font-family: 'roboto';
    color: #646464;
}
.categoria-celular{
    flex: 1;
    background-color: white;
    box-shadow: 0px 0px 10px rgb(165, 165, 165);
    border-radius: 15px;
    width: 100%;
    padding: 20px;
}
.categoria-celular span{
    display: table;
    margin: -35px auto 0 auto;
    background-color: white;
    width: auto;
    height: auto;
    color: rgb(83, 111, 236);
    font-size: 70px;
    font-weight: 300;
    padding: 10px;
    border: 3px solid rgb(83, 111, 236);
    border-radius: 50%;
}

.categoria-celular h3{
    font-family: 'roboto';
    font-size: 25px;
    text-align: center;
    color: #464646;
}
.categoria-celular p{
    text-align: center;
    font-size: 18px;
    font-family: 'roboto';
    color: #646464;
    margin: 0 auto;
    width: 100%;
}




    .separador{
    display: none;
    }
    
    .texto{
        position: relative;
    }
    .cuadro{
        height: auto !important;
        font-size: 1.4rem;
    }
    .fila{
        display: inline;
        flex-direction: column;
        padding: 0 !important; 
        position: relative;
        margin-bottom: -480px;
    }

    .categoria{
        margin-top: 5 0px !important;
        gap: 10px;
    }

    #pad{
        margin-left: 0 !important;
        margin-top: 30px !important;

    }
    
    .anuncio-vacantes{
        display: flex;
        flex-direction: column;
    }
    #intro-video h2, #intro-video p{
        width: 100%;
        text-align: center;
    }
    .v-horizontal {
        width: 150%;
        
    }

.contenedor-portal{
    display: flex;
    flex-direction: column;
}
   
    .tarjetas{
        margin-top: 25% !important;
    }
    .testimonios{
        display: flex;
        flex-direction: column;
    }
    .testimonios img{
        width: 150px;
        height: 150px;
    }
    .test{
     height: auto;}

    .sec-registro{
        margin-top: 180px;

    }
    .contenedor-registro{
        display: flex;
        flex-direction: column;
    }
    .formulario{
        text-align: center;
    }
    .formulario input{
       margin: 0 auto;
       text-align: center;
    }
    .formulario button{
        margin: 0 auto;
        margin-top: 8%;
    }

    .contenedor-contacto{
        display: flex;
        flex-direction: column;
    }
    .info-redes a{

        font-size: 1.2rem;
    }
    .final{
        margin: 0 auto;
    }
        

    .derechos{
        height: auto;
    }
}



/* MEDIDAS PARA LAPTOP Y PANTALLAS MAS GRANDES*/


@media (min-width: 1990px)  {

    .contenedor-general{
        width: 100%;
        margin: 0 auto;
    }
    .slider{
        height: 90%;
    }
    section{
        width: 70%;
        margin: 0 auto;
    }
}