html {
    scroll-behavior: smooth;
  }

body {
   font-family: "Alan Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #1f3564;
}

  .iconos{
    color: #172e4a;
    font-size: 45pt;
  }
  .instagram{
    color: #E1306C;
  }
  .facebook{
    color: #3b5998;
  }
  .parrafo{
    color: #525e68;
  }
  .titulo{
    color: #172e4a;
  }
  .titulo-n{
    color: #e6670c;
  }
  .titulo-c{
    color: #0ea79b;
  }
  .titulo-g{
    color: #505e69;
  }
.contenedor{
    width: auto;
    height: 15px;
}
.navbar-expand-lg{
    position: sticky;
    background-color:#fff;
}
.btn1:hover{
    border-style: none;
}
.btn1:focus{
    border-style: none;
    border-color: #525e68;
}

/*botones cajas*/ 
.btnHover {
    width: auto;
    height: auto;
    padding: 30;
    cursor: pointer;
    color: white;
}
.btnHover:hover {
    transition: all .4s;
  }
.imagen {

    display: none; /* inicialmente oculta */

}

/*botones*/ 
.borde{
  border: 2px solid #ccc; /* filo gris */
  border-radius: 12px;
  padding: 20px;
  background: transparent;
  transition: border-color 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  width: 350px;
  height: auto;
}
.borde:hover{
    border: 2px solid #0ea79b;
}
.btn1 {
        color: #bb2518;
    }
.btn1:hover{
            color: #0ea79b;
        }
.btn1:active{
            color: #0ea79b;
        }
.btn2 {
    color: #ffffff;
}
.btn2:hover{
        color: #f5c344;
    }
.btn4 {
    color: #0ea79b;
}
.btn4:hover{
        color: #ffffff;
    }
.btn5 {
    color: #ffffff;
}
.btn5:hover{
        color: #1f3564;
    }
.btn-act{
        color: #f5c344;
    }
.btn-act:hover{
        color: #f5c344;
    }
.btn-act1{
        color: #00a298;
    }
.btn3{
        color: #ffffff;
    }
.btn3:hover{
        color: #f5c344;
    }
.btn-act2{
        color: #0ea79b;
        font-size: 14pt;
    }
.botones:hover{
  color: #525e68;
}
/*boton arriba*/ 
.bi-up{
        font-size: 1.5rem;
        color: white;
    }
#botonArriba{
    position: fixed;
    bottom: 10px;
    right: 20px;
    transition: .2s;
}
.btn-up{
        margin-right: -10px;
        margin-bottom: 10px;
        width: 3rem;
        height: 3rem;
        background-color: #1fb14b;
        border-color: #1fb14b;
    }   
.btn-up:hover{
        width: 3rem;
        height: 3rem;
        background-color: #1f3564;
        border-color: #1f3564;
    }  
.btn-icon{
    padding-top: 7px;
    padding-left: 8px;
    padding-right: 2rem;
    border-radius: 10px 0 0 10px;
    box-shadow: 0 0 .5rem rgba(0, 0, 0, 0.42);
    transition: all .4s;
    }
.btn-icon:hover{
    padding-right: 3rem;
    border-radius: 1rem 0 0 1rem;
    box-shadow: 0 0 .5rem rgba(0, 0, 0, 0.42);
    transition: all .4s;
    }

header {
    position: sticky;
    top: 25px;
    width: 100%;
    background-color: #1fb14b;
    transition: background-color 0.3s ease;
     z-index: 9999;
      }

header.scrolled {
        background-color: rgba(31, 53, 100, 0.9);
      }
   /* scroll moviemintos */
      .box {
        opacity: 0;
        transform: translateY(50px);
        transition: all 0.8s ease-out;
      }
  
      /* Cuando entra en pantalla */
      .box.show {
        opacity: 1;
        transform: translateY(0);
      }
      .superior {
        opacity: 0;
        transform: translateY(-50px);
        transition: all 0.8s ease-out;
      }
  
      /* Cuando entra en pantalla */
      .superior.show {
        opacity: 1;
        transform: translateY(0);
      }
      .caja {
        opacity: 0;
        transform: translateX(-150px);
        transition: all 0.8s ease-out;
      }
      .caja.show {
        opacity: 1;
        transform: translateX(0);
      }
      .derecha{
        opacity: 0;
        transform: translateX(150px);
        transition: all 0.8s ease-out;
      }
      .derecha.show {
        opacity: 1;
        transform: translateX(0);
      } 
/* Hace que las tres líneas del menú hamburguesa sean blancas */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.navbar-toggler {
  border: none;          /* sin borde */
  background-color: transparent; /* fondo transparente */
}

  /* titulos aparece progresivamente */
.spacer {
  height: auto;
}

.scroll-title {
  text-align: center;
  overflow: hidden;
}

/* Palabras */
.word {
  display: inline-block;
  opacity: 0;
  transform: translateX(80px) scaleX(0.8);
  margin-right: 8px;
}

/* Animación activa */
.word.show {
  animation: revealWord 0.8s ease forwards;
}

/* Keyframes tipo TransViator */
@keyframes revealWord {
  0% {
    opacity: 0;
    transform: translateX(80px) scaleX(0.8);
  }
  50% {
    opacity: 1;
    transform: translateX(0px) scaleX(1.1); /* estiramiento */
  }
  70% {
    transform: scaleX(0.95); /* contracción */
  }
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
}

  /* ===== SECCIÓN PARALLAX ===== */
  .parallax {
    top: -70px;
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .parallax img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    transform: translate(-50%, -50%) translateY(0);
    transition: transform 0.1s linear;
    will-change: transform;
  }

  .overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  .contenido-parallax {
    position: relative;
    z-index: 2;
    color: #172e4a;
    font-weight: 100;
    text-align: center;
    padding-left: 160px;
  }

  .contenido-parallax h3 {
    font-size: 2.5rem;
    margin: 0;
  }
/* Efecto al pasar el mouse */
  .tab {
    position: relative;
  }

  .tab:hover {
    color: #f5c344;
  }

  /* Línea inferior animada */
  .tab::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 3px;
    background: #f5c344;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
  }
   .tab:hover::after {
    width: 80%;
  }