* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Quicksand", sans-serif;
}
body {
  background-color: #062735;
}
strong {
  font-family: inherit;
}
#spinner-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #00496b;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 1s ease-out, visibility 1s ease-out;
}

#spinner-container.fade-out {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  position: absolute;
  width: 9px;
  height: 9px;
}

.spinner div {
  position: absolute;
  width: 50%;
  height: 150%;
  background: #bddb6b;
  transform: rotate(calc(var(--rotation) * 1deg))
    translate(0, calc(var(--translation) * 1%));
  animation: spinner-fzua35 1s calc(var(--delay) * 1s) infinite ease;
}

.spinner div:nth-child(1) {
  --delay: 0.1;
  --rotation: 36;
  --translation: 150;
}

.spinner div:nth-child(2) {
  --delay: 0.2;
  --rotation: 72;
  --translation: 150;
}

.spinner div:nth-child(3) {
  --delay: 0.3;
  --rotation: 108;
  --translation: 150;
}

.spinner div:nth-child(4) {
  --delay: 0.4;
  --rotation: 144;
  --translation: 150;
}

.spinner div:nth-child(5) {
  --delay: 0.5;
  --rotation: 180;
  --translation: 150;
}

.spinner div:nth-child(6) {
  --delay: 0.6;
  --rotation: 216;
  --translation: 150;
}

.spinner div:nth-child(7) {
  --delay: 0.7;
  --rotation: 252;
  --translation: 150;
}

.spinner div:nth-child(8) {
  --delay: 0.8;
  --rotation: 288;
  --translation: 150;
}

.spinner div:nth-child(9) {
  --delay: 0.9;
  --rotation: 324;
  --translation: 150;
}

.spinner div:nth-child(10) {
  --delay: 1;
  --rotation: 360;
  --translation: 150;
}

@keyframes spinner-fzua35 {
  0%,
  10%,
  20%,
  30%,
  50%,
  60%,
  70%,
  80%,
  90%,
  100% {
    transform: rotate(calc(var(--rotation) * 1deg))
      translate(0, calc(var(--translation) * 1%));
  }

  50% {
    transform: rotate(calc(var(--rotation) * 1deg))
      translate(0, calc(var(--translation) * 1.5%));
  }
}
#contenido {
  display: none;
  padding: 20px;
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.header {
  width: 100%;
  height: 70px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 9999999;
  background: #062735;
  background: linear-gradient(90deg, #06273594 10%, #ffffff3f 100%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);

  transition: background-color 0.5s ease-in-out; /* Transición suave */
}

.header.scrolled {
  background-color: #062735; /* Fondo sólido cuando se haga scroll */
}
.header-logo {
  width: 150px;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.header-logo a {
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.header-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.header-nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #00111d00;
  margin: 0;
  padding: 0;
}
.nav-link {
  display: block;
  padding: 0rem;
}
.header-nav ul {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.header-nav li {
  list-style: none;
  font-size: 1rem;
  font-weight: 700;
  color: white;
}
.header-nav li:hover {
  color: #bddb6b;
}
.header-nav a {
  color: white;
  text-decoration: none;
  transition: 0.5s;
}
.header-nav a:hover {
  color: #bddb6b;
}
.bottom-nav {
  display: none;
}
.parallax-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* más que 100% para permitir el desplazamiento */
  background-size: cover;
  background-position: top;
  transform: translateY(0);
  z-index: -1;
  will-change: transform;
}

.section-content {
  position: relative;
  z-index: 2;
  padding: 50px;
  color: white;
}

.principal,
.terciary,
.fourth {
  position: relative;
  overflow: hidden;
}
.principal-title,
.terciary-title,
.fourth-content {
  position: relative;
  z-index: 1;
}
.principal .parallax-bg {
  background-image: url("");
}

.terciary .parallax-bg {
  background-image: url("/assets/image/terciary-fondo.jpg");
}

.fourth .parallax-bg {
  background-image: url("https://dl.dropboxusercontent.com/scl/fi/izvns0acp0ef70neokdv7/pexels-quintingellar-696205.jpg?rlkey=awfyovhvjwaxjlmt43kt2nbf7&st=2pfd2gz9&");
}

.principal {
  width: 100%;
  height: 100vh;
  background: #2a7b9b;
  background: linear-gradient(
    90deg,
    #01233100 0%,
    #004e2100 50%,
    #000000b0 100%
  );
}


#auth-container * {
    box-sizing: border-box;
}

#auth-container {
    background-color: #FFFFFF;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .25), 0 10px 10px rgba(0, 0, 0, .22);
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 100%;
    font-family: 'Poppins', sans-serif;
}

#auth-container h1 {
    font-weight: 600;
    margin: 0;
}

#auth-container h2 {
    text-align: center;
}

#auth-container p {
    font-size: .85rem;
    font-weight: 200;
    line-height: 1.25rem;
    letter-spacing: 0.5px;
    margin: 20px 0 30px;
}

#auth-container span {
    font-size: .75rem;
}

#auth-container a {
    color: #333333;
    font-size: .85rem;
    text-decoration: none;
    margin: 15px 0;
}

#auth-container button {
    border-radius: 20px;
    border: 1px solid #00496b;
    background-color: #00496b;
    color: #FFFFFF;
    font-size: .75rem;
    font-weight: 500;
    padding: 0.75rem 2.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all .25s ease-in;
    cursor: pointer;
}
#auth-container button:hover {
    background-color: #006696;
}
#auth-container button:active {
    transform: scale(.95);
}
#auth-container button:focus {
    outline: none;
}
#auth-container button.ghost {
    background-color: transparent;
    border-color: #FFFFFF;
}

#auth-container form {
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 50px;
    height: 100%;
    text-align: center;
}

