/* ==========================================================================
   HR DUBAI PRO — Premium Recruitment Agency
   Design System v2.0
   ========================================================================== */

/* ---------- Reset & Variables ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Color Palette — sophisticated navy + warm gold + cream */
  --ink: #0B1F3A;
  --ink-soft: #1E3454;
  --ink-deep: #050F1F;
  --gold: #B89456;
  --gold-bright: #D4B27A;
  --gold-deep: #8E6E3D;
  --cream: #F7F3EC;
  --cream-deep: #EDE6D8;
  --paper: #FBFAF7;
  --white: #FFFFFF;
  --text: #1A1F2C;
  --text-soft: #5A6478;
  --text-light: #8B94A8;
  --line: #E8E4DC;
  --line-dark: #D6D0C2;

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ar: 'Cairo', 'Tajawal', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  /* Layout */
  --max-width: 1320px;
  --max-content: 1100px;
  --header-h: 88px;

  /* Effects */
  --shadow-1: 0 2px 8px rgba(11, 31, 58, 0.04);
  --shadow-2: 0 8px 24px rgba(11, 31, 58, 0.08);
  --shadow-3: 0 20px 50px rgba(11, 31, 58, 0.12);
  --shadow-4: 0 30px 80px rgba(11, 31, 58, 0.18);
  --shadow-gold: 0 20px 60px rgba(184, 148, 86, 0.25);

  --radius-xs: 2px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;

  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 0.2s;
  --t: 0.4s;
  --t-slow: 0.7s;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: 'kern' 1, 'liga' 1;
}

body[dir="rtl"] {
  font-family: var(--font-ar);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

/* ---------- Typography System ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.h-display {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--gold);
}

body[dir="rtl"] .h-display {
  font-family: var(--font-ar);
  font-style: normal;
  font-weight: 800;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.625rem); }
h4 { font-size: 1.125rem; }

p { color: var(--text-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.25rem;
}

.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.eyebrow.centered {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow.light {
  color: var(--gold-bright);
}

.section-title {
  margin-bottom: 1.25rem;
  max-width: 800px;
}

.section-title.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-intro {
  font-size: 1.125rem;
  color: var(--text-soft);
  max-width: 640px;
  line-height: 1.7;
}

.section-intro.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header {
  margin-bottom: 4rem;
}

.section-header.centered {
  text-align: center;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.75rem;
}

.container-narrow {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 1.75rem;
}

section { padding: var(--space-2xl) 0; }
.section-tight { padding: var(--space-xl) 0; }

@media (max-width: 768px) {
  section { padding: var(--space-xl) 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1rem 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-full);
  transition: all var(--t) var(--ease);
  white-space: nowrap;
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--t) var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

body[dir="rtl"] .btn:hover svg {
  transform: translateX(-4px);
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--ink-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-3);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-gold:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--cream);
}

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.8125rem; }
.btn-lg { padding: 1.125rem 2.5rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* Animated arrow link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: gap var(--t) var(--ease), color var(--t) var(--ease);
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform var(--t) var(--ease);
}

.link-arrow:hover {
  gap: 1rem;
  color: var(--gold-deep);
}

body[dir="rtl"] .link-arrow svg {
  transform: scaleX(-1);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  transition: all var(--t) var(--ease);
  background: transparent;
}

.header.scrolled {
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
}

.header.on-light {
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.75rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.header:not(.scrolled):not(.on-light) .logo {
  color: var(--white);
}

.logo-mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.logo-mark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, var(--gold) 50%);
  opacity: 0.3;
}

.logo-mark span {
  position: relative;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  font-style: italic;
}

.logo-text-1 { font-family: var(--font-sans); font-weight: 800; }
.logo-text-2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  margin-left: 4px;
  font-size: 1.125rem;
}

body[dir="rtl"] .logo-text-2 {
  font-family: var(--font-ar);
  font-style: normal;
  font-weight: 700;
  margin-left: 0;
  margin-right: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  list-style: none;
}

.nav-link {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  transition: color var(--t-fast) var(--ease);
  padding: 0.5rem 0;
}

.header:not(.scrolled):not(.on-light) .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t) var(--ease);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active,
.nav-link:hover {
  color: var(--ink);
}

.header:not(.scrolled):not(.on-light) .nav-link:hover,
.header:not(.scrolled):not(.on-light) .nav-link.active {
  color: var(--white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  border: 1.5px solid var(--line-dark);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  transition: all var(--t-fast) var(--ease);
  background: transparent;
}

.header:not(.scrolled):not(.on-light) .lang-btn {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.lang-btn:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.header:not(.scrolled):not(.on-light) .lang-btn:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.lang-btn svg { width: 14px; height: 14px; }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
}

.menu-btn span {
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: all var(--t) var(--ease);
}

.header:not(.scrolled):not(.on-light) .menu-btn span {
  background: var(--white);
}

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

@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.5rem 1.75rem 2.5rem;
    transform: translateY(-110%);
    transition: transform var(--t-slow) var(--ease);
    box-shadow: var(--shadow-3);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-menu.active { transform: translateY(0); }
  .nav-menu li {
    border-bottom: 1px solid var(--line);
  }
  .nav-link {
    display: block;
    padding: 1.125rem 0;
    color: var(--ink) !important;
    font-size: 1rem;
  }
  .nav-link::after { display: none; }
  .menu-btn { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  background: linear-gradient(135deg, var(--ink-deep) 0%, var(--ink) 60%, var(--ink-soft) 100%);
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(184, 148, 86, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(184, 148, 86, 0.10) 0%, transparent 50%);
  pointer-events: none;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  opacity: 0.7;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 968px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.02;
  margin-bottom: 2rem;
}

.hero h1 .display {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-bright);
  position: relative;
}

body[dir="rtl"] .hero h1 .display {
  font-family: var(--font-ar);
  font-style: normal;
  font-weight: 800;
}

.hero h1 .display::after {
  content: '';
  position: absolute;
  bottom: 0.15em;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 540px;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 700px;
}

@media (max-width: 768px) {
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
  }
}

.hero-stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  color: var(--gold-bright);
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1;
  margin-bottom: 0.5rem;
}

body[dir="rtl"] .hero-stat-num {
  font-family: var(--font-ar);
  font-style: normal;
  font-weight: 700;
}

.hero-stat-label {
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  font-weight: 500;
}

/* Hero visual side - layered SVG composition */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.1;
  max-width: 540px;
  margin-left: auto;
}

