/* ============================================================
   APPTHER — REVAMPED INDEX STYLES
   Font: Montserrat | Palette: #0F172A / #6395FF / #FFFFFF
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:          #0F172A;
  --bg-card:     #1E293B;
  --bg-card-2:   #162032;
  --accent:      #0051E5;
  --accent-dark: #003BB5;
  --accent-glow: rgba(0, 81, 229, 0.18);
  --white:       #FFFFFF;
  --text-1:      #F1F5F9;
  --text-2:      #94A3B8;
  --text-3:      #64748B;
  --border:      rgba(255, 255, 255, 0.07);
  --border-hover:rgba(0, 81, 229, 0.35);
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   24px;
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.22);
  --shadow-glow: 0 8px 40px rgba(0, 81, 229, 0.25);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  background: linear-gradient(160deg, #060e1d 0%, #0d1628 55%, #0a1220 100%);
  min-height: 100vh;
  color: var(--text-1);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; transition: color 0.25s var(--ease); }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
  color: var(--text-1);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem;   font-weight: 700; }
p  { color: var(--text-2); font-weight: 300; font-size: 0.975rem; line-height: 1.75; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.28s var(--ease);
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--text-1);
  border-color: var(--border-hover);
}
.btn-outline:hover {
  background: var(--accent-glow);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn i { font-size: 0.8rem; }

/* ── Section Header ─────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 44px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p  { max-width: 520px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ════════════════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════════════════ */
.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.navbar-wrapper.scrolled {
  background: var(--white);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.09);
}
.navbar-main { width: 100%; }
.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Logo ───────────────────────────────────────────────────── */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo img { height: 36px; width: auto; display: block; }
.site-logo .logo-default  { display: block; }
.site-logo .logo-scrolled { display: none; }
.navbar-wrapper.scrolled .site-logo .logo-default  { display: none; }
.navbar-wrapper.scrolled .site-logo .logo-scrolled { display: block; }

/* ── Desktop Nav Links ──────────────────────────────────────── */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}
.nav-desktop > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  border-radius: 6px;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.nav-desktop > li > a:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.nav-caret { font-size: 0.55rem; transition: transform 0.3s ease; }
.nav-item:hover .nav-caret { transform: rotate(180deg); }

/* Scrolled state — dark links */
.navbar-wrapper.scrolled .nav-desktop > li > a { color: #334155; }
.navbar-wrapper.scrolled .nav-desktop > li > a:hover { color: var(--accent); background: rgba(0,81,229,0.06); }

/* ── AI Badge pill ─────────────────────────────────────────── */
.nav-ai-badge-item { margin-right: 6px; }
.nav-ai-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 5px 14px 5px 5px !important;
  border-radius: 50px !important;
  border: 1.5px solid rgba(0,81,229,0.7) !important;
  background: rgba(0,81,229,0.12) !important;
  cursor: pointer;
  text-decoration: none !important;
  animation: badgeGlow 2.4s ease-in-out infinite;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
}
.nav-ai-badge:hover {
  background: rgba(0,81,229,0.22) !important;
  border-color: #0051E5 !important;
}
.navbar-wrapper.scrolled .nav-ai-badge {
  border-color: rgba(0,81,229,0.7) !important;
  background: rgba(0,81,229,0.10) !important;
}
@keyframes badgeGlow {
  0%, 100% {
    box-shadow: 0 0 8px rgba(0,81,229,0.25), 0 0 0 0 rgba(0,81,229,0);
    border-color: rgba(0,81,229,0.6);
  }
  50% {
    box-shadow: 0 0 18px rgba(0,81,229,0.65), 0 0 32px rgba(0,81,229,0.25);
    border-color: #0051E5;
  }
}
.nav-badge-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0051E5 0%, #003BB5 100%);
  box-shadow: 0 0 10px rgba(0,81,229,0.6);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.5rem;
  color: #fff;
}
.nav-badge-label { color: rgba(255,255,255,0.95); }
.nav-badge-label .ai-word {
  color: #5B9BFF;
  font-weight: 600;
}
.navbar-wrapper.scrolled .nav-badge-label { color: #1e3a6e; }

/* ── Dropdown ───────────────────────────────────────────────── */
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #1a2744;
  border: 1px solid rgba(0,81,229,0.15);
  border-radius: var(--radius-md);
  min-width: 210px;
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s var(--ease);
  z-index: 500;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: rgba(0,81,229,0.15);
  border-top: 0;
}
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown li a {
  display: block;
  padding: 8px 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--text-2);
  transition: all 0.2s;
}
.nav-dropdown li a:hover { color: var(--accent); background: rgba(0,81,229,0.07); padding-left: 24px; }
.nav-dropdown li a::after { display: none; }

