/**
 * Site-wide motion system (TASK-MOTION-001). Plain CSS, loaded directly (not part of the
 * Tailwind build) so it applies uniformly regardless of which page's utility classes are
 * JIT-compiled. Covers: page-load entrance, scroll-triggered reveals, anchor-scroll offset
 * for the sticky header, a top loading bar on navigation, and tactile hover/press feedback
 * on buttons and cards. Every animated rule is gated behind prefers-reduced-motion.
 */

/* Anchor-scroll offset so in-page #links don't land underneath the sticky 80px header. */
[id] {
  scroll-margin-top: 6rem;
}

/* -------------------------------------------------------------------------------------
 * Primary nav: a gradient underline that fills in on hover/active (base layout is
 * unconditional; the fill animation itself is reduced-motion gated below).
 * ------------------------------------------------------------------------------------- */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #006194, #00855d);
  transform: scaleX(0);
  transform-origin: left;
}
.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

/* Dropdown items: left accent bar on hover, replacing a flat background-only hover. */
.dropdown-item {
  position: relative;
  border-left: 2px solid transparent;
}
.dropdown-item:hover {
  background-color: #eff4ff;
  border-left-color: #006194;
}

/* -------------------------------------------------------------------------------------
 * Preloader base layout (unconditional — present whether or not motion is reduced, so
 * it always occupies the full screen until JS marks it done; only the exit choreography
 * and spinner rotation are animated, and only under prefers-reduced-motion: no-preference).
 * ------------------------------------------------------------------------------------- */
#preloader {
  display: none !important;
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
#preloader-bars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
#preloader-bars::before,
#preloader-bars::after {
  content: "";
  position: fixed;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to right, #006194, #00855d);
}
#preloader-bars::before { top: 0; }
#preloader-bars::after { bottom: 0; }
#preloader-center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
#preloader-logo {
  width: 88px;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
}
#preloader-ring {
  position: absolute;
  width: 128px;
  height: 128px;
  border-radius: 9999px;
  border: 3px solid transparent;
  border-top-color: #ffffff;
  border-bottom-color: #ffffff;
}

/* Done state: hide the preloader entirely once the page has actually finished loading. */
#preloader.isdone {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  display: none !important;
}
/* Repeat page loads within the same browser session skip the show entirely — see the
   inline script right after #preloader in header.php — so no delayed/animated exit here. */
#preloader.no-transition,
#preloader.no-transition #preloader-center,
#preloader.no-transition #preloader-bars::before,
#preloader.no-transition #preloader-bars::after {
  transition: none !important;
}

/* -------------------------------------------------------------------------------------
 * Trust-strip marquee: a continuous auto-scrolling row (TASK-MOTION-003) so a handful of
 * industry/sector tags never awkwardly wrap or orphan onto their own line at in-between
 * viewport widths. The markup repeats the item list twice (second copy aria-hidden) for a
 * seamless loop; base layout here is unconditional, the actual animation is reduced-motion
 * gated below.
 * ------------------------------------------------------------------------------------- */
.marquee-wrap {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
          mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
}
.marquee-group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  flex-shrink: 0;
}

