@import url('https://fonts.googleapis.com/css2?family=Noto+Nastaliq+Urdu:wght@400;500;600;700&display=swap');

/* ── Variables ────────────────────────────────────────────── */
:root {
  --red:       #E8192C;
  --red-dark:  #c01020;
  --navy:      #1B3A5C;
  --navy-light:#2a5482;
  --white:     #ffffff;
  --off-white: #f8f8f8;
  --gray:      #e8e8e8;
  --gray-mid:  #999;
  --text:      #2a2a2a;
  --shadow:    0 2px 12px rgba(0,0,0,0.10);
  --radius:    8px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleem', Georgia, serif;
  direction: rtl;
  text-align: right;
  background: var(--white);
  color: var(--text);
  line-height: 2.2;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a  { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-wrap img { height: 64px; width: auto; }
.logo-text {
  font-size: 13px;
  color: var(--navy);
  line-height: 1.6;
}
.logo-text strong { display: block; color: var(--red); font-size: 14px; }

/* ── Navigation ───────────────────────────────────────────── */
nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
nav ul li a {
  display: block;
  padding: 8px 14px;
  color: var(--navy);
  font-size: 15px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
nav ul li a:hover,
nav ul li a.active {
  background: var(--red);
  color: var(--white);
}
nav ul li a.nav-admin {
  border: 1px solid var(--navy);
  font-size: 13px;
}

/* ── Hamburger ────────────────────────────────────────────── */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--navy);
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 20px;
  color: var(--navy);
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 40px 20px 20px;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--red);
  padding-bottom: 6px;
}
.footer-col p, .footer-col a {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  line-height: 2;
  display: block;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2440 60%, #1a1a2e 100%);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  max-width: 750px;
  margin: 0 auto;
  position: relative;
}
.hero-logo { height: 90px; width: auto; margin: 0 auto 24px; }
.hero h1 {
  font-size: 2.2rem;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 12px;
}
.hero h1 span { color: var(--red); }
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
  line-height: 2;
}
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-dark); color: var(--white); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-light); color: var(--white); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Section ──────────────────────────────────────────────── */
.section { padding: 60px 20px; }
.section-alt { background: var(--off-white); }
.container { max-width: 1100px; margin: 0 auto; }
.section-title {
  font-size: 1.7rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 8px;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--red);
  margin: 10px auto 30px;
}

/* ── Cards ────────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 20px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
  transition: transform 0.2s;
}
.card:hover { transform: translateY(-4px); }
.card-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  display: block;
}
.card h3 { color: var(--navy); font-size: 1.1rem; margin-bottom: 8px; }
.card p  { color: var(--gray-mid); font-size: 0.95rem; line-height: 1.9; }

/* ── Steps ────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.step {
  text-align: center;
  padding: 20px;
}
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.step h4 { color: var(--navy); margin-bottom: 6px; }
.step p  { color: var(--gray-mid); font-size: 0.9rem; }

/* ── How-to-use Banner ───────────────────────────────────── */
.howto-banner {
  background: linear-gradient(135deg, #0d2440 0%, var(--navy) 100%);
  padding: 48px 20px;
  position: relative;
  overflow: hidden;
}
.howto-banner::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 300px; height: 100%;
  background: var(--red);
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: 0.07;
}
.howto-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.howto-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.howto-icon {
  font-size: 2.4rem;
  background: var(--red);
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.howto-heading h2 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 4px;
}
.howto-heading p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  line-height: 1.5;
}
.howto-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
}
.howto-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 14px 16px;
  flex: 1;
  min-width: 160px;
  transition: background 0.2s;
}
.howto-step:hover {
  background: rgba(255,255,255,0.11);
}
.howto-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.howto-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.howto-text strong {
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.5;
}
.howto-text span {
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  line-height: 1.7;
}
.howto-text em {
  color: #f8c; font-style: normal;
}
.howto-arrow {
  color: rgba(255,255,255,0.3);
  font-size: 1.4rem;
  flex-shrink: 0;
  padding: 0 2px;
}
.howto-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(232,25,44,0.15);
  border: 1px solid rgba(232,25,44,0.35);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  line-height: 1.9;
}
.howto-note a {
  color: #ffaaaa;
  text-decoration: underline;
}
.howto-note span:first-child { font-size: 1.1rem; flex-shrink: 0; }

@media (max-width: 768px) {
  .howto-steps { flex-direction: column; }
  .howto-arrow { transform: rotate(90deg); align-self: center; }
  .howto-step  { min-width: 100%; }
}

/* ── Banner strip ─────────────────────────────────────────── */
.banner-strip {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 20px;
  font-size: 1rem;
}
.banner-strip a { color: var(--white); text-decoration: underline; }

