.faq-item {
  margin-bottom: 0; /* Adjusted to remove gaps */
  width: 100%;
  max-width: 600px; /* Adjust the value as needed */
}

.faq-question {
  cursor: pointer;
  background-color: #9ecfa1;
  color: #354039;
  padding: 10px 40px 10px 10px; /* Added padding-right for the arrow */
  border-radius: 5px;
  position: relative;
}

.faq-question::after {
  content: '\25B6'; /* Unicode for right-pointing triangle */
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 10px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  opacity: 0; /* Initially hidden */
  max-height: 0; /* Initially collapsed */
  overflow: hidden; /* Hide overflow content */
  transition: max-height 0.3s ease, opacity 0.3s ease, margin-bottom 0.3s ease; /* Fade-in animation */
}

.faq-answer.show {
  max-height: 1000px; /* Expand the answer */
  opacity: 1; /* Fade-in when shown */
  margin-bottom: 20px; /* Add margin to create separation */
}

.faq-question.open::after {
  transform: translateY(-50%) rotate(90deg);
}

/* Search bar*/

#faq-search {
  width: calc(100% - 22px); /* Adjust the width as needed */
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

#faq-search:focus {
  outline: none;
  border-color: #9ecfa1;
}

.highlight {
background-color: yellow;
font-weight: bold;
}