/* ============================================================
   DLMs Ka Dastak – License Apply Website
   style.css
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark:   #005700;
  --green-main:   #006400;
  --green-mid:    #007A00;
  --green-light:  #00A300;
  --green-pale:   #e8f5e8;
  --yellow:       #FFD700;
  --yellow-dark:  #e6b800;
  --white:        #ffffff;
  --gray-50:      #f9fafb;
  --gray-100:     #f3f4f6;
  --gray-200:     #e5e7eb;
  --gray-400:     #9ca3af;
  --gray-600:     #4b5563;
  --gray-800:     #1f2937;
  --red:          #dc2626;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.12);
  --shadow-md:    0 4px 16px rgba(0,0,0,.15);
  --shadow-lg:    0 8px 32px rgba(0,0,0,.2);
  --radius:       12px;
  --radius-sm:    8px;
  --transition:   .3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Poppins', sans-serif;
  background: var(--gray-50);
  color: var(--gray-800);
  direction: ltr;
  overflow-x: hidden;
}

/* Urdu text stays right-to-left only for text rendering */
.urdu-text,
.hero-heading,
.hero-badge,
.hero-sub,
.section-title,
.sp-label,
.form-section-header h2,
label,
.verify-subtitle,
.verify-notice p,
.declaration-box p,
.track-help p,
.si-item p,
.success-msg,
.success-title,
.track-label,
.offer-text,
.apply-offer-banner,
.payment-summary h3,
.price-table-title,
.payment-methods h3,
.qr-sub,
.pay-row span,
.verify-label,
.step-card h3,
.step-card p,
.license-card p {
  direction: rtl;
  text-align: right;
}

/* ---- SITE HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}

/* ---- TOP LOGO BAR ---- */
.top-bar {
  background: #ffffff;
  border-bottom: 3px solid #006400;
  padding: .6rem 1.5rem;
}
.top-bar-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Left – DLIMS */
.tb-logo { display: flex; align-items: center; gap: .7rem; }
.dlims-text { display: flex; flex-direction: column; }
.dlims-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: #006400;
  line-height: 1;
  letter-spacing: 1px;
}
.dlims-sub {
  font-size: .68rem;
  color: #444;
  font-weight: 500;
  letter-spacing: .3px;
  line-height: 1.5;
}

/* Center – Dastak */
.tb-logo-center {
  flex-direction: column;
  text-align: center;
  border-left: 2px solid #e0e0e0;
  border-right: 2px solid #e0e0e0;
  padding: 0 1.5rem;
}
.dastak-urdu {
  font-size: 1.4rem;
  font-weight: 800;
  color: #006400;
  font-family: 'Noto Nastaliq Urdu', serif;
  line-height: 1.2;
}
.dastak-eng {
  font-size: 1rem;
  font-weight: 800;
  color: #222;
  letter-spacing: 1px;
}
.dastak-tagline {
  font-size: .65rem;
  color: #555;
  letter-spacing: .5px;
}

/* Right – ONE WINDOW */
.tb-logo-right { flex-direction: row; gap: .7rem; }
.onewindow-text { display: flex; flex-direction: column; }
.onewindow-line1 {
  font-size: .95rem;
  font-weight: 900;
  color: #006400;
  letter-spacing: .5px;
}
.onewindow-line2 {
  font-size: .95rem;
  font-weight: 900;
  color: #006400;
  letter-spacing: .5px;
}

/* ---- TICKER STRIP ---- */
.ticker-strip {
  background: #1a1a1a;
  overflow: hidden;
  padding: .35rem 0;
  white-space: nowrap;
}
.ticker-content {
  display: inline-block;
  animation: tickerScroll 35s linear infinite;
  padding-right: 80px;
}
@keyframes tickerScroll {
  0%   { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}
.ticker-label {
  color: var(--yellow);
  font-weight: 700;
  font-size: .82rem;
  margin-right: .8rem;
}
.ticker-text {
  color: rgba(255,255,255,.88);
  font-size: .82rem;
}

/* ---- GREEN NAV BAR ---- */
.green-navbar {
  background: #006400;
}
.gnav-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
  position: relative;
  width: 100%;
}
.gnav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.gnav-item {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .75rem 1.6rem;
  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  transition: var(--transition);
  letter-spacing: .3px;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.gnav-item:hover {
  background: rgba(255,255,255,.12);
  border-bottom-color: var(--yellow);
}
.gnav-item.active {
  background: rgba(255,255,255,.18);
  border-bottom-color: var(--yellow);
  color: var(--yellow);
}
.gnav-icon { font-size: 1rem; }

.gnav-admin-btn {
  margin-left: auto;
  align-self: center;
  background: rgba(255,255,255,.15);
  color: var(--yellow);
  text-decoration: none;
  border: 1px solid rgba(255,215,0,.4);
  padding: .4rem 1rem;
  border-radius: 4px;
  font-size: .82rem;
  font-weight: 700;
  margin-right: 1rem;
  transition: var(--transition);
}
.gnav-admin-btn:hover { background: rgba(255,255,255,.25); }

.gnav-hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  padding: .5rem 1rem;
}