body[dir="rtl"] .hero-visual {
  margin-left: 0;
  margin-right: auto;
}

.hero-visual-frame {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(184, 148, 86, 0.3);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(184, 148, 86, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, rgba(11, 31, 58, 0.4) 0%, rgba(11, 31, 58, 0.8) 100%);
  overflow: hidden;
}

.hero-visual-frame::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, transparent 30%, var(--gold) 50%, transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  opacity: 0.6;
}

.hero-skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.hero-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-3);
  animation: float 6s ease-in-out infinite;
}

.hero-floating-card-1 {
  top: 12%;
  left: -8%;
  animation-delay: 0s;
}

.hero-floating-card-2 {
  bottom: 18%;
  right: -10%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-floating-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.hero-floating-card-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-floating-card-title {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.125rem;
}

.hero-floating-card-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

@media (max-width: 968px) {
  .hero-visual { display: none; }
  .hero-actions { margin-bottom: 3rem; }
}

/* ---------- Scroll Indicator ---------- */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
}

.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: var(--gold-bright);
  animation: scrollDown 2.5s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

@media (max-width: 768px) {
  .hero-scroll { display: none; }
}

/* ---------- Trust Band (Client Logos Marquee) ---------- */
.trust {
  padding: 2.5rem 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.trust-label {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.75rem;
  font-weight: 600;
}

.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 0;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: 4rem;
  animation: marquee 40s linear infinite;
  padding-right: 4rem;
}

