#contact_us {
  padding: 95px 0 85px;
  background-image: url(../images/blur-circle.png);
  background-position: center;
  background-size: cover;
  position: relative;
}
#contact_us::before {
  position: absolute;
  content: "";
  left: calc(100% - 35vw);
  bottom: -100px;
  width: 370px;
  height: 368px;
  background-image: url(../images/future-circle.svg);
  animation: floatElement 2s linear infinite alternate;
}
.form-wrap form {
  position: relative;
  z-index: 9;
}
.form-wrap {
  max-width: 800px;
  margin: auto;
  position: relative;
  z-index: 9;
}
.form-wrap::before {
  position: absolute;
  content: "";
  left: -45%;
  top: 0;
  background-image: url(../images/future-big-square.svg);
  background-size: cover;
  width: 191px;
  height: 167px;
  animation: floatElement 2s linear infinite alternate;
}
.form-wrap::after {
  position: absolute;
  content: "";
  left: 50px;
  bottom: -100px;
  background-image: url(../images/contact-square.svg);
  background-size: cover;
  width: 115px;
  height: 113px;
  z-index: 3;
  animation: scalingElement 2s linear infinite alternate;
}
.contact-heading {
  margin-bottom: 15px;
}
.contact-text {
  margin-bottom: 60px;
}
.form-control {
  background: transparent;
  border: 0;
  color: #fff !important;
  height: 54px;
  font-size: 20px;
  padding: 15px 20px;
  border-radius: 10px;
  background-image: linear-gradient(to bottom, rgba(18, 17, 36, 0.5), #121124);
}
.form-control:focus,
.form-control:focus-visible {
  background-color: transparent;
  box-shadow: none;
  outline: none;
}
.form-control::placeholder {
  color: #fff;
}
textarea.form-control {
  height: 222px;
  resize: none;
}
.form-check-input {
  border: 1px solid #fff;
  background-color: transparent;
  border-radius: 5px !important;
  width: 15px !important;
  height: 15px !important;
}
.form-check-label {
  color: #fff;
}
.form-check-label a {
  color: #fff;
  text-decoration: underline;
  transition: all 0.3s ease;
}
.form-check-label a:hover {
  color: #168cfa;
}
form .all-btns {
  margin: 44px auto 0;
  display: block;
  border: 0 !important;
  color: #fff !important;
}
.success {
  color: green;
}
.error {
  color: red;
}

@media (max-width: 767px) {
  #contact_us {
    padding: 60px 0 255px;
  }
  #contact_us::before {
    right: 0;
    bottom: -50px;
    left: auto;
    max-width: 286px;
  }
  .form-wrap::before {
    max-width: 103px;
    left: -80px;
    background-size: contain;
    background-repeat: no-repeat;
  }
  .form-wrap::after {
    width: 65px;
    height: 63px;
    bottom: -255px;
    left: 20px;
  }
  .form-control {
    font-size: 16px !important;
  }
  textarea.form-control {
    height: 170px;
  }
}
