/* ==========================================================================
   FIVE HILLS WORKFORCE & TECHNICAL SOLUTIONS - DESIGN SYSTEM
   Default: Pristine Luxury Light Mode | Optional: Deep Obsidian Dark Mode
   Anti-Slop UI/UX Architecture | Powered by Taste-Skill Guidelines
   ========================================================================== */

:root {
  /* --- PALETTE: LIGHT THEME (DEFAULT) --- */
  --bg-page: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F1F5F9;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-solid: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-strong: rgba(255, 255, 255, 0.96);
  
  --primary: #0c3c66;
  --primary-light: #165691;
  --primary-dark: #07233d;
  --primary-rgb: 12, 60, 102;
  
  --accent-emerald: #1b8243;
  --accent-emerald-light: #239e53;
  --accent-emerald-rgb: 27, 130, 67;
  
  --accent-gold: #cfa15c;
  --accent-gold-light: #dfb574;
  --accent-gold-rgb: 207, 161, 92;

  --text-title: #0f172a;
  --text-heading: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-inverse: #FFFFFF;

  --border-subtle: rgba(12, 60, 102, 0.1);
  --border-medium: rgba(12, 60, 102, 0.2);
  --border-accent: rgba(27, 130, 67, 0.35);

  --shadow-sm: 0 2px 8px rgba(12, 60, 102, 0.04);
  --shadow-md: 0 10px 25px -4px rgba(12, 60, 102, 0.08), 0 4px 10px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 45px -8px rgba(12, 60, 102, 0.12), 0 8px 18px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 30px rgba(27, 130, 67, 0.18);
  
  --header-bg: rgba(248, 250, 252, 0.88);
  --header-border: rgba(12, 60, 102, 0.08);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --font-heading: 'Plus Jakarta Sans', 'Montserrat', 'Tajawal', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Poppins', 'Tajawal', sans-serif;

  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- DARK THEME OVERRIDES --- */
[data-theme="dark"] {
  --bg-page: #03070c;
  --bg-surface: #07111e;
  --bg-surface-elevated: #0c1c2e;
  --bg-card: rgba(10, 24, 42, 0.78);
  --bg-card-solid: #091728;
  --bg-glass: rgba(7, 17, 30, 0.85);
  --bg-glass-strong: rgba(7, 17, 30, 0.96);

  --primary: #38bdf8;
  --primary-light: #7dd3fc;
  --primary-dark: #0284c7;
  --primary-rgb: 56, 189, 248;

  --accent-emerald: #22c55e;
  --accent-emerald-light: #4ade80;
  --accent-emerald-rgb: 34, 197, 94;

  --accent-gold: #fbbf24;
  --accent-gold-light: #fcd34d;
  --accent-gold-rgb: 251, 191, 36;

  --text-title: #F8FAFC;
  --text-heading: #F8FAFC;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-inverse: #03070c;

  --border-subtle: rgba(56, 189, 248, 0.12);
  --border-medium: rgba(56, 189, 248, 0.25);
  --border-accent: rgba(34, 197, 94, 0.35);

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 35px rgba(56, 189, 248, 0.25);

  --header-bg: rgba(3, 7, 12, 0.88);
  --header-border: rgba(56, 189, 248, 0.12);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  background-color: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
  transition: background-color 0.4s ease, color 0.4s ease;
  -webkit-font-smoothing: antialiased;
}

[dir="rtl"] body {
  font-family: 'Tajawal', var(--font-body);
  text-align: right;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-title);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 24px;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #0c3c66 0%, #1b8243 50%, #cfa15c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="dark"] .gold-gradient-text {
  background: linear-gradient(135deg, #7dd3fc 0%, #4ade80 50%, #fcd34d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  border: 1px solid rgba(var(--primary-rgb), 0.18);
  width: fit-content;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.4;
  word-break: break-word;
}

.pill-badge.emerald {
  background: rgba(var(--accent-emerald-rgb), 0.1);
  color: var(--accent-emerald);
  border-color: rgba(var(--accent-emerald-rgb), 0.25);
}

.pill-badge.gold {
  background: rgba(var(--accent-gold-rgb), 0.12);
  color: var(--accent-gold);
  border-color: rgba(var(--accent-gold-rgb), 0.3);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  background: linear-gradient(135deg, #0c3c66 0%, #082946 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(12, 60, 102, 0.28);
  cursor: pointer;
  transition: var(--transition-smooth);
}
[data-theme="dark"] .btn-primary {
  background: linear-gradient(135deg, #165691 0%, #0c3c66 100%);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(12, 60, 102, 0.38);
}

.btn-emerald {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  background: linear-gradient(135deg, #1b8243 0%, #125e30 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(27, 130, 67, 0.3);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(27, 130, 67, 0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  background: transparent;
  color: var(--text-title);
  border: 1.5px solid var(--border-medium);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.btn-outline:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--header-border);
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-title);
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-logo-img {
  height: 50px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
  transition: var(--transition-smooth);
}

.brand-logo-img.logo-dark {
  display: none;
}

[data-theme="dark"] .brand-logo-img.logo-light {
  display: none;
}

[data-theme="dark"] .brand-logo-img.logo-dark {
  display: block;
}

.footer-brand-logo .brand-logo-img {
  height: 56px;
  max-width: 270px;
}

.brand-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0c3c66 0%, #1b8243 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(12, 60, 102, 0.25);
}

.brand-logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-emerald);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-body);
  position: relative;
  padding: 6px 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface-elevated);
  color: var(--text-title);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.icon-btn:hover {
  background: var(--bg-surface);
  border-color: var(--primary);
  transform: scale(1.05);
}

