/* Contact Page Specific Styles */
.contact-page .page__inner {
  position: relative;
}

.contact-page .page__inner .start__arrow {
  position: absolute;
  left: -130px;
  top: 100px;
  width: 148px;
  height: 175px;
  transform: scale(-1, 1);
}

.contact-page .page__inner .start__arrow img {
  width: 100%;
  height: 100%;
  display: block;
  transform: rotate(380deg);
}

@media (max-width: 1260px) {
  .contact-page .page__inner .start__arrow {
    display: none;
  }
}

.contact-page .page__title {
  margin-top: 70px;
  font-family: "Roboto Accent", sans-serif;
  font-size: 60px;
  line-height: normal;
  font-family: "Roboto Primary", sans-serif;
  font-size: 28px;
  color: var(--color-black);
  font-weight: 400;
}

.contact-page .page__text {
  font-family: "Roboto Accent", sans-serif;
  font-size: 60px;
  font-family: "Roboto Primary", sans-serif;
  font-size: 22px;
  color: var(--color-black);
  font-weight: 400;
  letter-spacing: normal;
  margin-top: 20px;
}

/* ============================================
   CONTACT FORM 
   ============================================ */

/* Form Container with Shadow */
.form-container {
  background: var(--color-white);
  box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.1);
  padding: 54px 66px 43px 72px;
  margin: 50px 0 0;
  width: 980px;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-form {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.form-heading {
  font-family: "Roboto Accent", sans-serif;
  font-size: 25px;
  font-weight: bold;
  line-height: normal;
  color: var(--color-text-dark);
  margin: 50px 0 30px;
  letter-spacing: normal;
}

.form-heading:first-of-type {
  margin-top: 0;
}

.form-heading .optional {
  font-family: "Roboto Primary", sans-serif;
  font-weight: 400;
}

.form-row {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
  width: calc(50% - 15px);
}

.form-group--wide {
  width: calc(50% - 15px);
}

.form-group--full {
  width: 100%;
}

.form-group label {
  font-family: "Roboto Primary", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: rgb(54, 54, 54);
  margin-bottom: 8px;
  display: inline-block;
}

.form-group label.required::after {
  content: " *";
  color: rgb(54, 54, 54);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
  font-family: "Roboto Primary", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: rgb(54, 54, 54);
  background-color: rgb(255, 255, 255);
  border: 2px solid rgb(0, 57, 110);
  border-radius: 0;
  padding: 12px 15px;
  height: 50px;
  box-sizing: border-box;
  transition:
    border 0.5s ease,
    opacity 0.5s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-group input:hover,
.form-group select:hover {
  border-color: rgb(55, 59, 77);
  background-color: rgb(255, 255, 255);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: rgb(55, 59, 77);
  background-color: rgb(255, 255, 255);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9.2828 4.89817'%3E%3Cpath fill='%23363636' d='M4.64116,4.89817a.5001.5001,0,0,1-.34277-.13574L.15727.86448A.50018.50018,0,0,1,.84282.136L4.64116,3.71165,8.44.136a.50018.50018,0,0,1,.68555.72852L4.98393,4.76243A.5001.5001,0,0,1,4.64116,4.89817Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
  padding-right: 40px;
}

.form-group textarea {
  font-family: "Roboto Primary", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: rgb(54, 54, 54);
  background-color: rgb(255, 255, 255);
  border: 2px solid rgb(0, 57, 110);
  border-radius: 0;
  padding: 12px 15px;
  min-height: 249px;
  resize: none;
  box-sizing: border-box;
  transition: border 0.5s ease;
}

.form-group textarea:hover,
.form-group textarea:focus {
  border-color: rgb(55, 59, 77);
  outline: none;
}

.form-privacy-notice {
  font-size: 20px;
  font-weight: 400;
}

.form-group--checkbox {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 20px;
}

.form-group--checkbox input[type="checkbox"] {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border: 2px solid rgb(0, 57, 110);
  border-radius: 0;
  background: var(--color-white);
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
}

.form-group--checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7.40011 5.68606'%3E%3Cpath fill='%23363636' d='M2.55016,5.68606c-.01709,0-.03369-.001-.05078-.002a.7.7,0,0,1-.51758-.28955L.1317,2.82326a.7.7,0,1,1,1.13672-.81738l1.36133,1.8916L6.19713.2134A.69995.69995,0,0,1,7.203,1.187L3.05309,5.47268A.7.7,0,0,1,2.55016,5.68606Z'/%3E%3C/svg%3E");
  background-size: contain;
}

.form-group--checkbox label {
  font-family: "Roboto Primary", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: rgb(54, 54, 54);
  margin-bottom: 0;
  cursor: pointer;
}

.form-group--checkbox label a {
  color: rgb(54, 54, 54);
  text-decoration: underline;
}

.form-submit {
  font-family: "Roboto Accent", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: rgb(255, 255, 255);
  background-color: rgb(0, 0, 0);
  border: none;
  border-radius: 5px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  width: 210px;
  height: 56px;
  cursor: pointer;
  transition:
    border-color 0.4s ease,
    background-color 0.4s ease,
    color 0.4s ease;
  margin-top: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.form-submit:hover {
  background-color: rgb(212, 212, 212);
  color: rgb(54, 54, 54);
}

.form-success {
  font-size: 20px;
  font-weight: 400;
  color: var(--color-text-dark);
  text-align: center;
}

@media (max-width: 900px) {
  .contact-page .quote-band__inner {
    padding: 25px 20px;
  }

  .contact-page .page__inner {
    padding: 0 20px 150px;
  }

  .form-container {
    padding: 30px 0;
    margin: 30px 0;
    box-shadow: none;
  }

  .form-row {
    flex-direction: column;
    gap: 30px;
  }

  .form-group,
  .form-group--wide,
  .form-group--full {
    width: 100%;
    max-width: 100%;
  }

  .form-group--checkbox {
    max-width: 100%;
  }

  .form-submit {
    width: 100%;
    max-width: 300px;
  }
}
