/* ------------------------------
   GLOBAL WRAPPER (fluid layout)
------------------------------ */
.faq-wrapper {
  /* width: min(900px, 92%); */
  margin: auto;
  font-family: Arial, sans-serif;
}


/* SEARCH BAR BOX */
.faq-search-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

#faqSearch {
  flex: 1;
  padding: 25px 20px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

#faqSearchBtn {
  padding: 0px 20px;
  background: #000;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}

#faqSearchBtn:hover {
  background: #333;
}

/* TABS */
.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.faq-tab {
  flex: 1 1 auto;
  background: #cccccc;
  border: none;
  text-align: center;
  padding: 14px 18px;
  cursor: pointer;
  border-radius: 6px;
  font-size: 16px;
  transition: 0.35s ease;
  opacity: 0.8;
}

.faq-tab.active {
  background: #043F35;
  color: white;
  transform: scale(1.05);
  opacity: 1;
}

.faq-tab:hover {
  background: #126456;
  color: #fff;
}


/* FAQ GROUP FADE TRANSITION */
.faq-group {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.faq-group.active {
  opacity: 1;
  transform: translateY(0px);
}

/* FAQ ACCORDION */
.faq-item {
  margin-bottom: 25px;
}

/* DEFAULT FAQ QUESTION STYLE */
.faq-question {
  width: 100%;
  background: #ffffff;
  /* White background */
  color: #126456;
  padding: 18px;
  font-size: 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;

  border-radius: 8px;
  /* Rounded corners */
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
  /* Soft shadow */
  transition: 0.3s ease;
}

/* HOVER */
.faq-question:hover {
  background: #126456;
  color: #fff;
}

/* ACTIVE (KEEPING YOUR COLORS) */
.faq-question.active {
  background: #126456 !important;
  color: #fff !important;
}

.arrow {
  font-size: 22px;
  transition: 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: white;
  font-size: 18px;
  padding: 0 15px;
  transition: max-height 0.35s ease, padding 0.35s ease;
  margin-top: -8px;
  /* seamless connection to question */
  border-radius: 0 0 8px 8px;
  /* rounded bottom */
}

.faq-answer.open {
  padding: 15px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.07);
  /* subtle inner expansion shadow */
}

/* HIGHLIGHT */
.highlight {
  background: #126456;
  color: #fff;
}