body { margin: 0; background: #05070c; }
a { color: #2f6fed; text-decoration: none; }
a:hover { color: #4d86f5; }
::selection { background: #2f6fed; color: #05070c; }
@keyframes fade-up-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fade-up-in 0.7s cubic-bezier(.2,.7,.3,1) both; }
.lift-card { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.lift-card:hover { transform: translateY(-5px); }
.lift-dark:hover { box-shadow: 0 18px 36px rgba(0,0,0,0.4); border-color: rgba(47,111,237,0.5) !important; }
@keyframes drift-grid { from { transform: translateY(0); } to { transform: translateY(60px); } }
@keyframes orb-float { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(18px,-22px) scale(1.08); } }
@keyframes sheen-sweep { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(320%) skewX(-18deg); } }
.ov-card { position: relative; overflow: hidden; }
.ov-card .sheen { position: absolute; top: 0; left: 0; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(125,179,255,0.14), transparent); opacity: 0; pointer-events: none; }
.ov-card:hover .sheen { opacity: 1; animation: sheen-sweep 0.9s ease-out; }
.ov-card .arrow { display: inline-block; transition: transform 0.25s ease; }
.ov-card:hover .arrow { transform: translateX(6px); }
.ov-card .num { transition: color 0.25s ease, border-color 0.25s ease; }
.ov-card:hover .num { color: #7db3ff; border-color: rgba(125,179,255,0.55); }
.pill { display: inline-flex; align-items: center; transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease; }
.pill:hover { border-color: rgba(47,111,237,0.6); color: #cfe0ff; background: rgba(47,111,237,0.12); }
.step-card:hover .step-num { color: #7db3ff; }
@media (max-width: 900px) { .step-grid { grid-template-columns: repeat(2,1fr) !important; } .hero-stats { gap: 24px !important; } }
@media (max-width: 560px) { .step-grid { grid-template-columns: 1fr !important; } }
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes spin-slow-rev { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes ring-pulse { 0%,100% { opacity: 0.35; } 50% { opacity: 0.8; } }
.orbit-ring { animation: spin-slow 46s linear infinite; }
.orbit-node-inner { animation: spin-slow-rev 46s linear infinite; }
.orbit-node { transition: transform 0.25s ease; }
.orbit-node:hover { transform: scale(1.12); }
.orbit-node:hover .orbit-chip { border-color: rgba(125,179,255,0.8) !important; background: rgba(47,111,237,0.28) !important; color: #ffffff !important; }
.rail-link { transition: color 0.2s ease, border-color 0.2s ease, padding-left 0.2s ease; border-left: 2px solid rgba(244,246,250,0.12); padding: 8px 0 8px 14px; font-size: 13px; color: rgba(244,246,250,0.5); }
.rail-link:hover { color: #cfe0ff; }
.rail-link.active { color: #ffffff; border-left-color: #2f6fed; padding-left: 18px; font-weight: 600; }
.ba-handle { transition: box-shadow 0.2s ease; }
.ba-with-list > div { flex-direction: row-reverse; }
.ba:hover .ba-handle { box-shadow: 0 0 0 6px rgba(47,111,237,0.18); }
.chip-opt { display: inline-flex; align-items: center; cursor: pointer; transition: all 0.2s ease; }
.chip-opt:hover { border-color: rgba(47,111,237,0.6) !important; color: #cfe0ff !important; }
.chip-opt.on { background: rgba(47,111,237,0.2) !important; border-color: #2f6fed !important; color: #ffffff !important; }
@media (max-width: 900px) { .cs-grid { grid-template-columns: 1fr !important; } }
@media (max-width: 900px) { .tm-grid { grid-template-columns: 1fr !important; } }
@media (max-width: 1080px) { .bl-grid { grid-template-columns: repeat(2,1fr) !important; } }
@media (max-width: 700px) { .bl-grid { grid-template-columns: 1fr !important; } }
@media (max-width: 1080px) { .ov-grid { grid-template-columns: repeat(2,1fr) !important; } }
@media (max-width: 1000px) { .svc-wrap { grid-template-columns: 1fr !important; } .svc-rail { display: none !important; } }
@media (max-width: 760px) { .orbit-scale { transform: scale(0.62); } .orbit-frame { height: 300px !important; } .pick-grid { grid-template-columns: 1fr !important; } }
@media (max-width: 1040px) {
    .site-header { padding-left: 24px !important; padding-right: 24px !important; gap: 12px; }
    .hdr-nav { width: 100%; justify-content: center; order: 3; gap: 20px !important; }
  }
@media (max-width: 820px) {
    .ov-grid { grid-template-columns: repeat(2,1fr) !important; }
    .svc-detail { grid-template-columns: 1fr !important; }
    .value-grid { grid-template-columns: 1fr !important; }
  }
@media (max-width: 600px) {
    .ov-grid { grid-template-columns: 1fr !important; }
  }
@media (max-width: 1040px) { html { --mega-top: 112px; } }
@media (max-width: 700px) { html { --mega-top: 148px; } }
@media (max-width: 820px) { .step-grid { grid-template-columns: 1fr !important; } }
@media (max-width: 1080px) { .ov-grid { grid-template-columns: repeat(3,1fr) !important; } }
@media (max-width: 620px) { .ov-grid { grid-template-columns: repeat(2,1fr) !important; } }
@media (max-width: 1180px) { .ind-grid { grid-template-columns: 1fr !important; } .ind-grid > div:first-child { border-right: none !important; border-bottom: 1px solid rgba(47,111,237,0.16); flex-direction: row !important; flex-wrap: wrap; align-items: center; } }
@media (max-width: 760px) { .ind-cols { grid-template-columns: 1fr !important; } .ov-grid { grid-template-columns: 1fr !important; } }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes orbit-spin-rev { to { transform: rotate(-360deg); } }
.globe-ring-1 { animation: orbit-spin 40s linear infinite; }
.globe-ring-2 { animation: orbit-spin-rev 55s linear infinite; }
.lift-light:hover { box-shadow: 0 14px 28px rgba(0,0,0,0.4); border-color: rgba(47,111,237,0.3) !important; }
.ind-slider::-webkit-scrollbar { display: none; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track { animation: marquee-scroll 26s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes dot-drift { 0% { transform: translate(0,0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)); opacity: 0; } }
.hero-dot { position: absolute; border-radius: 50%; background: #4d9bff; box-shadow: 0 0 8px 1px rgba(77,155,255,0.9); animation: dot-drift linear infinite; }
@media (max-width: 1200px) {
    .ind-grid { grid-template-columns: repeat(3,1fr) !important; }
  }
@media (max-width: 820px) {
    .hero-grid { grid-template-columns: 1fr !important; }
    .value-grid, .about-grid { grid-template-columns: 1fr !important; }
    .feature-grid { grid-template-columns: repeat(2,1fr) !important; }
    .svc-grid { grid-template-columns: repeat(2,1fr) !important; }
    .choose-grid { grid-template-columns: 1fr !important; }
    .impact-grid { grid-template-columns: repeat(2,1fr) !important; }
    .ind-grid { grid-template-columns: repeat(2,1fr) !important; }
  }
@media (max-width: 500px) {
    .ind-grid { grid-template-columns: 1fr !important; }
  }
@media (max-width: 600px) {
    .feature-grid, .svc-grid, .impact-grid, .ind-grid { grid-template-columns: 1fr !important; }
  }

[data-hv="hv1"]:hover { background: rgba(47,111,237,0.08) !important; }
[data-hv="hv1"].hv-active { background: rgba(47,111,237,0.08) !important; }
[data-hv="hv2"]:hover { background: #4d86f5 !important; }
[data-hv="hv2"].hv-active { background: #4d86f5 !important; }
[data-hv="hv3"]:hover { filter: brightness(1.12) !important; }
[data-hv="hv3"].hv-active { filter: brightness(1.12) !important; }
[data-hv="hv4"]:hover { border-color: #2f6fed !important; color: #9dc2ff !important; }
[data-hv="hv4"].hv-active { border-color: #2f6fed !important; color: #9dc2ff !important; }
[data-hv="hv5"]:hover { border-color: #2f6fed !important; }
[data-hv="hv5"].hv-active { border-color: #2f6fed !important; }
[data-hv="hv6"]:hover { border-color: #2f6fed !important; color: #7db0ff !important; }
[data-hv="hv6"].hv-active { border-color: #2f6fed !important; color: #7db0ff !important; }
[data-hv="hv7"]:hover { border-color: rgba(47,111,237,0.6) !important; background: rgba(47,111,237,0.14) !important; }
[data-hv="hv7"].hv-active { border-color: rgba(47,111,237,0.6) !important; background: rgba(47,111,237,0.14) !important; }
[data-hv="hv8"]:hover { background: #1c5adb !important; }
[data-hv="hv8"].hv-active { background: #1c5adb !important; }
[data-hv="hv9"]:hover { border-color: #2f6fed !important; color: #ffffff !important; background: #2f6fed !important; }
[data-hv="hv9"].hv-active { border-color: #2f6fed !important; color: #ffffff !important; background: #2f6fed !important; }
/* ==========================================================================
   ORBITS Business Solutions — additions on top of the design system rules
   ========================================================================== */

/* ---------- Base / reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #f4f6fa;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }
a, button, .mega-trigger, .nav-toggle, .faq-q, .chip-opt, [data-hv] {
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, filter .2s ease, transform .2s ease, box-shadow .2s ease;
}

/* Visible keyboard focus everywhere (accessibility) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid #7db0ff;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Mega menus (desktop hover / tap toggle) ---------- */
.mega-panel { opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.nav-item.mega-open .mega-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-trigger { -webkit-tap-highlight-color: transparent; }

/* ---------- Mobile hamburger toggle ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(244,246,250,0.18);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #f4f6fa;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile nav drawer ---------- */
.mobile-nav-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  z-index: 90; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
}
.mobile-nav-backdrop.open { opacity: 1; visibility: visible; }

.mobile-nav {
  position: fixed; top: 0; right: 0; height: 100%;
  width: min(340px, 86vw);
  background: #0a0e18;
  border-left: 1px solid rgba(244,246,250,0.08);
  z-index: 95;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.2,.7,.3,1);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-inner { padding: 90px 26px 40px; display: flex; flex-direction: column; gap: 4px; }

.mnav-link {
  display: block; padding: 14px 4px; color: #f4f6fa; font-size: 15px; font-weight: 600;
  border-bottom: 1px solid rgba(244,246,250,0.07);
}
.mnav-group { border-bottom: 1px solid rgba(244,246,250,0.07); }
.mnav-accordion {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; color: #f4f6fa; font-size: 15px; font-weight: 600;
  padding: 14px 4px; cursor: pointer; text-align: left;
}
.mnav-caret { font-size: 16px; color: #7db0ff; transition: transform .2s ease; }
.mnav-group.open .mnav-caret { transform: rotate(45deg); }
.mnav-sub { max-height: 0; overflow: hidden; transition: max-height .25s ease; display: flex; flex-direction: column; }
.mnav-group.open .mnav-sub { max-height: 400px; padding-bottom: 10px; }
.mnav-sub a { padding: 10px 4px 10px 14px; font-size: 14px; color: rgba(244,246,250,0.7); border-left: 2px solid rgba(47,111,237,0.35); margin-left: 2px; }

.mnav-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.mnav-btn { text-align: center; padding: 13px 18px; border-radius: 9px; font-size: 14px; font-weight: 700; }
.mnav-btn-primary { background: #2f6fed; color: #fff; }
.mnav-btn-ghost { border: 1px solid rgba(244,246,250,0.22); color: #f4f6fa; }

/* ---------- Responsive breakpoints for header / nav ---------- */
@media (max-width: 1040px) {
  .hdr-nav { display: none !important; }
  .hdr-actions { display: none !important; }
  .nav-toggle { display: flex; }
  .site-header { gap: 0; }
}

/* ---------- Forms ---------- */
input, textarea, select { outline: none; }
input::placeholder, textarea::placeholder { color: rgba(244,246,250,0.35); }

/* ---------- Utility ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; background: #2f6fed; color: #fff;
  padding: 10px 16px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Small-screen content grid fallback (extra safety net) ---------- */
@media (max-width: 480px) {
  h1 { word-break: break-word; }
  .site-header { padding-left: 16px !important; padding-right: 16px !important; }
}

/* ---------- CMS-driven listing pages (Services, Testimonials, Industries) ---------- */
.cms-card-grid { grid-template-columns: repeat(3,1fr); }
@media (max-width: 900px) { .cms-card-grid { grid-template-columns: repeat(2,1fr) !important; } }
@media (max-width: 620px) { .cms-card-grid { grid-template-columns: 1fr !important; } }

/* Contact form two-column field layout */
@media (max-width: 640px) { .cf-grid { grid-template-columns: 1fr !important; } }

/* Careers list rows stack on small screens */
@media (max-width: 560px) {
  a[href^="career-detail.php"] { flex-direction: column; align-items: flex-start !important; }
}

/* Blog/industry/service/career detail hero + breadcrumb never overflow */
@media (max-width: 480px) {
  main img { border-radius: 12px; }
}

/* Generic safety net: any inline 3-up / 2-up grid on a full-bleed section
   that wasn't given a dedicated class still collapses sensibly rather than
   causing horizontal scroll on narrow phones. */
@media (max-width: 700px) {
  section > div[style*="grid-template-columns: repeat(3"] { grid-template-columns: 1fr !important; }
  section > div[style*="grid-template-columns: repeat(2"] { grid-template-columns: 1fr !important; }
}
@media (max-width: 960px) and (min-width: 701px) {
  section > div[style*="grid-template-columns: repeat(3"] { grid-template-columns: repeat(2,1fr) !important; }
}

/* Prevent any single element from forcing horizontal scroll on very
   narrow phones (iPhone SE and similar). */
@media (max-width: 400px) {
  body { overflow-x: hidden; }
}

