/* ============================================================
   DIGICHUM INFOTECH V2 — Design System
   Inspired by NineHertz + Dotsquares
   Theme: Light primary, dark hero, clean enterprise
   ============================================================ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  /* Brand */
  --blue-600:   #2563EB;
  --blue-700:   #1D4ED8;
  --blue-100:   #DBEAFE;
  --blue-50:    #EFF6FF;
  --indigo-600: #4F46E5;
  --purple-600: #7C3AED;

  /* Neutrals */
  --gray-950:   #0A0F1E;
  --gray-900:   #111827;
  --gray-800:   #1F2937;
  --gray-700:   #374151;
  --gray-600:   #4B5563;
  --gray-500:   #6B7280;
  --gray-400:   #9CA3AF;
  --gray-300:   #D1D5DB;
  --gray-200:   #E5E7EB;
  --gray-100:   #F3F4F6;
  --gray-50:    #F9FAFB;
  --white:      #FFFFFF;

  /* Semantic */
  --bg-hero:       var(--gray-950);
  --bg-body:       var(--white);
  --bg-subtle:     #EEF2F7;   /* stronger contrast vs white */
  --bg-card:       var(--white);
  --bg-dark:       var(--gray-900);

  --text-primary:  var(--gray-900);
  --text-secondary:#374151;   /* was gray-600 — now darker for readability */
  --text-muted:    #6B7280;   /* was gray-400 — bumped up */
  --text-inverse:  var(--white);

  --border:        var(--gray-200);
  --border-subtle: var(--gray-100);

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.10);

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  14px;
  --radius-xl:  20px;
  --radius-full:9999px;

  /* Spacing */
  --section-y:       96px;
  --section-y-sm:    64px;
  --container-max:   1200px;
  --container-px:    24px;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semibold:600;
  --fw-bold:    700;
  --fw-extrabold:800;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── TYPOGRAPHY SCALE ────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--blue-600);
  border-radius: 2px;
}

h1, .h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: var(--fw-extrabold);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
h2, .h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}
h3, .h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
  color: var(--text-primary);
}
h4, .h4 {
  font-size: 16px;
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  color: var(--text-primary);
}
p { font-size: 16px; line-height: 1.75; color: var(--text-secondary); }
.lead { font-size: 18px; line-height: 1.7; color: var(--text-secondary); }
.small { font-size: 14px; line-height: 1.6; color: var(--text-secondary); }
.caption { font-size: 12px; line-height: 1.5; color: var(--text-muted); }

/* Hero dark overrides */
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }
.on-dark p, .on-dark .lead { color: rgba(255,255,255,0.72); }
.on-dark .eyebrow { color: #60A5FA; }
.on-dark .eyebrow::before { background: #60A5FA; }

/* ── CONTAINER ───────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}
.container--wide { max-width: 1360px; }
.container--narrow { max-width: 800px; }

/* ── SECTION ─────────────────────────────────────────────── */
.section { padding: var(--section-y) 0; }
.section--sm { padding: var(--section-y-sm) 0; }
.section--dark { background: var(--bg-dark); }
.section--subtle {
  background: var(--bg-subtle);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.section--hero { background: var(--bg-hero); padding: 160px 0 96px; }

.section-header {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { font-size: 17px; color: var(--gray-600); }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: var(--fw-semibold);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue-600);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-700); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--blue-600);
  border: 1.5px solid var(--blue-600);
}
.btn-outline:hover { background: var(--blue-50); transform: translateY(-1px); }

.btn-white {
  background: var(--white);
  color: var(--gray-900);
}
.btn-white:hover { background: var(--gray-50); transform: translateY(-1px); box-shadow: var(--shadow-sm); }

.btn-ghost-white {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.18); transform: translateY(-1px); }

.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