#auth-container input {
    background-color: #EEEEEE;
    border: none;
    padding: 12px 15px;
    margin: 8px 0;
    width: 100%;
}

/* Paneles de formulario */
#auth-container .auth-form-panel {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all .5s ease-in-out;
}

#auth-container .auth-login-panel {
    left: 0;
    width: 50%;
    z-index: 2;
}

#auth-container.right-panel-active .auth-login-panel {
    transform: translateX(100%);
}
.auth-login-panel i{
  font-size: 2.5rem;
  padding-right: 20px;
}
#auth-container .auth-signup-panel {
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
}
#auth-container.right-panel-active .auth-signup-panel {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
    animation: auth-show .5s;
}
.auth-signup-panel i{
  font-size: 2.5rem;
  padding-right: 20px;
}
@keyframes auth-show {
    0%, 49.99% {
        opacity: 0;
        z-index: 1;
    }
    50%, 100% {
        opacity: 1;
        z-index: 5;
    }
}

/* Redes sociales */
#auth-container .auth-social {
    margin: 20px 0;
}


/* Panel overlay */
#auth-container .auth-overlay-panel {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: all .5s ease-in-out;
    z-index: 100;
}
#auth-container.right-panel-active .auth-overlay-panel {
    transform: translateX(-100%);
}

#auth-container .auth-overlay {
    background: linear-gradient(to right, #0046356c, #00496b6e, #05193760), url(/assets/image/principal.png);
    background-size: cover;
    background-position: 0 0;
    color: #FFFFFF;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: transform .5s ease-in-out;
}
#auth-container.right-panel-active .auth-overlay {
    transform: translateX(50%);
}

#auth-container .auth-overlay-section {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    top: 0;
    height: 100%;
    width: 50%;
    transition: transform .5s ease-in-out;
}

#auth-container .auth-overlay-left {
    transform: translateX(-20%);
}
#auth-container.right-panel-active .auth-overlay-left {
    transform: translateX(0);
}

#auth-container .auth-overlay-right {
    right: 0;
    transform: translateX(0);
}
#auth-container.right-panel-active .auth-overlay-right {
    transform: translateX(20%);
}

/* Responsive */
@media(max-width: 730px) {
    #auth-container h1 {
        font-size: 1.2rem;
    }
}

/* Contenedor principal en dos columnas */
.help-section {
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding: 3rem;
  background-color: #062735;
  color: white;
}

/* Columna izquierda (contenido textual) */
.help-content {
  width: 45%;
  display: flex;
  flex-direction: column;
  min-width: 280px;
}

.help-content h2 {
  font-size: 4rem;
  color: #bddb6b;
}

.help-content p {
  font-size: 1.5rem;
}

.help-content a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
  font-weight: 700;
}
.help-content img {
  width: 500px;
  height: auto;
  object-fit: contain;
}
/* Columna derecha (FAQs) */
.faq-container {
  flex: 1 1 45%;
  min-width: 280px;
}

/* Cada FAQ */
.faq {
  border: 1px solid #6bdb98;
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  background-color: #0c3c47;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 80px; /* asegura que todos los bloques colapsados tengan altura */
  transition: all 0.3s ease;
}

/* Pregunta */
.faq-question {
  padding: 1rem;
  background-color: #062735;
  cursor: pointer;
  font-weight: bold;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1rem;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq.active .faq-question::after {
  content: "-";
}

/* Respuesta con animación */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: 1rem;
}

.faq.active .faq-answer {
  max-height: 200px;
  padding: 1rem;
}

/* Responsive layout */
@media (max-width: 768px) {
  .help-section {
    flex-direction: column;
    padding: 2rem 1rem;
  }

  .faq-container,
  .help-content {
    width: 100%;
  }
}

footer {
  width: 100%;
  height: 250px;
  display: flex;
  padding: 20px;
  padding-left: 10%;
  padding-right: 10%;
  background-color: #062735;
}
.footer-container {
  width: 100%;
  height: 80%;
  margin: 20px;
  background-color: #00aebe00;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social {
  display: flex;
  flex-direction: column;
  color: white;
}
.social {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-icon {
  width: 40px;
  height: 40px;
  background-color: white;
  margin: 10px;
  border-radius: 10px;
  padding: 5px;
  display: flex;
  align-items: center;
}

#btn-back-to-top {
  position: fixed;
  bottom: 120px;
  right: 40px;
  display: none;
  background-color: #062735;
  border-color: #062735;
  border-radius: 50%;
}
/* Estilo del contenedor */
.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* Centrar la lupa */
  padding-left: 20px; /* Sin desplazamiento extra */
}

/* Estilo de la lupa */
.search-icon {
  background: none; /* Sin fondo */
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
}

.search-icon i {
  color: white; /* Color blanco para la lupa */
}

/* Contenedor del input */
.search-input-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

/* Input */
#searchInput {
  width: 0;
  opacity: 0;
  padding: 0;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding-right: 30px; /* Espacio para la equis */
  transition: all 0.3s ease;
}

/* Mostrar input cuando se activa */
#searchInput.active {
  width: 200px;
  opacity: 1;
  padding: 10px;
}

/* Botón de la equis dentro del input */
.clear-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 16px;
  color: #888;
  cursor: pointer;
  display: none;
}

.clear-icon:hover {
  color: #555;
}

/* Contenedor de resultados */
.search-results {
  position: absolute;
  top: 100%; /* Aparecen justo debajo del input */
  left: 20%;
  background-color: white;
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  width: 200px; /* Ajuste según el ancho del input */
  display: none;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra para destacar */
}

.search-results a {
  text-decoration: none;
  display: block;
  padding: 10px;
  color: black;
  border-bottom: 1px solid #eee;
}

.search-results a:hover {
  background-color: #f0f0f0;
}
