html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

body {
  background-color: black;
  color: white;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

#particles-js {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: -1;
}

header {
  display: flex;
  align-items: center;
  padding: 5px 25px;
  background-color: #1a1a1a;
  position: relative;
  z-index: 1100;
}

.header-content {
  width: 100%;
  display: flex;
  justify-content: space;
  align-items: center;
}

.logo img {
  height: 120px;
  margin-left: 15px;
}

/* 🔹 Menú de escritorio */
.navbar {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

.nav-links a:hover {
  color: #15ff00;
}

.main-menu {
  border-bottom: 2px solid  #15ff00;
  padding-bottom: 3px;
}

/* 🔽 Menú hamburguesa (oculto en escritorio) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  position: fixed;
  right: 20px;
  top: 20px;
  z-index: 1200;
}

.menu-toggle .bar {
  width: 30px;
  height: 4px;
  background-color: white;
  border-radius: 5px;
  transition: 0.3s;
}

/* 🔹 Contenedor del menú móvil */
.mobile-menu-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  display: none;  /* 🔹 Oculto por defecto */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  overflow-y: auto;
}

/* 🔹 Cuando el menú está activo */
.mobile-menu-container.active {
  display: flex;
}
.body-no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* 🔹 Botón de cerrar (X) */
.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
  color: black;
  display: none;
}

.mobile-menu-container.active .close-menu {
  display: block;
}

/* 🔹 Estilos de los enlaces en el menú móvil */
.mobile-nav-links {
  list-style: none;
  text-align: center;
  padding: 0;
}

.mobile-nav-links li {
  margin: 20px 0;
}

.mobile-nav-links a {
  text-decoration: none;
  color: white;
  font-size: 24px;
  font-weight: bold;
}

.mobile-nav-links a:hover {
  color: #15ff00;
}

/* FAQ */
.faq {
  background: transparent;
  padding: 10px 20px;
  text-align: center;
  color: #f1f1f1;
}

.faq-container h2 {
  font-size: 3rem;
  color: #28a745;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.faq-section {
  padding: 60px 20px;
  background-color: transparent /* Color de fondo elegante y moderno */
}

.faq-section .container {
  max-width: 800px;
  margin: 0 auto;
  background: #1a1a1a;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-section h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #28a745;
}

.faq-item {
  border-bottom: 1px solid #28a745;
  padding: 20px 0;
  cursor: pointer;
  transition: background-color 0.3s;
}

.faq-item:hover {
  background-color: #272727;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 1.2em;
}

.faq-answer {
  display: none;
  padding: 15px 0 0 0;
  color: white;
  line-height: 1.6;
  font-size: 1.2em;
}

.faq-item.active .faq-answer {
  display: block;
}

.arrow {
  transition: transform 0.3s;
}

.faq-item.active .arrow {
  transform: rotate(180deg);
}

.cta-section {
  background: linear-gradient(135deg, #000000, #1e1e1e);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  margin: 50px auto;
  max-width: 900px;
  transition: transform 0.3s ease;
}

.cta-section:hover {
  transform: scale(1.01);
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: #28a745;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-btn {
  background: #28a745;
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-btn:hover {
  background: #92fe9d;
  transform: translateY(-2px);
}

.cta-btn.secondary {
  background: #28a745;
}

.cta-btn.secondary:hover {
  background: #92fe9d;
}

.footer {
  background-color: #1a1a1a;
  padding: 20px 40px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.footer-content {
  display: flex;
  justify-content: center;
  width: 100%;
  align-items: center;
}

.footer p {
  margin: 0 20px;
  font-size: 1.1em;
}

.privacy-link {
  color: #28a745;
  text-decoration: none;
  font-weight: bold;
}

.privacy-link:hover {
  text-decoration: underline;
}

.social-icons {
  margin-left: auto;
}

.social-icon {
  display: inline-block;
  margin: 0 10px;
  font-size: 1.8em;
  color: #ffffff;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #00c3ff;
}

.social-icon.facebook:hover {
  color: #3b5998;
}

.social-icon.linkedin:hover {
  color: #0077b5;
}

.social-icon.whatsapp {
  color: #25D366;
}

.copyright {
  margin-right: auto;
  font-size: 1em;
  color: #ffffff;
}


@media (max-width: 867px) {
  /* Header */
  .header-content {
    justify-content: space-between;
    padding: 5px 15px;
  }
  
  .logo img {
    height: 70px;
    margin-left: 0;
  }
  
  /* Menú de navegación */
  .nav-links {
    display: none; /* Ocultar menú en móviles */
    flex-direction: column;
    position: absolute;
    top: 80px;
    right: 0;
    background-color: wheat;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    box-shadow: white;
  }

  .nav-links.active {
    display: flex; /* Mostrar menú cuando esté activo */
  }

  .menu-toggle {
    display: flex;
    position: relative; /* Permite moverlo sin afectar otros elementos */
    top: 1px;
  }
  .menu-toggle.hidden {
    display: none;
  }

  .faq-container h2 { 
    font-size: 2.2rem;
  }
  .faq {
    padding: 10px 10px;
  }

  .faq-section .container {
    padding: 30px 20px;
  }

  .faq-section h2 {
    font-size: 2em;
  }

  .faq-question {
    font-size: 1.1em;
  }

  .faq-answer {
    font-size: 0.95em;
  }

  .cta-section {
    padding: 50px 15px;
    max-width: 90%;
  }

  .cta-section h2 {
    font-size: 2rem;
  }

  .cta-section p {
    font-size: 1.1rem;
    margin-bottom: 25px;
  }

  .cta-buttons {
    gap: 15px;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cta-btn {
    padding: 12px 25px;
    font-size: 0.95rem;
  }

  .footer {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer p {
    margin: 5px 0;
    font-size: 1em;
  }

  .social-icons {
    margin-left: 0;
    margin-top: 10px;
  }

  .copyright {
    margin-right: 0;
    font-size: 0.95em;
  }
}



@media (max-width: 480px) {
  /* Header */
  .logo img {
    height: 60px;
  }
  
  .menu-toggle {
    top: 10px;
  }
  
  .menu-toggle .bar {
    width: 25px;
    height: 3px;
  }

  .faq-container h2 { 
    font-size: 1.8rem;
  }

  .faq {
    padding: 5px;
  }

  .faq-section {
    padding: 40px 10px;
  }

  .faq-section .container {
    padding: 25px 15px;
    border-radius: 8px;
  }

  .faq-section h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .faq-question {
    font-size: 1em;
  }

  .faq-answer {
    font-size: 0.9em;
    line-height: 1.5;
  }

  .arrow {
    font-size: 1.2em;
  }

  .cta-section {
    padding: 40px 10px;
    max-width: 95%;
  }

  .cta-section h2 {
    font-size: 1.6rem;
  }

  .cta-section p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .cta-btn {
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
  }

  .footer {
    padding: 15px;
  }

  .footer-content {
    gap: 15px;
  }

  .footer p {
    font-size: 0.95em;
  }

  .social-icon {
    font-size: 1.5em;
    margin: 0 8px;
  }

  .copyright {
    font-size: 0.9em;
  }
}