/** Reset **/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
}

html {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/** Header **/
.header {
  background-color: rgba(255, 255, 255, 0.9);
  border-bottom: 0.2rem solid rgb(0, 142, 225);
  height: 80px;
  position: fixed;
  width: 100%;
  z-index: 111;
}
.header__logo {
  width: 150px;
}

/** Utilidades **/
.contenedor {
  margin: auto;
  max-width: 1200px;
  width: 90%;
}

.verticalt--100 {
  height: 100%;
}
.contenedor__flex {
  display: flex;
  list-style: none;
}
.elementos_izqder {
  justify-content: space-between;
}
.elementos__centrarv {
  align-items: center;
}
.elementos__centrarh {
  justify-content: center;
}
.elementos__startv {
  align-items: start;
}
.elementos--gap {
  gap: 3rem;
}
.elementos--gap2 {
  gap: 2rem;
}
.texto--blanco {
  color: white;
}
.texto--azul {
  color: #0a325f;
}
.texto--centrar {
  text-align: center;
}
.texto--jsutificar {
  text-align: justify;
}
.fondo--azul {
  background-color: #0a325f;
}
.elementos--wrap {
  flex-wrap: wrap;
}
.separador {
  padding-top: 80px;
}

/** Navegación **/
.nav {
  height: 60px;
}
.elementos--der {
  justify-content: flex-end;
}
.nav__lista {
  list-style: none;
  font-weight: bold;
}
.nav__enlace:hover {
  border-bottom: 0.15rem solid white;
}

/**btm Modal**/

.btn-contacto {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #0a325f;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-contacto:hover {
  background-color: #124d8b;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal.oculto {
  display: none;
}

.modal-contenido-kotlin {
  position: relative;
  width: 70%;
  height: 70%;
  background-color: #ffffff;
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.modal-cerrar {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 2rem;
  font-weight: bold;
  color: #0a325f;
  cursor: pointer;
  z-index: 2;
}

.iframe-kotlin {
  width: 100%;
  height: 100%;
  border: none;
}


.modal-contenido {
  background-color: white;
  padding: 2rem;
  border-radius: 1rem;
  width: 90%;
  max-width: 500px;
  position: relative;
}

.modal-contenido h2 {
  color: #0a325f;
  margin-bottom: 1rem;
  text-align: center;
}

.modal-contenido input,
.modal-contenido textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.8rem;
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.modal-contenido textarea {
  resize: vertical;
  height: 120px;
}

.modal-cerrar {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #0a325f;
}

.oculto {
  display: none;
}



/** Redes Sociales **/
.logos__redes {
  float: left;
  display: block;
  font-size: 1.5rem;
  width: 45px;
  border: 0rem solid #0a325f;
  border-radius: 30%;
  padding: 0.5rem;
}
.eliminar--espacio2 {
  display: inline;
  margin-left: -50px;
  color: #0a325f;

}

/** Footer **/
.footer {
  font-size: 0.9rem;
  border-top: 2px solid white;
  margin-top: 4rem;
  padding: 2rem 1rem;
}
.footer a {
  color: white;
  margin-left: 1rem;
  transition: 0.3s;
}
.footer a:hover {
  text-decoration: underline;
  color: #ffffff;
}

/** Carrusel de Aplicaciones **/
.card-aplicacion {
  width: 420px;
  height: 500px;
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.5s ease, opacity 0.5s ease;
  position: absolute;
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

.card-aplicacion.visible {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
  pointer-events: auto;
}

.card-aplicacion img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.contenido-aplicacion {
  padding: 1rem;
  text-align: center;
}

.contenido-aplicacion p {
  font-size: 0.9rem;
  margin: 0.5rem 0 1rem;
  color: #333;
}

.btn-vermas {
  background-color: #0a325f;
  color: white;
  padding: 0.9rem 2rem;
  margin-top: 2rem;
  border-radius: 0.7rem;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s, transform 0.2s;
  display: inline-block;
}

.btn-vermas:hover {
  background-color: #124d8b;
  transform: translateY(-2px);
}



.btn-vermas:hover {
  background-color: #124d8b;
}

.selector-aplicaciones {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.selector-aplicaciones::after {
  content: '';
  display: block;
  height: 120px;
}


.contenedor-flechas {
  position: absolute;
  top: 50%;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  transform: translateY(-50%);
  z-index: 3;
}

.flecha {
  font-size: 3rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #0a325f;
  transition: transform 0.2s ease;
}

.flecha:hover {
  transform: scale(1.2);
}

.barra-accesos {
  background-color: #09294a;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.btn-acceso {
  background-color: white;
  color: #0a325f;
  font-weight: bold;
  padding: 0.7rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  display: inline-block;
}

.btn-acceso:hover {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.reto {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.reto h2 {
  color: white;
  margin-bottom: 0.5rem;
}

.reto p {
  color: #e0e0e0;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.btn-unirse {
  background-color: white;
  color: #0a325f;
  padding: 0.8rem 1.8rem;
  border-radius: 0.5rem;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-unirse:hover {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}




/** Responsive **/
@media screen and (max-width: 768px) {
  .contenedor__flex,
  .contenedor__bienvenida {
    flex-direction: column;
    align-items: center;
  }

  .banner__dog {
    position: static;
    width: 100px;
    margin-top: 1rem;
  }

  .bienvenida__conocenos {
    width: 90%;
    text-align: center;
  }

  .nav__lista {
    flex-direction: column;
    align-items: center;
  }

  .header__logo {
    width: 100px;
  }

  .logos__redes {
    width: 35px;
    padding: 0.3rem;
  }

  .eliminar--espacio2 {
    margin-left: 0;
    display: block;
    text-align: center;
  }

  .nav {
    height: auto;
    padding: 1rem 0;
  }

  .btn__contactanos {
    width: 100%;
    box-sizing: border-box;
  }

  .footer {
    font-size: 0.9rem;
    border-top: 2px solid white;
    margin-top: 4rem;
    padding: 2rem 1rem;
  }

  .card-aplicacion {
    width: 90%;
    height: auto;
  }

  .card-aplicacion img {
    height: 200px;
  }
}
