﻿/* curva-svg y horizon */

.curva-svg {
  opacity: 0;
}

.curva-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  fill: #fff;
}

.background-container {
  position: absolute;

  bottom: 0px;
  left: 0;

  width: 100%;
  height: 35%;
  overflow: hidden;
  /* Para asegurarse de que los elementos no se desborden */
}

#horizon {
  position: absolute;
  width: 160%;
  height: 45%;
  border-radius: 100%/100%;
  background: #038bff;
  filter: blur(30px);
  left: 50%;
  bottom: -20%;
  margin-left: -80%;
  transform: translateY(0);
  /* Añade esta línea para evitar que el desplazamiento afecte el elemento */
}

#horizon:before {
  content: " ";
  position: absolute;
  width: 81.25%;
  height: 45%;
  border-radius: 100%/100%;
  background: #51afff;
  -webkit-filter: blur(30px);
  opacity: 0.6;
  margin-left: 9.375%;
}

#horizon:after {
  content: " ";
  position: absolute;
  width: 32%;
  height: 20%;
  border-radius: 650px/350px;
  background: #b0daff;
  -webkit-filter: blur(30px);
  opacity: 0.5;
  margin-left: 34%;
}

#horizon .glow {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 100%/100%;
  background: #215496;
  -webkit-filter: blur(200px);
  opacity: 0.7;
  top: -10%;
}

/* texto animado */

.word {
  margin: auto;
  text-shadow: 0 5px 10px rgb(0 0 0 / 25%);
}

/* animations en portada! */
.floating {
  float: left;
  -webkit-animation-name: Floatingx;
  -webkit-animation-duration: 3s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: ease-in-out;
  -moz-animation-name: Floating;
  -moz-animation-duration: 3s;
  -moz-animation-iteration-count: infinite;
  -moz-animation-timing-function: ease-in-out;
  margin-left: 30px;
  margin-top: 5px;
}

@-webkit-keyframes Floatingx {
  from {
    -webkit-transform: translate(0, 0px);
  }

  65% {
    -webkit-transform: translate(0, 15px);
  }

  to {
    -webkit-transform: translate(0, 0px);
  }
}

@-moz-keyframes Floating {
  from {
    -moz-transform: translate(0, 0px);
  }

  65% {
    -moz-transform: translate(0, 15px);
  }

  to {
    -moz-transform: translate(0, 0px);
  }
}

.floating-lg {
  -webkit-animation-name: Floatingx-lg;
  -moz-animation-name: Floating-lg;
}

@-webkit-keyframes Floatingx-lg {
  from {
    -webkit-transform: translate(0, 0px);
  }

  65% {
    -webkit-transform: translate(0, 30px);
  }

  to {
    -webkit-transform: translate(0, 0px);
  }
}

@-moz-keyframes Floating-lg {
  from {
    -moz-transform: translate(0, 0px);
  }

  65% {
    -moz-transform: translate(0, 30px);
  }

  to {
    -moz-transform: translate(0, 0px);
  }
}

.floating-slower {
  -webkit-animation-duration: 7s;
  -moz-animation-duration: 7s;
}

.floating-slow {
  -webkit-animation-duration: 5s;
  -moz-animation-duration: 5s;
}

.floating-medium {
  -webkit-animation-duration: 4s;
  -moz-animation-duration: 4s;
}

.floating-fast {
  -webkit-animation-duration: 3s;
  -moz-animation-duration: 3s;
}

/* fin animations en portada! */

#holder-section {
  position: relative;
  height: 500px;
  /* Ajusta el alto según tus necesidades */
  overflow: hidden;
}

#canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Astral */

/* Color claro u oscuro */
#container_astral {
  background-color: rgba(0, 0, 0, 0.013);
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* Fin Astral */

/* CSS Script-Grid-Waves */

#top {
  position: relative;
}

#cvs {
  opacity: 0;
}

#cvs {
  width: 100%;
  height: auto;
}

#cvs {
  position: absolute;
  z-index: 999;
  width: 100%;
  height: auto;
}

/* CSS Script-Grid-Waves */

/* Estilos específicos para dispositivos móviles y tabletas */
@media (max-width: 768px) {
  .language-selector {
    position: absolute;
    right: 60px;
    /* Ajusta según sea necesario */
    top: 16px;
    /* Ajusta según sea necesario */
    transform: none;
    /* Elimina la traducción vertical */
  }

  .navbar-toggler {
    position: relative;
  }
}

/* Estilos de botones replicados del hero-header */
.nav-buttons {
  display: flex;
  gap: 1rem;
  margin-left: 2rem;
}

/* Navegación - Botones hover mejorados */
.nav-btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 10px 24px;
  border-radius: 25px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.nav-btn-login {
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background-color: transparent;
}

.nav-btn-login:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.nav-btn-signup {
  background: linear-gradient(45deg, #0971fe, #0862d6);
  color: #fff !important;
  border: none;
}

.nav-btn-signup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #0862d6, #0971fe);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.nav-btn-signup:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(9, 113, 254, 0.35);
}

.nav-btn-signup:hover::before {
  opacity: 1;
}

.nav-btn:active {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 991px) {
  .nav-buttons {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
  }
}

/* Footer Styles */
.footerbottom {
  background: transparent;
  position: relative;
  padding: 5px 0 0;
  
}

.footerbox {
  position: relative;
  z-index: 1;
}

.footer-gray-bg {
  position: relative;
}

/* Logo y descripción */
.footer-logo {
  margin-bottom: 1.5rem;
}

.flogo {
  max-width: 160px;
  height: auto;
}

.footer-about {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Títulos de secciones */
.footer-title {
  color: #FFF;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #3a7afe;
}

/* Enlaces y listas */
.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.875rem;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: inline-block;
}

.footer-links a:hover {
  color: #3a7afe;
  transform: translateX(5px);
}

/* Contacto */
/* Footer Contact Styles */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact li i {
    margin-right: 12px;
    color: #3a7afe;
    font-size: 18px;
    min-width: 20px;
    text-align: center;
}

.footer-contact li a,
.footer-contact li span {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact li a:hover {
    color: #3a7afe;
}

@media (max-width: 768px) {
    .footer-contact {
        text-align: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
}

/* Redes sociales */
.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #3a7afe;
  transform: translateY(-3px);
}

/* Footer inferior */
.footer-bottom {
  margin-top: 3rem;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

.legal-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: #3a7afe;
}

/* Responsive */
@media (max-width: 768px) {
  .footlistbg {
    margin-bottom: 2rem;
    text-align: center;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-links {
    justify-content: center;
  }

  .legal-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
  }

  .copyright {
    text-align: center;
  }
}