@import url("common.css");
body {
  background: rgb(226, 210, 192);
}
.hero-content-section {
  width: 100vw;
  height: 60vh;
  margin: 3em 0;
}
.hero-img-container {
  top: 20%;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/images/shelter-cove-contact-header.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-text {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateY(-50%);
  color: rgb(255, 255, 255);
  text-shadow:
  0 2px 4px rgba(0, 0, 0, 0.7),
  0 4px 12px rgba(0, 0, 0, 0.5);
  padding: 20px;
  max-width: 80%;
  text-align: center; /*^ Center vertically */
}
.contact-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 3em;
}
.contact-header {
  text-align: center;
}
::selection {
  color: #fff;
  background: rgb(226, 210, 192);
}
.wrapper {
  width: 50%;
  background: #fff;
  border-radius: 5px;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
}
@media (max-width: 767px) {
  .wrapper {
    width: 90%;
  }
}
.wrapper .contact-header {
  font-size: 22px;
  font-weight: 600;
  padding: 20px 30px;
  border-bottom: 1px solid #ccc;
}
.wrapper form {
  margin: 35px 30px;
}
.wrapper form.disabled {
  pointer-events: none;
  opacity: 0.7;
}
form .dbl-field {
  display: flex;
  margin-bottom: 25px;
  justify-content: space-between;
}
.dbl-field .field {
  height: 50px;
  display: flex;
  position: relative;
  width: calc(100% / 2 - 13px);
}
.wrapper form .form-icon {
  position: absolute;
  top: 50%;
  left: 18px;
  color: #ccc;
  width: 20px;
  height: 20px;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  pointer-events: none;
  transform: translateY(-50%);
}
.form-icon-user {
  -webkit-mask-image: url("/images/contact-user.svg");
  mask-image: url("/images/contact-user.svg");
}
.form-icon-mail {
  -webkit-mask-image: url("/images/contact-mail.svg");
  mask-image: url("/images/contact-mail.svg");
}
.form-icon-phone {
  -webkit-mask-image: url("/images/contact-phone.svg");
  mask-image: url("/images/contact-phone.svg");
}
.form-icon-message {
  -webkit-mask-image: url("/images/contact-message.svg");
  mask-image: url("/images/contact-message.svg");
}
form .field input,
form .message textarea {
  width: 100%;
  height: 100%;
  outline: none;
  padding: 0 18px 0 48px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
.field input::placeholder,
.message textarea::placeholder {
  color: #ccc;
}
@media (max-width: 767px) {
  .wrapper form .form-icon {
    color: #797878;
  }
  .field input::placeholder,
  .message textarea::placeholder {
    color: #797878;
  }
}
.field input:focus,
.message textarea:focus {
  padding-left: 47px;
  border: 2px solid rgb(226, 210, 192);
}
.field input:focus ~ .form-icon,
.message textarea:focus ~ .form-icon {
  color: rgb(226, 210, 192);
}
form .message {
  position: relative;
}
form .message .form-icon {
  top: 30px;
}
form .message textarea {
  min-height: 130px;
  max-height: 230px;
  max-width: 100%;
  min-width: 100%;
  padding: 15px 20px 0 48px;
}
form .message textarea::-webkit-scrollbar {
  width: 0px;
}
.message textarea:focus {
  padding-top: 14px;
}
form .button-area {
  margin: 25px 0;
  display: flex;
  align-items: center;
}
.button-area button {
  color: #000;
  border: none;
  outline: none;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
  padding: 13px 25px;
  background: rgb(226, 210, 192);
  transition: all 0.5s ease-in-out;
}
.button-area button:hover {
  background: rgb(181, 153, 120);
  color: #fff;
}
.button-area span {
  font-size: 17px;
  margin-left: 30px;
  display: none;
}
@media (max-width: 600px) {
  .wrapper header {
    text-align: center;
  }
  .wrapper form {
    margin: 35px 20px;
  }
  form .dbl-field {
    flex-direction: column;
    margin-bottom: 0px;
  }
  form .dbl-field .field {
    width: 100%;
    height: 45px;
    margin-bottom: 20px;
  }
  form .message textarea {
    resize: none;
  }
  form .button-area {
    margin-top: 20px;
    flex-direction: column;
  }
  .button-area button {
    width: 100%;
    padding: 11px 0;
    font-size: 16px;
  }
  .button-area span {
    margin: 20px 0 0;
    text-align: center;
  }
}
.phone-text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.phone-text-container .phone-link,
.phone-text-container .sms-link {
  color: #000000;
  text-decoration: none; /* Remove underline */
}

.phone-text-container .phone-link:hover,
.phone-text-container .sms-link:hover {
  text-decoration: underline; /* Add underline on hover for better UX */
}
