.contact-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 95vh;
  background-color: #ffffff;
  padding: 6rem 0 8rem 0;
}
.contact-form .container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-form .contact-title {
  text-align: center;
  font-size: 4rem;
  font-weight: bold;
  color: rgb(85, 28, 69);
  line-height: 1.2;
}
.contact-form .contact-subtitle {
  text-align: center;
  font-size: 1.8rem;
  color: #808080;
  margin: 2rem 0 4rem 0;
  line-height: 1.2;
}
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 25vw;
  min-height: 60vh;
}
.contact-form .form-actions {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 0;
}
.contact-form .form-actions .privacy-checkbox {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact-form .form-actions .privacy-checkbox input[type=checkbox] {
  width: 2rem;
  height: 2rem;
  accent-color: rgb(85, 28, 69);
  cursor: pointer;
}
.contact-form .form-actions .privacy-checkbox label {
  font-size: 1.4rem;
  color: #808080;
  cursor: pointer;
  line-height: 1.4;
}
.contact-form .form-actions .privacy-checkbox label a {
  color: rgb(85, 28, 69);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.contact-form .form-actions .privacy-checkbox label a:hover {
  color: #2f0f26;
  text-decoration: underline;
}
.contact-form .form-actions .btn {
  padding: 1.5rem 3rem;
  font-size: 1.8rem;
  min-width: 15rem;
  align-self: flex-end;
}

.form-message {
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  margin: 0;
  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
  width: 100%;
}
.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

form {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 100%;
  max-width: 50rem;
}
form .form-group {
  width: 100%;
  min-height: 6rem;
  position: relative;
  margin-bottom: 1rem;
}
form .form-group .input-field {
  position: relative;
  display: block;
  width: 100%;
  height: 2.5rem;
  bottom: -3.5rem;
  border: none;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1.2;
  color: #808080;
}
form .form-group .input-field:focus {
  outline: 0;
  border-bottom-color: #808080;
}
form .form-group .input-field:focus ~ label {
  transform: translateY(-2.75rem);
  font-size: 1.5rem;
}
form .form-group .input-field:focus ~ .input-line::before {
  transform: scaleX(1);
}
form .form-group .input-field:focus ~ .input-line::after {
  transform: scaleX(0);
}
form .form-group label {
  position: absolute;
  pointer-events: none;
  bottom: 0.25rem;
  font-size: 1.75rem;
  line-height: 1.2;
  color: #808080;
  transition: all 0.3s ease;
}
form .form-group .input-line {
  position: absolute;
  bottom: -0.75rem;
  height: 3px;
  width: 100%;
}
form .form-group .input-line::before, form .form-group .input-line::after {
  position: absolute;
  content: "";
  height: 3px;
  width: 100%;
  top: 0;
  left: 0;
  transform-origin: center;
  transition: transform 0.3s ease;
}
form .form-group .input-line::before {
  transform: scaleX(0);
  background: #808080;
  z-index: 2;
}
form .form-group .input-line::after {
  transform: scaleX(1);
  background: rgb(85, 28, 69);
  z-index: 1;
}
form .form-group .input-line.animated::before {
  transform: scaleX(1);
}
form .form-group .input-line.animated::after {
  transform: scaleX(0);
}

.phone-form-group {
  width: 100%;
  min-height: 6rem;
  position: relative;
  margin-bottom: 1rem;
}
.phone-form-group .input-line {
  position: absolute;
  bottom: -4.25rem;
  height: 3px;
  width: 100%;
  left: 0;
}
.phone-form-group .input-line::before, .phone-form-group .input-line::after {
  position: absolute;
  content: "";
  height: 3px;
  width: 100%;
  top: 0;
  left: 0;
  transform-origin: center;
  transition: transform 0.3s ease;
}
.phone-form-group .input-line::before {
  background-color: #808080;
  transform: scaleX(0);
  z-index: 2;
}
.phone-form-group .input-line::after {
  background-color: rgb(85, 28, 69);
  transform: scaleX(1);
  z-index: 1;
}
.phone-form-group .input-line.animated::before {
  transform: scaleX(1);
}
.phone-form-group .input-line.animated::after {
  transform: scaleX(0);
}

.phone-input-container {
  display: flex;
  width: 100%;
  position: relative;
  align-items: flex-end;
  gap: 1rem;
  bottom: -3.5rem;
}

.phone-input-wrapper {
  flex: 1;
  position: relative;
  height: 2.5rem;
}
.phone-input-wrapper .phone-label {
  position: absolute;
  pointer-events: none;
  font-size: 1.75rem;
  bottom: 0.5rem;
  line-height: 1.2;
  color: #808080;
  transition: all 0.3s ease;
}
.phone-input-wrapper .phone-number-input {
  bottom: 0.25rem !important;
}
.phone-input-wrapper .phone-number-input:focus, .phone-input-wrapper .phone-number-input:valid {
  outline: 0;
  border-bottom-color: #808080;
}

.phone-form-group .phone-number-input:focus ~ .phone-label {
  transform: translateY(-2.75rem);
  font-size: 1.5rem;
}

.phone-form-group .phone-number-input:focus ~ .input-line::before {
  background-color: #808080;
  transform: scaleX(1);
}

.phone-form-group .phone-number-input:focus ~ .input-line::after {
  transform: scaleX(0);
}

.country-selector {
  position: relative;
  z-index: 10;
  height: 2.5rem;
  bottom: 0.25rem;
}

.country-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.5rem;
  color: #808080;
  border-right: 1px solid #b3b3b3;
  height: 2.5rem;
  min-width: 8rem;
  transition: all 0.3s ease;
}
.country-dropdown-btn:hover {
  background-color: rgba(179, 179, 179, 0.1);
}
.country-dropdown-btn .flag {
  font-size: 1.2rem;
  font-weight: 600;
  color: #808080;
  min-width: 2rem;
}
.country-dropdown-btn .country-code {
  font-family: inherit;
  font-size: 1.5rem;
}
.country-dropdown-btn .dropdown-arrow {
  font-size: 1rem;
  transition: transform 0.3s ease;
}
.country-dropdown-btn.active .dropdown-arrow {
  transform: rotate(180deg);
}

.country-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fdfdfd;
  border: 2px solid #b3b3b3;
  border-radius: 0.5rem;
  max-height: 20rem;
  overflow-y: auto;
  min-width: 25rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1rem);
  transition: all 0.3s ease;
  box-shadow: 0 0.5rem 1rem rgba(128, 128, 128, 0.2);
}
.country-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.country-dropdown .country-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-bottom: 1px solid rgba(179, 179, 179, 0.3);
}
.country-dropdown .country-option:hover {
  background-color: rgba(85, 28, 69, 0.1);
}
.country-dropdown .country-option:last-child {
  border-bottom: none;
}
.country-dropdown .country-option .flag {
  font-size: 1.2rem;
  font-weight: 600;
  color: rgb(85, 28, 69);
  min-width: 2rem;
}
.country-dropdown .country-option .country-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.country-dropdown .country-option .country-info .country-name {
  font-size: 1.4rem;
  color: #808080;
  font-weight: 500;
}
.country-dropdown .country-option .country-info .country-code {
  font-size: 1.2rem;
  color: #b3b3b3;
}

