/* ============================================================
   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: var(--bg);
  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: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 800; }
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: 56px; }
.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: 800;
}
.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: 800;
  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: 100px 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.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: 100px 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: 90px 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: 100px 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); transform: translateY(-5px); }
.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: 100px 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/10;
  overflow: hidden;
  display: block;
  background: #162032;
}
.insight-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  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: 96px 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: 800;
  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: 96px 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: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  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: 96px 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: 80px 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: 0.88rem;
  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: 80px; 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: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  text-decoration: none;
  cursor: pointer;
  background: var(--bg-card);
}
.svc-img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.svc-img-card:hover .svc-img-bg { transform: scale(1.08); }

.svc-img-base-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg, rgba(8,15,30,.3) 0%, rgba(8,15,30,.82) 100%);
  transition: opacity .3s;
}
.svc-img-card:hover .svc-img-base-overlay { opacity: .45; }

/* static label — visible by default, hides on hover */
.svc-img-static {
  position: absolute;
  bottom: 28px;
  left: 28px;
  right: 28px;
  transition: opacity .3s ease, transform .3s ease;
}
.svc-img-card:hover .svc-img-static {
  opacity: 0;
  transform: translateY(12px);
}
.svc-img-icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  background: rgba(0,81,229,.85);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 8px 24px rgba(0,81,229,.4);
}
.svc-img-icon i { color: #fff; font-size: 20px; }
.svc-img-static h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}

/* hover panel — slides up from bottom */
.svc-img-hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(0,45,180,.92) 0%, rgba(8,15,30,.97) 100%);
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 28px;
  transform: translateY(100%);
  transition: transform .42s 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: 19px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.25;
}
.svc-img-hover p {
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 22px;
}
.svc-img-hover-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  color: #0051E5;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 9px;
  width: fit-content;
  transition: background .2s, transform .2s;
}
.svc-img-hover-cta:hover { background: #e8effe; transform: translateX(3px); }

@media (max-width: 860px) {
  .svc-img-card { aspect-ratio: 16/10; }
  .svc-img-hover { transform: none; background: linear-gradient(155deg,rgba(0,45,180,.88) 0%,rgba(8,15,30,.95) 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: 900;
  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: 100px 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); }