/* ── Page header ──────────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  padding: 40px 20px;
  text-align: center;
}
.page-header h1 { font-size: 1.8rem; margin-bottom: 8px; }
.page-header p  { font-size: 1rem; color: rgba(255,255,255,0.8); }

/* ── Form ─────────────────────────────────────────────────── */
.form-wrap {
  max-width: 820px;
  margin: 40px auto;
  padding: 0 20px;
}
.form-section {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 28px 20px;
  margin-bottom: 28px;
}
.form-section-title {
  font-size: 1.15rem;
  color: var(--white);
  background: var(--navy);
  padding: 10px 18px;
  border-radius: var(--radius);
  margin: -28px -28px 24px;
}
.form-section-title::before {
  content: '◄ ';
  color: var(--red);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 6px;
  font-weight: 600;
}
.form-group .required { color: var(--red); }
.form-control {
  border: 1.5px solid var(--gray);
  border-radius: 6px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 15px;
  direction: rtl;
  color: var(--text);
  background: var(--off-white);
  transition: border-color 0.2s;
  width: 100%;
}
.form-control:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
}
textarea.form-control { min-height: 90px; resize: vertical; }

/* ── Radio group ──────────────────────────────────────────── */
.radio-group {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.radio-group label {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; font-size: 15px; color: var(--text);
  font-weight: normal;
}
.radio-group input[type="radio"] {
  width: 18px; height: 18px; accent-color: var(--red);
}

/* ── Document upload row ──────────────────────────────────── */
.doc-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray);
}
.doc-row:last-child { border-bottom: none; }
.doc-check {
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.doc-check input[type="checkbox"] {
  width: 20px; height: 20px; accent-color: var(--red); cursor: pointer;
}
.doc-check label { cursor: pointer; font-size: 14px; }
.doc-upload input[type="file"] { font-size: 13px; width: 100%; }
.doc-upload-note { font-size: 11px; color: var(--gray-mid); margin-top: 3px; }

/* ── Signature pad ────────────────────────────────────────── */
.sig-wrap {
  border: 2px dashed var(--gray);
  border-radius: var(--radius);
  background: #fafafa;
  position: relative;
  overflow: hidden;
}
.sig-wrap canvas {
  display: block;
  width: 100%;
  touch-action: none;
  cursor: crosshair;
}
.sig-actions {
  display: flex; gap: 10px; margin-top: 10px;
}
.btn-clear {
  background: var(--gray);
  color: var(--text);
  border: none;
  padding: 7px 16px;
  border-radius: 5px;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}
.btn-clear:hover { background: #ccc; }
.sig-label {
  font-size: 12px; color: var(--gray-mid);
  text-align: center; margin-top: 5px;
}

/* ── Alert ────────────────────────────────────────────────── */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 15px;
}
.alert-success {
  background: #d4edda; color: #155724; border: 1px solid #c3e6cb;
}
.alert-error {
  background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb;
}
.alert-info {
  background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb;
}

/* ── Submit button ────────────────────────────────────────── */
.form-submit { text-align: center; margin-top: 10px; }
.form-submit .btn { min-width: 200px; font-size: 17px; }

/* ── Terms page ───────────────────────────────────────────── */
.terms-wrap { max-width: 820px; margin: 40px auto; padding: 0 20px 60px; }
.terms-section {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 28px;
  margin-bottom: 24px;
  border-right: 5px solid var(--red);
}
.terms-section h3 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray);
}
.terms-section p, .terms-section li {
  font-size: 15px;
  line-height: 2.3;
  color: var(--text);
}
.terms-section ul,
.terms-section ol { padding-right: 20px; }
.terms-section li { margin-bottom: 4px; }

/* ── Duties table ─────────────────────────────────────────── */
.duties-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}
.duties-col {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 16px 18px;
  border-top: 3px solid var(--navy);
}
.duties-heading {
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray);
}
.duties-col ol {
  padding-right: 22px;
  margin: 0;
}
.duties-col li {
  font-size: 14px;
  line-height: 2.2;
  color: var(--text);
  margin-bottom: 2px;
}
.duties-note {
  margin-top: 14px;
  padding: 10px 14px;
  background: #fff8e1;
  border-right: 3px solid #f59e0b;
  border-radius: 4px;
  font-size: 13px;
  line-height: 2;
  color: #555;
}
@media (max-width: 640px) {
  .duties-table { grid-template-columns: 1fr; }
}

/* ── About page ───────────────────────────────────────────── */
.about-wrap { max-width: 900px; margin: 40px auto; padding: 0 20px 60px; }
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}
@media (max-width: 680px) { .about-intro { grid-template-columns: 1fr; } }
.about-intro img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-intro h2 { color: var(--navy); font-size: 1.5rem; margin-bottom: 12px; }
.about-intro p  { color: var(--text); font-size: 15px; line-height: 2.3; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 30px 0;
}
.stat-box {
  text-align: center;
  padding: 24px 16px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
}
.stat-box .num { font-size: 2rem; font-weight: 700; color: var(--red); }
.stat-box .lbl { font-size: 13px; color: rgba(255,255,255,0.8); }

/* ── Admin layout ─────────────────────────────────────────── */
.admin-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}
.admin-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 12px;
}
.admin-header-bar h2 { color: var(--navy); font-size: 1.4rem; }

