* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:roo {
  scroll-behavior: smooth;
}
body {
  font-family: sans-serif;
}
.contenedor {
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  margin: auto;
  padding: 60px 0;
}
/* Estilos para la sección de Aliados Estratégicos */
#aliados {
  padding: 1px 0 50px;
}
/* Estilos para la sección de Cursos con marco rojo */
.contenedor-curso {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.curso-card {
    background: #1a1a2e;
    border-radius: 15px;
    border: 1px solid #e74c3c; /* Borde rojo */
    padding: 35px;
    max-width: 700px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.curso-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(231, 76, 60, 0.25); /* Sombra roja al pasar el mouse */
}

.curso-card .curso-titulo {
    font-size: 2.2rem;
    color: #ff7675; /* Tono de rojo más claro para el título */
    margin-bottom: 15px;
}

.curso-card .curso-descripcion {
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.contenedor-aliado {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.aliado-card {
  background: #1a1a2e; /* Un poco más claro que el fondo */
  border-radius: 15px;
  border: 1px solid #a3aeeb;
  padding: 30px;
  max-width: 700px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.aliado-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(163, 174, 235, 0.2);
}

.aliado-info .aliado-nombre {
  font-size: 2.2rem;
  color: #a3aeeb;
  margin-bottom: 15px;
}

.aliado-info .aliado-descripcion {
  color: white;
  font-size: 1.1rem;
  line-height: 1.6;
}

.aliado-logo-container {
  margin-top: 25px;
}

.aliado-logo {
  max-width: 200px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(163, 174, 235, 0.5));
}

.myButton {
  color: rgb(255, 255, 255);
  font-size: 25px;
  line-height: 25px;
  padding: 11px;
  border-radius: 16px;
  font-family: Georgia, serif;
  font-weight: normal;
  text-decoration: none;
  font-style: normal;
  font-variant: normal;
  text-transform: none;
  background-image: linear-gradient(
    to right,
    rgb(100, 5, 5) 0%,
    rgb(33, 7, 2) 50%,
    rgb(49, 2, 2) 100%
  );
  box-shadow: rgb(0, 0, 0) 5px 5px 15px 5px;
  border: 2px solid rgb(80, 4, 4);
  display: inline-block;
}
.myButton:hover {
  background: #820303;
}
.myButton:active {
  background: #144e75;
}
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4); /* Sombra/glow rojo */
}

/* --- Mini-Formulario de Contacto Rápido --- */
#contacto-rapido {
    padding: 40px 0;
}

#contacto-rapido .subtitulo {
    margin-bottom: 15px;
}

#contacto-rapido p {
    margin-bottom: 30px;
}

