#hero {
  margin-top: 12px;
  background-image: url('../../images/pages/about/about-hero-bg.webp');
  background-image: image-set(url('../../images/pages/about/about-hero-bg.webp') 1x,
      url('../../images/pages/about/about-hero-bg@2x.webp') 2x);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 34px 0;
  width: 100%;
}

#hero .hero-inner {
  overflow: hidden;
}

#hero .title {
  font-size: 38px;
  position: relative;
  width: fit-content;
  margin: 0 auto;
}

#hero .title::before {
  content: '';
  position: absolute;
  background-color: #000;
  height: 2px;
  width: 166px;
  left: -179px;
  top: 19px;
}

#hero .title::after {
  content: '';
  position: absolute;
  background-color: #000;
  height: 2px;
  width: 166px;
  right: -179px;
  top: 19px;
}

#hero p {
  font-size: 18px;
  line-height: 24px;
  max-width: 610px;
  margin: 0 auto
}

#hero img {
  margin: 0 auto
}

@media screen and (max-width: 992px) {
  #hero p br {
    display: none
  }
}

@media screen and (max-width: 767px) {
  #hero {
    margin-top: 22px
  }
}

@media screen and (max-width: 567px) {
  #hero {
    padding: 30px 0 24px 0
  }

  #hero .title {
    font-size: 40px;
    margin-bottom: 2px;
  }

  #hero .title::after,
  #hero .title::before {
    top: 16px;
  }

  #hero p {
    font-size: 14px;
    line-height: 20px;
  }
}

#contact {
    padding: 38px 0 11px 0;
}

#contact .container {
    gap: 0 88px
}

#contact .contact-form {
    flex-basis: 525px;
    flex-shrink: 0
}

#contact .form-row.flex {
    gap: 0 20px
}

#contact .form-field {
    padding: 0 0 19px 0
}

#contact h1 {
    font-size: 34px;
    margin-bottom: 31px;
}
#contact .success h1 {
  margin-bottom:10px;
}

#contact form {
    max-width: 524px
}

#contact input,#contact input::placeholder,#contact select {
    height: 40px;
    line-height: 40px;
    font-family: 'Lato';
    color: #262626;
    font-size: 13px;
    padding: 0;
    text-indent: 10px;
    width: 100%;
}

#contact select {
  background-repeat: no-repeat;
  background-position: calc(100% - 15px) center;
  background-image: url(../../images/pages/contact-us/down-arrow.png);
  background-image: -webkit-image-set(url("../../images/pages/contact-us/down-arrow.png") 1x, url("../../images/pages/contact-us/down-arrow@2x.png") 2x);
  background-size: 12px 8px;
}

#contact textarea,#contact textarea::placeholder {
    font-family: 'Soleil-Regular';
    color: #262626
}

#contact textarea {
    width: 100%;
    resize: none;
    font-size: 13px;
    font-family: 'Soleil-Regular';
    height: 40px;
    padding: 11px 10px;
    border-color: var(--dark-gray)
}

#contact button[type="submit"],
#contact a.button {
    border: none;
    height: 50px;
    line-height: 50px;
    font-size: 18px;
    width: 100%;
    max-width: 224px;
    margin-top: 22px;
    padding: 0;
    color: #222;
    padding-top: 6px;
}

#contact a.button {
  margin-top:5px;
}
#contact .form-field .select::after {
    display: none
}

#contact .form-action:last-of-type {
    padding-top: 0
}

#contact .selectric .label {
  text-align: left;
}

#contact .selectric i {
  display: none;
}

#contact .selectric .button {
  background-color: transparent;
}

#contact .success p {
  font-size:18px;
  line-height:24px;
  font-weight:500;
}

@media screen and (max-width: 1100px) {
    #contact .container {
        gap:0 50px
    }

    #contact .contact-form {
        flex-shrink: unset
    }
}

@media screen and (max-width: 992px) {
    #contact h1 {
        font-size:42px
    }

    #contact .container {
        gap: 0 35px
    }
}

@media screen and (max-width: 768px) {
    #contact .container {
        flex-direction:column;
        gap: 50px 0
    }

    #contact .contact-form {
        margin-top: 0
    }

    #contact .contact-form {
        flex-basis: unset
    }
}

@media screen and (max-width: 567px) {
    #contact {
        padding: 29px 0 47px 0;
    }

    #contact h1 {
        font-size: 28px;
        line-height: 35px;
        margin-bottom: 22px
    }

    #contact .form-row {
        flex-direction: column
    }

    #contact .form-action:last-of-type {
        text-align: center
    }

    #contact .form-field {
        padding: 0 0 14px 0;
        width: 100%;
    }

    #contact input,#contact input::placeholder,#contact select {
        height: 44px;
        line-height: 44px;
        text-indent: 15px;
        padding: .15em 0 0
    }

    #contact textarea {
        height: 44px;
        padding: 11px 15px
    }

    #contact button[type="submit"] {
        margin-top: 29px;
    }

    #contact .form-field select {
        background-position: calc(100% - 18px)
    }

    #contact .success p {
      font-size:14px;
      line-height:20px;
      margin: 0 0 20px 0;
    }
    #contact .success {
      padding-top: 70px;
    }
}