/* ---- PAGE SYSTEM ---- */
.page { display: none; min-height: calc(100vh - 145px); }
.page.active { display: block; }


/* ---- HERO ---- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #003200 0%, #005700 40%, #007A00 80%, #004c00 100%);
  padding: 5rem 2rem 4rem;
  text-align: center;
  overflow: hidden;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFD700' fill-opacity='0.04'%3E%3Cpath d='M40 40 L80 0 L80 80z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }

.hero-badge {
  display: inline-block;
  background: rgba(255,215,0,.15);
  border: 1px solid rgba(255,215,0,.4);
  color: var(--yellow);
  padding: .4rem 1.2rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero-heading {
  font-family: 'Noto Nastaliq Urdu', 'Inter', serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  color: var(--white);
  line-height: 2;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.highlight-yellow {
  color: var(--yellow);
  font-weight: 800;
  text-shadow: 0 0 20px rgba(255,215,0,.5);
}

.hero-sub {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }

.btn-primary {
  background: var(--yellow);
  color: var(--green-dark);
  border: none;
  padding: .9rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(255,215,0,.4);
}
.btn-primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255,215,0,.5);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
  padding: .9rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--yellow);
}
.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.25);
}

/* ---- LICENSE TYPE CARDS ---- */
.license-types-section {
  padding: 4rem 2rem;
  background: var(--white);
}
.container { max-width: 1200px; margin: 0 auto; }
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 2.5rem;
  font-family: 'Noto Nastaliq Urdu', serif;
}
.license-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}
.license-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.license-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--green-main);
  transform: scaleX(0);
  transition: var(--transition);
}
.license-card:hover {
  border-color: var(--green-main);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.license-card:hover::before { transform: scaleX(1); }
.lc-icon { font-size: 2.8rem; margin-bottom: .8rem; }
.license-card h3 { font-size: 1.2rem; color: var(--green-dark); font-weight: 700; }
.license-card p { color: var(--gray-600); font-size: .85rem; margin-top: .3rem; }
.price-tag {
  display: inline-block;
  margin-top: .8rem;
  background: var(--green-pale);
  color: var(--green-dark);
  padding: .3rem .8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .85rem;
}

/* ---- OFFER BANNER ---- */
.offer-banner {
  background: var(--green-dark);
  padding: 1.2rem 2rem;
  overflow: hidden;
}
.offer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.offer-text {
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .5px;
  animation: marqueeGlow 2s ease-in-out infinite alternate;
}
@keyframes marqueeGlow {
  from { text-shadow: 0 0 6px rgba(255,215,0,.3); }
  to   { text-shadow: 0 0 16px rgba(255,215,0,.8), 0 0 30px rgba(255,215,0,.4); }
}
.offer-pulse {
  width: 14px; height: 14px;
  background: var(--yellow);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(255,215,0,.6); }
  50% { transform: scale(1.3); box-shadow: 0 0 0 8px rgba(255,215,0,0); }
}

/* ---- HOW IT WORKS ---- */
.how-it-works {
  padding: 4rem 2rem;
  background: var(--gray-50);
}
.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  min-width: 160px;
  border: 2px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
}
.step-card:hover { border-color: var(--green-main); box-shadow: var(--shadow-md); }
.step-num {
  position: absolute;
  top: -14px;
  right: 50%;
  transform: translateX(50%);
  background: var(--green-main);
  color: var(--white);
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .9rem;
  box-shadow: 0 2px 8px rgba(0,100,0,.4);
}
.step-icon { font-size: 2.4rem; margin-bottom: .8rem; }
.step-card h3 { font-size: 1rem; font-weight: 700; color: var(--green-dark); }
.step-card p { font-size: .82rem; color: var(--gray-600); margin-top: .4rem; }
.step-arrow { font-size: 1.8rem; color: var(--green-main); font-weight: 900; }

