/* ===== Base ===== */
* { box-sizing: border-box; }
:root { color-scheme: light; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  background: #f4f7fa;
  margin: 0;
  padding: 2rem;
  display: flex;
  justify-content: center;
}

/* Utility */
.hidden { display: none; }

/* ===== Page Container ===== */
.container {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
  max-width: 720px;
  width: 100%;
}

/* ===== Branding ===== */
.logo {
  width: 90px;
  height: auto;
  display: block;
  margin: 0 auto 0.5rem;
}

.subheading {
  text-align: center;
  color: #003366;
  margin: 0.25rem 0 0.75rem;
  font-weight: 700;
}

h1 {
  font-family: 'Anton', Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: 1.8rem;
  color: #003366;
  margin: 0.25rem 0 0.35rem;
  line-height: 1.2;
  text-align: center;
  text-shadow: 1px 1px 0 #fff;
}

.tagline {
  text-align: center;
  color: #334155;
  margin: 0 0 1.5rem;
}

/* ===== Form ===== */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

fieldset {
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 1rem;
  margin: 0;
}

legend {
  font-weight: 800;
  color: #003366;
  padding: 0 0.5rem;
}

label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  color: #333;
  gap: 0.35rem;
}

/* Inputs */
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
select,
textarea {
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #cbd5e1;
  background: #fff;
  font: inherit;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(147,197,253,.35);
}

textarea { min-height: 120px; resize: vertical; }

input[type="file"] {
  margin-top: 0.5rem;
}

/* Button & Status */
button[type="submit"] {
  background: #0074cc;
  color: #fff;
  border: none;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background .15s ease, transform .02s ease;
}

button[type="submit"]:hover { background: #005fa3; }
button[type="submit"]:active { transform: translateY(1px); }
button[disabled] { opacity: .65; cursor: not-allowed; }

#responseMessage {
  margin-top: 1em;
  font-weight: bold;
  font-size: 1rem;
}

.hidden {
  display: none;
}

#responseMessage.success {
  color: green;
}

#responseMessage.error {
  color: red;
}


/* ===== Responsive ===== */
@media (max-width: 720px) {
  body { padding: 1rem; }
  .container { padding: 1.25rem; }
  h1 { font-size: 1.5rem; }
}