.lang-btn {
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--bg-surface-elevated);
  color: var(--text-title);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.lang-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ==========================================================================
   HERO SECTION & REALISTIC 3D EARTH GLOBE
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 94vh;
  padding-top: 120px;
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 80% 30%, rgba(12, 60, 102, 0.08), transparent 55%),
              radial-gradient(circle at 10% 70%, rgba(27, 130, 67, 0.06), transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 20;
}

.hero-title {
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  margin-top: 16px;
  margin-bottom: 18px;
  font-weight: 800;
  line-height: 1.14;
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 30px;
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item h3 {
  font-size: 1.85rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 2px;
}
.stat-item p {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* 3D Real Earth Globe Container */
.hero-visual {
  position: relative;
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

#hero-globe-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 5;
  cursor: grab;
  touch-action: pan-y !important;
}
#hero-globe-canvas:active {
  cursor: grabbing;
}

/* Floating Projected Glass Badges (Screen Anchored) */
#globe-badges-layer {
  position: absolute;
  inset: 0;
  z-index: 15;
  pointer-events: none;
  overflow: hidden;
}

.floating-hub-badge {
  position: absolute;
  top: 0; left: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-accent);
  color: var(--text-title);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  pointer-events: auto;
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s, border-color 0.3s;
  white-space: nowrap;
  user-select: none;
  will-change: transform;
}

.floating-hub-badge:hover, .floating-hub-badge.active {
  background: var(--primary);
  border-color: var(--accent-gold);
  color: #FFFFFF;
  transform: scale(1.1) translate(-50%, -100%) !important;
  box-shadow: var(--shadow-glow);
}

.floating-hub-badge .badge-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

/* Interactive Floating Details Card */
.globe-hub-card {
  position: absolute;
  bottom: 15px;
  right: 10px;
  z-index: 25;
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-lg);
  max-width: 320px;
  transition: var(--transition-smooth);
}
[dir="rtl"] .globe-hub-card {
  right: auto;
  left: 10px;
}

.globe-hub-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
}

.globe-controls-pill {
  position: absolute;
  left: 10px;
  top: 20px;
  z-index: 25;
  display: flex;
  gap: 8px;
  background: var(--bg-card);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}
[dir="rtl"] .globe-controls-pill {
  left: auto;
  right: 10px;
}

.globe-ctrl-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-title);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.globe-ctrl-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 12px var(--accent-emerald);
  display: inline-block;
  margin-right: 6px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(27, 130, 67, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(27, 130, 67, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(27, 130, 67, 0); }
}

/* ==========================================================================
   DIVISIONS, VACANCIES, PROCESS & OTHER SECTIONS
   ========================================================================== */
