/* faq.css */
.faq-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10% 20px;
}

h1 {
  text-align: center;
  margin-bottom: 40px;
}

.accordion-item {
  margin-bottom: 5%;
}

.accordion-button {
  background-color: #f1f1f1;
  border: none;
  padding: 15px;
  text-align: left;
  width: 100%;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.accordion-button:hover {
  background-color: #ddd;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 10px 15px; /* giữ cố định padding */
  margin-top: 0;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.accordion-button.active + .accordion-content {
  max-height: 500px; /* hoặc auto nếu dùng JS tính toán scrollHeight */
  margin-top: 10px;
  opacity: 1;
}

.accordion-content p{
  padding: 0;
  text-align: left;
}
.accordion-button.active {
  background-color: #ccc;
}

footer {
  background-color: #333;
  color: white;
  padding: 20px;
  text-align: center;
  margin-top: 40px;
}

footer .social-media-icons a {
  margin: 0 10px;
  color: white;
  font-size: 24px;
  text-decoration: none;
}
