.contact-hero {
  height: 48rem;
  position: relative;
  padding: 0rem;
  overflow: hidden;
}

.contact-hero .hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-slider .splide__track,
.hero-slider .splide__list,
.hero-slider .splide__slide {
  height: 100%;
}

.hero-slider .splide__slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slider .splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-contact-content {
  position: absolute;
  top: 12.5rem;
  left: 50%;
  transform: translate(-50%, 0%);
  z-index: 100;
  width: 100%;
  max-width: 45rem;
  padding: 2.5rem;
  pointer-events: auto;
  mix-blend-mode: normal;
  z-index: 2;
  overflow: hidden;
}

.hero-contact-backdrop {
  position: absolute;
  top: 12.5rem;
  left: 50%;
  transform: translate(-50%, 0%);
  max-width: 45rem;
  width: 100%;
  height: 32rem;
  background: var(--primary-color);
  z-index: 1;
  mix-blend-mode: multiply;
}

.contact-form-title {
  font-size: 1rem;
  color: #fff;
  font-weight: normal;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-group {
  position: relative;
  width: 100%;
}

.form-control-custom {
  width: 100%;
  height: 3.2rem;
  padding: 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  font-size: 1rem;
  font-weight: 300;
  transition: all 0.3s;
  border-radius: 0;
}

.form-control-custom:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.05);
  border-color: #fff;
}

.form-control-custom::placeholder {
  color: #fff;
  opacity: 1;
}

textarea.form-control-custom {
  min-height: 120px;
  resize: none;
}

.contact-submit-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 1.5rem;
  gap: 2rem;
  width: 100%;
}

.submit-left-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.btn-contact-submit {
  background: #879ab3;
  color: #fff;
  border: none;
}

.btn-contact-submit:hover {
  background: #7689a1;
}

.reach-out-section {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.reach-out-title {
  color: #fff;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
}

.reach-out-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  font-weight: 300;
}

.phone-icon {
  width: 1.4rem;
  height: 1.4rem;
  border: 1.5px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.phone-icon svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: #fff;
}

.reach-out-phone:hover .phone-icon {
  background: #fff;
}

.reach-out-phone:hover .phone-icon svg {
  fill: var(--primary-color);
}

.contact-map-thumb {
  width: 17.3rem;
  height: 7.2rem;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-map-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.parsley-errors-list {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  margin: 0;
  padding: 0;
  list-style-type: none;
  color: #ff6b6b;
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1;
  z-index: 5;
}

.parsley-errors-list.filled {
  opacity: 1;
}

input.parsley-error,
textarea.parsley-error {
  border-color: #ff6b6b !important;
}

input.parsley-success,
textarea.parsley-success {
  border-color: #4caf50 !important;
}

@media (max-width: 768px) {
  .hero-wrapper {
    height: 48rem !important;
  }
  .hero-contact-content,
  .hero-contact-backdrop {
    max-width: calc(100vw - 3rem);
  }
}

@media (max-width: 500px) {
  .contact-submit-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }

  .contact-map-thumb {
    width: 100%;
    max-width: 100%;
    height: 12rem;
  }
  .hero-contact-content,
  .hero-contact-backdrop {
    max-width: calc(100vw - 2rem);
  }
  .hero-contact-content {
    padding: 3rem 1.5rem;
  }
  .contact-hero {
    height: 68rem !important;
  }
  .hero-contact-backdrop {
    height: 51rem;
  }
  .submit-left-col {
    gap: 4rem;
  }
}
