
/* =========================
   FAQ SECTION
========================= */

.FAQ {
  padding: 80px 0;
  background: #f8f9fb;
}

.faq-wrapper {
  max-width: 900px;
  margin: 40px auto 0;
}

/* FAQ ITEM */

.faq-item {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #d5d5d5;
}

/* QUESTION */

.faq-q {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  padding: 22px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  text-align: left;
}

.faq-q h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
}

/* PLUS / MINUS */

.faq-toggle {
  width: 35px;
  height: 35px;
  min-width: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f1f1;
  color: #222;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
  background: #222;
  color: #fff;
  transform: rotate(180deg);
}

/* ANSWER */

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-a.show {
  grid-template-rows: 1fr;
}

.faq-answer-content {
  overflow: hidden;
  padding: 0 25px;
  color: #666;
  font-size: 15px;
  line-height: 1.7;
  transition: padding 0.35s ease;
}

.faq-a.show .faq-answer-content {
  padding: 0 25px 22px;
}

/* ACTIVE ITEM */

.faq-item.active {
  border-color: #222;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 767px) {
  .FAQ {
    padding: 55px 0;
  }

  .faq-wrapper {
    margin-top: 30px;
  }

  .faq-q {
    padding: 18px;
  }

  .faq-q h4 {
    font-size: 16px;
  }

  .faq-toggle {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 21px;
  }

  .faq-answer-content {
    padding-left: 18px;
    padding-right: 18px;
    font-size: 14px;
  }

  .faq-a.show .faq-answer-content {
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 18px;
  }
}