.divisions-section {
  padding: 90px 0;
  background: var(--bg-surface);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  margin-top: 12px;
  margin-bottom: 14px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.division-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.division-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  background: var(--bg-surface-elevated);
  color: var(--text-body);
  border: 1.5px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.division-tab-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(12, 60, 102, 0.28);
}

.division-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}
.division-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: rgba(12, 60, 102, 0.08);
  color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}
.service-card:hover .service-card-icon {
  background: var(--primary);
  color: #FFFFFF;
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tag-item {
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  color: var(--text-body);
  border: 1px solid var(--border-subtle);
}

/* --- ACCELERATED MOBILIZATION & SPEED SLAs --- */
.sla-accelerated-section {
  padding: 40px 0 70px 0;
  background: var(--bg-page);
}

.sla-card-wrapper {
  background: var(--bg-card);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.sla-card-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-gold), var(--primary));
}

.sla-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 40px auto;
}

.sla-header h2 {
  font-size: 2.1rem;
  margin: 14px 0 12px 0;
  color: var(--text-title);
  line-height: 1.25;
}

.sla-header p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.sla-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.sla-metric-item {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sla-metric-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent-emerald);
  box-shadow: var(--shadow-md);
}

.sla-metric-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(27, 130, 67, 0.1);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: var(--transition-smooth);
}

.sla-metric-item:hover .sla-metric-icon {
  background: var(--accent-emerald);
  color: #FFFFFF;
  transform: scale(1.1);
}

.sla-metric-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.sla-unit {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-left: 2px;
}

[dir="rtl"] .sla-unit {
  margin-left: 0;
  margin-right: 2px;
}

.sla-metric-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 8px;
}

.sla-metric-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

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

@media (max-width: 640px) {
  .sla-card-wrapper {
    padding: 30px 18px;
  }
  .sla-header h2 {
    font-size: 1.6rem;
  }
  .sla-metrics-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.vacancies-section {
  padding: 90px 0;
  background: var(--bg-page);
}

.vacancies-controls {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
  background: var(--bg-surface);
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface-elevated);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  flex: 1;
  min-width: 250px;
}
.search-box input {
  width: 100%;
  color: var(--text-title);
}

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--bg-surface-elevated);
  color: var(--text-body);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.vacancies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.job-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.job-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.job-country-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(12, 60, 102, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.job-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.job-meta-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.job-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.job-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.salary-tag {
  font-weight: 700;
  color: var(--accent-emerald);
  font-size: 0.95rem;
}

.process-section {
  padding: 90px 0;
  background: var(--bg-surface);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  position: relative;
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  position: relative;
  transition: var(--transition-smooth);
}
.process-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.step-num {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.9;
  position: absolute;
  top: 16px;
  right: 20px;
  letter-spacing: -0.03em;
  transition: var(--transition-smooth);
}
[data-theme="dark"] .step-num {
  background: linear-gradient(135deg, #38bdf8 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.95;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.3));
}
.process-card:hover .step-num {
  transform: scale(1.12);
  opacity: 1;
}
[dir="rtl"] .step-num {
  right: auto;
  left: 20px;
}

.process-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(207, 161, 92, 0.12);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.process-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.process-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.industries-section {
  padding: 90px 0;
  background: var(--bg-page);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.industry-bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.industry-bento-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.industry-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--primary);
}

.industry-bento-card h3 {
  font-size: 1.18rem;
  margin-bottom: 6px;
}

.industry-bento-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.visa-hub-section {
  padding: 90px 0;
  background: var(--bg-surface);
}

.country-nav {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 35px;
  justify-content: center;
}

.country-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  background: var(--bg-surface-elevated);
  color: var(--text-body);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
}
.country-tab-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(12, 60, 102, 0.25);
}

.country-details-box {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: var(--shadow-md);
}

.country-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.info-block h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-block ul li {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  position: relative;
  padding-left: 18px;
}
[dir="rtl"] .info-block ul li {
  padding-left: 0;
  padding-right: 18px;
}
.info-block ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--accent-emerald);
  font-size: 0.75rem;
}
[dir="rtl"] .info-block ul li::before {
  left: auto;
  right: 0;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(3, 7, 12, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 580px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: var(--transition-smooth);
}
.modal-backdrop.active .modal-dialog {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
}
[dir="rtl"] .modal-close {
  right: auto;
  left: 20px;
}

.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
  color: var(--text-title);
  font-size: 0.92rem;
  transition: var(--transition-smooth);
}
.form-control:focus {
  border-color: var(--primary);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px rgba(12, 60, 102, 0.12);
}

