/* =========================================================
   VfsCenter — Design System
   Institutional / corporate, in the visual language of official
   visa-services outsourcing sites (deep navy for brand/authority,
   warm orange for calls-to-action, light institutional grey surfaces).
   ========================================================= */

:root {
  /* Brand colors */
  --color-primary: #F37021;        /* CTA / accent orange */
  --color-primary-dark: #D45A0F;
  --color-primary-light: #FDEADA;
  --color-secondary: #0B3D6B;      /* deep navy — headings, brand, footer */
  --color-secondary-dark: #082C4E;
  --color-navy-light: #EAF1F8;
  --color-bg: #FFFFFF;
  --color-card: #F5F7FA;
  --color-border: #E1E6EC;
  --color-success: #22C55E;
  --color-success-light: #EAFBF0;
  --color-warning: #F59E0B;
  --color-warning-light: #FEF6E7;
  --color-error: #EF4444;
  --color-error-light: #FDECEC;
  --color-text: #1A2233;
  --color-text-muted: #55627A;
  --color-text-faint: #8B96A8;

  /* Radius */
  --radius-card: 14px;
  --radius-btn: 12px;
  --radius-sm: 8px;
  --radius-full: 999px;

  /* Spacing (8pt grid) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 16px;
  --sp-4: 24px;
  --sp-5: 32px;
  --sp-6: 48px;
  --sp-7: 64px;
  --sp-8: 96px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(20, 24, 33, 0.04);
  --shadow-md: 0 4px 16px rgba(20, 24, 33, 0.06);
  --shadow-lg: 0 12px 32px rgba(20, 24, 33, 0.10);

  /* Font */
  --font-en: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-fa: 'Vazirmatn', 'Inter', -apple-system, sans-serif;

  --transition: 160ms cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-en);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

html[dir="rtl"] body,
body.lang-fa {
  font-family: var(--font-fa);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--sp-4);
}
@media (max-width: 640px) {
  .container { padding: 0 var(--sp-3); }
}

.section { padding: var(--sp-7) 0; }
@media (max-width: 768px) {
  .section { padding: var(--sp-6) 0; }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; margin: 0; color: var(--color-secondary); }
h1 { font-size: 44px; line-height: 1.15; }
h2 { font-size: 32px; line-height: 1.2; }
h3 { font-size: 22px; line-height: 1.3; }
p { margin: 0; color: var(--color-text-muted); }
.text-xs { font-size: 12px; }
.text-sm { font-size: 14px; }
.text-lg { font-size: 18px; }
.muted { color: var(--color-text-muted); }
.faint { color: var(--color-text-faint); }
.center { text-align: center; }

@media (max-width: 768px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-sm); border-radius: var(--radius-full); }
.btn-primary:hover { background: var(--color-primary-dark); box-shadow: var(--shadow-md); }

.btn-secondary { background: var(--color-secondary); color: #fff; }
.btn-secondary:hover { background: #1f232d; }

.btn-ghost { background: transparent; color: var(--color-secondary); border-color: var(--color-border); }
.btn-ghost:hover { background: var(--color-card); }

.btn-outline { background: #fff; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary-light); }

.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: var(--radius-btn); }

/* ---------- Cards ---------- */
.card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--sp-4);
}
.card-elevated { background: #fff; box-shadow: var(--shadow-md); }
.card-hover { transition: var(--transition); cursor: pointer; }
.card-hover:hover { border-color: var(--color-primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* ---------- Inputs ---------- */
.field { margin-bottom: var(--sp-4); }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: var(--sp-2);
}
.field .hint { font-size: 12px; color: var(--color-text-faint); margin-top: 4px; }
.field .error-msg { font-size: 12px; color: var(--color-error); margin-top: 4px; display: none; }
.field.has-error .error-msg { display: block; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--color-error); }

input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
input[type="number"], input[type="password"], select, textarea {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-text);
  transition: var(--transition);
}
textarea { height: auto; padding: 12px 16px; min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}
input::placeholder, textarea::placeholder { color: var(--color-text-faint); }

