#about-page {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

#about-content-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 40px 0;
  align-items: center;
}

#about-img-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 40%;
  padding: 20px;
}

#about-page-img {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  /* border: 5px solid white; */
}

#about-text-container {
  width: 60%;
  padding: 40px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid #e8e8e8;
}

#about-page-text p {
  font-size: 1.3em;
  line-height: 1.6;
  color: #4f4f4f;
  margin: 0 0 15px 0;
  text-align: right;
  direction: rtl;
}

#about-page-text p:last-child {
  margin-bottom: 0;
}

#about-page-text br {
  display: block;
  margin: 10px 0;
  content: "";
}

@media only screen and (max-width: 1200px) {
  #about-content-container {
    flex-direction: column;
    gap: 30px;
  }

  #about-img-container,
  #about-text-container {
    width: 100%;
  }

  #about-text-container {
    padding: 30px;
  }

  #about-page-img {
    max-width: 300px;
  }

  #about-page-text p {
    font-size: 1.2em;
    text-align: center;
  }
}