/* ============================================================
   APPLY PAGE
   ============================================================ */
.apply-wrapper {
  max-width: 880px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.apply-offer-banner {
  background: var(--green-dark);
  color: var(--white);
  padding: .9rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  border-left: 5px solid var(--yellow);
  animation: marqueeGlow 2s ease-in-out infinite alternate;
  direction: rtl;
  justify-content: flex-end;
}

/* ---- STEP PROGRESS ---- */
.step-progress-container {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.step-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.sp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  position: relative;
}
.sp-circle {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 3px solid var(--gray-200);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gray-400);
  transition: all .4s ease;
  position: relative;
  z-index: 2;
}
.sp-step.active .sp-circle {
  background: var(--green-main);
  border-color: var(--green-main);
  color: var(--white);
  box-shadow: 0 0 0 5px rgba(0,100,0,.2);
  transform: scale(1.1);
}
.sp-step.completed .sp-circle {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--yellow);
}
.sp-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--gray-400);
  text-align: center;
  line-height: 1.4;
}
.sp-step.active .sp-label,
.sp-step.completed .sp-label { color: var(--green-dark); }
.sp-label small { display: block; font-weight: 400; font-size: .7rem; color: var(--gray-400); }

.sp-line {
  flex: 1;
  height: 4px;
  background: var(--gray-200);
  margin: 0 .5rem;
  margin-bottom: 1.5rem;
  transition: background .5s ease;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  min-width: 50px;
}
.sp-line.filled { background: var(--green-dark); }
.sp-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; bottom: 0;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  animation: shimmer 2s infinite;
}
@keyframes shimmer {
  to { left: 100%; }
}

/* ---- STEP CONTENT ---- */
.step-content { display: none; animation: fadeSlideIn .4s ease; }
.step-content.active { display: block; }
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- FORM CARD ---- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.form-section-header {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--green-pale);
}
.fs-icon { font-size: 1.8rem; }
.form-section-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-dark);
  font-family: 'Noto Nastaliq Urdu', serif;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  direction: ltr;
}
.form-group { display: flex; flex-direction: column; gap: .45rem; direction: ltr; }
.form-group.full-width { grid-column: 1 / -1; }

label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--gray-800);
  font-family: 'Noto Nastaliq Urdu', serif;
  line-height: 1.8;
  direction: rtl;
  text-align: right;
}
.req { color: var(--red); font-weight: 900; }

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .93rem;
  font-family: 'Inter', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color .25s, box-shadow .25s;
  outline: none;
  direction: ltr;
  text-align: left;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--green-main);
  box-shadow: 0 0 0 4px rgba(0,100,0,.12);
}
input.error, select.error, textarea.error {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(220,38,38,.1);
}
textarea { resize: vertical; min-height: 80px; }
select { cursor: pointer; }

.field-hint { font-size: .78rem; color: var(--gray-400); }

