:root {
  --navy: #1e3358;
  --maroon: #7d2b3b;
  --cream: #f7f3ec;
  --gold: #c9a13b;
  --ink: #2a2a2a;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  background: #fff;
  border-bottom: 3px solid var(--maroon);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  height: 104px;
  width: 104px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text .title {
  font-weight: bold;
  color: var(--navy);
  font-size: 1.35rem;
}

.brand-text .subtitle {
  color: var(--maroon);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: bold;
  font-size: 0.95rem;
}

nav a:hover, nav a.active { color: var(--maroon); }

.nav-toggle { display: none; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy), #16233d);
  color: #fff;
  padding: 64px 24px;
  text-align: center;
}

.hero .container { max-width: 780px; }

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.hero p.tagline {
  color: var(--gold);
  font-style: italic;
  font-size: 1.15rem;
  margin-bottom: 28px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--maroon);
  color: #fff;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(125,43,59,0.35); }

.btn-secondary {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  margin-left: 12px;
}

.btn-secondary:hover { background: #fff; color: var(--navy); }

/* Sections */
section { padding: 56px 0; }

section h2 {
  color: var(--navy);
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 8px;
}

.section-sub {
  text-align: center;
  color: var(--maroon);
  font-style: italic;
  margin-bottom: 36px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border-top: 4px solid var(--maroon);
}

.card .icon { font-size: 2.2rem; margin-bottom: 12px; }

.card h3 { color: var(--navy); margin: 0 0 10px; }

.card p { margin: 0; font-size: 0.95rem; }

.mission {
  background: #fff;
}

.mission .container {
  max-width: 780px;
  text-align: center;
}

.mission blockquote {
  font-size: 1.3rem;
  color: var(--maroon);
  font-style: italic;
  border: none;
  margin: 24px 0 0;
}

.cta-band {
  background: var(--maroon);
  color: #fff;
  text-align: center;
  padding: 48px 24px;
}

.cta-band h2 { color: #fff; }

.cta-band .btn-primary {
  background: var(--navy);
}

/* Footer */
footer {
  background: var(--navy);
  color: #dfe4ee;
  padding: 32px 24px;
  text-align: center;
  font-size: 0.9rem;
}

footer a { color: var(--gold); text-decoration: none; }

/* Request form page */
.form-page .hero { padding: 48px 24px; }

.form-wrap {
  background: #fff;
  max-width: 640px;
  margin: -40px auto 60px;
  padding: 36px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  position: relative;
}

.form-wrap h2 {
  margin-top: 0;
  text-align: left;
}

.form-wrap p.intro { margin-top: -4px; margin-bottom: 24px; color: #555; }

.form-section {
  margin: 36px 0 24px;
}

.form-section:first-of-type {
  margin-top: 0;
}

.form-section-title {
  font-size: 1.05rem;
  color: var(--navy);
  border-bottom: 2px solid var(--maroon);
  padding-bottom: 8px;
  margin: 0 0 20px;
}

.certification-text {
  font-size: 0.88rem;
  color: #555;
  background: #f7f3ec;
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-weight: bold;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.field .hint {
  font-weight: normal;
  color: #777;
  font-size: 0.82rem;
  font-style: italic;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background: #fdfcfa;
}

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

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(125,43,59,0.12);
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-field input { margin-top: 4px; }

.checkbox-field label { font-weight: normal; color: var(--ink); }

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.radio-option {
  flex: 1 1 150px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: normal;
  color: var(--ink);
  background: #fdfcfa;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 11px 13px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.radio-option:has(input:checked) {
  border-color: var(--maroon);
  background: #f9f0f2;
}

.radio-option input { margin: 0; accent-color: var(--maroon); }

.radio-list {
  display: flex;
  flex-direction: column;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fdfcfa;
  overflow: hidden;
}

.radio-list-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-weight: normal;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease;
}

.radio-list-option:hover { background: #f7f3ec; }

.radio-list-option:has(input:checked) { background: #f9f0f2; }

.radio-list-option input { margin: 0; accent-color: var(--maroon); }

.checkbox-list {
  display: flex;
  flex-direction: column;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fdfcfa;
  overflow: hidden;
}

.checkbox-list-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-weight: normal;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease;
}

.checkbox-list-option:hover { background: #f7f3ec; }

.checkbox-list-option:has(input:checked) { background: #f9f0f2; }

.checkbox-list-option input { margin: 0; accent-color: var(--maroon); }

.assistance-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #faf8f4;
  border: 1px solid #e8e2d5;
  border-radius: 8px;
  padding: 18px;
}

.assistance-category-title {
  font-size: 0.78rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--maroon);
  margin-bottom: 8px;
}

.assistance-category:not(:last-child) {
  padding-bottom: 16px;
  border-bottom: 1px solid #e8e2d5;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.checkbox-option {
  flex: 1 1 180px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: normal;
  color: var(--ink);
  background: #fdfcfa;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 11px 13px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.checkbox-option:has(input:checked) {
  border-color: var(--maroon);
  background: #f9f0f2;
}

.checkbox-option input { margin: 0; accent-color: var(--maroon); }

.submit-row { text-align: center; margin-top: 28px; }

.submit-row .btn-primary {
  width: 100%;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
}

.form-note {
  background: #f2ede2;
  border-left: 4px solid var(--gold);
  padding: 14px 18px;
  font-size: 0.88rem;
  color: #555;
  margin-top: 28px;
  border-radius: 4px;
}

@media (max-width: 700px) {
  nav ul { display: none; }
  .hero h1 { font-size: 1.8rem; }
  .btn-secondary { margin-left: 0; margin-top: 12px; }
  .form-wrap { margin-top: -24px; padding: 24px; }
}
