/* ============================================================
   The Creators — style.css
   Brand: Create • Innovate • Elevate | thecreators.pro
   Design system: bright, premium, gradient-accented
   ============================================================ */

/* ---------- Font metric override (eliminates FOUT layout shift) ----------
   Matches Plus Jakarta Sans metrics so the fallback font occupies the same
   space — the swap is invisible and causes zero CLS.                       */
@font-face {
  font-family: 'Plus Jakarta Sans Fallback';
  src: local('Segoe UI'), local('system-ui');
  ascent-override: 96%;
  descent-override: 22%;
  line-gap-override: 0%;
  size-adjust: 103%;
}

/* ---------- CSS Variables ---------- */
:root {
  /* Brand palette (from logo — constant across light/dark) */
  --brand-blue:    #246BFF;
  --royal-blue:    #1D4ED8;
  --brand-purple:  #8B3DFF;
  --brand-violet:  #6D28D9;
  --brand-magenta: #FF2E93;
  --brand-orange:  #FF8A00;
  --brand-yellow:  #FFC700;
  --brand-cyan:    #06B6D4;

  --gradient-primary: linear-gradient(135deg, #246BFF 0%, #8B3DFF 50%, #FF2E93 100%);
  --gradient-warm:    linear-gradient(135deg, #FF2E93 0%, #FF8A00 100%);
  --gradient-cta:     linear-gradient(135deg, #246BFF 0%, #FF8A00 100%);
  --gradient-btn:     linear-gradient(135deg, rgba(46, 107, 255, 0.92) 0%, rgba(124, 58, 237, 0.92) 100%);

  /* Neutrals (spec names) */
  --dark-navy:    #091B40;
  --dark-section: #071426;
  --white:        #FFFFFF;
  --bg:           #F8FAFC;
  --section-bg:   #FFFFFF;
  --text:         #0F172A;
  --muted:        #64748B;
  --border:       #E2E8F0;

  /* Theme-aware surface tokens (flip in dark mode) */
  --page-bg:    var(--bg);
  --surface:    var(--section-bg);
  --surface-2:  #F1F5F9;
  --heading:    var(--dark-navy);
  --body-text:  var(--text);
  --muted-text: var(--muted);
  --border-color: var(--border);
  --nav-bg: rgba(255, 255, 255, 0.85);

  --radius:    16px;
  --radius-lg: 24px;
  --shadow:    0 8px 32px rgba(9, 27, 64, 0.08);
  --shadow-lg: 0 20px 60px rgba(9, 27, 64, 0.14);
  --transition: 0.3s ease;
  --font:      'Plus Jakarta Sans', 'Plus Jakarta Sans Fallback', 'Segoe UI', system-ui, sans-serif;
  --font-head: 'Plus Jakarta Sans', 'Plus Jakarta Sans Fallback', 'Segoe UI', system-ui, sans-serif;
  --max-width: 1240px;
  --nav-h:     56px;
}

/* ---------- Dark mode ---------- */
[data-theme="dark"] {
  --page-bg:   #071426;
  --surface:   #0C1F45;
  --surface-2: #0F2450;
  --heading:   #FFFFFF;
  --body-text: #E2E8F0;
  --muted-text:#94A3B8;
  --border-color: rgba(255, 255, 255, 0.12);
  --nav-bg: rgba(7, 20, 38, 0.85);
  --shadow:    0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font);
  background: var(--page-bg);
  color: var(--body-text);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  transition: background 0.3s ease, color 0.3s ease;
  /* Reserve space for fixed navbar — prevents CLS when header is injected */
  padding-top: var(--nav-h);
}
img, video, svg { max-width: 100%; }
img, video { display: block; }
/* Never let a long word/URL or heading force the page wider than the screen */
h1, h2, h3, h4, h5, h6, p, a, li, span, strong { overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; top: -48px; left: 12px;
  background: var(--dark-navy); color: var(--white);
  padding: 12px 20px; border-radius: 8px; z-index: 10000;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.2;
  font-weight: 800;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: 38px; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; font-weight: 700; }
p  { margin-bottom: 1rem; }
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Layout ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section    { padding: 50px 0 110px; }
body.page-home .section,
body.page-contact .section { padding: 110px 0; }
.section-sm { padding: 64px 0; }
.section-dark { background: var(--dark-navy); color: var(--white); border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.72); }
/* Flat dark-navy nearly matches the dark-theme page background, so the band
   loses its separation — give it its own elevated tone + a glowing edge. */
[data-theme="dark"] .section-dark {
  background: linear-gradient(180deg, #0B2050 0%, #081A3C 100%);
  border-top-color: rgba(139,61,255,0.28);
  border-bottom-color: rgba(139,61,255,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.section-alt { background: var(--surface-2); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.flex   { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center { text-align: center; }

/* ---------- Section Header ---------- */
.section-header { text-align: center; margin-bottom: 35px; }
.section-header .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(36, 107, 255, 0.08);
  border: 1px solid rgba(139, 61, 255, 0.18);
  color: var(--brand-purple);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 4px;
}
.section-header .tag::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gradient-primary);
}
.section-header p { color: var(--muted-text); max-width: 600px; margin: 14px auto 0; font-size: 1.08rem; }
.section-dark .section-header .tag { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  isolation: isolate;
}
.btn-primary {
  background: var(--gradient-btn);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 20px rgba(46, 107, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(46, 107, 255, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary:active { transform: translateY(0); }
.btn-outline {
  border: 1px solid var(--border-color);
  color: var(--heading);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-outline:hover { border-color: var(--brand-blue); background: rgba(46, 107, 255, 0.08); color: var(--brand-blue); }
.section-dark .btn-outline, .btn-outline-light { border-color: rgba(255,255,255,0.25); color: var(--white); background: rgba(255,255,255,0.06); }
.section-dark .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.12); color: #fff; }
[data-theme="dark"] .btn-outline { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); }
[data-theme="dark"] .btn-outline:hover { background: rgba(46, 107, 255, 0.14); }
.btn-sm { padding: 10px 22px; font-size: 0.875rem; }
.btn-lg { padding: 14px 32px; font-size: 0.97rem; }
.btn-block { width: 100%; }

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(9, 27, 64, 0.06);
}
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; }
.nav-logo { display: flex; align-items: center; gap: 10px; min-width: 0; flex-shrink: 1; }
.nav-logo img { height: 34px; width: 34px; aspect-ratio: 1; flex-shrink: 0; }
.nav-logo span { font-family: var(--font-head); font-weight: 900; font-size: 1.4rem; color: var(--heading); letter-spacing: -0.01em; white-space: nowrap; }
.nav-right { flex-shrink: 0; }
.logo-o {
  display: inline-block;
  font-weight: 900;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: conic-gradient(
    #246BFF 0deg,
    #8B3DFF 72deg,
    #FF2E93 144deg,
    #FF8A00 216deg,
    #FFC700 288deg,
    #246BFF 360deg
  );
  -webkit-background-clip: text;
  background-clip: text;
}
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--body-text);
  transition: var(--transition);
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link:hover, .nav-link.active { color: var(--brand-blue); background: rgba(36, 107, 255, 0.08); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-cta { margin-left: 8px; }

/* Icon buttons (search / theme toggle) */
.icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--body-text);
  transition: var(--transition);
}
.icon-btn:hover { background: rgba(36, 107, 255, 0.08); color: var(--brand-blue); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* Dropdown / Mega menu */
.nav-item { position: relative; }
.nav-item > .nav-link .chev { width: 14px; height: 14px; transition: transform 0.25s ease; }
.nav-item:hover > .nav-link .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 10px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; }
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--body-text);
  transition: var(--transition);
}
.dropdown a:hover { background: rgba(36, 107, 255, 0.08); color: var(--brand-blue); }

