.contact-form-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  margin: 0 auto;
  padding-bottom: 2rem;
}

.contact-text {
  flex: 1;
  color: #333;
}

.contact-text p {
  margin: 1rem 0 1rem 0;
  font-size: 1.1255rem;
  line-height: 1.5;
}

.contact-text {
  font-size: 1rem;
  position: relative;
  top: 33%;
}

.privacy-note {
  top: 33%;
  position: relative;
}



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

.contact-form label {
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  border: none;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  background-color: transparent;
  box-shadow: none;
  outline: none;
  width: 100%;
  font-family: inherit;
  color: #333;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
  font-size: 0.9rem;
}

.contact-form-wrapper .primary-btn {
  max-width: 170px;
}

.privacy-note-mobile {
  display: none;
}


@media (max-width: 768px) {
  .contact-form-wrapper {
    flex-direction: column;
  }

  .privacy-note-mobile {
    display: block;
  }

  .privacy-note {
    display: none;
  }
}

.contact-text p{
  font-size: 1rem;
}

/* Modal THANK YOU Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

/* Modal Content */
.modal-content-sign-up {
  background-color: #fff;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  position: relative;
  text-align: center;
  animation: fadeInModal 0.3s ease-in-out;
}

@keyframes fadeInModal {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 0rem;
  right: 1rem;
  font-size: 2rem;
  color: #666;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #000;
}

.h2-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #222;
}

.container-contact {
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}


/* Message Text */
.h4-text {
  font-size: 1.125rem;
  color: #444;
  line-height: 1.6;
}

#userEmail {
  font-weight: 600;
  color: #f78b1f;
}




/*invalid captcha*/

/* Alert Container */
.alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: fixed;
  bottom: 35rem;
  left: 50%;
  transform: translateX(-50%);
  max-width: 600px;
  width: 90%;
  background-color: #ffe5e5;
  color: #b30000;
  border-left: 6px solid #d40000;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  font-family: system-ui, sans-serif;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: slideUp 0.4s ease-out;
}


/* Slide-in animation */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.alert__expand {
  cursor: pointer;
  font-size: 1.5rem;
  color: #b30000;
}

.alert__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.alert__message {
  font-weight: 600;
  font-size: 1rem;
  color: #b30000;
}

html {
  scroll-behavior: smooth;
}


.alert__close {
  cursor: pointer;
  font-size: 1.25rem;
  color: #b30000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: background-color 0.3s, color 0.3s;
}

.alert__close:hover {
  background-color: #f1c0c0;
  color: #7a0000;
}

.alert__close i {
  font-size: 1.25rem;
  pointer-events: none;
}

@media (max-width: 480px) {
  .alert {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .alert__title {
    flex-direction: column;
    align-items: flex-start;
  }
}

.form__item {
  width: 50%;
}