/* faq-accordion.css */
#faqAccordionContainer {
  width: 80%;
  max-width: 700px;
  margin: 30px auto;
  font-family: 'Helvetica', Arial, sans-serif;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
}

.faqAccordionItem {
  border-bottom: 1px solid #ddd;
}

.faqAccordionTitle {
  background-color: #fff;
  cursor: pointer;
  padding: 18px 35px;
  font-size: 16px;
  position: relative;
  transition: background-color 0.3s ease;
  user-select: none; /* Prevents text selection on click */
}

.faqAccordionTitle:hover {
  background-color: #f0f0f0;
}

/* Plus/Minus icon */
.faqAccordionTitle::before {
  content: '+';
  position: absolute;
  left: 15px;
  font-weight: bold;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.faqAccordionTitle.active::before {
  content: '−';
}

.faqAccordionTitle.active {
  background-color: #007bff;
  color: #fff;
}

.faqAccordionContent {
  padding: 3px 20px;
  background-color: #f9f9f9;
  line-height: 1.6;
  overflow: hidden;
  transition: max-height 0.4s ease;
  max-height: 0; /* Initially hidden */
}

/* Style for the active (open) item */
.faqAccordionTitle.active + .faqAccordionContent {
  max-height: 500px; /* Adjust based on your content needs */
}