.header {
  max-width: 1300px;
  margin: auto;
}

.logo,
.header {
  position: relative;
  justify-content: flex-start;
}

.contact-main {
  padding: 80px 0 120px;
}

.contact-page-section {
  max-width: 945px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-page-title {
  font-size: var(--font-f12);
  font-family: "Josefin Sans";
  font-weight: 600;
  color: #00a79d;
  margin-bottom: 10px;
  text-align: left;
}

.contact-page-subtitle,
.contact-page-title {
  position: relative;
  left: -81px;
}

.contact-page-subtitle {
  margin-bottom: 80px;
  text-align: left;
  position: relative;
}

.contact-page-subtitle::after {
  content: "";
  display: block;
  position: absolute;
  height: 386px;
  border-right: 2px solid #00a79d;
  left: 81px;
  top: 80px;
}

.contact-form {
  margin-top: 40px;
  padding-left: 160px;
}

.contact-form-group {
  margin-bottom: 40px;
  display: flex;
}

.contact-form-group .contact-item-label {
  margin-bottom: 10px;
  display: flex;
  flex: 0 0 277px;
  justify-content: space-between;
  margin-right: 50px;
  color: #1e1e1e;
}

.required {
  font-size: var(--font-f2);
  display: inline-block;
  background: #00a79d;
  color: #fff;
  padding: 2px 9px;
  height: 26px;
  line-height: 21px;
}

.contact-form-group input,
.contact-form-group textarea {
  width: 100%;
  line-height: 35px;
  background: #dcf5f0;
  border: none;
  outline: none;
  padding: 0 10px;
  font-size: var(--font-f2);
}

.contact-form-group textarea {
  line-height: 1.6;
  padding-top: 16px;
  padding-bottom: 16px;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.checkbox-label input {
  width: auto;
  margin-right: 10px;
  width: 27px;
  height: 27px;
  background: #dcf5f0;
}

input.contact-form-date {
  background: #dcf5f0 url(../assets/images/calendar-icon.svg) no-repeat 97%
    center;
  background-size: 20px;
}

input.contact-form-time {
  background: #dcf5f0 url(../assets/images/time-icon.svg) no-repeat 97% center;
  background-size: 20px;
}

.checkbox-label input:checked + .privacy-check {
  background: #dcf5f0 url("../assets/images/flow/checked.png") no-repeat center
    center;
  background-size: 20px;
}

.checkbox-label .privacy-check {
  width: 27px;
  height: 27px;
  display: block;
  background: #dcf5f0;
  position: absolute;
  left: 0;
  top: 0;
}

.service-policy {
  text-decoration: underline;
  font-size: var(--font-f3);
}

.submit-btn {
  font-weight: 500;
  font-size: var(--font-f4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 200px;
  margin: 20px auto 0;
  padding: 10px 10px 10px 30px;
  background: #00a79d;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  border-radius: 24px;
}

.submit-btn-icon {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  background: #fff url("../assets/images/flow/arrow-right.png") no-repeat center
    center;
  background-size: 20px;
}

.submit-btn:hover {
  background: #008f86;
}

.submit-btn img {
  margin-left: 10px;
  width: 20px;
}

@media screen and (max-width: 1200px) {
  .contact-page-subtitle,
  .contact-page-title {
    left: 0;
  }
}

@media screen and (max-width: 1024px) {
  .contact-form {
    padding-left: 0;
  }

  .contact-page-section,
  .contact-page-title {
    left: initial;
    position: static;
    text-align: center;
  }

  .contact-page-subtitle {
    text-align: center;
  }

  .contact-page-subtitle::after {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .contact-main {
    padding: 40px 0;
  }

  .contact-form {
    margin-top: 40px;
    padding-left: 0;
  }

  .contact-form-group {
    margin-bottom: 20px;
  }

  .contact-form-group .contact-item-label {
    flex: 0 0 200px;
  }
}

@media screen and (max-width: 480px) {
  .contact-page-section {
    padding: 0 15px;
  }

  .contact-form-group {
    display: flex;
    flex-direction: column;
  }

  .contact-form-group .contact-item-label {
    flex: auto;
    margin-right: 0;
  }

  .footer-logo img {
    height: auto;
  }

  .checkbox-label .privacy-check,
  .checkbox-label input {
    width: 20px;
    height: 20px;
  }
}
