/* ════════════════════════════════════════════════════
   New Gurkhas International Pvt. Ltd.
   Main Stylesheet — style.css
   ════════════════════════════════════════════════════ */

/* ── 1. VARIABLES ─────────────────────────────────── */
:root {
  --p:   #2a6eaa;
  --pd:  #0f766e;
  --pl:  #ccfbf1;
  --ps:  #f0fdfa;
  --o:   #f97316;
  --ol:  #fff7ed;
  --ob:  #fb923c;
  --tx:  #111827;
  --tm:  #6b7280;
  --ts:  #9ca3af;
  --bg:  #ffffff;
  --sf:  #f9fafb;
  --br:  #e5e7eb;
  --r8:  8px;
  --r12: 12px;
  --r16: 16px;
  --sh:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shm: 0 4px 16px rgba(0,0,0,.08);
  --shl: 0 10px 40px rgba(0,0,0,.10);
}

/* ── 2. RESET & BASE ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body,
input, select, textarea, button, a,
th, td, label, p, h1, h2, h3, h4, h5, h6,
li, span, div {
  font-family: 'Roboto', 'Noto Sans Arabic', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  color: var(--tx);
  background: var(--sf);
  line-height: 1.6;
  font-size: 16px;
}
a { text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── 3. NAVBAR ────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--br);
  box-shadow: var(--sh);
  transition: box-shadow .2s;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 28px;
  height: 66px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-mark {
  width: 60px;
  height: 60px;
  background: var(--p);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}
.nav-logo-text .main {
  font-size: 19px;
  font-weight: 700;
  color: var(--tx);
  display: block;
  line-height: 1.2;
}
.nav-logo-text .sub {
  font-size: 11px;
  color: var(--tm);
  font-weight: 400;
}
.nav-right { display: flex; align-items: center; gap: 4px; }
.nav-links  { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  color: var(--tm);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 7px;
  transition: all .15s;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  background: var(--sf);
  color: var(--tx);
}
.nav-links > li > a .chevron {
  transition: transform .22s;
  flex-shrink: 0;
  color: var(--ts);
}
.nav-links > li:hover > a .chevron { transform: rotate(180deg); }
/* Mobile navbar logo fixes */
.mobile-name  { display: none !important; }
.desktop-name { display: inline !important; }

@media (max-width: 768px) {
    .desktop-name          { display: none !important; }
    .mobile-name           { display: inline !important; font-size: 12px; font-weight: 700; }
    .nav-logo-text .sub    { display: none !important; }
    .nav-logo img          { height: 36px !important; }
    .navbar-inner          { height: auto !important; padding: 8px 14px !important; }
}

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  border: 1px solid var(--br);
  border-radius: 10px;
  box-shadow: var(--shl);
  min-width: 200px;
  padding: 6px;
  z-index: 200;
}
[dir="rtl"] .dropdown { left: auto; right: 0; }
.nav-links > li:hover .dropdown { display: block; }
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--tm);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border-radius: 7px;
  transition: all .15s;
}
.dropdown a svg { flex-shrink: 0; }
.dropdown a:hover { background: var(--ps); color: var(--pd); }
.dropdown a:hover svg path,
.dropdown a:hover svg circle { stroke: var(--pd); }

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid var(--br);
  border-radius: 7px;
  color: var(--tm);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all .15s;
  margin-left: 6px;
  white-space: nowrap;
}
.lang-switch svg { flex-shrink: 0; }
.lang-switch:hover { border-color: var(--p); color: var(--p); }
.lang-switch:hover svg path,
.lang-switch:hover svg circle { stroke: var(--p); }
[dir="rtl"] .lang-switch { margin-left: 0; margin-right: 6px; }

/* Nav CTA */
.nav-cta {
  background: var(--p) !important;
  color: #fff !important;
  border-radius: 8px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  margin-left: 6px;
  transition: background .2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--pd) !important; }
[dir="rtl"] .nav-cta { margin-left: 0; margin-right: 6px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--tx);
  border-radius: 2px;
  transition: all .3s;
}

/* ── 4. PAGE WRAPPER ──────────────────────────────── */
.page-content { min-height: 100vh; }

