.permanent-committees-section {
  padding-top: 120px;
  padding-bottom: 120px;
  background: #fff;
  overflow: hidden;
}

.permanent-committees-section h2 {
  font-family: 'kufi';
  font-size: 55px;
  font-weight: 300;
  line-height: 1.1;
}

.permanent-committees-section p {
  padding: 0 15%;
}

.cards-scroll-container {
	position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    text-align: center;
    

}


html[lang="ar"] span.section-description > p {
    font-family: 'Majalla', sans-serif !important;
     margin: 0;
    font-size:30px;
    font-size: 30px;
    width: 80%;
    text-align: center;
    margin-right: 10%;
}

span.section-description > p {
     xmargin: 0;
    font-size:19px;
    xmargin-right: 10%;
}

.committees-cards {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding-inline: 0;
  margin-inline: 5vw;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.committees-cards::-webkit-scrollbar {
  display: none;
}

html[lang="ar"] .permanent-committees-section p{
	width: 100%;
		xmargin-right: 10%;
		text-align:center;
		xmargin-left: 10%;
}

.permanent-committees-section p{
	width: 100%;
		xmargin-right: 10%;
		text-align:center;
		xmargin-left: 10%;
}


.committee-card {
      flex: 0 0 400px;
    height: 550px;
  position: relative;
  overflow: hidden;
}

.card-bg {
  width: 700px;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}
.card-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  z-index: 2;
}

.card-title {
  position: absolute;
  bottom: 15px;
  right: 35px;
  left: 15px;
  color: #fff;
  z-index: 3;
  font-weight: bold;
  font-size: 22px;
  text-align: right;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background-color: white;
  width: 45px;
  height: 45px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}
.scroll-btn:hover {
  background: rgba(255, 255, 255, 0.8);
}

.scroll-left {
  left: 50px;
}
.scroll-right {
  right: 50px;
}


/* Responsive */
@media (max-width: 768px) {
  .committee-card {
    flex: 0 0 80%;
  }
  .cards-scroll-container {
    padding-inline: 0;
  }
}
