/* ======================================================================
   KOLIN × SAWAED AL-EZZ — Supplier Registration Portal
   Brand colors derived from official logos
   ====================================================================== */

:root {
  /* Brand palette */
  --navy:        #1B3A4B;
  --navy-dark:   #112733;
  --navy-darker: #0A1B25;
  --teal:        #5BB5B0;
  --teal-light:  #7DCDC8;
  --teal-soft:   #E6F4F3;
  --gold:        #F5B71F;
  --gold-light:  #FFD15C;
  --gold-soft:   #FFF6DD;
  --black:       #0A0A0A;

  /* Neutral palette */
  --bg:          #F4F7F8;
  --surface:     #FFFFFF;
  --text:        #1F2E36;
  --text-soft:   #5C6B73;
  --text-mute:   #8a98a0;
  --border:      #E1E8EC;
  --border-soft: #EEF2F4;

  /* Status */
  --success: #2BA67A;
  --danger:  #E55353;
  --warning: #F5B71F;

  /* Brand aliases used by inline styles in HTML */
  --primary: var(--navy);
  --accent:  var(--gold);

  /* Effects */
  --shadow-sm: 0 2px 6px rgba(27,58,75,0.06);
  --shadow:    0 8px 28px rgba(27,58,75,0.10);
  --shadow-lg: 0 18px 50px rgba(27,58,75,0.18);
  --radius:    14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --transition: all 0.25s ease;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Tajawal', 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--navy); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ====================================================================
   NAVBAR
   ==================================================================== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  padding: 14px 0;
}
.nav-content {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 14px; }

/* Logo icon: now a real image */
.logo-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: #fff; font-weight: 900; font-size: 1.4rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(91,181,176,0.25);
  overflow: hidden;
}
.logo-icon img {
  width: 100%; height: 100%; object-fit: contain;
  background: #fff; padding: 4px;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main {
  font-weight: 800; font-size: 1.05rem;
  color: var(--navy);
}
.logo-sub {
  font-size: 0.78rem; color: var(--text-soft);
  font-weight: 500;
}

