body {
  font-family: Arial, sans-serif;
  background: #fdfdfd;
  color: #222;
  padding: 40px;
}

.faq-container {
  max-width: 700px;
  margin: auto;
}

.faq-item {
  border-bottom: 1px solid #ccc;
  padding: 15px 0;
  cursor: pointer;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
}

.faq-question button {
  background: none;
  border: none;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  font-size: 15px;
  color: #555;
  line-height: 1.5;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  opacity: 1;
  margin-top: 10px;
}

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