.testimonials__section {
  background: #006231; /* الأخضر الغامق كخلفية أساسية */
  padding: 5rem 0 7rem 0;
  position: relative;
  z-index: 99;
}

.testimonials__section:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  bottom: 0;
  background: url('../../includes/images/afterPage.png') repeat;
  opacity: 0.1;
  z-index: -1;
}

.testimonials__section .main-heading {
  text-align: center;
  margin-bottom: 3rem;
  color: #FFF;
  font-family: "DecoType Thuluth";
  font-size: 4.25rem; 
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* الكارت */
.testimonials__section .item {
  background: #fff;
  text-align: center;
  margin: 1rem;
  overflow: hidden;
  border: 0;
  padding: 2rem 1.5rem;
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.testimonials__section .item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* صورة الشخص */
.testimonials__section .image {
  margin-bottom: 1.5rem;
}
.testimonials__section .image img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform .3s ease;
}
.testimonials__section .item:hover .image img {
  transform: scale(1.05);
}

/* النص */
.testimonials__section .caption p {
  color: #0A0A0A;
  font-size: 1.25rem; /* بدل 20px */
  font-weight: 800;
  line-height: 1.5; /* بدل 30px */
  text-align: right;
  max-width: 100%;
  word-wrap: break-word;
}

/* الاسم */
.testimonials__section .caption h3 {
  color: #66B433;
  font-family: "HT Baybars Display";
  font-size: 1.125rem; /* بدل 18px */
  font-weight: 800;
  text-align: right;
}

/* المسمى الوظيفي */
.testimonials__section .caption h4 {
  color: #000;
  font-size: 1.125rem; /* بدل 18px */
  font-weight: 800;
  text-align: right;
}


@media(max-width:768px){
    .testimonials__section .caption h4 {
        font-size: 2rem;
    }
    .testimonials__section .caption p {
    font-size: 1.5rem;
    }
}