.nav-links {
  display: flex; gap: 26px; align-items: center;
}
.nav-links a {
  color: var(--text);
  font-weight: 600; font-size: 0.95rem;
  padding: 8px 4px;
  position: relative;
}
.nav-links a:not([style])::after {
  content: ''; position: absolute; bottom: 0; right: 0; left: 0;
  height: 2px; background: var(--teal);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a:hover { color: var(--teal); }

/* ====================================================================
   HERO
   ==================================================================== */
.hero-section {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(91,181,176,0.22) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(245,183,31,0.15) 0%, transparent 50%),
    linear-gradient(135deg, #0E2230 0%, #1B3A4B 55%, #0E2230 100%);
  color: #fff;
  padding: 80px 0 160px;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(10,27,37,0.4) 100%);
  pointer-events: none;
}
.hero-particles {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-particles span {
  position: absolute; display: block;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--teal-light);
  opacity: 0.5;
  animation: floatUp 12s linear infinite;
}
@keyframes floatUp {
  0%   { transform: translateY(0)   scale(0.5); opacity: 0; }
  20%  { opacity: 0.7; }
  100% { transform: translateY(-120vh) scale(1.4); opacity: 0; }
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero-badge {
  display: inline-block;
  padding: 8px 22px;
  background: rgba(245,183,31,0.14);
  border: 1px solid rgba(245,183,31,0.45);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 0.92rem; font-weight: 600;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 900; line-height: 1.3;
  margin-bottom: 22px;
  max-width: 900px;
}
.hero-title .highlight {
  background: linear-gradient(90deg, var(--teal-light), var(--gold-light));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-description {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: rgba(255,255,255,0.82);
  max-width: 720px;
  margin-bottom: 46px;
  line-height: 1.85;
}

.hero-stats {
  display: flex; gap: 50px;
  margin-bottom: 50px;
  flex-wrap: wrap; justify-content: center;
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  position: relative;
}
.stat-number {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  margin-top: 6px;
}

.hero-wave {
  position: absolute; bottom: -1px; left: 0; right: 0;
  line-height: 0; z-index: 1;
}
.hero-wave svg { width: 100%; height: 100px; display: block; }

/* ====================================================================
   BUTTONS
   ==================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700; font-size: 1rem;
  cursor: pointer; border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn svg { transition: transform 0.25s ease; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-dark);
  box-shadow: 0 10px 26px rgba(245,183,31,0.32);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(245,183,31,0.48);
  color: var(--navy-dark);
}
.btn-secondary {
  background: rgba(91,181,176,0.12);
  color: var(--navy);
  border: 1.5px solid var(--teal);
}
.btn-secondary:hover {
  background: rgba(91,181,176,0.22);
  transform: translateY(-2px);
}
.btn-success {
  background: linear-gradient(135deg, var(--success) 0%, #41C291 100%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(43,166,122,0.3);
}
.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(43,166,122,0.45);
  color: #fff;
}

.btn-hero {
  padding: 18px 42px; font-size: 1.08rem;
}

/* ====================================================================
   PROGRESS BAR
   ==================================================================== */
.progress-section {
  background: var(--surface);
  padding: 30px 0 26px;
  margin-top: -100px;
  position: relative; z-index: 5;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: var(--shadow);
}
.progress-bar-container { position: relative; padding: 0 10px; }
.progress-steps {
  display: flex; justify-content: space-between; align-items: flex-start;
  position: relative; z-index: 2;
}
.progress-step {
  display: flex; flex-direction: column; align-items: center;
  flex: 1; gap: 8px;
  cursor: default;
}
.step-circle {
  width: 42px; height: 42px;
  background: var(--border-soft);
  color: var(--text-mute);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem;
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 1.5px var(--border);
  transition: var(--transition);
}
.step-label {
  font-size: 0.82rem; color: var(--text-mute);
  font-weight: 600; text-align: center;
  transition: var(--transition);
}
.progress-step.active .step-circle {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  color: #fff;
  box-shadow: 0 0 0 1.5px var(--teal), 0 6px 16px rgba(91,181,176,0.4);
  transform: scale(1.08);
}
.progress-step.active .step-label { color: var(--navy); }
.progress-step.completed .step-circle {
  background: var(--teal);
  color: #fff;
}
.progress-step.completed .step-label { color: var(--text); }

.progress-line {
  position: absolute;
  top: 21px; left: 25px; right: 25px;
  height: 3px; background: var(--border-soft);
  border-radius: 3px;
  z-index: 1;
}
.progress-line-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal-light) 100%);
  border-radius: 3px;
  width: 0%;
  transition: width 0.5s ease;
}

/* ====================================================================
   FORM SECTION
   ==================================================================== */
.form-section {
  background: var(--surface);
  padding: 30px 0 90px;
}
.form-wrapper {
  max-width: 960px; margin: 0 auto;
  padding: 0 10px;
}
.form-step { display: none; animation: fadeSlide 0.4s ease; }
.form-step.active { display: block; }
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.section-header {
  display: flex; gap: 18px; align-items: center;
  padding: 22px 26px;
  margin-bottom: 28px;
  background: linear-gradient(135deg, var(--teal-soft) 0%, #FFF 100%);
  border-right: 5px solid var(--teal);
  border-radius: var(--radius);
}
.section-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: #fff;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(27,58,75,0.18);
}
.section-title {
  font-size: 1.4rem; font-weight: 800; color: var(--navy);
  margin-bottom: 4px;
}
.section-subtitle {
  font-size: 0.95rem; color: var(--text-soft);
  font-weight: 500;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full-width { grid-column: 1 / -1; }

.form-group label {
  font-weight: 600; color: var(--navy);
  font-size: 0.95rem;
}
.required { color: var(--danger); margin-right: 2px; }
.optional { color: var(--text-mute); font-weight: 400; font-size: 0.85rem; }

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  background: var(--surface);
  color: var(--text);
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(91,181,176,0.14);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--danger);
  background: #FFF5F5;
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235C6B73' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: left 16px center;
  padding-left: 40px;
}

