.swiper-faq-wrapper {
  position: relative;
  padding: 0 50px;
  margin-bottom: 2rem;
  display: flex;
}
.faqs-item .editor-content {
  border: none;
  padding: 0;
}
.faqs-item:hover {
  background: var(--color3);
  border: 1px solid var(--color5);
}
.faqs-item:hover .websima-faqs-question b {
  color: var(--color2);
}

.faq-tabs-btn-next,
.faq-tabs-btn-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.faq-tabs-btn-next {
  right: 0;
}

.faq-tabs-btn-prev {
  left: 0;
}

.faq-tabs-btn-next i,
.faq-tabs-btn-prev i {
  font-size: 18px;
  color: inherit;
}

.swiper-faq-wrapper .swiper-slide {
  width: auto;
}

.faq-cat {
  background-color: #f5f5f5;
  color: #333;
  border: none;
  border-radius: 30px;
  padding: 12px 35px;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
  flex: 0 0 auto;
  white-space: nowrap;
  list-style: none;
}
li.faq-cat:hover {
    background: var(--color1);
}
li.faq-cat:hover a{
    color: var(--color3);
}

.faq-cat.active {
  background-color: #9e1c22;
  position: relative;
}

.faq-cat.active a {
  color: #ffffff;
}

.faq-cat.active::before {
  content: "";
  position: absolute;
  top: 49%;
  right: 0;
  width: 8px;
  height: 2px;
  background-color: #ffffff;
}

.faq-cat.active::after {
  content: "";
  position: absolute;
  top: 49%;
  left: 0;
  width: 8px;
  height: 2px;
  background-color: #ffffff;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
  padding-top: 20px;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faqs-item {
  background: #f8f7f7;
  min-height: 88px;
  display: flex;
  padding: 20px;
  border-radius: 15px;
  position: relative;
  transition: all 0.3s ease;
  margin-bottom: 15px;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  border: 1px solid transparent;
}

.faqs-item::before {
  content: "";
  position: absolute;
  top: 0;
  right: 3.5%;
  width: 3px;
  height: 10px;
  background-color: #a3a2a0;
  border-radius: 2px;
}

.faqs-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 3.5%;
  width: 3px;
  height: 10px;
  background-color: #a3a2a0;
  border-radius: 2px;
}

.websima-faqs-question {
  display: flex;
  align-items: center;
  width: 100%;
  cursor: pointer;
  font-size: 18px;
}

.faq-num {
  color: #a3a2a0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-left: 15px;
  font-size: 26px;
  font-weight: bold;
  flex-shrink: 0;
}
@media (max-width: 992px) {
  .faq-num {
    display: none;
  }
  .websima-faqs-question {
    gap: 10px;
  }
}

.websima-faq-i-container i {
  border: 1px solid #a3a2a0;
  transition: all 0.3s;
  border-radius: 15px;
  font-size: 15px;
  padding: 5px;
  display: flex;
}

.websima-faqs-answer {
  margin-right: 3.2rem;
  font-size: 16px;
  text-align: justify;
  line-height: 30px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  transition: all 0.5s ease-in-out;
}
@media (max-width: 992px) {
  .websima-faqs-answer {
    margin-right: 0;
  }
}

.faqs-item.active {
  background-color: var(--color3);
  border: 1px solid #e5e3e1;
  flex-direction: column;
  display: flex;
  align-items: flex-start;
  padding: 20px;
}

.faqs-item.active::before {
  background-color: var(--color2);
}

.faqs-item.active::after {
  background-color: var(--color2);
}

.faqs-item.active .faq-num {
  color: var(--color2);
}

.faqs-item.active .websima-faq-i-container i {
  border-color: var(--color2);
  color: var(--color2);
  transform: rotate(180deg);
}
.faqs-item .websima-faq-i-container {
  margin-right: auto;
}
.websima-faqs-answer.show {
  max-height: 1000px;
  opacity: 1;
  visibility: visible;
}

.faqs-content {
  width: 100%;
}
.websima-faq-title-box {
  text-align: center;
  margin: 2rem auto;
}

.faq-tabs-btn-next,
.faq-tabs-btn-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.faq-tabs-btn-prev {
    left: 0;
}

.faq-tabs-btn-next {
    right: 0;
}

@media (max-width: 768px) {
    .swiper-faq-wrapper {
        position: relative;
        padding-bottom: 50px; 
    }

    .faq-tabs-btn-prev,
    .faq-tabs-btn-next {
        position: absolute;
        top: auto;
        bottom: -10px;
        transform: none;
    }

    .faq-tabs-btn-prev {
        left: 38%;
    }

    .faq-tabs-btn-next {
        right: 38%;
    }
}