/* =====================================================
   Global Manpower Recruiters — Design System
   Palette: emerald green + dark charcoal | Font: Outfit
   ===================================================== */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4fc4;
  --primary-deep: #163b96;
  --primary-light: #e9f0fd;
  --primary-soft: #cfdff9;
  --dark: #151a23;
  --dark-2: #1b212c;
  --dark-3: #242c3a;
  --light: #f6f8fb;
  --white: #ffffff;
  --ink: #191a2e;
  --body: #4b4d66;
  --muted: #767893;
  --line: #e6e6f2;
  --amber: #f5b301;
  --danger: #d64545;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(22, 23, 43, 0.06);
  --shadow-md: 0 10px 30px rgba(22, 23, 43, 0.1);
  --shadow-lg: 0 22px 55px rgba(22, 23, 43, 0.16);
  --container: 1200px;
  --z-dropdown: 30;
  --z-header: 50;
  --z-float: 60;
  --z-overlay: 70;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4, h5 {
  color: var(--ink);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.28rem; }

p { margin: 0; }

a { color: var(--primary-dark); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--primary); }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.55);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--light { background: var(--light); }
.section--dark { background: var(--dark); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: #b9bad1; }

/* ---------- section headings ---------- */
.sec-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.sec-head--left { margin: 0 0 40px; text-align: left; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section--dark .eyebrow { background: rgba(37, 99, 235, 0.16); color: #60a5fa; }
.sec-head h2 { margin-bottom: 14px; }
.sec-head p { font-size: 1.06rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  min-height: 48px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
}
.btn--primary:hover { background: var(--primary-dark); color: #fff; }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--dark-3); color: #fff; }
.btn--outline { border-color: var(--primary); color: var(--primary-dark); background: transparent; }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn--sm { padding: 10px 22px; min-height: 40px; font-size: 0.92rem; }

/* =====================================================
   TOP BAR
   ===================================================== */
.topbar {
  background: var(--dark);
  color: #c1c3da;
  font-size: 0.86rem;
  padding: 9px 0;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar__group { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; color: #c1c3da; }
.topbar__item svg { width: 15px; height: 15px; color: var(--primary); }
.topbar__item:hover { color: #fff; }
.topbar__socials { display: flex; gap: 6px; }
.topbar__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #c1c3da;
}
.topbar__socials a:hover { background: var(--primary); color: #fff; }
.topbar__socials svg { width: 14px; height: 14px; }

/* =====================================================
   HEADER / NAV
   ===================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.header.is-stuck { box-shadow: var(--shadow-md); }
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__full { height: 56px; width: auto; object-fit: contain; flex: none; }
.brand__full--sm { height: 46px; }
.brand__full-box {
  display: inline-flex;
  background: #fff;
  border-radius: 12px;
  padding: 7px 14px;
}
.brand__full-box .brand__full { height: 48px; }
.brand__logo { width: 60px; height: 60px; object-fit: contain; flex: none; }
.brand__lockup { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.brand__wordmark { height: 34px; width: auto; object-fit: contain; }
[dir="rtl"] .brand__lockup { align-items: flex-end; }
[dir="rtl"] .brand__wordmark { height: 38px; }
.brand__logo-bg {
  width: 52px; height: 52px;
  flex: none;
  background: #fff;
  border-radius: 12px;
  padding: 5px;
  display: flex; align-items: center; justify-content: center;
}
.brand__logo-bg .brand__logo { width: 100%; height: 100%; }
.brand__mark {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex: none;
}
.brand__mark svg { width: 26px; height: 26px; }
.brand__name { font-size: 1.18rem; font-weight: 800; color: var(--ink); line-height: 1.1; letter-spacing: -0.01em; white-space: nowrap; }
.brand__tag { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--primary-dark); white-space: nowrap; }
@media (max-width: 1250px) { .brand__tag { display: none; } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 12px 15px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: 10px;
  white-space: nowrap;
}
.nav__link:hover, .nav__link.is-active { color: var(--primary-dark); background: var(--primary-light); }
.nav__link svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.nav > li:hover .nav__link svg, .nav > li.is-open .nav__link svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 270px;
  max-height: 430px;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: var(--z-dropdown);
}
.nav > li:hover .dropdown,
.nav > li.is-open .dropdown,
.nav > li:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--body);
}
.dropdown a:hover { background: var(--primary-light); color: var(--primary-deep); }
.dropdown a svg { width: 18px; height: 18px; flex: none; color: var(--primary-dark); }
.dropdown a .flag { font-size: 1.05rem; }
.dropdown__all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.dropdown__all a { font-weight: 700; color: var(--primary-dark); }

.header__cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--dark) 0%, var(--dark-3) 58%, var(--primary-deep) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 340px at 88% 18%, rgba(37, 99, 235, 0.28), transparent 65%),
    radial-gradient(480px 300px at 8% 92%, rgba(37, 99, 235, 0.16), transparent 60%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
  padding: 92px 0 100px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #dcdded;
  margin-bottom: 26px;
}
.hero__badge svg { width: 16px; height: 16px; color: var(--amber); }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .accent {
  background: linear-gradient(95deg, #93c5fd 0%, #818cf8 52%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__text { font-size: 1.13rem; color: #b9bad1; max-width: 560px; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero__ticks { display: flex; gap: 26px; flex-wrap: wrap; }
.hero__tick { display: flex; align-items: center; gap: 9px; font-size: 0.94rem; font-weight: 500; color: #cdcfe4; }
.hero__tick svg { width: 18px; height: 18px; color: #60a5fa; flex: none; }

.hero__visual { position: relative; }
.hero__card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  padding: 30px;
}
.hero__card svg.illus { width: 100%; height: auto; }
.hero__chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--white);
  color: var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 12px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  animation: chip-float 5s ease-in-out infinite;
}
.hero__chip--a { top: -18px; right: -6px; }
.hero__chip--b { bottom: -20px; left: -14px; animation-delay: 2.5s; }
.hero__chip .ico {
  width: 38px; height: 38px;
  flex: none;
  border-radius: 11px;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
}
.hero__chip .ico svg { width: 20px; height: 20px; }
.hero__chip small { display: block; font-weight: 500; color: var(--muted); font-size: 0.76rem; }
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* =====================================================
   HERO V2 — image collage bg + glassmorphism + motion
   ===================================================== */
.hero--v2 {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 90px 0 110px;
}

/* background slideshow: one full photo at a time @ 80% transparency, crossfade every 30s */
.hero__bg {
  position: absolute;
  inset: -40px;
  opacity: 0.2; /* 80% transparent */
  pointer-events: none;
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  will-change: transform, opacity;
}
.hero__bg-img.is-active { opacity: 1; }
@keyframes kenburns-in {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.14) translate(1.5%, -1.5%); }
}
@keyframes kenburns-out {
  from { transform: scale(1.14) translate(-1.5%, 1.5%); }
  to { transform: scale(1) translate(0, 0); }
}
.kb-a { animation: kenburns-in 16s ease-in-out infinite alternate; }
.kb-b { animation: kenburns-out 19s ease-in-out infinite alternate; }
.kb-c { animation: kenburns-out 17s ease-in-out infinite alternate; }
.kb-d { animation: kenburns-in 21s ease-in-out infinite alternate; }
.kb-e { animation: kenburns-out 23s ease-in-out infinite alternate; }

/* soft vignette to keep text readable over the collage */
.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(closest-side at 50% 46%, rgba(22, 23, 43, 0.62), transparent 78%),
    linear-gradient(180deg, rgba(22, 23, 43, 0.35), transparent 30%, transparent 70%, rgba(22, 23, 43, 0.45));
  pointer-events: none;
}

.hero__content {
  position: relative;
  text-align: center;
  max-width: 900px;
}
.hero__content h1 { margin-bottom: 22px; font-size: clamp(2.1rem, 4.3vw, 3.15rem); }
.hero__content .hero__text { margin: 0 auto 34px; max-width: 680px; font-size: 1.06rem; }
.hero__ticks--v2 .hero__tick { font-size: 0.96rem; font-weight: 600; }
.hero__content .hero__actions { justify-content: center; margin-bottom: 38px; }
.hero__ticks--v2 { justify-content: center; gap: 14px; }
.hero__badge-v2 { margin-bottom: 28px; }
.hero__badge-v2 svg { color: var(--amber); }

/* framer-motion-style staggered entrance */
@keyframes motion-up {
  from { opacity: 0; transform: translateY(34px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
html.has-js [data-motion] {
  animation: motion-up 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--d, 0) * 0.14s + 0.05s);
}

/* ---------- glassmorphism ---------- */
.glass-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  color: #e3efe9;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 4px 18px rgba(10, 11, 26, 0.25);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease,
    color 0.25s ease, transform 0.25s ease;
}
.glass-chip svg { width: 18px; height: 18px; color: #60a5fa; flex: none; transition: color 0.25s ease; }

/* glow on hover — lighter color */
.glass-chip:hover {
  background: rgba(147, 197, 253, 0.24);
  border-color: rgba(191, 219, 254, 0.75);
  color: #ffffff;
  box-shadow:
    0 0 30px rgba(96, 165, 250, 0.55),
    0 0 60px rgba(96, 165, 250, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transform: translateY(-3px);
}
.glass-chip:hover svg { color: #bfdcfe; }

.btn--glass {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 6px 22px rgba(10, 11, 26, 0.3);
}
.btn--glass:hover {
  background: rgba(147, 197, 253, 0.26);
  border-color: rgba(191, 219, 254, 0.8);
  color: #fff;
  box-shadow: 0 0 34px rgba(96, 165, 250, 0.6), 0 0 70px rgba(96, 165, 250, 0.28);
  transform: translateY(-2px);
}

.btn--glow { transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease; }
.btn--glow:hover {
  box-shadow: 0 0 34px rgba(96, 165, 250, 0.75), 0 0 80px rgba(96, 165, 250, 0.35);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg-img { animation: none !important; }
  html.has-js [data-motion] { animation: none; opacity: 1; }
}

@media (max-width: 620px) {
  .hero--v2 { min-height: 0; padding: 66px 0 80px; }
  .hero__ticks--v2 .glass-chip { padding: 9px 16px; font-size: 0.86rem; }
}

/* =====================================================
   TRUST / CERTIFICATION STRIP
   ===================================================== */
.trust { background: var(--white); border-bottom: 1px solid var(--line); padding: 34px 0; }
.trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.trust__item { display: flex; align-items: center; gap: 14px; }
.trust__item .ico {
  width: 50px; height: 50px; flex: none;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
}
.trust__item .ico svg { width: 25px; height: 25px; }
.trust__item strong { display: block; color: var(--ink); font-size: 0.99rem; line-height: 1.3; }
.trust__item span { font-size: 0.84rem; color: var(--muted); }

/* =====================================================
   INTRO (two-column about)
   ===================================================== */
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.intro__media { position: relative; }
.intro__media .frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(150deg, var(--primary-light), #fff);
  border: 1px solid var(--line);
}
.intro__media svg.illus { width: 100%; height: auto; }
.intro__years {
  position: absolute;
  bottom: -24px;
  right: -14px;
  background: var(--primary);
  color: #fff;
  border-radius: 18px;
  padding: 20px 26px;
  text-align: center;
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.45);
}
.intro__years strong { display: block; font-size: 2.1rem; font-weight: 800; line-height: 1; }
.intro__years span { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.intro__body h2 { margin-bottom: 18px; }
.intro__body > p { margin-bottom: 26px; }
.intro__points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin-bottom: 32px; }
.intro__points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); font-size: 0.97rem; }
.intro__points svg { width: 20px; height: 20px; color: var(--primary); flex: none; margin-top: 3px; }

/* =====================================================
   CARDS (services / industries / countries)
   ===================================================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
a.card { color: var(--body); }
.card:hover { box-shadow: var(--shadow-lg); border-color: var(--primary-soft); transform: translateY(-5px); }
.card__icon {
  width: 62px; height: 62px;
  border-radius: 18px;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: background 0.25s ease, color 0.25s ease;
}
.card__icon svg { width: 30px; height: 30px; }
.card:hover .card__icon { background: var(--primary); color: #fff; }
/* Compact icon tile — sized to match the country flags */
.card__icon--sm { width: 40px; height: 40px; border-radius: 11px; margin-bottom: 16px; }
.card__icon--sm svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.96rem; flex: 1; }
.card__link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--primary-dark);
}
.card__link svg { width: 17px; height: 17px; transition: transform 0.2s ease; }
.card:hover .card__link svg { transform: translateX(5px); }

/* ---------- flag images ---------- */
.flag-img {
  display: inline-block;
  width: 27px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(22, 23, 43, 0.12), 0 1px 3px rgba(22, 23, 43, 0.14);
  vertical-align: middle;
  flex: none;
}
.flag-img--lg { width: 44px; height: 32px; border-radius: 6px; }
.flag-img--xl { width: 56px; height: 41px; border-radius: 8px; }
.flag-img--sm { width: 22px; height: 16px; border-radius: 3px; }
.badge .flag-img { width: 20px; height: 15px; border-radius: 3px; }

/* country card */
.country-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 600;
  transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
  cursor: pointer;
}
.country-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-soft); transform: translateY(-3px); color: var(--primary-deep); }
.country-card .flag { font-size: 1.7rem; line-height: 1; }
.country-card small { display: block; font-weight: 500; color: var(--muted); font-size: 0.8rem; }
.country-card svg { width: 17px; height: 17px; margin-left: auto; color: var(--primary); flex: none; }