/* ---------------------------------------------------------------------------------------
 * Reduced-motion users: everything below renders in its final state, no animation at all.
 * --------------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .marquee-wrap {
    -webkit-mask-image: none;
            mask-image: none;
  }
  .marquee-track {
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }
  .marquee-group[aria-hidden="true"] {
    display: none;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .motion-page-enter,
  .motion-page-enter > * {
    animation: none !important;
  }
  #page-progress {
    display: none !important;
  }
  #preloader {
    transition: none !important;
  }
  #preloader-ring {
    animation: none !important;
  }
  #preloader.isdone {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {

  /* -------------------------------------------------------------------------------------
   * Primary nav underline fill + dropdown accent transitions (base layout is unconditional).
   * ------------------------------------------------------------------------------------- */
  .nav-link::after {
    transition: transform 0.25s ease;
  }
  .dropdown-item {
    transition: background-color 0.2s ease, border-color 0.2s ease;
  }

  /* -------------------------------------------------------------------------------------
   * Trust-strip marquee animation (base layout is unconditional, above).
   * ------------------------------------------------------------------------------------- */
  @keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  .marquee-track {
    animation: marquee-scroll 24s linear infinite;
  }
  .marquee-wrap:hover .marquee-track {
    animation-play-state: paused;
  }

  /* -------------------------------------------------------------------------------------
   * Preloader choreography: a slow continuous spin while loading, then on .isdone the
   * center mark scales/blurs/fades out and the top/bottom bars collapse away.
   * ------------------------------------------------------------------------------------- */
  @keyframes preloader-spin {
    to { transform: rotate(360deg); }
  }
  #preloader-ring {
    animation: preloader-spin 1.1s linear infinite;
  }
  #preloader-bars::before,
  #preloader-bars::after,
  #preloader-center {
    transition: all 0.45s cubic-bezier(0.19, 1, 0.22, 1);
  }
  #preloader.isdone {
    transition: visibility 0s linear 0.45s;
  }
  #preloader.isdone #preloader-center {
    opacity: 0;
    transform: scale(1.4);
    filter: blur(2px);
  }
  #preloader.isdone #preloader-bars::before,
  #preloader.isdone #preloader-bars::after {
    height: 0;
  }

  /* -------------------------------------------------------------------------------------
   * Page-load entrance: the main content fades/lifts in once on first paint.
   * ------------------------------------------------------------------------------------- */
  @keyframes motion-fade-up {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .motion-page-enter {
    animation: motion-fade-up 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  }

  /* -------------------------------------------------------------------------------------
   * Scroll reveal: elements marked data-reveal start hidden/offset and animate in once
   * they cross into the viewport (motion.js toggles .is-visible via IntersectionObserver).
   * data-reveal-group children get a staggered delay from their --reveal-index.
   * ------------------------------------------------------------------------------------- */
  [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: calc(var(--reveal-index, 0) * 70ms);
  }
  [data-reveal="fade"] {
    transform: none;
  }
  [data-reveal="scale"] {
    transform: scale(0.96);
  }
  [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }

  /* -------------------------------------------------------------------------------------
   * Tactile feedback: buttons/cards respond to hover and touch press.
   * -------------------------------------------------------------------------------------- */
  .btn-primary,
  .btn-secondary {
    transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  }
  .btn-primary:active,
  .btn-secondary:active {
    transform: scale(0.97);
  }
  .card {
    transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  }
  .card:hover {
    transform: translateY(-3px);
  }

  /* -------------------------------------------------------------------------------------
   * Top loading progress bar, shown briefly while navigating to a new page (motion.js).
   * -------------------------------------------------------------------------------------- */
  #page-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #006194, #00855d);
    z-index: 9999;
    transition: width 0.4s ease, opacity 0.3s ease 0.2s;
    opacity: 0;
    pointer-events: none;
  }
  #page-progress.is-active {
    opacity: 1;
  }
}

/* Fallback grid column span helpers */
.col-span-6,
.md\:col-span-6,
.lg\:col-span-6 {
  grid-column: span 6 / span 6;
}

/* -------------------------------------------------------------------------------------
 * Modern Luxury & High-End Agency Visual System (Vanguard / Linear-Tier Aesthetics)
 * -------------------------------------------------------------------------------------- */

/* Double-Bezel Hardware Architecture */
.double-bezel {
  border-radius: 1.75rem;
  padding: 0.375rem;
  background: linear-gradient(180deg, rgba(226, 232, 240, 0.8) 0%, rgba(241, 245, 249, 0.5) 50%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid rgba(203, 213, 225, 0.7);
  box-shadow: 0 10px 30px -5px rgba(0, 97, 148, 0.05), 0 1px 3px 0 rgba(0, 0, 0, 0.02);
  transition: all 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.double-bezel:hover {
  border-color: rgba(0, 97, 148, 0.35);
  box-shadow: 0 20px 45px -10px rgba(0, 97, 148, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
  transform: translateY(-3px);
}
.double-bezel-inner {
  border-radius: 1.4rem;
  background: #ffffff;
  padding: 1.5rem;
  height: 100%;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.95);
}

/* Dark Obsidian Double-Bezel for Dark Heroes */
.double-bezel-dark {
  border-radius: 1.75rem;
  padding: 0.375rem;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 50%, rgba(2, 6, 23, 0.98) 100%);
  border: 1px solid rgba(0, 180, 255, 0.3);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px -8px rgba(0, 180, 255, 0.25);
  transition: all 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.double-bezel-dark:hover {
  border-color: rgba(0, 212, 255, 0.55);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.9), 0 0 50px -5px rgba(0, 180, 255, 0.4);
  transform: translateY(-3px);
}
.double-bezel-dark .double-bezel-inner {
  border-radius: 1.4rem;
  background: #09121f !important;
  color: #ffffff !important;
  padding: 1.25rem;
  height: 100%;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), inset 0 -1px 1px rgba(0, 0, 0, 0.5);
}


