/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  color: #000;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 15%;
  background-color: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  font-size: 1.2em;
  
}

img {
  height: 100px;
  position: left;
}

/* NAV LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
}

.nav-link {
  text-decoration: none;
  color: #000e2e;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

/* ANIMACIÓN EFECTO LÍNEA BAJO ENLACE */
.nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: #00a8e8;
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #00a8e8;
}

.nav-link:hover::after {
  width: 100%;
}



/* --- CONTENIDO PRINCIPAL CENTRADO --- */
main {
    padding: 2rem 0;
    /* ¡CAMBIO PRINCIPAL! Centra todo el texto dentro del 'main' */
    text-align: center;
}

section {
    margin-bottom: 2.5rem;
}
.container p {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 0 1rem; /* Añadimos un poco de espacio a los lados */
    max-width: 800px; /* Limitamos el ancho máximo para que no se extienda demasiado */
    margin-left: auto;
    margin-right: auto;
    font-size: 20px;
    line-height: 1.6;
    color: #000000;
}

/* --- TIPOGRAFÍA CENTRADA --- */
h1, h2, h3 {
    font-family:  'sk-modernit', sans-serif;
    color: #003366;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    font-family:  'sk-modernit', sans-serif;
}

h2 {
    font-size: 2rem;
    /* Hacemos que la línea solo subraye el texto */
    display: inline-block;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem; /* Aumentamos margen inferior */
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #555;
    /* Limitamos el ancho de los párrafos para que no se vean muy extensos */
    max-width: 60ch; /* 75 caracteres de ancho */
    margin-left: auto;
    margin-right: auto;
}

/* --- AJUSTE PARA LISTAS --- */
/* Las listas se ven mejor alineadas a la izquierda dentro de su contenedor centrado */
ul {
    display: inline-block; /* Permite que el bloque de la lista se centre */
    text-align: left;    /* Mantiene el texto de la lista alineado a la izquierda */
    list-style-position: inside;
    padding-left: 1rem;
    margin-top: 1.5rem;
}

li {
    margin-bottom: 0.8rem;
}

strong {
    color: #003366;
}



video {
  max-width: 50%;
  height: auto;
  display: block;
  border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-in-out;
    margin: 50px auto;
}

.who-we-are .quienes-somos p {
    text-align: justify;
    font-size: 1.5em;
    display: flex;
    gap: 2rem;
    margin: 0 auto;
    padding: 3rem;
    text-align: justify;
    font-family: 'sk-modernit', sans-serif;
    animation: fadeIn 1s ease-in-out;
}



.who-we-are h2 {
    max-width: 900px;
    display: flex;
    gap: 2em;
    margin: 0 auto;
    padding: 1rem;
    text-align: justify;
    font-family: 'sk-modernit', sans-serif;
    font-size: 2.5em;
    animation: fadeIn 1s ease-in-out;
}

.what-we-do h2 {
    max-width: 900px;
    display: flex;
    gap: 2em;
    margin: 0 auto;
    padding: 1rem;
    text-align: justify;
    font-family: 'sk-modernit', sans-serif;
    font-size: 2.5em;
    animation: fadeIn 1s ease-in-out;
}

.what-we-do p {
    text-align: justify;
    font-size: 1.5em;
    line-height: 1.6;
    color: #000000;
    padding-top: 3%;
    font-family: 'sk-modernit', sans-serif;
}

