.contact {
  position: relative;
  padding-top: 12.75rem;
  max-width: 100%;
  background: #fff7f0;
  overflow: hidden;
}

.contact__container {
  max-width: 82.5rem;
  margin: 0 auto;
}

.contact__title {
  display: inline-block;
  font-kerning: none;
  font-feature-settings: 'salt' on;
  font-family: SVN-Optima;
  font-size: 3.5rem;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: -0.14rem;
  background: linear-gradient(90deg, #2D6635 81.41%, #CFF396 105.22%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2.5rem;
}

.contact__inner {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  padding: 2.5rem;
  border-radius: 1rem;
  background: var(--Main-Colors-Brown-6, #99835e);
  z-index: 2;
  overflow: hidden;
}

.contact__inner-texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  z-index: 0;
  pointer-events: none;
}

.contact__form-wrapper {
  width: 37.5rem;
  flex-shrink: 0;
  border-radius: 1rem;
}

.contact__form-title {
  position: relative;
  color: #FFF;
  font-kerning: none;
  font-family: SVN-Optima;
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  letter-spacing: -0.1rem;
  margin-bottom: 1.5rem;
}

.contact__form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact__fields {
  width: 100%;
  z-index: 1;
}

.contact__field-wrapper {
  width: 100%;
  margin-bottom: 0.75rem;
}

.contact__field-wrapper:last-child {
  margin-bottom: 0;
}

.contact__field {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  height: 3.5rem;
  padding: 0 1.25rem;
  border-radius: var(--border-300, 0.75rem);
  border: 1px solid #eee;
  background: #fafaf7;
  transition: border-color 0.3s ease;
}

.contact__field-label {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.contact__field--note {
  align-items: center;
}

.contact__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.contact__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact__input {
  margin-left: 0.75rem;
  flex: 1;
  color: var(--text-Body-Body, #3a3026);
  font-family: SVN-Optima;
  font-size: var(--font-size-sm, 0.875rem);
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  border: none;
  outline: none;
  background: transparent;
  resize: none;
}

.contact__input::placeholder {
  color: #3a3026;
  font-family: "SVN-Optima";
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.contact__input--textarea {
  min-height: auto;
}

.contact__submit-btn--mobile {
  display: none;
}

.contact__submit-btn--desktop {
  margin-top: 1.13rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.75rem;
  padding: 0 0.375rem 0 1.5rem;
  border-radius: 0.75rem;
  background: #2d6635;
  min-width: 13rem;
  flex-shrink: 0;
}

.contact__submit-btn--desktop p {
  color: #fff;
  font-family: SVN-Optima;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  /* 1.2rem */
  letter-spacing: -0.03rem;
  text-transform: uppercase;
}

.contact__submit-btn--desktop span {
  margin-left: 0.75rem;
  position: relative;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform: translateZ(0);
  backface-visibility: hidden;
  overflow: hidden;
  will-change: transform, background;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.55rem;
  background: #f0fbf2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hiệu ứng hình tròn nở */
.contact__submit-btn--desktop span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  /* màu khi hover */
  background: #b98951;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

/* Khi hover toàn bộ button */
.contact__submit-btn--desktop {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.contact__submit-btn--desktop:hover {
  box-shadow: 0 4px 35.2px 0 rgba(232, 203, 130, 0.39);
}

.contact__submit-btn--desktop:hover span::before {
  width: 4rem;
  height: 4rem;
  background: #7fc828;
  opacity: 1;
}

.contact__submit-btn--desktop:active span {
  transform: scale(0.95);
  transition-duration: 0.1s;
}

/* Icon styling */
.contact__submit-btn--desktop span img {
  position: relative;
  z-index: 1;
  width: 50%;
  height: 50%;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Change icon color to white on hover */
.contact__submit-btn--desktop:hover span img {
  filter: brightness(0) invert(1);
}

.contact__submit-btn--desktop span img {
  width: 45%;
  height: 45%;
  object-fit: contain;
  transform: translateX(0.094rem);
}

.contact__submit-wrapper {
  flex-basis: 100%;
  width: 100%;
  display: flex;
  z-index: 1;
}

.contact__field-error {
  color: #f14f32;
  font-family: SVN-Optima;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  margin-left: auto;
  white-space: nowrap;
  display: none;
}

.contact__field-error.show {
  display: block;
}

.contact__info {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  flex: 1;
  padding-top: 0.75rem;
  margin-left: 2.5rem;
  max-width: 27.0625rem;
  /*   height: 100%; */
}

.contact__info-list {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.contact__info-item {
  display: flex;
  align-items: center;
}

.contact__info-item:nth-child(n + 2) {
  margin-top: 0.88rem;
}

.contact__info-item--address {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact__info-item--address-span {
  display: flex;
  flex-direction: row;
}

.contact__info-item__address {
  display: flex;
  align-items: flex-start;
}

.contact__info-item--address a {
  align-self: flex-start;
  margin-top: 0.25rem;
  margin-left: 2rem;
  color: var(--main-colors-grayscale-warm-200, #e5e5e5);
  font-family: SVN-Optima;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5rem;
  /* 200% */
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.contact__info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.contact__info-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact__info-text {
  margin-left: 0.62rem;
  color: var(--color-white-solid, #fff);
  font-kerning: none;
  font-feature-settings: "salt" on;
  font-family: SVN-Optima;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 160%;
  /* 1.6rem */
  letter-spacing: -0.02rem;
}

.contact__socials {
  display: flex;
  flex-direction: column;
  /*   margin-top: 2rem; */
}

.contact__socials-title {
  align-self: stretch;
  color: var(--lithuania-travel-catskill-white, var(--color-grey-98, #f7f9fb));
  font-family: SVN-Optima;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
  /* 1.25rem */
  letter-spacing: -0.025rem;
}

.contact__socials-list {
  margin-top: 1.12rem;
  display: flex;
  align-items: center;
}

.contact__social {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.80344rem 0.80406rem 0.75056rem 0.75rem;
  justify-content: center;
  align-items: center;
  border-radius: 0.625rem;
  border: 1px solid rgba(107, 65, 15, 0.25);
  background: #eaeaea;
}

.contact__social:nth-child(n + 2) {
  margin-left: 0.62rem;
}

.contact__social-icon {
  width: 0.94594rem;
  height: 0.94594rem;
  flex-shrink: 0;
  object-fit: contain;
}

.contact__form-decor {
  position: absolute;
  right: 0;
  bottom: -11rem;
  width: 24.85775rem;
  height: 35.75219rem;
  flex-shrink: 0;
  pointer-events: none;
  order: 3;
}

.contact__form-decor img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact__decoration--left {
  position: absolute;
  width: 16.35644rem;
  height: 27.76606rem;
  flex-shrink: 0;
  aspect-ratio: 261.7/444.26;
  top: 10.37506rem;
  left: -0.75rem;
  z-index: 1;
  pointer-events: none;
}

.contact__decoration--left img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact__decoration--right {
  position: absolute;
  width: 21.5rem;
  height: auto;
  flex-shrink: 0;
  top: 2.65rem;
  right: -2rem;
  z-index: 2;
  pointer-events: none;
}

.contact__decoration--right img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 639.98px) {
  .contact {
    padding-top: 5.56rem;
  }

  .contact__title {
    width: 11.4375rem;
    padding: 0 1rem;
    font-size: 2rem;
    letter-spacing: -0.04rem;
    margin-bottom: 1.8125rem;
  }

  .contact__inner {
    margin: 0 1rem;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    max-width: 100%;
    padding: 0.75rem;
    padding-bottom: 10rem;
  }

  .contact__form-wrapper {
    position: relative;
    width: 100%;
  }

  .contact__form-title {
    text-align: center;
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: -0.0275rem;
    margin-bottom: 0.875rem;
  }

  .contact__field-wrapper {
    width: 100%;
    margin-bottom: 0.625rem;
  }

  .contact__field {
    height: 2.625rem;
    padding: 0 0.75rem;
    border-radius: 0.64725rem;
    border: 0.838px solid #eee;
    background: #fafaf7;
  }

  .contact__field {
    /* flex-direction: column; */
    /*align-items: flex-start;*/
  }

  .contact__field:nth-child(n + 2) {
    margin-top: 0.62rem;
  }

  .contact__field--note {
    align-items: flex-start;
    height: 8.5625rem;
    padding: 0.8125rem 0.75rem;
  }

  .contact__icon {
    width: 1.125rem;
    height: 1.125rem;
  }

  .contact__input {
    margin-left: 0.5rem;
    color: var(--text-Body-Body, #3a3026);
    font-family: SVN-Optima;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 1.125rem */
  }

  .contact__input::placeholder {
    color: var(--text-Body-Body, #3a3026);
    font-family: SVN-Optima;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 1.125rem */
  }

  .contact__input--textarea {
    height: 100%;
    padding: 0;
  }

  .contact__submit-btn--mobile {
    display: flex;
    width: 100%;
    height: 2.625rem;
    padding: 0 0.35rem 0 0.25rem;
    padding-left: 0.75rem;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    margin-top: 0.88rem;
    border-radius: 0.5rem;
    background: #2d6635;
    box-shadow: 0 3.06px 26.928px 0 rgba(232, 203, 130, 0.39);
  }

  .contact__submit-wrapper {
    display: none;
  }

  .contact__submit-btn--desktop {
    display: none;
  }

  .contact__submit-btn--mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 2.625rem;
    padding: 0 0.35rem 0 0.75rem;
    border-radius: 0.5rem;
    background: #2d6635;
  }

  .contact__submit-btn--mobile p {
    color: #fff;
    font-family: SVN-Optima;
    font-size: 0.765rem;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    /* 0.918rem */
    letter-spacing: -0.02294rem;
  }

  .contact__submit-btn--mobile span {
    margin-left: 0.57rem;
    position: relative;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateZ(0);
    backface-visibility: hidden;
    overflow: hidden;
    will-change: transform, background;
    width: 2rem;
    height: 2rem;
    border-radius: 0.45rem;
    background: #f0fbf2;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .contact__submit-btn--mobile span img {
    width: 45%;
    height: 45%;
  }

  /* Form Validation Styles */
  .contact__field-error {
    color: #f14f32;
    font-family: SVN-Optima;
    font-size: 0.625rem;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    margin-left: 0;
    margin-top: 0.25rem;
    white-space: nowrap;
    display: none;
  }

  .contact__field-error.show {
    display: block;
  }

  .contact__info {
    position: relative;
    padding-top: 0;
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    flex: 1;
    margin-left: 0;
    max-width: 100%;
    /*     min-height: 100%; */
  }

  .contact__info-list {
    flex: 0;
    margin-bottom: 1.5rem;
  }

  .contact__info-item:nth-child(n + 2) {
    margin-top: 0.75rem;
  }

  .contact__info-item--address a {
    align-self: flex-start;
    margin-top: 0.25rem;
    margin-left: 1.75rem;
    color: var(--main-colors-grayscale-warm-200, #e5e5e5);
    font-family: SVN-Optima;
    font-size: 0.625rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5rem;
    /* 240% */
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
  }

  .contact__info-icon {
    width: 1.125rem;
    height: 1.125rem;
  }

  .contact__info-text {
    color: var(--color-white-solid, #fff);
    font-kerning: none;
    font-feature-settings: "salt" on;
    font-family: SVN-Optima;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    /* 0.9rem */
    letter-spacing: -0.015rem;
  }

  .contact__socials {
    display: flex;
    flex-direction: column;
  }

  .contact__socials-title {
    color: var(--lithuania-travel-catskill-white,
        var(--color-grey-98, #f7f9fb));
    font-family: SVN-Optima;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
    /* 0.875rem */
    letter-spacing: -0.0175rem;
  }

  .contact__socials-list {
    margin-top: 0.88rem;
  }

  .contact__social {
    width: 1.75rem;
    height: 1.75rem;
    padding: 0.56238rem 0.56288rem 0.52544rem 0.52494rem;
    justify-content: center;
    align-items: center;
    border-radius: 0.4375rem;
    border: 0.7px solid rgba(107, 65, 15, 0.25);
    background: #eaeaea;
  }

  .contact__social:nth-child(n + 2) {
    margin-left: 0.5rem;
  }

  .contact__social-icon {
    width: 0.66219rem;
    height: 0.66219rem;
    flex-shrink: 0;
    object-fit: contain;
  }

  .contact__form-decor {
    bottom: -0.25rem;
    width: 17.40788rem;
    height: auto;
  }

  .contact__decoration--left {
    display: none;
  }

  .contact__decoration--right {
    position: absolute;
    top: 3.75rem;
    right: -0.75rem;
    width: 12.668rem;
    height: 13.32138rem;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
  }

  .contact__decoration--right img {
    position: absolute;
    width: 100%;
    height: 100%;
    right: -2rem;
    transform: rotate(-10deg);
    object-fit: contain;
  }
}