/* Glassmorphism Panels */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 24px -2px rgba(0, 97, 148, 0.06);
}

/* Brand accent text (solid colour; no gradient fill) */
.gradient-text-brand {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: #006194;
}

/* Atmospheric Ambient Glow Orbs */
.ambient-glow-cyan {
  position: absolute;
  border-radius: 9999px;
  background: radial-gradient(circle at center, rgba(0, 123, 185, 0.18) 0%, rgba(0, 97, 148, 0.05) 50%, transparent 75%);
  filter: blur(70px);
  pointer-events: none;
}
.ambient-glow-emerald {
  position: absolute;
  border-radius: 9999px;
  background: radial-gradient(circle at center, rgba(0, 133, 93, 0.15) 0%, rgba(0, 105, 72, 0.04) 50%, transparent 75%);
  filter: blur(70px);
  pointer-events: none;
}

/* Obsidian Cyberdeck Container for Section 3 (Guaranteed rich contrast) */
.cyberdeck-card {
  background: linear-gradient(135deg, #061526 0%, #0a223a 50%, #030d17 100%);
  border: 1px solid rgba(0, 180, 255, 0.28);
  box-shadow: 0 25px 60px -15px rgba(0, 97, 148, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: 1.75rem;
  position: relative;
  overflow: hidden;
}
.cyberdeck-role-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 1rem;
  padding: 1.25rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cyberdeck-role-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(0, 212, 255, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(0, 123, 185, 0.5);
}

/* Photorealistic 3D Workstation Hardware Bezel Display */
.hardware-display-frame {
  background: #08111d;
  border-radius: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  overflow: hidden;
  position: relative;
  display: block;
  width: 100%;
}
.hardware-display-frame.hidden,
.hardware-display-frame[hidden],
[hidden].hardware-display-frame {
  display: none !important;
}
.hardware-display-frame > img:only-child {
  aspect-ratio: 16 / 9;
}
.hardware-display-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}
.hardware-display-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.double-bezel:hover .hardware-display-frame img {
  transform: scale(1.05);
}

/* Hero Button Architecture */
.btn-pill-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  background: linear-gradient(135deg, #006194 0%, #004b73 100%);
  color: #ffffff !important;
  border-radius: 9999px;
  padding: 0.875rem 1.75rem;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 10px 25px -5px rgba(0, 97, 148, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.btn-pill-primary:hover {
  background: linear-gradient(135deg, #0073af 0%, #005a8b 100%);
  box-shadow: 0 16px 35px -5px rgba(0, 97, 148, 0.5);
  transform: translateY(-2px);
}
.btn-pill-primary:active {
  transform: scale(0.98);
}
.btn-pill-primary .icon-badge {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.btn-pill-primary:hover .icon-badge {
  transform: translateX(2px);
}

.btn-pill-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(203, 213, 225, 0.85);
  color: #0b1c30 !important;
  border-radius: 9999px;
  padding: 0.875rem 1.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-pill-glass:hover {
  background: #ffffff;
  border-color: rgba(0, 97, 148, 0.4);
  box-shadow: 0 6px 18px rgba(0, 97, 148, 0.1);
  transform: translateY(-2px);
}

/* Pain & Solution Diagnostic Badges (Section 4) */
.pain-box {
  background: rgba(254, 242, 242, 0.85);
  border: 1px solid rgba(254, 202, 202, 0.7);
  border-radius: 0.875rem;
  padding: 0.875rem 1rem;
}
.solution-box {
  background: rgba(240, 253, 244, 0.9);
  border: 1px solid rgba(187, 247, 208, 0.75);
  border-radius: 0.875rem;
  padding: 0.875rem 1rem;
}

/* Subtle Masked Technical Grid */
.hero-technical-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-size: 40px 40px;
  background-image: linear-gradient(to right, #006194 1px, transparent 1px),
                    linear-gradient(to bottom, #006194 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 15%, #000 50%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 15%, #000 50%, transparent 100%);
}

/* High-End Modern Range Slider */
input[type="range"]#calc-users {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 9999px;
  outline: none;
  transition: background 0.2s;
}
input[type="range"]#calc-users::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #006194;
  cursor: pointer;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 97, 148, 0.4), 0 0 0 1px rgba(0, 97, 148, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
input[type="range"]#calc-users::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 14px rgba(0, 97, 148, 0.5), 0 0 0 4px rgba(0, 97, 148, 0.15);
}
input[type="range"]#calc-users::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #006194;
  cursor: pointer;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 97, 148, 0.4);
}

/* Architecture Hero & Diagram Frames */
.architecture-hero-frame {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.8);
  box-shadow: 0 20px 50px -10px rgba(0, 97, 148, 0.15), 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  position: relative;
  background: #061526;
}
.architecture-hero-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}


