/* =============================================
   B-ON Consulting Services — Main Stylesheet
   ============================================= */

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* === CSS CUSTOM PROPERTIES === */
:root {
  /* Brand Colors */
  --navy:        #081B33;
  --navy-mid:    #0D2845;
  --navy-light:  #132F52;
  --teal:        #00A7B5;
  --teal-light:  #00C5D6;
  --cyan:        #17D4FF;
  --green:       #3ABF7A;
  --white:       #FFFFFF;
  --gray-metal:  #687A89;
  --gray-light:  #F4F7FA;
  --gray-mid:    #C9D1D9;
  --gray-dark:   #374151;
  --black:       #111827;

  /* Typography */
  --font-en:     'Sora', sans-serif;
  --font-ar:     'Cairo', sans-serif;

  /* Spacing */
  --section-py:  100px;
  --container:   1240px;
  --gutter:      24px;
  --radius:      12px;
  --radius-lg:   20px;

  /* Transitions */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --duration:    0.3s;

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(8,27,51,0.08);
  --shadow-md:   0 8px 32px rgba(8,27,51,0.12);
  --shadow-lg:   0 24px 64px rgba(8,27,51,0.18);
  --shadow-teal: 0 8px 32px rgba(0,167,181,0.25);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-en);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Arabic language class */
html[lang="ar"] body,
body.lang-ar {
  font-family: var(--font-ar);
  direction: rtl;
  text-align: right;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* === LAYOUT === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-py) 0;
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section--gray {
  background: var(--gray-light);
}

.section--teal {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  color: var(--white);
}

/* Grid utilities */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* === TYPOGRAPHY === */
.heading-display {
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.heading-1 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.heading-2 {
  font-size: clamp(24px, 2.8vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.heading-3 {
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.heading-4 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.body-lg {
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 400;
  line-height: 1.75;
}

.body-md {
  font-size: 16px;
  line-height: 1.7;
}

.body-sm {
  font-size: 14px;
  line-height: 1.6;
}

.label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.text-teal    { color: var(--teal); }
.text-cyan    { color: var(--cyan); }
.text-white   { color: var(--white); }
.text-navy    { color: var(--navy); }
.text-muted   { color: var(--gray-metal); }
.text-center  { text-align: center; }

.gradient-text {
  background: linear-gradient(135deg, var(--teal) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === SECTION HEADER === */
.section-header {
  margin-bottom: 64px;
}

.section-header--center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 64px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

html[lang="ar"] .section-label::before,
body.lang-ar .section-label::before {
  order: 1;
}

.section-title {
  margin-bottom: 20px;
}

.section-desc {
  color: var(--gray-metal);
  max-width: 560px;
}

.section--dark .section-desc {
  color: var(--gray-mid);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,167,181,0.3);
}

.btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn-outline-dark {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--teal);
  padding-left: 0;
  padding-right: 0;
  gap: 8px;
}

.btn-ghost:hover { gap: 14px; }

.btn-lg { padding: 18px 36px; font-size: 16px; border-radius: 10px; }

/* Arrow icon for buttons */
.btn-arrow::after {
  content: '→';
  transition: transform var(--duration) var(--ease);
}

html[lang="ar"] .btn-arrow::after,
body.lang-ar .btn-arrow::after {
  content: '←';
}

.btn-arrow:hover::after { transform: translateX(4px); }

html[lang="ar"] .btn-arrow:hover::after,
body.lang-ar .btn-arrow:hover::after { transform: translateX(-4px); }

/* === NAVIGATION === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s var(--ease);
}

.navbar--scrolled {
  background: rgba(8, 27, 51, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 0;
  box-shadow: 0 4px 32px rgba(8,27,51,0.25);
}

.navbar .container {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo */
.nav-brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  height: 36px;
  width: auto;
}

.nav-logo--light { display: block; }
.nav-logo--dark  { display: none; }

/* Nav Menu */
.nav-menu {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: 6px;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-list a.active { color: var(--cyan); }

/* Nav Actions */
.nav-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  transition: all var(--duration) var(--ease);
  letter-spacing: 0.02em;
}

.lang-toggle:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  transition: background var(--duration) var(--ease);
}

.hamburger:hover { background: rgba(255,255,255,0.15); }

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

/* Animated background mesh */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(0,167,181,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(23,212,255,0.08) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(0,167,181,0.06) 0%, transparent 35%);
}

/* Grid pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,167,181,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,167,181,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero__label {
  margin-bottom: 24px;
  color: var(--teal);
}

.hero__title {
  color: var(--white);
  margin-bottom: 28px;
}

.hero__subtitle {
  color: rgba(255,255,255,0.65);
  font-size: clamp(16px,1.4vw,19px);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero stat line */
.hero__stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero__stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.hero__stat-num span { color: var(--teal); }

.hero__stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background: var(--navy);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 60%, rgba(0,167,181,0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 30%, rgba(23,212,255,0.06) 0%, transparent 40%);
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,167,181,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,167,181,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.page-hero__title {
  color: var(--white);
  margin-bottom: 20px;
}

.page-hero__desc {
  color: rgba(255,255,255,0.6);
  font-size: 18px;
  line-height: 1.7;
  max-width: 580px;
}

/* === CARDS === */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-mid);
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,167,181,0.2);
}