/* ── Stats bar ────────────────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 16px;
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 3px solid var(--red);
}
.stat-card .sc-num { font-size: 2rem; font-weight: 700; color: var(--navy); }
.stat-card .sc-lbl { font-size: 13px; color: var(--gray-mid); }

/* ── Search bar ───────────────────────────────────────────── */
.search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.search-bar input {
  flex: 1; min-width: 200px;
  border: 1.5px solid var(--gray);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-family: inherit;
  font-size: 15px;
  direction: rtl;
}
.search-bar input:focus { outline: none; border-color: var(--navy); }

/* ── Table ────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
thead { background: var(--navy); color: var(--white); }
thead th {
  padding: 14px 16px;
  text-align: right;
  font-size: 14px;
  font-weight: 600;
}
tbody tr { border-bottom: 1px solid var(--gray); transition: background 0.15s; }
tbody tr:hover { background: var(--off-white); }
tbody td {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text);
}
.td-actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* ── View detail ──────────────────────────────────────────── */
.detail-wrap { max-width: 900px; margin: 30px auto; padding: 0 20px 60px; }
.detail-section {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 28px;
  margin-bottom: 24px;
}
.detail-section-title {
  font-size: 1rem;
  color: var(--white);
  background: var(--navy);
  padding: 8px 16px;
  border-radius: 6px;
  margin: -24px -28px 20px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 30px;
}
@media (max-width: 600px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-field { }
.detail-field .lbl {
  font-size: 12px; color: var(--gray-mid); margin-bottom: 2px;
}
.detail-field .val {
  font-size: 15px; color: var(--text); border-bottom: 1px dashed var(--gray);
  padding-bottom: 4px; min-height: 28px;
}
.sig-display {
  border: 1px solid var(--gray);
  border-radius: 6px;
  background: #fafafa;
  max-width: 300px;
  padding: 6px;
}
.sig-display img { width: 100%; }
.badge-yes { background: #d4edda; color: #155724; padding: 2px 10px; border-radius: 20px; font-size: 13px; }
.badge-no  { background: #f8d7da; color: #721c24; padding: 2px 10px; border-radius: 20px; font-size: 13px; }

/* ── Admin login ──────────────────────────────────────────── */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), #0d2440);
}
.login-box {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 36px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  text-align: center;
}
.login-box img { height: 70px; margin: 0 auto 16px; }
.login-box h2 { color: var(--navy); margin-bottom: 6px; font-size: 1.2rem; }
.login-box p { color: var(--gray-mid); font-size: 13px; margin-bottom: 24px; }
.login-box .form-group { text-align: right; }
.login-box .form-control { background: var(--off-white); }
.login-box .btn { width: 100%; margin-top: 8px; }

/* ── Pagination ───────────────────────────────────────────── */
.pagination {
  display: flex; gap: 6px; justify-content: center;
  flex-wrap: wrap; margin-top: 24px;
}
.pagination a, .pagination span {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  border: 1px solid var(--gray);
  color: var(--navy);
}
.pagination a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pagination .current { background: var(--red); color: var(--white); border-color: var(--red); }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
  font-size: 13px; color: var(--gray-mid); margin-bottom: 20px;
}
.breadcrumb a { color: var(--navy); }
.breadcrumb span { color: var(--red); }

/* ── File thumb ───────────────────────────────────────────── */
.file-thumb {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--off-white); border: 1px solid var(--gray);
  border-radius: 6px; padding: 8px 14px; font-size: 13px; color: var(--navy);
  margin-top: 6px;
}
.file-thumb:hover { background: var(--gray); }

/* ── Success page ─────────────────────────────────────────── */
.success-wrap {
  max-width: 600px; margin: 60px auto; padding: 40px 30px;
  text-align: center; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.success-icon { font-size: 4rem; color: #28a745; margin-bottom: 16px; }
.success-wrap h2 { color: var(--navy); margin-bottom: 12px; }
.success-wrap p  { color: var(--gray-mid); margin-bottom: 24px; font-size: 15px; }
.ref-num {
  background: var(--off-white); border: 1px dashed var(--gray);
  border-radius: 6px; padding: 16px; font-size: 1.3rem;
  color: var(--red); font-weight: 700; letter-spacing: 2px;
  margin-bottom: 24px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  nav { width: 100%; }
  nav ul {
    display: none;
    flex-direction: column;
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 10px;
    margin-top: 8px;
  }
  nav ul.open { display: flex; }
  nav ul li a { padding: 12px 16px; }
  .hero h1 { font-size: 1.6rem; }
  .header-inner { padding: 8px 14px; }
  .detail-grid { grid-template-columns: 1fr; }
}

/* ── Print ────────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .btn, nav, .no-print { display: none !important; }
  body { font-size: 13px; line-height: 1.8; }
  .form-section, .detail-section, .terms-section { box-shadow: none; border: 1px solid #ddd; }
}