.btn-group { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* ── BADGE / TAG ─────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: var(--fw-semibold);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--blue-50);
  color: var(--blue-600);
  border: 1px solid var(--blue-100);
}
.badge--gray { background: var(--gray-100); color: var(--gray-600); border-color: var(--gray-200); }
.badge--green { background: #F0FDF4; color: #16A34A; border-color: #BBF7D0; }
.badge--purple { background: #F5F3FF; color: var(--purple-600); border-color: #DDD6FE; }

/* ── CARD ────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card--flat { box-shadow: none; }
.card--flat:hover { box-shadow: var(--shadow-sm); }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue-600);
  flex-shrink: 0;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--gray-600); }

/* ── GRIDS ───────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-2--wide { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.grid-2--wide.reverse { direction: rtl; }
.grid-2--wide.reverse > * { direction: ltr; }

/* ── STAT BAR ────────────────────────────────────────────── */
.stat-bar {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.stat-bar-item {}
.stat-bar-item .value {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: var(--fw-extrabold);
  color: var(--blue-600);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-bar-item .label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.on-dark .stat-bar-item .value { color: #60A5FA; }
.on-dark .stat-bar-item .label { color: rgba(255,255,255,0.5); }

/* ── DIVIDER ─────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 48px 0; }

/* ── NAVBAR ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 15, 30, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  height: 68px;
  display: flex;
  align-items: center;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-xs);
}
.navbar.scrolled .nav-logo-text .main { color: var(--gray-900); }
.navbar.scrolled .nav-logo-text .sub { color: var(--gray-500); }
.navbar.scrolled .nav-link { color: var(--gray-700); }
.navbar.scrolled .nav-link:hover { color: var(--blue-600); }
.navbar.scrolled .nav-cta { background: var(--blue-600); color: var(--white); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
/* Logo image — real Digichum horizontal logo */
.nav-logo-img {
  height: 38px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);   /* white on dark */
  transition: filter 0.25s ease;
}
.navbar.scrolled .nav-logo-img {
  filter: none;                       /* original colors on white bg */
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.82);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-link.active { color: var(--white); }

/* Dropdown — click based, stays open */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,0.14);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 1001;
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Mega menu for services */
.nav-dropdown-menu.mega {
  min-width: 560px;
  display: grid;
  grid-template-columns: 180px 1fr;
  padding: 0;
  overflow: hidden;
  gap: 0;
}
.mega-sidebar {
  background: var(--gray-50);
  border-right: 1px solid var(--border);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mega-sidebar-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 12px 4px;
}
.mega-sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: background .15s, color .15s;
  border: none;
  background: none;
  text-align: left;
  width: 100%;
}
.mega-sidebar-item:hover,
.mega-sidebar-item.active { background: var(--white); color: var(--blue-600); }
.mega-sidebar-item.active { font-weight: 600; box-shadow: var(--shadow-xs); }
.mega-sidebar-item svg { flex-shrink: 0; color: inherit; }

.mega-panel {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mega-panel-section { display: none; flex-direction: column; gap: 2px; }
.mega-panel-section.active { display: flex; }
.mega-panel-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  padding: 0 8px;
}
.mega-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  transition: background .15s, color .15s;
}
.mega-link:hover { background: var(--blue-50); color: var(--blue-600); }
.mega-link::before { content: '→'; color: var(--blue-600); font-size: 11px; flex-shrink: 0; }

/* Industries dropdown — 3 col grid */
.nav-dropdown-menu.industries-mega {
  min-width: 540px;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.nav-dropdown.open .nav-dropdown-menu.industries-mega {
  transform: translateX(-50%) translateY(0);
}
.industry-mega-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  transition: background .15s, color .15s;
  text-decoration: none;
}
.industry-mega-link:hover { background: var(--blue-50); color: var(--blue-600); }
.industry-mega-link span { font-size: 16px; flex-shrink: 0; }

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--gray-700);
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-item:hover { background: var(--blue-50); color: var(--blue-600); }
.nav-dropdown-item svg { color: var(--blue-600); flex-shrink: 0; }

/* ── Services flat 2-col dropdown ───────────────────────── */
.nav-dropdown-menu.svc-grid-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-width: 480px;
  padding: 8px;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
}
.nav-dropdown.open .nav-dropdown-menu.svc-grid-menu {
  transform: translateX(-50%) translateY(0);
}
.svc-menu-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px;
}
.svc-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.15s;
}
.svc-menu-item:hover { background: var(--blue-50); }
.svc-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--blue-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  transition: background 0.15s;
}
.svc-menu-item:hover .svc-icon {
  background: var(--blue-600);
  color: var(--white);
}
.svc-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.svc-text strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.2;
}
.svc-text small {
  font-size: 11px;
  color: var(--gray-500);
  line-height: 1.3;
}
.svc-menu-item:hover .svc-text strong { color: var(--blue-600); }
.svc-menu-item:hover .svc-text small { color: var(--blue-400); }