/* Mega menu (services) */
.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: min(820px, 90vw);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 28px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}
.nav-item:hover .mega { opacity: 1; visibility: visible; }
.mega-col h5 {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted-text); margin-bottom: 10px; font-weight: 700;
}
.mega-col a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px;
  font-size: 0.875rem; font-weight: 600; color: var(--body-text);
  transition: var(--transition);
}
.mega-col a:hover { background: rgba(36, 107, 255, 0.08); color: var(--brand-blue); }
.mega-col a .ic {
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--ic-bg, var(--gradient-primary)); color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 3px 8px var(--ic-shadow, rgba(36,107,255,0.28));
}
.mega-col a:hover .ic {
  transform: scale(1.12) rotate(-4deg);
  box-shadow: 0 6px 16px var(--ic-shadow, rgba(36,107,255,0.38));
}
.mega-col a .ic svg { width: 15px; height: 15px; }
/* Per-service icon accent colours */
.ic-blue    { --ic-bg: linear-gradient(135deg,#246BFF,#1D4ED8);   --ic-shadow: rgba(36,107,255,0.32); }
.ic-indigo  { --ic-bg: linear-gradient(135deg,#4F46E5,#246BFF);   --ic-shadow: rgba(79,70,229,0.32); }
.ic-violet  { --ic-bg: linear-gradient(135deg,#7C3AED,#4F46E5);   --ic-shadow: rgba(124,58,237,0.32); }
.ic-purple  { --ic-bg: linear-gradient(135deg,#8B3DFF,#7C3AED);   --ic-shadow: rgba(139,61,255,0.32); }
.ic-fuchsia { --ic-bg: linear-gradient(135deg,#C026D3,#8B3DFF);   --ic-shadow: rgba(192,38,211,0.32); }
.ic-pink    { --ic-bg: linear-gradient(135deg,#FF2E93,#C026D3);   --ic-shadow: rgba(255,46,147,0.32); }
.ic-rose    { --ic-bg: linear-gradient(135deg,#F43F5E,#FF2E93);   --ic-shadow: rgba(244,63,94,0.32); }
.ic-orange  { --ic-bg: linear-gradient(135deg,#FF8A00,#F43F5E);   --ic-shadow: rgba(255,138,0,0.32); }
.ic-amber   { --ic-bg: linear-gradient(135deg,#F59E0B,#FF8A00);   --ic-shadow: rgba(245,158,11,0.32); }
.ic-teal    { --ic-bg: linear-gradient(135deg,#0D9488,#0891B2);   --ic-shadow: rgba(13,148,136,0.32); }
.ic-cyan    { --ic-bg: linear-gradient(135deg,#06B6D4,#0D9488);   --ic-shadow: rgba(6,182,212,0.32); }
.ic-green   { --ic-bg: linear-gradient(135deg,#16A34A,#0D9488);   --ic-shadow: rgba(22,163,74,0.32); }
.ic-sky     { --ic-bg: linear-gradient(135deg,#0EA5E9,#06B6D4);   --ic-shadow: rgba(14,165,233,0.32); }

/* Mobile toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--heading); border-radius: 2px; transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Pixel-cube decorative accents ---------- */
.pixel-accent { position: absolute; pointer-events: none; z-index: 2; }
.pixel-accent span {
  position: absolute; border-radius: 4px; opacity: 0.85;
  animation: twinkle 2.6s ease-in-out infinite;
}
.pixel-accent span:nth-child(1) { width: 14px; height: 14px; background: var(--brand-blue); top: 0; left: 0; }
.pixel-accent span:nth-child(2) { width: 10px; height: 10px; background: var(--brand-purple); top: 20px; left: 24px; animation-delay: .3s; }
.pixel-accent span:nth-child(3) { width: 18px; height: 18px; background: var(--brand-magenta); top: 6px; left: 46px; animation-delay: .6s; }
.pixel-accent span:nth-child(4) { width: 12px; height: 12px; background: var(--brand-orange); top: 40px; left: 8px; animation-delay: .9s; }
.pixel-accent span:nth-child(5) { width: 9px; height: 9px; background: var(--brand-yellow); top: 46px; left: 40px; animation-delay: 1.2s; }
@keyframes twinkle { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: .35; transform: scale(0.75); } }

/* ---------- Hero ---------- */
.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  /* pull section up under the fixed navbar so hero-bg reaches the very top,
     then pad back down by the same amount so content position is unchanged */
  margin-top: calc(-1 * var(--nav-h));
  padding: calc(75px + var(--nav-h)) 0 90px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 10%, rgba(36, 107, 255, 0.14) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(255, 46, 147, 0.10) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 90%, rgba(255, 138, 0, 0.10) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--body-text);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  opacity: 0;
  animation: heroFadeUp .7s ease forwards;
  animation-delay: .05s;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: pulse 2s infinite; }
.hero h1 {
  font-size: clamp(1.9rem, 3vw, 3.1rem);
  line-height: 1.14;
  margin-bottom: 18px;
}
.reveal-line { display: block; opacity: 0; animation: heroFadeUp .7s ease forwards; }
.reveal-line:nth-child(1) { animation-delay: .15s; }
.reveal-line:nth-child(2) { animation-delay: .3s; }
.reveal-line:nth-child(3) { animation-delay: .45s; }
.hero > .container > .hero-content > p,
.hero-content p {
  font-size: 1.02rem; color: var(--muted-text); max-width: 520px; margin-bottom: 30px;
  opacity: 0; animation: heroFadeUp .7s ease forwards; animation-delay: .6s;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0; animation: heroFadeUp .7s ease forwards; animation-delay: .72s;
}
.hero-stats {
  display: flex; gap: 36px; margin-top: 44px; flex-wrap: wrap;
  opacity: 0; animation: heroFadeUp .7s ease forwards; animation-delay: .84s;
}
.hero-stat .num {
  font-size: 1.85rem; font-weight: 800; font-family: var(--font-head);
  background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-stat .label { font-size: 0.82rem; color: var(--muted-text); font-weight: 600; }

/* ---------- Hero typewriter ---------- */
.hero-typed-wrap {
  display: inline-block;
  position: relative;
  min-width: 14ch;
  text-align: left;
}
/* Centered typewriter variant (services index, industries, contact) —
   the typed word grows outward from the center of the reserved box
   instead of anchoring to its left edge. Home/about keep the default. */
.hero-typed-wrap.hero-typed-center { text-align: center; }
.hero-typed {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}
.hero-typed::after {
  content: '|';
  -webkit-text-fill-color: var(--brand-blue);
  color: var(--brand-blue);
  animation: typeCursor 0.7s step-end infinite;
  margin-left: 2px;
}
@keyframes typeCursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

.hero-media { position: relative; z-index: 1; opacity: 0; animation: heroFadeUp .8s ease forwards; animation-delay: .3s; }
.hero-media img:not(.showcase-hero-img) { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: auto; }
.hero-media .pixel-accent { top: -28px; right: 24px; }
.showcase-card .pixel-accent-bl { top: auto; right: auto; bottom: -20px; left: 24px; }
.pixel-accent-bl span:nth-child(1) { top: auto; bottom: 0; }
.pixel-accent-bl span:nth-child(2) { top: auto; bottom: 20px; }
.pixel-accent-bl span:nth-child(3) { top: auto; bottom: 6px; }
.pixel-accent-bl span:nth-child(4) { top: auto; bottom: 40px; }
.pixel-accent-bl span:nth-child(5) { top: auto; bottom: 46px; }
.mockup-shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.4) 50%, transparent 65%);
  background-size: 240% 100%;
  animation: shine 4s ease-in-out infinite;
}
@keyframes shine { 0% { background-position: 200% 0; } 100% { background-position: -140% 0; } }
.floating-badge {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 2px;
  animation: float 5s ease-in-out infinite;
  z-index: 2;
}
.floating-badge .num { font-size: 1.15rem; font-weight: 800; font-family: var(--font-head); color: var(--heading); }
.floating-badge .label { font-size: 0.7rem; font-weight: 600; color: var(--muted-text); white-space: nowrap; }
.floating-badge.badge-1 { top: -18px; left: -18px; animation-delay: 0s; }
.floating-badge.badge-2 { bottom: -18px; right: -18px; animation-delay: 1.4s; }
@media (max-width: 560px) {
  .floating-badge { display: none; }
}

/* ---------- Services ticker ---------- */
.ticker-section {
  --ticker-bg: var(--dark-navy);
  background: var(--ticker-bg);
  padding: 14px 0;
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
/* Flat dark-navy nearly matches the dark-theme page background, so give the
   strip its own elevated tone + a purple-tinted edge to keep it a distinct band. */
[data-theme="dark"] .ticker-section {
  --ticker-bg: #0B2050;
  border-top-color: rgba(139,61,255,0.3);
  border-bottom-color: rgba(139,61,255,0.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.ticker-label {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  padding: 0 28px;
  white-space: nowrap;
  z-index: 2;
  position: relative;
}
.ticker-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.ticker-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.ticker-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--ticker-bg) 0%, transparent 100%);
}
.ticker-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--ticker-bg) 0%, transparent 100%);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 35s linear infinite;
}
.ticker-section:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; flex: 0 0 auto; gap: 10px; padding: 4px 0; }
.ticker-group .item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  margin: 0 6px;
  white-space: nowrap;
  border-radius: 50px;
  background: rgba(248, 246, 246, 0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.ticker-group .item:hover {
  background: #fff;
  border-color: rgba(139,61,255,0.5);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.35);
}
.ticker-group .item span { color: #fff; font-weight: 600; font-size: 0.88rem; transition: color 0.25s ease; }
.ticker-group .item:hover span { color: var(--dark-navy); }
.ticker-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #246BFF 0%, #1D4ED8 100%);
  box-shadow: none;
  display: inline-block;
  margin-right: 2px;
  transition: box-shadow 0.3s ease;
}
.ticker-group .item:hover .ticker-dot { box-shadow: 0 0 8px 2px rgba(139,61,255,0.5); }
.ticker-dot.glow {
  box-shadow: 0 0 8px 3px rgba(36,107,255,0.9), 0 0 18px 6px rgba(29,78,216,0.55);
  animation: dotGlow 1.4s ease-in-out infinite;
}
@keyframes dotGlow {
  0%, 100% { box-shadow: 0 0 8px 3px rgba(36,107,255,0.9), 0 0 18px 6px rgba(29,78,216,0.55); }
  50%       { box-shadow: 0 0 14px 5px rgba(36,107,255,1), 0 0 28px 10px rgba(29,78,216,0.75); }
}
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 34px;
  transition: var(--transition);
}
.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,0.88), rgba(255,255,255,0.72));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}
[data-theme="dark"] .card {
  background: linear-gradient(135deg, rgba(12,31,69,0.92), rgba(12,31,69,0.75));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.7) 35%, transparent 70%);
  transform: translateX(-120%) skewX(-18deg);
  transition: transform 0.85s ease;
  pointer-events: none;
}
.card:hover {
  border-color: rgba(139, 61, 255, 0.35);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card:hover::before { transform: translateX(120%) skewX(-18deg); }
.card-icon {
  --ic: var(--brand-blue);
  width: 58px; height: 58px;
  background: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--ic);
  margin-bottom: 22px;
  position: relative;
  transform: perspective(600px) rotateX(0deg) rotateY(0deg) translateZ(0);
  filter: drop-shadow(0 10px 16px rgba(9, 27, 64, 0.16));
  transition: transform 0.45s cubic-bezier(.22,1,.36,1), filter 0.45s ease;
}
.card-icon svg { width: 34px; height: 34px; stroke-width: 1.6; }
.card-icon::after {
  content: '';
  position: absolute;
  inset: -6px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--ic) 0%, transparent 70%);
  opacity: 0.16;
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.card:hover .card-icon,
.pricing-card:hover .card-icon,
a.card:hover .card-icon {
  transform: perspective(600px) rotateX(8deg) rotateY(-14deg) translateZ(6px) scale(1.08);
  filter: drop-shadow(0 16px 22px rgba(9, 27, 64, 0.22));
}
.card:hover .card-icon::after { opacity: 0.32; transform: scale(1.15); }
.card-icon.tint { color: var(--ic); }
/* Colorful icon cycle — every card icon site-wide rotates through the brand palette */
.card:nth-of-type(6n+1) .card-icon, .pricing-card:nth-of-type(6n+1) .card-icon, .step:nth-of-type(6n+1) .card-icon { --ic: var(--brand-blue); }
.card:nth-of-type(6n+2) .card-icon, .pricing-card:nth-of-type(6n+2) .card-icon, .step:nth-of-type(6n+2) .card-icon { --ic: var(--brand-purple); }
.card:nth-of-type(6n+3) .card-icon, .pricing-card:nth-of-type(6n+3) .card-icon, .step:nth-of-type(6n+3) .card-icon { --ic: var(--brand-magenta); }
.card:nth-of-type(6n+4) .card-icon, .pricing-card:nth-of-type(6n+4) .card-icon, .step:nth-of-type(6n+4) .card-icon { --ic: var(--brand-orange); }
.card:nth-of-type(6n+5) .card-icon, .pricing-card:nth-of-type(6n+5) .card-icon, .step:nth-of-type(6n+5) .card-icon { --ic: var(--brand-yellow); }
.card:nth-of-type(6n+6) .card-icon, .pricing-card:nth-of-type(6n+6) .card-icon, .step:nth-of-type(6n+6) .card-icon { --ic: var(--brand-violet); }
@media (prefers-reduced-motion: reduce) {
  .card-icon { transition: none; }
}
.card h3 { margin-bottom: 10px; font-size: 1.18rem; }
.card p  { color: var(--muted-text); font-size: 0.925rem; margin: 0; }
.about-hero { padding: 32px 0 70px; }
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}
.about-hero-grid p { margin-left: 0; margin-right: 0; }
.about-hero h1 { max-width: 700px; font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.about-hero .lead { max-width: 640px; font-size: 1.04rem; line-height: 1.8; }
.about-hero-visual { position: relative; }
.about-hero-visual::before {
  content: '';
  position: absolute;
  inset: -20px;
  z-index: -1;
  border-radius: 34px;
  background: conic-gradient(from 0deg, var(--brand-blue), var(--brand-purple), var(--brand-magenta), var(--brand-orange), var(--brand-yellow), var(--brand-blue));
  opacity: 0.22;
  filter: blur(22px);
  animation: heroGlowSpin 18s linear infinite;
}
@keyframes heroGlowSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .about-hero-visual::before { animation: none; }
}
.about-hero-visual img {
  width: 100%;
  height: 430px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
}
.about-hero-visual svg {
  width: 100%;
  height: 430px;
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
}
.about-hero-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: 240px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(8, 16, 41, 0.82);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.about-hero-badge strong { display: block; font-size: 0.98rem; margin-bottom: 4px; }
.about-hero-badge span { display: block; color: rgba(255,255,255,0.75); font-size: 0.82rem; line-height: 1.5; }

/* ---------- About page hero: extra top margin + two overlapping photo frames ----------
   Scoped to modifier classes only (about-hero-grid-dual / dual-photo) so the shared
   .about-hero-grid / .about-hero-visual base rules used by every service & industry
   page stay untouched. */
.about-hero-grid-dual { margin-top: 25px; }
.about-hero-visual.dual-photo { height: 480px; }
.about-hero-visual.dual-photo .dual-photo-frame {
  position: absolute;
  width: 62.5%;
  height: 300px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}
.about-hero-visual.dual-photo .dual-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: none;
}
.about-hero-visual.dual-photo .dual-photo-frame.frame-1 { top: 0; right: 0; z-index: 2; }
.about-hero-visual.dual-photo .dual-photo-frame.frame-2 { bottom: 0; left: 0; z-index: 1; }
/* Badge sits in the bottom-right pocket, overlapping the bottom 15% of frame-1
   and the right 15% of frame-2 (300px frame height / 62.5% frame width). */
.about-hero-visual.dual-photo .about-hero-badge {
  top: 255px;
  left: 53.125%;
  right: auto;
  bottom: auto;
  z-index: 3;
}
@media (max-width: 640px) {
  .about-hero-visual.dual-photo { height: 360px; }
  .about-hero-visual.dual-photo .dual-photo-frame { width: 62.5%; height: 225px; }
  .about-hero-visual.dual-photo .about-hero-badge { top: 191px; max-width: 150px; padding: 12px 14px; }
}
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  align-items: center;
}
.about-story-copy p { font-size: 1rem; line-height: 1.8; }
.story-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.story-highlights .highlight {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.story-highlights .highlight strong { display: block; margin-bottom: 4px; font-size: 0.95rem; color: var(--heading); }
.story-highlights .highlight span { color: var(--muted-text); font-size: 0.84rem; }
.about-story-media { position: relative; }
.about-story-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 20px 56px rgba(15, 23, 42, 0.14);
  transition: transform 0.5s cubic-bezier(.22,1,.36,1), box-shadow 0.5s ease;
}
.about-story-media:hover img { transform: scale(1.015); box-shadow: 0 26px 64px rgba(15, 23, 42, 0.2); }
.about-story-card {
  position: absolute;
  right: 20px;
  bottom: 20px;
  max-width: 220px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.about-story-media:hover .about-story-card { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22); }
[data-theme="dark"] .about-story-card {
  background: rgba(12, 31, 69, 0.85);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
}
.about-story-card strong { display: block; margin-bottom: 4px; color: var(--heading); font-size: 0.95rem; }
.about-story-card span { color: var(--muted-text); font-size: 0.82rem; }
/* ---------- Mesh section backdrop (for frosted-glass cards to blur over) ---------- */
.section-mesh { position: relative; overflow: hidden; }
.section-mesh::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 12% 10%, rgba(36,107,255,0.16) 0%, transparent 60%),
    radial-gradient(ellipse 45% 40% at 88% 20%, rgba(255,46,147,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 50% 95%, rgba(255,138,0,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.section-mesh > .container { position: relative; z-index: 1; }

/* ---------- Frozen glass card ---------- */
.glass-card {
  position: relative;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 8px 32px rgba(15,23,42,0.08);
  transition: var(--transition);
}
.glass-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(255,255,255,0.9); }
[data-theme="dark"] .glass-card {
  background: rgba(15,23,42,0.45);
  border-color: rgba(255,255,255,0.1);
}

/* ---------- Bare lottie icon (no badge/box behind it) ---------- */
.about-lottie-icon { position: relative; width: 84px; height: 84px; margin-bottom: 14px; }
.about-lottie-icon.center { margin: 0 auto 14px; }
.about-lottie-icon .lottie-target { position: absolute; inset: 0; }
@media (prefers-reduced-motion: reduce) {
  .about-lottie-icon .lottie-target { display: none; }
}

/* ---------- Pillar icon glyph (sits centered over the animated lottie aura) ---------- */
.pillar-icon {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.pillar-icon::before {
  content: '';
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, color-mix(in srgb, var(--pi, var(--brand-blue)) 16%, white), #fff);
  box-shadow: 0 10px 20px color-mix(in srgb, var(--pi, var(--brand-blue)) 22%, transparent);
}
[data-theme="dark"] .pillar-icon::before {
  background: linear-gradient(135deg, color-mix(in srgb, var(--pi, var(--brand-blue)) 26%, #0C1F45), #0C1F45);
}
.pillar-icon svg {
  position: relative;
  width: 28px;
  height: 28px;
  stroke-width: 1.8;
  color: var(--pi, var(--brand-blue));
}
.pillar-icon-vision  { --pi: var(--brand-blue); }
.pillar-icon-mission { --pi: var(--brand-purple); }
.pillar-icon-values  { --pi: var(--brand-magenta); }
.pillar-icon-craft        { --pi: var(--brand-blue); }
.pillar-icon-transparency { --pi: var(--brand-purple); }
.pillar-icon-outcomes     { --pi: var(--brand-magenta); }
.pillar-icon-partnership  { --pi: var(--brand-orange); }

/* ---------- Colorful gradient icon badges ---------- */
.icon-badge {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.icon-badge svg { width: 22px; height: 22px; }
.icon-badge.g1 { background: linear-gradient(135deg, var(--brand-blue), var(--brand-purple)); }
.icon-badge.g2 { background: linear-gradient(135deg, var(--brand-purple), var(--brand-magenta)); }
.icon-badge.g3 { background: linear-gradient(135deg, var(--brand-magenta), var(--brand-orange)); }
.icon-badge.g4 { background: linear-gradient(135deg, var(--brand-orange), var(--brand-yellow)); }

/* ---------- Pillars (Vision / Mission / Values) ---------- */
.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}
.about-pillar-card { padding: 34px 28px; }
.about-pillar-card h3 { margin-bottom: 10px; }
.about-pillar-card p { color: var(--muted-text); font-size: 0.95rem; margin: 0; }

/* ---------- Principles / Values grid ---------- */
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.about-value-card { padding: 30px 22px; text-align: center; }
.about-value-card p { color: var(--muted-text); font-size: 0.9rem; margin: 0; }

/* ---------- Photo showcase ("Inside the Studio") ---------- */
.about-showcase-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  margin-top: 36px;
  align-items: stretch;
}
.about-showcase-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 220px; aspect-ratio: 16/9; }
.about-showcase-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.about-showcase-stack { display: flex; flex-direction: column; gap: 20px; }
.about-showcase-stack .about-showcase-media { flex: 1; }
.glass-badge {
  background: rgba(8,16,41,0.82);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  padding: 18px 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.glass-badge strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.glass-badge span { display: block; color: rgba(255,255,255,0.75); font-size: 0.82rem; line-height: 1.6; }
.glass-badge p { color: rgba(255,255,255,0.85); font-size: 0.92rem; font-style: italic; line-height: 1.6; margin: 0 0 10px; }
.about-showcase-caption {
  position: absolute;
  left: 20px; right: 20px; bottom: 20px;
  max-width: 320px;
}

/* ---------- Recognition & results ---------- */
.about-recognition-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 8px;
}
.about-recognition-stats { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.about-recognition-stat { display: flex; gap: 16px; align-items: flex-start; }
.about-recognition-stat strong { display: block; color: var(--heading); font-size: 0.98rem; margin-bottom: 3px; }
.about-recognition-stat span { color: var(--muted-text); font-size: 0.86rem; line-height: 1.5; }
.about-recognition-visual { position: relative; }
.about-recognition-visual .main-photo {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}
.about-recognition-badge-photo {
  position: absolute;
  right: -24px; bottom: -24px;
  width: 150px; height: 150px;
  aspect-ratio: 1;
  border-radius: 20px;
  object-fit: cover;
  border: 4px solid var(--bg);
  box-shadow: var(--shadow-lg);
}

/* ---------- Team ---------- */
.about-team-card { text-align: center; padding: 32px 22px; display: flex; flex-direction: column; height: 100%; }
.about-team-avatar-ring {
  width: 96px; height: 96px;
  border-radius: 50%;
  padding: 4px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
}
.about-team-avatar-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.about-team-avatar-ring.g1 { background: linear-gradient(135deg, var(--brand-blue), var(--brand-purple)); }
.about-team-avatar-ring.g2 { background: linear-gradient(135deg, var(--brand-purple), var(--brand-magenta)); }
.about-team-avatar-ring.g3 { background: linear-gradient(135deg, var(--brand-magenta), var(--brand-orange)); }
.about-team-avatar-ring.g4 { background: linear-gradient(135deg, var(--royal-blue), var(--brand-blue)); }
.about-team-card .role { color: var(--muted-text); font-size: 0.88rem; margin-bottom: 12px; }
.about-team-card .bio { font-size: 0.85rem; color: var(--muted-text); line-height: 1.6; margin-bottom: 16px; }
.about-team-social { display: flex; justify-content: center; gap: 8px; margin-top: auto; padding-top: 4px; }
.team-social-link {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(36, 107, 255, 0.08); color: var(--brand-blue);
  transition: var(--transition);
}
.team-social-link:hover { background: var(--gradient-primary); color: #fff; }
.team-social-link svg { width: 16px; height: 16px; }

/* ---------- "How We Work" animated timeline ----------
   The number badges float above the glass cards (negative top
   offset) so the connecting line runs in the open space above
   the cards rather than being muddied by the frosted-glass blur. */
.work-process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 68px;
}
.work-process::before {
  content: '';
  position: absolute;
  top: 31px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-purple), var(--brand-magenta), var(--brand-orange));
  box-shadow: 0 0 10px rgba(139, 61, 255, 0.5);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 0;
}
.work-process.aos-animate::before {
  transform: scaleX(1);
  transition: transform 1.1s cubic-bezier(.65,0,.35,1) 0.15s;
}
.work-step {
  position: relative;
  z-index: 1;
  margin-top: 32px;
  padding: 40px 24px 28px;
  text-align: left;
}
.work-step h3 { margin-bottom: 8px; }
.work-step p { font-size: 0.92rem; margin: 0; }
.work-step-num {
  position: absolute;
  top: -32px;
  left: 24px;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  font-family: var(--font-head);
  transition: transform 0.3s ease;
  animation: workPulse 2.6s ease-in-out infinite;
  z-index: 2;
}
.work-step:hover .work-step-num { transform: scale(1.1); }
.work-step-num.g1 { background: linear-gradient(135deg, var(--brand-blue), var(--brand-purple)); --pulse: rgba(36,107,255,0.4); }
.work-step-num.g2 { background: linear-gradient(135deg, var(--brand-purple), var(--brand-magenta)); --pulse: rgba(139,61,255,0.4); animation-delay: 0.3s; }
.work-step-num.g3 { background: linear-gradient(135deg, var(--brand-magenta), var(--brand-orange)); --pulse: rgba(255,46,147,0.35); animation-delay: 0.6s; }
.work-step-num.g4 { background: linear-gradient(135deg, var(--brand-orange), var(--brand-yellow)); --pulse: rgba(255,138,0,0.35); animation-delay: 0.9s; }
@keyframes workPulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--pulse); }
  50% { box-shadow: 0 0 0 9px rgba(0,0,0,0); }
}
@media (prefers-reduced-motion: reduce) {
  .work-step-num { animation: none; }
  .work-process::before { transition: none; }
}

@media (max-width: 900px) {
  .about-hero-grid,
  .about-story {
    grid-template-columns: 1fr;
  }
  .about-pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-showcase-grid { grid-template-columns: 1fr; }
  .about-showcase-media { min-height: 280px; }
  .about-recognition-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-recognition-visual { max-width: 480px; margin: 0 auto; }
  .work-process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; margin-top: 48px; }
  .work-process::before { display: none; }
  .work-step { margin-top: 0; padding-top: 28px; }
  .work-step-num { position: relative; top: 0; left: 0; margin-bottom: 16px; }
}

@media (max-width: 640px) {
  .about-hero { padding: 20px 0 55px; }
  .about-hero-stats,
  .story-highlights,
  .about-pillars-grid,
  .about-values-grid {
    grid-template-columns: 1fr;
  }
  .about-hero-visual img,
  .about-story-media img,
  .about-hero-visual {
    height: auto;
  }
  .about-hero-visual img,
  .about-story-media img {
    height: 320px;
  }
  .about-story-card {
    position: static;
    margin-top: 16px;
    max-width: none;
  }
  .about-recognition-badge-photo { width: 110px; height: 110px; right: -12px; bottom: -12px; }
  .work-process { grid-template-columns: 1fr; }
}

/* ---------- Service Card ---------- */
.service-card { position: relative; overflow: hidden; }
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
  border-radius: inherit;
  z-index: 0;
}
.service-card:hover::before { opacity: 0.04; }
.service-card > * { position: relative; z-index: 1; }
.service-card .arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-blue);
  font-size: 0.875rem;
  font-weight: 700;
  margin-top: 18px;
  transition: var(--transition);
}
.service-card:hover .arrow { gap: 10px; }
.service-card .arrow svg { width: 16px; height: 16px; }

/* ---------- Process / "How We Work" premium timeline + cards ----------
   Timeline sits directly above the card grid: the number nodes share the
   exact same grid-template-columns + gap as .process-grid, so each node is
   perfectly centered above its own card. The connecting line is a single
   ::before spanning column-1-center to column-4-center (12.5%/12.5%,
   matching a 4-column grid) that draws itself in via [data-aos]. */
section.section:has(.process-grid) { padding-top: 64px; padding-bottom: 72px; }
.section-header:has(+ .process-timeline) { margin-bottom: 36px; }
.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  align-items: center;
  justify-items: center;
  gap: 24px;
  margin: 0 0 18px;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  background-image: repeating-linear-gradient(90deg, var(--brand-purple) 0 6px, transparent 6px 13px);
  transition: transform 0.9s cubic-bezier(.65,0,.35,1);
}
.process-timeline.aos-animate::before { transform: translateY(-50%) scaleX(1); }
.process-node {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  background: var(--gradient-primary);
  box-shadow: 0 12px 24px rgba(139, 61, 255, 0.3);
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: scale(0.5);
  transition: transform 0.45s cubic-bezier(.22,1,.36,1), box-shadow 0.35s ease, opacity 0.5s ease;
}
.process-node:hover { transform: scale(1.1) rotate(5deg); box-shadow: 0 16px 30px rgba(139, 61, 255, 0.4); }
.process-timeline.aos-animate .process-node { opacity: 1; transform: scale(1); }
.process-timeline.aos-animate .process-node:nth-child(2) { transition-delay: 0.12s; }
.process-timeline.aos-animate .process-node:nth-child(3) { transition-delay: 0.24s; }
.process-timeline.aos-animate .process-node:nth-child(4) { transition-delay: 0.36s; }

