/* Container */
.fc-wrap {
  background: #fff;
  border-radius: 16px;
  padding: 16px 12px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
  margin-top: 50px;
}

/* Header */
.fc-head {
  gap: 8px;
}

html[dir="rtl"] .fc-head {
  flex-direction: row-reverse;
}

.fc-title {
  margin: 0;
  font-weight: 800;
  font-size: 24px;
  color: #0b2537;
}

/* Arrows side-by-side, right arrow green */
.fc-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
  direction: ltr;
}

.fc-arrows .swiper-button-prev,
.fc-arrows .swiper-button-next {
  position: static;
  inset: auto;
  margin: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #e7edf2;
  border: 0;
}

.fc-arrows .swiper-button-prev:after,
.fc-arrows .swiper-button-next:after {
  font-size: 16px;
  color: #0b2537;
}

.swiper-button-disabled.fc-btn {
  opacity: .45;
}

/* Slider spacing */
.fc-swiper {
  margin-top: 14px;
}

/* Card (icon + text) */
.fc-card {
  display: flex;
  grid-template-columns: 48px 1fr;
  grid-column-gap: 12px;
  padding: 16px 16px;
  min-width: 225px;
  min-height: 126px;
  /* border: 1px solid #e9eef2; */
  border-radius: 4px;
  background: #f9fafb;
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
  flex-direction: column;
  align-content: flex-start;
}

.fc-card:hover {
  transform: translateY(-2px);
  border-color: #dbe5eb;
}

/* Icon (always visible) */
.fc-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fc-icon img {
  max-width: 22px;
  max-height: 22px;
  display: block;
}

/* Text stack */
.fc-text {
  display: grid;
  gap: 6px;
  margin-top: 20px;
}

.fc-name {
  font-size: 16px;
  font-weight: 700;
  color: #0b2537;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fc-desc {
  font-size: 14px;
  color: #6b7a88;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  /* 2-line clamp */
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 400;
}


/* Active (selected) card like screenshot: green background, white text */
.fc-card.is-active {
  background: #1B8354;
  border-color: #1B8354;
}

.fc-card.is-active .fc-name,
.fc-card.is-active .fc-desc {
  color: #ffffff;
}

.fc-card.is-active img {
  filter: grayscale(100%) brightness(500%) contrast(1000%);

}


/* Remove dots */
.fc-swiper .swiper-pagination {
  display: none !important;
}


/* Base arrows (both grey by default) */
.fc-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
  direction: ltr;
}

.fc-arrows .swiper-button-prev,
.fc-arrows .swiper-button-next {
  position: static;
  inset: auto;
  margin: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #e7edf2;
  border: 0;
}

.fc-arrows .swiper-button-prev:after,
.fc-arrows .swiper-button-next:after {
  font-size: 16px;
  color: #0b2537;
}

/* Dynamic green state (JS toggles .fc-btn--green) */
.fc-btn--green {
  background: #0aa06e !important;
}

.fc-btn--green:after {
  color: #fff !important;
}

/* Disabled state (added by Swiper) */
.swiper-button-disabled {
  opacity: 1;
  /* keep full opacity */
  background: #abb2b7 !important;
}

.swiper-button-disabled:after {
  color: #70767c !important;
}

/* lighter arrow */


/* Hide the header search popup ONLY on the /faq page (any language prefix) */
body.path-faq .search-popup,
body.path-en-faq .search-popup,
body.path-ar-faq .search-popup,
body[class*="path-faq"] .search-popup {
  display: none !important;
}

.swiper-slide {
  margin-inline-end: 0px !important;
}

.path-faq .inner-page-container .inner-page-content a:hover {
  color: transparent !important;
  text-decoration: none !important;
}

.path-faq .inner-page-container .inner-page-content .feedback-card__cta a:hover {
  color: #ffffff !important;
  text-decoration: none !important;
}


.path-faq .swiper-button-next {
  position: relative;

}

.path-faq .swiper-button-next::after {
  position: static;
  content: url("../images/next-project.png") !important;
  /* padding-top: 10px; */
  transform: scaleX(-1);
}

.path-faq .swiper-button-prev::after {
  position: static;
  content: url("../images/next-project.png") !important;
  /* padding-top: 10px; */
  transform: scaleX(1);
}



.path-faq .view-filters {
  margin-top: 5rem;
}

.path-faq .feedback-card {
  margin-top: 5rem;
  margin-bottom: 5rem;
  background: #ffffff;
}

.path-faq .feedback-card__inner {
  display: flex;
  flex-direction: column;

}

.path-faq .feedback-card__inner .feedback-card__icon {
  margin-bottom: 2rem;
}

.path-faq .contentFeedBack {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.path-faq .contentFeedBack p {
  font-size: 14px;
  font-weight: 400;

}