.services{
    max-width: 50%;
    margin: 0 auto;
    padding: 2rem;
    font-size: 1.4em;
    border-radius: 10px;
    font-family: 'sk-modernit', sans-serif;
    transition: transform 0.3s ease;
}
 .data {
    color: #003366;
    
    
    display: block;
    font-size: 0.9em;
    margin-bottom: 1rem;
    padding: 2rem;
    border-left: 4px solid #02df9c;
    background-color: #ffffff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.speech {
    color: #003366;
    display: block;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding: 2rem;
    border-left: 4px solid #02df9c;
    background-color: #ffffff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.computer {
    color: #003366;
    display: block;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding: 2rem;
    border-left: 4px solid #02df9c;
    background-color: #ffffff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ai {
    color: #003366;
    display: block;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding: 2rem;
    border-left: 4px solid #02df9c;
    background-color: #ffffff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.content {
    color: #003366;
    display: block;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding: 2rem;
    border-left: 4px solid #02df9c;
    background-color: #ffffff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-list{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.LLM {
    color: #003366;
    display: block;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding: 2rem;
    border-left: 4px solid #02df9c;
    background-color: #ffffff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.container .gif-about {
    width: 100%;
    height: auto;
    max-width: 800px;
    margin: 0 auto;
    display: block;
    animation: fadeIn 1s ease-in-out;
    border-radius: 20px;
}
.content-with-image  {
    display: flex;
    flex-wrap: nowrap;
    
    align-items: center;
    justify-content: center;
    opacity: 100;
    animation: fadeUp 1s ease forwards;
    transform: translateY(40px);
    max-width: 100%;
    
    margin-top: 1rem;
}

.content-with-image p {
    text-align: center;
    font-size: 0.9em;
    line-height: 1.4;
    color: #000000;
    
    font-family: 'sk-modernit', sans-serif;
}

.content-with-image img {
    width: 500px;
    height: auto;
    border-radius: 30px;
    flex-shrink: 0;
    box-shadow: 10px 10px 15px rgba(2, 2, 2, 0.13);
    transition: transform 0.3s ease;
    
}

.content-with-image .text {
    flex: 1;
    min-width: 250px;
    font-size: 1.6em;
    color: #000000;
    line-height: 1.6;
    max-width: 40%;
    font-family: 'sk-modernit', sans-serif;
}



.our-team p {
    text-align: center;
    font-size: 1.1em;
    color: #01284e;
    margin-bottom: 1rem;
    font-family: 'sk-modernit', sans-serif;
    max-width: 70%;
}
.our-team-tow {
    
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    align-items: center;
    width: 100%;
    margin-top: 1rem;
    flex-direction: row-reverse;
    max-width: 80%;

}

.our-team .our-team-tow p {
    text-align: center;
    font-size: 1.1em;
    color: #01284e;
    margin-bottom: 1rem;
    font-family: 'sk-modernit', sans-serif;
    max-width: 60%;
}

.our-team-tow img {
    width: 500px;
    height: auto;
    border-radius: 30px;
    flex-shrink: 0;
    box-shadow: 10px 10px 15px rgba(2, 2, 2, 0.13);

}


.our-team-tow .text {
    flex: 1;
    min-width: 250px;
    font-size: 25px;
    color: #000000;
    line-height: 1.6;
    max-width: 50%;
    font-family: 'sk-modernit', sans-serif;
}

.our-team-tow p {
    text-align: center;
    font-size: 0.9em;
    line-height: 1.4;
    color: #000000;
    
    font-family: 'sk-modernit', sans-serif;
} 




.our-team-three {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    align-items: center;
    opacity: 100;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
    width: 100%;
    margin-top: 1rem;
    max-width: 100%;
      display: flex;
  flex-wrap: nowrap;
  /* Menor espacio entre imagen y texto */
  align-items: center;
  justify-content: center;
  
  margin-top: 1rem;
  
  
  /* Menor espacio entre imagen y texto */
  align-items: center;
  justify-content: center;
  width: 100%;
  
  padding: 0 15rem;
    
}
.our-team-three {
  padding: 0 10%;
}

@media (max-width: 768px) {
  .our-team-three {
    padding: 0 1rem;
  }
}


.our-team-three img {
    width: 500px;
    height: auto;
    border-radius: 30px;
    
     box-shadow: 10px 10px 15px rgba(2, 2, 2, 0.13);
    max-width: 100%;
    
    }