/* Nav right */
.nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-cta {
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: var(--white);
  background: var(--blue-600);
  padding: 9px 18px;
  border-radius: var(--radius-md);
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-700); transform: translateY(-1px); }
.navbar.scrolled .nav-cta { background: var(--blue-600); color: var(--white); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.navbar.scrolled .nav-hamburger span { background: var(--gray-800); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu — full overlay */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #0A0F1E;
  z-index: 998;
  padding: 88px 24px 40px;
  overflow-y: auto;
  flex-direction: column;
}
.nav-mobile.open { display: flex; }

.nav-mobile-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  padding: 16px 0 4px;
}
.nav-mobile-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: var(--fw-semibold);
  color: rgba(255,255,255,0.9);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.15s;
  text-decoration: none;
}
.nav-mobile-link:hover { color: #60A5FA; }
.nav-mobile-link:last-of-type { border-bottom: none; }
.nav-mobile-sub {
  font-size: 15px !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,0.55) !important;
  padding: 10px 0 10px 20px !important;
}
.nav-mobile-sub:hover { color: #93C5FD !important; }
.nav-mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 16px;
  background: var(--blue-600);
  color: var(--white);
  border-radius: var(--radius-lg);
  font-size: 16px;
  font-weight: var(--fw-semibold);
  text-decoration: none;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-mobile-cta:hover { background: var(--blue-700); color: var(--white); }

/* ── HERO ────────────────────────────────────────────────── */
.hero { padding: 148px 0 96px; background: var(--bg-hero); position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 40%, rgba(37,99,235,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 90%, rgba(124,58,237,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; }
.hero-content {}
.hero-content h1 { color: var(--white); margin-bottom: 20px; }
.hero-content h1 em { font-style: normal; color: #60A5FA; }
.hero-lead { font-size: 18px; line-height: 1.7; color: rgba(255,255,255,0.65); margin-bottom: 36px; max-width: 520px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-rating-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.rating-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.rating-item .stars { color: #F59E0B; font-size: 12px; letter-spacing: 1px; }
.rating-item strong { color: rgba(255,255,255,0.85); font-size: 14px; }
.rating-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.2); }

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-stat-card .icon-wrap {
  width: 44px; height: 44px;
  background: rgba(37,99,235,0.2);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: #60A5FA;
  flex-shrink: 0;
}
.hero-stat-card .number { font-size: 24px; font-weight: var(--fw-extrabold); color: var(--white); line-height: 1; }
.hero-stat-card .label { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* ── TECH MARQUEE (4 rows, alternating directions) ───────── */
.tech-marquee-section {
  background: var(--gray-950);
  padding: 56px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.tech-marquee-header {
  text-align: center;
  margin-bottom: 36px;
}
.tech-marquee-header h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.tech-marquee-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.marquee-row {
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
  position: relative;
}
.marquee-row::before,
.marquee-row::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee-row::before { left: 0; background: linear-gradient(to right, #0A0F1E, transparent); }
.marquee-row::after  { right: 0; background: linear-gradient(to left, #0A0F1E, transparent); }

.marquee-label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  white-space: nowrap;
  z-index: 3;
  width: 80px;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  animation: marquee-ltr 40s linear infinite;
  padding-left: 90px;
}
.marquee-track.rtl {
  animation: marquee-rtl 40s linear infinite;
}
.marquee-row:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee-ltr {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-rtl {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.marquee-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s, color .2s, border-color .2s;
  cursor: default;
}
.marquee-pill:hover {
  background: rgba(37,99,235,0.2);
  border-color: rgba(37,99,235,0.4);
  color: #93C5FD;
}
/* row accent colours */
.row-frontend  .marquee-pill { border-color: rgba(96,165,250,0.12); }
.row-backend   .marquee-pill { border-color: rgba(52,211,153,0.12); }
.row-cloud     .marquee-pill { border-color: rgba(251,146,60,0.12); }
.row-ai        .marquee-pill { border-color: rgba(167,139,250,0.12); }
.row-frontend  .marquee-pill:hover { background:rgba(59,130,246,.2);  border-color:rgba(59,130,246,.5);  color:#93C5FD; }
.row-backend   .marquee-pill:hover { background:rgba(16,185,129,.15); border-color:rgba(16,185,129,.4);  color:#6EE7B7; }
.row-cloud     .marquee-pill:hover { background:rgba(245,158,11,.15); border-color:rgba(245,158,11,.4);  color:#FCD34D; }
.row-ai        .marquee-pill:hover { background:rgba(139,92,246,.2);  border-color:rgba(139,92,246,.5);  color:#C4B5FD; }

/* ── CLIENTS STRIP ───────────────────────────────────────── */
.clients-strip {
  background: var(--gray-950);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  overflow: hidden;
}
.clients-strip-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 8px;
}
.clients-strip-inner::-webkit-scrollbar { display: none; }
.clients-strip-label {
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
  padding-right: 12px;
  border-right: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.tech-partner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 6px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.tech-partner:hover {
  background: rgba(37,99,235,0.25);
  border-color: rgba(37,99,235,0.5);
  color: #93C5FD;
}

/* ── DIFFERENTIATORS ─────────────────────────────────────── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.diff-item {
  background: var(--white);
  padding: 32px 28px;
  transition: background 0.2s;
}
.diff-item:hover { background: var(--blue-50); }
.diff-number {
  font-size: 28px;
  font-weight: var(--fw-extrabold);
  color: var(--blue-600);
  margin-bottom: 14px;
  opacity: 0.25;
  line-height: 1;
}
.diff-item h4 { font-size: 15px; font-weight: var(--fw-bold); margin-bottom: 8px; color: var(--gray-900); }
.diff-item p { font-size: 14px; line-height: 1.7; color: var(--gray-600); }

/* ── SERVICES LIST (NineHertz style alternating) ─────────── */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block.reverse .service-block-content { order: 2; }
.service-block.reverse .service-block-visual { order: 1; }

.service-block-content { }
.service-block-content h3 { font-size: clamp(20px, 2.5vw, 26px); margin-bottom: 12px; }
.service-block-content p { margin-bottom: 24px; font-size: 15px; line-height: 1.75; }
.service-sub-links { display: flex; flex-direction: column; gap: 0; }
.service-sub-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--gray-700);
  border-bottom: 1px solid var(--border-subtle);
  transition: color 0.15s;
}
.service-sub-link:last-child { border-bottom: none; }
.service-sub-link:hover { color: var(--blue-600); }
.service-sub-link::before { content: '→'; color: var(--blue-600); font-size: 13px; flex-shrink: 0; }

.service-block-visual {
  background: var(--gray-900);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 36px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: sticky;
  top: 88px;
}
.service-visual-label {
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 6px;
}
.service-visual-title {
  font-size: 18px;
  font-weight: var(--fw-bold);
  color: var(--white);
  margin-bottom: 20px;
}
.service-metric { display: flex; flex-direction: column; gap: 10px; }
.service-metric-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
}
.service-metric-item .metric-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.service-metric-item .metric-value {
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: #93C5FD;
}

/* ── CASE STUDY CARDS ────────────────────────────────────── */
.cs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.cs-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.cs-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.cs-card-thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--blue-50), #EEF2FF);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.cs-card-thumb .big-metric {
  font-size: 56px;
  font-weight: var(--fw-extrabold);
  color: var(--blue-600);
  opacity: 0.22;
  position: absolute;
  right: 16px;
  bottom: 8px;
  line-height: 1;
  user-select: none;
}
.cs-card-thumb .metric-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--blue-600);
  color: var(--white);
  font-size: 13px;
  font-weight: var(--fw-bold);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}
.cs-card-body { padding: 24px; }
.cs-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.cs-card-body h3 { font-size: 16px; margin-bottom: 8px; }
.cs-card-body p { font-size: 14px; line-height: 1.65; margin-bottom: 16px; }
.cs-card-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.cs-meta-item { font-size: 12px; color: var(--text-muted); }
.cs-meta-item strong { display: block; color: var(--gray-700); font-size: 13px; font-weight: var(--fw-semibold); }

/* ── INDUSTRY CARDS ──────────────────────────────────────── */
.industry-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.industry-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}
.industry-card:hover { border-color: var(--blue-600); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.industry-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--blue-600);
}
.industry-card h3 { font-size: 15px; margin-bottom: 6px; color: var(--gray-900); }
.industry-card p { font-size: 13px; line-height: 1.6; margin-bottom: 12px; color: var(--gray-600); }
.industry-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.industry-tag { font-size: 11px; padding: 3px 8px; border-radius: var(--radius-full); background: var(--gray-100); color: var(--gray-600); font-weight: var(--fw-medium); }

/* ── PROCESS STEPS ───────────────────────────────────────── */
.process-steps { display: flex; flex-direction: column; gap: 0; }
.process-step { display: flex; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--border); position: relative; }
.process-step:last-child { border-bottom: none; padding-bottom: 0; }
.process-step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blue-600);
  color: var(--white);
  font-size: 13px;
  font-weight: var(--fw-bold);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.process-step-body h4 { font-size: 16px; margin-bottom: 6px; }
.process-step-body p { font-size: 14px; }

/* ── TIMELINE ────────────────────────────────────────────── */
.timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 16px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-600), var(--blue-100));
}
.timeline-item { display: flex; gap: 24px; padding: 0 0 32px 0; position: relative; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-600);
  font-size: 12px;
  font-weight: var(--fw-bold);
  z-index: 1;
  margin-top: 2px;
}
.timeline-body { flex: 1; padding-top: 4px; }
.timeline-label { font-size: 11px; font-weight: var(--fw-semibold); letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 4px; }
.timeline-body h4 { font-size: 16px; margin-bottom: 6px; }
.timeline-body p { font-size: 14px; }