body[dir="rtl"] .marquee-track {
  animation-direction: reverse;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.trust:hover .marquee-track {
  animation-play-state: paused;
}

.trust-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: 1.625rem;
  color: var(--text-light);
  white-space: nowrap;
  letter-spacing: 0.02em;
  opacity: 0.65;
  transition: opacity var(--t) var(--ease);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.trust-logo:hover { opacity: 1; color: var(--ink); }

body[dir="rtl"] .trust-logo { font-style: normal; font-family: var(--font-ar); font-weight: 700; }

/* ---------- About Section (Asymmetric) ---------- */
.about {
  background: var(--paper);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
  aspect-ratio: 4 / 5;
}

.about-visual-main {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
}

.about-visual-overlay {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 65%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  overflow: hidden;
  box-shadow: var(--shadow-4);
}

body[dir="rtl"] .about-visual-overlay {
  right: auto;
  left: -30px;
}

.about-visual-overlay-content {
  position: absolute;
  inset: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-visual-overlay-content .big-number {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(3.5rem, 6vw, 5rem);
  line-height: 0.95;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

body[dir="rtl"] .about-visual-overlay-content .big-number {
  font-family: var(--font-ar);
  font-style: normal;
  font-weight: 800;
}

.about-visual-overlay-content .label {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  opacity: 0.8;
}

.about-bignum-bg {
  position: absolute;
  top: -10%;
  left: -5%;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(12rem, 25vw, 22rem);
  line-height: 0.9;
  color: var(--ink);
  opacity: 0.04;
  z-index: 0;
  pointer-events: none;
}

body[dir="rtl"] .about-bignum-bg {
  font-family: var(--font-ar);
  font-style: normal;
  font-weight: 900;
  left: auto;
  right: -5%;
}

.about-content { position: relative; z-index: 1; }

.about-content p {
  font-size: 1.0625rem;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.about-feature {
  display: flex;
  gap: 1rem;
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.about-feature-text h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.about-feature-text p {
  font-size: 0.875rem;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 968px) {
  .about-grid { grid-template-columns: 1fr; gap: 4rem; }
  .about-visual { max-width: 480px; margin: 0 auto; }
  .about-feature-grid { grid-template-columns: 1fr; }
}

/* ---------- Sectors / Specializations ---------- */
.sectors {
  background: var(--cream);
  position: relative;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 768px) {
  .sectors-grid { grid-template-columns: 1fr; }
}

.sector-card {
  position: relative;
  padding: 3rem;
  background: var(--paper);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--t) var(--ease);
  cursor: pointer;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sector-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-deep) 100%);
  opacity: 0;
  transition: opacity var(--t) var(--ease);
  z-index: 0;
}

.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
}

.sector-card:hover::before { opacity: 1; }
.sector-card:hover .sector-content > * { color: var(--white); }
.sector-card:hover .sector-content p { color: rgba(255, 255, 255, 0.7); }
.sector-card:hover .sector-number { color: var(--gold-bright); }
.sector-card:hover .sector-link { color: var(--gold-bright); }
.sector-card:hover .sector-link svg { transform: translateX(8px); }

body[dir="rtl"] .sector-card:hover .sector-link svg { transform: translateX(-8px); }

.sector-content { position: relative; z-index: 1; }

.sector-number {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1rem;
  color: var(--gold-deep);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  transition: color var(--t) var(--ease);
  display: block;
}

body[dir="rtl"] .sector-number { font-family: var(--font-ar); font-style: normal; font-weight: 700; }

.sector-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  line-height: 1.15;
  transition: color var(--t) var(--ease);
}

.sector-card p {
  color: var(--text-soft);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  transition: color var(--t) var(--ease);
}

.sector-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  transition: all var(--t) var(--ease);
}

.sector-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--t) var(--ease);
}

body[dir="rtl"] .sector-link svg { transform: scaleX(-1); }

.sector-bg-icon {
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-size: 8rem;
  opacity: 0.05;
  pointer-events: none;
  transition: opacity var(--t) var(--ease);
  z-index: 0;
}

body[dir="rtl"] .sector-bg-icon { right: auto; left: -20px; }

.sector-card:hover .sector-bg-icon { opacity: 0.12; }

/* ---------- Process Section ---------- */
.process {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.process::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(184, 148, 86, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.process .section-title { color: var(--white); }

.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent);
  opacity: 0.4;
  z-index: 0;
}

@media (max-width: 768px) {
  .process-steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .process-steps::before { display: none; }
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.process-step-num {
  width: 64px;
  height: 64px;
  background: var(--ink-deep);
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold-bright);
  margin-bottom: 1.5rem;
  position: relative;
}

body[dir="rtl"] .process-step-num { font-family: var(--font-ar); font-style: normal; font-weight: 800; }

.process-step-num::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(184, 148, 86, 0.2);
}

.process-step h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.process-step p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ---------- Featured Jobs (homepage) ---------- */
.featured-jobs {
  background: var(--paper);
}

.featured-jobs-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.featured-jobs-header .section-title { margin-bottom: 0; }

.featured-jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .featured-jobs-grid { grid-template-columns: 1fr; }
}

/* Job card (used in both featured + jobs page) */
.job-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--t) var(--ease);
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t) var(--ease);
}

