/* Contact page overrides - small, page-specific styles only.
   Avoid redefining header/nav/hamburger styles so site theme and mobile menu remain consistent.
*/

.contact_container {
  margin-top: 150px;
  padding-bottom: 80px;
  border-bottom: solid 1px #ebebeb;
}

#google_map {
  width: 100%;
  height: 507px;
  margin-bottom: 59px;
}
.map_container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  box-shadow: 0px 27px 59px rgba(0, 0, 0, 0.15);
}
#map {
  width: 100%;
  height: calc(100% + 30px);
}

.contact_contents {
  padding-right: 30px;
}
.contact_contents h1,
.follow_us_contents h1,
.get_in_touch_contents h1 {
  font-size: 40px;
  font-weight: 500;
}
.contact_contents p,
.get_in_touch_contents p {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 0px;
}
.contact_contents div {
  margin-top: 22px;
}
.contact_contents div:first-of-type {
  margin-top: 39px;
}

.social {
  margin-top: 20px;
  padding-left: 0;
}
.social li {
  margin-right: 12px;
  display: inline-block;
}
.social li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.social li a i {
  color: #ffffff;
}
.social li:hover a {
  transform: translateY(-5px);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

.form_input {
  display: block;
  width: 100%;
  height: 50px;
  border: solid 1px #e5e5e5;
  padding-left: 20px;
  font-size: 16px;
  margin-bottom: 20px;
}
.input_message {
  width: 100%;
  margin-bottom: 15px;
  font-size: 16px;
  padding-bottom: 15px;
}
.message_submit_btn {
  background: var(--theme-color, #1e1e27);
  color: #fff;
  text-transform: uppercase;
  width: 165px;
  border: none;
  height: 46px;
  cursor: pointer;
}
.message_submit_btn:hover {
  opacity: 0.95;
}

@media (max-width: 767.98px) {
  .contact_container {
    margin-top: calc(var(--site-header-height, 80px) + 20px);
  }
  .contact_contents {
    padding-right: 0;
  }
}

/* Additional responsive tweaks merged from legacy contact_responsive.css */
@media only screen and (max-width: 991px) {
  /* keep header/menu behavior controlled by main CSS; only adjust contact spacing */
  .contact_container {
    margin-top: calc(var(--site-header-height, 100px) + 10px);
  }
  .get_in_touch_col {
    margin-top: 40px;
  }
}

@media only screen and (max-width: 767px) {
  .contact_contents h1,
  .follow_us_contents h1,
  .get_in_touch_contents h1 {
    font-size: 36px;
  }
  .contact_contents p,
  .get_in_touch_contents p {
    font-size: 14px;
  }
}

@media only screen and (max-width: 575px) {
  .contact_contents h1,
  .follow_us_contents h1,
  .get_in_touch_contents h1 {
    font-size: 24px;
  }
  .contact_contents p,
  .get_in_touch_contents p {
    font-size: 13px;
  }
  .contact_contents div:first-of-type {
    margin-top: 32px;
  }
  .contact_contents div {
    margin-top: 13px;
  }
  .form_input {
    font-size: 14px;
    margin-bottom: 15px;
    padding-left: 15px;
  }
  .input_message {
    font-size: 14px;
    padding-left: 15px;
  }
  .message_submit_btn {
    font-size: 12px;
    width: 145px;
  }
  .social {
    margin-top: 12px;
  }
}

/* Focus and placeholder rules carried over (scoped) */
.form_input:focus {
  border: solid 1px #7f7f7f !important;
  box-shadow: none !important;
}
.input_ph::-webkit-input-placeholder {
  font-size: 14px !important;
}
.input_ph:-moz-placeholder {
  font-size: 14px !important;
}
.input_ph::-moz-placeholder {
  font-size: 14px !important;
}
.input_ph:-ms-input-placeholder {
  font-size: 14px !important;
}
.input_ph::input-placeholder {
  font-size: 14px !important;
}