/* =====================================================
   DUAL CTA (candidates / employers)
   ===================================================== */
.dual { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.dual__panel {
  border-radius: var(--radius-lg);
  padding: 46px 42px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.dual__panel--a { background: linear-gradient(135deg, var(--primary-dark), var(--primary-deep)); }
.dual__panel--b { background: linear-gradient(135deg, var(--dark-2), var(--dark)); }
.dual__panel h3 { color: #fff; font-size: 1.55rem; margin-bottom: 12px; }
.dual__panel p { color: rgba(255, 255, 255, 0.82); margin-bottom: 26px; max-width: 400px; }
.dual__panel .watermark {
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 170px; height: 170px;
  opacity: 0.1;
  color: #fff;
}

/* =====================================================
   TESTIMONIALS SLIDER
   ===================================================== */
.slider { position: relative; max-width: 860px; margin: 0 auto; }
.slider__track { overflow: hidden; border-radius: var(--radius-lg); }
.slider__rail { display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.slide { flex: 0 0 100%; padding: 4px; }
.tcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 44px 48px;
  text-align: center;
}
.tcard__stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 20px; }
.tcard__stars svg { width: 20px; height: 20px; color: var(--amber); }
.tcard__stars svg.off { color: var(--line); }
.tcard__text { font-size: 1.13rem; color: var(--ink); font-weight: 450; line-height: 1.75; margin-bottom: 26px; }
.tcard__who { display: flex; align-items: center; justify-content: center; gap: 14px; }
.tcard__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.tcard__who strong { display: block; color: var(--ink); line-height: 1.3; }
.tcard__who span { font-size: 0.86rem; color: var(--muted); }
.slider__nav { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 30px; }
.slider__btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.slider__btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.slider__btn svg { width: 20px; height: 20px; }
.slider__dots { display: flex; gap: 8px; }
.slider__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  transition: background 0.2s ease, transform 0.2s ease;
}
.slider__dot.is-active { background: var(--primary); transform: scale(1.25); }

/* =====================================================
   SUPPORT FEATURES (icon list band)
   ===================================================== */
.support__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.support__list { display: grid; gap: 8px; }
.support__item {
  display: flex;
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}
.support__item:hover { background: rgba(255, 255, 255, 0.05); }
.support__item .ico {
  width: 52px; height: 52px; flex: none;
  border-radius: 15px;
  background: rgba(37, 99, 235, 0.16);
  color: #60a5fa;
  display: flex; align-items: center; justify-content: center;
}
.support__item .ico svg { width: 25px; height: 25px; }
.support__item strong { display: block; color: #fff; font-size: 1.05rem; margin-bottom: 4px; }
.support__item p { font-size: 0.94rem; }

/* =====================================================
   PROCESS STEPS
   ===================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.step:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.step__num {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--primary-soft);
  margin-bottom: 18px;
  transition: -webkit-text-stroke-color 0.25s ease;
}
.step:hover .step__num { -webkit-text-stroke-color: var(--primary); }
.step h3 { font-size: 1.12rem; margin-bottom: 10px; }
.step p { font-size: 0.92rem; }
.step__arrow {
  position: absolute;
  top: 42px;
  right: -21px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
  z-index: 2;
}
.step__arrow svg { width: 18px; height: 18px; }

/* =====================================================
   STATS COUNTERS
   ===================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat { padding: 20px 10px; }
.stat__value {
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.stat__value .suffix { color: #60a5fa; }
.stat__label { margin-top: 10px; font-size: 0.98rem; font-weight: 500; color: #a7a9c6; }

/* =====================================================
   FAQ ACCORDION
   ===================================================== */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq__item.is-open { border-color: var(--primary-soft); box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 21px 26px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--ink);
}
.faq__q .chev {
  width: 34px; height: 34px; flex: none;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.faq__q .chev svg { width: 17px; height: 17px; }
.faq__item.is-open .faq__q .chev { transform: rotate(180deg); background: var(--primary); color: #fff; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.32s ease; }
.faq__a-inner { padding: 0 26px 24px; font-size: 0.97rem; }

/* =====================================================
   JOB CARDS
   ===================================================== */
.job-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.job-card:hover { box-shadow: var(--shadow-lg); border-color: var(--primary-soft); transform: translateY(-4px); }
.job-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.job-card h3 { font-size: 1.14rem; }
.job-card h3 a { color: var(--ink); }
.job-card h3 a:hover { color: var(--primary-dark); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary-deep);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge--dark { background: var(--dark); color: #fff; }
.job-card__meta { display: flex; flex-wrap: wrap; gap: 14px 20px; font-size: 0.89rem; color: var(--muted); }
.job-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-card__meta svg { width: 15px; height: 15px; color: var(--primary); }
.job-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 6px; }
.job-card__salary { font-weight: 700; color: var(--ink); font-size: 0.95rem; }

/* =====================================================
   PAGE HERO (inner pages)
   ===================================================== */
.page-hero {
  background: linear-gradient(120deg, var(--dark) 0%, var(--dark-3) 62%, var(--primary-deep) 100%);
  color: #fff;
  padding: 78px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(560px 300px at 85% 30%, rgba(37, 99, 235, 0.3), transparent 65%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 14px; }
.page-hero p { color: #b9cac1; font-size: 1.08rem; max-width: 640px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 0.88rem; margin-bottom: 20px; color: #8d8fae; }
.crumbs a { color: #cdcfe4; }
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 14px; height: 14px; }

/* =====================================================
   DETAIL LAYOUT (service/industry/country pages)
   ===================================================== */
.detail { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: flex-start; }
.detail__main h2 { font-size: 1.65rem; margin: 34px 0 14px; }
.detail__main h2:first-child { margin-top: 0; }
.detail__main p { margin-bottom: 16px; }
.check-list { display: grid; gap: 12px; margin: 20px 0; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.check-list svg { width: 21px; height: 21px; color: var(--primary); flex: none; margin-top: 3px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.chip {
  background: var(--primary-light);
  color: var(--primary-deep);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}
.note-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  padding: 18px 22px;
  color: var(--primary-deep);
  font-weight: 500;
  margin: 22px 0;
}
.aside { display: grid; gap: 22px; position: sticky; top: 100px; }
.aside__box {
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.aside__box h3 { font-size: 1.06rem; margin-bottom: 14px; }
.aside__box ul { display: grid; gap: 4px; }
.aside__box ul a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--body);
}
.aside__box ul a:hover { background: var(--white); color: var(--primary-deep); box-shadow: var(--shadow-sm); }
.aside__box ul a svg { width: 15px; height: 15px; color: var(--primary); flex: none; }
.aside__cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-deep));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  text-align: center;
}
.aside__cta h3 { color: #fff; margin-bottom: 8px; }
.aside__cta p { color: rgba(255, 255, 255, 0.82); font-size: 0.93rem; margin-bottom: 20px; }

/* =====================================================
   FORMS
   ===================================================== */
.form-shell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 44px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--light);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}
.field textarea { min-height: 120px; resize: vertical; }
.field--file input {
  padding: 11px;
  background: var(--white);
}
.field .hint { font-size: 0.8rem; color: var(--muted); margin-top: 5px; }
.form-actions { margin-top: 30px; }

.alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 28px;
  font-weight: 500;
}
.alert svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.alert--success { background: var(--primary-light); color: var(--primary-deep); border: 1px solid var(--primary-soft); }

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: flex-start; }
.contact-info { display: grid; gap: 18px; }
.contact-info__item {
  display: flex;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.contact-info__item .ico {
  width: 48px; height: 48px; flex: none;
  border-radius: 13px;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
}
.contact-info__item .ico svg { width: 23px; height: 23px; }
.contact-info__item strong { display: block; color: var(--ink); margin-bottom: 2px; }
.contact-info__item p, .contact-info__item a { font-size: 0.93rem; color: var(--body); overflow-wrap: anywhere; }
.contact-info__item a:hover { color: var(--primary-dark); }

/* =====================================================
   CTA BAND
   ===================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 520px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }
.cta-band .btn--primary { background: #fff; color: var(--primary-deep); box-shadow: none; }
.cta-band .btn--primary:hover { background: var(--primary-light); }

/* =====================================================
   FOOTER
   ===================================================== */
.footer { background: var(--dark); color: #a7a9c6; }
.footer__main {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
  gap: 44px;
  padding: 72px 0 54px;
}
.footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 20px; letter-spacing: 0.02em; }
.footer__about p { font-size: 0.93rem; margin: 18px 0 22px; max-width: 320px; }
.footer__links { display: grid; gap: 4px; }
.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a7a9c6;
  font-size: 0.93rem;
  padding: 5px 0;
}
.footer__links a:hover { color: #60a5fa; }
.footer__links svg { width: 13px; height: 13px; color: var(--primary); }
.footer__contact { display: grid; gap: 14px; }
.footer__contact li { display: flex; gap: 12px; font-size: 0.92rem; }
.footer__contact svg { width: 18px; height: 18px; color: #60a5fa; flex: none; margin-top: 3px; }
.footer__contact a { color: #a7a9c6; overflow-wrap: anywhere; }
.footer__contact a:hover { color: #60a5fa; }
.footer__socials { display: flex; gap: 10px; }
.footer__socials a {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.07);
  color: #cdcfe4;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.footer__socials a:hover { background: var(--primary); color: #fff; }
.footer__socials svg { width: 17px; height: 17px; }
.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  font-size: 0.86rem;
}
.footer__bar .container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer__bar a { color: #cdcfe4; }
.footer__bar a:hover { color: #60a5fa; }

/* =====================================================
   WHATSAPP FLOAT
   ===================================================== */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: var(--z-float);
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover { transform: translateY(-4px); color: #fff; box-shadow: 0 16px 36px rgba(37, 211, 102, 0.55); }
.wa-float svg { width: 30px; height: 30px; }

/* =====================================================
   REVEAL ON SCROLL
   ===================================================== */
/* hidden only when JS is running (html.has-js set by main.js) */
html.has-js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.has-js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================
   RTL / ARABIC
   ===================================================== */
[dir="rtl"] body,
[dir="rtl"] button,
[dir="rtl"] input,
[dir="rtl"] select,
[dir="rtl"] textarea {
  font-family: "Tajawal", "Outfit", "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5 { letter-spacing: 0; }
[dir="rtl"] .eyebrow, [dir="rtl"] .brand__tag { letter-spacing: 0.02em; }
[dir="rtl"] .sec-head--left { text-align: right; }
[dir="rtl"] .dropdown { left: auto; right: 0; }
[dir="rtl"] .step__arrow { right: auto; left: -21px; transform: rotate(180deg); }
[dir="rtl"] .note-box { border-left: none; border-right: 4px solid var(--primary); }
[dir="rtl"] .card__link svg,
[dir="rtl"] .footer__links svg,
[dir="rtl"] .crumbs svg,
[dir="rtl"] .btn svg.flip,
[dir="rtl"] .country-card > svg { transform: rotate(180deg); }
[dir="rtl"] .card:hover .card__link svg { transform: rotate(180deg) translateX(5px); }
[dir="rtl"] .mobile-nav__panel { right: auto; left: 0; transform: translateX(-100%); }
[dir="rtl"] .wa-float { right: auto; left: 22px; }

/* =====================================================
   ADMIN
   ===================================================== */
.admin-body { background: #eef4f1; min-height: 100vh; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-side {
  width: 250px;
  flex: none;
  background: var(--dark);
  color: #a7a9c6;
  padding: 26px 16px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.admin-side .brand__name { color: #fff; font-size: 1rem; }
.admin-nav { display: grid; gap: 4px; }
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border-radius: 11px;
  color: #a7a9c6;
  font-weight: 500;
  font-size: 0.95rem;
}
.admin-nav a svg { width: 19px; height: 19px; }
.admin-nav a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.admin-nav a.is-active { background: var(--primary); color: #fff; }
.admin-side__foot { margin-top: auto; }
.admin-main { flex: 1; padding: 34px 38px; min-width: 0; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 28px; flex-wrap: wrap; }
.admin-head h1 { font-size: 1.6rem; }
.admin-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; margin-bottom: 34px; }
.admin-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.admin-card .ico {
  width: 50px; height: 50px; flex: none;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
}
.admin-card .ico svg { width: 24px; height: 24px; }
.admin-card strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.admin-card span { font-size: 0.87rem; color: var(--muted); }
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
}
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.panel__head h2 { font-size: 1.1rem; }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.91rem; }
table.data th {
  text-align: left;
  padding: 13px 18px;
  background: var(--light);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
table.data td { padding: 13px 18px; border-top: 1px solid var(--line); vertical-align: top; color: var(--body); }
table.data td strong { color: var(--ink); }
table.data tr:hover td { background: #fbfdfc; }
.row-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--body);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.icon-btn:hover { background: var(--primary-light); color: var(--primary-deep); border-color: var(--primary-soft); }
.icon-btn--danger:hover { background: #fdeaea; color: var(--danger); border-color: #f3c2c2; }
.icon-btn svg { width: 16px; height: 16px; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; }
.pill--on { background: var(--primary-light); color: var(--primary-deep); }
.pill--off { background: #f2f2f2; color: #8a8a8a; }
.search-bar { display: flex; gap: 10px; }
.search-bar input {
  padding: 10px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.93rem;
  min-width: 230px;
  background: var(--white);
}
.search-bar input:focus { outline: none; border-color: var(--primary); }
.pagination { display: flex; gap: 8px; padding: 16px 22px; align-items: center; font-size: 0.9rem; }
.pagination a, .pagination span.cur {
  padding: 7px 14px;
  border-radius: 9px;
  border: 1px solid var(--line);
  color: var(--body);
}
.pagination span.cur { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700; }
.pagination a:hover { border-color: var(--primary); color: var(--primary-deep); }
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: linear-gradient(120deg, var(--dark), var(--primary-deep)); }
.login-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 44px; width: 100%; max-width: 420px; }
.login-card .brand { justify-content: center; margin-bottom: 26px; }
.login-card h1 { font-size: 1.4rem; text-align: center; margin-bottom: 24px; }
.alert--error { background: #fdeaea; color: #a33; border: 1px solid #f3c2c2; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step__arrow { display: none; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .detail { grid-template-columns: 1fr; }
  .aside { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  .section { padding: 68px 0; }
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header__cta { gap: 8px; }
  .header__cta .btn--sm { padding: 9px 13px; }
  .hero__grid { grid-template-columns: 1fr; padding: 64px 0 76px; gap: 44px; }
  .hero__visual { max-width: 520px; }
  .intro__grid, .support__grid, .dual { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .country-card, .job-card, .svc-card, .ind-card { min-width: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .cta-band { flex-direction: column; text-align: center; padding: 46px 30px; }
  .intro__years { right: 8px; }

  /* mobile nav */
  .mobile-nav {
    position: fixed;
    inset: 0;
    z-index: var(--z-overlay);
    background: rgba(22, 23, 43, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s;
  }
  .mobile-nav.is-open { opacity: 1; visibility: visible; }
  .mobile-nav__panel {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: min(340px, 88vw);
    background: var(--white);
    padding: 24px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .mobile-nav.is-open .mobile-nav__panel { transform: translateX(0); }
  .mobile-nav__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
  .mobile-nav__list > li { border-bottom: 1px solid var(--line); }
  .mobile-nav__list > li > a, .mobile-nav__sub-toggle {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 15px 4px;
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--ink);
    background: none;
    border: none;
    text-align: left;
  }
  .mobile-nav__sub-toggle svg { width: 17px; height: 17px; transition: transform 0.2s ease; }
  .mobile-nav__sub { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
  li.is-open .mobile-nav__sub-toggle svg { transform: rotate(180deg); }
  .mobile-nav__sub a { display: block; padding: 9px 14px; font-size: 0.95rem; color: var(--body); }
  .mobile-nav__sub a:hover { color: var(--primary-deep); }
  .mobile-nav__cta { display: grid; gap: 10px; margin-top: 22px; }

  .admin-shell { flex-direction: column; }
  .admin-side { width: 100%; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 12px; padding: 14px 16px; }
  .admin-nav { display: flex; flex-wrap: wrap; }
  .admin-side__foot { margin: 0; }
  .admin-main { padding: 22px 16px; }
}

@media (min-width: 921px) {
  .mobile-nav { display: none; }
}

/* Narrow phones: header space is tight, so keep only the highlighted Hire Workers
   button in the top bar (Upload CV stays available in the slide-in menu). */
@media (max-width: 430px) {
  .header__cta .btn--outline { display: none; }
}

@media (max-width: 620px) {
  .grid-3, .grid-4, .steps, .trust__grid, .footer__main { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .form-shell { padding: 28px 22px; }
  .tcard { padding: 32px 24px; }
  /* Keep cards within very narrow phones (~360px): let inner rows shrink/wrap
     instead of forcing a min-content width that overflows the screen. */
  .job-card { min-width: 0; }
  .job-card__top, .job-card__meta, .job-card__foot { min-width: 0; }
  .job-card__top { flex-wrap: wrap; }
  .job-card__foot { flex-wrap: wrap; gap: 12px; }
  .job-card h3 { overflow-wrap: break-word; }
  .hero__chip--a { top: -14px; right: 0; }
  .hero__chip--b { bottom: -14px; left: 0; }
  .hero__actions .btn { width: 100%; }
  .topbar__group--right { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
}
