/* ================================
   FAQ Block
   ================================ */
.nhfaq {
  display: flex;
  gap: 40px;
  margin-top: 100px;
}

.nhfaq__left {
  flex-basis: 768px;
}

.nhfaq__image {
  flex-basis: 390px;
}

.nhfaq__image img {
  border-radius: 15px;
  max-width: 100%;
  height: auto;
}

.nhfaq_title {
  padding: 30px 34px;
  margin-bottom: 24px;
  border-radius: 15px;
  line-height: 130%;
  font-weight: 700;
  background: var(--gradients);
  color: white;
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: var(--backgrounds);
  border-radius: 15px;
  min-height: 77px;
  padding: 24px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  color: white;

  /* Add transition only for padding */
  transition: padding 0.3s ease;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  font-family: "Jost", serif;
}

.faq-toggle-symbol {
  font-weight: bold;
  margin-left: 10px;
  font-size: 32px;
  color: #bfd9d4;
}

.faq-answer {
  display: none;
  padding-top: 0;
}

.faq-answer p {
  font-weight: 400;
  line-height: 1.4;
  font-family: "Inter", serif;
}

.faq-item.open {
  padding-bottom: 40px;
}

.faq-item.open .faq-answer {
  display: block;
  padding-top: 15px;
}

.faq-item.open .faq-toggle-symbol {
  content: "-";
}

/* ================================
   FAQ Block Responsive
   ================================ */

@media (max-width: 992px) {
  .nhfaq {
    flex-direction: column;
    gap: 30px;
    margin-top: 60px;
  }

  .nhfaq__left {
    flex-basis: 100%;
  }

  .nhfaq__image {
    flex-basis: 100%;
    max-width: 100%;
  }

  .nhfaq__image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
  }

  .nhfaq_title {
    padding: 24px 20px;
    font-size: 1.5rem;
  }

  .faq-item {
    padding: 18px 20px;
    min-height: auto;
  }

  .faq-question h4 {
    font-size: 1rem;
  }

  .faq-toggle-symbol {
    font-size: 28px;
  }

  .faq-answer p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .nhfaq_title {
    font-size: 1.3rem;
    padding: 18px 15px;
  }

  .faq-question h4 {
    font-size: 0.95rem;
  }

  .faq-toggle-symbol {
    font-size: 24px;
  }

  .faq-answer p {
    font-size: 0.85rem;
  }

  .faq-item.open {
    padding-bottom: 30px;
  }
}