.file-dropzone {
  border: 2px dashed var(--border-medium);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  background: var(--bg-surface-elevated);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.file-dropzone:hover {
  border-color: var(--primary);
  background: rgba(12, 60, 102, 0.04);
}

.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-medium);
  padding: 70px 0 35px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-gold), var(--primary));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1.1fr 1.2fr 1.4fr;
  gap: 45px;
  margin-bottom: 50px;
  align-items: start;
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
}

.footer-about p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
  max-width: 340px;
}

.footer-badge-wrap {
  margin-top: 6px;
}

.footer-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(37, 211, 102, 0.12);
  color: #1b8243;
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-whatsapp-btn:hover {
  background: #25d366;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

[data-theme="dark"] .footer-whatsapp-btn {
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.35);
}

.footer-col h4 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-title);
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2.5px;
  background: var(--accent-gold);
  border-radius: 2px;
}

[dir="rtl"] .footer-col h4::after {
  left: auto;
  right: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

[dir="rtl"] .footer-links a:hover {
  transform: translateX(-4px);
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.footer-contact-list li svg {
  flex-shrink: 0;
  color: var(--accent-emerald);
  margin-top: 2px;
}

.footer-contact-list a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-contact-list a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 500;
}

.whatsapp-floating {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: var(--transition-bounce);
}
.whatsapp-floating:hover {
  transform: scale(1.12);
}
[dir="rtl"] .whatsapp-floating {
  right: auto;
  left: 25px;
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.2rem; }
  .hero-stats-strip { grid-template-columns: 1fr; gap: 14px; }
  .vacancies-controls { flex-direction: column; align-items: stretch; }
  .country-details-box { padding: 24px; }
  .globe-hub-card { position: static; max-width: 100%; margin-top: 15px; }
  .hero-visual { height: 400px; }
}
/* ==========================================================================
   HERO SECTION: FULL CINEMATIC BANNER
   ========================================================================== */
.hero-section.full-banner {
  position: relative;
  min-height: 94vh;
  padding-top: 130px;
  padding-bottom: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.02);
  transition: transform 1.2s ease;
}

.hero-backdrop-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(248, 250, 252, 0.82) 0%, 
    rgba(248, 250, 252, 0.72) 40%,
    rgba(248, 250, 252, 0.94) 100%);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