.card--dark {
  background: var(--navy-mid);
  border-color: rgba(255,255,255,0.06);
  color: var(--white);
}

.card--dark:hover {
  border-color: rgba(0,167,181,0.3);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,167,181,0.15);
}

.card--teal-top {
  border-top: 3px solid var(--teal);
}

/* Card icon */
.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0,167,181,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--teal);
  font-size: 22px;
  transition: all var(--duration) var(--ease);
}

.card:hover .card__icon {
  background: rgba(0,167,181,0.18);
  transform: scale(1.05);
}

.card--dark .card__icon {
  background: rgba(0,167,181,0.12);
}

.card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--black);
}

.card--dark .card__title { color: var(--white); }

.card__desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--gray-metal);
}

.card--dark .card__desc { color: rgba(255,255,255,0.55); }

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  transition: gap var(--duration) var(--ease);
}

.card__link:hover { gap: 10px; }
.card__link::after { content: '→'; }

html[lang="ar"] .card__link::after,
body.lang-ar .card__link::after { content: '←'; }

/* === PRACTICES SECTION === */
.practices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.practices-grid .card:nth-child(4) { grid-column: 1 / 2; }
.practices-grid .card:nth-child(5) { grid-column: 2 / 3; }

/* Practice detail page */
.practice-block {
  padding: 64px 0;
  border-bottom: 1px solid var(--gray-mid);
}

.practice-block:last-child { border-bottom: none; }

.practice-block__header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
}

.practice-block__icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0,167,181,0.1), rgba(23,212,255,0.08));
  border: 1px solid rgba(0,167,181,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.practice-block__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.practice-capabilities {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 28px 32px;
}

.practice-capabilities h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.capabilities-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 14px;
  color: var(--gray-dark);
  border-bottom: 1px solid var(--gray-mid);
}

.capabilities-list li:last-child { border-bottom: none; }

.capabilities-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

html[lang="ar"] .capabilities-list li::before,
body.lang-ar .capabilities-list li::before { order: 1; }

.practice-outcomes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--gray-mid);
  font-size: 14px;
  color: var(--gray-dark);
}

.outcome-item::before {
  content: '✓';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0,167,181,0.1);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* === INDUSTRIES === */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industry-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-mid);
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease);
}

html[lang="ar"] .industry-card::before,
body.lang-ar .industry-card::before { transform-origin: right; }

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,167,181,0.15);
}

.industry-card:hover::before { transform: scaleX(1); }

.industry-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.industry-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.industry-card p {
  font-size: 14px;
  color: var(--gray-metal);
  line-height: 1.6;
}

/* === TRANSFORMATION APPROACH === */
.approach-steps {
  position: relative;
  display: grid;
  gap: 0;
}

.approach-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  position: relative;
  padding-bottom: 48px;
}

.approach-step:last-child { padding-bottom: 0; }

.approach-step__num-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.approach-step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--teal);
  flex-shrink: 0;
  z-index: 1;
  position: relative;
}

.approach-step__line {
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, var(--teal), rgba(0,167,181,0.1));
  margin-top: 4px;
}

.approach-step:last-child .approach-step__line { display: none; }

.approach-step__content {
  padding-top: 12px;
  padding-bottom: 32px;
}

.approach-step__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.approach-step__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.approach-step__desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

/* === WHY B-ON === */
.differentiators-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.differentiators-grid > *:nth-child(4) { grid-column: 1 / 2; }
.differentiators-grid > *:nth-child(5) { grid-column: 2 / 3; }

.diff-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--duration) var(--ease);
}

.diff-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
}

.diff-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,167,181,0.2);
  box-shadow: 0 20px 48px rgba(0,0,0,0.4);
}

.diff-card__num {
  font-size: 48px;
  font-weight: 800;
  color: rgba(0,167,181,0.15);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.diff-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.diff-card__desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}

/* === VALUES === */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  transition: all var(--duration) var(--ease);
}

.value-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,167,181,0.2);
}

.value-card__icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.value-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.value-card__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray-metal);
}

/* === CTA BANNER === */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border: 1px solid rgba(0,167,181,0.15);
  border-radius: var(--radius-lg);
  padding: 64px 80px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,167,181,0.12) 0%, transparent 70%);
}

html[lang="ar"] .cta-banner::before,
body.lang-ar .cta-banner::before { right: auto; left: -80px; }

.cta-banner__title {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner__desc {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  max-width: 480px;
}

.cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

html[lang="ar"] .cta-banner__actions,
body.lang-ar .cta-banner__actions { align-items: flex-start; }

/* === CONTACT FORM === */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-mid);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0,167,181,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--teal);
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 4px;
}

.contact-info-item p, .contact-info-item a {
  font-size: 15px;
  color: var(--gray-dark);
  transition: color var(--duration);
}

.contact-info-item a:hover { color: var(--teal); }