/* ── ACCORDION / FAQ ─────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-size: 16px;
  font-weight: var(--fw-semibold);
  color: var(--gray-900);
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
}
.faq-btn:hover { color: var(--blue-600); }
.faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-300);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  color: var(--gray-500);
  font-size: 16px;
  line-height: 1;
}
.faq-item.open .faq-icon {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
}
.faq-item.open .faq-body { max-height: 500px; padding-bottom: 20px; }
.faq-body p { font-size: 15px; line-height: 1.75; color: var(--text-secondary); }

/* ── CTA BAND ────────────────────────────────────────────── */
.cta-band {
  background: var(--gray-950);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(37,99,235,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band .container { position: relative; }
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.65); font-size: 17px; margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ── TESTIMONIAL ─────────────────────────────────────────── */
.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testimonial-stars { color: #F59E0B; font-size: 14px; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-text { font-size: 15px; line-height: 1.75; color: var(--gray-700); margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue-600);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: var(--fw-bold);
  flex-shrink: 0;
}
.testimonial-name { font-size: 14px; font-weight: var(--fw-semibold); color: var(--gray-900); }
.testimonial-role { font-size: 12px; color: var(--text-muted); }

/* ── HIRE PAGE ───────────────────────────────────────────── */
.role-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.role-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}
.role-card:hover { border-color: var(--blue-600); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.role-card-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--blue-50);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  color: var(--blue-600);
}
.role-card h4 { font-size: 14px; margin-bottom: 4px; }
.role-card p { font-size: 12px; color: var(--text-muted); }

