@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  box-sizing: border-box;
  padding: 0;
  scroll-behavior: smooth;
}

.banner {
  display: flex;
  height: 15.47rem;
  background-image: url("../../assets/yourHealthOurPromise/banner-bg-desktop.webp");
  background-size: cover;
}
@media screen and (max-width: 768px) {
  .banner {
    flex-direction: column;
    height: auto;
    background-image: none;
  }
}

.banner__left-container {
  width: 50%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  padding-left: 3rem;
  /* justify-content: center; */
  padding-top: 3rem;
}

@media screen and (max-width: 768px) {
  .banner__left-container,
  .banner__right-container {
    width: initial;
  }
  .banner__left-container {
    padding: 0;
    padding-bottom: 1.05rem;
    background-image: url("../assets/banner-background.webp");
    background-size: cover;
    justify-content: center;
  }
}

.banner__left-container h1 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.44rem;
  margin-bottom: .4rem;
}
@media screen and (max-width: 768px) {
  .banner__left-container h1 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-left: 1.05rem;
  }
}

.banner__left-container h1 span {
  color: #d280a0;
}

.banner__left-container p {
  font-size: 0.377rem;
  line-height: 0.5rem;
  color: #282828cc;
  margin-bottom: .9rem;
}
@media screen and (max-width: 768px) {
  .banner__left-container p {
    font-size: 0.63rem;
    line-height: calc(0.65rem * 1.5);
    width: 15.9rem;
    margin-left: 1.05rem;
  }
  .banner__left-container p br {
    display: none;
  }
}

.banner__left-container button {
  color: white;
  background-color: black;
  width: 4.9rem;
  height: 1.13rem;
  font-size: 0.377rem;
  border: 0;
  margin-top: 0.5rem;
}
@media screen and (max-width: 768px) {
  .banner__left-container button {
    width: 7.9rem;
    height: 1.8rem;
    font-size: 0.63rem;
    flex-shrink: 0;
    font-weight: 600;
    margin-left: 1.05rem;
  }
}