/* ---- UPLOAD BOX ---- */
.upload-box {
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--gray-50);
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.upload-box:hover { border-color: var(--green-main); background: var(--green-pale); }
.upload-warning {
  display: inline-block;
  background: #fff3cd;
  color: #856404;
  padding: .3rem .8rem;
  border-radius: 4px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.upload-btn-area {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.upload-choose-btn {
  background: var(--green-main);
  color: var(--white);
  border: none;
  padding: .5rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  font-size: .9rem;
  flex-shrink: 0;
}
.upload-file-name {
  font-size: .83rem;
  color: var(--gray-600);
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.photo-preview-area {
  margin: .5rem auto;
  display: flex;
  justify-content: center;
  min-height: 0;
}
.photo-preview-area img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 3px solid var(--green-main);
  box-shadow: 0 2px 10px rgba(0,100,0,.2);
  display: block;
}
.photo-rules {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: .8rem;
}
.rule-good { color: #16a34a; font-weight: 600; font-size: .82rem; }
.rule-bad  { color: var(--red); font-weight: 600; font-size: .82rem; }

/* ---- FILE UPLOAD ROW (CNIC Front/Back) ---- */
.file-upload-row {
  display: flex;
  align-items: center;
  gap: .8rem;
  width: 100%;
  overflow: hidden;
  flex-wrap: nowrap;
}
.file-label {
  background: var(--green-main);
  color: var(--white);
  padding: .55rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  transition: var(--transition);
  user-select: none;
}
.file-label:hover { background: var(--green-dark); }
.file-name-display {
  font-size: .83rem;
  color: var(--gray-600);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

/* CNIC image mini-preview shown after file selected */
.cnic-mini-preview {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: .5rem;
  padding: .5rem .8rem;
  background: var(--green-pale);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  font-size: .8rem;
  color: var(--green-dark);
  font-weight: 600;
  animation: fadeSlideIn .3s ease;
}
.cnic-mini-preview img {
  width: 48px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--green-main);
  flex-shrink: 0;
}
.cnic-mini-preview .cnic-tick { color: #16a34a; font-size: 1.1rem; }

/* ---- DECLARATION ---- */
.declaration-box {
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-left: 5px solid var(--green-main);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin-top: 2rem;
  text-align: right;
  direction: rtl;
}
.declaration-box p { font-size: .88rem; color: var(--gray-600); margin-bottom: .5rem; line-height: 1.7; }
.declaration-box .urdu-text { direction: rtl; font-family: 'Noto Nastaliq Urdu', serif; }
.checkbox-label {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--green-dark);
  font-size: .9rem;
  direction: rtl;
  justify-content: flex-end;
}
.checkbox-label input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--green-main);
  cursor: pointer;
  direction: ltr;
}

/* ---- FORM ACTIONS ---- */
.form-actions {
  display: flex;
  justify-content: flex-end;
  direction: ltr;
  margin-top: 2rem;
}
.form-actions.two-btns {
  justify-content: space-between;
  direction: ltr;
}

.btn-next {
  background: linear-gradient(135deg, var(--green-main), var(--green-light));
  color: var(--white);
  border: none;
  padding: .9rem 2.5rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0,100,0,.35);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.btn-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,100,0,.45);
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
}
.btn-arrow { font-size: 1.2rem; }

.btn-back {
  background: var(--gray-100);
  color: var(--gray-600);
  border: 2px solid var(--gray-200);
  padding: .9rem 2rem;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.btn-back:hover { background: var(--gray-200); }

.btn-pay { background: linear-gradient(135deg, #1a6b1a, #228b22); }

/* ============================================================
   STEP 2 – VERIFY
   ============================================================ */
.verify-subtitle {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 1rem;
}
.verify-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
  direction: ltr;
}
.verify-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  transition: var(--transition);
}
.verify-item:hover { border-color: var(--green-main); box-shadow: var(--shadow-sm); }
.verify-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-family: 'Inter', sans-serif;
  text-align: left;
  direction: ltr;
}
.verify-value {
  font-size: .95rem;
  font-weight: 600;
  color: var(--gray-800);
  direction: ltr;
  text-align: left;
}
.verify-item.full-w { grid-column: 1 / -1; }

