/* .contact-us {
  min-height: 100vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  background: transparent;
} */

.contact-us {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow-y: auto;
  overflow-x: hidden;
  /* padding: clamp(2rem, 5vh, 80px) clamp(1rem, 5vw, 80px); */

  display: flex;
  justify-content: center;
  align-items: flex-start;

  background: transparent;
  transition: opacity 0.8s ease;
  opacity: 0;
  pointer-events: none;
}

.contact-us.show {
  opacity: 1;
  pointer-events: auto;
}

.contact-inner-container {
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: center;
}

.contact-inner {
  padding-inline: clamp(1rem, 5vw, 80px);
  display: flex;
  gap: 5%;
  width: 100%;
}

.contact-left,
.contact-right {
  flex: 1 1 0;
}

.contact-left {
  width: 100%;
  min-height: 100%;
  max-width: 100%;
  padding-left: 2rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: space-between;
}

.mobile-contact-heading {
  display: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 80px;
  color: #E3D7F2;
  text-align: left;
}

.contact-right {
  width: 55%;
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #4034774F;
  backdrop-filter: blur(200px);
  -webkit-backdrop-filter: blur(200px);
}

.contact-heading {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 80px);
  line-height: 88px;
  color: #E3D7F2;
  margin: 0;
  align-self: flex-start;
  text-align: left;
}

.contact-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.address-block {
  display: flex;
  flex-direction: column;
  gap: 28px;
  /* flex: 1 1 60%; */
}

.company-name {
  font-family: 'Nasalization', sans-serif;
  font-size: 24px;
  line-height: 32px;
  color: #FEFEFF;
  align-self: flex-start;
  text-align: left;
}

.address-line {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  /* height: 38px; */
  max-width: 421px;
  position: relative;
  flex: none;
  order: 2;
  flex-grow: 0;
}

.address-line .pin-icon {
  /* width: 24px;
  height: 24px; */
  flex: none;
  order: 0;
  flex-grow: 0;
  /* background-color: #AA87D9; */
  /* border-radius: 4px; */
  /* optional if using a background */
  object-fit: contain;
}

.address-line-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 18px;
  /* line-height: 26px; */
  color: #9696AE;
  max-width: 381px;
  height: auto;
  margin: 0;
  flex: none;
  order: 1;
  flex-grow: 0;
  align-self: flex-start;
  text-align: left;
}

.qr-block {
  width: 151px;
  height: 151px;
  padding: 26.15px;
  border: 0.65px solid #403477;
  border-radius: 5.23px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qr-block img {
  width: 98.7px;
  height: 98.7px;
}

.form-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.form-row .form-group {
  flex: 1 1 0;
  min-width: 245px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #E3D7F2;
  text-align: left;
}

.form-group input,
.form-group textarea {
  background-color: transparent;
  border: 1px solid #403477;
  border-radius: 8px;
  padding: 14px 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  color: #FEFEFF;
  outline: none;
  transition: border 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9696AE;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #B37BF7;
}

.char-count {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: #9696AE;
  text-align: right;
  margin-top: 4px;
}

.error-text {
  font-size: 14px;
  color: #EA3962;
  display: none;
  /* default hidden */
}

.required {
  color: #EA3962;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper input,
.input-wrapper textarea {
  padding-left: 40px;
  width: 100%;
}

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  pointer-events: none;
  opacity: 0.7;
  filter: brightness(0) invert(1);
}

/* Absolute error message */
.error-message {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  /* Place directly below input (adjust as needed) */
  font-size: 14px;
  color: #EA3962;
  font-family: 'Outfit', sans-serif;
  display: none;
  line-height: 18px;
  /* padding-left: 48px; */
  /* Align under input text, NOT icon (optional) */
  background: transparent;
  z-index: 2;
  pointer-events: none;
  text-align: left;
}

.error-message.show {
  display: block;
}

.input-wrapper input.error {
  border-color: #EA3962;
}

.textarea-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
}

.textarea-wrapper textarea {
  background-color: transparent;
  border: 1px solid #403477;
  border-radius: 8px;
  padding: 14px 42px 24px 44px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  color: #FEFEFF;
  min-height: 168px;
  max-height: 310px;
  resize: vertical;
  outline: none;
  transition: border 0.3s ease;
  resize: none;
}

.textarea-wrapper textarea:focus {
  border-color: #B37BF7;
}

textarea.error {
  border-color: #EA3962;
}

.textarea-icon {
  position: absolute;
  left: 16px;
  top: 14px;
  width: 16px;
  height: 16px;
  pointer-events: none;
  opacity: 0.7;
  filter: brightness(0) invert(1);
}

.clear-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: none;
  align-items: center;
  justify-content: center;
}

.clear-btn.show {
  display: flex;
}

.clear-btn img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.char-counter {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 14px;
  font-family: 'Outfit', sans-serif;
  pointer-events: none;
  color: #9696AE;
}

.char-counter span {
  color: #9696AE;
  transition: color 0.2s ease;
}

.char-counter span.error {
  color: #EA3962;
}

.error-message {
  font-size: 14px;
  color: #EA3962;
  font-family: 'Outfit', sans-serif;
  display: none;
  align-self: flex-start;
  text-align: left;
}

.error-message.show {
  display: block;
}

.send-button {
  margin-top: 24px;
  padding: 14px 28px;
  background: linear-gradient(20.2deg, #7237BF 35.67%, #B37BF7 106.63%);
  backdrop-filter: blur(4px);
  border: none;
  border-radius: 8px;
  font-family: 'Nasalization', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.send-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(60%);
  /* Optional: adjust background, border, etc. */
}

.progress-loader,
.success-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  width: 100%;
  animation: popInCenter 0.7s cubic-bezier(0.32, 0.94, 0.6, 1.14);
  will-change: opacity, transform, filter;
  /* animation: growUpFromBackground 0.7s cubic-bezier(0.32, 0.94, 0.6, 1.14); */
  text-align: center;
}

.progress-loader img,
.success-message img {
  width: 80px;
  height: 80px;
  margin-bottom: 36px;
  margin-top: 24px;
  /* filter: drop-shadow(0 0 6px #b37bf7bb); */
}

.loader-text-title {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  color: #E3D7F2;
  font-weight: 600;
  margin-bottom: 0;
}

.success-title {
  font-family: 'Nasalization', sans-serif;
  font-size: 40px;
  font-weight: 400;
  color: #E3D7F2;
  margin-bottom: 20px;
}

.success-description {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  color: #9696AE;
  font-weight: 400;
  margin-top: 0;
  line-height: 1.4;
}

@keyframes popInCenter {
  0% {
    opacity: 0;
    transform: scale(0.3);
    filter: blur(8px);
  }

  60% {
    opacity: 1;
    transform: scale(1.07);
    filter: blur(2px);
  }

  80% {
    transform: scale(0.96);
    filter: blur(1px);
  }

  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes growUpFromBackground {
  0% {
    opacity: 0;
    transform: translateY(48px) scaleY(0.85) scaleX(0.95);
    /* filter: blur(8px); */
  }

  60% {
    opacity: 1;
    /* filter: blur(2px); */
  }

  100% {
    opacity: 1;
    transform: translateY(0) scaleY(1) scaleX(1);
    /* filter: blur(0); */
  }
}

.loader img {
  animation: spin 1s linear infinite;
  /* optional: transform-origin: 50% 50%; */
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}