.banner-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 600px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}
.banner-block:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  top: 0;
  left: 0;
  background-color: #0008054d;
}
.banner-block .wrapper {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 1;
}
.banner-info {
  display: flex;
  flex-direction: column;
  width: 50%;
  margin-left: 100px;
  padding-bottom: 130px;
}

.banner-title {
  font-weight: 900;
  font-size: 64px;
  line-height: 72px;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
}
.banner-title:before {
  content: "";
  position: absolute;
  left: 0;
  top: -8px;
  width: 48px;
  height: 8px;
  background-color: #5DA22C;
  border-radius: 1px;
}
.banner-desc {
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
  z-index: 1;
  width: 60%;
}
.banner-form {
  margin-top: -124px;
}
.form-container {
  background: #ffffff;
  box-shadow: 0px 0px 20px rgba(31, 73, 44, 0.15);
  border-radius: 5px;
  padding: 40px 50px;
  padding-left: 180px;
  position: relative;
  margin-left: 100px;
  margin-right: 100px;
}
.form-container:before {
  content: "";
  display: block;
  position: absolute;
  width: 250px;
  height: 270px;
  background-image: url(form-before.svg);
  background-size: contain;
  background-repeat: no-repeat;
  left: -100px;
  top: 0;
}
.form-container:after {
  content: "";
  display: block;
  position: absolute;
  width: 460px;
  height: 326px;
  background-image: url(form-after.svg);
  background-size: contain;
  background-repeat: no-repeat;
  right: -100px;
  top: -116px;
  z-index: -1;
}
.banner-form-title {
  font-weight: bold;
  font-size: 36px;
  line-height: 46px;
  color: #333333;
  margin-bottom: 5px;
}
.banner-form-desc {
  font-size: 16px;
  line-height: 24px;
  color: #333333;
}
.banner-form .wpcf7-form {
  display: flex;
  margin-top: 25px;
}
.banner-form input {
  font-family: Inter, sans-serif;
  background: #f4f4f4;
  border-radius: 5px;
  padding: 22px 35px;
  font-size: 16px;
  line-height: 19px;
  color: #333333;
  border: 2px solid #f4f4f4;
  box-sizing: border-box;
  width: 100%;
  outline: none;
}
.banner-form input::placeholder {
  color: #333333;
}
.banner-form span.wpcf7-form-control-wrap {
  width: 205px;
  flex-shrink: 0;
  margin-right: 20px;
}
.banner-form input.wpcf7-submit {
  background-color: #5DA22C;
  border-radius: 5px;
  padding: 20px 40px;
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
  border: 2px solid #5DA22C;
  box-sizing: border-box;
  width: max-content;
  cursor: pointer;
}
.banner-form input.wpcf7-submit:hover {
  background: none;
  color: #5DA22C;
}
.banner-form input.wpcf7-submit:disabled {
  opacity: 0.5;
}
.banner-form input.wpcf7-submit:disabled:hover {
  background-color: #5DA22C;
  color: #ffffff;
}
.banner-form .wpcf7-spinner {
  display: none;
}
.banner-form .wpcf7-form-control-wrap.acceptance-612 {
  width: 290px;
  margin-right: 0;
  display: flex;
  align-items: center;
}
.banner-form input.acceptance {
  width: auto;
  display: none;
}
.banner-form .wpcf7-list-item {
  margin-left: 20px;
}
.wpcf7-list-item-label {
  display: block;
  font-size: 14px;
  line-height: 22px;
  color: #333333;
  padding-left: 25px;
  position: relative;
}
.wpcf7-list-item-label::before {
  content: "";
  width: 15px;
  height: 15px;
  position: absolute;
  top: 3px;
  left: 0;
  border: 1px solid #333333;
  box-sizing: border-box;
  border-radius: 1px;
  cursor: pointer;
}
.wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 5px;
  left: 3px;
  top: 8px;
  background-image: url(check.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  opacity: 0;
}
.banner-form .policy-link {
  cursor: pointer;

  border-bottom: 1px solid #333333;
}
.banner-form .policy-link:hover {
  border-color: #ffffff;
}
.banner-form input.acceptance:checked + .wpcf7-list-item-label::after {
  opacity: 1;
}
@media (max-width: 1199px) {
  .banner-info {
    width: 60%;
  }
  .banner-title {
    font-size: 52px;
    line-height: 58px;
  }
  .banner-desc {
    width: 70%;
  }
  .banner-form .wpcf7-form {
    flex-wrap: wrap;
  }
  .banner-form .wpcf7-form-control-wrap.acceptance-612 {
    width: 100%;
    margin-top: 10px;
  }
  .form-container {
    padding-right: 40px;
  }
  .banner-form .wpcf7-list-item {
    margin-left: 0;
  }
}
@media (max-width: 991px) {
  .banner-block {
    height: 500px;
  }
  .banner-title {
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 40px;
  }
  .banner-desc {
    width: 80%;
  }
  .banner-title:before {
    top: -5px;
    width: 30px;
    height: 5px;
  }
  .banner-info {
    margin-left: 50px;
  }
  .form-container {
    padding-top: 30px;
    padding-bottom: 30px;
    margin-left: 50px;
    margin-right: 50px;
    padding-left: 150px;
  }
  .form-container:before {
    left: -50px;
    width: 192px;
    height: 208px;
  }
  .form-container:after {
    right: -50px;
    top: -75px;
    width: 328px;
    height: 236px;
  }
  .banner-form-title {
    font-size: 28px;
    line-height: 36px;
  }
}

@media (max-width: 767px) {
  .form-container:after {
    right: -30px;
    top: -75px;
  }
  .form-container {
    padding-right: 30px;
    margin-left: 30px;
    margin-right: 30px;
    padding-left: 30px;
  }
  .banner-form-title {
    font-size: 22px;
    line-height: 28px;
  }
  .banner-form-desc {
    font-size: 14px;
    line-height: 22px;
  }
  .banner-form input {
    padding: 14px 24px;
  }
  .banner-form span.wpcf7-form-control-wrap {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }
  .banner-form input.wpcf7-submit:disabled {
    width: 100%;
    padding: 12px 25px;
  }
  .form-container:before {
    display: none;
  }
  .banner-info {
    margin-left: 30px;
    margin-right: 30px;
    width: 100%;
  }
  .banner-title {
    font-size: 32px;
    margin-bottom: 10px;
    line-height: 36px;
  }
  .banner-desc {
    width: 100%;
  }
}

@media only screen and (max-width: 400px) {
  .banner-title {
    font-size: 26px;
  }
  .banner-desc {
    font-size: 14px;
    line-height: 22px;
  }
  .form-container {
    margin-right: 15px;
    margin-left: 15px;
  }
  .form-container:after {
    right: -15px;
    width: 309px;
  }
}