/* Scrolled — dropdown still dark (intentional) */
.navbar-wrapper.scrolled .nav-dropdown { background: var(--white); border-color: #E2E8F0; }
.navbar-wrapper.scrolled .nav-dropdown li a { color: #475569; }
.navbar-wrapper.scrolled .nav-dropdown li a:hover { color: var(--accent); background: rgba(0,81,229,0.06); }

/* ════ INDUSTRIES MEGA ════ */
.nav-item.ind-item { position: static; }
.ind-mega {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: 700px;
  max-width: calc(100vw - 32px);
  background: #0a1628;
  border: 1px solid rgba(0,81,229,0.18);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.03);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 9999;
  pointer-events: none;
}
/* Invisible bridge fills the gap so mouse movement doesn't break hover */
.ind-mega::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0; right: 0;
  height: 14px;
}
.nav-item.ind-item:hover .ind-mega {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.ind-mega-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ind-mega-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4d90ff;
  display: block;
  margin-bottom: 3px;
}
.ind-mega-heading {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.ind-mega-view-all {
  font-size: 0.73rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: color 0.16s;
}
.ind-mega-view-all:hover { color: #7ab4ff; }
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.ind-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
  text-decoration: none;
  transition: all 0.18s ease;
}
.ind-card:hover {
  background: rgba(0,81,229,0.1);
  border-color: rgba(0,81,229,0.28);
  transform: translateY(-1px);
}
.ind-card-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.88rem;
  transition: all 0.18s;
}
.ind-card-name {
  display: block;
  font-size: 0.77rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  line-height: 1.3;
  margin-bottom: 2px;
}
.ind-card:hover .ind-card-name { color: #fff; }
.ind-card-tag {
  font-size: 0.64rem;
  color: rgba(255,255,255,0.28);
  line-height: 1.3;
}
.navbar-wrapper.scrolled .ind-mega { background: #fff; border-color: #dde5f0; box-shadow: 0 24px 60px rgba(0,0,0,0.14); }
.navbar-wrapper.scrolled .ind-mega-header { border-bottom-color: #e8edf5; }
.navbar-wrapper.scrolled .ind-mega-eyebrow { color: #0051E5; }
.navbar-wrapper.scrolled .ind-mega-heading { color: #0f172a; }
.navbar-wrapper.scrolled .ind-mega-view-all { color: #94a3b8; }
.navbar-wrapper.scrolled .ind-mega-view-all:hover { color: #0051E5; }
.navbar-wrapper.scrolled .ind-card { background: #f8fafc; border-color: #e8edf5; }
.navbar-wrapper.scrolled .ind-card:hover { background: rgba(0,81,229,0.06); border-color: rgba(0,81,229,0.2); }
.navbar-wrapper.scrolled .ind-card-name { color: #1e293b; }
.navbar-wrapper.scrolled .ind-card:hover .ind-card-name { color: #0f172a; }
.navbar-wrapper.scrolled .ind-card-tag { color: #94a3b8; }

/* ════ RESOURCES DROPDOWN ════ */
.nav-item.res-item { position: relative; }
.res-drop {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: 300px;
  background: #0a1628;
  border: 1px solid rgba(0,81,229,0.18);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 9999;
  pointer-events: none;
}
.res-drop::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0; right: 0;
  height: 14px;
}
.nav-item.res-item:hover .res-drop {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.res-drop-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.16s;
}
.res-drop-item:hover { background: rgba(0,81,229,0.1); }
.res-drop-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(0,81,229,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #7ab4ff;
  font-size: 0.88rem;
  transition: all 0.16s;
}
.res-drop-item:hover .res-drop-icon { background: #0051E5; color: #fff; }
.res-drop-text strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  margin-bottom: 1px;
}
.res-drop-text span {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.4;
}
.navbar-wrapper.scrolled .res-drop { background: #fff; border-color: #dde5f0; box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.navbar-wrapper.scrolled .res-drop-item:hover { background: rgba(0,81,229,0.06); }
.navbar-wrapper.scrolled .res-drop-icon { background: rgba(0,81,229,0.08); }
.navbar-wrapper.scrolled .res-drop-item:hover .res-drop-icon { background: #0051E5; color: #fff; }
.navbar-wrapper.scrolled .res-drop-text strong { color: #1e293b; }
.navbar-wrapper.scrolled .res-drop-text span { color: #64748b; }

/* ════════════════════════════════════════════════════════════
   MEGA MENU — SERVICES
   ════════════════════════════════════════════════════════════ */
.navbar-container { position: relative; overflow: visible; }
.nav-item.mega-item { position: static; }
.nav-item.mega-item > a::after { display: none !important; }

.mega-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: 940px;
  max-width: calc(100vw - 32px);
  background: #0a1628;
  border: 1px solid rgba(0,81,229,0.18);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.03);
  display: flex;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 9999;
  pointer-events: none;
}
/* Invisible bridge fills the gap so mouse movement doesn't break hover */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0; right: 0;
  height: 14px;
}
.mega-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* ── Left sidebar ── */
.mega-left {
  width: 230px;
  flex-shrink: 0;
  background: #060f1e;
  padding: 20px 0 16px;
  border-right: 1px solid rgba(255,255,255,0.04);
}
.mega-section-title {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  padding: 0 18px 14px;
  display: block;
}
.mega-cats { list-style: none; padding: 0; margin: 0; }
.mega-cat {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 18px 10px 15px;
  cursor: pointer;
  transition: all 0.16s ease;
  border-left: 3px solid transparent;
  text-decoration: none;
}
.mega-cat:hover { background: rgba(0,81,229,0.1); border-left-color: rgba(0,81,229,0.5); }
.mega-cat.active { background: rgba(0,81,229,0.14); border-left-color: #0051E5; }
.mega-cat-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  transition: all 0.16s ease;
}
.mega-cat:hover .mega-cat-icon { background: rgba(0,81,229,0.2); color: #7ab4ff; }
.mega-cat.active .mega-cat-icon { background: #0051E5; color: #fff; box-shadow: 0 4px 12px rgba(0,81,229,0.4); }
.mega-cat-info { display: flex; flex-direction: column; gap: 1px; }
.mega-cat-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  transition: color 0.16s;
  line-height: 1.25;
}
.mega-cat:hover .mega-cat-name, .mega-cat.active .mega-cat-name { color: #fff; }
.mega-cat-count {
  font-size: 0.67rem;
  color: rgba(255,255,255,0.25);
  font-weight: 400;
}
.mega-cat.active .mega-cat-count { color: rgba(255,255,255,0.45); }

/* ── Right content ── */
.mega-right {
  flex: 1;
  padding: 22px 22px 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}
.mega-panel { display: none; flex-direction: column; gap: 16px; flex: 1; }
.mega-panel.active { display: flex; }

.mega-panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mega-panel-head-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(0,81,229,0.18);
  display: flex; align-items: center; justify-content: center;
  color: #7ab4ff; font-size: 0.95rem; flex-shrink: 0;
}
.mega-panel-head strong { display: block; font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 2px; }
.mega-panel-head span { font-size: 0.73rem; color: rgba(255,255,255,0.36); }

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  flex: 1;
  align-content: start;
}
.mega-svc {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
  text-decoration: none;
  transition: all 0.18s ease;
}
.mega-svc:hover {
  background: rgba(0,81,229,0.1);
  border-color: rgba(0,81,229,0.28);
  transform: translateY(-1px);
}
.mega-svc-icon {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: rgba(0,81,229,0.14);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 0.7rem; color: #7ab4ff;
  transition: all 0.18s ease;
}
.mega-svc:hover .mega-svc-icon { background: #0051E5; color: #fff; }
.mega-svc-text strong {
  display: block; font-size: 0.75rem; font-weight: 600;
  color: rgba(255,255,255,0.82); margin-bottom: 3px; line-height: 1.3;
}
.mega-svc-text span { font-size: 0.68rem; color: rgba(255,255,255,0.36); line-height: 1.4; }

.mega-cta {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: rgba(0,81,229,0.07);
  border-radius: 10px; border: 1px solid rgba(0,81,229,0.15);
  margin-top: 4px;
}
.mega-cta strong { display: block; font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.82); }
.mega-cta span { font-size: 0.69rem; color: rgba(255,255,255,0.32); }
.mega-cta-btns { display: flex; gap: 7px; flex-shrink: 0; }
.mega-btn-ghost {
  padding: 6px 13px; border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.65);
  text-decoration: none; transition: all 0.18s; white-space: nowrap;
}
.mega-btn-ghost:hover { border-color: rgba(255,255,255,0.4); color: #fff; }
.mega-btn-solid {
  padding: 6px 13px; border-radius: 7px;
  background: #0051E5; font-size: 0.72rem; font-weight: 600;
  color: #fff; text-decoration: none; transition: all 0.18s; white-space: nowrap;
}
.mega-btn-solid:hover { background: #003BB5; transform: translateY(-1px); }

/* ── Scrolled (white header) state ── */
.navbar-wrapper.scrolled .mega-menu {
  background: #ffffff;
  border-color: #dde5f0;
  box-shadow: 0 24px 60px rgba(0,0,0,0.14);
}
.navbar-wrapper.scrolled .mega-left { background: #f4f7fc; border-right-color: #e8edf5; }
.navbar-wrapper.scrolled .mega-section-title { color: #94a3b8; }
.navbar-wrapper.scrolled .mega-cat:hover { background: rgba(0,81,229,0.06); }
.navbar-wrapper.scrolled .mega-cat.active { background: rgba(0,81,229,0.09); }
.navbar-wrapper.scrolled .mega-cat-icon { background: #e8edf5; color: #64748b; }
.navbar-wrapper.scrolled .mega-cat.active .mega-cat-icon { background: #0051E5; color: #fff; }
.navbar-wrapper.scrolled .mega-cat-name { color: #475569; }
.navbar-wrapper.scrolled .mega-cat:hover .mega-cat-name,
.navbar-wrapper.scrolled .mega-cat.active .mega-cat-name { color: #0f172a; }
.navbar-wrapper.scrolled .mega-cat-count { color: #94a3b8; }
.navbar-wrapper.scrolled .mega-panel-head { border-bottom-color: #e8edf5; }
.navbar-wrapper.scrolled .mega-panel-head strong { color: #0f172a; }
.navbar-wrapper.scrolled .mega-panel-head span { color: #94a3b8; }
.navbar-wrapper.scrolled .mega-panel-head-icon { background: rgba(0,81,229,0.1); }
.navbar-wrapper.scrolled .mega-svc { background: #f8fafc; border-color: #e8edf5; }
.navbar-wrapper.scrolled .mega-svc:hover { background: rgba(0,81,229,0.06); border-color: rgba(0,81,229,0.2); }
.navbar-wrapper.scrolled .mega-svc-icon { background: rgba(0,81,229,0.08); }
.navbar-wrapper.scrolled .mega-svc-text strong { color: #1e293b; }
.navbar-wrapper.scrolled .mega-svc-text span { color: #64748b; }
.navbar-wrapper.scrolled .mega-cta { background: #f1f5fb; border-color: #dde5f0; }
.navbar-wrapper.scrolled .mega-cta strong { color: #1e293b; }
.navbar-wrapper.scrolled .mega-cta span { color: #94a3b8; }
.navbar-wrapper.scrolled .mega-btn-ghost { border-color: #cbd5e1; color: #475569; }
.navbar-wrapper.scrolled .mega-btn-ghost:hover { border-color: #0051E5; color: #0051E5; }

/* ── Nav CTA Button (outline) ───────────────────────────────── */
.nav-desktop .nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 22px;
  background: transparent;
  color: var(--white) !important;
  border: 1.5px solid rgba(255,255,255,0.75);
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: all 0.25s var(--ease);
  margin-left: 6px;
  text-decoration: none !important;
}
.nav-desktop .nav-cta-btn:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: var(--white) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}
.navbar-wrapper.scrolled .nav-desktop .nav-cta-btn {
  border-color: #0F172A;
  color: #0F172A !important;
}
.navbar-wrapper.scrolled .nav-desktop .nav-cta-btn:hover {
  background: #0F172A !important;
  color: var(--white) !important;
  border-color: #0F172A !important;
}
.nav-desktop .nav-cta-btn::after { display: none !important; }

/* ── Hamburger ──────────────────────────────────────────────── */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background 0.35s var(--ease);
}
.navbar-wrapper.scrolled .menu-toggle span { background: #0F172A; }

/* ── Drawer ─────────────────────────────────────────────────── */
.drawer-menu {
  position: fixed;
  top: 0; left: -100%;
  width: min(85vw, 360px);
  height: 100vh;
  background: #0d1829;
  border-right: 1px solid var(--border);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transition: left 0.38s var(--ease);
  overflow-y: auto;
}
.drawer-menu.open { left: 0; }
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.drawer-logo .site-logo .logo-word { color: var(--white); }
.drawer-close {
  background: none;
  border: none;
  color: var(--text-2);
  font-size: 1.3rem;
  cursor: pointer;
  transition: color 0.2s;
  padding: 4px;
}
.drawer-close:hover { color: var(--white); }

.drawer-nav { flex: 1; padding: 16px 0; }
.drawer-group { }
.drawer-group-toggle {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.2s;
}
.drawer-group-toggle:hover { color: var(--white); background: rgba(255,255,255,0.03); }
.drawer-group-toggle .fa { font-size: 0.65rem; transition: transform 0.3s ease; }
.drawer-group-toggle.open { color: var(--accent); }
.drawer-group-toggle.open .fa { transform: rotate(180deg); }
.drawer-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: rgba(0,0,0,0.15);
}
.drawer-submenu.open { max-height: 700px; }
.drawer-sublink {
  display: block;
  padding: 9px 24px 9px 38px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.83rem;
  font-weight: 400;
  color: var(--text-3);
  transition: all 0.2s;
}
.drawer-sublink:hover { color: var(--accent); padding-left: 44px; }
.drawer-link {
  display: block;
  padding: 13px 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all 0.2s;
}
.drawer-link:hover { color: var(--white); background: rgba(255,255,255,0.03); }
.drawer-divider { height: 1px; background: var(--border); margin: 8px 0; }
.drawer-cta {
  margin: 12px 16px 0;
  background: var(--accent);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 600 !important;
  padding: 13px 24px !important;
}
.drawer-cta:hover { background: var(--accent-dark) !important; }
.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}
.drawer-footer p { font-size: 0.78rem; color: var(--text-3); margin-bottom: 12px; }
.drawer-socials { display: flex; gap: 10px; }
.drawer-socials a {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3);
  font-size: 0.85rem;
  transition: all 0.2s;
}
.drawer-socials a:hover { border-color: var(--accent); color: var(--accent); }

.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.drawer-overlay.active { opacity: 1; pointer-events: auto; }

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Video background */
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Gradient overlay: 40% left → transparent right */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.45) 45%,
    rgba(0, 0, 0, 0.10) 75%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 140px 0 100px;
}

/* Full-width text content */
.hero-content {
  max-width: 680px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.13;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.4);
}
.hero-title .accent { color: var(--accent); }
.hero-title .muted  { color: rgba(255,255,255,0.65); font-weight: 500; }

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.trust-avatars { display: flex; }
.trust-avatars img {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  margin-left: -10px;
  object-fit: cover;
}
.trust-avatars img:first-child { margin-left: 0; }
.trust-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  font-weight: 400;
}
.trust-text strong { color: #FFFFFF; font-weight: 600; }

/* Right — visual (kept for potential reuse) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-visual-inner {
  position: relative;
  max-width: 480px;
  width: 100%;
}
.hero-mockup {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,81,229,0.12);
  animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
.hero-badge-float {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-card);
  animation: heroFloat 6s ease-in-out infinite;
}
.hero-badge-float.top-left {
  top: 10%;
  left: -40px;
  animation-delay: -2s;
}
.hero-badge-float.bottom-right {
  bottom: 12%;
  right: -30px;
  animation-delay: -4s;
}
.badge-float-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent-glow);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--accent);
}
.badge-float-text { line-height: 1.35; }
.badge-float-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-1);
}
.badge-float-text span {
  font-size: 0.73rem;
  color: var(--text-3);
  font-weight: 300;
}

/* ════════════════════════════════════════════════════════════
   STATS
   ════════════════════════════════════════════════════════════ */
.stats-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 52px 0;
  background: var(--bg-card-2);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 20px 10px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-2);
}

/* ════════════════════════════════════════════════════════════
   SERVICES
   ════════════════════════════════════════════════════════════ */
.services-section { padding: 72px 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.service-card:hover { border-color: var(--border-hover); transform: translateY(-6px); box-shadow: var(--shadow-card); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--accent-glow);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.service-card p  { font-size: 0.875rem; margin-bottom: 20px; }
.service-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.service-link:hover { gap: 10px; }

/* ════════════════════════════════════════════════════════════
   PORTFOLIO
   ════════════════════════════════════════════════════════════ */
.portfolio-section {
  padding: 100px 0;
  background: var(--bg-card-2);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.portfolio-card:hover { border-color: var(--border-hover); transform: translateY(-6px); box-shadow: var(--shadow-card); }
.portfolio-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #0a0f1e;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}
.portfolio-card:hover .portfolio-img img { transform: scale(1.04); }
.portfolio-body { padding: 24px; }
.portfolio-tags {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px;
}
.portfolio-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border-radius: 4px;
  padding: 3px 10px;
}
.portfolio-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.portfolio-body p  { font-size: 0.85rem; margin-bottom: 18px; }
.portfolio-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.portfolio-link:hover { gap: 10px; }
.portfolio-cta { text-align: center; margin-top: 48px; }

/* ════════════════════════════════════════════════════════════
   TECH STACK
   ════════════════════════════════════════════════════════════ */
/* ═══ TECHNOLOGIES WE MASTER ═══ */
.tech-master-section { padding: 68px 0; background: #f7f9ff; }
.tech-master-section .section-header h2 { color: #0f172a; }
.tech-master-section .section-header p  { color: #64748b; }

.tech-master-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,20,80,0.13);
  margin-top: 52px;
  height: 600px;
}
.tech-master-sidebar {
  background: linear-gradient(165deg, #001489 0%, #0a2fa3 45%, #1549c0 100%);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow-y: auto;
  pointer-events: auto !important;
}
.tm-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
  user-select: none;
  pointer-events: auto !important;
}
.tm-cat:hover { background: rgba(255,255,255,0.09); }
.tm-cat.active { background: rgba(255,255,255,0.16); }
.tm-cat-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  transition: background 0.2s;
}
.tm-cat.active .tm-cat-icon { background: rgba(255,255,255,0.22); color: #fff; }
.tm-cat-label {
  flex: 1;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  line-height: 1.3;
}
.tm-cat.active .tm-cat-label { color: #fff; font-weight: 600; }
.tm-cat-arrow { color: rgba(255,255,255,0.3); font-size: 0.68rem; }
.tm-cat.active .tm-cat-arrow { color: rgba(255,255,255,0.65); }

.tech-master-right {
  background: #ffffff;
  padding: 32px 36px;
  overflow-y: auto;
  height: 100%;
}
.tm-panel { display: none; }
.tm-panel.active { display: block; }

.tm-group { margin-bottom: 26px; }
.tm-group:last-child { margin-bottom: 0; }
.tm-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
}
.tm-group-bar {
  display: inline-block;
  width: 4px; height: 18px;
  border-radius: 2px;
  background: #0051E5;
  flex-shrink: 0;
}
.tm-icons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}
.tm-icon-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border: 1px solid #e8edf5;
  border-radius: 10px;
  background: #fff;
  cursor: default;
  transition: all 0.18s ease;
}
.tm-icon-card:hover {
  border-color: rgba(0,81,229,0.22);
  background: rgba(0,81,229,0.03);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,81,229,0.07);
}
.tm-icon-card img {
  width: 34px; height: 34px;
  object-fit: contain;
  flex-shrink: 0;
}
.tm-icon-card span {
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.3;
}

/* ═══ TRUSTED TECHNOLOGY PARTNERS ═══ */
.partners-section { padding: 60px 0; background: #fff; }
.partners-section .section-header h2 { color: #0f172a; }
.partners-section .section-header p  { color: #64748b; }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 52px;
}
.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 36px 18px 28px;
  border: 1.5px solid #e8edf5;
  border-radius: 18px;
  background: #fff;
  transition: all 0.22s ease;
  cursor: default;
}
.partner-card:hover {
  border-color: rgba(0,81,229,0.22);
  box-shadow: 0 10px 44px rgba(0,81,229,0.09);
  transform: translateY(-4px);
}
.partner-card img {
  height: 56px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.partner-card span {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  text-align: center;
  line-height: 1.4;
}

/* ════════════════════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════════════════════ */
.testimonials-section {
  padding: 72px 0;
  background: var(--bg-card-2);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all 0.3s var(--ease);
}
.testimonial-card:hover { border-color: var(--border-hover); }
.testimonial-stars {
  display: flex; gap: 3px; margin-bottom: 16px;
}
.testimonial-stars .fa { font-size: 0.78rem; color: #F59E0B; }
.testimonial-text {
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-2);
  margin-bottom: 22px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-hover);
}
.author-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-1);
  display: block;
}
.author-role {
  font-size: 0.76rem;
  font-weight: 300;
  color: var(--text-3);
  display: block;
}

/* ════════════════════════════════════════════════════════════
   LATEST INSIGHTS
   ════════════════════════════════════════════════════════════ */
.insights-section {
  padding: 72px 0;
  background: var(--bg);
}
.insights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 52px;
}
.insight-card {
  background: #111d30;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.insight-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 56px rgba(0,0,0,0.42);
  border-color: rgba(0,81,229,0.3);
}
.insight-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  display: block;
  width: 100%;
  background: #162032;
}
.insight-card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.45s ease;
}
.insight-card:hover .insight-card-thumb img { transform: scale(1.06); }
.insight-no-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #162032, #1e293b);
}
.insight-no-img i { font-size: 2rem; color: rgba(255,255,255,0.1); }
.insight-card-cat {
  position: absolute;
  bottom: 12px; left: 12px;
  background: rgba(8,16,32,0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-size: 0.67rem;
  font-weight: 600;
  padding: 4px 11px 4px 9px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.insight-card-cat i { font-size: 0.6rem; color: var(--accent-light); }
.insight-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.insight-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  color: var(--text-3);
}
.insight-card-meta i { font-size: 0.66rem; }
.insight-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.insight-card-title a { color: inherit; transition: color 0.2s; }
.insight-card-title a:hover { color: var(--accent-light); }
.insight-card-excerpt {
  font-size: 0.81rem;
  color: var(--text-3);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.insights-view-all { text-align: center; }
.btn-view-insights {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--accent);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 14px 38px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-view-insights:hover {
  background: #003ec2;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,81,229,0.35);
}

/* Skeleton shimmer for insight cards */
@keyframes insightShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.ins-sk {
  background: linear-gradient(90deg, #1a2540 25%, #243050 50%, #1a2540 75%);
  background-size: 200% 100%;
  animation: insightShimmer 1.6s infinite;
  border-radius: 6px;
}
.ins-sk-card {
  background: #111d30;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  overflow: hidden;
}
.ins-sk-img  { height: 180px; border-radius: 0; }
.ins-sk-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.ins-sk-tag  { height: 16px; width: 75px; }
.ins-sk-h1   { height: 17px; width: 92%; }
.ins-sk-h2   { height: 17px; width: 68%; }
.ins-sk-l1   { height: 12px; }
.ins-sk-l2   { height: 12px; width: 78%; }

/* ════════════════════════════════════════════════════════════
   CTA
   ════════════════════════════════════════════════════════════ */
.cta-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,81,229,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  border: 1px solid rgba(0,81,229,0.2);
  border-radius: var(--radius-lg);
  padding: 72px 60px;
  text-align: center;
  background: rgba(0,81,229,0.04);
  backdrop-filter: blur(6px);
}
.cta-inner h2 { margin-bottom: 16px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-inner p  { max-width: 480px; margin: 0 auto 36px; font-size: 0.975rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 60px 0 0;
  background: #0B1120;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.3fr 1.3fr 1.4fr;
  gap: 36px;
  margin-bottom: 48px;
}
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 20px 0;
  padding: 0;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul li a {
  font-size: 0.875rem;
  font-weight: 400;
  color: #8FA0BC;
  transition: color 0.2s;
  text-decoration: none;
  line-height: 1.4;
}
.footer-col ul li a:hover { color: #FFFFFF; }

/* Contact icon cards */
.footer-connect { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.footer-connect-card {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.footer-connect-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.95rem;
  color: #fff;
  transition: background 0.2s ease;
}
.footer-connect-card:hover .footer-connect-icon { background: #003BB5; }
.footer-connect-card-text { display: flex; flex-direction: column; gap: 1px; }
.footer-connect-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: #8FA0BC;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-connect-value {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--accent);
  transition: color 0.2s;
}
.footer-connect-card:hover .footer-connect-value { color: #FFFFFF; }

/* Social icons */
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: #1A2540;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  color: #8FA0BC;
  font-size: 0.9rem;
  transition: all 0.22s ease;
  text-decoration: none;
}
.footer-socials a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-bottom-logo img { height: 28px; width: auto; display: block; }
.footer-bottom p { font-size: 0.82rem; color: #5A6A85; margin: 0; }
.footer-legal { display: flex; gap: 22px; align-items: center; }
.footer-legal a {
  font-size: 0.82rem;
  font-weight: 400;
  color: #5A6A85;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: #FFFFFF; }

/* ════════════════════════════════════════════════════════════
   LEFT-ALIGN ALL SECTION HEADINGS
   ════════════════════════════════════════════════════════════ */
.section-header { text-align: left; }
.section-header p { margin: 0; }

/* ════════════════════════════════════════════════════════════
   TRANSFORM AI SECTION
   ════════════════════════════════════════════════════════════ */
.transform-section { padding: 72px 0; background: var(--bg); }
.transform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.transform-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 16px;
}
.transform-content h2 .accent { color: var(--accent); }
.transform-content > p {
  font-size: 0.95rem;
  color: #94A3B8;
  line-height: 1.7;
  margin-bottom: 28px;
}
.transform-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.transform-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: #CBD5E1;
}
.transform-features li i { color: var(--accent); flex-shrink: 0; }
.transform-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.tm-metric {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.3s, border-color 0.3s;
}
.tm-metric:hover { transform: translateY(-4px); border-color: rgba(0,81,229,0.25); }
.tm-metric-num {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.tm-metric-label { font-size: 0.78rem; color: #94A3B8; font-weight: 500; }

/* ════════════════════════════════════════════════════════════
   DEVOPS SECTION
   ════════════════════════════════════════════════════════════ */
.devops-section {
  padding: 96px 0;
  background: #080f1e;
  position: relative;
  overflow: hidden;
}
.devops-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,81,229,0.1) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.devops-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.devops-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 16px;
}
.devops-accent { color: #F59E0B; }
.devops-content > p {
  font-size: 0.95rem;
  color: #94A3B8;
  line-height: 1.7;
  margin-bottom: 28px;
}
.devops-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.devops-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: #CBD5E1;
}
.devops-list li i { color: #F59E0B; flex-shrink: 0; }
.devops-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.devops-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 22px;
  transition: background 0.3s, border-color 0.3s;
}
.devops-card:hover {
  background: rgba(0,81,229,0.06);
  border-color: rgba(0,81,229,0.2);
}
.devops-card-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(0,81,229,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 12px;
}
.devops-card h4 { font-size: 0.88rem; font-weight: 700; color: var(--text-1); margin-bottom: 6px; }
.devops-card p { font-size: 0.78rem; color: #64748B; line-height: 1.55; }

/* ════════════════════════════════════════════════════════════
   PORTFOLIO CURTAIN ANIMATION
   ════════════════════════════════════════════════════════════ */
.portfolio-card {
  position: relative;
  overflow: hidden;
}
.portfolio-card .curtain-overlay {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  z-index: 4;
  transform: translateY(0);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px;
}
.portfolio-card.curtain-open .curtain-overlay {
  transform: translateY(-102%);
}

/* ════════════════════════════════════════════════════════════
   WALL OF FAME
   ════════════════════════════════════════════════════════════ */
.fame-section { padding: 68px 0; background: var(--bg); }
.fame-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 0;
}
.fame-badge {
  flex: 1 1 calc(14.28% - 16px);
  min-width: 130px;
  background: #111d30;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 20px 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.fame-badge:hover {
  transform: translateY(-6px);
  border-color: rgba(0,81,229,0.25);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.fame-badge img { width: 72px; height: 72px; object-fit: contain; }
.fame-badge-icon {
  width: 72px; height: 72px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  overflow: hidden;
}
.fame-badge-name { font-size: 0.75rem; font-weight: 600; color: #94A3B8; text-align: center; }

/* ════════════════════════════════════════════════════════════
   FAQ SECTION (INDEX)
   ════════════════════════════════════════════════════════════ */
.idx-faq-section {
  padding: 72px 0;
  background: #080f1e;
}
.idx-faq-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: start;
}
.idx-faq-left h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 14px;
}
.idx-faq-left h2 span { color: var(--accent); }
.idx-faq-left p {
  font-size: 0.9rem;
  color: #64748B;
  line-height: 1.7;
  margin-bottom: 32px;
}
.idx-faq-list { display: flex; flex-direction: column; gap: 12px; }
.idx-faq-item {
  background: #111d30;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s;
}
.idx-faq-item.idx-open { border-color: rgba(0,81,229,0.3); }
.idx-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-1);
  cursor: pointer;
  transition: color 0.2s;
}
.idx-faq-item.idx-open .idx-faq-q { color: #6395FF; }
.idx-faq-ico {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s, border-color 0.25s, transform 0.3s;
  font-size: 0.7rem;
  color: #94A3B8;
}
.idx-faq-item.idx-open .idx-faq-ico {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}
.idx-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 24px;
}
.idx-faq-item.idx-open .idx-faq-a { max-height: 300px; padding: 0 24px 20px; }
.idx-faq-a p { font-size: 0.85rem; color: #64748B; line-height: 1.75; }

/* ════════════════════════════════════════════════════════════
   CONTACT FORM SECTION
   ════════════════════════════════════════════════════════════ */
.contact-form-section { padding: 64px 0; background: var(--bg); }
.contact-form-wrap {
  background: #111d30;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
}
.cf-left {
  background: linear-gradient(160deg, #0a1628 0%, #0d1f40 100%);
  padding: 56px 44px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.cf-left::before {
  content: '';
  position: absolute;
  top: -100px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(0,81,229,0.15) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.cf-rocket { font-size: 3.5rem; margin-bottom: 28px; position: relative; z-index: 1; }
.cf-left h2 {
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.cf-left h2 span { color: #6395FF; }
.cf-left > p {
  font-size: 0.9rem;
  color: #94A3B8;
  line-height: 1.7;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.cf-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}
.cf-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #CBD5E1;
}
.cf-check {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: rgba(0,81,229,0.18);
  border: 1.5px solid rgba(0,81,229,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #6395FF;
  font-size: 0.65rem;
}
.cf-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 28px 0;
}
.cf-trust-logos {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cf-trust-badge {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #94A3B8;
}
.cf-trust-note { font-size: 0.72rem; color: #475569; margin-top: 14px; display: flex; align-items: center; gap: 6px; }
.cf-right { padding: 56px 44px; background: #0d1929; }
.cf-right h3 { font-size: 1.25rem; font-weight: 700; color: var(--text-1); margin-bottom: 5px; }
.cf-right > p { font-size: 0.85rem; color: #64748B; margin-bottom: 28px; }
.cf-form { display: flex; flex-direction: column; gap: 14px; }
.cf-input, .cf-textarea {
  background: #111d30;
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: max(16px, 0.88rem); /* 16px minimum prevents iOS auto-zoom */
  color: var(--text-1);
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}
.cf-input::placeholder, .cf-textarea::placeholder { color: #475569; }
.cf-input:focus, .cf-textarea:focus {
  outline: none;
  border-color: rgba(0,81,229,0.5);
  box-shadow: 0 0 0 3px rgba(0,81,229,0.1);
}
.cf-textarea { resize: vertical; min-height: 100px; }
.cf-captcha-row {
  background: #111d30;
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cf-captcha-q { font-size: 0.88rem; color: #94A3B8; font-weight: 600; white-space: nowrap; }
.cf-captcha-ans {
  background: #162032;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 7px;
  padding: 7px 12px;
  width: 90px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  color: var(--text-1);
}
.cf-captcha-ans:focus { outline: none; border-color: rgba(0,81,229,0.4); }
.cf-submit {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 15px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.cf-submit:hover {
  background: #003BB5;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,81,229,0.4);
}
.cf-form-note {
  font-size: 0.72rem;
  color: #475569;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ════════════════════════════════════════════════════════════
   OUR OFFICES
   ════════════════════════════════════════════════════════════ */
.offices-section {
  padding: 72px 0;
  background: #060d1a;
  border-top: 3px solid var(--accent);
}
.offices-heading {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-1);
  margin-bottom: 52px;
}
.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.office-col {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 0 40px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.office-col:last-child { border-right: none; }
.office-col:first-child { padding-left: 0; }
.office-illus { width: 96px; flex-shrink: 0; }
.office-illus img { width: 100%; height: auto; filter: brightness(0) invert(1); opacity: 0.7; }
.office-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.office-info p { font-size: 0.82rem; color: #94A3B8; line-height: 1.65; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — NEW SECTIONS
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .transform-grid { grid-template-columns: 1fr; gap: 48px; }
  .devops-grid { grid-template-columns: 1fr; gap: 48px; }
  .idx-faq-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrap { grid-template-columns: 1fr; }
  .offices-grid { grid-template-columns: 1fr; gap: 32px; }
  .office-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 0 0 32px; }
  .office-col:last-child { border-bottom: none; padding-bottom: 0; }
  .office-col:first-child { padding-left: 0; }
}
@media (max-width: 768px) {
  .transform-metrics { grid-template-columns: repeat(2, 1fr); }
  .devops-cards { grid-template-columns: 1fr; }
  .fame-badges { gap: 12px; }
  .fame-badge { min-width: 100px; padding: 18px 10px; }
  .fame-badge img { width: 56px; height: 56px; }
  .fame-badge-icon { width: 56px; height: 56px; }
  .cf-left, .cf-right { padding: 36px 24px; }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { padding: 120px 0 80px; }
  .hero-content { max-width: 100%; }
  .hero-trust { justify-content: flex-start; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tech-master-body { grid-template-columns: 1fr; height: auto; }
  .tech-master-sidebar { flex-direction: row; flex-wrap: wrap; gap: 4px; overflow-y: visible; }
  .tm-cat { flex: 0 0 auto; min-width: 150px; flex-direction: column; gap: 6px; text-align: center; padding: 12px 14px; }
  .tm-cat-icon { width: 32px; height: 32px; font-size: 0.8rem; }
  .tm-cat-label { font-size: 0.75rem; }
  .tm-cat-arrow { display: none; }
  .tech-master-right { height: auto; max-height: none; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .menu-toggle  { display: flex; }
  .hero-inner { padding: 100px 0 70px; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-inner { padding: 48px 28px; }
  .tm-icons-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .tm-cat { min-width: 130px; }
}

/* ════════════════════════════════════════════════════════════
   HERO NETWORK CANVAS
   ════════════════════════════════════════════════════════════ */
#heroNet {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.75;
}
.hero-overlay { z-index: 2; }
.hero-inner   { position: relative; z-index: 3; }

/* ════════════════════════════════════════════════════════════
   SERVICE IMAGE CARDS  (replaces old .service-card layout)
   ════════════════════════════════════════════════════════════ */
.svc-img-card {
  position: relative;
  display: block;
  border-radius: 5px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  text-decoration: none;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}
.svc-img-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,128,255,0.22);
}
.svc-img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.58s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.svc-img-card:hover .svc-img-bg { transform: scale(1.07); }

.svc-img-base-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,10,22,0.18) 0%, rgba(5,10,22,0.65) 60%, rgba(5,10,22,0.92) 100%);
  transition: opacity .3s;
}
.svc-img-card:hover .svc-img-base-overlay { opacity: .35; }

/* static label — visible by default, hides on hover */
.svc-img-static {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  transition: opacity .28s ease, transform .28s ease;
}
.svc-img-card:hover .svc-img-static {
  opacity: 0;
  transform: translateY(10px);
}
.svc-img-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0080ff 0%, #6d28d9 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 11px;
  box-shadow: 0 8px 22px rgba(0,128,255,0.45);
}
.svc-img-icon i { color: #fff; font-size: 19px; }
.svc-img-static h3 {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* hover panel — slides up from bottom */
.svc-img-hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg, rgba(2,8,28,0.96) 0%, rgba(0,22,72,0.97) 100%);
  border-top: 2px solid rgba(0,128,255,0.45);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 24px;
  transform: translateY(100%);
  transition: transform .40s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.svc-img-card:hover .svc-img-hover { transform: translateY(0); }
.svc-img-hover h3 {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 9px;
  line-height: 1.28;
}
.svc-img-hover p {
  color: rgba(200,215,240,0.75);
  font-size: 13.5px;
  line-height: 1.65;
  margin-bottom: 20px;
}
.svc-img-hover-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-weight: 500;
  font-size: 12.5px;
  padding: 8px 16px;
  border-radius: 8px;
  width: fit-content;
  transition: background .2s, border-color .2s, gap .2s;
  letter-spacing: 0.01em;
}
.svc-img-hover-cta:hover {
  background: rgba(0,128,255,0.2);
  border-color: rgba(0,128,255,0.5);
  gap: 10px;
}

@media (max-width: 860px) {
  .svc-img-card { aspect-ratio: 16/10; }
  .svc-img-hover { transform: none; background: linear-gradient(175deg,rgba(2,8,28,.96) 0%,rgba(0,22,72,.97) 100%); }
  .svc-img-static { display: none; }
}
@media (max-width: 540px) {
  .svc-img-card { aspect-ratio: 16/9; }
}

/* ════════════════════════════════════════════════════════════
   AI CTA STRIP  (below transform section)
   ════════════════════════════════════════════════════════════ */
.ai-cta-strip {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #04090f 0%, #060e1c 50%, #040b17 100%);
  border-top: 1px solid rgba(0,81,229,.2);
  border-bottom: 1px solid rgba(0,81,229,.2);
}
.ai-cta-strip-accent-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #0051E5 30%, #38bdf8 60%, transparent 100%);
}
.ai-cta-strip-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .055;
  background-image: radial-gradient(circle, rgba(255,255,255,.7) 1px, transparent 1px);
  background-size: 22px 22px;
}
.ai-cta-strip-glow-l {
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(0,81,229,.15);
  filter: blur(90px);
  top: -120px; left: -80px;
  pointer-events: none;
}
.ai-cta-strip-glow-r {
  position: absolute;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(56,189,248,.1);
  filter: blur(70px);
  bottom: -80px; right: 200px;
  pointer-events: none;
}
.ai-cta-strip-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 40px;
  min-height: 64px;
}
@media (max-width: 960px) {
  .ai-cta-strip-inner { grid-template-columns: 1fr; }
  .ai-cta-img-col { display: none; }
}
.ai-cta-strip-left {
  padding: 52px 0;
}
.ai-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 14px;
}
.ai-cta-eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  animation: ai-cta-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes ai-cta-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(56,189,248,.6); }
  50%      { box-shadow: 0 0 0 7px rgba(56,189,248,0); }
}
.ai-cta-strip-left h3 {
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 700;
  color: #F1F5F9;
  margin-bottom: 10px;
  line-height: 1.18;
}
.ai-cta-grad-txt {
  background: linear-gradient(135deg, #0051E5, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ai-cta-strip-left p {
  font-size: 15px;
  color: #94A3B8;
  line-height: 1.7;
  margin-bottom: 26px;
  max-width: 500px;
}
.ai-cta-strip-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.ai-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0051E5;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 10px;
  transition: background .2s, transform .2s, box-shadow .2s;
  text-decoration: none;
}
.ai-cta-btn-primary:hover {
  background: #003db3;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,81,229,.35);
}
.ai-cta-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(255,255,255,.12);
  color: #F1F5F9;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 10px;
  transition: border-color .2s, background .2s;
  text-decoration: none;
}
.ai-cta-btn-ghost:hover {
  border-color: #0051E5;
  background: rgba(0,81,229,.1);
}
/* Image column */
.ai-cta-img-col {
  position: relative;
  height: 280px;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
}
.ai-cta-img-frame {
  position: relative;
  width: 100%;
  height: 260px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}
.ai-cta-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .88;
}
.ai-cta-img-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #04090f 0%, transparent 35%),
              linear-gradient(to top, #04090f 0%, transparent 30%);
  z-index: 1;
}
.ai-cta-img-chips {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ai-cta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,81,229,.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 50px;
  letter-spacing: .03em;
}

/* ════════════════════════════════════════════════════════════
   INDUSTRIES SECTION  (index page, below DevOps)
   ════════════════════════════════════════════════════════════ */
.idx-ind-section {
  padding: 72px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.idx-ind-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,81,229,.07) 0%, transparent 70%);
  top: -200px; right: -150px;
  pointer-events: none;
}
.idx-ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 56px;
}
@media (max-width: 960px) { .idx-ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .idx-ind-grid { grid-template-columns: 1fr; } }

.idx-ind-card {
  display: block;
  text-decoration: none;
  padding: 30px 26px 24px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  /* per-card color tokens set inline */
}
/* coloured top bar animates in on hover */
.idx-ind-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--ic, #0051E5);
  border-radius: 20px 20px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
/* soft glow orb in top-right corner */
.idx-ind-card::after {
  content: '';
  position: absolute;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--ic, #0051E5);
  opacity: .045;
  top: -28px; right: -28px;
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.idx-ind-card:hover {
  transform: translateY(-7px);
  border-color: var(--ic-glow, rgba(0,81,229,.35));
  box-shadow: 0 18px 52px rgba(0,0,0,.28), 0 0 0 1px var(--ic-glow, rgba(0,81,229,.12));
}
.idx-ind-card:hover::before { transform: scaleX(1); }
.idx-ind-card:hover::after  { opacity: .09; transform: scale(1.25); }

/* icon box */
.idx-ind-icon {
  width: 56px; height: 56px;
  border-radius: 15px;
  background: var(--ic-bg, rgba(0,81,229,.1));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: transform .3s ease;
  flex-shrink: 0;
}
.idx-ind-card:hover .idx-ind-icon { transform: scale(1.1) rotate(-3deg); }
.idx-ind-icon i { font-size: 22px; color: var(--ic, #0051E5); }

/* text */
.idx-ind-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 7px;
  line-height: 1.3;
}
.idx-ind-card p {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 18px;
}
/* animated arrow */
.idx-ind-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ic, #0051E5);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s ease, transform .25s ease;
}
.idx-ind-card:hover .idx-ind-arrow { opacity: 1; transform: translateX(0); }

/* ════════════════════════════════════════════════════════════
   HERO AURORA ORBS (replaces canvas neural network)
   ════════════════════════════════════════════════════════════ */
.hero-aurora {
  position: absolute;
  inset: 0;
  z-index: 2;           /* above overlay, below content */
  overflow: hidden;
  pointer-events: none;
}
.aurora-orb {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,81,229,0.28) 0%, transparent 68%);
  top: -15%; left: -8%;
  animation: orbDrift1 20s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(56,189,248,0.18) 0%, transparent 68%);
  top: 30%; right: 8%;
  animation: orbDrift2 26s ease-in-out infinite;
}
.orb-3 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(99,102,241,0.16) 0%, transparent 68%);
  bottom: 5%; left: 35%;
  animation: orbDrift3 18s ease-in-out infinite;
}
.orb-4 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(0,81,229,0.22) 0%, transparent 68%);
  top: 45%; right: 25%;
  animation: orbDrift1 30s ease-in-out infinite reverse;
}
@keyframes orbDrift1 {
  0%,100% { transform: translate(0, 0); }
  33%     { transform: translate(55px, -40px); }
  66%     { transform: translate(-30px, 45px); }
}
@keyframes orbDrift2 {
  0%,100% { transform: translate(0, 0); }
  33%     { transform: translate(-45px, 35px); }
  66%     { transform: translate(40px, -55px); }
}
@keyframes orbDrift3 {
  0%,100% { transform: translate(0, 0); }
  50%     { transform: translate(30px, -30px); }
}

/* Override old z-index stacking */
#heroNet { display: none; }   /* hide in case element still exists */
.hero-overlay { z-index: 1; }
.hero-inner   { position: relative; z-index: 3; }

/* ── Hero eyebrow ── */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(99,189,248,0.9);
  background: rgba(0,81,229,0.12);
  border: 1px solid rgba(0,81,229,0.28);
  border-radius: 50px;
  padding: 6px 16px;
  margin-bottom: 22px;
  animation: eyebrowIn 0.8s ease both;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  animation: dotPulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes dotPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.35; transform: scale(0.7); }
}
@keyframes eyebrowIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Hero title — line-by-line reveal ── */
.hero-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-line {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  animation: lineReveal 0.75s cubic-bezier(0.22,1,0.36,1) forwards;
}
.hero-line em { font-style: normal; }
.hl-1 { animation-delay: 0.15s; }
.hl-2 { animation-delay: 0.32s; }
.hl-3 { animation-delay: 0.49s; }
@keyframes lineReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Hero subtitle + actions + trust stagger ── */
.hero-sub-anim {
  opacity: 0;
  transform: translateY(18px);
  animation: lineReveal 0.75s cubic-bezier(0.22,1,0.36,1) 0.65s forwards;
}
.hero-actions-anim {
  opacity: 0;
  transform: translateY(16px);
  animation: lineReveal 0.7s cubic-bezier(0.22,1,0.36,1) 0.82s forwards;
}
.hero-trust-anim {
  opacity: 0;
  animation: lineReveal 0.7s ease 1.05s forwards;
}

/* ── Ghost CTA button ── */
.btn-ghost-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-ghost-hero:hover {
  border-color: rgba(255,255,255,0.55);
  color: #fff;
  background: rgba(255,255,255,0.06);
}

/* ════════════════════════════════════════════════════════════
   CLIENT LOGOS MARQUEE — REVAMPED
   ════════════════════════════════════════════════════════════ */
.clients-marquee {
  background: #060d1a;
  position: relative;
  padding: 56px 0 0;
  overflow: hidden;
}
/* Ambient glow behind heading */
.clients-marquee::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%; transform: translateX(-50%);
  width: 960px; height: 420px;
  background: radial-gradient(ellipse at 50% 20%, rgba(0,81,229,0.14), transparent 62%);
  pointer-events: none;
  z-index: 0;
}
/* ── Section header ── */
.cm-header {
  text-align: center;
  padding: 0 24px 28px;
  position: relative;
  z-index: 1;
}
.cm-overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #4f8ef7;
  margin-bottom: 22px;
}
.cm-overline::before,
.cm-overline::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: linear-gradient(to right, transparent, #4f8ef7);
  opacity: 0.7;
}
.cm-overline::after {
  background: linear-gradient(to left, transparent, #4f8ef7);
}
.cm-title {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.025em;
}
.cm-title em {
  font-style: normal;
  background: linear-gradient(135deg, #60a5fa 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cm-subtitle {
  font-size: 15px;
  color: rgba(148,163,184,0.68);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.75;
}
/* ── Decorative divider ── */
.cm-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.07) 25%, rgba(255,255,255,0.07) 75%, transparent);
  position: relative;
  z-index: 1;
}
/* ── Marquee rows ── */
.cm-track-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 20px 0 32px;
  position: relative;
  z-index: 1;
}
.cm-row {
  overflow: hidden;
  position: relative;
  padding: 10px 0;
}
/* Fade edges */
.cm-row::before,
.cm-row::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 200px;
  z-index: 2;
  pointer-events: none;
}
.cm-row::before { left: 0;  background: linear-gradient(to right, #060d1a, transparent); }
.cm-row::after  { right: 0; background: linear-gradient(to left,  #060d1a, transparent); }

.cm-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
}
.cm-row--rtl .cm-track {
  animation: marqueeRTL 40s linear infinite;
}
.cm-row--ltr .cm-track {
  animation: marqueeLTR 40s linear infinite;
}
@keyframes marqueeRTL {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marqueeLTR {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.cm-logo {
  height: 43px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.45;
  flex-shrink: 0;
  transition: opacity 0.35s, filter 0.35s;
  user-select: none;
}
.cm-logo--light {
  filter: none;
  opacity: 0.5;
}
.cm-logo:hover {
  opacity: 1;
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(96,165,250,0.45));
}
.cm-logo--light:hover {
  filter: drop-shadow(0 0 8px rgba(96,165,250,0.4));
  opacity: 1;
}
/* Pause on hover */
.cm-row:hover .cm-track { animation-play-state: paused; }

/* ── Trust stats strip ── */
.cm-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 28px 24px 36px;
  position: relative;
  z-index: 1;
}
.cm-trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 44px;
}
.cm-trust-num {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}
.cm-trust-lbl {
  font-size: 10.5px;
  color: rgba(148,163,184,0.5);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  margin-top: 6px;
}
.cm-trust-pipe {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .cm-track { animation: none !important; }
  .aurora-orb { animation: none !important; }
  .hero-line, .hero-sub-anim, .hero-actions-anim, .hero-trust-anim, .hero-eyebrow {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
@media (max-width: 768px) {
  .cm-trust-stat { padding: 8px 22px; }
  .cm-trust-num  { font-size: 20px; }
}
@media (max-width: 640px) {
  .cm-logo { height: 32px; max-width: 124px; }
  .cm-track { gap: 48px; }
  .clients-marquee { padding-top: 36px; }
  .cm-header { padding-bottom: 20px; }
  .cm-trust-pipe { display: none; }
  .cm-trust-strip { gap: 4px 0; }
}

/* ══════════════════════════════════════════════════════════════
   FEATURED PROJECTS — CARD PEEK CAROUSEL
   ══════════════════════════════════════════════════════════════ */

.fp-wrap {
  background: #060d1a;
  padding: 80px 0 0;
  overflow: hidden;
  position: relative;
}

/* ── Section heading ── */
.fp-section-hdr {
  text-align: center;
  padding: 0 24px 52px;
}
.fp-section-eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 14px;
}
.fp-section-title {
  font-size: clamp(26px, 3.2vw, 50px);
  font-weight: 700;
  color: #fff;
  line-height: 1.18;
  letter-spacing: -0.022em;
  max-width: 720px;
  margin: 0 auto;
}

/* ── Slider viewport ── */
.fp-slider {
  position: relative;
  overflow: hidden;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}
.fp-slider:active { cursor: grabbing; }

/* ── Sliding track ── */
.fp-track {
  display: flex;
  gap: 20px;
  transition: transform 0.62s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* ── Individual card ── */
.fp-card {
  flex: 0 0 72vw;
  min-height: 490px;
  border-radius: 0;
  overflow: hidden;
  display: block;
  background: var(--card-bg, linear-gradient(145deg, #1a0938 0%, #5b21b6 100%));
  position: relative;
  transition: box-shadow 0.45s, opacity 0.45s, transform 0.45s;
  box-shadow:
    0 36px 90px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.07),
    inset 0 1px 0 rgba(255,255,255,0.12);
  transform: scale(0.96);
  border: 1px solid rgba(255,255,255,0.06);
}
.fp-card.fp-card--active {
  opacity: 1;
  transform: scale(1);
  box-shadow:
    0 48px 120px rgba(0,0,0,0.60),
    0 0 0 1px rgba(255,255,255,0.10),
    inset 0 1px 0 rgba(255,255,255,0.15);
}
.fp-card:not(.fp-card--active) {
  opacity: 0.55;
}

/* Glass-light shine + bottom shadow sweep */
.fp-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg,
      rgba(255,255,255,0.10) 0%,
      rgba(255,255,255,0.03) 30%,
      transparent 55%
    ),
    linear-gradient(to bottom,
      transparent 55%,
      rgba(0,0,0,0.45) 100%
    );
  pointer-events: none;
  z-index: 3;
}

/* ── Card left: text content ── */
.fp-card-left {
  padding: 48px 44px 44px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 4;
  max-width: 58%;
}

/* Logo wordmark */
.fp-card-logo { margin-bottom: 14px; }
.fp-card-logo-main {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.04em;
}
.fp-card-logo-sub {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.60);
  margin-top: 3px;
}

/* Description */
.fp-card-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.80);
  line-height: 1.72;
  margin-bottom: 22px;
  max-width: 370px;
}

/* 2×2 Stats grid */
.fp-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
}
.fp-stat {
  padding: 13px 16px;
  background: rgba(0,0,0,0.14);
}
.fp-stat-num {
  display: block;
  font-size: 21px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}
.fp-stat-lbl {
  display: block;
  font-size: 10.5px;
  color: rgba(255,255,255,0.58);
  margin-top: 4px;
  font-weight: 500;
}
.fp-stats-vdiv { background: rgba(255,255,255,0.16); }
.fp-stats-hdiv {
  grid-column: 1 / -1;
  height: 1px;
  background: rgba(255,255,255,0.16);
}

/* Testimonial quote */
.fp-quote {
  background: rgba(0,0,0,0.14);
  border-left: 2px solid rgba(255,255,255,0.30);
  border-radius: 0 8px 8px 0;
  padding: 12px 14px;
  margin-bottom: 22px;
}
.fp-quote p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.78);
  line-height: 1.62;
  font-style: italic;
}
.fp-quote cite {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.52);
  margin-top: 7px;
  font-style: normal;
  letter-spacing: 0.02em;
}