/* Form */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-mid);
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-mid);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  color: var(--black);
  background: var(--white);
  transition: all var(--duration) var(--ease);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,167,181,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 16px;
  border-radius: 10px;
}

.form-msg {
  display: none;
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 16px;
}

.form-msg.success {
  background: rgba(58,191,122,0.1);
  color: #0F7B4A;
  border: 1px solid rgba(58,191,122,0.3);
  display: block;
}

.form-msg.error {
  background: rgba(239,68,68,0.08);
  color: #B91C1C;
  border: 1px solid rgba(239,68,68,0.2);
  display: block;
}

/* Geographic presence */
.geo-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.geo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(0,167,181,0.08);
  color: var(--teal);
  border: 1px solid rgba(0,167,181,0.2);
}

/* === FOOTER === */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 72px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand-logo {
  height: 32px;
  margin-bottom: 20px;
}

.footer__brand-desc {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.45);
  max-width: 280px;
  margin-bottom: 28px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all var(--duration) var(--ease);
  color: rgba(255,255,255,0.55);
}

.footer__social-link:hover {
  background: rgba(0,167,181,0.2);
  color: var(--teal);
}

.footer__col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

.footer__links li { margin-bottom: 12px; }

.footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  transition: color var(--duration) var(--ease);
}

.footer__links a:hover { color: var(--white); }

.footer__bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer__copy {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  transition: color var(--duration);
}

.footer__legal a:hover { color: rgba(255,255,255,0.7); }

/* === SCROLL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* === TECH FOCUS BADGES === */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  transition: all var(--duration) var(--ease);
}

.tech-badge:hover {
  background: rgba(0,167,181,0.1);
  border-color: rgba(0,167,181,0.3);
  color: var(--teal);
}

.tech-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

/* === DIVIDERS === */
.divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  border-radius: 3px;
  margin: 20px 0;
}

.divider--center { margin-left: auto; margin-right: auto; }

/* === HIGHLIGHT BOXES === */
.highlight-box {
  background: linear-gradient(135deg, rgba(0,167,181,0.06), rgba(23,212,255,0.03));
  border: 1px solid rgba(0,167,181,0.15);
  border-radius: var(--radius);
  padding: 32px;
}

/* === RTL OVERRIDES === */
html[lang="ar"],
body.lang-ar {
  direction: rtl;
  text-align: right;
}

html[lang="ar"] .nav-list,
body.lang-ar .nav-list { direction: rtl; }

html[lang="ar"] .approach-step,
body.lang-ar .approach-step {
  grid-template-columns: 1fr 80px;
  direction: rtl;
}

html[lang="ar"] .approach-step__line,
body.lang-ar .approach-step__line {
  order: -1;
}

html[lang="ar"] .cta-banner,
body.lang-ar .cta-banner {
  direction: rtl;
}

html[lang="ar"] .footer__grid,
body.lang-ar .footer__grid { direction: rtl; }

html[lang="ar"] .footer__bottom,
body.lang-ar .footer__bottom { direction: rtl; }

html[lang="ar"] .hero__stats,
body.lang-ar .hero__stats { direction: rtl; }

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  :root { --section-py: 80px; }

  .grid-4           { grid-template-columns: repeat(2, 1fr); }
  .industries-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer__grid     { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .practices-grid,
  .grid-3,
  .differentiators-grid,
  .values-grid { grid-template-columns: repeat(2, 1fr); }

  .practices-grid .card:nth-child(4),
  .practices-grid .card:nth-child(5),
  .differentiators-grid > *:nth-child(4),
  .differentiators-grid > *:nth-child(5) { grid-column: auto; }

  .practice-block__body { grid-template-columns: 1fr; }

  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .contact-layout .contact-info { order: 2; }
  .contact-layout .form-card { order: 1; }

  .cta-banner {
    grid-template-columns: 1fr;
    padding: 48px;
  }

  .cta-banner__actions { align-items: flex-start; }

  html[lang="ar"] .cta-banner__actions,
  body.lang-ar .cta-banner__actions { align-items: flex-end; }

  .hero__stats { gap: 32px; }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; }

  /* Nav mobile */
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
    z-index: 999;
  }

  .nav-menu.open {
    opacity: 1;
    pointer-events: all;
  }

  .nav-list {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .nav-list a {
    font-size: 20px;
    padding: 12px 24px;
  }

  .hamburger { display: flex; }

  .nav-actions .btn-primary { display: none; }

  .lang-toggle { font-size: 12px; padding: 6px 12px; }

  /* Layouts */
  .grid-2,
  .practices-grid,
  .values-grid,
  .differentiators-grid { grid-template-columns: 1fr; }

  .industries-grid { grid-template-columns: repeat(2, 1fr); }

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

  .form-card { padding: 28px 24px; }

  .hero__stats { flex-direction: column; gap: 24px; }
  .hero__actions { flex-direction: column; }

  .cta-banner { padding: 36px 28px; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .page-hero { padding: 140px 0 60px; }
}

@media (max-width: 480px) {
  :root { --section-py: 56px; }

  .industries-grid { grid-template-columns: 1fr; }

  .heading-display { font-size: clamp(32px, 8vw, 44px); }
}