.mini-form {
    max-width: 700px;
    margin: 0 auto;
    background: #1a1a2e;
    padding: 35px;
    border-radius: 15px;
    border: 1px solid #a3aeeb;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.mini-form input[type="text"],
.mini-form input[type="email"],
.mini-form textarea {
    width: 100%;
    padding: 15px;
    background-color: #0f0e17;
    border: 1px solid #555;
    color: #ffffff;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Source Sans Pro', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.mini-form input::placeholder,
.mini-form textarea::placeholder {
    color: rgba(163, 174, 235, 0.6);
}

.mini-form input:focus,
.mini-form textarea:focus {
    outline: none;
    border-color: #a3aeeb;
    box-shadow: 0 0 8px rgba(163, 174, 235, 0.3);
}

.mini-form textarea {
    resize: vertical;
    min-height: 120px;
}

.mini-form .myButton {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    transition: background-color 0.3s, transform 0.3s;
}

.mini-form .myButton:hover {
    background-color: #8e9ad6;
    transform: translateY(-2px);
}


header {
  height: 100vh;
  background-image: linear-gradient(
      to top,
      rgba(34, 48, 65, 0.459) 0%,
      rgba(108, 129, 145, 0.466) 100%
    ),
    url(../imagen/portada/xps-dpbXgTh0Lac-unsplash.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

.head {
  /* text-align: center;*/
  padding: 0;
  height: 91%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-shadow: 1px 1px 1px rgb(177, 175, 190);
}
.servicam {
  width: 120px;
  height: 120px;
}
.tec {
  display: flex;
  font-size: 25px;
  font-weight: 300;
  text-shadow: 1px 1px 5px black;
  height: 5%;
}
.hamburgesa {
  position: fixed;
  top: 30px;
  right: 30px;
  background: #fff;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
}
.menu_navegacion {
  position: fixed;
  top: 0;
  right: 0;
  width: 30vw;
  height: 100%;
  background-image: linear-gradient(to top, #09203fe0 0%, #537895d8 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  transition: transform 0.3s ease-in-out;
  transform: translate(110%);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
}
.spread {
  transform: translate(0);
}

.menu_navegacion a {
  color: #fff;
  text-decoration: none;
}
.titulo {
  font-size: 50px;
  margin-bottom: 10px;
}
/*Nuestro servicio*/
.subtitulo {
  text-align: center;
  font-weight: 300;
  color: #a3aeeb;
  margin-bottom: 20px;
  font-size: 30px;
}
.contenedor-servicio {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}
.contenedor-servicio img {
  width: 25%;
  margin-bottom: 15px;
}
.checklist-servicio {
  width: 40%;
}
.service {
  margin-bottom: 20px;
}
.n-service {
  margin-bottom: 7px;
  color: #a3aeeb;
}
.number {
  display: inline-block;
  background-image: linear-gradient(to top, #30cfd0 0%, #33086777 100%);
  width: 30px;
  height: 30px;
  color: #fff;
  text-align: center;
  border-radius: 50%;
  font-weight: 700;
  line-height: 30px;
  margin-right: 5px;
}
.gallery {
  background-color: #423f3f2c;
}
.contenedor-galeria {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}
.img-galeria {
  object-fit: cover;
  width: 20%;
  display: block;
  margin-bottom: 15px;
  margin-right: 1px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.gsa {
  text-align: center;
  font-weight: 300;
  color: #a3aeeb;
  margin-bottom: 5px;
}
.imagen-light {
  position: fixed;
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate(100%);
  transition: transform 0.2s ease-in-out;
}
.show {
  transform: translate(0);
}
.agregar-imagen {
  object-fit: cover;
  width: 45%;
  border-radius: 10px;
  transform: scale(0);
  transition: transform 0.3s 0.2s;
}
.showImage {
  transform: scale(1);
}
.close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  cursor: pointer;
}
.experts {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}
.cont-expert {
  width: 25%;
  text-align: center;
  margin-bottom: 5px;
  cursor: pointer;
}
.cont-expert img {
  width: 60%;
  display: block;
  margin: auto;
  border-radius: 20%;
}
.n-expert {
  display: inline-block;
  margin-top: 20px;
  width: 100%;
  font-weight: 500;
  margin-bottom: 10px;
}
/* footer */
footer {
  background-image: linear-gradient(
    -225deg,
    #ff3cac 0%,
    #562b7c 52%,
    #2b86c5 100%
  );
  padding-bottom: 0.1px;
}

.footer-content {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 60px;
  padding-bottom: 40px;
}

.contact-us {
  width: 40%;
  color: #fff;
}
.brand {
  font-weight: 500;
  font-size: 40px;
}
.brand img {
  margin-bottom: 1px;
  display: flex;
  width: 25%;
}
.brand + p {
  font-weight: 500;
  text-align: left;
}
.social-media {
  width: 50%;
  display: flex;
  justify-content: flex-end;
}
.social-media-icon {
  display: inline-block;
  margin-left: 20px;
  width: 60px;
  height: 60px;
  border: 1px solid #fff;
  border-radius: 50%;
  text-align: center;
  color: #fff;
}
.social-media-icon:hover {
  background: #fff;
  color: #764ba2;
}
.social-media-icon i {
  font-size: 30px;
  line-height: 60px;
}
.line {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  height: 2px;
  background: #fff;
  margin-bottom: 60px;
}
.boton {
  text-decoration: none;
  padding: 10px;
  font-weight: 600;
  font-size: 20px;
  color: #ffffff;
  background-color: #1883ba;
  border-radius: 6px;
  border: 2px solid #0016b0;
}
.boton:hover {
  color: #1883ba;
  background-color: #ffffff;
}
@media screen and (max-width: 800px) {
  .menu_navegacion {
    width: 50vw;
  }
  .titulo {
    font-size: 40px;
  }
  .contenedor-servicio img {
    width: 80%;
    margin-bottom: 40px;
  }
  .checklist-servicio {
    width: 80%;
  }
  .service {
    margin-bottom: 30px;
  }
  .agregar-imagen {
    width: 80%;
  }
  .img-galeria {
    width: 45%;
  }
  .cont-expert {
    width: 45%;
  }
  .footer-content {
    justify-content: center;
  }
  .social-media {
    width: 80%;
    justify-content: space-evenly;
  }
  .social-media-icon {
    margin-left: 0;
  }
  .social-media i {
    margin-left: 0%;
  }
  .contact-us {
    width: 80%;
    margin-bottom: 40px;
  }
  .boton {
    text-decoration: none;
    padding: 5px;
    font-weight: 100;
    font-size: 15px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
  }
  .boton:hover {
    color: #1883ba;
    background-color: #ffffff;
  }
}

@media screen and (max-width: 500px) {
  .menu_navegacion {
    width: 65vw;
  }
  .agregar-imagen {
    width: 90%;
  }
  .hamburgesa {
    top: 20px;
    right: 20px;
  }
  .titulo {
    font-size: 30px;
  }
  .subtitulo {
    font-size: 30px;
  }
  .img-galeria {
    width: 95%;
  }
  .social-media {
    width: 100%;
  }
  .contact-us {
    width: 90%;
  }
  .cont-expert {
    width: 45%;
  }
  .n-expert {
    font-size: 15px;
  }

  .boton {
    text-decoration: none;
    padding: 5px;
    font-weight: 100;
    font-size: 15px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
  }
  .boton:hover {
    color: #1883ba;
    background-color: #ffffff;
  }
}
