/* =========================================
   BASE STYLES
   ========================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, #eef4ff 0%, #f7f9fc 100%);
  color: #1f2937;
  line-height: 1.55;
  min-height: 100vh;
}
.container { max-width: 860px; margin: 0 auto; padding: 0 18px; }

.site-header {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #fff;
  padding: 22px 0;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.site-header h1 { font-size: 1.35rem; font-weight: 700; letter-spacing: .2px; }
.lang-switch { display: flex; gap: 8px; }
.lang-switch a {
  color: #dbeafe; text-decoration: none;
  padding: 6px 12px; border-radius: 6px; font-size: .9rem; transition: .2s;
}
.lang-switch a:hover { background: rgba(255,255,255,.15); }
.lang-switch a.active { background: #fff; color: #1e3a8a; font-weight: 600; }

main { padding: 28px 0 60px; }

.card {
  background: #fff;
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .06);
}
.intro-card h2 { font-size: 1.2rem; margin-bottom: 8px; color: #1e3a8a; }
.intro-card p { color: #374151; margin-bottom: 8px; }
.note { font-size: .85rem; color: #6b7280; }

.q-label {
  display: block; font-weight: 600; font-size: 1rem;
  margin-bottom: 12px; color: #111827;
}
.q-num { color: #2563eb; margin-right: 4px; }
.req { color: #dc2626; margin-left: 3px; }

.options { display: grid; gap: 8px; }
.opt {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: .15s;
  background: #fafbff;
}
.opt:hover { border-color: #93c5fd; background: #eff6ff; }
.opt input { accent-color: #2563eb; width: 18px; height: 18px; }
.opt input:checked ~ span { font-weight: 600; color: #1e3a8a; }

textarea {
  width: 100%; border: 1.5px solid #e5e7eb; border-radius: 8px;
  padding: 12px; font-family: inherit; font-size: .95rem; resize: vertical;
}
textarea:focus, .opt input:focus { outline: none; }
textarea:focus { border-color: #2563eb; }

.hint { display: block; margin-top: 8px; color: #6b7280; font-size: .82rem; }

.btn-submit {
  display: block; width: 100%;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff; border: none;
  padding: 16px;
  border-radius: 10px;
  font-size: 1.05rem; font-weight: 600; cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 6px 18px rgba(37, 99, 235, .35);
  transition: transform .1s, box-shadow .2s;
}
.btn-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(37,99,235,.4); }
.btn-submit.inline { display: inline-block; width: auto; padding: 12px 26px; margin-top: 18px; text-decoration: none; }

.thankyou { text-align: center; padding: 50px 24px; }
.checkmark {
  width: 78px; height: 78px; margin: 0 auto 20px;
  background: #10b981; color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; font-weight: bold;
  box-shadow: 0 8px 24px rgba(16,185,129,.4);
}
.thankyou h2 { color: #065f46; margin-bottom: 12px; font-size: 1.6rem; }
.thankyou p { color: #374151; max-width: 520px; margin: 0 auto; }

.site-footer {
  text-align: center; color: #6b7280;
  padding: 20px 0; font-size: .85rem;
  border-top: 1px solid #e5e7eb;
}

@media (max-width: 600px) {
  .site-header h1 { font-size: 1.1rem; }
  .card { padding: 18px; }
}

/* =========================================
   NEW TOPIC ALIGNED STYLES (SECTIONS)
   ========================================= */
.header-sub { font-size: .82rem; color: #dbeafe; margin-top: 4px; font-weight: 400; max-width: 640px; }

.section-header {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #fff; padding: 18px 22px;
  border-radius: 12px;
  margin: 28px 0 14px;
  box-shadow: 0 4px 14px rgba(37,99,235,.25);
}
.section-header h2 { font-size: 1.05rem; margin: 0 0 3px; font-weight: 700; }
.section-header p  { font-size: .85rem; margin: 0; color: #dbeafe; }
.section-icon { font-size: 1.6rem; line-height: 1; }
.section-header.section-c { background: linear-gradient(135deg,#1e40af,#3b82f6); }
.section-header.section-d { background: linear-gradient(135deg,#7c3aed,#a855f7); }
.section-header.section-e { background: linear-gradient(135deg,#047857,#10b981); }
.section-header.section-f { background: linear-gradient(135deg,#b45309,#f59e0b); }