/* ── 5. LAYOUT HELPERS ────────────────────────────── */
.section       { padding: 72px 28px; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.sec-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--p);
  margin-bottom: 8px;
}
.sec-title {
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--tx);
  line-height: 1.25;
  margin-bottom: 12px;
}
.sec-subtitle {
  font-size: 15px;
  color: var(--tm);
  line-height: 1.75;
  max-width: 540px;
}

/* ── 6. BUTTONS ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--p); color: #fff; }
.btn-primary:hover {
  background: var(--pd);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13,148,136,.3);
}
.btn-orange  { background: var(--o); color: #fff; }
.btn-orange:hover  { background: #ea580c; }
.btn-outline { background: #fff; color: var(--tx); border: 1.5px solid var(--br); }
.btn-outline:hover { border-color: var(--p); color: var(--p); }
.btn-white   { background: #fff; color: var(--p); }
.btn-white:hover   { background: var(--ps); }
.btn-ghost   { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.32); }
.btn-ghost:hover   { background: rgba(255,255,255,.24); }
.btn-sm  { padding: 7px 16px;  font-size: 13px; }
.btn-lg  { padding: 13px 30px; font-size: 15px; }

/* ── 7. FORM ELEMENTS ─────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--tx);
  margin-bottom: 7px;
}
.form-group label .req { color: #ef4444; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--br);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  color: var(--tx);
  background: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ts); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--p);
  box-shadow: 0 0 0 3px rgba(13,148,136,.12);
}
.form-group textarea { resize: vertical; }
.form-group .hint { font-size: 12px; color: var(--ts); margin-top: 5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ── 8. JOB CARDS ─────────────────────────────────── */
.job-card {
  background: #fff;
  border: 1px solid var(--br);
  border-radius: var(--r12);
  overflow: hidden;
  transition: all .25s;
  box-shadow: var(--sh);
}
.job-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shl);
  border-color: var(--p);
}
.job-card-img { position: relative; height: 180px; overflow: hidden; background: var(--sf); }
.job-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.job-card:hover .job-card-img img { transform: scale(1.05); }
.job-card-img-placeholder {
  width: 100%; height: 100%;
  background: var(--sf);
  display: flex; align-items: center; justify-content: center;
  color: var(--ts); font-size: 36px;
}
.job-type-badge {
  position: absolute; bottom: 10px; left: 10px;
  background: #fff; color: var(--p);
  font-size: 10px; font-weight: 700;
  padding: 4px 10px; border-radius: 100px;
  border: 1px solid var(--pl);
}
.job-feat-badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--o); color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 4px 10px; border-radius: 100px;
}
.job-card-body  { padding: 16px; }
.job-card-co    { font-size: 11px; font-weight: 600; color: var(--p); margin-bottom: 4px; }
.job-card-title {
  font-size: 15px; font-weight: 700;
  color: var(--tx); margin-bottom: 10px; line-height: 1.3;
}
.job-card-title a { text-decoration: none; color: inherit; }
.job-card-title a:hover { color: var(--p); }
.job-meta { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.job-meta-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ts); }
.job-meta-item i { color: #d1d5db; font-size: 11px; }
.job-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid var(--sf);
}
.job-deadline { font-size: 11px; color: var(--ts); }
.deadline-passed { color: #ef4444; }

/* ── 9. GRIDS ─────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── 10. ALERTS ───────────────────────────────────── */
.alert {
  padding: 13px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.alert-error   { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.alert-warning { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }

/* ── 11. PAGE HERO ────────────────────────────────── */
.page-hero {
  background: var(--sf);
  border-bottom: 1px solid var(--br);
  padding: 52px 28px;
}
.page-hero-inner { max-width: 1280px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ts);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--p); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb i { font-size: 10px; }
.page-hero h1 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700; color: var(--tx); margin-bottom: 8px;
}
.page-hero h1 span { color: var(--p); }
.page-hero p  { font-size: 15px; color: var(--tm); }

/* ── 12. HERO SLIDER (index.php) ─────────────────── */
.hero-slider { position: relative; height: 580px; overflow: hidden; }
.hs-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.2s ease; z-index: 1;
}
.hs-slide.active { opacity: 1; z-index: 2; }
.hs-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.04); transition: transform 8s ease;
}
.hs-slide.active .hs-bg { transform: scale(1); }
.hs-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(5,15,30,.85) 0%, rgba(5,15,30,.55) 55%, rgba(5,15,30,.2) 100%);
}
.hs-content {
  position: absolute; inset: 0; z-index: 5;
  display: flex; align-items: center; padding: 0 5%;
}
.hs-inner { max-width: 620px; }
.hs-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(13,148,136,.2);
  border: 1px solid rgba(13,148,136,.5);
  color: #5eead4;
  padding: 7px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 600; margin-bottom: 20px;
}
.hs-dot {
  width: 7px; height: 7px;
  background: #2dd4bf; border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(1.4); }
}
.hs-inner h1 {
  font-size: clamp(28px, 4.5vw, 54px);
  font-weight: 900; color: #fff;
  line-height: 1.15; margin-bottom: 16px;
}
.hs-inner h1 span { color: #d08a19; }
.hs-inner p {
  font-size: 16px; color: rgba(255,255,255,.72);
  line-height: 1.8; margin-bottom: 28px; max-width: 500px;
}
.hs-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hs-stats { display: flex; gap: 24px; align-items: center; }
.hss strong { display: block; font-size: 24px; font-weight: 900; color: #fff; }
.hss span   { font-size: 11px; color: rgba(255,255,255,.5); font-weight: 400; }
.hss-div    { width: 1px; height: 36px; background: rgba(255,255,255,.15); }

.hs-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 48px; height: 48px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  cursor: pointer; color: #fff;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.hs-arrow:hover { background: rgba(255,255,255,.25); }
.hs-prev { left: 20px; }
.hs-next { right: 20px; }
.hs-dots {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; gap: 10px; align-items: center;
}
.hs-dot-btn {
  width: 8px; height: 8px;
  background: rgba(255,255,255,.4); border-radius: 100px;
  cursor: pointer; transition: all .35s; border: none; padding: 0;
}
.hs-dot-btn.active { background: #fff; width: 28px; }
.hs-count {
  position: absolute; top: 20px; right: 20px; z-index: 10;
  background: rgba(0,0,0,.3); color: rgba(255,255,255,.7);
  font-size: 12px; font-weight: 500; padding: 5px 14px; border-radius: 100px;
}
.prog-wrap {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 10; height: 3px; background: rgba(255,255,255,.15);
}
.prog-bar { height: 100%; background: var(--p); width: 0%; transition: width linear; }

/* ── 13. SEARCH BAR ───────────────────────────────── */
.search-section {
  background: #fff;
  border-bottom: 1px solid var(--br);
  padding: 0 5%;
}
.search-form {
  display: flex; gap: 10px; align-items: center;
  max-width: 1280px; margin: 0 auto; height: 68px;
}
.sf-field { flex: 1; position: relative; }
.sf-field i {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--ts); font-size: 14px; pointer-events: none;
}
.sf-field input,
.sf-field select {
  width: 100%; padding: 11px 12px 11px 38px;
  border: 1px solid var(--br); border-radius: 8px;
  font-size: 14px; color: var(--tx);
  background: #fff; outline: none;
  transition: border-color .2s; appearance: none;
}
.sf-field input:focus,
.sf-field select:focus {
  border-color: var(--p);
  box-shadow: 0 0 0 3px rgba(13,148,136,.1);
}

/* ── 14. STATS STRIP ──────────────────────────────── */
.stats-strip {
  background: var(--p); padding: 20px 5%;
  display: grid; grid-template-columns: repeat(4,1fr);
}
.stat-item {
  text-align: center; padding: 4px 0;
  border-right: 1px solid rgba(255,255,255,.15);
}
.stat-item:last-child { border-right: none; }
.stat-item strong { display: block; font-size: 26px; font-weight: 900; color: #fff; }
.stat-item span   { font-size: 12px; color: rgba(255,255,255,.75); }

/* ── 15. SERVICE CARDS ────────────────────────────── */
.svc-card {
  background: #fff; border: 1px solid var(--br);
  border-radius: var(--r12); overflow: hidden; transition: all .22s; cursor: pointer;
}
.svc-card:hover {
  border-color: var(--p);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(13,148,136,.12);
}
.svc-img { height: 130px; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.svc-card:hover .svc-img img { transform: scale(1.06); }
.svc-body { padding: 16px; }
.svc-ico {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; margin-bottom: 10px;
}
.svc-body h3 { font-size: 14px; font-weight: 700; color: var(--tx); margin-bottom: 5px; }
.svc-body p  { font-size: 12px; color: var(--ts); line-height: 1.65; margin-bottom: 10px; }
.svc-link {
  font-size: 12px; color: var(--p); font-weight: 600;
  text-decoration: none; display: inline-flex; align-items: center; gap: 5px;
  transition: gap .2s;
}
.svc-link:hover { gap: 8px; }

/* ── 16. WHY US (index) ───────────────────────────── */
.why-section { display: grid; grid-template-columns: 1fr 1fr; }
.why-left { padding: 64px 48px; background: #fff; }
.why-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.why-ico {
  width: 42px; height: 42px; background: var(--ps);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--p); font-size: 17px; flex-shrink: 0;
}
.why-item strong { display: block; font-size: 14px; font-weight: 700; color: var(--tx); margin-bottom: 2px; }
.why-item p      { font-size: 12px; color: var(--ts); margin: 0; line-height: 1.65; }
.why-right { position: relative; overflow: hidden; min-height: 480px; }
.why-right img { width: 100%; height: 100%; object-fit: cover; }
.why-float {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
  border-radius: 12px; padding: 16px 20px;
  display: flex; gap: 20px; align-items: center;
  border: 1px solid rgba(255,255,255,.8);
}
.wf-stat { text-align: center; }
.wf-stat strong { display: block; font-size: 20px; font-weight: 900; color: var(--p); }
.wf-stat small  { font-size: 10px; color: var(--ts); }
.wf-div { width: 1px; height: 32px; background: var(--br); }

/* ── 17. DESTINATIONS ─────────────────────────────── */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}
.dest-chip {
  background: #fff; border: 1px solid var(--br); border-radius: 8px;
  padding: 12px 10px; text-align: center;
  font-size: 13px; font-weight: 500; color: var(--tx);
  cursor: default; transition: all .2s;
}
.dest-chip:hover { border-color: var(--p); background: var(--ps); color: var(--pd); }

/* ── 18. CTA SECTION ──────────────────────────────── */
.cta-section { background: var(--p); padding: 72px 5%; }
.cta-section h2 {
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 700; color: #fff; margin-bottom: 10px;
}
.cta-section p { font-size: 15px; color: rgba(255,255,255,.75); margin-bottom: 28px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── 19. JOBS PAGE ────────────────────────────────── */
.jobs-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.jobs-sidebar {
  background: #fff; border: 1px solid var(--br);
  border-radius: var(--r12); padding: 20px;
  position: sticky; top: 80px;
}
.filter-group { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--br); }
.filter-group:last-child { border-bottom: none; margin-bottom: 8px; padding-bottom: 0; }
.filter-group h4 {
  font-size: 11px; font-weight: 700; color: var(--tx);
  letter-spacing: .5px; text-transform: uppercase; margin-bottom: 10px;
}
.filter-input { position: relative; }
.filter-input i { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--ts); font-size: 13px; }
.filter-input input {
  width: 100%; padding: 8px 10px 8px 32px;
  border: 1px solid var(--br); border-radius: 6px;
  font-size: 13px; outline: none; transition: border-color .2s;
}
.filter-input input:focus { border-color: var(--p); }
.filter-check { display: flex; align-items: center; gap: 7px; cursor: pointer; padding: 5px 0; }
.filter-check input { accent-color: var(--p); }
.filter-check span  { font-size: 13px; color: var(--tm); }

.jobs-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; flex-wrap: wrap; gap: 10px;
}
.jobs-header p { font-size: 14px; color: var(--tm); }
.jobs-header strong { color: var(--tx); }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; }
.page-btn {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid var(--br);
  color: var(--tm); text-decoration: none; font-size: 14px; transition: all .2s;
}
.page-btn:hover, .page-btn.active { background: var(--p); border-color: var(--p); color: #fff; }

.no-results { text-align: center; padding: 80px 20px; }
.no-results i     { font-size: 48px; color: var(--ts); margin-bottom: 16px; }
.no-results h3    { font-size: 20px; color: var(--tx); margin-bottom: 8px; }
.no-results p     { color: var(--tm); }
.no-results a     { color: var(--p); }

/* ── 20. JOB DETAIL PAGE ──────────────────────────── */
.job-detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.job-detail-header {
  background: #fff; border: 1px solid var(--br);
  border-radius: 14px; padding: 28px; margin-bottom: 22px;
  box-shadow: var(--sh);
}
.job-detail-image { height: 240px; border-radius: 10px; overflow: hidden; margin-bottom: 20px; }
.job-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.job-detail-title-row {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.deadline-badge {
  background: #fff8f0; border: 1px solid #fbd38d;
  color: #c05621; padding: 6px 12px; border-radius: 6px;
  font-size: 12px; font-weight: 600;
}
.deadline-badge.expired { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.job-detail-section {
  background: #fff; border: 1px solid var(--br);
  border-radius: 14px; padding: 28px; margin-bottom: 22px;
  box-shadow: var(--sh);
}
.job-detail-section h2 {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 700; color: var(--tx);
  margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 1px solid var(--br);
}
.job-detail-section h2 i { color: var(--p); font-size: 16px; }
.job-desc-content { font-size: 15px; color: var(--tm); line-height: 1.85; }
.req-list { padding-left: 20px; }
.req-list li { margin-bottom: 8px; color: var(--tm); }

.sidebar-card {
  background: #fff; border: 1px solid var(--br);
  border-radius: 12px; padding: 20px; margin-bottom: 18px;
  box-shadow: var(--sh);
}
.sidebar-card h4 {
  font-size: 13px; font-weight: 700; color: var(--tx);
  letter-spacing: .5px; text-transform: uppercase;
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--br);
}
.overview-list { list-style: none; }
.overview-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--br);
}
.overview-list li:last-child { border-bottom: none; }
.overview-list li i { color: var(--p); width: 16px; text-align: center; }
.overview-list li small { display: block; font-size: 11px; color: var(--ts); text-transform: uppercase; letter-spacing: .5px; }
.overview-list li strong { font-size: 14px; color: var(--tx); }
.related-job {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0; border-bottom: 1px solid var(--br); text-decoration: none; gap: 10px;
}
.related-job:last-child { border-bottom: none; }
.related-job strong { display: block; font-size: 13px; color: var(--tx); font-weight: 600; margin-bottom: 3px; }
.related-job span   { font-size: 11px; color: var(--ts); }

