/* Animación de deslizamiento */
@keyframes slideIn {
    0% {
      max-height: 0;
      opacity: 0;
    }
    100% {
      max-height: 500px;  /* Ajusta según el contenido */
      opacity: 1;
    }
  }
  
  .faq-item {
    margin-bottom: 15px;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
  }
  
  .faq-question {
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
  }
  
  .faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
  }
  
  .faq-item.active .faq-answer {
    animation: slideIn 0.5s forwards;  /* Animación al abrir la respuesta */
  }
  
  .faq-item.active {
    background-color: #84bbdf;  /* Color de fondo al abrir */
  }
  
  /* Estilos de la sección FAQ */
  .faq-section {
    margin: 50px 0;
  }
  
  .faq-section h2 {
    text-align: center;
    font-size: 2em;
    color: #333;
  }
  
  .faq-item {
    cursor: pointer;
  }
  
  .faq-item p {
    padding: 10px;
  }
  