.model-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.model-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.model-card:hover { border-color: var(--blue-600); box-shadow: var(--shadow-md); }
.model-card.featured { border-color: var(--blue-600); background: var(--blue-50); }
.model-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--blue-600);
  color: var(--white);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.model-name { font-size: 20px; font-weight: var(--fw-bold); margin-bottom: 6px; }
.model-rate {
  font-size: 36px;
  font-weight: var(--fw-extrabold);
  color: var(--blue-600);
  line-height: 1;
  margin-bottom: 4px;
}
.model-period { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.model-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.model-features li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-700);
  align-items: flex-start;
}
.model-features li::before { content: '✓'; color: var(--blue-600); font-weight: var(--fw-bold); flex-shrink: 0; margin-top: 1px; }

/* ── GCC SPECIFIC ────────────────────────────────────────── */
.gcc-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.gcc-col { padding: 32px; }
.gcc-col:first-child { background: var(--gray-50); border-right: 1px solid var(--border); }
.gcc-col:last-child { background: var(--blue-600); }
.gcc-col-label { font-size: 12px; font-weight: var(--fw-bold); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; }
.gcc-col:first-child .gcc-col-label { color: var(--gray-400); }
.gcc-col:last-child .gcc-col-label { color: rgba(255,255,255,0.6); }
.gcc-col:last-child h3 { color: var(--white); }
.gcc-row { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid; }
.gcc-col:first-child .gcc-row { border-bottom-color: var(--border); }
.gcc-col:last-child .gcc-row { border-bottom-color: rgba(255,255,255,0.12); }
.gcc-row:last-child { border-bottom: none; padding-bottom: 0; }
.gcc-row-icon { flex-shrink: 0; margin-top: 2px; font-size: 14px; }
.gcc-col:first-child .gcc-row-icon { color: #EF4444; }
.gcc-col:last-child .gcc-row-icon { color: #86EFAC; }
.gcc-row-text { font-size: 14px; }
.gcc-col:first-child .gcc-row-text { color: var(--gray-600); }
.gcc-col:last-child .gcc-row-text { color: rgba(255,255,255,0.85); }

.gcc-timeline-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; position: relative; }
.gcc-timeline-grid::before {
  content: '';
  position: absolute;
  top: 24px; left: 0; right: 0;
  height: 2px;
  background: var(--blue-100);
  z-index: 0;
}
.gcc-phase { text-align: center; position: relative; z-index: 1; }
.gcc-phase-dot {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--blue-600);
  color: var(--white);
  font-size: 13px;
  font-weight: var(--fw-bold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue-600);
}
.gcc-phase-week { font-size: 11px; font-weight: var(--fw-semibold); color: var(--blue-600); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.gcc-phase-title { font-size: 13px; font-weight: var(--fw-semibold); color: var(--gray-800); margin-bottom: 4px; }
.gcc-phase-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer { background: var(--gray-950); padding: 64px 0 0; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.60); line-height: 1.7; margin-top: 16px; margin-bottom: 24px; max-width: 280px; }
.footer-col h5 { font-size: 13px; font-weight: var(--fw-semibold); color: var(--white); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 14px; color: rgba(255,255,255,0.58); transition: color 0.15s; }
.footer-link:hover { color: rgba(255,255,255,0.9); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: background 0.15s, color 0.15s;
}
.footer-social a:hover { background: var(--blue-600); color: var(--white); border-color: var(--blue-600); }