.verify-notice {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  direction: rtl;
}
.verify-notice p { font-size: .88rem; color: #856404; font-family: 'Noto Nastaliq Urdu', serif; }

/* ============================================================
   STEP 3 – PAYMENT
   ============================================================ */
.payment-summary {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  margin-bottom: 2rem;
}
.payment-summary h3 {
  font-family: 'Noto Nastaliq Urdu', serif;
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
  color: var(--yellow);
}
.pay-row {
  display: flex;
  justify-content: space-between;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
  font-size: .92rem;
  direction: ltr;
}
.pay-row:last-child { border-bottom: none; }
.pay-row.total {
  margin-top: .5rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(255,255,255,.3);
  font-size: 1.1rem;
}
.pay-row.total strong { color: var(--yellow); font-size: 1.3rem; }

.price-table-wrapper {
  margin-bottom: 2rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-table-title {
  background: var(--green-pale);
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  border-bottom: 1px solid var(--gray-200);
}
.price-table { width: 100%; border-collapse: collapse; }
.price-table thead tr { background: var(--green-dark); }
.price-table th {
  color: var(--white);
  padding: .75rem 1rem;
  text-align: right;
  font-size: .88rem;
  font-weight: 600;
}
.price-table td {
  padding: .7rem 1rem;
  font-size: .9rem;
  border-bottom: 1px solid var(--gray-100);
  text-align: right;
}
.price-table tbody tr:hover { background: var(--green-pale); }
.processing-row td { background: var(--gray-50); font-weight: 600; color: var(--gray-600); }

/* ---- QR SECTION ---- */
.qr-section {
  text-align: center;
  margin-bottom: 2rem;
  padding: 2rem;
  background: var(--gray-50);
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius);
}
.qr-section h3 { font-size: 1.1rem; color: var(--green-dark); font-weight: 700; margin-bottom: .4rem; }
.qr-sub { color: var(--gray-600); font-size: .88rem; margin-bottom: 1.5rem; }
.qr-container { display: inline-block; }
.qr-box {
  background: var(--white);
  border: 4px solid var(--green-dark);
  border-radius: var(--radius);
  padding: 1rem;
  display: inline-block;
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
}
.qr-box canvas { display: block; }
.qr-brands { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-bottom: .8rem; }
.qr-brand {
  background: var(--green-pale);
  color: var(--green-dark);
  padding: .25rem .7rem;
  border-radius: 4px;
  font-size: .75rem;
  font-weight: 600;
  border: 1px solid var(--green-main);
}
.qr-amount { font-weight: 700; font-size: 1.05rem; color: var(--green-dark); }
.qr-amount strong { color: var(--red); font-size: 1.2rem; }

/* ---- PAYMENT METHODS ---- */
.payment-methods { margin-bottom: 2rem; }
.payment-methods h3 { font-size: 1rem; font-weight: 700; color: var(--gray-800); margin-bottom: 1rem; }
.pm-grid { display: flex; gap: 1rem; flex-wrap: wrap; direction: ltr; }
.pm-option {
  flex: 1;
  min-width: 120px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: .9rem;
  text-align: center;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: .5rem;
  justify-content: center;
}
.pm-option:hover, .pm-option.selected {
  border-color: var(--green-main);
  background: var(--green-pale);
  color: var(--green-dark);
}
.pm-option input { display: none; }

/* ============================================================
   STEP 4 – DONE / SUCCESS
   ============================================================ */
.success-card { text-align: center; }
.success-animation {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}
.success-circle svg { width: 100px; height: 100px; }
.checkmark-path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: drawCheck .8s .3s ease forwards; }
@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}
.success-rings {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 3px solid var(--green-main);
  opacity: 0;
  transform: translate(-50%, -50%);
}
.ring1 { width: 120px; height: 120px; animation: ringExpand 2s .5s ease-out infinite; }
.ring2 { width: 140px; height: 140px; animation: ringExpand 2s .8s ease-out infinite; }
.ring3 { width: 160px; height: 160px; animation: ringExpand 2s 1.1s ease-out infinite; }
@keyframes ringExpand {
  0% { transform: translate(-50%,-50%) scale(.7); opacity: .8; }
  100% { transform: translate(-50%,-50%) scale(1.3); opacity: 0; }
}

.success-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: .5rem;
  font-family: 'Noto Nastaliq Urdu', serif;
}
.success-msg { color: var(--gray-600); font-size: 1rem; margin-bottom: 2rem; }

.tracking-box {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: var(--white);
  padding: 1.8rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  display: inline-block;
  min-width: 400px;
}
.track-label { font-family: 'Noto Nastaliq Urdu', serif; margin-bottom: .8rem; color: rgba(255,255,255,.8); }
.tracking-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--yellow);
  letter-spacing: 2px;
  margin-bottom: 1rem;
  direction: ltr;
  font-family: 'Inter', monospace;
}
.copy-btn {
  background: var(--yellow);
  color: var(--green-dark);
  border: none;
  padding: .5rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-size: .9rem;
}
.copy-btn:hover { background: var(--yellow-dark); transform: translateY(-1px); }

.success-info { display: flex; flex-direction: column; gap: .8rem; margin-bottom: 2rem; text-align: right; direction: rtl; }
.si-item { display: flex; align-items: flex-start; gap: .7rem; background: var(--gray-50); padding: .8rem 1rem; border-radius: var(--radius-sm); }
.si-icon { font-size: 1.3rem; flex-shrink: 0; }
.si-item p { font-size: .9rem; color: var(--gray-600); font-family: 'Noto Nastaliq Urdu', serif; }