.our-team-three .text {
    flex: 1;
    min-width: 250px;
    font-size: 1.5em;
    
    color: #000000;
    line-height: 1.6;
    max-width: 100%;
    font-family: 'sk-modernit', sans-serif;

}
.our-team .our-team-three p {
    text-align: center;
    font-size: 1.3em;
    color: #01284e;
    margin-bottom: 1rem;
    font-family: 'sk-modernit', sans-serif;
    max-width: 50%
}




.precision {
    color: #003366;
    display: block;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border-left: 4px solid #02df9c;
    background-color: #f4f4f5;
    border-radius: 5px;
    transition: background-color 0.3s ease;
 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.Transparency {
    color: #003366;
    display: block;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border-left: 4px solid #02df9c;
    background-color: #f4f4f5;
    border-radius: 5px;
    transition: background-color 0.5s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);


}

.Partners {
    color: #003366;
    display: block;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border-left: 4px solid #02df9c;
    background-color: #f4f4f5;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}


.integrity {
    color: #003366;
    
    display: block;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border-left: 4px solid #02df9c;
    background-color: #f4f4f5;
    border-radius: 5px;
    transition: background-color 0.3s ease;
 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px 20px;

    
}

.values-list {
    

    display: flex;
    
    justify-content: center;
    gap: 40px;
    padding: 50px;
  
  
}

.quality-commitment {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    font-size: 1.4em;
    line-height: 1.4;
    color: #000000;
    font-family: 'sk-modernit', sans-serif;
   animation: fadeIn 1s ease-in-out;

}

/* --- PIE DE PÁGINA (Footer) --- */
.footer {
  background-color: #000e2e;
  color: #fffefe;
  font-family: 'Segoe UI', sans-serif;
  padding: 40px 20px 10px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 20px auto;
  animation: fadeIn 1s ease-in-out;
}

.footer-col {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-col h3 {
  color: #02df9c;
  margin-bottom: 10px;
  font-size: 18px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #ffffff;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
   color: #02df9c;
  text-decoration: underline;
}

.footer-logo {
  width: 140px;
  margin-bottom: 10px;
}

.footer-col p, .footer-col a {
  font-size: 14px;
  color: #ffffff;
}

.footer-col a:hover {
 color: #02df9c;

}

.social-icons a img {
  width: 24px;
  margin-right: 12px;
  transition: transform 0.3s;
}

.social-icons a:hover img {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  color: #777;
  border-top: 1px solid #333;
  padding-top: 15px;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
  }

  .nav-link {
    padding: 10px 0;
  }

  video {
    max-width: 100%;
    border-radius: 15px;
  }

  .who-we-are h2,
  .what-we-do h2,
  .what-we-do p {
    font-size: 1.4rem;
    text-align: center;
    padding: 1rem;
  }

  .services {
    max-width: 100%;
    padding: 1rem;
    font-size: 1rem;
  }

  .values-list {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }

  .content-with-image,
  .our-team-tow,
  .our-team-three {
    flex-direction: column;
    text-align: center;
  }

  .content-with-image img,
  .our-team-tow img,
  .our-team-three img {
    width: 100%;
    max-width: 400px;
  }

  .content-with-image .text,
  .our-team-tow .text,
  .our-team-three .text {
    font-size: 1.1rem;
    padding: 1rem;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-col {
    margin-bottom: 1.5rem;
  }

  .social-icons {
    justify-content: center;
  }
}


/* BOTÓN DE MENÚ HAMBURGUESA */
.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
  margin-left: auto;
}

/* MENÚ OCULTO EN MÓVIL */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    gap: 0;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-link {
    padding: 1rem;
    border-bottom: 1px solid #eee;
  }
}
@media (max-width: 768px) {
  .navbar img {
    max-width: 400px;
    margin-bottom: 10px;
  }
}

.navbar img {
  max-width: 400px;
  height: auto;
  object-fit: contain;
}