body[dir="rtl"] .job-card::before { left: auto; right: 0; }

.job-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
  border-color: transparent;
}

.job-card:hover::before { transform: scaleY(1); }

.job-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.job-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: var(--cream);
  color: var(--gold-deep);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.job-card-badge.new { background: var(--gold); color: var(--ink); }

.job-card-posted {
  font-size: 0.75rem;
  color: var(--text-light);
}

.job-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  transition: color var(--t) var(--ease);
}

.job-card:hover h3 { color: var(--gold-deep); }

.job-card-company {
  font-size: 0.9375rem;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.job-card-company-dot {
  width: 4px;
  height: 4px;
  background: var(--text-light);
  border-radius: 50%;
}

.job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
}

.job-card-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.job-card-meta-item svg {
  width: 14px;
  height: 14px;
  color: var(--text-light);
}

.job-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.job-card-salary {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ink);
}

.job-card-salary span {
  font-size: 0.75rem;
  color: var(--text-soft);
  font-weight: 500;
  margin-left: 4px;
}

body[dir="rtl"] .job-card-salary span { margin-left: 0; margin-right: 4px; }

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.testimonials-quote-bg {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(15rem, 30vw, 28rem);
  line-height: 0.8;
  color: var(--gold);
  opacity: 0.07;
  pointer-events: none;
}

body[dir="rtl"] .testimonials-quote-bg { left: auto; right: 5%; }

.testimonials-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-track-container {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.7s var(--ease-out);
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 0 1rem;
}

.testimonial-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 2.5rem;
}

body[dir="rtl"] .testimonial-text {
  font-family: var(--font-ar);
  font-style: normal;
  font-weight: 600;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.5rem;
  border: 3px solid var(--paper);
  box-shadow: var(--shadow-2);
}

.testimonial-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--text-soft);
  margin-top: 0.125rem;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.testimonial-dot {
  width: 32px;
  height: 3px;
  background: var(--line-dark);
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background var(--t) var(--ease);
}

.testimonial-dot.active { background: var(--ink); }

/* ---------- Stats Section ---------- */
.stats-section {
  background: var(--ink);
  color: var(--white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(184, 148, 86, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(184, 148, 86, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 0; }
}

.stat-block {
  text-align: center;
  padding: 1rem;
  position: relative;
}

.stat-block:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

body[dir="rtl"] .stat-block:not(:last-child)::after { right: auto; left: 0; }

@media (max-width: 768px) {
  .stat-block:not(:last-child)::after { display: none; }
}

.stat-block .num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(3rem, 5vw, 4rem);
  line-height: 1;
  color: var(--gold-bright);
  margin-bottom: 0.75rem;
}

body[dir="rtl"] .stat-block .num { font-family: var(--font-ar); font-style: normal; font-weight: 800; }

.stat-block .label {
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* ---------- News (Featured + Grid) ---------- */
.news-section { background: var(--paper); }

.news-featured-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (max-width: 968px) {
  .news-featured-grid { grid-template-columns: 1fr; }
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--t) var(--ease);
  border: 1px solid var(--line);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: transparent;
}

.news-card-featured {
  display: grid;
  grid-template-rows: auto 1fr;
}

.news-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
}

.news-card-featured .news-card-image { aspect-ratio: 16 / 9; }