/* CTA button */
.fp-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  margin-top: auto;
  padding: 12px 22px;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.38);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(255,255,255,0.10);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  text-decoration: none;
}
.fp-card-cta:hover {
  background: rgba(255,255,255,0.20);
  border-color: rgba(255,255,255,0.65);
  transform: translateX(4px);
}
.fp-card-cta .fp-cta-chevron {
  font-size: 15px;
  font-weight: 300;
  opacity: 0.85;
}

/* ── Card right: full-card immersive background ── */
.fp-card-right {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  z-index: 1;
}
.fp-card-right img {
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: right center;
  filter:
    drop-shadow(-40px 0 56px rgba(0,0,0,0.80))
    drop-shadow(0 32px 48px rgba(0,0,0,0.60))
    saturate(1.10) brightness(0.92);
  z-index: 1;
}
/*
 * Immersive overlay — card colour bleeds left → image reveals right.
 * Left: dark + card accent (text always readable)
 * Right: transparent (screenshot shows fully)
 */
.fp-card-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(0,0,0,0.98)           0%,
      rgba(0,0,0,0.94)          14%,
      rgba(var(--cr),0.82)      30%,
      rgba(var(--cr),0.52)      54%,
      rgba(var(--cr),0.18)      72%,
      transparent               88%
    );
  z-index: 2;
  pointer-events: none;
}
/* Radial colour glow — blooms behind the app image */
.fp-card-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 75% at 88% 38%,
      rgba(var(--cr),0.32) 0%,
      transparent 68%
    ),
    radial-gradient(ellipse 40% 40% at 70% 80%,
      rgba(var(--cr),0.18) 0%,
      transparent 70%
    );
  z-index: 0;
  pointer-events: none;
}
/* Subtle light-seam where gradient meets image — premium depth cue */
.fp-card::after {
  content: '';
  position: absolute;
  top: 8%; bottom: 8%;
  left: calc(56% - 1px);
  width: 1px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(255,255,255,0.04) 25%,
    rgba(255,255,255,0.10) 50%,
    rgba(255,255,255,0.04) 75%,
    transparent 100%
  );
  z-index: 5;
  pointer-events: none;
  border-radius: 1px;
}