.banner__right-container {
  width: 50%;
  background-size: cover;
  flex-shrink: 0;
  background-image: url("../assets/banner-right.webp");
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  padding-top: 3.23rem;
  position: relative;
}
.banner__badges {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 1.5rem;
  width: 11.735rem;
  background-image: linear-gradient(to right, #c7527f, #b61ad1);
  border-radius: 0 0.75rem 0.75rem 0;
  color: white;
  margin: .1886rem 0;
}
@media screen and (max-width: 768px){
  .banner__badges {
    height: 2.18rem;
    width: 14.54rem;
    border-radius: 0 1.81rem 1.81rem 0;
    margin: .2727rem 0;
  }
}
.banner__badges h1 {
  font-size: 1.09rem;
  font-weight: 600;
  margin-left: 1.3rem;
  width: 2.67rem;
  text-align: right;
}
@media screen and (max-width: 768px){
  .banner__badges h1 {
    font-size: 1.45rem;
    width: 3.59rem;

  }
}
.banner__badges p {
  font-size: 0.603rem;
  font-weight: 500;
  margin-left: .584rem;
}
@media screen and (max-width: 768px){
  .banner__badges p {
    font-size: .91rem;
  }
}
.banner__rating-box-image{
  position: absolute;
  bottom: 2rem;
  right: 1.226rem;
  height: 1.61rem;
}


@media screen and (max-width: 768px) {
  .banner__rating-box-image{
    position: absolute;
    bottom: 1.1rem;
    right: 1.1rem;
    height: 2.27rem;
  }
  .banner__right-container {
    width: 100%;
    height: 21.54rem;
    background-image: url("../assets/banner-right-sm.webp");
    align-self: center;
  }
}

.form-container {
  padding: 3rem;
  padding-right: 0;
  display: flex;
}
@media screen and (max-width: 768px) {
  .form-container {
    flex-direction: column;
    padding: 1.1rem;
  }
}

.form-container > h1 {
  width: 15.5rem;
  font-size: 0.905rem;
  font-weight: 400;
  margin: 2.5rem;
  margin-right: initial;
  color: #c7527f;
  position: relative;
  letter-spacing: -.02rem;
}

.form-container img {
  position: absolute;
  z-index: -1;
  width: 1.636rem;
  top: -0.4rem;
  left: -0.6rem;
}
.form-container input:focus, .form-container textarea{
  outline: var(--brandClr) !important;
  border: solid 1px var(--brandClr);
}
.banner__input:focus,
  .banner__message:focus {
    outline: var(--brandClr) !important;
    border: solid 1px var(--brandClr);
  }
@media screen and (max-width: 768px) {
  .form-container img {
    position: absolute;
    z-index: -1;
    width: 1.636rem;
    top: -0.5rem;
    left: -0.6rem;
  }
  .form-container > h1 {
    margin-top: 2.3em;
    margin-left: 0;
    margin-bottom: initial;
  }
}

.form-container__form {
  height: 11.2rem;
  width: 12.98rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px 0 #bfbfbf;
  flex-shrink: 0;
  border-radius: 0.15rem;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .form-container__form {
    width: 16.54rem;
    height: 16.95rem;
  }
}

.form-container__form > h3 {
  width: 100%;
  height: 1.622rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.44rem;
  background-color: var(--brandClr);
  color: white;
  font-weight: 600;
}
@media screen and (max-width: 768px) {
  .form-container__form > h3 {
    font-size: 0.727rem;
    height: 2.2rem;
  }
}

.form-container__form > input {
  height: 1.1rem;
  border: 0;
  background-color: rgb(239, 239, 239);
  margin-top: 0.4rem;
  width: 10.56rem;
  align-self: center;
  padding-left: 0.4rem;
}
@media screen and (max-width: 768px) {
  .form-container__form > input {
    height: 2rem;
    width: 15.09rem;
    background-color: rgb(239, 239, 239, 0.5);
  }
}

.banner__input::placeholder, .banner__message::placeholder {
  color: #B0B0B0;
}

.form-container__form > textarea {
  height: 3.2rem;
  margin-top: 0.4rem;
  border: 0;
  background-color: rgb(239, 239, 239);
  width: 10.56rem;
  align-self: center;
  padding: 0.4rem;
  padding-top: 0.2rem;
  resize: none;
}
@media screen and (max-width: 768px) {
  .form-container__form > textarea {
    width: 15.09rem;
    height: 5.45rem;
    background-color: rgb(239, 239, 239, 0.5);
    color: #f7f7f7;
  }
}

.form-container__form > button {
  width: 4.47rem;
  height: 1.13rem;
  background-color: var(--brandClr);
  color: white;
  align-self: center;
  margin-top: 1rem;

  border: 0;
  font-weight: 600;
  font-size: 0.377rem;
}
@media screen and (max-width: 768px) {
  .form-container__form > button {
    height: 1.8rem;
    width: 7.18rem;
    font-size: 0.636rem;
    margin-top: 1.5rem;
  }
}

.banner .line {
  height: 0.15rem;
  width: 2rem;
  background-color: #d7638f;
}

.banner__input {
  height: 2.05rem;
  margin-bottom: 0.4rem;
  border: 1px solid #d791ab;
  padding: 0.5rem 0.6rem;
  /* color: grey; */
  border-radius: 0.2rem;
}

.banner__message {
  height: 6rem;
  border: 1px solid #d791ab;
  padding: 0.2rem;
  color: grey;
  border-radius: 0.2rem;
  margin-bottom: 1.75rem;
  padding: 0.5rem 0.6rem;
}

.banner__submit-btn {
  height: 2rem;
  width: 7.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 0.2rem;
  background-color: var(--brandClr);
  color: white;
  border: 0;
  /* border-radius: 0.08rem; */
  align-self: center;
  margin-top: 0.4rem;
}
@media screen and (min-width: 768px) {
  .banner__input {
    height: 0.97rem;
    margin-bottom: 0.25rem;
    border: 1px solid #d791ab;
    padding: 0.25rem 0.2rem;
    /* color: #B0B0B0; */
    font-size: 0.375rem;
    font-weight: 400;
    border-radius: 0.08rem;
  }



  .banner__message {
    height: 2.5rem;
    margin-bottom: 0.25rem;
    border: 1px solid #d791ab;
    padding: 0.2rem;
    border-radius: 0.08rem;
    font-size: 0.375rem;
    color: #000;
  }

  .banner__submit-btn {
    height: 1rem;
    width: 4.7rem;
    font-size: 0.416rem;
    background-color: var(--brandClr);
    color: white;
    border: 0;
    border-radius: 0.08rem;
    align-self: center;
    margin-top: 0.4rem;
  }
}
