/* =========================================
   Kens Global Inc — Stylesheet
   ========================================= */

:root {
  --navy:       #0a1628;
  --navy-mid:   #0f2044;
  --navy-light: #1a3060;
  --gold:       #c8960c;
  --gold-light: #f0b429;
  --gold-pale:  #fef3c7;
  --text-main:  #1e293b;
  --text-muted: #64748b;
  --bg-light:   #f8fafc;
  --border:     #e2e8f0;
}

/* ---- Base ---- */
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background: #fff;
}

/* ---- Top Bar ---- */
.topbar {
  background: var(--navy);
  color: #94a3b8;
  font-size: 0.8rem;
  padding: 6px 0;
}

/* ---- Navbar ---- */
#mainNav {
  background: var(--navy-mid);
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
  padding: 0.6rem 0;
}
.brand-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--navy);
  flex-shrink: 0;
}
.brand-icon.small { width: 32px; height: 32px; font-size: 1rem; border-radius: 7px; }
.brand-name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fff;
  line-height: 1.1;
}
.brand-tag {
  font-size: 0.65rem;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.navbar-nav .nav-link {
  color: #cbd5e1 !important;
  font-weight: 500;
  padding: 0.5rem 0.8rem;
  transition: color .2s;
}
.navbar-nav .nav-link:hover { color: var(--gold-light) !important; }

/* ---- Gold Button ---- */
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy) !important;
  font-weight: 700;
  border: none;
  transition: opacity .2s, transform .1s;
}
.btn-gold:hover { opacity: 0.9; transform: translateY(-1px); color: var(--navy) !important; }
.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
  font-weight: 600;
  transition: all .2s;
}
.btn-outline-gold:hover { background: var(--gold); color: var(--navy); }

/* ---- Hero ---- */
.hero-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #112240 100%);
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero-section::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.02'%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-badge {
  display: inline-block;
  background: rgba(200,150,12,0.2);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
}
.hero-sub {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 640px;
  line-height: 1.7;
}

/* ---- Page Hero ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 60px 0;
}
.page-hero .section-eyebrow { color: var(--gold-light); }

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--navy-light);
  border-bottom: 3px solid var(--gold);
}
.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-light);
}
.stat-label {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- Sections ---- */
.section-light { background: var(--bg-light); }
.section-dark  { background: var(--navy); }
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: var(--gold-pale);
  padding: 3px 12px;
  border-radius: 20px;
}
.section-header h2 { font-size: 2rem; font-weight: 800; margin-top: 0.5rem; }
.section-desc { color: var(--text-muted); font-size: 1.05rem; }

/* ---- Service Cards ---- */
.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.8rem;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-3px); }
.service-icon {
  width: 52px; height: 52px;
  background: var(--gold-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.service-card h5 { font-weight: 700; margin-bottom: 0.5rem; }

/* ---- Fuel Cards ---- */
.fuel-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.5rem;
  transition: background .2s;
}
.fuel-card:hover { background: rgba(255,255,255,0.1); }
.fuel-card-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.fuel-card h6 { color: #fff; font-weight: 700; margin: 0 0 0.2rem; }
.fuel-card-sub { color: var(--gold-light); font-size: 0.75rem; margin-bottom: 0.6rem; font-weight: 600; }

/* ---- Process Strip (home) ---- */
.process-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.process-step-mini {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; width: 88px;
}
.psm-circle {
  width: 46px; height: 46px;
  background: var(--gold-pale);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--gold);
}
.psm-label { font-size: 0.65rem; font-weight: 600; text-align: center; color: var(--text-muted); line-height: 1.2; }
.psm-arrow { color: var(--gold); font-size: 0.9rem; margin: 0 2px; margin-bottom: 18px; }

/* ---- Process Page ---- */
.process-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
}
.pc-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  border-left: 5px solid;
}
.pc-number {
  width: 40px; height: 40px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1rem; color: #fff;
  flex-shrink: 0;
}
.pc-icon { font-size: 1.4rem; flex-shrink: 0; }
.pc-title { font-size: 1.1rem; font-weight: 800; margin: 0; }
.pc-body { padding: 1.5rem; }
.process-bullets { list-style: none; padding: 0; margin: 1rem 0; }
.process-bullets li { padding: 4px 0; font-size: 0.95rem; }
.flow-badge {
  background: var(--navy);
  color: #94a3b8;
  font-size: 0.8rem;
  padding: 8px 14px;
  border-radius: 8px;
  margin-top: 1rem;
}
.flow-badge i { color: var(--gold); }