.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.process-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,0.85), rgba(255,255,255,0.65));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 24px;
  padding: 26px 24px 22px;
  box-shadow: 0 24px 60px rgba(15,23,42,0.08);
  transition: transform 0.45s cubic-bezier(.22,1,.36,1), box-shadow 0.45s ease, border-color 0.45s ease;
}
.process-card::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--pc, var(--brand-purple));
  opacity: 0.85;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(.22,1,.36,1);
}
.process-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 32px 70px rgba(15,23,42,0.16);
  border-color: color-mix(in srgb, var(--pc, var(--brand-purple)) 40%, transparent);
}
.process-card:hover::after { transform: scaleX(1); }
.process-card:nth-child(1) { --pc: var(--brand-purple); }
.process-card:nth-child(2) { --pc: var(--brand-blue); }
.process-card:nth-child(3) { --pc: var(--brand-cyan); }
.process-card:nth-child(4) { --pc: var(--brand-orange); }
[data-theme="dark"] .process-card {
  background: linear-gradient(160deg, rgba(12,31,69,0.85), rgba(12,31,69,0.6));
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.process-icon {
  width: 48px; height: 48px;
  border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  color: var(--pc, var(--brand-purple));
  background: linear-gradient(135deg, color-mix(in srgb, var(--pc, var(--brand-purple)) 14%, white), #fff);
  box-shadow: 0 10px 20px color-mix(in srgb, var(--pc, var(--brand-purple)) 22%, transparent);
  transition: transform 0.45s cubic-bezier(.22,1,.36,1);
}
.process-icon svg { width: 22px; height: 22px; stroke-width: 1.8; }
.process-card:hover .process-icon { transform: rotate(8deg) scale(1.08); }
[data-theme="dark"] .process-icon {
  background: linear-gradient(135deg, color-mix(in srgb, var(--pc, var(--brand-purple)) 26%, #0C1F45), #0C1F45);
}
.process-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.process-card > p { color: var(--muted-text); font-size: 0.88rem; line-height: 1.55; margin-bottom: 0; }
.process-checklist {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  display: flex; flex-direction: column; gap: 8px;
}
.process-checklist li { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; font-weight: 600; color: var(--body-text); }
.check-dot {
  flex-shrink: 0;
  width: 17px; height: 17px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--pc, var(--brand-purple)) 14%, transparent);
  color: var(--pc, var(--brand-purple));
}
.check-dot svg { width: 10px; height: 10px; stroke-width: 3; }

@media (prefers-reduced-motion: reduce) {
  .process-node, .process-timeline::before, .process-icon { transition: none; }
}
@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .process-grid { grid-template-columns: 1fr; gap: 20px; }
  /* The connector timeline squeezes 4 nodes into too little width to read
     cleanly on phones — the numbered .process-card grid below already
     conveys the same steps, so just hide the timeline bar here. */
  .process-timeline { display: none; }
}

/* ---------- Testimonial ---------- */
.testimonial-card { background: var(--surface); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 34px; }
.testimonial-card .stars { color: var(--brand-yellow); font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card blockquote { color: var(--body-text); font-size: 0.97rem; font-style: italic; margin-bottom: 22px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 46px; height: 46px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.testimonial-author .name { font-weight: 700; color: var(--heading); font-size: 0.9rem; }
.testimonial-author .role { font-size: 0.8rem; color: var(--muted-text); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-weight: 700;
  color: var(--heading);
  font-size: 1.02rem;
  text-align: left;
  transition: var(--transition);
  gap: 16px;
}
.faq-question:hover { color: var(--brand-blue); }
.faq-question .icon { flex-shrink: 0; width: 22px; height: 22px; transition: transform 0.3s ease; color: var(--brand-purple); }
.faq-item.open .faq-question .icon { transform: rotate(135deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p { padding-bottom: 22px; color: var(--muted-text); font-size: 0.97rem; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 700; color: var(--heading); margin-bottom: 8px; }
.form-control {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 15px 18px;
  color: var(--body-text);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 4px rgba(36, 107, 255, 0.12); }
.form-control::placeholder { color: var(--muted-text); }
textarea.form-control { resize: vertical; min-height: 150px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Contact Page ---------- */
.hero-trust-row { justify-content: center; max-width: 640px; margin: 15px auto 0; border-top: none; padding-top: 0; }
.form-trust-row { border-top: none; padding-top: 0; margin: -4px 0 20px; }

.form-icon-field { position: relative; }
.form-icon-field .field-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted-text); pointer-events: none; transition: var(--transition); }
.form-icon-field .form-control { padding-left: 46px; }
.form-icon-field:focus-within .field-icon { color: var(--brand-blue); }

/* Project Details starts compact (~2 lines); drag the bottom-right corner to expand */
textarea.message-compact { min-height: 84px; height: 84px; }

/* Compact submit button appended after the captcha refresh button */
.captcha-submit { flex-shrink: 0; white-space: nowrap; }

/* Form (left) / Get in Touch (right) row — edit the fractions below to change column widths */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: flex-start; margin-bottom: 10px; }

/* ---------- Gradient section headings (contact page) ---------- */
.gradient-heading {
  display: block;
  width: fit-content;
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.contact-info-col { margin-top: 10px; }
.contact-info-col .gradient-heading { margin-top: 10px; }
.contact-info-col .gradient-heading::after {
  content: '';
  display: block;
  width: 100%; height: 4px;
  margin: 0;
  border-radius: 2px;
  background: var(--gradient-primary);
  -webkit-text-fill-color: initial;
}
.contact-info-intro { color: var(--muted-text); font-size: 0.95rem; line-height: 1.7; margin-top: 14px; max-width: 420px; }
.contact-info-col .contact-info-intro { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Availability badge ---------- */
.availability-badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  padding: 6px 14px; border-radius: 50px;
  background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.25);
  color: #16a34a; font-size: 0.78rem; font-weight: 700;
}
.contact-info-col .availability-badge { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }
.availability-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: pulse 2s infinite; }

/* ---------- Compact contact form card ---------- */
.contact-form-card { padding: 32px; }
.contact-form-card .form-group { margin-bottom: 19px; }
.contact-form-card .form-row { gap: 16px; }

/* Get in Touch — stacked vertically; change grid-template-columns to repeat(2, 1fr) to go back to a 2-column layout */
.contact-info-list { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 24px; margin-bottom: 32px; }
.contact-info-card {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--surface); border: 1px solid var(--border-color); border-radius: var(--radius);
  padding: 16px 18px; transition: var(--transition);
}
.contact-info-card:hover { border-color: var(--brand-blue); box-shadow: var(--shadow); transform: translateY(-3px); }
.contact-info-icon {
  width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 8px 18px -6px rgba(9,27,64,0.3);
}
.contact-info-icon svg { width: 21px; height: 21px; }
.contact-info-icon.g-email    { background: linear-gradient(135deg, var(--brand-purple), var(--royal-blue)); }
.contact-info-icon.g-phone    { background: linear-gradient(135deg, var(--brand-blue), #38BDF8); }
.contact-info-icon.g-whatsapp { background: linear-gradient(135deg, #22C55E, #16A34A); }
.contact-info-icon.g-office   { background: linear-gradient(135deg, var(--brand-purple), var(--brand-magenta)); }
.contact-info-icon.g-hours    { background: linear-gradient(135deg, #06B6D4, #22C55E); }
.contact-info-body { flex: 1; min-width: 0; }
.contact-info-body strong { color: var(--heading); display: block; font-size: 0.92rem; margin-bottom: 2px; }
.contact-info-value { display: block; font-size: 0.88rem; color: var(--body-text); font-weight: 600; overflow-wrap: break-word; }
a.contact-info-value:hover { color: var(--brand-blue); }
.contact-info-note { display: block; font-size: 0.76rem; color: var(--muted-text); margin-top: 2px; }
.contact-info-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.btn-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 50px; font-size: 0.75rem; font-weight: 700;
  border: 1px solid var(--border-color); color: var(--brand-blue); background: var(--surface);
  transition: var(--transition); white-space: nowrap; cursor: pointer;
}
.btn-chip svg { width: 13px; height: 13px; flex-shrink: 0; }
.btn-chip:hover { background: var(--gradient-primary); color: #fff; border-color: transparent; }
.btn-chip.chip-green { color: #16a34a; }
.btn-chip.chip-green:hover { background: linear-gradient(135deg,#22C55E,#16A34A); color: #fff; }
.btn-chip .icon-check { display: none; }
.btn-chip.copied .icon-copy { display: none; }
.btn-chip.copied .icon-check { display: block; color: #22c55e; }
.contact-card-center { align-items: center; }
.contact-value-row { display: flex; align-items: center; gap: 6px; }
.copy-btn-inline { width: 22px; height: 22px; border-radius: 6px; }
.copy-btn-inline svg { width: 13px; height: 13px; }
.actions-stack { flex-direction: column; align-items: stretch; }
.actions-stack .btn-chip { justify-content: center; }
.contact-hours-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.open-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.7rem; font-weight: 700; color: #16a34a; background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.25); padding: 3px 10px; border-radius: 50px; flex-shrink: 0; }
.open-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
/* Outside working hours (set live from Asia/Kolkata time in main.js) */
.open-badge.closed { color: #ef4444; background: rgba(239,68,68,0.14); border-color: rgba(239,68,68,0.3); }
.open-badge.closed .dot { background: #ef4444; }
.hours-grid { display: grid; gap: 4px; }
.hours-grid div { display: flex; justify-content: space-between; gap: 12px; font-size: 0.8rem; }
.hours-grid span:first-child { color: var(--muted-text); }
.hours-grid span:last-child { color: var(--body-text); font-weight: 600; }

.copy-btn {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; border: 1px solid transparent;
  background: transparent; color: var(--muted-text); cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.copy-btn:hover { background: var(--surface-2); color: var(--brand-blue); border-color: var(--border-color); }
.copy-btn svg { width: 16px; height: 16px; }
.copy-btn .icon-check { display: none; color: #22c55e; }
.copy-btn.copied .icon-copy { display: none; }
.copy-btn.copied .icon-check { display: block; }
.copy-btn.copied { border-color: rgba(34,197,94,0.35); }

/* Map sits full-width below .contact-grid — resize it via the iframe's height="" attribute in contact.html */

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Contact info cards & security-check row get cramped once the action
   chip / refresh+submit buttons compete with the text for space — drop
   them to their own line instead of squeezing everything into one row. */
@media (max-width: 560px) {
  .contact-form-card { padding: 24px 20px; }
  .contact-info-card { flex-wrap: wrap; }
  .contact-info-actions {
    flex-basis: calc(100% - 60px); margin-left: 0px; margin-top: 0px;
    justify-content: center;
  }
  /* Cards with two action chips (e.g. Call Now / Chat Now) stack vertically
     by default — lay them out side by side and centered on small screens instead. */
  .actions-stack { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; }
  .btn.captcha-submit { padding: 12px 20px; font-size: 0.85rem; }
}
@media (max-width: 380px) {
  .contact-info-icon { width: 40px; height: 40px; }
  .contact-info-actions { flex-basis: calc(100% - 54px); margin-left: 0px; }
}

/* ---------- Breadcrumb (legacy inline variant, kept for any stray usage) ---------- */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--muted-text); margin-bottom: 24px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--brand-blue); }
.breadcrumb .sep { opacity: 0.5; }

/* ---------- Tags / Badges ---------- */
.tag-pill {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(36, 107, 255, 0.08);
  color: var(--brand-blue);
  border: 1px solid rgba(36, 107, 255, 0.18);
}

/* ---------- Blog Card ---------- */
.blog-card { background: var(--surface); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(139, 61, 255, 0.3); }
.blog-card img { width: 100%; height: 220px; aspect-ratio: 16/9; object-fit: cover; }
.blog-card-body { padding: 26px; }
.blog-card-body .meta { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; font-size: 0.8rem; color: var(--muted-text); flex-wrap: wrap; }
.blog-card-body h3 { font-size: 1.12rem; margin-bottom: 10px; }
.blog-card-body h3 a:hover { color: var(--brand-blue); }
.blog-card-body p { font-size: 0.9rem; color: var(--muted-text); margin: 0; }

/* ---------- Portfolio Card ---------- */
.portfolio-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.portfolio-card img { width: 100%; height: 280px; aspect-ratio: 16/9; object-fit: cover; transition: transform 0.5s ease; }
.portfolio-card:hover img { transform: scale(1.05); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,27,64,0.92) 0%, transparent 60%);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: var(--transition);
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h3, .portfolio-overlay span { color: #fff; }
.portfolio-filters { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; }
.filter-btn {
  padding: 10px 22px; border-radius: 50px; font-size: 0.875rem; font-weight: 700;
  border: 1px solid var(--border-color); color: var(--body-text); transition: var(--transition);
}
.filter-btn:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.filter-btn.active { background: var(--gradient-primary); color: #fff; border-color: transparent; }

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--dark-navy);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 20% 0%, rgba(36,107,255,0.28) 0%, transparent 60%),
              radial-gradient(ellipse 60% 80% at 90% 100%, rgba(255,138,0,0.2) 0%, transparent 60%);
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section .tag-pill { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: #fff; }
.cta-section h2, .cta-section p { color: #fff; }
.cta-section h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); overflow-wrap: break-word; }
.cta-section p { color: rgba(255,255,255,0.75); max-width: 540px; margin: 14px auto 28px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark-navy); padding: 80px 0 0; color: rgba(255,255,255,0.85); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 60px; }
.footer-brand .logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-brand .logo img { height: 38px; width: 38px; aspect-ratio: 1; }
.footer-brand .logo span { font-family: var(--font-head); font-weight: 800; color: var(--white); }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.6); max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--brand-orange); }
.footer-newsletter .form-control { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); color: #fff; }
.footer-newsletter p { font-size: 0.875rem; color: rgba(255,255,255,0.6); margin-bottom: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { margin-bottom: 0; }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a:hover { color: #fff; }
.social-links { display: flex; gap: 12px; flex-wrap: wrap; }
.social-link {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: var(--transition);
}
.social-link svg { width: 22px; height: 22px; }
.social-link:hover { border-color: transparent; transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,0.3); }
/* Official per-brand hover colours */
.social-link.social-fb:hover { background: #1877F2; }
.social-link.social-ig:hover { background: linear-gradient(45deg, #F58529 0%, #DD2A7B 45%, #8134AF 75%, #515BD4 100%); }
.social-link.social-li:hover { background: #0A66C2; }
.social-link.social-wa:hover { background: #25D366; }
.social-link.social-yt:hover { background: #FF0000; }

/* ---------- Page Hero (inner pages) ---------- */
/* --hero-lift pulls the section up under the fixed navbar; every padding-top
   on this section (including the .hero-with-crumb override below) adds the
   same amount back so the gradient's positioning box reaches the true top
   while content position and section height stay exactly the same */
.page-hero,
.industry-hero {
  --hero-lift: var(--nav-h);
  margin-top: calc(-1 * var(--hero-lift));
  position: relative;
}
.page-hero {
  padding: 32px 0 4px;
  padding-top: calc(32px + var(--hero-lift));
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(36,107,255,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(255,46,147,0.08) 0%, transparent 60%);
  text-align: center;
}
.industry-hero {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(36,107,255,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(255,46,147,0.08) 0%, transparent 60%);
}
.page-hero p { color: var(--muted-text); font-size: 1.1rem; max-width: 620px; margin: 16px auto 0; }
/* Breadcrumb now lives in .crumb-pill-bar, immediately above .page-hero */
.page-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); max-width: 780px; margin-left: auto; margin-right: auto; }

/* ---------- In-hero breadcrumb (top-left corner of the hero itself) ---------- */
.page-hero.hero-with-crumb,
.about-hero.hero-with-crumb { padding-top: calc(40px + var(--hero-lift, 0px)); }
.hero-breadcrumb-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 0;
}
.hero-breadcrumb-row .crumb-pills { justify-self: start; }
.hero-breadcrumb-row .tag-pill { justify-self: center; }
@media (max-width: 768px) {
  .page-hero.hero-with-crumb,
  .about-hero.hero-with-crumb { padding-top: calc(20px + var(--hero-lift, 0px)); }
  .hero-breadcrumb-row { grid-template-columns: 1fr; row-gap: 16px; justify-items: center; }
  .hero-breadcrumb-row .crumb-pills { justify-self: center; }
}

/* Industry sub-pages (industries/*.html, not the industries.html listing) — fixed 50px top padding */
.page-hero.industry-page-hero.hero-with-crumb { padding-top: calc(50px + var(--hero-lift, 0px)); }

/* ---------- Stat block ---------- */
.stat-block { text-align: center; }
.stat-block .num {
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; font-family: var(--font-head);
  background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: inline-block; transition: transform 0.35s cubic-bezier(.22,1,.36,1);
}
.stat-block .label { color: var(--muted-text); font-weight: 600; font-size: 0.9rem; margin-top: 4px; }
.section-dark .stat-block .label { color: rgba(255,255,255,0.65); }

/* Homepage stats band — give each stat its own card container with a lift/glow hover */
.section-dark .stat-block {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.section-dark .stat-block:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(139,61,255,0.45);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}
.section-dark .stat-block:hover .num { transform: scale(1.06); }
[data-theme="dark"] .section-dark .stat-block:hover {
  box-shadow: 0 20px 44px rgba(0,0,0,0.5), 0 0 0 1px rgba(139,61,255,0.25);
}

/* ---------- Logo strip ---------- */
.logo-strip { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; opacity: 0.75; }
.logo-strip img { height: 28px; width: auto; filter: grayscale(1); }
.text-badge { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--muted-text); letter-spacing: -0.02em; transition: var(--transition); }
.text-badge:hover { color: var(--brand-blue); }

/* ---------- Browser / phone mockups (custom illustration, no stock photos) ---------- */
.mockup-window {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}
.mockup-bar { display: flex; align-items: center; gap: 6px; padding: 14px 18px; background: var(--surface-2); border-bottom: 1px solid var(--border-color); }
.mockup-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-color); }
.mockup-bar span:nth-child(1) { background: #FF5F57; }
.mockup-bar span:nth-child(2) { background: #FFBD2E; }
.mockup-bar span:nth-child(3) { background: #28C840; }
.mockup-body { position: relative; padding: 28px; background: linear-gradient(160deg, rgba(36,107,255,0.06), rgba(255,46,147,0.05)); min-height: 220px; }
.mockup-body .bar { height: 12px; border-radius: 6px; background: var(--border-color); margin-bottom: 12px; position: relative; z-index: 1; }
.mockup-body .bar.grad { background: var(--gradient-primary); }
.mockup-body .bar.w-60 { width: 60%; }
.mockup-body .bar.w-40 { width: 40%; }
.mockup-body .bar.w-80 { width: 80%; }
.mockup-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; position: relative; z-index: 1; }
.mockup-tiles .tile { aspect-ratio: 1; border-radius: 10px; background: var(--surface); border: 1px solid var(--border-color); }
.mockup-chart { margin-top: 18px; position: relative; z-index: 1; }
.mockup-chart svg { width: 100%; height: 56px; display: block; }
.mockup-tiles .tile:nth-child(1) { background: var(--gradient-primary); border-color: transparent; }
.mockup-tiles .tile:nth-child(2) { background: var(--gradient-warm); border-color: transparent; }

.phone-mockup {
  width: 220px; border-radius: 32px; padding: 10px;
  background: var(--dark-navy); box-shadow: var(--shadow-lg);
  margin: 0 auto;
}
.phone-mockup .screen { background: var(--surface); border-radius: 22px; overflow: hidden; padding: 20px 16px; }
.phone-mockup .notch { width: 60px; height: 6px; border-radius: 4px; background: rgba(255,255,255,0.25); margin: 0 auto 16px; }
.phone-mockup .bar { height: 10px; border-radius: 5px; background: var(--border-color); margin-bottom: 10px; }
.phone-mockup .bar.grad { background: var(--gradient-primary); width: 70%; }
.phone-mockup .card-mini { border-radius: 12px; background: var(--surface-2); padding: 14px; margin-top: 14px; }

.blob-visual { position: relative; }
.blob-visual::after {
  content: '';
  position: absolute; inset: -40px;
  background: radial-gradient(circle at 30% 30%, rgba(36,107,255,0.16), transparent 55%),
              radial-gradient(circle at 75% 70%, rgba(255,46,147,0.14), transparent 55%),
              radial-gradient(circle at 60% 20%, rgba(255,138,0,0.12), transparent 50%);
  z-index: -1; filter: blur(20px);
}

/* ---------- Brand showcase (hero visual: logo + service icons) ---------- */
.showcase-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
}
.showcase-hero-img { width: 90%; height: auto; display: block; margin: 0 auto 24px; }
[data-theme="dark"] .showcase-hero-img { opacity: 0.92; }
.showcase-icons { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 26px; }
.showcase-icon {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center;
  opacity: 0;
  animation: iconPop .55s cubic-bezier(.34,1.56,.64,1) both, iconBob 3.2s ease-in-out infinite;
  cursor: default;
}
.showcase-icon .badge {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid var(--ic, var(--brand-blue));
  display: flex; align-items: center; justify-content: center;
  color: var(--ic, var(--brand-blue));
  background: color-mix(in srgb, var(--ic, var(--brand-blue)) 8%, transparent);
  transition: var(--transition);
}
.showcase-icon .badge svg { width: 22px; height: 22px; }
.showcase-icon span.label { font-size: 0.68rem; font-weight: 700; color: var(--heading); line-height: 1.25; }
.showcase-icon:hover .badge {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--ic, var(--brand-blue)) 35%, transparent);
  background: color-mix(in srgb, var(--ic, var(--brand-blue)) 16%, transparent);
}
.showcase-icon:nth-child(1) { animation-delay: .75s, 1.3s; }
.showcase-icon:nth-child(2) { animation-delay: .85s, 1.5s; }
.showcase-icon:nth-child(3) { animation-delay: .95s, 1.7s; }
.showcase-icon:nth-child(4) { animation-delay: 1.05s, 1.9s; }
.showcase-icon:nth-child(5) { animation-delay: 1.15s, 2.1s; }
@keyframes iconPop { from { opacity: 0; transform: translateY(14px) scale(.8); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes iconBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.showcase-checks {
  display: flex; flex-wrap: wrap; gap: 10px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}
.showcase-checks .check-break { flex-basis: 100%; width: 0; height: 0; margin: 0; }
.showcase-checks span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.76rem; font-weight: 700; color: var(--body-text);
}
.showcase-checks svg { width: 15px; height: 15px; color: var(--ic, var(--brand-blue)); flex-shrink: 0; }
.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.97rem; color: var(--body-text); line-height: 1.5;
}
.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px; height: 22px; margin-top: 1px;
  border-radius: 50%;
  background: var(--gradient-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/60% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/60% no-repeat;
}
@media (max-width: 560px) {
  .showcase-icons { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .showcase-card { padding: 24px 20px; }
}

/* ---------- Avatar ---------- */
.avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar-initial {
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--gradient-primary); color: #fff; font-weight: 700; flex-shrink: 0;
}

/* ---------- Pricing ---------- */
.pricing-card { background: var(--surface); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 40px 32px; position: relative; }
.pricing-card.popular { border: 2px solid transparent; background-image: linear-gradient(var(--surface), var(--surface)), var(--gradient-primary); background-origin: border-box; background-clip: padding-box, border-box; transform: scale(1.04); box-shadow: var(--shadow-lg); }
.pricing-card .badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gradient-cta); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 6px 18px; border-radius: 50px; }
.pricing-card .price { font-size: 2.4rem; font-weight: 800; color: var(--heading); margin: 16px 0; }
.pricing-card .price span { font-size: 0.95rem; font-weight: 600; color: var(--muted-text); }
.pricing-card ul { margin: 24px 0 28px; }
.pricing-card ul li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 0.9rem; color: var(--body-text); }
.pricing-card ul li svg { width: 18px; height: 18px; color: var(--brand-blue); flex-shrink: 0; }

/* ---------- Cookie / Alert banners ---------- */
.cookie-banner {
  display: none; position: fixed; bottom: 20px; left: 20px; right: 20px; z-index: 2000;
  background: var(--surface); border: 1px solid var(--border-color); border-radius: var(--radius);
  padding: 20px 24px; box-shadow: var(--shadow-lg);
  align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; max-width: 720px; margin: 0 auto;
}
.cookie-banner p { margin: 0; font-size: 0.9rem; color: var(--body-text); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--gradient-primary); color: #fff; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); z-index: 900; box-shadow: var(--shadow-lg);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- WhatsApp floating widget ---------- */
.wa-widget { position: fixed; right: 28px; bottom: 92px; z-index: 950; }

.wa-fab {
  position: relative;
  width: 56px; height: 56px; border-radius: 50%;
  border: none; cursor: pointer; color: #fff;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(18,140,126,0.45);
  transition: transform 0.3s cubic-bezier(.22,1,.36,1), box-shadow 0.3s ease;
}
.wa-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 36px rgba(18,140,126,0.55); }
.wa-fab:active { transform: translateY(-1px) scale(0.96); }
.wa-fab-icon { width: 29px; height: 29px; position: relative; z-index: 2; }

.wa-ping {
  position: absolute; inset: 0; border-radius: 50%;
  background: #25D366; opacity: 0.55; pointer-events: none;
  animation: waPing 2.8s cubic-bezier(0,0,.3,1) infinite;
}
@keyframes waPing {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .wa-ping { animation: none; opacity: 0; } }

.wa-fab-badge {
  position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: #FF3B30; color: #fff; font-size: 0.68rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; z-index: 3;
  border: 2px solid var(--page-bg);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.wa-fab-badge.hidden { transform: scale(0); opacity: 0; }

.wa-tooltip {
  position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--heading); color: var(--page-bg);
  font-size: 0.78rem; font-weight: 700; white-space: nowrap;
  padding: 8px 14px; border-radius: 8px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.wa-tooltip::after {
  content: ''; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-left-color: var(--heading);
}
@media (hover: hover) {
  .wa-fab:hover .wa-tooltip { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
}

/* Proactive one-time teaser bubble, distinct from the hover tooltip */
.wa-teaser {
  position: absolute; right: calc(100% + 14px); bottom: 2px;
  width: 224px; background: var(--surface); border: 1px solid var(--border-color); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 12px 30px 12px 14px;
  font-size: 0.82rem; line-height: 1.45; color: var(--body-text); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateX(10px) scale(0.97);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.wa-teaser.show { opacity: 1; visibility: visible; transform: translateX(0) scale(1); }
.wa-teaser-close {
  position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%;
  border: none; background: transparent; color: var(--muted-text); cursor: pointer;
  font-size: 0.95rem; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.wa-teaser-close:hover { background: var(--surface-2); color: var(--body-text); }

/* ---- Expandable chat preview panel ---- */
.wa-panel {
  position: absolute; right: 0; bottom: calc(100% + 16px);
  width: min(330px, calc(100vw - 48px));
  background: var(--surface); border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(16px) scale(0.96); transform-origin: bottom right;
  transition: opacity 0.28s cubic-bezier(.22,1,.36,1), transform 0.28s cubic-bezier(.22,1,.36,1), visibility 0.28s;
}
.wa-widget.open .wa-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); }
.wa-panel-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; background: linear-gradient(135deg, #128C7E, #075E54); color: #fff;
}
.wa-panel-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.wa-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: #fff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.wa-avatar img { width: 100%; height: 100%; object-fit: cover; }
.wa-panel-brand strong { display: block; font-size: 0.92rem; }
.wa-status { display: flex; align-items: center; gap: 6px; font-size: 0.74rem; color: rgba(255,255,255,0.85); margin-top: 2px; }
.wa-status .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; flex-shrink: 0; }
.wa-status.offline .dot { background: #94A3B8; }
.wa-close {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.15); color: #fff; font-size: 1rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.wa-close:hover { background: rgba(255,255,255,0.3); }
.wa-panel-body { padding: 16px 18px 4px; background: var(--surface-2); }
.wa-bubble {
  position: relative; background: #DCF8C6; color: #111B21; font-size: 0.86rem; line-height: 1.5;
  padding: 10px 14px; border-radius: 12px; border-top-left-radius: 4px; max-width: 92%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
[data-theme="dark"] .wa-bubble { background: #005C4B; color: #E9EDEF; }
.wa-bubble-time { display: block; margin-top: 4px; font-size: 0.68rem; color: rgba(17,27,33,0.45); text-align: right; }
[data-theme="dark"] .wa-bubble-time { color: rgba(233,237,239,0.5); }
.wa-quick-replies { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.wa-chip {
  border: 1px solid var(--border-color); background: var(--surface); color: var(--body-text);
  font-size: 0.78rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.wa-chip:hover { background: #25D366; border-color: #25D366; color: #fff; transform: translateY(-2px); }
.wa-panel-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 14px 16px 16px; padding: 12px; border-radius: 12px;
  background: linear-gradient(135deg, #25D366, #128C7E); color: #fff; font-weight: 700; font-size: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-panel-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(18,140,126,0.35); }
.wa-panel-cta svg { width: 18px; height: 18px; }

@media (max-width: 480px) {
  .wa-panel { width: min(300px, calc(100vw - 32px)); }
  .wa-teaser { width: 190px; }

  /* Smaller floating action buttons so they take up less screen on phones */
  .back-to-top { width: 40px; height: 40px; }
  .back-to-top svg { width: 17px; height: 17px; }
  .wa-widget { bottom: 84px; }
  .wa-fab { width: 48px; height: 48px; }
  .wa-fab-icon { width: 24px; height: 24px; }
  .wa-fab-badge { width: 17px; height: 17px; min-width: 17px; font-size: 0.62rem; }
}

/* ---------- Divider ---------- */
.divider { height: 1px; background: var(--border-color); margin: 0; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-8 { margin-top: 8px; }
.mb-8 { margin-bottom: 8px; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.mt-64 { margin-top: 64px; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.w-full { width: 100%; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 3000; background: rgba(9,27,64,0.6); backdrop-filter: blur(4px);
  display: none; align-items: flex-start; justify-content: center; padding-top: 12vh;
}
.search-overlay.open { display: flex; }
.search-box { background: var(--surface); border-radius: var(--radius-lg); width: min(640px, 92vw); padding: 24px; box-shadow: var(--shadow-lg); }
.search-box input { width: 100%; border: none; background: var(--surface-2); border-radius: var(--radius); padding: 16px 20px; font-size: 1.05rem; color: var(--body-text); outline: none; margin-bottom: 16px; }
.search-results a { display: block; padding: 12px 14px; border-radius: 8px; color: var(--body-text); font-size: 0.925rem; }
.search-results a:hover { background: rgba(36,107,255,0.08); color: var(--brand-blue); }
.search-close { position: absolute; top: 24px; right: 5vw; color: #fff; }

/* ---------- Animations ---------- */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.3); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
.animate-fade-up  { animation: fadeUp 0.6s ease forwards; }
.animate-fade-in  { animation: fadeIn 0.5s ease forwards; }
.animate-float    { animation: float 4s ease-in-out infinite; }
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
[data-aos].aos-animate { opacity: 1; transform: translateY(0); will-change: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--page-bg); }
::-webkit-scrollbar-thumb { background: var(--brand-purple); border-radius: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .mega { grid-template-columns: repeat(2, 1fr); width: min(600px, 90vw); }
}
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .nav-menu { display: none; }
  .nav-right .icon-btn.search-toggle { display: none; }
  .nav-toggle { display: flex; }

  /* Tablet mobile menu panel */
  .nav-menu.open {
    display: flex;
    position: fixed;
    top: calc(var(--nav-h) + 8px);
    right: 16px;
    left: auto;
    width: calc(100% - 32px);
    max-width: 280px;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 2px;
    overflow-y: auto;
    max-height: calc(100vh - var(--nav-h) - 24px);
    z-index: 999;
  }

  /* Dropdowns inside tablet menu */
  .dropdown, .mega {
    display: none;
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: var(--surface-2);
    border-radius: var(--radius);
    margin: 4px 0 4px 12px;
    width: auto;
    grid-template-columns: 1fr;
    padding: 8px;
  }
  .nav-item.open .dropdown { display: block; }
  .mega { display: none; }
  .nav-item.open .mega { display: grid; }
  .mega-col { margin-bottom: 8px; }
}
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-media { opacity: 0.85; }
}
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .hero .grid-2 { gap: 48px; }
  .cta-section { padding: 52px 40px; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  body.page-home .section,
  body.page-contact .section { padding: 64px 0; }
  .section-sm { padding: 44px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-5 { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-section { padding: 40px 24px; }
  /* Compact, centered mobile footer: brand banner on top, Quick Links /
     Services / Industries side-by-side as a tight 3-up row, newsletter
     signup below — instead of four tall stacked lists. */
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
      "brand brand brand"
      "links services industries"
      "newsletter newsletter newsletter";
    gap: 32px 10px;
    text-align: center;
  }
  .footer-grid > div:nth-child(1) { grid-area: brand; }
  .footer-grid > div:nth-child(2) { grid-area: links; }
  .footer-grid > div:nth-child(3) { grid-area: services; }
  .footer-grid > div:nth-child(4) { grid-area: industries; }
  .footer-grid > div:nth-child(5) { grid-area: newsletter; }

  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-brand .logo { justify-content: center; }
  .footer-brand p { margin-left: auto; margin-right: auto; }
  .social-links { justify-content: center; }

  .footer-col h4 { font-size: 0.72rem; margin-bottom: 12px; }
  .footer-col ul li { margin-bottom: 9px; }
  .footer-col ul li a { font-size: 0.78rem; line-height: 1.3; }
  .footer-hide-mobile { display: none; }

  .footer-newsletter { display: flex; flex-direction: column; align-items: center; }
  .footer-newsletter ul { width: 100%; max-width: 300px; }
  .footer-newsletter form { width: 100%; max-width: 300px; margin: 0 auto; }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 14px 0;
    gap: 8px;
    font-size: 0.78rem;
  }
  .footer-bottom-links { justify-content: center; gap: 12px; }

  /* Mobile nav links */
  .nav-link { padding: 12px 14px; font-size: 0.95rem; }

  /* Quote button — smaller on mobile */
  .nav-cta { padding: 8px 14px; font-size: 0.78rem; margin-left: 4px; }
  .nav-cta .nav-cta-text { display: none; }
  .nav-cta::after { content: 'Quote'; }

  /* Hero */
  .hero { padding: calc(28px + var(--nav-h)) 0 44px; }
  .hero-media { display: none; }
  .hero-stats { gap: 20px; justify-content: center; }
  .hero-stat { text-align: center; }
  .hero-actions { flex-direction: row; }
  .hero-actions .btn { flex: 1; padding: 12px 20px; font-size: 0.9rem; }
  .page-hero { padding: 20px 0 48px; padding-top: calc(20px + var(--hero-lift)); }

  /* General button sizing */
  .btn    { padding: 11px 22px; font-size: 0.875rem; }
  .btn-sm { padding: 8px 16px;  font-size: 0.8rem; }
  .btn-lg { padding: 13px 26px; font-size: 0.9rem; }

  .ticker-label { display: none; }
  .logo-strip { gap: 24px; }
  .section-header { margin-bottom: 40px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .cta-section { padding: 32px 20px; }
  .cta-section h2 { font-size: clamp(1.4rem, 6vw, 1.7rem); }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .footer-grid { gap: 26px 8px; }
  .footer-col h4 { font-size: 0.68rem; margin-bottom: 10px; }
  .footer-col ul li { margin-bottom: 7px; }
  .footer-col ul li a { font-size: 0.72rem; }
  .card { padding: 24px 20px; }
  .pricing-card { padding: 28px 20px; }
  .testimonial-card { padding: 24px 20px; }
  .hero-stats { gap: 16px; }
  .hero-stat .num { font-size: 1.5rem; }

  /* Extra-small button sizing */
  .btn    { padding: 10px 18px; font-size: 0.84rem; }
  .btn-sm { padding: 7px 14px;  font-size: 0.78rem; }
  .btn-lg { padding: 11px 22px; font-size: 0.875rem; }
}

/* ---------- About Collage (home page about preview) ---------- */
.about-collage {
  position: relative;
  width: 100%;
  height: 420px;
  contain: layout;
}

.ac-frame {
  position: absolute;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(9,27,64,0.25), 0 2px 8px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease, z-index 0s;
}
.ac-frame:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 24px 60px rgba(9,27,64,0.35);
  z-index: 10;
}
.ac-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ac-frame-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 14px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: linear-gradient(to top, rgba(7,20,38,0.9) 0%, transparent 100%);
}

/* Frame 1 — main, top-left, largest */
.ac-frame-main {
  width: 58%;
  height: 260px;
  top: 20px; left: 0;
  z-index: 3;
  animation: acFloat1 6s ease-in-out infinite;
}
@keyframes acFloat1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }

/* Frame 2 — design, top-right, connected to main */
.ac-frame-design {
  width: 42%;
  height: 210px;
  top: 10px; left: 54%;
  z-index: 4;
  animation: acFloat2 7s ease-in-out infinite;
}
@keyframes acFloat2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-11px)} }

/* Frame 3 — chart, bottom-left, connected under main */
.ac-frame-chart {
  width: 44%;
  height: 170px;
  bottom: 10px; left: 12%;
  z-index: 5;
  animation: acFloat3 5.5s ease-in-out infinite;
}
@keyframes acFloat3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }

/* Frame 4 — badge, centered to overlap main, design and chart */
.ac-frame-badge {
  width: 140px;
  height: 140px;
  top: 195px;
  left: 68%;
  transform: translate(-50%, 0);
  z-index: 7;
  border: 1px solid rgba(255,199,0,0.4);
  border-radius: 20px;
  animation: acFloat4 4.8s ease-in-out infinite;
}
@keyframes acFloat4 { 0%,100%{transform:translate(-50%, 0) rotate(-2deg)} 50%{transform:translate(-50%, -9px) rotate(2deg)} }

.ac-badge-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(7,20,38,0.6);
  backdrop-filter: blur(2px);
  gap: 3px;
}
.ac-badge-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
}
.ac-badge-num {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg,#FFC700,#FF8A00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.ac-badge-lbl {
  font-size: 0.56rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* Chips — one top, one bottom, outside the image stack */
.ac-chip {
  position: absolute;
  z-index: 10;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 7px 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--heading);
  box-shadow: var(--shadow);
  white-space: nowrap;
  animation: acChipFloat 5s ease-in-out infinite;
}
/* top stat chip */
.ac-chip-1 { top: -22px; right: 4%; animation-delay: 0s; }
/* bottom stat chip */
.ac-chip-2 { bottom: -24px; left: 10%; animation-delay: 1.4s; }
@keyframes acChipFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }

/* Blend glow behind everything */
.ac-blend {
  position: absolute;
  inset: -20px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 30% 35%, rgba(36,107,255,0.15) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at 78% 65%, rgba(255,46,147,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 60% 10%, rgba(139,61,255,0.10) 0%, transparent 55%);
  filter: blur(22px);
}

[data-theme="dark"] .ac-frame {
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

@media (max-width: 900px) {
  .about-collage   { height: 360px; }
  .ac-frame-main   { width: 58%; height: 220px; top: 15px; }
  .ac-frame-design { width: 42%; height: 180px; left: 52%; }
  .ac-frame-chart  { width: 46%; height: 148px; left: 10%; }
  .ac-frame-badge  { width: 116px; height: 116px; top: 132px; left: 52%; }
  .ac-chip-1       { top: -20px; right: 4%; }
  .ac-chip-2       { bottom: -20px; left: 10%; }
}
@media (max-width: 768px) {
  .about-collage   { height: 320px; margin-bottom: 16px; }
  .ac-frame-main   { width: 60%; height: 190px; top: 10px; }
  .ac-frame-design { width: 42%; height: 160px; left: 50%; }
  .ac-frame-chart  { width: 46%; height: 128px; left: 12%; }
  .ac-frame-badge  { width: 96px; height: 96px; top: 118px; left: 52%; }
  .ac-chip         { display: none; }
}
@media (max-width: 480px) {
  .about-collage   { height: 260px; }
  .ac-frame-main   { width: 64%; height: 155px; top: 8px; left: 0; }
  .ac-frame-design { display: none; }
  .ac-frame-chart  { width: 50%; height: 108px; left: 2%; }
  .ac-frame-badge  { width: 86px; height: 86px; right: 2%; bottom: 8px; }
  .ac-badge-num    { font-size: 1.1rem; }
}

/* ---------- Why Choose Us — Bento Mosaic ---------- */
.wcu-mosaic {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: 200px 180px;
  gap: 12px;
  width: 100%;
}

/* Top-left: wide hero cell */
.wcu-cell-hero {
  grid-column: 1;
  grid-row: 1;
}
/* Top-right: tall cell spanning both rows */
.wcu-cell-tall {
  grid-column: 2;
  grid-row: 1 / 3;
}
/* Bottom row: 3 equal cells inside a sub-grid */
.wcu-cell-stat,
.wcu-cell-dev,
.wcu-cell-result {
  grid-row: 2;
}
.wcu-cell-stat   { grid-column: 1; }
/* dev + result share the bottom-left column via a nested grid */
.wcu-mosaic {
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 200px 170px;
}
.wcu-cell-hero   { grid-column: 1 / 3; grid-row: 1; }
.wcu-cell-tall   { grid-column: 3;     grid-row: 1 / 3; }
.wcu-cell-stat   { grid-column: 1;     grid-row: 2; }
.wcu-cell-dev    { grid-column: 2;     grid-row: 2; }
.wcu-cell-result { display: none; }

.wcu-cell {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 10px 36px rgba(9,27,64,0.22), 0 2px 8px rgba(0,0,0,0.12);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.wcu-cell:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 22px 56px rgba(9,27,64,0.32);
  z-index: 5;
}
.wcu-cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.wcu-cell:hover img { transform: scale(1.06); }

.wcu-cell-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 14px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  background: linear-gradient(to top, rgba(7,20,38,0.88) 0%, transparent 100%);
}

/* Coloured glow overlay on hover */
.wcu-cell-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(36,107,255,0.18) 0%, rgba(139,61,255,0.14) 100%);
}
.wcu-cell:hover .wcu-cell-glow { opacity: 1; }

