/* Reset básico */
* {
  margin: 0;
  padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', sans-serif;
  color: white;
}

.logo {
  display: flex;
  align-items: center;
    margin-right: 0; /* quitar el margen fijo */
  flex: 1;
}

.logo a {
  display: inline-block;
  height: 100%;
}


.logo-img {
  max-height: 50px;
  width: 140px;
  height: auto;
  object-fit: contain;

}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #101828;
  padding: 1rem 2rem;
  flex-wrap: wrap;
    position: sticky;
  padding: 12px;
  top: 0;
   z-index: 1000;
  gap: 20px;
}

.nav-links {
  display: flex;
  gap: 1.9rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
     font-size: 16px;
        position: sticky;
  transition: color 0.3s ease;       
}
.nav-links a:hover {
  color: #FDC700;
}

.lang-btn {
  background-color: #FDC700;
  color: #0d162c;
  padding: 0.3rem 0.8rem;
  border: none;
  border-radius: 5px;
  margin-left: 0rem;
  font-weight: bold;
  cursor: pointer;
  margin-right: 2rem;
      font-family: 'Poppins', sans-serif;

}

.menu-toggle {
  display: none;
  background: none;
  color: white;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
}

.hero {
    display: flex;
  flex-wrap: wrap;
   justify-content: space-between;
  align-items: center;
  background-color:#1E2737 ;
      padding: 35px 10px;

}

.hero-text {
  flex: 1 1 450px;
  max-width: 600px;
      padding: 80px 50px;
         font-family: 'Poppins', sans-serif ;
}

.hero-text h1 {
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.0;
  margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif ;
      padding: 20;
  margin:20;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 1.6rem;
      font-family: 'Poppins', sans-serif ;


}

.cta-btn {
  background-color: #F0B100;
  color: #0d162c;
  padding: 0.8rem 1.5rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight:600;
  font-size:1rem;
        font-family: 'Poppins', sans-serif ;
        width:250px;
        text-decoration: none;
}

.hero-image {
 flex: 0.7;
  text-align: right;
  margin: 0;
  padding: 0;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  }

/* Responsive */
@media (max-width: 768px) {

.hero-text {
  padding: 40x 20px;
}

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-text p{
    font-size: 1rem;
  }

  .cta-btn{
    width: 70%;
    font-size: 1rem;
  }

  .hero-image {
    width: 100%;
 }
   .logo-img {
    max-height: 40px;
  }
}

.acerca-container {
  text-align: center;
  padding: 60px 0px;
  background-color: #f7f9fc;
  animation: fadeInUp 1s ease forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.acerca-container h2 {
  font-size: 2.4em;
  color:#101828;
  margin-bottom: 15px;
          font-family: 'Poppins', sans-serif ;
          font-weight: 400px;
}

.acerca-container p {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1em;
  color: #4a4a4a ;
  line-height: 1.6;
          font-family: 'Poppins', sans-serif ;
          font-weight: 300;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  background-color: #F9FAFB;
           font-family: 'Poppins', sans-serif ;
}

.card {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 40px 20px rgba(0, 0, 0, 0.05);
  width: 280px;
  padding: 0px 2px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 1s ease forwards;
}

.card img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  margin-top: 10px;
  max-width: 100px;
}

.card h3 {
  color: #101828;
  margin-bottom: 10px;
          font-family: 'Poppins', sans-serif ;
                    font-weight: 550;
}

.card p {
  color: #4A5565;
  font-size: 0.95em;
          font-family: 'Poppins', sans-serif ;
          text-align: center;
                    font-weight: 300;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}



/* Animación */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
  }
}

.vision-section {
  background-color: #FDC700;
  text-align: center;
  padding: 60px 20px;
  color: #101828;
  padding: 55px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 1s ease forwards;
}

.vision-section h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
           font-family: 'Poppins', sans-serif ;
           font-weight: 550;
}

.vision-section p {
  max-width: 2000px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  color: #4a4a4a ;
           font-family: 'Poppins', sans-serif ;
           font-weight: 300;

}

/* Responsivo */
@media (max-width: 768px) {
  .vision-section h2 {
    font-size: 1.5rem;
  }

  .vision-section p {
    font-size: 1rem;
  }
}

.infraestructura {
  padding: 30px 20px;
  background-color: #fff;
                background-image: url('images/infra5.jpg'); /* imagen de fondo de la sección */
                    background-size: cover;
                        background-repeat: no-repeat;
}


.infra-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  max-width: 1200px;
  padding: 60px 20px;
}

