.trainer-profile {
  display: flex;
  align-items: flex-start;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  max-width: 1500px;
  margin: 0 auto;
}

/* Image styling */
.trainer-profile__image {
  width: 500px;          /* or use max-width if you want it flexible */
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 20px;    /* space between image and text */
}

/* Content area next to the image */
.trainer-profile__content {
  flex: 1;
  margin: auto;
}

/* Title */
.trainer-profile__content h2 {
  margin: 0;
  font-size: 2rem;
  color: #000;
  font-family: 'Montaser', sans-serif;
}

.trainer-profile__subtitle {
  margin: 0;
  font-size: 1rem;
  color: #209084;
  font-family: 'Raleway', sans-serif;
  font-style: italic;
  margin-bottom: 1rem;
}

.trainer-profile__text {
  margin: 0;
  font-size: 1rem;
  color: #000;
  font-family: 'Inter', sans-serif;
}

.trainer-profile__content p {
  line-height: 1.5;
}

.trainer-profile__contact {
  margin-top: 2rem;
}

.trainer-profile__email {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.trainer-profile__email-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-right: 1rem;
}

.trainer-profile__email a {
  color: #000;
  text-decoration: underline;
}

.trainer-profile__button {
  background-color: #209084;
  color: #fff;
  padding: 1rem 5rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: 'Montaser', sans-serif;
  margin-top: 2rem;
  border-radius: 20px;
}

.trainer-profile__button:hover {
  transform: scale(1.1);
  cursor: pointer;
}



@media (max-width: 1000px) {
  .trainer-profile {
    flex-direction: column;
    align-items: center;
  }
  .trainer-profile__image {
    margin-right: 0;
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .trainer-profile__image{
    width: 100%;
  }

}

@media (max-width: 500px) {
  .trainer-profile__content h2{
    font-size: 1.6rem;
  }

}