section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.doctors-approach-h1 {
  font-size: 1rem;
  text-align: center;
  margin-top: 1.1rem;
}
.doctors-approach-h1 > span,
.doctor-approach-text span {
  color: var(--brandClr);
}

.doctor-approach-text {
  margin-left: 2.32rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.33rem;
}
.doctor-approach-text img {
  display: none;
}

.doctor-approach-text h1 {
  font-size: 1rem;
  font-weight: 400;
  width: 16.54rem;
  height: 5.36rem;
  line-height: 1.22rem;
  position: relative;
  top: 1rem;
  right: 0.85rem;
}
.doctor-approach-text > div {
  display: flex;
}

.doctor-approach-form-container {
  width: 17.86rem;
  height: 21.36rem;
  background-color: var(--pinkClr);
  border-radius: 0.62rem;
  margin-top: 3rem;
}

.doctor-approach-form-container > h1 {
  font-size: 1rem;
  text-align: center;
  margin-top: 0.77rem;
}
.doctor-approach-form-container > div {
  height: 2.32rem;
  background-color: var(--brandClr);
  color: white !important;
  border-radius: 0.68rem 0.68rem 0 0;
  font-size: 1rem;
}
.phone-number {
  color: white !important;
  text-decoration: none;
}
.doctor-approach-form-container img {
  width: 1.4rem;
  height: 1.4rem;
  margin-left: 2rem;
  position: relative;
  top: 0.4rem;
  right: 0.5rem;
}

.doctor-approach-form-container form input {
  width: 15.82rem;
  height: 2.07rem;
  border-radius: 0.19rem;
  background-color: white;
  box-shadow: 0.032rem 0.032rem 0.063rem 0rem #3e434740;
  border: none;
}
.doctor-approach-form-container form input:focus,
.doctor-approach-form-container form textarea:focus {
  border: none;
  outline: none;
}
.doctor-approach-form-container form textarea {
  width: 15.82rem;
  height: 3.4rem;
  border-radius: 0.19rem;
  background-color: white;
  border: none;
  box-shadow: 0.032rem 0.032rem 0.063rem 0rem #3e434740;
  resize: none;
}
.doctor-approach-form-container form button {
  width: 7.07rem;
  height: 1.81rem;
  border-radius: 0.15rem;
  font-weight: 600;
  font-size: 1rem;
  background-color: var(--brandClr);
  color: white;
  border: none;
  margin-top: 0.3rem;
}
.doctor-approach-form-container form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.33rem;
  margin-top: 0.8rem;
}

.doctor-approach-form-container form input::placeholder,
.doctor-approach-form-container form textarea::placeholder {
  font-weight: 400;
  font-size: 0.72rem;
  color: #767676;
  padding: 1.1rem 0rem 0rem 0rem;
}
form input[type="text"],
form input[type="message"],
form input[type="tel"],
form textarea {
  font-size: 1rem;
  padding-left: 0.5rem;
}

/* Large Devices */

@media screen and (min-width: 768px) {
  section {
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 1.358rem;
  }
  .doctors-approach-h1 {
    margin-top: -1.55rem;
  }
  .doctor-approach-text img {
    width: 0.83rem;
    height: 0.88rem;
    position: relative;
    right: 1rem;
    top: 0.68rem;
    display: unset;
  }
  .doctor-approach-text h1 {
    font-size: 0.62rem;
    width: 18.22rem;
    height: 2.19rem;
    line-height: 0.75rem;
    padding: 0.26rem 0 0rem 0.2rem;
    position: unset;
  }

  .doctor-approach-text > div > div {
    background-image: url(/assets/TextBackgroundimage.webp);
    background-size: cover;
    background-position: center;
    width: 19.7rem;
    height: 3.08rem;
    position: relative;
    right: 0.8rem;
    display: flex;
    align-items: center;
  }
  .doctor-approach-form-container {
    width: 9.64rem;
    height: 11.13rem;
    border-radius: 0.33rem;
    position: relative;
    right: 2.05rem;
    top: 0.58rem;
    margin-top: unset;
  }

  .doctor-approach-form-container > h1 {
    font-size: 0.62rem;
    margin-top: 0.49rem;
  }
  .doctor-approach-form-container > div {
    height: 1.1rem;
    border-radius: 0.33rem 0.33rem 0 0;
    font-size: 0.62rem;
  }
  .doctor-approach-form-container img {
    width: 0.77rem;
    height: 0.77rem;
    margin-left: 0.5rem;
    position: relative;
    top: 0.2rem;
    right: unset;
  }

  .doctor-approach-form-container form input {
    width: 8.17rem;
    height: 1.5rem;
    border-radius: 0.11rem;
    box-shadow: 0.02rem 0.02rem 0.04rem 0rem #3e434740;
  }

  .doctor-approach-form-container form textarea {
    width: 8.17rem;
    height: 2.13rem;
    border-radius: 0.11rem;
    box-shadow: 0.02rem 0.02rem 0.04rem 0rem #3e434740;
  }
  .doctor-approach-form-container form button {
    width: 4.39rem;
    height: 0.92rem;
    border-radius: 0.11rem;
    font-size: 0.62rem;
  }
  .doctor-approach-form-container form {
    gap: 0.36rem;
    margin-top: 0.49rem;
  }

  .doctor-approach-form-container form input::placeholder,
  .doctor-approach-form-container form textarea::placeholder {
    font-size: 0.45rem;
    padding: 0.7rem 0rem 0rem 0rem;
  }

  form input[type="text"],
  form input[type="message"],
  form input[type="tel"],
  form textarea {
    font-size: 0.55rem;
  }
}