/* ---- Doc Reference ---- */
.doc-reference-box {
  background: var(--navy);
  border-radius: 12px;
  padding: 2rem;
  color: #fff;
}
.doc-reference-box h5 { color: #fff; font-weight: 700; }
.text-gold { color: var(--gold-light) !important; }
.doc-item {
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(255,255,255,0.05);
  padding: 10px 12px;
  border-radius: 8px;
  height: 100%;
}
.doc-abbr {
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  height: fit-content;
  flex-shrink: 0;
}
.doc-full { font-size: 0.8rem; color: #e2e8f0; font-weight: 600; }
.doc-desc { font-size: 0.72rem; color: #94a3b8; margin-top: 2px; }

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  border-top: 3px solid var(--gold);
}

/* ---- Form (Inquiry) ---- */
.form-progress {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.fp-step {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; color: var(--text-muted);
  flex-shrink: 0;
}
.fp-step span {
  width: 26px; height: 26px;
  background: #e2e8f0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
}
.fp-step.active { color: var(--navy); }
.fp-step.active span { background: var(--gold); color: var(--navy); }
.fp-step.completed span { background: #10b981; color: #fff; }
.fp-line { flex: 1; height: 2px; background: var(--border); min-width: 20px; }

.form-section { display: none; }
.form-section.active { display: block; }

.form-section-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 0.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--border);
}
.fs-number {
  font-size: 1.8rem; font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.form-section-header h5 { margin: 0; font-weight: 800; font-size: 1.1rem; }

.form-label.required::after { content: ' *'; color: #ef4444; }
.form-control, .form-select {
  border-color: var(--border);
  border-radius: 8px;
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,150,12,0.15);
}

/* Fuel info cards (spec hints) */
.fuel-info-grid { display: none; }
.fuel-info-card {
  display: none;
  background: var(--gold-pale);
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.82rem;
}
.fuel-info-card.active { display: block; }
.fuel-info-card ul { margin: 4px 0 0; padding-left: 16px; }
.fuel-info-card li { margin: 2px 0; }

/* Review box */
.review-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
}
.review-section { margin-bottom: 1rem; }
.review-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.review-item-label { font-size: 0.72rem; color: var(--text-muted); }
.review-item-val { font-size: 0.9rem; font-weight: 600; }

/* ---- Confirmation Page ---- */
.confirm-icon {
  width: 90px; height: 90px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: #16a34a;
  margin: 0 auto;
}
.ref-box {
  background: var(--navy);
  border-radius: 12px;
  padding: 1.5rem;
  display: inline-block;
  width: 100%;
}
.ref-label { font-size: 0.75rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.08em; }
.ref-id { font-size: 1.8rem; font-weight: 900; color: var(--gold-light); font-family: monospace; letter-spacing: 0.05em; }
.ref-note { font-size: 0.8rem; color: #64748b; margin-top: 4px; }
.what-next-list { list-style: none; padding: 0; counter-reset: steps; }
.what-next-list li {
  counter-increment: steps;
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
}
.what-next-list li:last-child { border-bottom: none; margin-bottom: 0; }
.what-next-list li::before {
  content: counter(steps);
  width: 28px; height: 28px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 0.85rem;
  flex-shrink: 0;
}
.what-next-list li strong { display: block; font-size: 0.9rem; }
.what-next-list li span { font-size: 0.82rem; color: var(--text-muted); }

/* ---- Dashboard ---- */
.dash-stat {
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 1.2rem 1.5rem;
  text-align: center;
}
.dash-stat-num { font-size: 2.2rem; font-weight: 900; color: var(--navy); }
.dash-stat-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.dashboard-table th {
  background: var(--navy);
  color: #94a3b8;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.ref-code { color: var(--gold); font-size: 0.8rem; }
.fuel-badge {
  background: var(--gold-pale);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
}
.inco-badge {
  background: #dbeafe;
  color: #1d4ed8;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
}
.status-badge.received {
  background: #dcfce7; color: #16a34a;
  font-weight: 700; font-size: 0.75rem; padding: 2px 8px; border-radius: 4px;
}
.status-badge.other {
  background: #fef3c7; color: #d97706;
  font-weight: 700; font-size: 0.75rem; padding: 2px 8px; border-radius: 4px;
}
.detail-panel {
  background: var(--bg-light);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-size: 0.88rem;
}

/* ---- Footer ---- */
.footer {
  background: var(--navy);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}
.footer-heading { color: var(--gold-light); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.footer-links { }
.footer-links li, .footer-links a {
  color: #94a3b8;
  font-size: 0.85rem;
  text-decoration: none;
  margin-bottom: 4px;
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-hr { border-color: rgba(255,255,255,0.1); margin: 1.5rem 0; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .process-strip { flex-direction: column; align-items: flex-start; }
  .psm-arrow { transform: rotate(90deg); }
  .fp-step { font-size: 0.72rem; }
}