.done-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-track-now {
  background: var(--green-main);
  color: var(--white);
  border: none;
  padding: .8rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-size: .95rem;
}
.btn-track-now:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-home-done {
  background: var(--white);
  color: var(--green-dark);
  border: 2px solid var(--green-main);
  padding: .8rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-size: .95rem;
}
.btn-home-done:hover { background: var(--green-pale); }

/* ============================================================
   TRACK PAGE
   ============================================================ */
.track-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 160px);
  padding: 3rem 1.5rem;
}
.track-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 3rem;
  width: 100%;
  max-width: 550px;
  border: 1px solid var(--gray-200);
}
.track-header { text-align: center; margin-bottom: 2rem; }
.track-icon-big { font-size: 3.5rem; margin-bottom: 1rem; }
.track-header h2 { font-size: 1.6rem; font-weight: 800; color: var(--green-dark); font-family: 'Noto Nastaliq Urdu', serif; }
.track-header p { color: var(--gray-600); margin-top: .4rem; }
.track-input-area { display: flex; gap: .8rem; margin-bottom: 1.5rem; }
.track-input {
  flex: 1;
  padding: .85rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  outline: none;
  direction: ltr;
  transition: var(--transition);
}
.track-input:focus { border-color: var(--green-main); box-shadow: 0 0 0 4px rgba(0,100,0,.1); }
.btn-track-search {
  background: var(--green-main);
  color: var(--white);
  border: none;
  padding: .85rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  font-size: .95rem;
}
.btn-track-search:hover { background: var(--green-dark); transform: translateY(-1px); }

.track-result { border-radius: var(--radius-sm); overflow: hidden; }
.track-result.hidden { display: none; }
.track-status-bar {
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  font-weight: 700;
  font-size: 1rem;
}
.ts-processing { background: #fef3c7; color: #92400e; }
.ts-approved   { background: #d1fae5; color: #065f46; }
.ts-error      { background: #fee2e2; color: #991b1b; }
.track-details {
  background: var(--gray-50);
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--gray-200);
  border-top: none;
}
.td-row { display: flex; justify-content: space-between; padding: .4rem 0; font-size: .88rem; border-bottom: 1px dashed var(--gray-200); }
.td-row:last-child { border: none; }
.td-label { color: var(--gray-400); font-weight: 600; }
.td-value { color: var(--gray-800); font-weight: 600; direction: ltr; }

.track-help { background: var(--gray-50); border-radius: var(--radius-sm); padding: 1rem 1.2rem; border: 1px solid var(--gray-200); }
.track-help p { font-size: .85rem; color: var(--gray-600); font-family: 'Noto Nastaliq Urdu', serif; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer-bar {
  background: var(--green-dark);
  color: rgba(255,255,255,.75);
  text-align: center;
  padding: 1.5rem 2rem;
  font-size: .82rem;
}
.site-footer-bar p { margin: .3rem 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 78px; left: 0; right: 0;
    background: var(--green-dark);
    flex-direction: column;
    padding: 1.5rem;
    gap: .5rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-item { justify-content: center; border-radius: var(--radius-sm); }

  .hero { padding: 3rem 1.5rem; }
  .hero-heading { font-size: 1.4rem; }
  .hero-btns { flex-direction: column; align-items: center; }

  .form-grid { grid-template-columns: 1fr; }
  .verify-grid { grid-template-columns: 1fr; }
  .verify-item.full-w { grid-column: 1; }

  .step-progress { gap: 0; }
  .sp-circle { width: 38px; height: 38px; font-size: .9rem; }
  .sp-line { min-width: 25px; }
  .sp-label { font-size: .65rem; }

  .form-card { padding: 1.5rem; }
  .tracking-box { min-width: auto; width: 100%; }

  .track-input-area { flex-direction: column; }
  .steps-grid { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }

  .stat-divider { display: none; }
  .hero-stats { gap: 1rem; }
}

@media (max-width: 480px) {
  .navbar { padding: .7rem 1rem; }
  .logo-main { font-size: 1rem; }
  .logo-sub { display: none; }
  .logo-emblem svg { width: 44px; height: 44px; }
  .apply-wrapper { padding: 1rem .8rem 3rem; }
  .pm-grid { flex-direction: column; }
  .done-actions { flex-direction: column; }
  .form-actions.two-btns { flex-direction: column; gap: .8rem; }
}
