/* Basic styling for FAQ template - adjust to match your theme styles */

.ncs-faq-page-wrap {
  max-width: 824px;
  margin: 80px auto 120px;
}
.faq-page-banner {
  position: relative;
  background-size: cover;
  background-position: center center;
  padding: 80px 0;
}
.faq-page-banner:before {
  content: '';
  background-color: rgba(0, 0, 0, 0.45);
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}
.faq-page-banner .ncs-faq-header {
  position: relative;
  z-index: 1;
}
.ncs-faq-header { text-align: center; margin-bottom: 30px; }
.ncs-faq-subheading { text-transform: uppercase; color: #1A1A1D; margin: 0 0 16px; font-weight: 600;font-size: 16px;line-height: 24px; background-color: #F5F6FC; display: inline-block;padding: 12px 24px; border-radius: 100px;}
.ncs-faq-heading { font-size: 40px; margin: 0 0 20px; color: #FEF8F4; line-height: 1.4; font-weight: 700;}
.ncs-faq-description { color: #FEF8F4; margin: 0 0 32px; font-size: 20px;}

.ncs-faq-content { display: flex; gap: 30px; align-items: flex-start; }
.ncs-faq-left { width: 200px; flex: 0 0 200px; }
.ncs-faq-left-btn {
  display: inline-block;
  background: #0073aa;
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  border-radius: 6px;
}
.ncs-faq-main { flex: 1 1 auto; }

.ncs-faq-search-wrap { margin-bottom: 20px; }
#ncs-faq-search {
  width: 100%;
  border: 0 none !important;
  padding-right: 60px !important;
  padding-left: 20px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  border-radius: 120px !important;
  height: 66px !important;
}
.search-inner-wrapper {
  max-width: 468px;
  position: relative;
  margin-inline: auto;
  border: 1px solid #B3B3B4;
  border-radius: 120px;
  margin-bottom: 56px;
}
.search-icons {
  position: absolute;
    right: 8px;
    background: #F37321;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 8px;
    border-radius: 100px;
}

.ncs-faq-item {
  border: 1px solid #DFE4E8;
  padding: 24px;
  border-radius: 16px;
  margin-bottom: 16px;
}
.ncs-faq-question {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ncs-faq-q-title { font-weight: 600; font-size: 20px; line-height: 30px; }
.ncs-faq-q-toggle {
  width: 26px;
  height: 26px;
  display: flex;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
  align-items: center;
  justify-content: center;
}
.ncs-faq-item.open .ncs-faq-q-toggle { transform: rotate(180deg); }
.ncs-faq-item.open {border-color: #0C1A36;}
.ncs-faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 300ms ease;
}
.ncs-faq-answer-inner { padding: 10px 0 0 0; color: #4C576F; font-size: 18px; line-height: 1.55; }
.ncs-faq-item.open .ncs-faq-answer { max-height: none; }
.ncs-faq-answer-inner * { font-size: inherit; color: #4C576F;}
.ncs-faq-items {
   counter-reset: item-counter;
}
.ncs-faq-items .ncs-faq-item {
  counter-increment: item-counter;
  position: relative;
}
.ncs-faq-items .ncs-faq-item button.ncs-faq-question .ncs-faq-q-title:before {
  content: counter(item-counter) ". ";
}
.ncs-faq-video-wrap {
  margin-top: 10px;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}
.ncs-faq-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.ncs-faq-actions {
  text-align: center;
}
.ncs-faq-loadmore {
  display: inline-block;
  font-size: 16px;
  line-height: 1.5;
  padding: 16px 24px;
  border-radius: 12px;
  background: #F37321;
  border-color: #F37321 !important;
  border-width: 1px !important;
  border-style: solid !important;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.35s ease-in-out;
}
.ncs-faq-loadmore:hover {
  background: transparent;
  color: #F37321;
}
.ncs-faq-no-results { color: #4C576F; padding: 20px 0; text-align: center; }
.ncs-faq-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}
.ncs-faq-quote {
      display: flex;
    padding: 16px 24px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border: 1px solid #F37321;
    border-radius: 12px;
    transition: all 0.35s ease-in-out;
}
.ncs-faq-quote:hover {
  background: #F37321;
  color: white !important;
}
#ncs-faq-search::placeholder {
  color: #99999B;
}
#ncs-faq-search::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #99999B;
}
#ncs-faq-search::-moz-placeholder { /* Firefox 19+ */
  color: #99999B;
}
#ncs-faq-search:-ms-input-placeholder { /* IE 10+ */
  color: #99999B;
}
#ncs-faq-search:-moz-placeholder { /* Firefox 18- */
  color: #99999B;
}
@media (max-width: 767px) {
  .ncs-faq-page-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
  .ncs-faq-q-title {
    font-size: 16px;
    line-height: 24px;
  }
  .ncs-faq-answer-inner {
    font-size: 16px;
  }
  .ncs-faq-item {
    padding: 16px;
  }
  .ncs-faq-heading {
    font-size: 28px;
  }
  .ncs-faq-description {
    font-size: 16px;
  }
  .ncs-faq-page-wrap {
    margin-top: 64px;
    margin-bottom: 64px;
  }
  .ncs-faq-header {padding-left: 20px; padding-right: 20px;}
  .faq-page-banner {padding:  64px 0;}
}