[data-theme="dark"] .hero-backdrop-overlay {
  background: linear-gradient(180deg, 
    rgba(3, 7, 12, 0.86) 0%, 
    rgba(3, 7, 12, 0.75) 45%,
    rgba(3, 7, 12, 0.96) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero-container-rel {
  position: relative;
  z-index: 10;
}

.hero-content-centered {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content-centered .pill-badge {
  margin-bottom: 18px;
}

.hero-content-centered .hero-title {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 14px rgba(255, 255, 255, 0.6);
}
[data-theme="dark"] .hero-content-centered .hero-title {
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.hero-content-centered .hero-desc {
  font-size: 1.12rem;
  color: var(--text-body);
  max-width: 720px;
  margin-bottom: 34px;
  line-height: 1.75;
}

.hero-content-centered .hero-cta-group {
  justify-content: center;
  margin-bottom: 45px;
}

.glass-cta {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
[data-theme="dark"] .glass-cta {
  background: rgba(7, 17, 30, 0.8) !important;
}

.hero-stats-glass-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
  max-width: 900px;
}

.stat-glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}
.stat-glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-lg);
}

.stat-glass-card .stat-icon {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.stat-glass-card h3 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2px;
}

.stat-glass-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

@media (max-width: 850px) {
  .hero-stats-glass-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .hero-stats-glass-grid {
    grid-template-columns: 1fr;
  }
}

/* SVG BASIC ICON SYSTEM */
.stat-icon-svg {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  transition: var(--transition-smooth);
}
.stat-glass-card:hover .stat-icon-svg {
  background: var(--primary);
  color: #FFFFFF;
  transform: scale(1.08);
}

.process-icon svg {
  stroke: var(--accent-gold);
  transition: var(--transition-smooth);
}
.process-card:hover .process-icon {
  background: var(--accent-gold);
}
.process-card:hover .process-icon svg {
  stroke: #FFFFFF;
}

.service-card-icon svg {
  stroke: var(--primary);
  transition: var(--transition-smooth);
}
.service-card:hover .service-card-icon svg {
  stroke: #FFFFFF;
}

.industry-icon-box svg {
  stroke: var(--primary);
  transition: var(--transition-smooth);
}
.industry-bento-card:hover .industry-icon-box {
  background: var(--primary);
}
.industry-bento-card:hover .industry-icon-box svg {
  stroke: #FFFFFF;
}

/* ==========================================================================
   MOBILE & RESPONSIVE DESIGN PERFECTION
   ========================================================================== */

/* Mobile Hamburger Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  transition: var(--transition-smooth);
}
.mobile-menu-btn:hover {
  background: var(--bg-surface);
  border-color: var(--primary);
}

.mobile-menu-btn span {
  display: block;
  height: 2.5px;
  width: 22px;
  background: var(--text-title);
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: min(320px, 86vw);
  height: 100vh;
  height: 100dvh;
  background: var(--bg-card-solid);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--border-medium);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 20px;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
}

[dir="rtl"] .mobile-nav-drawer {
  right: auto;
  left: -340px;
  border-left: none;
  border-right: 1px solid var(--border-medium);
  transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
}

.mobile-nav-drawer.active {
  right: 0;
}
[dir="rtl"] .mobile-nav-drawer.active {
  left: 0;
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-close {
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 4px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
  flex-grow: 1;
  overflow-y: auto;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
}

.mobile-nav-footer {
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.mobile-nav-controls {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 991px) {
  .nav-menu {
    display: none;
  }
  .desktop-only {
    display: none !important;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .site-header {
    padding: 0;
  }
  .nav-container {
    height: 64px;
  }
  .brand-logo-img {
    height: 38px;
    max-width: 175px;
  }
  .nav-actions {
    gap: 8px;
  }
  .hero-section.full-banner {
    padding-top: 96px;
    padding-bottom: 45px;
    min-height: auto;
  }
  .hero-content-centered .hero-title {
    font-size: 2.2rem;
  }
  .hero-content-centered .hero-desc {
    font-size: 1rem;
    margin-bottom: 26px;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
  }
  .hero-cta-group .btn-emerald,
  .hero-cta-group .btn-outline {
    width: 100%;
    justify-content: center;
  }
  .hero-stats-glass-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .division-tabs {
    flex-direction: column;
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .division-tab-btn {
    width: 100%;
    justify-content: center;
  }
  .vacancies-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .filter-pills {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }
  .country-nav {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .country-tab-btn {
    flex-shrink: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 16px;
  }
  .nav-container {
    height: 60px;
  }
  .brand-logo-img {
    height: 35px;
    max-width: 160px;
  }
  .lang-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  .mobile-menu-btn {
    width: 38px;
    height: 38px;
    padding: 7px;
  }
  .hero-section.full-banner {
    padding-top: 82px;
    padding-bottom: 35px;
  }
  .hero-content-centered .pill-badge {
    font-size: 0.72rem;
    padding: 6px 12px;
    letter-spacing: 0.02em;
    max-width: 98%;
    line-height: 1.35;
    margin-bottom: 14px;
  }
  .hero-content-centered .hero-title {
    font-size: clamp(1.58rem, 6.4vw, 1.95rem);
    line-height: 1.24;
    margin-bottom: 12px;
  }
  .hero-content-centered .hero-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 22px;
    padding-inline: 2px;
  }
  .hero-cta-group {
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 26px;
  }
  .hero-cta-group .btn-emerald,
  .hero-cta-group .btn-outline {
    width: 100%;
    padding: 13px 20px;
    font-size: 0.95rem;
    justify-content: center;
  }
  .hero-stats-glass-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
    width: 100%;
  }
  .stat-glass-card {
    padding: 12px 8px;
    border-radius: var(--radius-md);
  }
  .stat-glass-card .stat-icon-svg {
    width: 36px;
    height: 36px;
    margin-bottom: 6px;
  }
  .stat-glass-card .stat-icon-svg svg {
    width: 18px;
    height: 18px;
  }
  .stat-glass-card h3 {
    font-size: 1.25rem;
    margin-bottom: 2px;
  }
  .stat-glass-card p {
    font-size: 0.72rem;
    line-height: 1.3;
  }
  .divisions-section {
    padding: 50px 0;
  }
  .section-header {
    margin-bottom: 28px;
  }
  .section-header h2 {
    font-size: 1.65rem;
    margin-top: 8px;
    margin-bottom: 10px;
  }
  .section-header p {
    font-size: 0.9rem;
  }
  .division-tabs {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 10px;
    margin-bottom: 24px;
  }
  .division-tab-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 0.88rem;
  }
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
  .service-card {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }
  .sla-section {
    padding: 50px 0;
  }
  .sla-card-wrapper {
    padding: 26px 14px;
    border-radius: var(--radius-lg);
  }
  .sla-header h2 {
    font-size: 1.55rem;
  }
  .sla-header p {
    font-size: 0.9rem;
  }
  .sla-metrics-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
  .sla-metric-item {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }
  .sla-metric-num {
    font-size: 1.9rem;
  }
  .vacancies-section {
    padding: 50px 0;
  }
  .vacancies-controls {
    padding: 14px 12px;
    gap: 12px;
    border-radius: var(--radius-md);
    flex-direction: column;
    align-items: stretch;
  }
  .search-box {
    min-width: 0 !important;
    width: 100%;
    padding: 10px 14px;
  }
  .filter-pills {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    width: 100%;
    gap: 6px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-pills::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    flex-shrink: 0;
    padding: 7px 14px;
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .vacancies-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .job-card {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }
  .job-title {
    font-size: 1.15rem;
  }
  .job-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .job-footer .btn-primary {
    width: 100%;
    text-align: center;
    padding: 11px 18px;
  }
  .process-section {
    padding: 50px 0;
  }
  .process-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
  .process-card {
    padding: 22px 18px;
    border-radius: var(--radius-md);
  }
  .step-num {
    font-size: 1.8rem;
    top: 14px;
    right: 16px;
  }
  [dir="rtl"] .step-num {
    right: auto;
    left: 16px;
  }
  .industries-section {
    padding: 50px 0;
  }
  .industries-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
  .industry-bento-card {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }
  .visa-hub-section {
    padding: 50px 0;
  }
  .country-nav {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    padding-bottom: 8px;
    margin-bottom: 22px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
  }
  .country-nav::-webkit-scrollbar {
    display: none;
  }
  .country-tab-btn {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .country-details-box {
    padding: 20px 14px;
    border-radius: var(--radius-lg);
  }
  .country-info-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }
  .visa-spec-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
  .site-footer {
    padding: 45px 0 25px;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
    margin-bottom: 30px;
  }
  .footer-brand-logo .brand-logo-img {
    height: 42px;
    max-width: 190px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding-top: 20px;
  }
  .whatsapp-floating {
    bottom: 18px;
    right: 18px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  [dir="rtl"] .whatsapp-floating {
    right: auto;
    left: 18px;
  }
  .modal-backdrop {
    padding: 12px;
  }
  .modal-dialog {
    padding: 24px 16px 20px;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    max-height: 90vh;
  }
  .modal-dialog .form-group[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 380px) {
  .container {
    padding-inline: 12px;
  }
  .brand-logo-img {
    height: 32px;
    max-width: 140px;
  }
  .lang-btn {
    padding: 5px 10px;
    font-size: 0.75rem;
  }
  .mobile-menu-btn {
    width: 36px;
    height: 36px;
    padding: 6px;
  }
  .hero-content-centered .hero-title {
    font-size: 1.5rem;
  }
}

/* Touch and Input Optimizations for Mobile */
input, select, textarea, button {
  font-size: 16px !important; /* Prevents auto-zoom in iOS Safari */
}
