
/* Page-specific overrides to match landing look and center the form */
body{
  background: #ffffff;
  position: relative;
}

#vanta-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

#footer {
  position: relative;
  z-index: 1;
}

.contact-page { min-height: calc(100dvh - 93px); display: flex; align-items: center; justify-content: center; padding: 2rem 1rem 1.5rem; position: relative; z-index: 1; overflow: hidden; }
.contact-card { width: 100%; max-width: 880px; background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); border-radius: 12px; box-shadow: 0 12px 40px rgba(31,42,68,0.08); padding: 2.5rem; transform: translateY(30px); opacity: 0; transition: transform 0.6s cubic-bezier(.2,.9,.2,1), opacity 0.6s; }
        .contact-card.animate { transform: translateY(0); opacity: 1; }
        .contact-header { display:flex; gap:1rem; align-items:center; margin-bottom:1rem; }
        .contact-header h1 { font-size: 1.75rem; color: var(--dark); }
        .contact-header .sub { color: #6b7280; font-size: 0.95rem; }
        .form-row { display:flex; gap:1rem; flex-direction:column; }
        @media(min-width:720px){ .form-row { flex-direction:row; } .form-row .input_field{ flex:1 } }
        .input_field { padding:0.9rem 1rem; border-radius:10px; border:1px solid #e6e9ef; font-size:1rem; }
        textarea.input_field { resize:vertical; }

        .input_field_description { width: 100%; padding:0.9rem 1rem; border-radius:10px; border:1px solid #e6e9ef; font-size:1rem; font-family:inherit; }

        .optin { display:flex; gap:0.65rem; align-items:center; margin-top:0.6rem; color:#334155; font-size:1rem; line-height:1.45; }
        .optin input[type="checkbox"] { width:1.05rem; height:1.05rem; accent-color:var(--orange); }
        .submit { margin-top:1rem; background:var(--orange); color:var(--light); border:none; padding:0.95rem 1.25rem; border-radius:10px; cursor:pointer; transition: transform 0.15s ease, box-shadow 0.15s; }
        .submit:hover { transform: translateY(-3px); box-shadow:0 8px 20px rgba(244,124,32,0.12);} 
        .form-reassurance { margin:0.35rem 0 0; color:#64748b; font-size:0.9rem; }
    /* Contact form styles - similar to subscribe-news-form.css but separate file */
.popup {
  position: relative;
  margin: 32px auto;
  width: 320px;
  max-width: calc(100% - 40px);
  height: fit-content;
  background: #FFFFFF;
  box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.04), 0px 8px 20px rgba(0, 0, 0, 0.04);
  border-radius: 13px;
}

.forms-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 12px;
}

.form.popup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  gap: 20px;
}


.form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  gap: 20px;
}

.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #ECF1FD;
  box-shadow: 0px 0.5px 0.5px #EFEFEF, 0px 1px 0.5px rgba(239, 239, 239, 0.5);
  border-radius: 5px;
}

.note {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.title {
  font-style: normal;
  font-weight: 700;
  font-size: 17px;
  line-height: 24px;
  color: #2B2B2F;
}

.subtitle {
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  line-height: 18px;
  color: #5F5D6B;
}

.input_field {
  width: 100%;
  height: 42px;
  padding: 0 0 0 12px;
  border-radius: 5px;
  outline: none;
  border: 1px solid #e5e5e5;
  filter: drop-shadow(0px 1px 0px #efefef)
    drop-shadow(0px 1px 0.5px rgba(239, 239, 239, 0.5));
  transition: all 0.3s cubic-bezier(0.15, 0.83, 0.66, 1);
}

.input_field:focus {
  border: 1px solid transparent;
  box-shadow: 0px 0px 0px 1px #2B2B2F;
  background-color: transparent;
}

.form button.submit {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 18px;
  gap: 10px;
  width: 60%;
  min-width: 220px;
  max-width: 320px;
  height: 42px;
  background: linear-gradient(180deg, #FF6A00 0%, #FF8C00 50%, #FF6A00 100%);
  box-shadow: 0px 0.5px 0.5px #EFEFEF, 0px 1px 0.5px rgba(239, 239, 239, 0.5);
  border-radius: 5px;
  border: 0;
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  line-height: 15px;
  color: #ffffff;
}

@media (max-width: 640px) {
  .form button.submit {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
}

/* Responsive */
@media (max-width: 400px) {
  .popup {
    width: 90%;
  }
}

@media (max-width: 800px) {
  .contact-page {
    min-height: auto;
    align-items: flex-start;
    overflow: visible;
    padding: 1.5rem 1rem 2rem;
  }

  .forms-row {
    flex-direction: column;
    align-items: center;
  }

  .forms-row .popup {
    max-width: 90%;
    width: 100%;
    margin: 10px 0;
  }
}