/* Stat overlay (performance tile) */
.wcu-stat-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(7,20,38,0.28);
  gap: 2px;
}
.wcu-stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-head);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.55));
}
.wcu-stat-lbl {
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}

/* Floating chips */
.wcu-chip {
  position: absolute;
  z-index: 10;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 7px 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--heading);
  box-shadow: var(--shadow);
  white-space: nowrap;
  animation: wcuChipFloat 5s ease-in-out infinite;
}
.wcu-chip-1 { top: -20px; left: 10%;  animation-delay: 0s; }
.wcu-chip-2 { bottom: -20px; right: 6%; animation-delay: 1.2s; }
.wcu-chip-3 { top: 50%; right: -18px; transform: translateY(-50%); animation-delay: 2.4s; }
@keyframes wcuChipFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }
.wcu-chip-3 { animation: wcuChipFloat3 5s ease-in-out infinite 2.4s; }
@keyframes wcuChipFloat3 { 0%,100%{transform:translateY(-50%)} 50%{transform:translateY(calc(-50% - 5px))} }

/* Ambient glow behind mosaic */
.wcu-blend {
  position: absolute;
  inset: -30px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 25% 30%, rgba(36,107,255,0.16) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(255,46,147,0.13) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 65% 15%, rgba(139,61,255,0.11) 0%, transparent 55%);
  filter: blur(22px);
}

