/* .faq {
  padding: 50px 20px;
  direction: rtl;
} */

.faq-title {
  display: flex;
  justify-content: center;
  text-align: center;
}

.faq-title__text {
  font-size: 24px;      
  font-weight: 700;  /* Bold */
}


.faq-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}



/* Accordion */
.accordion__item {
  border-bottom: 1px solid var(--secondary-color-alt5);
  padding: 18px 0;
}

.accordion__item__header {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Question text */
.question-text {
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* Active question color */
.accordion__item.open .question-text {
  color: var(--primary-color);
}

/* Content */
.accordion__item__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion__item__content p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.8;
}

/* Plus icon */
.plus-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.plus-icon::before,
.plus-icon::after {
  content: "";
  position: absolute;
  background-color: var(--black-color);
  transition: 0.3s ease;
}

.plus-icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.plus-icon::after {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

/* Open state ( + → − ) */
.accordion__item.open .plus-icon::after {
  opacity: 0;
}

button:focus {
  outline: none !important;
}
@media (max-width: 768px) {
  .faq-container {
    grid-template-columns: 1fr;
  }
  .question-text{
    font-size: 14px;
  }
  .accordion__item__content p{
    font-size: 12px;
  }
}