.news-card-image-1 { background: linear-gradient(135deg, #0B1F3A 0%, #1E3454 50%, #B89456 100%); }
.news-card-image-2 { background: linear-gradient(135deg, #B89456 0%, #8E6E3D 100%); }
.news-card-image-3 { background: linear-gradient(135deg, #1E3454 0%, #0B1F3A 100%); }
.news-card-image-4 { background: linear-gradient(135deg, #8E6E3D 0%, #B89456 100%); }
.news-card-image-5 { background: linear-gradient(135deg, #050F1F 0%, #1E3454 100%); }
.news-card-image-6 { background: linear-gradient(135deg, #0B1F3A 0%, #B89456 100%); }
.news-card-image-7 { background: linear-gradient(135deg, #1E3454 0%, #B89456 80%); }
.news-card-image-8 { background: linear-gradient(135deg, #B89456 0%, #050F1F 100%); }
.news-card-image-9 { background: linear-gradient(135deg, #050F1F 0%, #B89456 70%, #D4B27A 100%); }
.news-card-image-10 { background: linear-gradient(135deg, #1E3454 0%, #8E6E3D 100%); }
.news-card-image-11 { background: linear-gradient(135deg, #0B1F3A 0%, #1E3454 60%, #B89456 100%); }
.news-card-image-12 { background: linear-gradient(135deg, #050F1F 0%, #1E3454 50%, #B89456 100%); }

.news-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 250'%3E%3Cpath fill='%23ffffff' fill-opacity='0.08' d='M0 200 L80 190 L160 195 L240 185 L320 190 L400 180 L400 250 L0 250 Z'/%3E%3Cpath fill='%23ffffff' fill-opacity='0.12' d='M0 220 L100 215 L200 220 L300 210 L400 215 L400 250 L0 250 Z'/%3E%3Cg fill='%23ffffff' fill-opacity='0.15'%3E%3Crect x='50' y='110' width='25' height='110'/%3E%3Crect x='85' y='90' width='35' height='130'/%3E%3Crect x='130' y='115' width='30' height='105'/%3E%3Crect x='170' y='80' width='40' height='140'/%3E%3Crect x='220' y='100' width='30' height='120'/%3E%3Crect x='260' y='95' width='35' height='125'/%3E%3Crect x='305' y='85' width='30' height='135'/%3E%3Crect x='345' y='105' width='30' height='115'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: bottom;
}

.news-card-category {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--gold);
  color: var(--ink);
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}

body[dir="rtl"] .news-card-category { left: auto; right: 1.25rem; }

.news-card-body {
  padding: 1.75rem 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-featured .news-card-body { padding: 2.25rem 2.5rem 2.5rem; }

.news-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-bottom: 0.875rem;
  align-items: center;
}

.news-card-meta-dot {
  width: 3px;
  height: 3px;
  background: var(--text-light);
  border-radius: 50%;
}

.news-card h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 0.875rem;
  transition: color var(--t) var(--ease);
}

.news-card-featured h3 { font-size: 1.875rem; line-height: 1.2; }

.news-card:hover h3 { color: var(--gold-deep); }

.news-card p {
  color: var(--text-soft);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
}

.news-card-featured p { font-size: 1rem; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* ---------- Why Us Section ---------- */
.why-us {
  background: var(--paper);
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

body[dir="rtl"] .why-grid { border-left: 0; border-right: 1px solid var(--line); }

@media (max-width: 768px) {
  .why-grid { grid-template-columns: 1fr; }
}

.why-card {
  padding: 3rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background var(--t) var(--ease);
}

body[dir="rtl"] .why-card { border-right: 0; border-left: 1px solid var(--line); }

.why-card:hover { background: var(--cream); }

.why-number {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.4;
}

body[dir="rtl"] .why-number { font-family: var(--font-ar); font-style: normal; font-weight: 700; }

.why-card h3 {
  font-size: 1.375rem;
  margin-bottom: 1rem;
}

.why-card p {
  color: var(--text-soft);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ---------- Contact Section ---------- */
.contact {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(184, 148, 86, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.contact .section-title { color: var(--white); }
.contact .eyebrow { color: var(--gold-bright); }
.contact .section-intro { color: rgba(255, 255, 255, 0.75); }

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 968px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.contact-details {
  list-style: none;
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-detail {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  background: rgba(184, 148, 86, 0.12);
  border: 1px solid rgba(184, 148, 86, 0.3);
  color: var(--gold-bright);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg { width: 20px; height: 20px; }

.contact-detail-content strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.contact-detail-content span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* Contact form */
.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}

.form-group { margin-bottom: 1.25rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.9375rem 1.125rem;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: all var(--t-fast) var(--ease);
}

.form-input::placeholder, .form-textarea::placeholder { color: rgba(255, 255, 255, 0.35); }

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(0, 0, 0, 0.25);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}

.form-select option {
  background: var(--ink);
  color: var(--white);
}

.form-message {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
}

.form-message.error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

/* Light variant for forms outside hero/contact */
.form-light .form-input,
.form-light .form-select,
.form-light .form-textarea {
  background: var(--paper);
  border-color: var(--line);
  color: var(--text);
}

.form-light .form-input::placeholder,
.form-light .form-textarea::placeholder { color: var(--text-light); }

.form-light .form-input:focus,
.form-light .form-select:focus,
.form-light .form-textarea:focus {
  border-color: var(--ink);
  background: var(--white);
}

.form-light .form-label { color: var(--ink); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 5rem 0 2rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}

@media (max-width: 968px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.footer-brand .logo { color: var(--white); margin-bottom: 1.25rem; }
.footer-brand p { font-size: 0.9375rem; line-height: 1.7; margin-bottom: 1.75rem; }

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.75);
  transition: all var(--t) var(--ease);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-3px);
}

.footer-social svg { width: 16px; height: 16px; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  font-size: 0.9375rem;
  transition: color var(--t-fast) var(--ease);
}

.footer-col a:hover { color: var(--gold-bright); }

.footer-contact-item {
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-bottom: 0.875rem;
}

.footer-newsletter p {
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.footer-newsletter-form {
  display: flex;
  gap: 0;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  color: var(--white);
  font-family: inherit;
  font-size: 0.875rem;
}

body[dir="rtl"] .footer-newsletter-form input {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.footer-newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.35); }

.footer-newsletter-form input:focus { outline: none; border-color: var(--gold); }

.footer-newsletter-form button {
  padding: 0.75rem 1.25rem;
  background: var(--gold);
  color: var(--ink);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 600;
  font-size: 0.8125rem;
  transition: background var(--t) var(--ease);
}

body[dir="rtl"] .footer-newsletter-form button {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.footer-newsletter-form button:hover { background: var(--gold-bright); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
  margin-left: 1.5rem;
}

body[dir="rtl"] .footer-bottom a { margin-left: 0; margin-right: 1.5rem; }

.footer-bottom a:hover { color: var(--gold-bright); }

/* ---------- Page Hero (sub-pages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + 5rem) 0 5rem;
  background: linear-gradient(135deg, var(--ink-deep) 0%, var(--ink) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(184, 148, 86, 0.12) 0%, transparent 50%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.page-hero p { font-size: 1.125rem; color: rgba(255, 255, 255, 0.75); line-height: 1.6; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.breadcrumb a:hover { color: var(--gold-bright); }
.breadcrumb-separator { opacity: 0.4; }

/* ---------- Jobs Page ---------- */
.jobs-page-section {
  background: var(--paper);
  padding: 4rem 0;
}

.jobs-filter-bar {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 768px) { .jobs-filter-bar { grid-template-columns: 1fr; } }

.jobs-search-wrapper {
  position: relative;
}

.jobs-search-wrapper svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-light);
  pointer-events: none;
}

body[dir="rtl"] .jobs-search-wrapper svg { left: auto; right: 1rem; }

.jobs-search-wrapper input {
  padding-left: 2.75rem;
}

body[dir="rtl"] .jobs-search-wrapper input {
  padding-left: 1.125rem;
  padding-right: 2.75rem;
}

.jobs-count-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0 0.25rem;
}

.jobs-count {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

.jobs-count span { color: var(--gold-deep); }

.jobs-sort {
  font-size: 0.8125rem;
  color: var(--text-soft);
}

.jobs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 768px) { .jobs-list { grid-template-columns: 1fr; } }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 15, 31, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 200;
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal {
  background: var(--paper);
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 3rem;
  position: relative;
  transform: translateY(20px);
  transition: transform var(--t) var(--ease-out);
}

.modal-overlay.active .modal { transform: translateY(0); }

@media (max-width: 600px) { .modal { padding: 2rem 1.5rem; } }

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast) var(--ease);
  font-size: 1.5rem;
  line-height: 1;
}

body[dir="rtl"] .modal-close { right: auto; left: 1.5rem; }

.modal-close:hover { background: var(--ink); color: var(--white); }

.modal h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  color: var(--text-soft);
  margin-bottom: 2rem;
}

.modal-subtitle strong { color: var(--ink); }

/* File input */
.file-input-wrapper { position: relative; }
.file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-input-label {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  border: 1.5px dashed var(--line-dark);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--text-soft);
  font-size: 0.9375rem;
  transition: all var(--t-fast) var(--ease);
}

.file-input-wrapper:hover .file-input-label {
  border-color: var(--ink);
  background: var(--paper);
  color: var(--ink);
}

.file-input-label .file-icon {
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  flex-shrink: 0;
}

.file-input-label .file-icon svg { width: 18px; height: 18px; }

/* ---------- Blog Page ---------- */
.blog-page-section {
  background: var(--paper);
  padding: 4rem 0;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.blog-filter {
  padding: 0.5rem 1.25rem;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--text-soft);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--t-fast) var(--ease);
}

.blog-filter.active,
.blog-filter:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* ---------- Article Page ---------- */
.article-hero {
  padding: calc(var(--header-h) + 4rem) 0 3rem;
  background: var(--cream);
}

.article-hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.article-category-tag {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: var(--ink);
  color: var(--gold-bright);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.article-hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-soft);
  margin-bottom: 2rem;
}

.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.article-meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold-deep);
}

.article-image {
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16 / 8;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: -4rem;
  box-shadow: var(--shadow-3);
}

.article-content {
  background: var(--paper);
  padding: 8rem 0 5rem;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text);
}

.article-body p {
  margin-bottom: 1.5rem;
  color: var(--text);
}

.article-body h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1.25rem;
  line-height: 1.3;
}

.article-body h3 {
  font-size: 1.375rem;
  margin: 2rem 0 1rem;
}

.article-body ul, .article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

body[dir="rtl"] .article-body ul, body[dir="rtl"] .article-body ol {
  padding-left: 0;
  padding-right: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink);
  line-height: 1.5;
}

body[dir="rtl"] .article-body blockquote {
  border-left: 0;
  border-right: 3px solid var(--gold);
  padding-left: 0;
  padding-right: 1.5rem;
  font-family: var(--font-ar);
  font-style: normal;
  font-weight: 600;
}

.article-body strong { color: var(--ink); font-weight: 600; }

.article-share {
  max-width: 720px;
  margin: 3rem auto 0;
  padding: 2rem 1.75rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.article-share-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.article-share-icons {
  display: flex;
  gap: 0.5rem;
}

.article-share-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all var(--t-fast) var(--ease);
}

.article-share-icons a:hover {
  background: var(--ink);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

.article-share-icons svg { width: 16px; height: 16px; }

.article-related {
  background: var(--cream);
}

.article-related h2 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

/* ---------- About Page ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

body[dir="rtl"] .values-grid { border-left: 0; border-right: 1px solid var(--line); }

@media (max-width: 768px) { .values-grid { grid-template-columns: 1fr; } }

.value-card {
  padding: 3rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background var(--t) var(--ease);
}

body[dir="rtl"] .value-card { border-right: 0; border-left: 1px solid var(--line); }

.value-card:hover { background: var(--cream); }

.value-icon {
  width: 56px;
  height: 56px;
  background: var(--cream);
  color: var(--gold-deep);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all var(--t) var(--ease);
}

.value-card:hover .value-icon { background: var(--gold); color: var(--ink); }

.value-icon svg { width: 24px; height: 24px; }

.value-card h3 { font-size: 1.375rem; margin-bottom: 1rem; }
.value-card p { color: var(--text-soft); font-size: 0.9375rem; line-height: 1.7; }

.team-section { background: var(--paper); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 968px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; } }

.team-card { text-align: center; }

.team-avatar-wrap {
  position: relative;
  aspect-ratio: 1;
  max-width: 200px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-avatar-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--gold);
  transform: scale(1.05);
  opacity: 0;
  transition: all var(--t) var(--ease);
}

.team-card:hover .team-avatar-wrap::after { transform: scale(1.08); opacity: 0.5; }

.team-avatar-initials {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 3.5rem;
  color: var(--gold-bright);
}

body[dir="rtl"] .team-avatar-initials { font-family: var(--font-ar); font-style: normal; font-weight: 800; }

.team-card h4 {
  font-size: 1.125rem;
  margin-bottom: 0.375rem;
}

.team-role {
  color: var(--gold-deep);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}

.team-bio {
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.map-section { background: var(--cream); }

.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  margin-top: 3rem;
}

.map-wrapper iframe {
  width: 100%;
  height: 480px;
  border: 0;
  display: block;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: var(--white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(184, 148, 86, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(184, 148, 86, 0.1) 0%, transparent 50%);
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.cta-banner-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-up-delay-1.visible { transition-delay: 0.1s; }
.fade-up-delay-2.visible { transition-delay: 0.2s; }
.fade-up-delay-3.visible { transition-delay: 0.3s; }
.fade-up-delay-4.visible { transition-delay: 0.4s; }

/* ---------- Empty State ---------- */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-soft);
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.4;
}

.empty-state h3 { margin-bottom: 0.5rem; font-size: 1.25rem; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-3 { margin-top: 3rem; }
.hidden { display: none !important; }