/* Radio / checkbox pill group */
.pill-group { display: flex; gap: 8px; flex-wrap: wrap; }
.pill-option {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  background: #fff;
  color: var(--color-secondary);
}
.pill-option.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.pill-option:hover:not(.active) { border-color: var(--color-primary); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-new { background: #EEF0F3; color: var(--color-secondary); }
.badge-under_review { background: var(--color-warning-light); color: #B45309; }
.badge-waiting_documents { background: var(--color-primary-light); color: var(--color-primary-dark); }
.badge-approved { background: var(--color-success-light); color: #15803D; }
.badge-rejected { background: var(--color-error-light); color: #B91C1C; }

/* ---------- Progress bar / stepper ---------- */
.progress-track { height: 6px; background: var(--color-border); border-radius: var(--radius-full); overflow: hidden; }
.progress-fill { height: 100%; background: var(--color-primary); border-radius: var(--radius-full); transition: width 300ms ease; }

.stepper { display: flex; align-items: center; gap: 4px; }
.step-dot {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  background: var(--color-card); border: 1px solid var(--color-border); color: var(--color-text-faint);
  flex-shrink: 0;
}
.step-dot.done { background: var(--color-success); border-color: var(--color-success); color: #fff; }
.step-dot.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.step-line { flex: 1; height: 2px; background: var(--color-border); min-width: 8px; }
.step-line.done { background: var(--color-success); }

/* ---------- Modal / Drawer / Toast ---------- */
.overlay {
  position: fixed; inset: 0; background: rgba(26,29,36,0.45);
  display: none; align-items: center; justify-content: center; z-index: 100;
  padding: var(--sp-3);
}
.overlay.open { display: flex; }
.modal {
  background: #fff; border-radius: var(--radius-card); padding: var(--sp-5);
  max-width: 480px; width: 100%; box-shadow: var(--shadow-lg);
  max-height: 90vh; overflow-y: auto;
}
.drawer {
  position: fixed; top: 0; bottom: 0; inset-inline-end: 0;
  width: 420px; max-width: 92vw; background: #fff;
  box-shadow: var(--shadow-lg); z-index: 110;
  transform: translateX(100%); transition: transform 240ms ease;
  overflow-y: auto; padding: var(--sp-4);
}
html[dir="rtl"] .drawer { transform: translateX(-100%); }
.drawer.open { transform: translateX(0); }

.toast-wrap { position: fixed; bottom: var(--sp-4); inset-inline-end: var(--sp-4); z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: var(--color-secondary); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm);
  font-size: 14px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 10px;
  animation: toast-in 200ms ease;
}
.toast.success { background: #15803D; }
.toast.error { background: #B91C1C; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Table ---------- */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: start; font-weight: 600; color: var(--color-text-muted); padding: 10px 14px; border-bottom: 1px solid var(--color-border); font-size: 13px; }
td { padding: 14px; border-bottom: 1px solid var(--color-border); vertical-align: middle; }
tr:hover td { background: var(--color-card); }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--color-border); }
.tab { padding: 10px 16px; font-size: 14px; font-weight: 600; color: var(--color-text-muted); cursor: pointer; border-bottom: 2px solid transparent; }
.tab.active { color: var(--color-primary); border-color: var(--color-primary); }

/* ---------- Skeleton ---------- */
.skeleton { background: linear-gradient(90deg, #EEF0F3 25%, #F6F7F9 37%, #EEF0F3 63%); background-size: 400% 100%; animation: skeleton-loading 1.4s ease infinite; border-radius: 8px; }
@keyframes skeleton-loading { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------- Animations ---------- */
.fade-in { animation: fade-in 240ms ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.success-check {
  width: 88px; height: 88px; border-radius: 50%; background: var(--color-success-light);
  display: flex; align-items: center; justify-content: center; margin: 0 auto var(--sp-4);
  animation: pop-in 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes pop-in { from { transform: scale(0.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 4px; }

/* ---------- Utilities ---------- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 16px; } .gap-4 { gap: 24px; }
.grid { display: grid; }
.hidden { display: none !important; }
.w-full { width: 100%; }
.rounded-full { border-radius: var(--radius-full); }

@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
}
@media (min-width: 769px) {
  .hide-desktop { display: none !important; }
}

/* =========================================================
   Brand lockup — replaces the old single mashed-up wordmark
   with a clean mark + name + small product tag.
   ========================================================= */
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0;
  background: var(--color-secondary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; font-family: var(--font-en);
  box-shadow: 0 2px 8px rgba(11,61,107,0.28);
  position: relative;
}
.brand-mark::after {
  content: ''; position: absolute; width: 9px; height: 9px; border-radius: 50%;
  background: var(--color-primary); inset-inline-end: -3px; bottom: -3px;
  border: 2px solid #fff;
}
.brand-mark.sm { width: 28px; height: 28px; font-size: 13px; border-radius: 7px; }
.brand-mark.sm::after { width: 7px; height: 7px; border-width: 1.5px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 15px; color: var(--color-secondary); white-space: nowrap; letter-spacing: -0.01em; }
.brand-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-primary); font-family: var(--font-en);
}
.brand-lockup.on-dark .brand-name { color: #fff; }

/* =========================================================
   Top info bar (institutional contact strip above navbar)
   ========================================================= */
.top-bar {
  background: var(--color-secondary-dark); color: #cfe0f0;
  font-size: 12.5px; height: 38px;
}
.top-bar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.top-bar a, .top-bar span { color: #cfe0f0; }
.top-bar .top-bar-item { display: flex; align-items: center; gap: 6px; }
.top-bar .top-bar-item i { width: 13px; height: 13px; color: var(--color-primary); }
.top-bar-links { display: flex; align-items: center; gap: 20px; }
@media (max-width: 640px) { .top-bar .hide-mobile-bar { display: none !important; } }

/* =========================================================
   Navbar
   ========================================================= */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--color-border);
}
.navbar-inner { height: 72px; }
.nav-link {
  color: var(--color-secondary); font-weight: 700; transition: var(--transition);
  font-size: 13px; letter-spacing: 0.03em; text-transform: uppercase;
}
.nav-link:hover { color: var(--color-primary); }

/* =========================================================
   Eyebrow label
   ========================================================= */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--color-primary); background: var(--color-primary-light);
  padding: 6px 14px; border-radius: var(--radius-full);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary); flex-shrink: 0; }

/* =========================================================
   Dot-grid background (subtle, no gradients/glass)
   ========================================================= */
.dot-grid-bg {
  background-image: radial-gradient(var(--color-border) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
  mask-image: linear-gradient(to bottom, black, transparent);
}

/* =========================================================
   Hero layout
   ========================================================= */
.hero { position: relative; overflow: hidden; padding-top: 56px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero-copy h1 { margin-top: 20px; }
.hero-copy p.lead { margin-top: 18px; max-width: 520px; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-note { display: flex; align-items: center; gap: 6px; margin-top: 18px; }
.hero-trust { display: flex; align-items: center; gap: 18px; margin-top: 36px; flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--color-text-muted); }
.hero-trust-item i { color: var(--color-success); width: 16px; height: 16px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; }
  .hero-copy p.lead { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
}

/* ---------- Hero visual mock card (no stock imagery needed) ---------- */
.hero-visual { position: relative; display: flex; justify-content: center; }
.mock-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: 20px;
  box-shadow: var(--shadow-lg); padding: 24px; width: 100%; max-width: 380px;
  position: relative; z-index: 2;
}
.mock-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mock-dots { display: flex; gap: 5px; }
.mock-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--color-border); }
.mock-progress-track { height: 6px; background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-full); overflow: hidden; margin-bottom: 20px; }
.mock-progress-fill { height: 100%; width: 72%; background: var(--color-primary); border-radius: var(--radius-full); }
.mock-field { margin-bottom: 14px; }
.mock-field-label { font-size: 11px; color: var(--color-text-faint); font-weight: 600; margin-bottom: 6px; }
.mock-field-box { height: 38px; border-radius: 9px; background: var(--color-card); border: 1px solid var(--color-border); display: flex; align-items: center; padding: 0 12px; font-size: 13px; font-weight: 600; color: var(--color-secondary); }
.mock-score {
  margin-top: 18px; padding: 14px 16px; border-radius: 14px;
  background: var(--color-success-light); display: flex; align-items: center; justify-content: space-between;
}
.mock-score-label { font-size: 12px; font-weight: 700; color: #15803D; }
.mock-score-value { font-size: 20px; font-weight: 800; color: #15803D; }
.mock-card-float {
  position: absolute; z-index: 3; background: #fff; border: 1px solid var(--color-border);
  border-radius: 14px; box-shadow: var(--shadow-md); padding: 12px 16px;
  display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: var(--color-secondary);
  inset-inline-start: -18px; bottom: 28px;
}
.mock-card-float i { color: var(--color-primary); width: 16px; height: 16px; }
@media (max-width: 560px) {
  .mock-card-float { position: static; margin-top: 14px; display: inline-flex; }
}

/* =========================================================
   Section eyebrow + heading group
   ========================================================= */
.section-head { max-width: 560px; margin-inline: auto; margin-bottom: 44px; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { margin-top: 0; }
.section-head p { margin-top: 12px; }

/* =========================================================
   Reusable icon tile (used across benefit/step/visa cards)
   ========================================================= */
.icon-tile {
  width: 44px; height: 44px; border-radius: 12px; background: var(--color-primary-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; flex-shrink: 0;
}
.icon-tile i { color: var(--color-primary); }
.icon-tile.sm { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 14px; }
.icon-tile.dark { background: var(--color-secondary); }
.icon-tile.dark i { color: #fff; }
.number-tile {
  width: 44px; height: 44px; border-radius: 50%; background: var(--color-secondary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin: 0 auto 16px;
  font-size: 15px;
}

/* =========================================================
   Content cards (benefits / steps / visa types / testimonials)
   ========================================================= */
.grid-cards { display: grid; gap: 20px; }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .cols-4, .cols-5, .cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cols-4, .cols-5, .cols-3 { grid-template-columns: 1fr; } }

.benefit-card h3, .step-card h3, .visa-type-card h3 { font-size: 16px; color: var(--color-secondary); }
.benefit-card p, .step-card p, .visa-type-card p { margin-top: 8px; font-size: 14px; }
.step-card { text-align: center; position: relative; }

.visa-type-card .visa-type-head { display: flex; align-items: center; gap: 12px; }
.visa-type-card .visa-type-time { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; color: var(--color-text-faint); }
.visa-type-card .visa-type-time i { width: 12px; height: 12px; }

.country-chip { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 12px; text-align: center; }
.country-chip .flag { font-size: 30px; }
.country-chip .name { font-size: 13px; font-weight: 700; color: var(--color-secondary); }

.testimonial-card .stars { color: var(--color-warning); margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card .quote { font-size: 14px; color: var(--color-text); }
.testimonial-card .who { margin-top: 16px; font-weight: 700; font-size: 14px; color: var(--color-secondary); }
.testimonial-card .role { font-size: 12px; color: var(--color-text-faint); }

/* =========================================================
   FAQ accordion
   ========================================================= */
.faq-item { margin-bottom: 12px; cursor: pointer; }
.faq-q { display: flex; align-items: center; justify-content: between; gap: 12px; }
.faq-q strong { color: var(--color-secondary); font-size: 15px; flex: 1; }
.faq-icon { transition: transform 200ms ease; flex-shrink: 0; }
.faq-icon.rotate { transform: rotate(180deg); }
.faq-a { margin-top: 12px; font-size: 14px; }

/* =========================================================
   CTA banner (flat dark card, no gradients)
   ========================================================= */
.cta-banner { background: var(--color-secondary); padding: 64px 32px; text-align: center; border: none; position: relative; overflow: hidden; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #b7bcc7; margin-top: 12px; }
.cta-banner .btn { margin-top: 28px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--color-secondary); color: #9aa1ae; padding: 56px 0 24px; }
.site-footer .col-title { color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.site-footer a { color: #9aa1ae; transition: var(--transition); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-bottom { margin-top: 40px; border-top: 1px solid #3d4250; padding-top: 20px; color: #7c8291; font-size: 12px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Simple page header used on assessment/track/login/admin pages
   ========================================================= */
.page-header { border-bottom: 1px solid var(--color-border); background: #fff; }
.page-header-inner { height: 72px; }

.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .cols-2 { grid-template-columns: 1fr; } }

/* =========================================================
   Popular Destinations — redesigned country cards
   Full names only (never abbreviated), photo-style banner,
   destination-outsourcing-platform look (VFS/BLS/VisaMetric
   inspired): image banner + flag/name + short tagline + CTA.
   ========================================================= */
.destination-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.destination-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--color-primary); }
.destination-card-banner {
  height: 118px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
  overflow: hidden;
}
.destination-card-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(243,112,33,0.35), transparent 60%);
}
.destination-card-flag { font-size: 46px; position: relative; z-index: 1; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25)); }
.destination-card-schengen {
  position: absolute; top: 10px; inset-inline-end: 10px; z-index: 1;
  background: rgba(255,255,255,0.16); color: #fff; font-size: 10px; font-weight: 700;
  padding: 3px 9px; border-radius: var(--radius-full); letter-spacing: 0.02em;
  border: 1px solid rgba(255,255,255,0.25);
}
.destination-card-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.destination-card-name { font-size: 16px; font-weight: 800; color: var(--color-secondary); margin: 0 0 4px; }
.destination-card-tag { font-size: 12px; color: var(--color-text-faint); margin: 0; flex: 1; }
.destination-card-link {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--color-primary);
}
.destination-card-link i { width: 14px; height: 14px; transition: transform 160ms ease; }
.destination-card:hover .destination-card-link i { transform: translateX(3px); }
html[dir="rtl"] .destination-card:hover .destination-card-link i { transform: translateX(-3px); }
.destinations-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
@media (max-width: 1000px) { .destinations-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .destinations-grid { grid-template-columns: repeat(2, 1fr); } }
.destinations-more { text-align: center; margin-top: 28px; }

/* =========================================================
   Country detail page (multi-tab destination page)
   ========================================================= */
.country-hero {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
  padding: 28px 0 40px;
  position: relative;
  overflow: hidden;
}
.country-hero-back { color: #cfe0f0; margin-bottom: 20px; }
.country-hero-inner { display: flex; align-items: center; gap: 20px; }
.country-hero-flag { font-size: 56px; flex-shrink: 0; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3)); }
.country-hero-title { color: #fff; font-size: 30px; margin-top: 10px; }
.country-hero-desc { color: #cfe0f0; margin-top: 10px; max-width: 640px; font-size: 14px; line-height: 1.7; }
.country-hero-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
@media (max-width: 640px) { .country-hero-inner { flex-direction: column; align-items: flex-start; } }

.country-tabs { flex-wrap: wrap; }
.country-tabs .tab { display: flex; align-items: center; gap: 6px; }

.country-steps { display: flex; flex-direction: column; gap: 20px; }
.country-step { display: flex; align-items: flex-start; gap: 16px; }

.doc-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.doc-checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--color-text); }

.note-list { margin: 0; padding-inline-start: 18px; font-size: 13px; color: var(--color-primary-dark); display: flex; flex-direction: column; gap: 6px; }

.doc-card { padding: 22px; }
.doc-card-head { display: flex; align-items: center; justify-content: space-between; }
.doc-badge { background: var(--color-navy-light); color: var(--color-secondary); }
.doc-download-btn { margin-top: 16px; align-self: flex-start; }
