/* ================= FAQ SECTION ================= */

.faq-section {
  margin: 15px auto;
  padding: 0;
  font-family: inherit;
}

.faq-header {
  text-align: center;
  margin-bottom: 70px;
  margin-top: 80px;
}

.faq-header h1 {
  text-align: center;
  font-size: clamp(18px, 1.8vw, 25px);
  color: var(--accent);
  margin-bottom: 10px;
}

.faq-header p {
  text-align: center;
  color: #555;
  font-size: clamp(13px, 1.2vw, 14px);
  line-height: 1.9;
  margin-bottom: 40px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.faq-item {
  width: 100%;
  background: #ffffff;
  border-radius: 15px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  margin-bottom: 10px;
}

.faq-item:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  cursor: pointer;
  text-align: right;
}

.faq-question h3 {
  font-family: "IRANYekanWeb", Tahoma, sans-serif;
  margin: 0;
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 600;
  line-height: 1.9;
  color: #333;
}

.faq-question i {
  font-size: clamp(20px, 2.3vw, 23px);
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 22px;
}

.faq-answer p {
  font-size: clamp(13px, 1.4vw, 15px);
  color: #374151;
  line-height: 1.9;
  padding: 0;
}

.faq-category {
  width: 85%;
  margin-bottom: 40px;
}

.item_title {
  width: 80%;
  display: flex;
  flex-direction: column;
  margin-bottom: 25px;
}

.line_header_cat {
  width: 80px;
  height: 2px;
  background: var(--accent);
}

.faq-category-title {
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 700;
  color: var(--accent);
  margin: 10px 0 12px;
}

/* موبایل */
@media (max-width: 768px) {
  .faq-item {
    width: 100%;
  }

  .item_title {
    width: 100%;
  }

  .faq-category {
    width: 100%;
    margin-bottom: 25px;
  }

  .faq-header {
    margin-top: 40px;
  }

  .faq-header p {
    display: inline-block;
    text-align: center;
    width: 80%;
    margin: 0;
  }
  .faq-question {
    gap: 15px;
    align-items: flex-start;
  }
}