.phone-number-input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0.5rem 0;
  font-size: 1.75rem;
  line-height: 1.2;
  color: #808080;
  outline: none;
  border-left: none;
  height: 2.5rem;
  position: relative;
  z-index: 1;
}
.phone-number-input::-moz-placeholder {
  color: transparent;
}
.phone-number-input::placeholder {
  color: transparent;
}
.phone-number-input:focus, .phone-number-input:valid {
  outline: 0;
}

.phone-form-group .phone-number-input:focus ~ .input-line::before,
.phone-form-group .phone-number-input:valid ~ .input-line::before {
  transform: scaleX(1);
}
.phone-form-group .phone-number-input:focus ~ .input-line::after,
.phone-form-group .phone-number-input:valid ~ .input-line::after {
  transform: scaleX(0);
}

@media screen and (max-width: 1526px) {
  .contact-form {
    margin: 20rem 0;
    scroll-margin-top: 20rem;
  }
  .contact-form img {
    width: 35vw !important;
  }
}
@media screen and (max-width: 1200px) {
  .contact-form {
    height: 100%;
    flex-direction: column-reverse;
    gap: 10rem;
  }
  .contact-form form {
    width: 65vw;
  }
  .contact-form form .form-group {
    width: 100%;
  }
}
@media screen and (max-width: 720px) {
  .contact-form {
    height: 100vh;
    margin: 0;
    padding: 4rem 0 7rem 0;
  }
  .contact-form .contact-title {
    font-size: 3.8rem;
  }
  .contact-form img {
    width: 75vw !important;
  }
  form {
    width: 85vw !important;
  }
  form .form-group input, form .form-group textarea, form .form-group select {
    font-size: 1.8rem;
  }
  form .form-group label {
    font-size: 1.8rem;
  }
  form .form-actions .privacy-checkbox input[type=checkbox] {
    width: 1.8rem;
    height: 1.8rem;
  }
  form .form-actions .privacy-checkbox label {
    font-size: 1.8rem;
  }
  form .form-actions .btn {
    font-size: 1.8rem;
  }
  .phone-form-group {
    min-height: 7rem;
  }
  .phone-form-group .phone-input-container {
    bottom: -4rem;
  }
  .phone-form-group .phone-input-wrapper {
    height: 3rem;
  }
  .phone-form-group .phone-input-wrapper .phone-label {
    font-size: 1.8rem;
    bottom: 0.75rem;
  }
  .phone-form-group .phone-input-wrapper .phone-number-input {
    font-size: 1.8rem;
    height: 3rem;
    bottom: 0.5rem !important;
  }
  .phone-form-group .input-line {
    bottom: -5rem;
  }
  .phone-number-input {
    font-size: 1.8rem;
    height: 3rem;
  }
}
@media screen and (max-width: 480px) {
  .contact-form {
    padding: 7rem 0;
  }
  .contact-form .contact-title {
    font-size: 3.3rem;
  }
  .contact-form form {
    width: 90vw !important;
  }
  .contact-form form .form-group input, .contact-form form .form-group textarea, .contact-form form .form-group select {
    font-size: 1.6rem;
  }
  .contact-form form .form-group label {
    font-size: 1.6rem;
  }
  .contact-form form .form-actions .privacy-checkbox input[type=checkbox] {
    width: 1.6rem;
    height: 1.6rem;
  }
  .contact-form form .form-actions .privacy-checkbox label {
    font-size: 1.6rem;
  }
  .contact-form form .form-actions .btn {
    font-size: 1.6rem;
  }
  .phone-form-group {
    min-height: 6.5rem;
  }
  .phone-form-group .phone-input-container {
    bottom: -3.5rem;
  }
  .phone-form-group .phone-input-wrapper {
    height: 2.8rem;
  }
  .phone-form-group .phone-input-wrapper .phone-label {
    font-size: 1.6rem;
    bottom: 0.5rem;
  }
  .phone-form-group .phone-input-wrapper .phone-number-input {
    font-size: 1.6rem;
    height: 2.8rem;
    bottom: 0.25rem !important;
  }
  .phone-form-group .input-line {
    bottom: -4.5rem;
  }
  .phone-number-input {
    font-size: 1.6rem;
    height: 2.8rem;
  }
}/*# sourceMappingURL=contact-form.css.map */