.banner {
  padding: 1.2rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.8rem 0;

  /* background-image: url(../assets/pet-ct.webp); 
    Remove for Performance by Tejas
  */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: -2.5rem 2rem;
}
.banner__left-title {
  width: 18.6rem;
  font-size: 1.2rem;
  line-height: 140%;
  font-weight: 700;
  color: var(--brandClr);
  margin-bottom: 0.2rem;
  letter-spacing: -0.02rem;
}

.banner__left-title > span {
  font-weight: 700;
  color: #e17b9c;
  font-size: 1.4rem;
}
.banner__left-note {
  margin-bottom: 0.8rem;
}
.banner__left-note > p {
  font-size: 0.9rem;
  color: #87748a;
  font-weight: 500;
  letter-spacing: -2%;
}
.banner__appointment-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--brandClr);
  width: 11.5rem;
  height: 2.3rem;
  border-radius: 0.2rem;
  color: #fffffe;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 2.4rem;
  border: none;
  outline: none;
  cursor: pointer;
}
.banner__searching-petct-text {
  color: var(--brandClr);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 120%;
  margin-bottom: 0.2rem;
}
.banner__we-help-text {
  font-size: 0.7rem;
  line-height: 140%;
  font-weight: 400;
  color: #5a5b60;
  letter-spacing: 0.04rem;
}

.banner__form {
  background-color: #fffffe;
  padding: 0.8rem 0.6rem;

  text-align: left;
  box-shadow: 0px 0.1rem 0.4rem 0px #00000026;
  border-radius: 0.4rem;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  z-index: 1;
}
.banner__form-input-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.banner__form-firstimage {
  position: absolute;
  top: -2rem;
  height: 6rem;
  right: -1rem;
  z-index: 0;
}
.banner__form-secondimage {
  position: absolute;
  border: 0;
  height: 8rem;
  left: -3.8rem;
  z-index: 0;
  bottom: -4rem;
}
.banner__form-header {
  display: none;
}

.banner__form-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brandClr);
  margin-bottom: -0.3rem;
}
.banner__form-sub-title {
  font-size: 0.7rem;
  font-weight: 400;
  color: #87748a;
  margin-bottom: 0.8rem;
}

.banner__input {
  height: 2.7rem;
  width: 100%;
  margin-bottom: 0.8rem;
  color: #282828;
  border: 1px solid #c7527f;
  padding: 0.5rem 0.6rem;
  /* color: grey; */
  background-color: #fff;
  border-radius: 0.2rem;
}

.banner__message {
  height: 6rem;
  width: 100%;

  border: 1px solid #c7527f;
  padding: 0.2rem;
  color: var(--brandClr);

  background-color: #fff;
  border-radius: 0.2rem;
  margin-bottom: 1.8rem;
  padding: 0.5rem 0.6rem;
}

.banner__submit-btn {
  height: 2rem;
  width: 9.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 2.4rem;
  background-color: var(--brandClr);
  color: white;
  border: 0;
  /* border-radius: 0.08rem; */
  align-self: center;
  margin-top: 0.4rem;
}
.banner__submit-btn2 {
  margin-top: 0.4rem !important;
}

.banner__input:focus,
.banner__message:focus {
  outline: var(--brandClr) !important;
  border: solid 1px var(--brandClr);
}

.banner__input::placeholder,
.banner__message::placeholder {
  color: #b0b0b0;
}

@media screen and (min-width: 768px) {
  .banner {
          padding: 1.2rem 1.88rem 0 1.88rem;
    flex-direction: row;
    gap: 0 3.24rem;

    background-position: 14rem -1rem;
  }
  .banner__left-container {
    width: 17.94rem;
  }
  .banner__left-title {
    width: 17.94rem;
    font-size: 1.01rem;
    line-height: 140%;
    margin-bottom: 0.15rem;
  }
  .banner__left-title > span {
    font-size: 1.32rem;
  }
  .banner__left-note {
    width: 14.03rem;
    margin-bottom: 0.6rem;
  }
  .banner__left-note > p {
    font-size: 0.52rem;
    font-weight: 600;
    letter-spacing: -0.01rem;
    margin-bottom: 0.6rem;
  }
  .banner__appointment-btn {
    width: 5.69rem;
    height: 1.13rem;
    font-size: 0.377rem;
    border-radius: 0.9rem;
    margin-bottom: 0.9rem;
  }
  .banner__searching-petct-text {
    font-size: 0.52rem;
    width: 14.26rem;
    margin: 0 0 0.08rem 0;
  }
  .banner__we-help-text {
    font-size: 0.377rem;
    width: 14.26rem;
    letter-spacing: 0.04rem;
  }
  .banner__form {
    padding: 0;
    width: 10.07rem;
    height: 10.15rem;
    border-radius: 0.22rem;
    box-shadow: 2px 3px 8px 0px #0000001a;
  }
  .banner__form-header {
    display: flex;
    background-color: var(--brandClr);
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 0.98rem;
    padding: 0.16rem 0;
    border-top-right-radius: 0.22rem;
    border-top-left-radius: 0.22rem;
  }
  .banner__form-header > p {
    color: #fff;
    font-size: 0.44rem;
    font-weight: 500;
    text-decoration: none;
  }
  .banner__form-firstimage {
    position: absolute;
    top: -1.2rem;
    height: 7rem;
    right: -2.2rem;
    z-index: 0;
  }
  .banner__form-secondimage {
    display: none;
  }
  .banner__form-input-container {
    padding: 0.3rem 0.6rem;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
  }
  .banner__form-title {
    font-size: 0.52rem;
    letter-spacing: 0.06rem;
    margin-bottom: -0.1rem;
  }
  .banner__form-sub-title {
    font-size: 0.3rem;
    margin-bottom: 0.4rem;
  }

  .banner__input {
    height: 1.01rem;
    border-radius: 0.075rem;
    padding: 0.26rem 0.22rem;
    margin-bottom: 0.3rem;
  }
  .banner__message {
    height: 2.45rem;
    margin-bottom: 0.98rem;
    padding: 0.26rem 0.22rem;
    border-radius: 0.07rem;
  }
  .banner__submit-btn {
    width: 4.32rem;
    height: 0.9rem;
    border-radius: 0.9rem;
    font-size: 0.377rem;
    font-weight: 500;
    padding: 0.16rem 0.22rem;
    margin-top: 0;
  }
}