/* ==========================================================================
   Elarviko Design System Safe Tokens (Zero Global Overrides)
   ========================================================================== */
.elarviko-card-bg { background-color: #ffffff; border: 1px solid rgba(226, 232, 240, 0.8); }
.elarviko-surface-alt { background-color: #f8fafc; }
.elarviko-border-subtle { border-color: rgba(226, 232, 240, 0.8); }
.elarviko-text-primary { color: #0f172a; }
.elarviko-text-secondary { color: #475569; }
.elarviko-text-muted { color: #64748b; }
.elarviko-grad-text {
  background: linear-gradient(135deg, #006194 0%, #00855d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.elarviko-savings-badge {
  background: linear-gradient(135deg, rgba(0, 229, 155, 0.15), rgba(0, 97, 148, 0.15));
  border: 1px solid rgba(0, 133, 93, 0.4);
  color: #00855d;
}

/* Dark mode token overrides */
.dark .elarviko-card-bg, :root.dark .elarviko-card-bg, .dark-mode .elarviko-card-bg { 
  background-color: rgba(15, 23, 42, 0.65) !important; 
  border-color: rgba(255, 255, 255, 0.1) !important; 
}
.dark .elarviko-surface-alt, :root.dark .elarviko-surface-alt, .dark-mode .elarviko-surface-alt { 
  background-color: #090d16 !important; 
}
.dark .elarviko-border-subtle, :root.dark .elarviko-border-subtle, .dark-mode .elarviko-border-subtle { 
  border-color: rgba(255, 255, 255, 0.1) !important; 
}
.dark .elarviko-text-primary, :root.dark .elarviko-text-primary, .dark-mode .elarviko-text-primary { 
  color: #ffffff !important; 
}
.dark .elarviko-text-secondary, :root.dark .elarviko-text-secondary, .dark-mode .elarviko-text-secondary { 
  color: #94a3b8 !important; 
}
.dark .elarviko-text-muted, :root.dark-mode .elarviko-text-muted, .dark-mode .elarviko-text-muted { 
  color: #64748b !important; 
}
.dark .elarviko-grad-text, :root.dark .elarviko-grad-text, .dark-mode .elarviko-grad-text {
  background: linear-gradient(135deg, #38bdf8 0%, #00e59b 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}


/* Hero Typography Hard Reset (Task Fix: No White Text or Shadows on Light Backgrounds) */
#hero h1,
#hero h1 *,
#hero p,
#hero p * {
  text-shadow: none !important;
}
#hero h1 {
  color: #0f172a !important;
}
#hero h1 .gradient-text-brand {
  color: #006194 !important;
  -webkit-text-fill-color: #006194 !important;
  background: none !important;
}
#hero p {
  color: #475569 !important;
}

/* Hero Video Background (dark tech variant: light text over the video) */
.hero-video-section .hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.hero-video-section .hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 50% 30%, rgba(5, 11, 24, 0.55) 0%, rgba(5, 11, 24, 0.25) 100%),
    linear-gradient(180deg, rgba(5, 11, 24, 0.45) 0%, rgba(5, 11, 24, 0.2) 55%, rgba(5, 11, 24, 0.6) 100%);
}
.hero-video-section > .relative.z-10 {
  z-index: 2;
}
#hero .hero-video-section h1 {
  color: #ffffff !important;
}
#hero .hero-video-section h1 .gradient-text-brand {
  color: #7dd3fc !important;
  -webkit-text-fill-color: #7dd3fc !important;
}
#hero .hero-video-section p.hero-subhead {
  color: #e2e8f0 !important;
}
@media (max-width: 767px) {
  .hero-video-section .hero-video-overlay {
    background: linear-gradient(180deg, rgba(5, 11, 24, 0.55) 0%, rgba(5, 11, 24, 0.4) 50%, rgba(5, 11, 24, 0.7) 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video-section .hero-bg-video {
    display: none;
  }
  .hero-video-section {
    background: #050b18 url("/assets/video/hero-tech-poster.jpg") center / cover no-repeat;
  }
}


/* ==============================================================================
   City & Programmatic Service Page Architecture (SRIT High-Conversion Parity)
   ============================================================================== */

/* Primary and Secondary Universal Action Buttons */
.elarviko-btn-primary,
a.elarviko-btn-primary,
button.elarviko-btn-primary {
  background: linear-gradient(135deg, #006194 0%, #00855d 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(0, 97, 148, 0.35) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.elarviko-btn-primary *,
a.elarviko-btn-primary *,
button.elarviko-btn-primary * {
  color: #FFFFFF !important;
}

.elarviko-btn-primary:hover,
a.elarviko-btn-primary:hover,
button.elarviko-btn-primary:hover {
  background: linear-gradient(135deg, #004d77 0%, #006d4c 100%) !important;
  box-shadow: 0 8px 25px rgba(0, 133, 93, 0.45) !important;
  transform: translateY(-2px);
  color: #FFFFFF !important;
}

.elarviko-btn-secondary,
a.elarviko-btn-secondary,
button.elarviko-btn-secondary {
  background-color: #FFFFFF;
  border: 1px solid #cbd5e1;
  color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.elarviko-btn-secondary:hover,
a.elarviko-btn-secondary:hover,
button.elarviko-btn-secondary:hover {
  background-color: #f1f5f9;
  border-color: #94a3b8;
  color: #006194 !important;
  transform: translateY(-2px);
}

/* City Hero Section & Showcase */
.city-hero-section {
  background-color: #f8fafc;
  background-image: radial-gradient(#cbd5e1 1.2px, transparent 1.2px);
  background-size: 24px 24px;
}

.city-hero-showcase {
  background-color: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.8);
}

/* Glass Borders & Accents */
.border-glass-border {
  border-color: rgba(148, 163, 184, 0.3) !important;
}

.bg-slate-glass {
  background-color: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Interactive Workbench Console Tabs */
.workbench-tab-btn {
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  color: #64748b;
  background-color: transparent;
}

.workbench-tab-btn:hover {
  color: #0f172a;
}

.workbench-tab-btn.active {
  background-color: #ffffff !important;
  color: #006194 !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
}

.workbench-panel {
  display: none;
}

.workbench-panel.active {
  display: block;
  animation: wbFadeIn 0.25s ease-out;
}

@keyframes wbFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.text-teal-neon {
  color: #00855d !important;
}



/* Decorative effects removed site-wide: glow orbs, masked tech grid, pulsing status dots */
.ambient-glow-cyan,
.ambient-glow-emerald,
.hero-technical-grid {
  display: none !important;
}
.animate-pulse.rounded-full {
  animation: none !important;
}

/* Mega menu: Products and Solutions & Services panels */
.mega-menu {
  box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.18);
}
.mega-menu::before {
  /* invisible bridge so the pointer can travel from the nav label into the panel */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.nav-link[aria-expanded="true"] {
  color: #006194;
}
.nav-link[aria-expanded="true"]::after {
  transform: scaleX(1);
}
.nav-link[aria-expanded="true"] .material-symbols-outlined {
  transform: rotate(180deg);
}
.mega-item:focus-visible,
.dropdown-item:focus-visible {
  outline: 2px solid #006194;
  outline-offset: -2px;
}
@media (prefers-reduced-motion: no-preference) {
  .nav-link .material-symbols-outlined {
    transition: transform 0.2s ease;
  }
  .mega-menu:not(.hidden) {
    animation: mega-in 0.18s ease-out;
  }
  @keyframes mega-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
  }
}

/* Legibility: slate-400 / gray-400 text is only ~2.5:1 on white. Darken it on light surfaces and keep the lighter tone inside dark panels. */
.text-slate-400,
.text-gray-400 { color: #64748b; }
[class*="bg-slate-950"] .text-slate-400,
[class*="bg-slate-900"] .text-slate-400,
[class*="bg-slate-800"] .text-slate-400,
[class*="bg-[#0"] .text-slate-400,
[class*="bg-black"] .text-slate-400,
[class*="bg-slate-950"] .text-gray-400,
[class*="bg-slate-900"] .text-gray-400,
[class*="bg-slate-800"] .text-gray-400,
[class*="bg-[#0"] .text-gray-400,
[class*="bg-black"] .text-gray-400,
.bg-slate-950 .text-slate-400, .bg-slate-900 .text-slate-400, .bg-slate-800 .text-slate-400 { color: #94a3b8; }

/* Blog article body: comfortable reading measure and rhythm */
.article-body { font-size: 1.0625rem; line-height: 1.8; color: #334155; }
.article-body > p, .article-body p { margin-bottom: 1.4rem; }
.article-body h2 { font-family: var(--font-heading, inherit); scroll-margin-top: 110px; }
.article-body h3 { margin-top: 2rem; margin-bottom: 0.6rem; font-weight: 700; color: #0f172a; font-size: 1.25rem; line-height: 1.35; }
.article-body a { color: #006194; text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: #004a73; }
.article-body ul:not([class]) { list-style: disc; padding-left: 1.4rem; margin-bottom: 1.4rem; }
.article-body ol:not([class]) { list-style: decimal; padding-left: 1.4rem; margin-bottom: 1.4rem; }
.article-body li { margin-bottom: 0.4rem; }
.article-body blockquote { border-left: 3px solid #006194; padding: 0.25rem 0 0.25rem 1.1rem; margin: 1.8rem 0; color: #334155; font-style: normal; }
.article-body pre { border-radius: 0.75rem; overflow-x: auto; font-size: 0.875rem; line-height: 1.65; margin: 1.6rem 0; }
.article-body :not(pre) > code { background: #eef2f7; border-radius: 0.375rem; padding: 0.1rem 0.4rem; font-size: 0.9em; color: #0f172a; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.6rem 0; font-size: 0.95rem; }
.article-body th, .article-body td { border-bottom: 1px solid #e2e8f0; padding: 0.6rem 0.75rem; text-align: left; }
.article-body img { border-radius: 0.75rem; max-width: 100%; height: auto; }

/* Icon shim: legacy Font Awesome class names rendered with the Material Symbols font already loaded on every page. */
i.fas, i.far, i.fab, i.fa-solid, i.fa-regular, i.fa-brands { display:inline-block; font-family:"Material Symbols Outlined"; font-weight:400; font-style:normal; font-size:1.15em; line-height:1; vertical-align:-0.18em; text-transform:none; letter-spacing:normal; white-space:nowrap; font-feature-settings:"liga"; -webkit-font-smoothing:antialiased; }
i.fas::before, i.far::before, i.fab::before, i.fa-solid::before, i.fa-regular::before, i.fa-brands::before { content:""; }
i.fa-spin { animation: fa-shim-spin 1s linear infinite; }
@keyframes fa-shim-spin { to { transform: rotate(360deg); } }
i.fa-anchor::before { content:"anchor"; }
i.fa-arrow-left::before { content:"arrow_back"; }
i.fa-arrow-right::before { content:"arrow_forward"; }
i.fa-arrow-up-right-from-square::before { content:"open_in_new"; }
i.fa-balance-scale::before { content:"balance"; }
i.fa-barcode::before { content:"barcode"; }
i.fa-bell::before { content:"notifications"; }
i.fa-bolt::before { content:"bolt"; }
i.fa-book-reader::before { content:"menu_book"; }
i.fa-box-open::before { content:"inventory_2"; }
i.fa-boxes::before { content:"inventory_2"; }
i.fa-boxes-packing::before { content:"inventory_2"; }
i.fa-boxes-stacked::before { content:"inventory_2"; }
i.fa-brain::before { content:"psychology"; }
i.fa-broadcast-tower::before { content:"cell_tower"; }
i.fa-building::before { content:"apartment"; }
i.fa-building-columns::before { content:"account_balance"; }
i.fa-bullhorn::before { content:"campaign"; }
i.fa-bullseye::before { content:"target"; }
i.fa-bus::before { content:"directions_bus"; }
i.fa-bus-school::before { content:"directions_bus"; }
i.fa-calculator::before { content:"calculate"; }
i.fa-calendar-alt::before { content:"calendar_month"; }
i.fa-calendar-check::before { content:"event_available"; }
i.fa-camera::before { content:"photo_camera"; }
i.fa-camera-retro::before { content:"photo_camera"; }
i.fa-certificate::before { content:"workspace_premium"; }
i.fa-chart-bar::before { content:"bar_chart"; }
i.fa-chart-line::before { content:"trending_up"; }
i.fa-chart-pie::before { content:"pie_chart"; }
i.fa-check::before { content:"check"; }
i.fa-check-circle::before { content:"check_circle"; }
i.fa-check-double::before { content:"done_all"; }
i.fa-chevron-down::before { content:"expand_more"; }
i.fa-chevron-left::before { content:"chevron_left"; }
i.fa-chevron-right::before { content:"chevron_right"; }
i.fa-chevron-up::before { content:"expand_less"; }
i.fa-circle-check::before { content:"check_circle"; }
i.fa-circle-exclamation::before { content:"error"; }
i.fa-circle-info::before { content:"info"; }
i.fa-circle-question::before { content:"help"; }
i.fa-city::before { content:"location_city"; }
i.fa-clock::before { content:"schedule"; }
i.fa-cloud::before { content:"cloud"; }
i.fa-cloud-arrow-up::before { content:"cloud_upload"; }
i.fa-cloud-sun-rain::before { content:"cloud"; }
i.fa-code-branch::before { content:"account_tree"; }
i.fa-coffee::before { content:"coffee"; }
i.fa-cog::before { content:"settings"; }
i.fa-cogs::before { content:"settings"; }
i.fa-coins::before { content:"paid"; }
i.fa-compass::before { content:"explore"; }
i.fa-credit-card::before { content:"credit_card"; }
i.fa-cubes::before { content:"deployed_code"; }
i.fa-database::before { content:"database"; }
i.fa-desktop::before { content:"desktop_windows"; }
i.fa-digital-tachograph::before { content:"speed"; }
i.fa-directions::before { content:"directions"; }
i.fa-dumpster::before { content:"delete"; }
i.fa-elevator::before { content:"elevator"; }
i.fa-envelope::before { content:"mail"; }
i.fa-exclamation-circle::before { content:"error"; }
i.fa-exclamation-triangle::before { content:"warning"; }
i.fa-external-link-alt::before { content:"open_in_new"; }
i.fa-eye::before { content:"visibility"; }
i.fa-file-contract::before { content:"description"; }
i.fa-file-excel::before { content:"table_chart"; }
i.fa-file-invoice::before { content:"receipt_long"; }
i.fa-file-invoice-dollar::before { content:"receipt_long"; }
i.fa-file-medical::before { content:"medical_information"; }
i.fa-file-medical-alt::before { content:"medical_information"; }
i.fa-file-pdf::before { content:"picture_as_pdf"; }
i.fa-file-signature::before { content:"draw"; }
i.fa-fingerprint::before { content:"fingerprint"; }
i.fa-fire-alt::before { content:"local_fire_department"; }
i.fa-fire-extinguisher::before { content:"fire_extinguisher"; }
i.fa-flag-usa::before { content:"flag"; }
i.fa-flask::before { content:"science"; }
i.fa-gas-pump::before { content:"local_gas_station"; }
i.fa-gem::before { content:"diamond"; }
i.fa-gift::before { content:"redeem"; }
i.fa-glass-cheers::before { content:"celebration"; }
i.fa-google::before { content:"public"; }
i.fa-graduation-cap::before { content:"school"; }
i.fa-hand-holding-usd::before { content:"payments"; }
i.fa-handshake::before { content:"handshake"; }
i.fa-hard-hat::before { content:"engineering"; }
i.fa-headset::before { content:"support_agent"; }
i.fa-home::before { content:"home"; }
i.fa-hospital::before { content:"local_hospital"; }
i.fa-id-card-alt::before { content:"badge"; }
i.fa-id-card-clip::before { content:"badge"; }
i.fa-images::before { content:"photo_library"; }
i.fa-industry::before { content:"factory"; }
i.fa-info-circle::before { content:"info"; }
i.fa-key::before { content:"key"; }
i.fa-landmark::before { content:"account_balance"; }
i.fa-language::before { content:"translate"; }
i.fa-laptop-code::before { content:"code"; }
i.fa-layer-group::before { content:"layers"; }
i.fa-life-ring::before { content:"support"; }
i.fa-link::before { content:"link"; }
i.fa-location-dot::before { content:"location_on"; }
i.fa-lock::before { content:"lock"; }
i.fa-lock-open::before { content:"lock_open"; }
i.fa-magic::before { content:"auto_fix_high"; }
i.fa-map-marked-alt::before { content:"map"; }
i.fa-map-marker-alt::before { content:"location_on"; }
i.fa-map-pin::before { content:"location_on"; }
i.fa-microchip::before { content:"memory"; }
i.fa-mobile-alt::before { content:"smartphone"; }
i.fa-mobile-android-alt::before { content:"smartphone"; }
i.fa-mobile-screen-button::before { content:"smartphone"; }
i.fa-money-bill-wave::before { content:"payments"; }
i.fa-money-check-alt::before { content:"payments"; }
i.fa-motorcycle::before { content:"two_wheeler"; }
i.fa-mountain::before { content:"terrain"; }
i.fa-network-wired::before { content:"lan"; }
i.fa-notes-medical::before { content:"medical_information"; }
i.fa-paper-plane::before { content:"send"; }
i.fa-phone::before { content:"call"; }
i.fa-phone-alt::before { content:"call"; }
i.fa-pills::before { content:"medication"; }
i.fa-play::before { content:"play_arrow"; }
i.fa-play-circle::before { content:"play_circle"; }
i.fa-prescription-bottle-alt::before { content:"medication"; }
i.fa-project-diagram::before { content:"account_tree"; }
i.fa-qrcode::before { content:"qr_code_2"; }
i.fa-question-circle::before { content:"help"; }
i.fa-receipt::before { content:"receipt_long"; }
i.fa-robot::before { content:"smart_toy"; }
i.fa-rocket::before { content:"rocket_launch"; }
i.fa-rotate::before { content:"sync"; }
i.fa-route::before { content:"route"; }
i.fa-scale-balanced::before { content:"balance"; }
i.fa-scissors::before { content:"content_cut"; }
i.fa-search::before { content:"search"; }
i.fa-search-dollar::before { content:"search"; }
i.fa-server::before { content:"dns"; }
i.fa-shield-alt::before { content:"shield"; }
i.fa-shield-check::before { content:"verified_user"; }
i.fa-shield-halved::before { content:"shield"; }
i.fa-ship::before { content:"directions_boat"; }
i.fa-shipping-fast::before { content:"local_shipping"; }
i.fa-shopping-bag::before { content:"shopping_bag"; }
i.fa-shopping-cart::before { content:"shopping_cart"; }
i.fa-sitemap::before { content:"account_tree"; }
i.fa-sms::before { content:"sms"; }
i.fa-snowflake::before { content:"ac_unit"; }
i.fa-solar-panel::before { content:"solar_power"; }
i.fa-spinner::before { content:"progress_activity"; }
i.fa-star::before { content:"star"; }
i.fa-store-alt::before { content:"storefront"; }
i.fa-sun::before { content:"light_mode"; }
i.fa-sun-dust::before { content:"light_mode"; }
i.fa-table-columns::before { content:"view_column"; }
i.fa-tachometer-alt::before { content:"speed"; }
i.fa-tag::before { content:"sell"; }
i.fa-tags::before { content:"sell"; }
i.fa-times::before { content:"close"; }
i.fa-times-circle::before { content:"cancel"; }
i.fa-tools::before { content:"build"; }
i.fa-triangle-exclamation::before { content:"warning"; }
i.fa-truck::before { content:"local_shipping"; }
i.fa-truck-moving::before { content:"local_shipping"; }
i.fa-truck-pickup::before { content:"local_shipping"; }
i.fa-truck-ramp-box::before { content:"local_shipping"; }
i.fa-tshirt::before { content:"checkroom"; }
i.fa-user-check::before { content:"how_to_reg"; }
i.fa-user-shield::before { content:"admin_panel_settings"; }
i.fa-user-tie::before { content:"badge"; }
i.fa-user-times::before { content:"person_off"; }
i.fa-users::before { content:"groups"; }
i.fa-users-cog::before { content:"manage_accounts"; }
i.fa-vest::before { content:"safety_check"; }
i.fa-video::before { content:"videocam"; }
i.fa-warehouse::before { content:"warehouse"; }
i.fa-water::before { content:"water_drop"; }
i.fa-weight-hanging::before { content:"scale"; }
i.fa-whatsapp::before { content:"chat"; }
i.fa-wifi::before { content:"wifi"; }
i.fa-wine::before { content:"wine_bar"; }
i.fa-wine-bottle::before { content:"wine_bar"; }
i.fa-wrench::before { content:"build"; }
.article-body a.btn-pill-primary, .article-body a.btn-pill-glass { text-decoration: none; }
.article-body a.btn-pill-primary { color: #fff; }
.article-body a.btn-pill-glass { color: #0f172a; }

/* Marketing page illustrations: calm CSS motion, off for reduced-motion visitors */
.mk-dash { stroke-dasharray: 6 8; animation: mk-dash 1.4s linear infinite; }
@keyframes mk-dash { to { stroke-dashoffset: -28; } }
.mk-float { animation: mk-float 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes mk-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.mk-stage { animation: mk-stage 10s ease-in-out infinite; }
@keyframes mk-stage {
  0%, 22%, 100% { border-color: #cfdce8; box-shadow: none; transform: none; }
  4%, 16% { border-color: #006194; box-shadow: 0 14px 28px -18px rgba(0, 97, 148, 0.45); transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .mk-dash, .mk-float, .mk-stage { animation: none; }
}