/* ── PAGE HERO (internal) ────────────────────────────────── */
.page-hero-v2 {
  padding: 140px 0 80px;
  background: var(--gray-950);
  position: relative;
  overflow: hidden;
}
.page-hero-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(37,99,235,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-v2 .container { position: relative; }
.page-hero-v2 .breadcrumb {
  display: flex; gap: 6px; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.35);
  margin-bottom: 24px;
}
.page-hero-v2 .breadcrumb a { color: rgba(255,255,255,0.45); transition: color 0.15s; }
.page-hero-v2 .breadcrumb a:hover { color: rgba(255,255,255,0.75); }
.page-hero-v2 h1 { color: var(--white); max-width: 700px; margin-bottom: 20px; }
.page-hero-v2 h1 em { font-style: normal; color: #60A5FA; }
.page-hero-v2 .lead { color: rgba(255,255,255,0.6); max-width: 580px; margin-bottom: 36px; }
.page-hero-v2 .hero-stat-bar {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 8px;
}
.page-hero-v2 .hero-stat-bar .stat-val {
  font-size: 26px; font-weight: var(--fw-extrabold); color: #60A5FA; display: block; line-height: 1;
}
.page-hero-v2 .hero-stat-bar .stat-lbl {
  font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.05em;
}

/* ── CONTACT FORM ────────────────────────────────────────── */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: 14px; font-weight: var(--fw-medium); color: var(--gray-700); }
.form-input, .form-select, .form-textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--gray-900);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
  background: var(--white);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12px; color: var(--text-muted); margin-top: 12px; display: flex; align-items: center; gap: 6px; }

