/***
FAQ section 
***/

.faq-section {
  padding-top: 100px;
  padding-bottom: 100px;
  text-align: center;
}
.hero-slider-carousel.slick-slider {
  margin-bottom: 0;
}
.faq-section-title {
  padding-bottom: 24px;
}

.faq-section-subtitle {
  max-width: 800px;
  margin: 0 auto 50px;
}
.faq-section-subtitle .body4 {
  color: var(--black1);
}
.faq-container {
  max-width: 768px;
  margin: auto;
}

.faq-item {
  border: 1px solid var(--greyBorder);
  margin: 16px 0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.faq-item:last-of-type {
  margin-bottom: 0;
}
.faq-question {
  padding: 23.5px 63px 23px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  text-align: start;
}

.faq-answer {
  max-height: 0;
  text-align: left;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.1s ease-in-out, padding 0.1s ease-in-out;
}
.faq-item .faq-answer {
  padding: 0 24px 0;
}
.faq-item.active .faq-answer {
  max-height: 1000px; /* Adjust based on content length */
  padding: 0 24px 23px;
}

.faq-toggle {
  transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
  font-weight: 400;
}

.faq-toggle img {
  height: 32px;
  width: 32px;
  transition: transform 0.1s ease-in-out;
}

/* Initially hide the close icon */

.faq-toggle {
  position: absolute;
  right: 26px;
  top: 19px;
}
.faq-toggle.close {
  opacity: 0;
  transform: rotate(-90deg); /* Rotate it out of view */
}

/* Show close icon and rotate when active */
.faq-item.active .faq-toggle.close {
  opacity: 1;
  transform: rotate(0deg);
}

/* Hide the plus icon when active */
.faq-item.active .faq-toggle:not(.close) {
  opacity: 0;
  transform: rotate(90deg);
}

/* Active FAQ item background and border */
.faq-item.active {
  background-color: var(--blue2);
  border: 1px solid var(--blue1);
}
.slick-dots li.slick-active button:before {
  top: -1px;
}
.faq-section-wrapper {
  padding-bottom: 80px;
}
.faq-still-question .h2 {
  padding-bottom: 16px;
}
.faq-still-question .body5 {
  color: var(--black1);
  padding-bottom: 24px;
}

.faq-answer .ewa-rteLine:empty,
.faq-answer ol,
.faq-answer ul,
.faq-answer p {
  margin: 16px 0px;
}

.faq-answer ol,
.faq-answer ul {
  padding-left: 50px;
}

.faq-answer ul li,
.faq-answer ol li {
  margin: 4px 0px;
}

@media (max-width: 768px) {
  .faq-toggle {
    top: 16px;
  }

  .faq-answer ol,
  .faq-answer ul {
    padding-left: 30px;
  }
}
@media (max-width: 445px) {
  .faq-toggle {
    top: 11px;
  }
  .faq-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .faq-section-title {
    margin: auto;
    max-width: 300px;
  }
  .faq-section-subtitle {
    margin: 0 auto 30px;
    max-width: 350px;
  }
  .faq-section-wrapper {
    padding-bottom: 50px;
  }
  .faq-question {
    padding: 18px 60px 18px 16px;
  }
  .faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 16px 18px;
  }
  .faq-still-question .body5 {
    max-width: 300px;
    margin: auto;
  }
  .faq-item .faq-answer {
    padding: 0 16px 0;
  }
  .custom-arrows-container .slick-prev {
    left: -14px;
  }
  .custom-arrows-container .slick-next {
    right: -14px;
  }
}