[data-theme="dark"] .wcu-cell {
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 10px 36px rgba(0,0,0,0.45);
}

@media (max-width: 900px) {
  .wcu-mosaic {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 170px 140px;
    gap: 10px;
  }
  .wcu-chip-3 { display: none; }
}
@media (max-width: 768px) {
  .wcu-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 160px 130px;
    gap: 8px;
    margin-bottom: 16px;
  }
  .wcu-cell-hero { grid-column: 1 / 3; grid-row: 1; }
  .wcu-cell-tall { grid-column: 2;     grid-row: 2; }
  .wcu-cell-stat { grid-column: 1;     grid-row: 2; }
  .wcu-cell-dev  { display: none; }
  .wcu-chip      { display: none; }
}
@media (max-width: 480px) {
  .wcu-mosaic { grid-template-rows: 140px 110px; }
}

/* ---------- Tech Stack Section ---------- */
.tech-section {
  position: relative;
  padding: 100px 0;
  background: var(--dark-navy);
  overflow: hidden;
}
.tech-bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 15% 20%, rgba(36,107,255,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 85% 75%, rgba(139,61,255,0.16) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 55% 5%,  rgba(255,46,147,0.10) 0%, transparent 55%);
  filter: blur(30px);
}
.tech-section .section-header .tag {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}
.tech-section .section-header h2 { color: #fff; }
.tech-section .section-header p  { color: rgba(255,255,255,0.6); }

/* --- Filter tabs --- */
.tech-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.tech-tab {
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
}
.tech-tab:hover {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.tech-tab.active {
  background: var(--gradient-btn);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 18px rgba(36,107,255,0.35);
}

/* --- Tech grid --- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

/* --- Individual card --- */
.tech-card {
  position: relative;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  padding: 28px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: default;
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1),
              border-color 0.3s ease,
              box-shadow 0.3s ease,
              background 0.3s ease;
  overflow: visible;
}
.tech-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.tech-card:hover {
  transform: translateY(-10px) scale(1.04);
  border-color: rgba(var(--gc-rgb, 255,255,255), 0.4);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1);
  z-index: 5;
}
.tech-card:hover::before { opacity: 1; }

