
html#head-tag{
  margin: 0 !important;
}

.contact-section {
  padding: 0;
}
.contact-title-box {
    width: auto;
    border: none;
    background: none;
    width: 100%;
    margin: 0 auto;
    padding: 120px 0;
    background-image: url(./images/contact-bg.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.contact-title-box img {
  max-width: 360px;
  margin: auto;
}
.container.narrow {
  max-width: none;
  padding: 0;
}
.contact-form {
  padding: 100px 0px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background-color: #fff;
}
.contact-form .form-row {
  max-width: 1110px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
.contact-form .form-row label {
  max-width: 160px;
  width: 100%;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}
.contact-form .form-row.textarea-row label {
  margin-top: 10px;
}
.contact-form .form-row.policy-row label {
  margin-top: 10px;
}
.contact-form input,
.contact-form select {
  width: 100%;
  height: 52px;
  margin: 0 auto;
  border: 1px solid #221713;
  border-radius: 999px;
  padding: 0 22px;
  background: #ffffff;
  font-size: 15px;
}
.contact-form textarea {
  width: 95%;
  height: 180px;
  margin: 0 auto;
  border: 1px solid #231815;
  border-radius: 28px;
  padding: 20px 22px;
  background: #ffffff;
  font-size: 15px;
  resize: vertical;
}
.contact-form .policy-box {
  width: 95%;
  margin: 0 auto;
  border: 1px solid #312723;
  background: #fff;
  padding: 23px;
  font-size: 13px;
  line-height: 1.8;
  height: 240px;
  overflow-y: scroll;
}
.contact-form .policy-box p {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 400;
}
.contact-form .submit-wrap button {
  border: none;
  background: #ff1d1d;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 14px 60px;
  border-radius: 999px;
  cursor: pointer;
}

.contact-form .form-row label.selectbox-3 {
  max-width: none;
  width: 100%;
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  position: relative;
}
.contact-form .form-row label.selectbox-3::before {
  top: 16px;
  right: 30px;
  width: 10px;
  height: 16px;
  content: "";
  position: absolute;
  border-right: 2px solid #333;
  transform: rotate(30deg);
}
.contact-form .form-row label.selectbox-3::after {
  position: absolute;
  top: 18px;
  right: 27px;
  width: 16px;
  height: 10px;
  content: "";
  pointer-events: none;
  border-bottom: 2px solid #333;
  transform: rotate(60deg);
}
.contact-form .form-row label.selectbox-3 select {
  appearance: none;
  width: 100%;
  border: 2px solid #221713;
  border-radius: 25px;
  background-color: #fff;
  color: #141110;
  font-size: 1.2em;
  font-weight: 500;
  cursor: pointer;
}

.c-select {
  position: relative;
  width: 100%;
}
.c-select__display {
  position: relative;
  letter-spacing: 0.1em;
  cursor: pointer;
  width: 100%;
  height: 52px;
  margin: 0 auto;
  border: 1px solid #221713;
  border-radius: 999px;
  padding: 0 22px;
  background: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  display: flex;
  align-items: center;
  line-height: 1;
  font-weight: 600;
}
.c-select__display::before {
  top: 18px;
  right: 30px;
  width: 10px;
  height: 13px;
  content: "";
  position: absolute;
  pointer-events: none;
  border-right: 2px solid #333;
  transform: rotate(30deg);
}
.c-select__display::after {
  top: 19px;
  right: 27px;
  width: 14px;
  height: 10px;
  content: "";
  position: absolute;
  pointer-events: none;
  border-bottom: 2px solid #333;
  transform: rotate(60deg);
}
.c-select__list {
  display: none;
  position: absolute;
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  z-index: 10;
}
.c-select__list.is-open {
  display: block;
  margin: 0;
  padding: 0;
  color: #fff;
  background: #262c8e;
}
.c-select__item {
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  cursor: pointer;
  list-style: none;
  color: #222222;
  background: #fff;
}
.c-select__item:hover {
  color: #ffffff;
  background: rgb(26, 115, 232);
}

.submit-wrap {
    margin-top: 35px;
}

@media (max-width: 768px) {
  .contact-title-box {
      padding: 100px 75px;
  }
  .contact-form {
    padding: 60px 20px;
    gap: 10px;
  }
  .contact-form .form-row {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .contact-form .form-row:last-child {
    margin-bottom: 0;
  }
  .contact-form input,
  .contact-form select {
    width: 95%;
    height: 48px;
  }
  .contact-form textarea {
      width: 95%;
  }
  .contact-form .policy-box p {
    font-size: 16px;
  }
  .form-row label.selectbox-3 select {
    font-size: 0.8em;
  }
  .c-select__display {
    font-size: 1em;
    padding: 0 55px 0 22px;
  }
  .c-select__item {
    font-size: 0.9rem;
  }
}


/*Thanks*/
#thanks {
    padding: 60px 0;
    background: #fff;
}

#thanks h2 {
    color: #ff1d1d;
}

#thanks p {
    margin: 0 0 15px;
    font-size: 16px;
}