.infra-text {
  flex: 1;
  padding-right: 40px;
  text-align: left;
           font-family: 'Poppins',sans-serif ;
}

.infra-text h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #101828; 
            font-family: 'Poppins',sans-serif ;
           font-weight: 650;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 1s ease forwards;
}

.infra-text p {
  font-size: 1.1rem;
  color: #606060;
  margin-bottom: 25px;
          transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 2s ease forwards;
  line-height: 1.6;
           font-family: 'Poppins', sans-serif ;
           font-weight: 300;
}

.infra-item {
  display: flex;
  align-items: start;
  background-color: #f8f8f8;
  border-right: 8px solid #ffc107;
  padding: 20px 25px;
  margin-bottom: 20px;
  border-radius: 0px;
          transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 2s ease forwards;
  margin-right: 500px;
           font-family: 'Poppins', sans-serif ;
}

.icon-img {
  width: 36px;
  height: 36px;
  margin-right: 15px;
  flex-shrink: 0;
}

.infra-item h3 {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 5px;
  color: #121f3d;
           font-family: 'Poppins', sans-serif ;
           font-weight: 600;
}

.infra-item p {
  font-size: 0.95em;
  color: #606060;
  margin-left: 1px;
           font-family: 'Poppins', sans-serif ;
           font-weight: 300;

}

/* =======================================
   RESPONSIVE - MÓVILES
   ======================================= */

@media (max-width: 768px) {
  .infra-container {
    flex-direction: column; /* En móviles: vertical */
    text-align: center;
  }

  .infra-text {
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
  }

  .infra-text h2 {
    font-size: 1.6rem;
    margin-left: 0;
  }

  .infra-text h3 {
    font-size: 20px;
  }

  .infra-text p,
  .infra-item {
    margin-left: 0;
    text-align: left;
  }

  .infra-item {
    flex-direction: row;
    margin-right: 10px;
  }

 .infraestructura {
  background-image: url('images/infra5.jpg');
    background-position: bottom center;
    background-size: contain;
    /* Esta línea empuja el contenido hacia arriba, mostrando más fondo en la parte inferior */
    padding-bottom: 230px; /* Ajusta este valor según cuánto espacio quieras */
  }
}

.servicios-section {
      padding: 60px 200px;
      text-align: center;
      background-color: #101828;
      font-family: 'Poppins', sans-serif ;
    }

    .servicios-section h2 {
      font-size: 2.2em;
      margin-bottom: 10px;
              font-family: 'Poppins', sans-serif ;
              font-weight: 620;
                           transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 1s ease forwards;
  color: #ffffff;
    }

    .servicios-section p {
      color: #c0c0c0;
      max-width: 800px;
      margin: 0 auto 40px;
      font-size: 1.1em;
               font-family: 'Poppins', sans-serif ;
               font-weight: 300;
                                                         transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 2s ease forwards;
  line-height: 1.6;
      }

    .servicios-grid {
      display: grid;
      gap: 23px;
      justify-content: center;
              font-family: 'Poppins', sans-serif ;
                              grid-template-columns: repeat(2, 1fr); /* 2 columnas fijas */

                              animation: fadeIn 2s;
  -webkit-animation: fadeIn 2s;
  -moz-animation: fadeIn 2s;
  -o-animation: fadeIn 2s;
  -ms-animation: fadeIn 2s;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-moz-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-webkit-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-o-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-ms-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}


    .servicio {
      background-color: #1E2939;
      padding: 25px;
      border-radius: 12px;
      width: 100%;
      max-width: 592px;
      text-align: left;
      transition: transform 0.3s ease;
      border: 1px solid rgba(245, 255, 255, 0.1);
    }

    .servicio:hover {
      transform: translateY(-5px);
      box-shadow: 0px 0px 1px 1px #FDC700;
    }

    .servicio-img {
      width: 50px;
      height: 50px;
      object-fit: contain;
      margin-bottom: 15px;
    }

    .servicio h3 {
      color: #ffc107;
      margin: 10px 0 5px;
      font-size: 1.2em;
      font-family: 'Poppins', sans-serif ;
      font-weight: 555;
    }

    .servicio p {
      margin: 0;
      font-size: 0.95em;
      color: #b0b8c2;
      font-family: 'Poppins', sans-serif ;
      font-weight: 300;

                                    animation: fadeIn 2s;
  -webkit-animation: fadeIn 2s;
  -moz-animation: fadeIn 2s;
  -o-animation: fadeIn 2s;
  -ms-animation: fadeIn 2s;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-moz-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-webkit-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-o-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-ms-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
    }


