/* ============================================================
   FabricPrintingSolutions — Main Stylesheet
   Design System: Deep Navy (#0b1424) + Gold (#c89b5f)
   ============================================================ */

/* ── CSS Custom Properties ── */
:root {
  --primary: #0b1424;
  --primary-light: #132040;
  --accent: #c89b5f;
  --accent-hover: #b8894e;
  --accent-light: rgba(200,155,95,.12);
  --bg: #0b1424;
  --surface: #111c30;
  --white: #ffffff;
  --text: #e8eaed;
  --text-light: #8a94a6;
  --text-muted: #5a6680;
  --border: rgba(200,155,95,.12);
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 8px 40px rgba(0,0,0,.3);
  --shadow-lg: 0 16px 56px rgba(0,0,0,.4);
  --transition: all 0.3s cubic-bezier(.25,.1,.25,1);
}

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

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */
.nav {
  background: rgba(11,20,36,.92);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0;
  position: relative;
  overflow: hidden;
}
.logo-icon::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-left: 14px solid var(--accent);
  border-top: 14px solid transparent;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text-small {
  font-size: 10px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
  list-style: none;
  font-weight: 500;
  font-size: 15px;
}
.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color .2s;
  position: relative;
  padding-bottom: 3px;
}
.nav-links a:hover { color: var(--white); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width .25s cubic-bezier(.25,.1,.25,1);
}
.nav-links a:hover::after { width: 100%; }

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--white);
  padding: 4px;
  line-height: 1;
}

/* ── Language Switcher ── */
.lang-switcher { position: relative; margin-left: 12px; }
.lang-switcher-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.lang-switcher-toggle:hover { border-color: var(--accent); background: var(--accent-light); }
.lang-switcher-toggle .arrow { margin-left: 4px; transition: transform .2s; }
.lang-switcher.open .lang-switcher-toggle .arrow { transform: rotate(180deg); }
.lang-switcher-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  min-width: 190px;
  padding: 6px;
  display: none;
  z-index: 200;
}
.lang-switcher.open .lang-switcher-dropdown { display: block; }
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-light);
  text-decoration: none;
  transition: background .15s;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.lang-option:hover { background: var(--accent-light); }
.lang-option.active {
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 600;
}
.lang-option .check { margin-left: auto; color: var(--accent); font-weight: 700; }
.lang-option:not(.active) .check { display: none; }
.lang-separator { height: 1px; background: var(--border); margin: 4px 0; }