.error-msg {
  color: var(--danger);
  font-size: 0.82rem;
  font-weight: 500;
  min-height: 0;
  transition: var(--transition);
}
.error-msg:not(:empty) {
  display: block;
  padding: 6px 10px;
  background: #FFF5F5;
  border-right: 3px solid var(--danger);
  border-radius: 6px;
  min-height: 24px;
}

/* Input with prefix */
.input-with-prefix {
  display: flex; align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
  transition: var(--transition);
}
.input-with-prefix:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(91,181,176,0.14);
}
.input-prefix {
  background: var(--teal-soft);
  color: var(--navy);
  font-weight: 700;
  padding: 13px 14px;
  border-left: 1.5px solid var(--border);
  font-size: 0.95rem;
}
.input-with-prefix input {
  border: none; flex: 1;
  padding: 13px 16px;
  background: transparent;
}
.input-with-prefix input:focus { box-shadow: none; }

/* Form actions */
.form-actions {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  gap: 16px;
  flex-wrap: wrap;
}

/* ====================================================================
   ACTIVITY CARDS (Step 3)
   ==================================================================== */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.activity-card {
  position: relative;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 14px;
  background: var(--surface);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
}
.activity-card input[type="checkbox"],
.activity-card input[type="radio"] {
  position: absolute; opacity: 0; pointer-events: none;
}
.activity-content {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; text-align: center; width: 100%;
}
.activity-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--teal-soft) 0%, #fff 100%);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  transition: var(--transition);
}
.activity-name {
  font-size: 0.92rem; font-weight: 700;
  color: var(--navy);
}
.activity-card:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.activity-card:has(input:checked),
.activity-card.selected {
  border-color: var(--teal);
  background: var(--teal-soft);
  box-shadow: 0 0 0 3px rgba(91,181,176,0.18);
}
.activity-card:has(input:checked) .activity-icon,
.activity-card.selected .activity-icon {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  color: #fff;
}

.other-activity-input {
  margin-top: 18px;
  padding: 18px;
  background: var(--gold-soft);
  border-radius: var(--radius);
  border: 1px dashed var(--gold);
}
.other-activity-input.hidden { display: none; }

/* ====================================================================
   RADIO CARDS
   ==================================================================== */
.radio-group {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.radio-card {
  flex: 1; min-width: 130px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  cursor: pointer;
  transition: var(--transition);
  background: var(--surface);
  position: relative;
}
.radio-card input[type="radio"] {
  position: absolute; opacity: 0; pointer-events: none;
}
.radio-label {
  font-weight: 700; color: var(--navy);
  font-size: 0.95rem;
  display: flex; align-items: center; gap: 10px;
}
.radio-label::before {
  content: ''; width: 18px; height: 18px;
  border: 2px solid var(--border); border-radius: 50%;
  flex-shrink: 0;
  transition: var(--transition);
}
.radio-card:hover { border-color: var(--teal); }
.radio-card:has(input:checked) {
  border-color: var(--teal); background: var(--teal-soft);
}
.radio-card:has(input:checked) .radio-label::before {
  border-color: var(--teal);
  background:
    radial-gradient(circle, var(--teal) 0 5px, transparent 6px);
}

/* ====================================================================
   CHECKBOX GROUPS
   ==================================================================== */
.checkbox-group-vertical {
  display: flex; flex-direction: column; gap: 10px;
}
.checkbox-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  background: var(--surface);
  font-weight: 600; color: var(--navy);
}
.checkbox-item input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--teal);
  cursor: pointer;
}
.checkbox-item:hover { border-color: var(--teal); background: var(--teal-soft); }

