/* Contact head */

.contacts_head {
  background-image: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.9) 0%,
      #ffffff 100%
    ),
    url("<?php bloginfo('template_directory'); ?>/assets/images/bg-group.webp");

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: #242424;
}

.contacts_head .head_title {
  font-family: var(--base-font-family);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 7vw;
  color: #000000;
  letter-spacing: 0.05em;
  text-shadow: 0em 0.18em 0.27em rgb(0 0 0 / 24%);
}

.contacts_head .head_description {
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  line-height: 1.3;
}

/* Flag contacts */

.contact-us {
  background-image: linear-gradient(
      180deg,
      rgba(27, 31, 37, 0.3) 0%,
      #1b1f25 100%
    ),
    url(/wp-content/themes/anatol_transfer/assets/images/bg-group2.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: #242424;
  background-attachment: fixed;
}

.contact-us--wrapper {
  display: flex;
  justify-content: center;
  margin: max(15vh, 2.5rem) auto;
  gap: 7.5vw;
}

.contact-us-info {
  background-image: linear-gradient(
    190deg,
    #c10f1b 85%,
    rgba(255, 255, 255, 0) 0%
  );
  display: flex;
  flex-direction: column;
  gap: 2.5vh;
  padding: 3vw;
  /* padding-bottom: 6vw; */
  width: 30%;
}

.et_pb_blurb_container {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 1vw;
}
.contact-us-info__title,
.contact-us-info__subtitle {
  font-family: var(--base-font-family);
  font-weight: 700;
  font-size: max(1.65vw, 26px);
  color: #fff;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  position: relative;
}

.contact-us-info__subtitle {
  padding-left: 2rem;
}

.contact-us-info__subtitle::before {
  content: "";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
  position: absolute;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.contact-us-info__subtitle--location::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg data-name='10-location' id='_10-location'%3E%3Cpath fill='%23fff' d='M27,12A11,11,0,0,0,5,12C5,22,16,31,16,31S27,22,27,12Z' /%3E%3Ccircle stroke='%23cd2122' fill='%23fff' cx='16' cy='12' r='5' /%3E%3C/g%3E%3C/svg%3E");
}
.contact-us-info__subtitle--phone::before {
  background-image: url("data:image/svg+xml,%3Csvg fill='%23ffffff' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.167,16.155a2.5,2.5,0,0,0-3.535,0l-.385.384A46.692,46.692,0,0,1,7.458,10.75l.385-.385a2.5,2.5,0,0,0,0-3.536L5.721,4.708a2.5,2.5,0,0,0-3.535,0L1.022,5.872a3.51,3.51,0,0,0-.442,4.4A46.932,46.932,0,0,0,13.722,23.417a3.542,3.542,0,0,0,4.4-.442l1.165-1.164a2.5,2.5,0,0,0,0-3.535Z'/%3E%3Cpath d='M11.5,0a1,1,0,0,0,0,2A10.512,10.512,0,0,1,22,12.5a1,1,0,1,0,2,0A12.515,12.515,0,0,0,11.5,0Z'/%3E%3Cpath d='M11.5,6A6.508,6.508,0,0,1,18,12.5a1,1,0,0,0,2,0A8.51,8.51,0,0,0,11.5,4a1,1,0,1,0,0,2Z'/%3E%3Cpath d='M11.5,10A2.5,2.5,0,0,1,14,12.5a1,1,0,0,0,2,0A4.505,4.505,0,0,0,11.5,8a1,1,0,1,0,0,2Z'/%3E%3C/svg%3E");
}
.contact-us-info__description,
.contact-us-info__phone {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: max(0.8vw, 14px);
}

.regional-offices-title {
  font-family: var(--base-font-family);
  font-weight: 700;
  text-transform: uppercase;
  font-size: max(3.2vw, 36px);
  color: #000000;
  /* letter-spacing: 0.05em; */
  line-height: 0.9em;
  text-shadow: 0em 0.18em 0.27em rgb(0 0 0 / 24%);
  margin: 0;
  text-align: center;
}

@media screen and (min-width: 1200px) {
  .regional-offices {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
  }
  .regional-offices__item {
    width: 25%;
  }
}
.box {
  background: #23a3d3;
  width: 90px;
  height: 70px;
  padding: 20px;
  text-align: center;
  color: white;
  border-radius: 7px;
  float: left;
  margin: 4px;
  font-size: 12px;
  font-family: "Arial";
  text-transform: uppercase;
}

@media all and (max-width: 768px) {
  .contact-us-info {
    background: #c10f1b;
    padding: 60px 30px;
    width: 100%;
    margin-bottom: 60px;
  }
}
.subscribe_us_form .form-row > .input input {
  background-color: rgba(255, 255, 255, 0.12);
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  -webkit-appearance: none;
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  border: 1px solid #afafaf;
  color: #999;
  font-size: 14px;
  padding: 12px 15px;
}
.subscribe_us_form .form-row > .input input::placeholder {
  color: #999;
  font-size: 14px;
}
.subscribe_us_form .form-row > .field_full textarea {
  border: 1px solid #afafaf;
  border-width: 1px;
}

/* My styles */

@media screen and (max-width: 1080px) {
  .section_offices--wrapper {
    align-items: center;
    width: 85%;
  }
  .regional-offices {
    grid-template-columns: 1fr;
    width: 60%;
  }

  .regional-offices__item .location-office__title {
    font-size: max(2.25vw, 18px);
  }

  .regional-offices__item .location-office__subtitle {
    font-size: max(1.9vw, 16px);
  }

  .location-office-info__item {
    font-size: max(1.65vw, 14px);
  }

  .contact-us--wrapper {
    margin: max(7.5vh, 2.5rem) auto;
  }
  .contact-us-info {
    display: none;
  }

  .feedback_form .form-inner,
  .feedback_form .form-inner__item {
    gap: 2vh;
  }
}

@media screen and (max-width: 650px) {
  .contact-us {
    background-image: none;
  }
}

@media screen and (max-width: 550px) {
  .feedback_form {
    --form-padding: initial;
  }
  .regional-offices {
    width: 94%;
  }

  .feedback_form .form-inner,
  .feedback_form .form-inner__item,
  .feedback_form .form-inner__item--half {
    width: 100%;
    gap: 2.5vh;
  }

  .feedback_form .form-inner__item {
    flex-direction: column;
  }
}
@media screen and (min-width: 400px) and (max-width: 900px) and (orientation: landscape) {
  .contact-us {
    background-image: none;
    background-attachment: initial;
  }
}
