/* =========================================================
   ITIN.PK – Main Stylesheet
   Modern, clean, SEO-friendly design
   ========================================================= */

:root {
  --blue:       #1a56db;
  --blue-dark:  #1340b5;
  --blue-light: #eff6ff;
  --text:       #111827;
  --muted:      #6b7280;
  --border:     #e5e7eb;
  --bg-light:   #f9fafb;
  --white:      #ffffff;
  --green:      #059669;
  --red:        #dc2626;
  --radius:     10px;
  --shadow:     0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:  0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); line-height: 1.6; }
img  { max-width: 100%; }
a    { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* LAYOUT */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 760px; }
.section   { padding: 72px 0; }
.bg-light  { background: var(--bg-light); }
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }

/* TYPOGRAPHY */
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; margin-bottom: 20px; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
p  { margin-bottom: 14px; color: var(--text); }
.section-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: 8px; }
.accent { color: var(--blue); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 24px; border-radius: var(--radius); font-weight: 600; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: all .2s; }
.btn-primary  { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); text-decoration: none; }
.btn-outline  { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue-light); text-decoration: none; }
.btn-white    { background: #fff; color: var(--blue); border-color: #fff; }
.btn-white:hover { background: var(--blue-light); text-decoration: none; }
.btn-lg       { padding: 15px 32px; font-size: 1rem; }
.btn-link     { background: none; border: none; color: var(--blue); cursor: pointer; font-size: .9rem; padding: 4px 0; }
.btn-link:disabled { color: var(--muted); cursor: not-allowed; }

/* Force all text inside hero to be white — prevent any override */
.hero h1,
.hero h2,
.hero p,
.hero span:not([style*="color:#facc15"]) {
  color: #ffffff !important;
}
.hero a.btn-outline {
  color: #ffffff !important;
  border-color: rgba(255,255,255,.65) !important;
}
.navbar     { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.nav-inner  { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo       { display: flex; align-items: center; gap: 8px; font-size: 1.4rem; font-weight: 800; color: var(--text); text-decoration: none; }
.logo:hover { text-decoration: none; }
.nav-links  { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--text); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--blue); text-decoration: none; }
.nav-apply  { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* HERO */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1a56db 100%);
  color: #fff;
  padding: 100px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Subtle animated glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(250,204,21,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1        { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.hero-badge     {
  display: inline-block;
  background: rgba(250,204,21,.15);
  border: 1px solid rgba(250,204,21,.4);
  color: #facc15;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: .03em;
}
.hero-sub {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 32px;
  color: #ffffff;
  line-height: 1.7;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
  opacity: 1;
}
.hero-cta  { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: .85rem;
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50px;
  padding: 10px 24px;
  display: inline-flex;
}

/* SECTIONS */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 24px; }
.itin-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-md); }
.itin-card ul { list-style: none; }
.itin-card li { padding: 6px 0; border-bottom: 1px solid var(--border); font-size: .95rem; }
.itin-card li:last-child { border: none; }

/* HOW IT WORKS */
.steps { display: flex; align-items: flex-start; gap: 8px; margin: 32px 0; flex-wrap: wrap; justify-content: center; }
.step  { flex: 1; min-width: 200px; max-width: 280px; background: var(--white); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.step-number { width: 48px; height: 48px; background: var(--blue); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 800; margin: 0 auto 16px; }
.step-arrow  { font-size: 1.8rem; color: var(--muted); align-self: center; padding-top: 10px; }

/* FEATURES */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 24px; margin-top: 28px; }
.feature { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.feature-icon { font-size: 2rem; display: block; margin-bottom: 10px; }

/* PRICING */
.pricing-card { max-width: 400px; margin: 32px auto 0; background: var(--white); border-radius: var(--radius); padding: 40px 32px; box-shadow: var(--shadow-lg); border: 2px solid var(--blue); }
.price-tag    { font-size: 3rem; font-weight: 800; color: var(--blue); }
.price-label  { color: var(--muted); margin-bottom: 24px; font-weight: 500; }
.price-features { list-style: none; text-align: left; margin-bottom: 28px; }
.price-features li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .95rem; }
.price-note { font-size: .8rem; color: var(--muted); margin-top: 12px; }

/* CTA SECTION */
.cta-section    { background: var(--blue); color: #fff; }
.cta-section h2, .cta-section p { color: #fff; }
.cta-buttons    { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 20px 0; }
.contact-info   { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; font-size: .9rem; opacity: .9; }
.contact-info a { color: #fff; }

/* FORMS */
.form-card { background: var(--white); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-md); margin-top: 28px; }
.form-group { margin-bottom: 20px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--text); }
input[type="text"], input[type="email"], input[type="date"], input[type="tel"], input[type="password"], input[type="file"], select, textarea {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: .95rem; font-family: inherit;
  transition: border-color .2s; background: var(--white);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); }
.otp-input { letter-spacing: .3em; font-size: 1.4rem; text-align: center; font-weight: 700; }
.form-section-title { font-size: 1rem; font-weight: 700; color: var(--blue); border-bottom: 2px solid var(--blue-light); padding-bottom: 8px; margin: 28px 0 16px; }
.disclaimer { background: var(--bg-light); border-radius: var(--radius); padding: 16px; }
.checkbox-label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-weight: 400; font-size: .9rem; }
.verified-badge { background: #d1fae5; color: #065f46; padding: 8px 14px; border-radius: var(--radius); font-size: .9rem; margin-bottom: 16px; display: inline-block; }
.form-card small { font-size: .8rem; color: var(--muted); margin-top: 4px; display: block; }

/* PROGRESS BAR */
.progress-bar { display: flex; gap: 4px; margin: 24px 0; }
.progress-step { flex: 1; padding: 10px; text-align: center; background: var(--border); border-radius: var(--radius); font-size: .85rem; font-weight: 600; color: var(--muted); }
.progress-step.active { background: var(--blue); color: #fff; }

/* ALERTS */
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-weight: 500; }
.alert-error   { background: #fef2f2; color: var(--red); border: 1px solid #fecaca; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }

/* FAQ */
.faq-intro { font-size: 1.05rem; margin-bottom: 32px; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 18px 4px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 1rem; font-weight: 600; color: var(--text); gap: 12px; }
.faq-question:hover { color: var(--blue); }
.faq-icon { font-size: 1.4rem; font-weight: 400; color: var(--blue); flex-shrink: 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer p { padding: 0 4px 18px; color: var(--muted); font-size: .95rem; }
.faq-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
.footer { background: #0f172a; color: #94a3b8; padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-bottom: 40px; }
.footer h4  { color: #fff; font-weight: 600; margin-bottom: 16px; }
.footer ul  { list-style: none; }
.footer li  { margin-bottom: 8px; font-size: .9rem; }
.footer a   { color: #94a3b8; }
.footer a:hover { color: #fff; }
.contact-list li { padding-left: 4px; line-height: 1.7; }
.footer-bottom { border-top: 1px solid #1e293b; padding: 20px 0; }
.footer-bottom p { font-size: .8rem; text-align: center; margin: 4px 0; color: #64748b; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links  { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 16px 20px; gap: 16px; }
  .nav-links.open { display: flex; }
  .two-col  { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .steps    { flex-direction: column; align-items: center; }
  .step-arrow { display: none; }
  .hero     { padding: 60px 0 50px; }
}