.faq_wrapper {
  margin: 0 -20px;
}

.faq_row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.faq_column {
  padding: 0 20px;
}

.ai_based_faq_section .faq_text_column {
  width: 100%;
}

.faq_form_column {
  width: 43%;
}

.ai_based_faq_section .faq_heading h2 {
  font-weight: 700;
  font-size: 36px;
  line-height: normal;
  color: #353535;
  margin-bottom: 10px;
}

.ai_based_faq_section .faq_heading p {
  margin-bottom: 30px;
}

.faq_item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  margin-bottom: 15px;
  padding-bottom: 15px;
}

.faq_item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq_question {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 10px;
}

.faq_icon_wrap {
  width: 32px;
  height: 32px;
  background-color: #ecceb1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.faq_icon {
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}

.faq_item.active .faq_icon {
  transform: rotate(180deg);
}

.faq_text {
  font-weight: 600;
  font-size: 18px;
  line-height: normal;
  color: #353535;
}

.faq_answer {
  display: none;
  border: 1px solid #b5b5b5;
  border-radius: 12px;
  margin-top: 15px;
  padding: 15px;
}

.faq_answer p {
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  color: #353535;
}

.faq_item.faq_active {
  border-bottom: none;
}

.faq_item.faq_active .faq_answer {
  display: block;
}

.faq_form_box {
  background: #ecceb1;
  border-radius: 12px;
  padding: 20px 20px 30px 20px;
}

.faq_form_box .wpforms-container {
  margin: 0 !important;
}

.faq_form_box .wpforms-field {
  margin-bottom: 20px;
  padding: 0 !important;
  overflow: hidden;
}

.faq_form_box .wpforms-field:last-child {
  margin-bottom: 0;
}

.faq_form_box .wpforms-field input,
.faq_form_box .wpforms-field textarea {
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: normal !important;
  color: #696969 !important;
  background: rgba(255, 255, 255, 0.5) !important;
  border: 1px solid #fff !important;
  border-radius: 8px !important;
  height: auto;
  padding: 12px 16px !important;
}

.faq_form_box .wpforms-field input::placeholder,
.faq_form_box .wpforms-field textarea::placeholder {
  font-weight: 400;
  font-size: 16px;
  line-height: normal !important;
  color: #696969 !important;
  opacity: 1 !important;
}

.faq_form_box .wpforms-field textarea {
  display: block;
  height: 130px !important;
  resize: none !important;
}

.faq_form_box .wpforms-submit-container {
  margin-top: 30px !important;
}

.faq_form_box .wpforms-submit-container .wpforms-submit {
  font-weight: 700;
  font-size: 16px;
  line-height: normal;
  color: #363636 !important;
  background: #fff !important;
  border-radius: 12px;
  padding: 14px 10px;
  width: 100%;
  height: auto;
  text-transform: capitalize;
  transition: all 0.3s ease;
}

.faq_form_box .wpforms-submit-container .wpforms-submit:hover {
  color: #fff !important;
  background: #363636 !important;
}

.faq_answer p a {
  text-decoration: underline;
}

@media (max-width: 1199px) {
  .faq_wrapper {
    margin: 0 -10px;
  }

  .faq_column {
    padding: 0 10px;
  }

  .ai_based_faq_section .faq_heading h2 {
    font-size: 30px;
    margin-bottom: 10px;
  }

  .ai_based_faq_section .faq_heading p {
    margin-bottom: 30px;
  }

  .faq_item {
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .faq_icon_wrap {
    width: 28px;
    height: 28px;
  }

  .faq_icon {
    width: 18px;
    height: 18px;
  }

  .faq_text {
    font-size: 17px;
  }

  .faq_answer {
    margin-top: 12px;
    padding: 12px;
  }

  .faq_answer p {
    line-height: 24px;
  }

  .faq_form_box {
    padding: 20px;
  }

  .faq_form_box .wpforms-field {
    margin-bottom: 15px;
  }

  .faq_form_box .wpforms-field input,
  .faq_form_box .wpforms-field textarea {
    padding: 10px 15px !important;
  }

  .faq_form_box .wpforms-field input::placeholder,
  .faq_form_box .wpforms-field textarea::placeholder {
    font-size: 15px;
  }

  .faq_form_box .wpforms-field textarea {
    height: 120px !important;
  }

  .faq_form_box .wpforms-submit-container {
    margin-top: 25px !important;
  }

  .faq_form_box .wpforms-submit-container .wpforms-submit {
    padding: 12px 10px;
  }
}

@media (max-width: 991px) {
  .ai_based_faq_section .faq_heading h2 {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .faq_item {
    margin-bottom: 10px;
    padding-bottom: 10px;
  }

  .faq_question {
    gap: 8px;
  }

  .faq_icon_wrap {
    width: 24px;
    height: 24px;
  }

  .faq_icon {
    width: 16px;
    height: 16px;
  }

  .faq_answer {
    margin-top: 10px;
    padding: 10px;
  }

  .faq_answer p {
    font-size: 15px;
    line-height: 22px;
  }

  .faq_form_box {
    padding: 15px;
  }

  .faq_form_box .wpforms-field textarea {
    height: 110px !important;
  }

  .faq_form_box .wpforms-submit-container {
    margin-top: 20px !important;
  }

  .faq_form_box .wpforms-submit-container .wpforms-submit {
    padding: 10px;
  }
}

@media (max-width: 767px) {
  .faq_wrapper {
    margin: 0;
  }

  .faq_column {
    padding: 0;
  }

  .faq_text_column,
  .faq_form_column {
    width: 100%;
  }

  .ai_based_faq_section .faq_heading h2 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .faq_text {
    font-size: 16px;
  }

  .faq_form_column {
    margin-top: 30px;
  }

  .faq_form_box .wpforms-field textarea {
    height: 100px !important;
  }

  .faq_form_box .wpforms-submit-container {
    margin-top: 15px !important;
  }
}