.checkbox-group-horizontal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.checkbox-card {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  background: var(--surface);
  font-weight: 600; color: var(--navy);
  font-size: 0.92rem;
}
.checkbox-card input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--teal);
}
.checkbox-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.checkbox-card:has(input:checked) {
  border-color: var(--teal); background: var(--teal-soft);
}

/* ====================================================================
   FILE UPLOAD ZONES
   ==================================================================== */
.file-upload-zone,
.doc-upload-area {
  position: relative;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 28px 18px;
  text-align: center;
  background: #FAFCFC;
  cursor: pointer;
  transition: var(--transition);
}
.file-upload-zone:hover,
.doc-upload-area:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
}
.file-upload-zone.dragover,
.doc-upload-area.dragover {
  border-color: var(--gold);
  background: var(--gold-soft);
}
.file-input {
  position: absolute; inset: 0;
  opacity: 0; cursor: pointer;
}
.file-upload-content,
.doc-upload-text {
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.95rem;
}
.upload-link {
  color: var(--teal); font-weight: 700;
  text-decoration: underline;
}
.file-list {
  margin-top: 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.file-list-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  background: var(--teal-soft);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--navy);
}
.file-list-item .remove {
  background: transparent; border: none;
  color: var(--danger); cursor: pointer; font-size: 1.1rem;
}

.doc-file-name {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--success);
  font-weight: 600;
}
.doc-file-name:empty { display: none; }

/* ====================================================================
   DOCUMENT UPLOAD CARDS (Step 7)
   ==================================================================== */
.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.document-upload-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
}
.document-upload-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
}
.doc-card-header { margin-bottom: 12px; }
.doc-card-header h4 {
  font-size: 1rem; font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.doc-card-header small {
  color: var(--text-mute); font-size: 0.82rem;
}

/* ====================================================================
   SUMMARY & DECLARATION (Step 8)
   ==================================================================== */
.summary-card {
  background: linear-gradient(135deg, #FFF 0%, var(--teal-soft) 100%);
  border: 1.5px solid var(--teal);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 28px;
}
.summary-title {
  font-size: 1.15rem; font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--teal);
}
.summary-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.summary-item {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.7);
  border-radius: var(--radius-sm);
}
.summary-item .label {
  font-size: 0.82rem; color: var(--text-soft); font-weight: 500;
}
.summary-item .value {
  font-size: 0.95rem; font-weight: 700; color: var(--navy);
}

.declaration-section {
  background: var(--gold-soft);
  border: 1.5px solid rgba(245,183,31,0.5);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 24px;
}
.declaration-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 0;
}
.declaration-item + .declaration-item { border-top: 1px solid rgba(245,183,31,0.25); }
.declaration-item input[type="checkbox"] {
  margin-top: 4px;
  width: 20px; height: 20px;
  accent-color: var(--gold);
  flex-shrink: 0;
  cursor: pointer;
}
.declaration-text {
  font-size: 0.95rem;
  color: var(--navy-dark);
  line-height: 1.7;
}