/* ── UTILITIES ───────────────────────────────────────────── */
.text-blue { color: var(--blue-600); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-y: 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: grid; grid-template-columns: 1fr 1fr; }
  .grid-4, .industry-grid, .role-grid { grid-template-columns: repeat(2,1fr); }
  .diff-grid { grid-template-columns: repeat(2,1fr); }
  .cs-grid { grid-template-columns: repeat(2,1fr); }
  .gcc-timeline-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .gcc-timeline-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .service-block { grid-template-columns: 1fr; gap: 40px; }
  .service-block.reverse .service-block-content { order: unset; }
  .service-block.reverse .service-block-visual { order: unset; }
  .service-block-visual { position: static; min-height: 240px; }
  .model-grid { grid-template-columns: 1fr; gap: 20px; }
  .gcc-comparison { grid-template-columns: 1fr; }
  .gcc-col:first-child { border-right: none; border-bottom: 1px solid var(--border); }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex !important; }
}
@media (max-width: 768px) {
  :root { --section-y: 56px; --container-px: 16px; }
  .nav-links, .nav-right { display: none; }
  .nav-hamburger { display: flex !important; }
  .hero { padding: 120px 0 64px; }
  .hero-visual { grid-template-columns: 1fr 1fr; gap: 12px; }
  .grid-3, .grid-2, .grid-2--wide { grid-template-columns: 1fr; }
  .grid-2--wide.reverse { direction: ltr; }
  .cs-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2,1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .gcc-timeline-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .diff-grid { grid-template-columns: 1fr; }
  .role-grid { grid-template-columns: repeat(2,1fr); }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; justify-content: center; }
  .page-hero-v2 { padding: 110px 0 60px; }
  .gcc-comparison { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}

@media (max-width: 480px) {
  h1, .h1 { font-size: 30px; }
  h2, .h2 { font-size: 24px; }
  .industry-grid { grid-template-columns: 1fr; }
  .role-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { grid-template-columns: 1fr; }
  .stat-bar { gap: 24px; }
  .gcc-timeline-grid { grid-template-columns: 1fr; }
}

/* ── SERVICES MEGA MENU (v1 style ported to v2) ──────────── */
.mega-menu-services {
  min-width: 860px;
  padding: 0 !important;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.services-content {
  display: grid !important;
  grid-template-columns: 240px 1fr !important;
  padding: 0 !important;
  gap: 0 !important;
}
.services-sidebar {
  background: var(--gray-50);
  padding: 20px 12px;
  border-right: 1px solid var(--border);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.services-sidebar-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  text-transform: uppercase;
  padding: 0 8px;
}
.services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  color: var(--gray-600);
  font-weight: 500;
  font-size: 13px;
}
.service-item:hover {
  background: var(--white);
  color: var(--blue-600);
}
.service-item.active {
  background: var(--blue-600);
  color: var(--white);
}
.service-item svg { flex-shrink: 0; }
.service-item:hover svg { color: var(--blue-600); }
.service-item.active svg { color: var(--white); }

.services-panel {
  padding: 24px 28px;
  background: var(--white);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  min-height: 360px;
}
.service-content { display: none; }
.service-content.active {
  display: block;
  animation: svcFade 0.2s ease;
}
@keyframes svcFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.service-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.service-header svg { flex-shrink: 0; color: var(--blue-600); }
.service-header h4 { font-size: 15px; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.service-header p  { font-size: 13px; color: var(--gray-500); line-height: 1.5; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}
.service-card {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: transparent;
  transition: background 0.15s;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.service-card:hover { background: var(--blue-50); }
.service-card h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 3px;
}
.service-card:hover h5 { color: var(--blue-600); }
.service-card p {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ── INDUSTRIES MEGA MENU (DianApps style) ──────────────── */
.ind-mega-menu {
  min-width: 700px;
  padding: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.nav-dropdown.open .ind-mega-menu {
  transform: translateX(-50%) translateY(0);
}
.ind-mega-header {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 16px 20px 8px;
}
.ind-mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  padding: 4px 12px 12px;
}
.ind-mega-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.ind-mega-item:hover {
  background: var(--blue-50);
  color: var(--blue-600);
}
.ind-mega-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  flex-shrink: 0;
  transition: background .15s, color .15s;
}
.ind-mega-item:hover .ind-mega-icon {
  background: var(--blue-100);
  color: var(--blue-600);
}
.ind-mega-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  background: var(--gray-50);
  border-top: 1px solid var(--border);
}
.ind-mega-footer-text strong {
  display: block;
  font-size: 13px;
  color: var(--gray-800);
  margin-bottom: 2px;
}
.ind-mega-footer-text p {
  font-size: 12px;
  color: var(--gray-500);
  margin: 0;
}
.ind-mega-footer-btn {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  background: var(--blue-600);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s;
}
.ind-mega-footer-btn:hover { background: var(--blue-700); }
