/* Page shell */
body.contact-page {
  position: relative;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.signup-main {
  flex: 1;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 24px 16px;
  box-sizing: border-box;
}

/* Background layer */
.parallax-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: var(--bg-image);
  background-position: var(--bg-pos-x) var(--bg-pos-y);
  background-size: cover;
  background-attachment: fixed;
  animation: slowZoom 30s ease-in-out infinite;
  transform-origin: center;
  z-index: -1;
}

@keyframes slowZoom {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Card override (neutralize forms.css centering/push-right rules) */
body.contact-page .form-container {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;

  z-index: 1;
  width: 100%;
  max-width: 560px;
  margin: 10vh auto 24px;

  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  padding: 22px;

  box-shadow: 0 18px 50px rgba(0,0,0,0.28);
  max-height: none !important;
  overflow: visible !important;
}

/* Header/logo */
.signup-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.signup-logo {
  width: clamp(160px, 60%, 320px);
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.25));
}

#signup-title {
  margin: 6px 0 8px;
  font-size: 1.35rem;
  color: rgba(255,255,255,0.92);
  text-align: center;
  text-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.signup-note--center {
  text-align: center;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.78);
  text-shadow: 0 6px 18px rgba(0,0,0,0.25);
  margin: 0 0 16px;
}

/* Inputs */
body.contact-page .form-container input,
body.contact-page .form-container textarea {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0;

  background: rgba(245, 246, 248, 0.82);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

body.contact-page .form-container input::placeholder,
body.contact-page .form-container textarea::placeholder {
  color: rgba(30, 42, 68, 0.60);
}

body.contact-page .form-container input:focus,
body.contact-page .form-container textarea:focus {
  outline: none;
  border-color: rgba(154, 190, 229, 0.9);
  box-shadow:
    0 0 0 3px rgba(154, 190, 229, 0.25),
    0 12px 28px rgba(0,0,0,0.16);
}

body.contact-page .form-container button {
  border-radius: 12px;
  margin-top: 14px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.22);
}

/* Mobile */
@media (max-width: 600px) {
  .parallax-bg { background-attachment: scroll; }
  .signup-main { padding: 16px 12px; }

  body.contact-page .form-container {
    margin: 64px auto 20px;
    padding: 16px;
    border-radius: 16px;
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.22);

    position: relative !important;
    right: auto !important;
    left: auto !important;
  }
}

@media (max-width: 500px) {
  body.contact-page .form-container {
    position: relative !important;
    right: auto !important;
    left: auto !important;
  }
}