/* ── Tab navigation ── */
.fp-tabs {
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 28px 40px 0;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: center;
}
.fp-tabs::-webkit-scrollbar { display: none; }

.fp-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 15px 28px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  min-width: 130px;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
  color: #fff;
}
.fp-tab:hover:not(.fp-tab--active) {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.20);
  transform: translateY(-2px);
}
.fp-tab.fp-tab--active {
  background: rgba(var(--cr, 124,58,237), 0.85);
  border-color: transparent;
  box-shadow: 0 8px 28px rgba(var(--cr, 124,58,237), 0.38);
}
.fp-tab-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #fff;
  line-height: 1;
}
.fp-tab-industry {
  font-size: 10.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.58);
  letter-spacing: 0.04em;
}

/* ── Bottom bar (arrows + view all) ── */
.fp-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 22px 0 44px;
}
.fp-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.70);
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.fp-nav-btn:hover:not(:disabled) {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.36);
  color: #fff;
  transform: scale(1.1);
}
.fp-nav-btn:disabled { opacity: 0.22; cursor: default; pointer-events: none; }
.fp-view-all {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  transition: color 0.2s;
  text-decoration: none;
}
.fp-view-all:hover { color: #fff; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .fp-card { flex: 0 0 82vw; }
  .fp-tabs { padding: 24px 24px 0; }
}
@media (max-width: 860px) {
  .fp-card { flex: 0 0 88vw; min-height: 500px; }
  .fp-card-left { max-width: 68%; }
  .fp-section-title { font-size: clamp(22px, 5.5vw, 36px); }
}
@media (max-width: 600px) {
  .fp-wrap { padding: 56px 0 0; }
  .fp-section-hdr { padding-bottom: 36px; }
  .fp-card { flex: 0 0 91vw; border-radius: 0; min-height: 500px; }
  .fp-card-left { padding: 28px 22px 100px; max-width: 100%; }
  /* Mobile: full image visible, faded as backdrop */
  .fp-card-right img {
    max-width: none;
    height: 100%;
    opacity: 0.45;
  }
  .fp-card-right::before {
    background:
      linear-gradient(to bottom,
        rgba(0,0,0,0.97) 0%,
        rgba(0,0,0,0.90) 35%,
        rgba(var(--cr),0.45) 60%,
        rgba(var(--cr),0.10) 85%,
        transparent 100%
      );
  }
  .fp-card::after { display: none; }
  .fp-stats-grid { margin-bottom: 14px; }
  .fp-stat { padding: 10px 12px; }
  .fp-stat-num { font-size: 18px; }
  .fp-tabs { gap: 8px; padding: 18px 16px 0; }
  .fp-tab { padding: 12px 16px; min-width: 100px; }
  .fp-tab-name { font-size: 13px; }
}