/* hidden cards (filtered out) */
.tech-card.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.tech-card.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(.34,1.56,.64,1);
}

.tech-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

/* --- Icon wrapper with glow --- */
.tech-icon-wrap {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.tech-icon-wrap svg {
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1);
}
.tech-card:hover .tech-icon-wrap svg { transform: scale(1.18) rotate(-4deg); }
.tech-card:hover .tech-icon-wrap {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

/* Glow blob behind icon */
.tech-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gc, #fff) 55%, transparent) 0%, transparent 70%);
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}
.tech-card:hover .tech-glow { opacity: 0.7; }

/* --- Name & category pill --- */
.tech-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-align: center;
  line-height: 1.2;
  transition: color 0.25s ease;
}
.tech-card:hover .tech-name { color: #fff; }

.tech-cat-pill {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  padding: 3px 10px;
  transition: color 0.25s ease, background 0.25s ease;
}
.tech-card:hover .tech-cat-pill {
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.1);
}

/* --- Tooltip --- */
.tech-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(9,27,64,0.96);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 20;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.tech-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(9,27,64,0.96);
}
.tech-card:hover .tech-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Responsive grid breakpoints */
@media (max-width: 1100px) { .tech-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px)  {
  .tech-section { padding: 72px 0; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .tech-tooltip { display: none; }
}
@media (max-width: 480px)  { .tech-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   Industries detail pages (Phase 6)
   ============================================================ */

/* ---------- Compact pill breadcrumb (left-aligned, sits clear of the sticky header) ---------- */
.crumb-pill-bar {
  /* body padding-top already reserves navbar height */
  padding: 32px 0 16px;
}
.crumb-pill-scroll {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.crumb-pill-scroll::-webkit-scrollbar { display: none; }
.crumb-pill-scroll .tag-pill { flex-shrink: 0; }
.crumb-pills {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 4px;
  box-shadow: var(--shadow);
  white-space: nowrap;
  flex-shrink: 0;
}
.crumb-pills a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted-text);
  transition: var(--transition);
}
.crumb-pills a svg { width: 11px; height: 11px; flex-shrink: 0; }
.crumb-pills a:hover { color: var(--brand-blue); background: rgba(36,107,255,0.08); }
.crumb-pills .sep { color: var(--muted-text); opacity: 0.35; font-size: 0.65rem; padding: 0 1px; }
.crumb-pills .current {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 50px;
  background: rgba(36, 107, 255, 0.08);
  border: 1px solid rgba(36, 107, 255, 0.18);
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 0.72rem;
}
@media (max-width: 768px) {
  .crumb-pill-bar { padding-top: 20px; }
}

/* ---------- Lottie icon aura (card icons across industry pages) ----------
   Real lottie-web animations render into .lottie-target, layered behind the
   existing static .card-icon glyph so icons stay crisp and legible while a
   subtle animated aura brings the container to life. See js/lottie-init.js
   and assets/lottie/*.json — swap the data-lottie path to change the motion. */
.icon-lottie-wrap {
  position: relative;
  width: 74px;
  height: 74px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-lottie-wrap .lottie-target {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}
.icon-lottie-wrap .card-icon {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}
@media (prefers-reduced-motion: reduce) {
  .icon-lottie-wrap .lottie-target { display: none; }
}

/* ---------- Industry hero stat row ---------- */
.industry-hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.industry-hero-stats .stat-block { text-align: left; }
.industry-hero-stats .stat-block .num { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* ---------- Industry stat strip ---------- */
.industry-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 44px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
@media (max-width: 768px) {
  .industry-stat-strip { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
}

/* ============================================================
   MOBILE OPTIMISATION & OVERFLOW HARDENING
   Consolidated fixes that stop pages drifting sideways / getting
   clipped on phones. Kept last so intent is clear and these
   guards win over earlier rules. Pure CSS — no markup changes.
   Pairs with the html/body `overflow-x: hidden` guard at the top.
   ============================================================ */

/* Decorative glow layers previously bled up to 40px past their box
   (inset: -40px / -20px). Behind content and blurred, so pulling them
   back to the box edge is visually invisible but removes the extra
   width that was nudging every page sideways on small screens. */
@media (max-width: 768px) {
  .blob-visual::after,
  .ac-blend,
  .about-hero-visual::before { inset: 0; }
}

/* Navbar — guarantee the brand + actions stay inside a narrow viewport. */
@media (max-width: 480px) {
  .nav-inner     { gap: 8px; padding-right: 0; }
  .nav-right     { gap: 6px; }
  .nav-logo img  { height: 30px; }
  .nav-logo span { font-size: 1.18rem; }
  .icon-btn      { width: 38px; height: 38px; }
}
@media (max-width: 360px) {
  .nav-logo span { font-size: 1rem; }
  .nav-right     { gap: 4px; }
  .icon-btn      { width: 34px; height: 34px; }
}

/* Slightly tighter vertical rhythm so phone screens aren't mostly padding. */
@media (max-width: 480px) {
  .section    { padding: 56px 0; }
  body.page-home .section,
  body.page-contact .section { padding: 56px 0; }
  .section-sm { padding: 36px 0; }
}

/* ---------- Service Grid-2 Section (What We Offer / What We Deliver) ---------- */
.service-grid2-left { display: flex; flex-direction: column; }
.service-grid2-header { text-align: center; margin-bottom: 0; }
.service-grid2-header .tag-pill { margin-bottom: 12px; display: inline-block; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.72rem; }
.service-grid2-header h2 { margin-top: 0; }
.service-grid2-header p { color: var(--muted-text); margin-top: .75rem; font-size: 1rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.offer-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.25rem; margin-bottom: 1.5rem; }
.offer-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 600;
  background: rgba(36,107,255,0.07); border: 1px solid rgba(139,61,255,0.18);
  color: var(--brand-purple); cursor: default;
  transition: background .2s, border-color .2s, color .2s, transform .15s, box-shadow .2s;
  user-select: none;
}
.offer-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gradient-primary); flex-shrink: 0; }
.offer-pill:hover { background: rgba(139,61,255,0.13); border-color: var(--brand-purple); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(139,61,255,0.18); }
.service-grid2-btn { margin-top: 1.75rem; display: flex; gap: 12px; flex-wrap: wrap; }
.service-grid2-cards .card { transition: transform .22s, box-shadow .22s, border-color .22s; }
.service-grid2-cards .card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(139,61,255,0.3); }
