/* التصميم الأساسي */
.about.aboutPage {
  padding: 50px 5%;
  margin: 0 auto;
  width: 100%;
  padding-bottom: 100px;
  padding-top: 0;
}

.about.aboutPage .content {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap; /* يسمح بتغيير ترتيب العناصر عند صغر الشاشة */
  gap: 20px;
}

/* تنسيق النص */
.about.aboutPage .text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.about.aboutPage .text h1 {
  font-size: clamp(34px, 3vw, 36px);
  color: #1e1e1e;
  line-height: 1.4;
}

.about.aboutPage .text .description {
  font-size: clamp(16px, 3vw, 22px);
  color: #1e1e1e;
  font-weight: 500;
  line-height: 1.8;
  /* text-align: justify; */
}

/* الصورة */
.about.aboutPage .image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.about.aboutPage .image img {
  max-width: 100%;
  height: auto;
}

/* جعل التصميم متجاوبًا أكثر */
@media screen and (max-width: 768px) {
  .about.aboutPage .content {
    flex-direction: column;
    text-align: center;
  }

  .about.aboutPage .text {
    max-width: 90%;
    margin: 0;
  }

  .about.aboutPage .text .description,
  .about.aboutPage .text h1 {
    text-align: right;
  }

  .about.aboutPage .image img {
    width: 80%;
  }

  .about.aboutPage .image {
    justify-content: flex-start;
  }

  .about.aboutPage {
    padding: 0;
    padding-top: 40px;
  }
}