/* ── 21. CONTACT PAGE ─────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 440px; gap: 36px; align-items: start; }
.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.info-card {
  background: var(--sf); border: 1px solid var(--br);
  border-radius: 10px; padding: 14px 16px;
  display: flex; align-items: flex-start; gap: 12px;
}
.info-icon {
  width: 38px; height: 38px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
.info-label { font-size: 11px; font-weight: 700; color: var(--ts); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 3px; }
.info-val   { font-size: 13px; font-weight: 500; color: var(--tx); line-height: 1.4; }
.contact-form-card {
  background: #fff; border: 1px solid var(--br);
  border-radius: 14px; padding: 28px; box-shadow: var(--sh);
}
.contact-form-card h2 {
  font-size: 20px; font-weight: 700; color: var(--tx);
  margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--br);
}
.map-col { position: sticky; top: 90px; }
.map-header {
  background: #fff; border: 1px solid var(--br);
  border-radius: 12px 12px 0 0; padding: 16px 18px;
  display: flex; align-items: center; gap: 12px; border-bottom: none;
}
.map-header i { font-size: 20px; color: var(--p); flex-shrink: 0; }
.map-header strong { display: block; font-size: 14px; font-weight: 700; color: var(--tx); margin-bottom: 2px; }
.map-header span   { font-size: 12px; color: var(--tm); }
.map-wrap { height: 380px; border: 1px solid var(--br); border-top: none; border-bottom: none; overflow: hidden; }
.map-wrap iframe { display: block; }
.map-footer {
  background: var(--sf); border: 1px solid var(--br);
  border-radius: 0 0 12px 12px; padding: 12px 16px; border-top: none;
}

/* ── 22. FOOTER ───────────────────────────────────── */
footer { background: #111827; color: rgba(255,255,255,.65); }
.footer-top { padding: 56px 28px 40px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; }
.fb-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.fb-mark {
  width: 36px; height: 36px; background: var(--p);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 17px; color: #fff; flex-shrink: 0;
}
.fb-logo strong { display: block; font-size: 14px; font-weight: 700; color: #fff; }
.fb-logo small  { font-size: 11px; color: #10b981; }
.footer-brand p { font-size: 13px; color: #6b7280; line-height: 1.8; margin-bottom: 18px; max-width: 260px; }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
  width: 34px; height: 34px; border-radius: 7px; background: #1f2937;
  display: flex; align-items: center; justify-content: center;
  color: #6b7280; font-size: 13px; text-decoration: none; transition: all .2s;
}
.footer-socials a:hover { background: var(--p); color: #fff; }
.footer-col h4 {
  font-size: 12px; font-weight: 700; color: #fff;
  letter-spacing: .5px; text-transform: uppercase; margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { color: #6b7280; text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-col ul li a:hover { color: #10b981; }
.footer-contact div { display: flex; gap: 10px; margin-bottom: 11px; font-size: 13px; color: #6b7280; align-items: flex-start; }
.footer-contact i   { color: var(--p); margin-top: 3px; flex-shrink: 0; width: 14px; }
.license-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--p); color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 6px 12px; border-radius: 100px; margin-top: 12px;
}
.footer-bottom { padding: 16px 28px; border-top: 1px solid #1f2937; }
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { font-size: 12px; color: #374151; }
.footer-bottom-links { display: flex; align-items: center; gap: 16px; }
.footer-bottom-links a { font-size: 12px; color: #6b7280; text-decoration: none; transition: color .2s; }
.footer-bottom-links a:hover { color: #10b981; }
.lang-btn {
  display: flex; align-items: center; gap: 5px;
  background: #1f2937; padding: 5px 10px; border-radius: 6px;
  color: #9ca3af !important;
}
.lang-btn:hover { background: var(--p); color: #fff !important; }

/* ── 23. RTL OVERRIDES ────────────────────────────── */
[dir="rtl"] .form-row          { direction: rtl; }
[dir="rtl"] .job-meta-item     { flex-direction: row-reverse; justify-content: flex-end; }
[dir="rtl"] .job-card-foot     { flex-direction: row-reverse; }
[dir="rtl"] .breadcrumb        { flex-direction: row-reverse; justify-content: flex-end; }
[dir="rtl"] .nav-links         { flex-direction: row-reverse; }
[dir="rtl"] .job-type-badge    { left: auto; right: 10px; }
[dir="rtl"] .job-feat-badge    { right: auto; left: 10px; }

/* ── 24. RESPONSIVE ───────────────────────────────── */
@media (max-width: 1024px) {
  .grid-3, .grid-4          { grid-template-columns: repeat(2, 1fr); }
  .footer-inner             { grid-template-columns: 1fr 1fr; gap: 32px; }
  .why-section              { grid-template-columns: 1fr; }
  .why-right                { min-height: 320px; }
  .why-left                 { padding: 44px 28px; }
}
@media (max-width: 900px) {
  .jobs-layout              { grid-template-columns: 1fr; }
  .jobs-sidebar             { position: static; }
  .job-detail-layout        { grid-template-columns: 1fr; }
  .contact-grid             { grid-template-columns: 1fr; }
  .map-col                  { position: static; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute;
    top: 66px; left: 0; right: 0;
    background: #fff; flex-direction: column;
    padding: 12px; gap: 2px;
    border-bottom: 1px solid var(--br);
    box-shadow: var(--shm); z-index: 200;
  }
  .nav-links.open           { display: flex; }
  .nav-links > li           { width: 100%; }
  .dropdown {
    position: static; box-shadow: none;
    border: none; padding: 0 0 0 16px; display: block;
  }
  [dir="rtl"] .dropdown     { padding: 0 16px 0 0; }
  .hamburger                { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section                  { padding: 52px 20px; }
  .form-row                 { grid-template-columns: 1fr; }
  .stats-strip              { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-item                { border: none; }
  .hero-slider              { height: 480px; }
  .hs-arrow                 { display: none; }
  .search-form              { flex-direction: column; height: auto; padding: 16px 0; }
  .sf-field                 { width: 100%; }
  .footer-inner             { grid-template-columns: 1fr; }
  .footer-bottom-inner      { flex-direction: column; text-align: center; }
  .info-cards               { grid-template-columns: 1fr; }
  .lang-switch span         { display: none; }
}
@media (max-width: 480px) {
  .grid-4                   { grid-template-columns: repeat(2, 1fr); }
  .hs-inner h1              { font-size: 26px; }
}