/* RESPONSIVE STYLES RESTAURADOS */
@media (max-width: 992px) {
  .servicios-section {
    padding: 60px 40px;
  }

  .servicios-grid {
    grid-template-columns: 1fr;
  }

  .servicio {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .servicios-section h2 {
    font-size: 1.6em;
    margin-bottom: 15px;
  }

  .servicios-section {
    padding: 40px 20px;
  }

.servicios-section p {
font-size: 0.95;
margin-bottom: 30px;
padding: 0px 0px;
}

  .servicio h3 {
    font-size: 1em;
  }
  .servicio p {
    font-size: 0.9em;
  }
}

.consultoria {
  padding: 60px 20px;
  background-color: #f7f7f7;
}

.consultoria-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
  flex: 1 1 400px;
  opacity: 0;
  transform: translateX(0);
  animation-fill-mode: forwards;
}


/* Animación desde la izquierda */
.slide-left {
  animation: slideInLeft 1s ease forwards;
}

/* Animación desde la derecha */
.slide-right {
  animation: slideInRight 1s ease forwards;
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-80px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(80px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
}

.consultoria-text {
  flex: 1 1 400px;
}

.consultoria-text h2 {
  font-size: 2.2rem;
  color: #ffc107;
  margin-bottom: 15px;
        font-family: 'Poppins', sans-serif ;
      font-weight: 605;
}

.consultoria-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #4a4a4a;
        font-family: 'Poppins', sans-serif ;
      font-weight: 300;
}

.consultoria-list {
  list-style: none;
  padding: 0;
}

.consultoria-list li {
  font-size: 1rem;
  color: #1E2939;
  margin-bottom: 10px;
          font-family: 'Poppins', sans-serif ;
      font-weight: 500;
}

.consultoria-image {
  flex: 1 1 400px;
  text-align: center;
  
}

.consultoria-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

}

/* Responsivo */
.consultoria-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.consultoria-text {
  flex: 1 1 400px;
}

.consultoria-text h2 {
  font-size: 2.2rem;
  color: #ffc107;
  margin-bottom: 15px;
        font-family: 'Poppins', sans-serif ;
      font-weight: 605;
}

.consultoria-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #4a4a4a;
        font-family: 'Poppins', sans-serif ;
      font-weight: 300;
}

.consultoria-list {
  list-style: none;
  padding: 0;
}

.consultoria-list li {
  font-size: 1rem;
  color: #1E2939;
  margin-bottom: 10px;
          font-family: 'Poppins', sans-serif ;
      font-weight: 500;
}

#contact-title {
  max-width: 700px; /* Ajusta según diseño */
  margin: 0 auto;
  text-align: center;
  white-space: normal;
}

.contact-section {
  padding: 60px 20px; 
  background-color: #16202F;
  color: white;
  text-align: center;
}

.contact-section h2 {
  font-size: 2rem;
  font-weight: 710;
  margin-bottom: 10px;
            font-family: 'Poppins', sans-serif;
    text-align: center;
}

.contact-section p {
  margin-bottom: 30px;
  font-size: 1rem;
  color: #FFFFFF;
              font-family: 'Poppins', sans-serif ;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 17px;
              font-family: 'Poppins', sans-serif ;
}

.contact-form input,
.contact-form textarea{
  background-color: #364153;
  border: none;
  padding: 15px;
  border-radius: 8px;
  color: white;
  font-size: 1rem;
              font-family: 'Poppins', sans-serif ;
                   border: 1px solid rgba(245, 255, 255, 0.1);
}


.contact-form input:hover{
        transform: translateY(-5px);
      box-shadow: 0px 0px 1px 1px #FDC700;
}

.contact-form textarea:hover{
        transform: translateY(-5px);
      box-shadow: 0px 0px 1px 1px #FDC700;
}

.contact-form button {
  background-color: #fdc700;
  color: #101828;
  padding: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: 'Poppins', sans-serif ;
  font-weight: 600;
  font-size: 1rem;
}

.contact-form button:hover {
    background-color: #F0B100;

}

@media (max-width: 600px) {
  .contact-section h2 {
    font-size: 1.5rem;
  }

  .contact-form {
    padding: 0 10px;
  }
}

/* Estilos del pie de página */
.footer {
  background-color: #101828; /* Color oscuro del fondo (según la imagen) */
  color: oklch(.707 .022 261.325);        /* Color del texto (gris claro) */
  text-align: center;
  padding: 27px 10px;
  font-size: 15px;
            font-family: 'Metrophobic', sans-serif ;
            font-weight: 370;
}