/* ════════════════════════════════════════════════════════════
   MOBILE PHONE — COMPREHENSIVE FIXES (≤ 768px / ≤ 480px)
   ════════════════════════════════════════════════════════════ */

/* ── Hero ── */
@media (max-width: 600px) {
  .hero-inner { padding: 88px 0 56px; }
  .hero-title {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
  }
  .hero-subtitle { font-size: 0.92rem; margin-bottom: 28px; max-width: 100%; }
  .hero-actions { gap: 10px; margin-bottom: 32px; flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; text-align: center; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ── Stats strip below hero ── */
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 1.9rem; }
  .stat-item { padding: 18px 8px; }
  .stat-label { font-size: 0.75rem; }
}

/* ── Section header ── */
@media (max-width: 600px) {
  .section-header { margin-bottom: 32px; }
  .section-header h2 { font-size: clamp(1.45rem, 6.5vw, 1.9rem); margin-bottom: 10px; }
  .section-header p { font-size: 0.88rem; line-height: 1.6; }
}

/* ── Global section padding ── */
@media (max-width: 600px) {
  .services-section,
  .idx-ind-section,
  .tech-master-section,
  .partners-section,
  .fame-section,
  .insights-section,
  .testimonials-section,
  .idx-faq-section,
  .devops-section { padding: 52px 0; }
}
@media (max-width: 480px) {
  .services-section,
  .idx-ind-section,
  .tech-master-section,
  .partners-section,
  .fame-section,
  .insights-section,
  .testimonials-section,
  .idx-faq-section,
  .devops-section { padding: 40px 0; }
}