/* RTL adjustments */
html[dir="rtl"] .lang-switcher-dropdown { right: auto; left: 0; }
html[dir="rtl"] .lang-option { text-align: right; }
html[dir="rtl"] .lang-option .check { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .nav-links { gap: 24px; }
html[dir="rtl"] .nav-links li:first-child { margin-right: 0; }
html[dir="rtl"] .nav-links a::after { left: auto; right: 0; }

.mobile-quote-link { display: none; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all .3s cubic-bezier(.25,.1,.25,1);
  text-decoration: none;
  border: none;
  white-space: nowrap;
  letter-spacing: .02em;
}
.btn-primary {
  background: linear-gradient(135deg, #c89b5f, #b8894e);
  color: #0b1424;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #d4b06a, #c89b5f);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,155,95,.3);
}
.btn-outline {
  background: transparent;
  color: rgba(255,255,255,.8);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 50px;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(200,155,95,.08);
}
.btn-lg { padding: 16px 36px; font-size: 16px; border-radius: 50px; }
.btn-white { background: var(--white); color: #0b1424; }
.btn-white:hover { background: #f1f5f9; }

/* ── Sections ── */
.section { padding: 80px 24px; }
.container { max-width: 1280px; margin: 0 auto; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--accent);
}
.section-title {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.5px;
  margin-bottom: 12px;
  line-height: 1.15;
}
.section-desc {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 48px;
}
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ── Hero (Redesigned: Asymmetric Split) ── */
.hero {
  background: #060d1a;
  padding: 0 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(200,155,95,.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 80px 0;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,155,95,.08);
  border: 1px solid rgba(200,155,95,.12);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: #d4b06a;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.hero-badge-dot { display: none; }
.hero h1 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.hero h1 .highlight {
  color: var(--accent);
  position: relative;
}
.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(200,155,95,.2);
  border-radius: 3px;
}
.hero p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 480px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { display: flex; align-items: center; justify-content: center; position: relative; }
.hero-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 420px;
}
.hero-visual-tall {
  grid-row: span 2;
  background: linear-gradient(135deg, #1a2d50, #0b1424);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}
.hero-visual-sq {
  background: linear-gradient(135deg, #132040, #1a2d50);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.hero-stat-item { }
.hero-stat-item + .hero-stat-item { }
.hero-stat-item + .hero-stat-item::before { display: none; }
.hero-stat-num { font-size: 28px; font-weight: 800; color: var(--accent); font-family: 'Cabinet Grotesk', sans-serif; line-height: 1; }
.hero-stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ── Services (Redesigned: Bento Grid) ── */
.services-header { margin-bottom: 32px; }
.services-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
.service-card {
  background: #111c30;
  border: 1px solid rgba(255,255,255,.04);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.service-card:hover { border-color: rgba(200,155,95,.15); transform: translateY(-2px); }
.service-card:hover::before { opacity: 1; }
.service-card.featured { grid-row: span 2; }
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
  background: rgba(200,155,95,.1);
  border: 1px solid rgba(200,155,95,.08);
}
.service-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--white); }
.service-card p { font-size: 13px; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.service-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s;
}
.service-link:hover { gap: 8px; }

/* ── Trust Bar ── */
.trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.trust-logo { font-size: 18px; font-weight: 700; color: var(--text-muted); letter-spacing: -0.5px; }

/* ── Case Studies ── */
.cases-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.case-card {
  background: #111c30;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  border: 1px solid rgba(255,255,255,.04);
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,.2); border-color: rgba(200,155,95,.15); }
.case-img {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  position: relative;
}
.ci1 { background: linear-gradient(135deg, #1a2d50, #0d1828); }
.ci2 { background: linear-gradient(135deg, #1e2d40, #111c30); }
.ci3 { background: linear-gradient(135deg, #1c2840, #0f1828); }
.case-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(200,155,95,.12);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--accent);
  border: 1px solid rgba(200,155,95,.12);
}
.case-body { padding: 24px; }
.case-body h3 { font-family: 'Cabinet Grotesk', sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--white); letter-spacing: -.3px; }
.case-body p { color: var(--text-light); font-size: 13px; line-height: 1.65; }
.case-meta { display: flex; gap: 16px; margin-top: 14px; font-size: 12px; color: var(--text-muted); }
.case-highlight {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(200,155,95,.06);
  padding: 5px 10px;
  border-radius: 5px;
  display: inline-block;
  line-height: 1.4;
}
.case-expand-hint {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  padding: 8px 18px;
  border: 1px solid rgba(200,155,95,.2);
  border-radius: 50px;
  transition: all .2s;
  cursor: pointer;
}
.case-card:hover .case-expand-hint {
  background: rgba(200,155,95,.1);
  border-color: rgba(200,155,95,.4);
  gap: 10px;
}
.case-expand-hint::after {
  content: "→";
  font-size: 14px;
  transition: transform .2s;
}
.case-card:hover .case-expand-hint::after {
  transform: translateX(3px);
}

/* ── Why Us ── */
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.why-item { text-align: center; padding: 32px 20px; }
.why-icon {
  width: 90px;
  height: 90px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  margin: 0 auto 20px;
}
.why-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--white); }
.why-item p { color: var(--text-light); font-size: 14px; line-height: 1.6; }

/* ── Testimonials (Redesigned: 2-Column Split) ── */
.testimonials-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.testimonials-left h2 { font-family: 'Cabinet Grotesk', sans-serif; font-size: 28px; font-weight: 800; color: var(--white); margin-bottom: 8px; letter-spacing: -.5px; }
.testimonials-left p { font-size: 14px; color: var(--text-light); max-width: 400px; }
.testimonials-grid { display: flex; flex-direction: column; gap: 16px; }
.testimonial-card {
  background: #111c30;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.04);
  border-left: 3px solid var(--accent);
}
.testimonial-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 16px;
}
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #060d1a;
  font-size: 12px;
}
.ta1 { background: var(--accent); }
.ta2 { background: #059669; }
.ta3 { background: #3b82f6; }
.testimonial-name { font-weight: 600; font-size: 13px; color: var(--white); }
.testimonial-role { font-size: 11px; color: var(--text-muted); }

/* ── CTA ── */
.cta {
  background: linear-gradient(135deg, #0b1424 0%, #132040 60%, #0d1828 100%);
  border-top: 1px solid var(--border);
  padding: 100px 24px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta h2 { font-size: 44px; font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; position: relative; }
.cta p { font-size: 18px; opacity: .85; max-width: 540px; margin: 0 auto 36px; position: relative; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── Footer ── */
.footer { background: #060d1a; color: var(--text-muted); padding: 64px 24px 32px; }
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer h4 { color: var(--white); font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.footer a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
  transition: var(--transition);
}
.footer a:hover { color: var(--accent); }
.footer-brand { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.footer-brand-desc { font-size: 14px; line-height: 1.7; margin-bottom: 20px; color: var(--text-muted); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}

/* ── Inner Page Shared ── */
.page-hero {
  background: linear-gradient(160deg, #0b1424 0%, #111c30 50%, #0d1828 100%);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200,155,95,.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero h1 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.5px;
  margin-bottom: 12px;
  position: relative;
}
.page-hero p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}
.breadcrumb { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; position: relative; }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── Content Sections ── */
.content-section { padding: 80px 24px; }
.content-section.alt { background: var(--surface); }
.content-section h2 { font-family: 'Cabinet Grotesk', sans-serif; font-size: 32px; font-weight: 700; color: var(--white); margin-bottom: 12px; letter-spacing: -.3px; }
.content-section h3 { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.content-section p { font-size: 16px; color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* ── Process Flow ── */
.process-flow { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.process-step { text-align: center; padding: 24px 16px; }
.process-step-num {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(200,155,95,.15), rgba(200,155,95,.05));
  border: 1px solid rgba(200,155,95,.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 16px;
}
.process-step h3 { font-size: 16px; margin-bottom: 6px; color: var(--white); }
.process-step p { font-size: 13px; line-height: 1.6; }

/* ── Capability Grid ── */
.capability-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.capability-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.04);
}
.capability-card .icon { font-size: 60px; margin-bottom: 16px; }
.capability-card h4 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.capability-card p { font-size: 13px; color: var(--text-light); }

/* ── Filter Bar (Dark Theme) ── */
.filter-bar { display: flex; gap: 10px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.08);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  color: var(--text-muted);
}
.filter-btn:hover,
.filter-btn.active {
  background: rgba(200,155,95,.12);
  color: var(--accent);
  border-color: rgba(200,155,95,.25);
}

/* ── Quote Form ── */
.quote-form {
  max-width: 680px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
  box-shadow: var(--shadow);
}
.quote-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.quote-form .form-row.full { grid-template-columns: 1fr; }
.quote-form label { display: block; font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: #132040;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,155,95,.1);
}
.quote-form textarea { min-height: 120px; resize: vertical; }
.quote-form .btn-submit { width: 100%; padding: 16px; margin-top: 8px; }

/* File Upload */
.file-upload-input { display: flex; gap: 8px; align-items: center; }
.file-upload-input input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.file-upload-input input[type="file"]:focus + .file-upload-btn { outline: 3px solid #f2b84b; outline-offset: 3px; }
.file-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #c89b5f, #b8894e);
  color: #0b1424;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.file-upload-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,155,95,.2);
}
.file-upload-name {
  font-size: 14px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 240px;
}

/* Form States */
.form-success {
  background: rgba(5,150,105,.15);
  color: #34d399;
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(5,150,105,.3);
}
.form-error {
  background: rgba(220,38,38,.15);
  color: #f87171;
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 15px;
  margin-bottom: 20px;
  border: 1px solid rgba(220,38,38,.3);
}
.field-error { color: #f87171; font-size: 13px; margin-top: 4px; }

/* ── About Page ── */
.mission-section { padding: 80px 24px; background: var(--surface); }
.mission-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; max-width: 1280px; margin: 0 auto; }
.mission-card { text-align: center; padding: 32px 24px; }
.mission-card .icon { font-size: 68px; margin-bottom: 20px; }

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(.16,1,.3,1), transform 0.6s cubic-bezier(.16,1,.3,1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up[data-delay="0"] { transition-delay: 0s; }
.fade-up[data-delay=".1"] { transition-delay: .1s; }
.fade-up[data-delay=".2"] { transition-delay: .2s; }
.fade-up[data-delay=".3"] { transition-delay: .3s; }
.fade-up[data-delay=".4"] { transition-delay: .4s; }
.fade-up[data-delay=".5"] { transition-delay: .5s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in {
  animation: fadeInUp 0.6s cubic-bezier(.25,.1,.25,1) forwards;
}
.animate-in-delay-1 { animation-delay: 0.1s; }
.animate-in-delay-2 { animation-delay: 0.2s; }
.animate-in-delay-3 { animation-delay: 0.3s; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--primary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-hover); }

/* ── Selection ── */
::selection { background: var(--accent); color: var(--primary); }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet (≤1024px)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hamburger { display: block; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 48px 0; }
  .hero h1 { font-size: 34px; }
  .hero-visual { order: -1; }
  .hero-visual-grid { max-width: 300px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card.featured { grid-row: auto; }
  .testimonials-wrap { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .section-title { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .process-flow { grid-template-columns: repeat(2,1fr); }
  .capability-grid, .mission-grid { grid-template-columns: repeat(2,1fr); }
  .page-hero h1 { font-size: 32px; }
  .quote-form { padding: 28px 20px; }
  .quote-form .form-row { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 0 24px;
    margin: 0;
    border-bottom: 2px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s ease, opacity .25s ease, padding .35s ease;
  }
  .nav-links.open { display: flex; max-height: 500px; opacity: 1; padding: 24px; }
  .nav-inner { position: relative; }
  .nav .btn-primary { display: none; }
  .mobile-quote-link { display: block !important; }
  .lang-switcher { margin-left: 0; margin-top: 12px; width: 100%; }
  .lang-switcher-toggle { width: 100%; justify-content: center; padding: 10px 12px; }
  .lang-switcher-dropdown { position: static; box-shadow: none; border: 1px solid var(--border); margin-top: 4px; min-width: 100%; }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — Phone (≤768px)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Typography */
  .hero h1 { font-size: 28px; letter-spacing: -0.5px; }
  .hero p { font-size: 15px; }
  .hero-badge { font-size: 12px; padding: 6px 14px; }
  .section-title { font-size: 24px; }
  .section-desc { font-size: 14px; margin-bottom: 32px; }
  .section-label { font-size: 11px; letter-spacing: 1.5px; }
  .page-hero h1 { font-size: 24px; }
  .page-hero p { font-size: 15px; }
  .content-section h2 { font-size: 24px; }
  .content-section h3 { font-size: 17px; }
  .cta h2 { font-size: 26px; }
  .cta p { font-size: 15px; }

  /* Spacing */
  .section { padding: 48px 16px; }
  .content-section { padding: 40px 16px; }
  .cta { padding: 56px 20px; }

  /* Hero */
  .hero { min-height: auto; padding: 32px 16px 28px; }
  .hero-inner { gap: 24px; padding: 32px 0; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .hero-badge { font-size: 11px; padding: 5px 12px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 24px; }
  .hero-stat-num { font-size: 24px; }
  .hero-stat-label { font-size: 12px; }
  .hero-visual-grid { max-width: 240px; }
  .hero-visual-tall { font-size: 48px; }
  .hero-visual-sq { font-size: 30px; }

  /* Nav */
  .nav-inner { height: 60px; padding: 0 16px; }
  .logo { font-size: 17px; }
  .logo-icon { width: 34px; height: 34px; font-size: 13px; border-radius: 6px; }
  .nav-links { top: 60px; left: 0; right: 0; }
  .nav-links.open { padding: 20px 16px; }
  .nav-links a { font-size: 16px; display: block; padding: 10px 0; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child a { border-bottom: none; }

  /* Page Hero */
  .page-hero { padding: 40px 16px; }
  .breadcrumb { font-size: 12px; }

  /* Grids — all single column */
  .why-grid,
  .process-flow,
  .capability-grid,
  .mission-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Services */
  .service-card { padding: 28px 20px; }
  .service-icon { width: 56px; height: 56px; font-size: 26px; border-radius: 12px; }

  /* Cases */
  .case-img { height: 220px; }
  .case-body { padding: 18px; }
  .case-body h3 { font-size: 16px; }

  /* Why Us */
  .why-icon { width: 64px; height: 64px; font-size: 28px; border-radius: 16px; }
  .why-item { padding: 20px 12px; }

  /* Testimonials */
  .testimonial-card { padding: 24px 20px; }
  .testimonial-avatar { width: 42px; height: 42px; font-size: 16px; }

  /* CTA */
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }

  /* Trust Bar */
  .trust-logos { gap: 28px; }
  .trust-logo { font-size: 15px; }

  /* Footer */
  .footer { padding: 40px 16px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
  .footer-brand { font-size: 18px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Process */
  .process-step-num { width: 48px; height: 48px; font-size: 20px; }
  .process-step { padding: 16px 8px; }

  /* Capability */
  .capability-card { padding: 20px 16px; }
  .capability-card .icon { font-size: 36px; }

  /* Mission */
  .mission-card { padding: 20px 12px; }
  .mission-card .icon { font-size: 40px; margin-bottom: 12px; }

  /* Two col */
  .two-col { gap: 32px; }

  /* Quote form */
  .quote-form { padding: 24px 16px; border-radius: 12px; }
  .quote-form label { font-size: 13px; }
  .quote-form input,
  .quote-form select,
  .quote-form textarea { font-size: 16px; padding: 12px 14px; }

  /* Filter bar */
  .filter-bar { gap: 6px; }
  .filter-btn { padding: 6px 14px; font-size: 12px; }

  /* About */
  .mission-section { padding: 40px 16px; }

  /* Buttons */
  .btn { padding: 10px 20px; font-size: 14px; }
  .btn-lg { padding: 14px 24px; font-size: 15px; }
  .btn-outline.btn-lg { width: 100%; justify-content: center; }

  /* Mobile quote link */
  .mobile-quote-link {
    display: block !important;
    width: 100%;
    margin-top: 8px;
    padding: 14px 0 !important;
    text-align: center;
    background: var(--accent);
    color: #fff !important;
    border-radius: 8px;
    font-weight: 700 !important;
    border-bottom: none !important;
  }
  .mobile-quote-link:hover { background: var(--accent-hover); color: #fff !important; }

  /* Touch-friendly */
  .nav-links a, .filter-btn, .btn, .footer a { -webkit-tap-highlight-color: transparent; }

  /* Images */
  img { max-width: 100%; height: auto; }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — Small Phone (≤480px)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero h1 { font-size: 24px; }
  .hero p { font-size: 14px; }
  .section-title { font-size: 22px; }
  .page-hero h1 { font-size: 22px; }
  .cta h2 { font-size: 22px; }

  .nav-inner { height: 54px; }
  .nav-links { top: 54px; }
  .logo { font-size: 15px; }
  .logo-icon { width: 30px; height: 30px; font-size: 11px; border-radius: 6px; }
  .logo-text-small { font-size: 8px; letter-spacing: 1.5px; }
  .hamburger { font-size: 24px; }

  .hero { padding: 24px 12px 24px; }
  .hero h1 { font-size: 24px; }
  .hero p { font-size: 14px; }
  .hero-actions { gap: 10px; }
  .hero-stats { gap: 20px; padding-top: 16px; margin-top: 20px; }
  .hero-stat-num { font-size: 22px; }
  .hero-visual-grid { max-width: 200px; gap: 8px; }

  .section { padding: 36px 12px; }
  .content-section { padding: 32px 12px; }

  .service-card { padding: 20px 16px; }
  .service-icon { width: 46px; height: 46px; font-size: 22px; border-radius: 10px; }
  .case-img { height: 220px; }
  .why-icon { width: 72px; height: 72px; font-size: 36px; border-radius: 18px; }

  .quote-form { padding: 20px 14px; border-radius: 10px; }

  .footer { padding: 32px 12px 20px; }

  .btn { padding: 10px 18px; font-size: 13px; }
  .btn-lg { padding: 12px 20px; font-size: 14px; }

  .trust-logos { gap: 18px; }
  .trust-logo { font-size: 13px; }

  .cta { padding: 40px 16px; }
}

/* ════════════════════════════════════════════════════════════
   Accessibility — prefers-reduced-motion
   ════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ════════════════════════════════════════════════════════════
   Print Styles
   ════════════════════════════════════════════════════════════ */
@media print {
  .nav, .footer, .cta, .lang-switcher, .hero-visual, .hamburger { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { min-height: auto; }
  .section { padding: 20px 0; }
}


/* ============================================================
   FAQ Page Styles
   ============================================================ */
.faq-category {
  margin-bottom: 48px;
}
.faq-category:last-child {
  margin-bottom: 0;
}
.faq-category-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}
.faq-category-icon {
  font-size: 34px;
  line-height: 1;
}
.faq-items {
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  overflow: hidden;
  background: #111c30;
}
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  gap: 16px;
  line-height: 1.4;
}
.faq-question:hover {
  background: rgba(200,155,95,.06);
  color: var(--accent);
}
.faq-question.active {
  color: var(--accent);
}
.faq-toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  color: var(--accent);
}
.faq-question.active .faq-toggle {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer > div {
  padding: 0 22px 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light);
}
.faq-question.active + .faq-answer {
  max-height: 500px;
}

/* ============================================================
   Quote Form - Success Animation
   ============================================================ */
.form-success-centered {
  text-align: center;
  padding: 48px 24px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 2px solid #6ee7b7;
  border-radius: 16px;
  animation: fadeInUp 0.6s ease forwards;
}
.form-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: #10b981;
  color: #fff;
  border-radius: 50%;
  font-size: 28px;
  margin-bottom: 16px;
  animation: successPop 0.5s ease 0.2s both;
}
@keyframes successPop {
  0% { transform: scale(0); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.form-success-centered h3 {
  font-size: 22px;
  font-weight: 700;
  color: #065f46;
  margin-bottom: 8px;
}
.form-success-centered p {
  font-size: 15px;
  color: #047857;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================================
   File Upload - Progress Bar
   ============================================================ */
.upload-progress {
  display: none;
  margin-top: 10px;
}
.upload-progress.active {
  display: block;
}
.upload-progress-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.upload-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #d4b06a);
  border-radius: 3px;
  transition: width 0.3s ease;
}
.upload-progress-text {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================================
   Form Field - Validation States (Dark Theme)
   ============================================================ */
input.field-invalid,
textarea.field-invalid,
select.field-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 1px rgba(239,68,68,.3);
}
input.field-valid,
textarea.field-valid,
select.field-valid {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 1px rgba(16,185,129,.3);
}

/* ============================================================
   FAQ - Mobile Responsive
   ============================================================ */
@media (max-width: 640px) {
  .faq-category-title { font-size: 18px; }
  .faq-question { padding: 14px 16px; font-size: 14px; }
  .faq-answer > div { padding: 0 16px 16px; font-size: 14px; }
  .form-success-centered { padding: 32px 16px; }
  .form-success-centered h3 { font-size: 18px; }
}

/* ============================================================
   Case Study Detail Overlay
   ============================================================ */
.case-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.case-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.case-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.case-overlay-panel {
  position: relative;
  background: #111c30;
  border: 1px solid rgba(200,155,95,.15);
  border-radius: 20px;
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 48px 40px;
  transform: translateY(12px) scale(.97);
  transition: transform .35s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
}
.case-overlay.open .case-overlay-panel {
  transform: translateY(0) scale(1);
}
.case-close-btn {
  position: absolute;
  top: 20px;
  inset-inline-end: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  z-index: 2;
}
.case-close-btn:hover {
  background: rgba(255,255,255,.12);
  color: var(--white);
}

/* Detail Content */
.case-detail-header {
  margin-bottom: 32px;
}
.case-tag-lg {
  display: inline-block;
  background: rgba(200,155,95,.15);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(200,155,95,.15);
  margin-bottom: 16px;
}
.case-detail-header h2 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.5px;
  margin-bottom: 12px;
  line-height: 1.2;
}
.case-detail-desc {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}
.case-detail-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--text-muted);
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.case-detail-section {
  margin-bottom: 28px;
}
.case-detail-section h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 10px;
}
.case-detail-section p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
}
.case-detail-highlight {
  background: linear-gradient(135deg, rgba(200,155,95,.08), rgba(200,155,95,.03));
  border: 1px solid rgba(200,155,95,.12);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 28px;
  text-align: center;
}
.case-detail-highlight-num {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.5;
}
.case-detail-testimonial {
  background: rgba(0,0,0,.2);
  border-radius: 12px;
  padding: 28px;
  border-left: 3px solid var(--accent);
}
.case-detail-quote {
  font-size: 15px;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}
.case-detail-author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}
.case-detail-author-role {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.case-card { cursor: default; }

@media (max-width: 768px) {
  .case-overlay {
    padding: 16px;
    align-items: flex-end;
  }
  .case-overlay-panel {
    padding: 32px 20px;
    border-radius: 16px 16px 0 0;
    max-height: 90vh;
    transform: translateY(100%);
  }
  .case-overlay.open .case-overlay-panel {
    transform: translateY(0);
  }
  .case-detail-header h2 {
    font-size: 24px;
  }
  .cases-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RTL — Comprehensive Right-to-Left (Arabic) Support
   ============================================================ */
html[dir="rtl"] {
  direction: rtl;
}

/* ── Global text alignment ── */
html[dir="rtl"] body {
  font-family: 'Tajawal', 'Noto Sans Arabic', Tahoma, sans-serif;
}
html[dir="rtl"] .text-left { text-align: right; }
html[dir="rtl"] .text-right { text-align: left; }
html[dir="rtl"] .breadcrumb { direction: rtl; }
html[dir="rtl"] .breadcrumb a + a::before { content: "‹"; margin: 0 4px; }
html[dir="rtl"] .breadcrumb a::before { content: "‹"; margin-left: 4px; }

/* ── Hero ── */
html[dir="rtl"] .hero::before { left: auto; right: -10%; }
html[dir="rtl"] .hero-inner { direction: rtl; }
html[dir="rtl"] .hero-actions { flex-direction: row-reverse; }
html[dir="rtl"] .hero-stats { flex-direction: row-reverse; }
html[dir="rtl"] .hero h1 .highlight::after { left: auto; right: 0; }

/* ── Navigation ── */
html[dir="rtl"] .nav-inner { flex-direction: row; }
html[dir="rtl"] .lang-switcher { margin-left: 0; margin-right: 12px; }
html[dir="rtl"] .lang-switcher-toggle .arrow { display: inline-block; }
html[dir="rtl"] .lang-option { text-align: right; }
html[dir="rtl"] .lang-option .check { margin-left: 0; margin-right: auto; }

/* ── Buttons ── */
html[dir="rtl"] .btn { letter-spacing: 0; }
html[dir="rtl"] .btn-primary,
html[dir="rtl"] .btn-outline,
html[dir="rtl"] .btn-white { flex-direction: row-reverse; }
html[dir="rtl"] .service-link { flex-direction: row-reverse; }
html[dir="rtl"] .service-link:hover { gap: 6px; }

/* ── Cards ── */
html[dir="rtl"] .testimonial-card { border-left: 1px solid var(--border); border-right: 3px solid var(--accent); }
html[dir="rtl"] .testimonial-author { flex-direction: row-reverse; }
html[dir="rtl"] .testimonials-wrap { direction: rtl; }
html[dir="rtl"] .testimonials-left { text-align: right; }
html[dir="rtl"] .services-header { direction: rtl; }
html[dir="rtl"] .case-tag { left: auto; right: 16px; }

/* ── Case meta ── */
html[dir="rtl"] .case-meta { flex-direction: row-reverse; }

/* ── Page Hero ── */
html[dir="rtl"] .page-hero::before { right: auto; left: -10%; }

/* ── CTA ── */
html[dir="rtl"] .cta::before { right: auto; left: -100px; }
html[dir="rtl"] .cta-actions { flex-direction: row-reverse; }

/* ── Footer ── */
html[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }
html[dir="rtl"] .footer a { direction: rtl; }

/* ── Forms ── */
html[dir="rtl"] .quote-form label { text-align: right; }
html[dir="rtl"] .quote-form .form-row { direction: rtl; }
html[dir="rtl"] .file-upload-input { flex-direction: row-reverse; }
html[dir="rtl"] .file-upload-name { text-align: right; }
html[dir="rtl"] .form-group input,
html[dir="rtl"] .form-group textarea,
html[dir="rtl"] .form-group select { text-align: right; }

/* ── Process Flow ── */
html[dir="rtl"] .process-step { direction: rtl; }

/* ── FAQ ── */
html[dir="rtl"] .faq-category-title { flex-direction: row-reverse; }
html[dir="rtl"] .faq-question { text-align: right; }
html[dir="rtl"] .faq-toggle { transform: rotate(180deg); }
html[dir="rtl"] .faq-question.active .faq-toggle { transform: rotate(0deg); }

/* ── Filter Bar ── */
html[dir="rtl"] .filter-bar { flex-direction: row-reverse; }

/* ── Service Card ── */
html[dir="rtl"] .service-card::before { background: linear-gradient(270deg, transparent, var(--accent), transparent); }

/* ── Mobile responsive RTL overrides ── */
@media (max-width: 1024px) {
  html[dir="rtl"] .nav-links { left: auto; right: 0; }
  html[dir="rtl"] .lang-switcher { margin-right: 0; }
}
@media (max-width: 768px) {
  html[dir="rtl"] .hero-actions { flex-direction: column; }
  html[dir="rtl"] .hero-actions .btn { flex-direction: row-reverse; justify-content: center; }
  html[dir="rtl"] .cta-actions { flex-direction: column; }
  html[dir="rtl"] .footer-bottom { flex-direction: column; }
  html[dir="rtl"] .footer a { text-align: right; }
}
@media (max-width: 480px) {
  html[dir="rtl"] .hero-stats { flex-direction: column; align-items: center; }
}

/* ============================================================
   July 2026 public-site redesign
   ============================================================ */
:root {
  --primary: #0a1924;
  --primary-light: #13303b;
  --accent: #c89952;
  --accent-hover: #b7833d;
  --teal: #0e7c72;
  --teal-dark: #075e57;
  --bg: #ffffff;
  --surface: #f3f6f5;
  --white: #ffffff;
  --text: #17242c;
  --text-light: #4b5d65;
  --text-muted: #66777e;
  --border: #d9e1df;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 14px 36px rgba(10,25,36,.09);
  --shadow-lg: 0 24px 56px rgba(10,25,36,.16);
  --transition: color .2s ease, background-color .2s ease, border-color .2s ease, opacity .2s ease, transform .2s ease;
}

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { background: var(--bg); color: var(--text); overflow-x: hidden; }
body.nav-open { overflow: hidden; }
body, button, input, select, textarea { letter-spacing: 0; }
h1, h2, h3, h4, h5, h6, .logo, .section-title { font-family: 'Manrope', 'Tajawal', sans-serif; letter-spacing: 0; }
a, button, input, select, textarea { outline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #f2b84b; }
.sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.skip-link { position:fixed; top:8px; left:8px; z-index:1000; padding:10px 14px; background:#fff; color:#0a1924; border:2px solid var(--teal); border-radius:6px; transform:translateY(-150%); transition:transform .15s ease; }
.skip-link:focus { transform:translateY(0); }

/* Navigation */
.nav { position:sticky; top:0; z-index:100; background:#07141d; border-bottom:1px solid rgba(255,255,255,.11); backdrop-filter:none; }
.nav-inner { max-width:1240px; height:72px; gap:28px; }
.logo { color:#fff; min-width:max-content; }
.logo img { width:48px; height:48px; object-fit:contain; border:0; border-radius:6px; background:transparent; }
.logo-text strong { font-size:15px; line-height:1.1; }
.logo-text-small { color:#77c9c1; font-size:9px; font-weight:700; letter-spacing:0; text-transform:uppercase; }
.site-menu { display:flex; align-items:center; justify-content:flex-end; gap:24px; flex:1; }
.nav-links { gap:22px; font-size:13px; }
.nav-links a { color:#c6d2d6; padding:10px 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color:#fff; }
.nav-links a[aria-current="page"]::after { width:100%; background:#77c9c1; }
.nav-actions { display:flex; align-items:center; gap:12px; }
.nav-quote { padding:10px 18px; font-size:13px; }
.hamburger { width:44px; height:44px; padding:10px; align-items:center; justify-content:center; flex-direction:column; gap:5px; border-radius:6px; }
.hamburger span { display:block; width:22px; height:2px; background:#fff; transition:transform .2s ease, opacity .2s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity:0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
.lang-switcher { margin:0; }
.lang-switcher-toggle { min-height:44px; background:transparent; color:#c6d2d6; border-color:rgba(255,255,255,.16); border-radius:6px; }
.lang-switcher-toggle:hover { color:#fff; border-color:#77c9c1; background:rgba(119,201,193,.08); }
.lang-switcher-dropdown { background:#fff; border-color:#d9e1df; border-radius:6px; box-shadow:var(--shadow-lg); }
.lang-option { color:#354850; }
.lang-option:hover, .lang-option.active { background:#edf7f5; color:var(--teal-dark); }
.nav-backdrop { display:none; position:fixed; inset:72px 0 0; z-index:-1; border:0; background:rgba(4,12,18,.64); }
.nav-backdrop.open { display:block; }

/* Buttons and shared headings */
.btn { min-height:44px; border-radius:6px; padding:11px 22px; transition:var(--transition); letter-spacing:0; }
.btn-primary { background:var(--accent); color:#10202a; }
.btn-primary:hover { background:#dfae67; transform:translateY(-1px); box-shadow:0 8px 20px rgba(200,153,82,.24); }
.btn-outline { border:1px solid rgba(255,255,255,.58); color:#fff; background:rgba(7,20,29,.22); }
.btn-outline:hover { color:#fff; border-color:#fff; background:rgba(255,255,255,.1); }
.btn-outline-dark { border:1px solid #6d7c82; color:#17242c; background:transparent; }
.btn-outline-dark:hover { border-color:var(--teal); color:var(--teal-dark); background:#edf7f5; }
.btn-ink { color:#fff; background:#17242c; }
.btn-ink:hover { background:var(--teal-dark); color:#fff; transform:translateY(-1px); }
.btn-white { color:#10202a; }
.section { padding:88px 24px; }
.container { max-width:1200px; }
.section-light { background:#fff; }
.section-muted { background:#f3f6f5; }
.section-dark { background:#0a1924; color:#fff; }
.eyebrow { margin:0 0 12px; color:var(--teal); font-size:12px; line-height:1.4; font-weight:800; text-transform:uppercase; letter-spacing:0; }
.section-dark .eyebrow, .home-hero .eyebrow, .quote-band .eyebrow { color:#82d6cd; }
.section-heading { max-width:760px; margin-bottom:42px; }
.section-heading h2 { color:#17242c; font-size:36px; line-height:1.18; margin:0 0 14px; }
.section-heading > p:last-child, .section-heading > div > p:last-child { color:#53666e; font-size:16px; line-height:1.75; margin:0; }
.section-heading-row { max-width:none; display:flex; align-items:flex-end; justify-content:space-between; gap:32px; }
.section-heading-row > div { max-width:760px; }
.section-heading-dark h2 { color:#fff; }
.section-heading-dark > p:last-child { color:#b5c6cb; }

/* Homepage */
.home-hero { position:relative; min-height:620px; display:flex; align-items:flex-end; background:#0a1924; overflow:hidden; }
.home-hero-media { position:absolute; inset:0; display:block; }
.home-hero-media img { width:100%; height:100%; object-fit:cover; object-position:center 46%; filter:saturate(.8) contrast(1.08); }
.home-hero-shade { position:absolute; inset:0; background:rgba(4,15,22,.74); }
.home-hero-inner { position:relative; z-index:1; width:100%; max-width:1240px; margin:0 auto; padding:92px 24px 78px; }
.home-hero-copy { max-width:760px; }
.home-hero h1 { margin:0; max-width:820px; color:#fff; font-size:54px; line-height:1.08; font-weight:800; }
.home-hero h1 span { color:#8cddd5; }
.home-hero-lead { max-width:700px; margin:22px 0 28px; color:#d2dde0; font-size:18px; line-height:1.72; }
.home-hero-actions { display:flex; flex-wrap:wrap; gap:12px; }
.response-promise { margin:18px 0 0; color:#a9bcc2; font-size:13px; }
.terms-band { position:relative; z-index:2; background:#fff; border-bottom:1px solid #dfe6e4; }
.terms-grid { max-width:1200px; margin:0 auto; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
.term-item { min-height:132px; padding:27px 26px; border-inline-end:1px solid #dfe6e4; display:flex; flex-direction:column; justify-content:center; }
.term-item:first-of-type { border-inline-start:1px solid #dfe6e4; }
.term-item strong { color:#0a1924; font-family:'Manrope',sans-serif; font-size:22px; line-height:1.2; }
.term-item span { margin-top:6px; color:#42555d; font-size:13px; font-weight:700; }
.term-item small { margin-top:4px; color:#66777e; font-size:11px; line-height:1.45; }
.capability-split { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border:1px solid #d9e1df; border-radius:8px; overflow:hidden; }
.capability-panel { min-height:320px; padding:34px; background:#fff; border-inline-end:1px solid #d9e1df; display:flex; flex-direction:column; }
.capability-panel:last-child { border-inline-end:0; }
.panel-index { color:var(--teal); font:800 12px/1 'Manrope',sans-serif; }
.capability-panel h3 { margin:42px 0 12px; color:#17242c; font-size:22px; }
.capability-panel p { color:#53666e; font-size:14px; line-height:1.75; }
.text-link { margin-top:auto; color:var(--teal-dark); font-weight:800; font-size:13px; text-decoration:none; }
.text-link:hover { color:#a66f2d; }
.featured-case-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.featured-case { overflow:hidden; background:#fff; border:1px solid #d9e1df; border-radius:8px; }
.featured-case-media { position:relative; aspect-ratio:3/2; overflow:hidden; background:#dfe6e4; }
.featured-case-media img { width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.featured-case:hover .featured-case-media img { transform:scale(1.025); }
.featured-case-media span { position:absolute; inset-inline-start:14px; top:14px; padding:6px 9px; border-radius:4px; background:#0a1924; color:#fff; font-size:11px; font-weight:700; }
.featured-case-body { padding:22px; }
.featured-case-body h3 { margin:0 0 9px; color:#17242c; font-size:18px; line-height:1.35; }
.featured-case-body p { margin:0; color:#56686f; font-size:13px; line-height:1.65; }
.featured-case-body > strong { display:block; margin-top:14px; color:var(--teal-dark); font-size:12px; line-height:1.5; }
.case-facts { display:flex; justify-content:space-between; gap:12px; margin-top:18px; padding-top:14px; border-top:1px solid #e5eae8; color:#66777e; font-size:11px; }
.quality-layout { display:grid; grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr); gap:72px; align-items:start; }
.quality-steps { border-top:1px solid rgba(255,255,255,.18); }
.quality-step { display:grid; grid-template-columns:54px 1fr; gap:18px; padding:24px 0; border-bottom:1px solid rgba(255,255,255,.18); }
.quality-step > span { width:42px; height:42px; display:grid; place-items:center; border:1px solid #82d6cd; border-radius:50%; color:#82d6cd; font:800 12px/1 'Manrope',sans-serif; }
.quality-step h3 { margin:0 0 7px; color:#fff; font-size:17px; }
.quality-step p { margin:0; color:#b5c6cb; font-size:13px; line-height:1.65; }
.quote-band { padding:82px 24px; background:#e7f2ef; }
.quote-band-inner { max-width:860px; margin:0 auto; text-align:center; }
.quote-band .eyebrow { color:var(--teal-dark); }
.quote-band h2 { margin:0; color:#17242c; font-size:38px; }
.quote-band p:not(.eyebrow) { max-width:680px; margin:16px auto 26px; color:#4b5d65; font-size:16px; line-height:1.7; }
.quote-band .cta-actions { justify-content:center; }

/* Inner pages */
.page-hero { position:relative; min-height:350px; padding:94px max(24px,calc((100vw - 1200px)/2)); display:flex; flex-direction:column; justify-content:flex-end; background:#0a1924 url('/assets/images/redesign/home-hero.webp') center 48%/cover no-repeat; overflow:hidden; }
.page-hero::before { inset:0; width:auto; height:auto; border-radius:0; transform:none; background:rgba(4,15,22,.76); }
.page-hero > * { position:relative; z-index:1; max-width:760px; }
.page-hero h1 { margin:8px 0 12px; color:#fff; font-size:42px; line-height:1.15; }
.page-hero p { margin:0; color:#d0dde0; font-size:17px; line-height:1.7; }
.breadcrumb, .breadcrumb a { color:#8cddd5; }
.content-section { padding:80px 24px; background:#fff; }
.content-section.alt { background:#f3f6f5; }
.content-section h2 { color:#17242c; font-size:32px; }
.content-section h3 { color:#17242c; }
.content-section p { color:#53666e; }
.section-title { color:#17242c; }
.section-desc { color:#53666e; }
.process-flow { gap:0; border:1px solid #d9e1df; border-radius:8px; overflow:hidden; background:#fff; }
.process-step { padding:30px 22px; border-inline-end:1px solid #d9e1df; text-align:start; }
.process-step:last-child { border-inline-end:0; }
.process-step-num { width:42px; height:42px; margin:0 0 24px; border-radius:50%; background:#e7f2ef; border:1px solid #b8d8d2; color:var(--teal-dark); font-size:14px; }
.process-step h3 { color:#17242c; }
.process-step p { color:#596b72; }
.capability-grid { gap:16px; }
.capability-card { padding:28px 24px; background:#fff; border:1px solid #d9e1df; border-radius:8px; text-align:start; }
.content-section:not(.alt) .capability-card { background:#f7f9f8; }
.capability-card .icon { font-size:34px; }
.capability-card h4 { color:#17242c; }
.capability-card p { color:#596b72; }
.two-col { gap:56px; }
.about-image { min-height:360px; overflow:hidden; border-radius:8px; background:#dfe6e4; }
.about-image picture, .about-image img { display:block; width:100%; height:100%; }
.about-image img { object-fit:cover; }
.why-item, .mission-card { border:1px solid #d9e1df; border-radius:8px; background:#fff; padding:28px; text-align:start; }
.why-item h3, .mission-card h3 { color:#17242c; }
.why-item p, .mission-card p { color:#596b72; }
.why-icon, .mission-card .icon { width:48px; height:48px; margin:0 0 18px; border-radius:6px; display:grid; place-items:center; font-size:22px; }
.cases-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.case-card { background:#fff; border:1px solid #d9e1df; border-radius:8px; box-shadow:none; color:#17242c; }
.case-card:hover { transform:translateY(-2px); box-shadow:var(--shadow); }
.case-body h3 { color:#17242c; }
.case-body p, .case-meta { color:#596b72; }
.case-highlight { color:var(--teal-dark); background:#edf7f5; border-color:#cce5e0; }
.case-expand-hint { width:100%; min-height:44px; margin-top:14px; padding:9px 12px; border:1px solid #bfcac7; border-radius:6px; background:#fff; color:var(--teal-dark); font-weight:700; cursor:pointer; }
.case-expand-hint:hover { background:#edf7f5; border-color:var(--teal); }
.case-overlay { visibility:hidden; }
.case-overlay.open { visibility:visible; }
.filter-btn { min-height:44px; color:#4b5d65; border-color:#bfcac7; border-radius:6px; }
.filter-btn:hover, .filter-btn.active { background:var(--teal-dark); color:#fff; border-color:var(--teal-dark); }
.faq-category-title { color:#17242c; }
.faq-items { background:#fff; border-color:#d9e1df; border-radius:8px; }
.faq-item { border-color:#e5eae8; }
.faq-question { min-height:56px; color:#17242c; }
.faq-question:hover { color:var(--teal-dark); background:#edf7f5; }
.faq-question.active { color:var(--teal-dark); }
.faq-answer > div { color:#53666e; }
.quote-form { max-width:860px; background:#fff; border-color:#d9e1df; border-radius:8px; box-shadow:var(--shadow); }
.quote-form label { color:#26383f; }
.quote-form input, .quote-form select, .quote-form textarea { min-height:46px; color:#17242c; background:#f7f9f8; border-color:#c8d2cf; border-radius:6px; }
.quote-form textarea { min-height:132px; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color:var(--teal); box-shadow:0 0 0 3px rgba(14,124,114,.13); }
.file-upload-btn { min-height:44px; border-radius:6px; background:var(--teal-dark); color:#fff; }
.field-error { color:#b42318; }
.form-error { color:#8f1d16; background:#fff0ee; border-color:#f2b8b3; }
.cta { background:#0a1924; }
.cta::before { display:none; }
.cta h2 { color:#fff; }
.cta p { color:#c1d0d4; }

/* Footer */
.footer { background:#061018; color:#adbec3; padding:64px 24px 28px; }
.footer-grid { max-width:1200px; grid-template-columns:1.6fr repeat(3,1fr); gap:56px; }
.footer h2 { margin:0 0 18px; color:#fff; font-size:13px; text-transform:uppercase; }
.footer a { min-height:44px; display:flex; align-items:center; margin-bottom:0; color:#adbec3; font-size:13px; }
.footer a:hover { color:#8cddd5; }
.footer-brand { display:inline-flex; min-height:64px!important; margin-bottom:16px; align-items:center; gap:14px; color:#fff!important; font:800 19px/1.2 'Manrope',sans-serif; text-decoration:none; }
.footer-brand img { width:64px; height:64px; flex:0 0 64px; object-fit:contain; border:0; border-radius:0; background:transparent; }
.footer-brand-desc { color:#adbec3; }
.footer address { display:flex; flex-direction:column; font-style:normal; }
.footer-bottom { max-width:1200px; color:#82969c; }

/* Legal pages */
.legal-content { max-width:860px; margin:0 auto; }
.legal-updated { color:#64767d; font-size:13px; }
.legal-section { padding:28px 0; border-bottom:1px solid #dfe6e4; }
.legal-section:last-child { border-bottom:0; }
.legal-section h2 { margin-bottom:14px; font-size:24px; }
.legal-section ul { margin:12px 0 0 20px; color:#53666e; }
.legal-section li { margin:7px 0; }

@media (max-width:1120px) {
  .hamburger { display:flex; margin-inline-start:auto; }
  .site-menu { position:fixed; top:72px; right:0; bottom:0; width:min(420px,100%); z-index:102; padding:28px; flex-direction:column; align-items:stretch; justify-content:flex-start; gap:24px; background:#fff; transform:translateX(100%); visibility:hidden; transition:transform .25s ease, visibility .25s ease; overflow-y:auto; }
  html[dir="rtl"] .site-menu { right:auto; left:0; transform:translateX(-100%); }
  .site-menu.open, html[dir="rtl"] .site-menu.open { transform:translateX(0); visibility:visible; }
  .nav-links { display:flex; flex-direction:column; position:static; max-height:none; opacity:1; overflow:visible; padding:0; background:transparent; border:0; box-shadow:none; gap:0; }
  .nav-links li { border-bottom:1px solid #e2e8e6; }
  .nav-links a { display:block; color:#24363e; font-size:15px; padding:14px 2px; }
  .nav-links a:hover, .nav-links a[aria-current="page"] { color:var(--teal-dark); }
  .nav-links a::after { display:none; }
  .nav-actions { margin-top:auto; flex-direction:column; align-items:stretch; }
  .nav-quote { display:inline-flex!important; justify-content:center; }
  .lang-switcher-toggle { width:100%; justify-content:space-between; color:#24363e; border-color:#c8d2cf; }
  .lang-switcher-dropdown { position:static; margin-top:6px; box-shadow:none; }
  .quality-layout { grid-template-columns:1fr; gap:28px; }
  .capability-split { grid-template-columns:1fr; }
  .capability-panel { min-height:0; border-inline-end:0; border-bottom:1px solid #d9e1df; }
  .capability-panel:last-child { border-bottom:0; }
  .capability-panel h3 { margin-top:24px; }
}

@media (max-width:768px) {
  html { scroll-padding-top:64px; }
  .nav-inner { height:64px; padding:0 16px; }
  .site-menu { top:64px; }
  .nav-backdrop { inset:64px 0 0; }
  .logo img { width:40px; height:40px; }
  .home-hero { min-height:600px; }
  .home-hero-inner { padding:72px 18px 54px; }
  .home-hero h1 { font-size:36px; line-height:1.12; }
  .home-hero-lead { font-size:16px; }
  .home-hero-actions { flex-direction:column; align-items:stretch; }
  .home-hero-actions .btn { justify-content:center; width:100%; }
  .terms-grid { grid-template-columns:1fr 1fr; }
  .term-item { min-height:120px; border-bottom:1px solid #dfe6e4; }
  .term-item:nth-of-type(odd) { border-inline-start:1px solid #dfe6e4; }
  .term-item strong { font-size:18px; }
  .section, .content-section { padding:58px 18px; }
  .section-heading h2, .quote-band h2 { font-size:28px; }
  .section-heading-row { align-items:flex-start; flex-direction:column; }
  .featured-case-grid, .cases-grid { grid-template-columns:1fr; }
  .quality-step { grid-template-columns:46px 1fr; }
  .quote-band { padding:60px 18px; }
  .page-hero { min-height:320px; padding:72px 18px 48px; }
  .page-hero h1 { font-size:32px; }
  .process-flow { grid-template-columns:1fr; }
  .process-step { border-inline-end:0; border-bottom:1px solid #d9e1df; }
  .process-step:last-child { border-bottom:0; }
  .capability-grid, .mission-grid, .why-grid { grid-template-columns:1fr; }
  .footer { padding:48px 18px 24px; }
  .footer-grid { grid-template-columns:1fr; gap:30px; }
  .footer-bottom { align-items:flex-start; text-align:start; }
  html[dir="rtl"] .footer-bottom { align-items:flex-end; }
}

@media (max-width:420px) {
  .home-hero h1 { font-size:31px; }
  .terms-grid { grid-template-columns:1fr; }
  .term-item, .term-item:nth-of-type(odd) { min-height:104px; border-inline-start:1px solid #dfe6e4; }
  .section-heading h2, .quote-band h2 { font-size:25px; }
  .case-facts { flex-direction:column; }
}
