.contact-section {
  background: linear-gradient(0deg, #02193C 0%, #02193C 100%), linear-gradient(90deg, #001632 0%, var(--colour-Primary-Blue-500, #172F50) 50%, #384D6A 100%);
  padding: 66px 0;
  position: relative;
}


.contact-section::before {
  background: url("../../images/contact-bg.png") center center / cover no-repeat;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

.contact-section .contact-container {
  margin: 0 auto;
  max-width: 1312px;
  padding: 0 64px;
  position: relative;
  z-index: 2;
}

.contact-section__row {
  --bs-gutter-x: 24px;
}

.contact-section__content {
  padding-top: 0;
}

.contact-section__heading {
  color: var(--exl-white);
  font-size: 44px;
  font-weight: 700;
  line-height: 38px;
  margin: 0;
  text-transform: uppercase;
}

.contact-section__heading span {
  display: block;
}

.contact-section__heading span:first-child {
  color: #fb4e0b;
}

.contact-section__description {
  color: #B8C5CD;
  font-size: 20px;
  font-weight: 300;
  line-height: 22px;
  margin: 40px 0 0;
  max-width: 440px;
}

.contact-section__form-container {
  background: linear-gradient(172deg, #001632 10.26%, var(--colour-Primary-Blue-500, #172F50) 74.87%, #384D6A 139.48%);
  border-radius: 14px;
  min-height: 500px;
  padding: 44px 50px;
}

.contact-section__form-placeholder {
  width: 100%;
  height: 100%;
}

.contact-section__form-container .hs-form-field {
    width: 100% !important;
    float: left;
}

.contact-section__form-container .hs-input  {
    height: 48px;
    background: #1b3453 !important;
    border: 1px solid #60758f !important;
    border-radius: 14px;
    color: #fff !important;
    padding: 0 15px;
    font-size: 14px;
    box-shadow: none;
    margin-bottom: 8px;
    font-weight: 300;
}

.contact-section__form-container .hs-fieldtype-textarea.hs-input {
  resize: none;
}

.contact-section__form-container .form-columns-2 .hs-form-field {
    width: 50% !important;
}

.contact-section__form-container .legal-consent-container .hs-richtext {
    color: var(--exl-white);
    font-size: 14px;
    font-weight: 300;
}

.contact-section__form-container .grecaptcha-logo {
  margin-top: 24px;
}

.contact-section__form-container .hbspt-form .hs-form-booleancheckbox .hs-input {
  width: 20px !important;
  height: 20px !important;
}

.contact-section__form-container .hbspt-form .hs-submit .hs-button.primary {
  height: 44px;
  border-radius: 999px !important;
  margin-top: 20px;
}

.hs_submit .actions {
  text-align: left;
  padding-left: 0 !important;
}

.contact-section__form-container .hs-form-field label span {
    font-size: 16px;
    margin-bottom: 5px;
    display: inline-block;
    margin-left: 5px;
    margin-top: -5px;
    color: #9baabd;
    font-size: 13px;
    line-height: 17px;    
}

.contact-section__form-container .form-columns-2, .contact-section__form-container .form-columns-1 {
  padding: 0 !important;
  margin-bottom: 15px;
}

.contact-section__form-container .hs-form-booleancheckbox label {
  display: flex;
}

.contact-section__form-container .hs_error_rollup label.hs-main-font-element {
  margin: 24px 0 14px;
  font-size: 16px;
}

.contact-section__form-container .form-columns-2 .hs-form-field div.input {
  margin-right: 16px !important;
}

.contact-section__form-container .form-columns-2 .hs-form-field:last-child div.input {
  margin-right: 0 !important;
}

@media (max-width: 991.98px) {
  .contact-section__description {
    margin-bottom: 32px !important;
  }
  .contact-section__form-container {
    padding: 44px 20px !important;
  }
}


@media (max-width: 767.98px) {
  .contact-section {
    min-height: 0;
    padding: 44px 0;
  }

  .contact-section .contact-container {
    padding: 0 20px;
  }

  .contact-section__row {
    row-gap: 40px;
  }

  .contact-section__heading {
    font-size: 36px;
    line-height: 30px;
  }

  .contact-section__description {
    margin-top: 20px;
  }

  .contact-section__form-container {
    padding: 28px;
    border-radius: 18px;
  }
  .contact-section__form-container .form-columns-2 .hs-form-field {
    width: 100% !important;
  }
}