/* ── Transform section ── */
@media (max-width: 480px) {
  .tf-right { height: 220px !important; }
  .tf-left-inner { padding: 36px 20px !important; }
  .tf-left-inner h2 { font-size: 1.55rem !important; }
  .tf-metrics-inline { gap: 10px !important; }
  .tf-metrics-inline .tm-metric { padding: 14px 12px !important; }
  .tm-metric-num { font-size: 1.7rem; }
  .tf-img-chip { font-size: 11px; padding: 6px 12px; }
}

/* ── Services cards ── */
@media (max-width: 480px) {
  .services-grid { gap: 5px; }
  .svc-img-card { aspect-ratio: 16/9; border-radius: 5px; }
  .svc-img-hover h3 { font-size: 1rem; }
  .svc-img-hover p { font-size: 0.82rem; line-height: 1.5; }
}

/* ── Portfolio featured projects (480px) ── */
@media (max-width: 480px) {
  .fp-card { flex: 0 0 93vw; }
  .fp-card-desc { font-size: 13px; }
  .fp-quote p { font-size: 12px; }
  .fp-bottom-bar { padding: 18px 0 36px; }
}

/* ── Promo banners ── */
@media (max-width: 600px) {
  .promo-banner-body { padding: 40px 20px !important; }
  .promo-banner-content h2 { font-size: clamp(20px, 6.5vw, 28px); }
  .promo-banner-content p { font-size: 14px; margin-bottom: 20px; }
  .ai-cta-strip-btns { flex-direction: column; gap: 10px; }
  .ai-cta-btn-primary,
  .ai-cta-btn-ghost { text-align: center; justify-content: center; }
}