/* ====================================================================
   SUCCESS MODAL
   ==================================================================== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10,27,37,0.65);
  backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  z-index: 1000;
  padding: 24px;
}
.modal-overlay.show { display: flex; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-content {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  max-width: 460px; width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: popIn 0.35s ease;
}
@keyframes popIn { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-content h2 {
  font-size: 1.6rem; color: var(--navy); margin-bottom: 10px; font-weight: 800;
}
.modal-desc {
  color: var(--text-soft);
  margin: 12px 0 26px;
  line-height: 1.75;
}

.success-animation { margin: 0 auto 22px; width: 90px; height: 90px; }
.checkmark {
  width: 90px; height: 90px;
  border-radius: 50%;
  display: block; stroke-width: 4;
  stroke: #fff; stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px var(--success);
  animation: fillCircle 0.5s ease-in-out 0.4s forwards, scaleCheck 0.3s ease-in-out 0.9s both;
}
.checkmark-circle {
  stroke-dasharray: 166; stroke-dashoffset: 166;
  stroke-width: 4; stroke-miterlimit: 10;
  stroke: var(--success);
  fill: none;
  animation: strokeCheck 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48; stroke-dashoffset: 48;
  animation: strokeCheck 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}
@keyframes strokeCheck { to { stroke-dashoffset: 0; } }
@keyframes scaleCheck { 0%,100% { transform: none; } 50% { transform: scale3d(1.1,1.1,1); } }
@keyframes fillCircle { to { box-shadow: inset 0 0 0 50px var(--success); } }

/* ====================================================================
   FOOTER
   ==================================================================== */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 0;
  margin-top: 50px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-main { color: #fff; }
.footer-brand .logo-sub  { color: rgba(255,255,255,0.6); }
.footer-desc {
  margin-top: 16px;
  color: rgba(255,255,255,0.7);
  line-height: 1.85;
  font-size: 0.95rem;
}
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-links h4, .footer-contact h4 {
  color: var(--gold-light);
  font-size: 1.05rem; font-weight: 700;
  margin-bottom: 14px;
}
.footer-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.94rem;
  padding: 4px 0;
}
.footer-links a:hover { color: var(--teal-light); padding-right: 6px; }
.footer-contact p {
  color: rgba(255,255,255,0.75);
  font-size: 0.94rem;
}
.footer-bottom {
  text-align: center; padding: 22px 0;
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
}

/* ====================================================================
   HELP WIDGET
   ==================================================================== */
.help-btn {
  position: fixed; bottom: 26px; left: 26px;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-dark);
  border: none;
  font-size: 1.6rem; font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(245,183,31,0.45);
  z-index: 90;
  transition: var(--transition);
}
.help-btn:hover { transform: scale(1.08) rotate(8deg); }

.help-panel {
  position: fixed; bottom: 96px; left: 26px;
  width: 360px; max-width: calc(100vw - 40px);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  z-index: 91;
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all 0.3s ease;
  max-height: 70vh; overflow: hidden;
  display: flex; flex-direction: column;
}
.help-panel.show {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.help-panel-header {
  padding: 18px 22px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: #fff;
  display: flex; justify-content: space-between; align-items: center;
}
.help-panel-header h4 { font-size: 1.05rem; font-weight: 700; }
.help-panel-close {
  background: rgba(255,255,255,0.15); color: #fff; border: none;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 1.2rem; cursor: pointer;
  transition: var(--transition);
}
.help-panel-close:hover { background: rgba(255,255,255,0.25); }

.help-panel-body { padding: 20px 22px; overflow-y: auto; }
.help-step {
  display: flex; gap: 14px; margin-bottom: 18px;
  align-items: flex-start;
}
.help-step:last-child { margin-bottom: 0; }
.help-step-num {
  flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--teal-soft); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.95rem;
}
.help-step-text {
  font-size: 0.9rem; color: var(--text-soft);
  line-height: 1.65;
}
.help-step-text strong {
  display: block; color: var(--navy);
  margin-bottom: 2px; font-size: 0.95rem;
}

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
@media (max-width: 920px) {
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .progress-steps .step-label { font-size: 0.7rem; }
  .step-circle { width: 36px; height: 36px; font-size: 0.9rem; }
  .progress-line { top: 18px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .container { padding: 0 16px; }
  .hero-section { padding: 60px 0 130px; }
  .hero-stats { gap: 30px; }
  .section-header { padding: 18px 18px; gap: 14px; }
  .section-icon { width: 46px; height: 46px; }
  .section-title { font-size: 1.15rem; }
  .form-section { padding: 20px 0 60px; }
  .progress-step { gap: 4px; }
  .progress-step .step-label { display: none; }
  .progress-step.active .step-label,
  .progress-step.completed .step-label { display: block; font-size: 0.78rem; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; }
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
  .help-panel { width: calc(100vw - 30px); left: 15px; right: 15px; }
}
