/* ===== FAQ ===== */
.faq {
  padding-bottom: 60px;
  background-color: var(--primary-background);
}

/* header */
.faq .faq__header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 25px;
  padding-left: 15px;
  padding-right: 15px;
}

.faq .faq__title {
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-black);
}

.faq .faq__title span {
  color: var(--primary-color);
}

.faq .faq__subtitle {
  color: #404963;
  font-size: 16px;
}

/* list */
.faq .faq__list {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 30px;
}

/* item */
.faq .faq__item {
  border: 2px solid #f5f5f8;
  border-radius: 16px;
  margin-bottom: 24px;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* active border */
.faq .faq__item.active {
  border-color: var(--primary-color);
  box-shadow: 0 4px 20px rgba(108, 59, 255, 0.08);
}

/* question */
.faq .faq__question {
  width: 100%;
  padding: 24px 30px;
  background-color: var(--primary-background);
  border: none;
  outline: none;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  cursor: pointer;
  gap: 5px;
}

/* icon */
.faq .faq__item i {
  transition: all 0.3s ease;
}

/* rotate when active */
.faq .faq__item.active i {
  transform: rotate(180deg);
}

/* answer */
.faq .faq__answer {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
  padding: 0 30px;
}

.faq .faq__answer p {
  padding-bottom: 30px;
  font-size: 16px;
  color: #222222;
}

/* Responsive */
@media (max-width: 991px) {
  .faq {
    padding-bottom: 40px;
  }

  .faq .faq__title {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .faq {
    padding-bottom: 30px;
  }

  .faq .faq__title {
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  .faq {
    padding-bottom: 20px;
  }

  .faq .faq__title {
    font-size: 26px;
  }

  .faq .faq__item {
    margin-bottom: 15px;
  }
  
}