/* ── Industries grid ── */
@media (max-width: 360px) {
  .idx-ind-grid { grid-template-columns: 1fr; }
}

/* ── Tech master sidebar (categories horizontal scroll) ── */
@media (max-width: 480px) {
  .tech-master-sidebar { gap: 4px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
  .tm-cat { min-width: 100px; padding: 10px 8px; font-size: 0.7rem; }
  .tm-cat-icon { width: 28px; height: 28px; font-size: 0.7rem; }
  .tm-cat-label { font-size: 0.68rem; }
}

/* ── Partners grid ── */
@media (max-width: 480px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .partner-card { padding: 18px 12px; border-radius: 12px; }
}

/* ── Wall of fame badges ── */
@media (max-width: 480px) {
  .fame-badges { gap: 10px; justify-content: center; }
  .fame-badge { flex: 0 0 calc(50% - 5px); min-width: 0; padding: 16px 8px; }
  .fame-badge img, .fame-badge-icon { width: 48px; height: 48px; }
  .fame-badge-name { font-size: 10px; }
}

/* ── Testimonials ── */
@media (max-width: 600px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ── FAQ ── */
@media (max-width: 480px) {
  .faq-item-hd { padding: 16px 18px; font-size: 0.88rem; }
  .faq-item-bd { padding: 0 18px 16px; font-size: 0.88rem; }
  .idx-faq-section .section-header { text-align: center; }
}

/* ── Contact form ── */
@media (max-width: 480px) {
  .contact-form-section { padding: 52px 0; }
  .cf-left, .cf-right { padding: 28px 20px; border-radius: 0; }
  .cf-field input, .cf-field textarea, .cf-field select { font-size: 16px; /* prevent iOS zoom */ }
}

/* ── Offices ── */
@media (max-width: 480px) {
  .offices-section { padding: 52px 0; }
  .office-city { font-size: 1rem; }
}

/* ── Footer ── */
@media (max-width: 480px) {
  .footer { padding: 44px 0 0; }
  .footer-grid { gap: 28px; }
  .footer-col h4 { margin-bottom: 12px; }
  .footer-connect-card { padding: 12px 14px; gap: 10px; }
  .footer-connect-label { font-size: 10px; }
  .footer-connect-value { font-size: 0.8rem; }
  .footer-bottom { padding: 20px 0; gap: 8px; }
}

/* ── Prevent horizontal overflow globally ── */
@media (max-width: 600px) {
  .container { padding-left: 18px; padding-right: 18px; }
}


/* ════════════════════════════════════════════════════════════
   UNIFIED PAGE BACKGROUND
   All sections inherit the single body gradient — transparent.
   Hero keeps its own video background (untouched).
   ════════════════════════════════════════════════════════════ */

.clients-marquee,
.transform-section,
.services-section,
.ai-svcs-section,
.idx-ind-section,
.fp-section,
.testimonials-section,
.devops-section,
.idx-faq-section,
.fame-section,
.insights-section,
.contact-form-section,
.offices-section,
.tech-master-section,
.partners-section          { background: transparent !important; }

/* Promo banner body had an inline background — strip it */
.promo-banner-body         { background: transparent !important; }

/* ── Tech-master: was white-on-white, adapt for dark background ── */
.tech-master-section .section-header h2 { color: #f1f5f9 !important; }
.tech-master-section .section-header p  { color: #94a3b8 !important; }
.tech-master-right                       { background: rgba(15,23,42,0.70) !important; }
.tm-group-title                          { color: #e2e8f0 !important; }
.tm-icon-card {
  background: rgba(15,23,42,0.65) !important;
  border-color: rgba(255,255,255,0.08) !important;
}
.tm-icon-card:hover {
  background: rgba(0,81,229,0.14) !important;
  border-color: rgba(0,81,229,0.35) !important;
}
.tm-icon-card span { color: #cbd5e1 !important; }

/* ── Partners: was white-on-white, adapt for dark background ── */
.partners-section .section-header h2 { color: #f1f5f9 !important; }
.partners-section .section-header p  { color: #94a3b8 !important; }
.partner-card {
  background: rgba(15,23,42,0.60) !important;
  border-color: rgba(255,255,255,0.08) !important;
}
.partner-card:hover {
  background: rgba(0,81,229,0.12) !important;
  border-color: rgba(0,81,229,0.30) !important;
}
.partner-card span { color: #94a3b8 !important; }
