/* ===== Design tokens ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
:root {
  --bg: #000a15;
  --surface: #000a15;
  --border: #2c2e38;
  --border-cyan: #00e5ff;
  --cyan: #00e5ff;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.85);
  --sidebar-active-bg: #021e2f;
  --sidebar-active-border: #012d41;
  --font: "Montserrat", "Proxima Nova", "Segoe UI", sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1440px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.page {
  /*max-width: var(--max);*/
  width:100%;
  margin: 0 auto;
  padding: 12px 20px 10px 20px;
  display: flex;
  justify-content: center;
}

/* ===== Header / Nav ===== */


  body .page ul.nav-list li.nav-item.has-mega.is-open .mega-menu{display:block;}
  /*body .page ul.nav-list li.nav-item.has-mega .mega-menu{display:block!important;}*/

/*
.homepagecontents .site-header:hover,.homepagecontents .site-header,.homepagecontents .primary-nav,.homepagecontents .nav-toggle{
position: none;
}

.homepagecontents .sidebar-label{margin-bottom:15px;}
.homepagecontents .service-nav{gap:5px;}
.homepagecontents .sidebar-footer{padding-top:10px;margin:15px auto 0;}
.homepagecontents .service-panels {
    overflow-y: scroll;
    max-height: 80vh;}

.homepagecontents .nav-caret{
      left: -36%;
    right: 0;
    margin: auto;
}
.homepagecontents .mega-menu__panel{overflow:auto;max-height:100%}

.homepagecontents .mega-menu{
    width: 95vw;
    left: 50px;
    right: 50px;
    top:12%;
}*/

body .sidebar-label{margin-bottom:15px;}
body .service-nav{gap:5px;}
body .sidebar-footer{padding-top:10px;margin:15px auto 0;}
body .service-panels{overflow-y:scroll;max-height:80vh;-webkit-overflow-scrolling: touch;}
body .mega-menu__panel{overflow:auto;max-height:100%;}

.site-header:hover{z-index:999999;position:relative;}

.site-header {
  display: flex;
  align-items:center;
  justify-content:center;
  gap:40px;
  min-height: 64px;
  /*position: relative;*/
  z-index: 20;
}

/* Desktop: children of header-bar join the header flex row */
.header-bar {
  display: contents;
}

.logo {
  flex-shrink: 0;
  width: 134px;
  position:relative;
  z-index:9;
}

.logo img {
  width: 134px;
  height: 56px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--cyan);
  border-radius: 2px;
}

.primary-nav {
  /*flex: 1;*/
}

.nav-list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 28px 38px;
}

.nav-item {
  position: relative;
}

.nav-item.has-mega {
  position: static;
}
.middle_nav .main_menu {
  position: static;
}

.navbar-expand-md .navbar-nav .nav-item.has-mega {
  position: static;
}

.nav-item a {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  white-space: nowrap;
  transition: color 0.2s ease;
  width: 100%;
  position: relative;
}

.nav-item a:hover {
  color: var(--cyan);
}

.nav-item .sidebar-footer a {
  color: var(--cyan);
}

.nav-item a.cta-button {
  gap: 10px;
  font-size: 14px;
}


.loadinsame img{
top:7px;
position:relative;
}
/* ===== Company dropdown (same gap/caret as Digital Solutions) ===== */
.nav-item.has-dropdown {
  /* Anchor to site-header like .has-mega so top gap matches */
  position: static;
}

.dropdown-trigger-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 32;
  padding-bottom: 32px;
  margin-bottom: -32px;
}

.nav-item.has-dropdown > .dropdown-trigger-wrap > .dropdown-trigger {
  width: auto;
}

.dropdown-menu {
  position: absolute;
  /* Same offset from header as .mega-menu */
  top: calc(100% + 8px);
  left: var(--company-x, 50%);
  right: auto;
  min-width:170px;
  padding: 10px 0;
  margin: 0;
  list-style: none;
  background: #010d18;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  /*opacity: 0;*/
  visibility: hidden;
  /*pointer-events: none;*/
  transform: translate(-50%, 6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 50;
  overflow: visible;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -8px;
  height: 8px;
}

.nav-item.has-dropdown:hover > .dropdown-menu,
.nav-item.has-dropdown:focus-within > .dropdown-menu,
.nav-item.has-dropdown.is-open > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-item.has-dropdown:hover .dropdown-trigger,
.nav-item.has-dropdown:focus-within .dropdown-trigger,
.nav-item.has-dropdown.is-open .dropdown-trigger {
  color: var(--cyan);
}

/* Caret on top edge of panel — same as .nav-caret on mega */
.dropdown-menu > .dropdown-caret {
  position: absolute;
  top: -10px;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translateX(-50%);
  width: 120px;
  height: 11px;
  /*pointer-events: none;*/
  opacity: 0;
  z-index: 52;
  transition: opacity 0.15s ease;
}

.nav-item.has-dropdown:hover .dropdown-caret,
.nav-item.has-dropdown:focus-within .dropdown-caret,
.nav-item.has-dropdown.is-open .dropdown-caret {
  opacity: 1;
}

.dropdown-menu > li > a,
.submenu > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding:8px 18px;
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
  width: 100%;
  box-sizing: border-box;
}

.dropdown-menu > li > a:hover,
.submenu > li > a:hover {
  color: var(--cyan);
  background: transparent;
}

.dropdown-menu .has-submenu {
  position: relative;
}

.submenu-trigger .submenu-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transform: rotate(-90deg);
  opacity: 0.85;
}

.submenu {
  position: absolute;
  top: -100px;
  left: calc(100% + 8px);
  min-width:190px;
  padding: 10px 0;
  margin: 0;
  list-style: none;
  background: #010d18;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  /*pointer-events: none;*/
  transform: translateX(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 51;
}

.submenu::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -10px;
  width: 10px;
}

.dropdown-menu .has-submenu:hover > .submenu,
.dropdown-menu .has-submenu:focus-within > .submenu,
.dropdown-menu .has-submenu.is-open > .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.dropdown-menu .has-submenu:hover > .submenu-trigger,
.dropdown-menu .has-submenu.is-open > .submenu-trigger {
  color: var(--cyan);
}

.mega-trigger-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 32;
  /* Reach down toward the mega menu so the pointer never hits a dead zone */
  padding-bottom: 32px;
  margin-bottom: -32px;
}

.nav-item.has-mega:hover .mega-trigger,
.nav-item.has-mega:focus-within .mega-trigger,
.nav-item.has-mega.is-open .mega-trigger {
  color: var(--cyan);
}

.nav-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.nav-chevron--active {
  display: none;
}

.nav-item.has-mega:hover .nav-chevron--default,
.nav-item.has-mega:focus-within .nav-chevron--default,
.nav-item.has-mega.is-open .nav-chevron--default {
  display: none;
}

.nav-item.has-mega:hover .nav-chevron--active,
.nav-item.has-mega:focus-within .nav-chevron--active,
.nav-item.has-mega.is-open .nav-chevron--active {
  display: block;
}

/* Full-width hover bridge between nav and mega panel */
.mega-bridge {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 20px;
  z-index: 35;
  display: none;
}

.nav-item.has-mega:hover .mega-bridge,
.nav-item.has-mega:focus-within .mega-bridge,
.nav-item.has-mega.is-open .mega-bridge {
  display: block;
}

/* Caret sits on the top edge of the mega panel, under Digital Solutions */
.nav-caret {
  position: absolute;
  top: 0;
  /*left: var(--caret-x, 220px);*/
  left:300px;
  width: 120px;
  height: 12px;
  /*pointer-events: none;*/
  opacity: 0;
  z-index: 40;
  transition: opacity 0.15s ease;
}

.nav-item.has-mega:hover .nav-caret,
.nav-item.has-mega:focus-within .nav-caret,
.nav-item.has-mega.is-open .nav-caret {
  opacity: 1;
}


.is-open .mega-menu{
opacity:1;
  visibility:visible;
}

/* ===== Mega menu shell (hover dropdown) ===== */
.mega-menu {
  /*position: absolute;
  left: calc(0% + -200px);
  right: 0;
  top: calc(100% + 8px);*/
  position:absolute;
left: calc(-7% + -200px);
  right: calc(-14% + -0px);
  top: calc(79% + 8px);
  z-index: 30;
  padding-top: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  opacity: 0;
  visibility: hidden;
  /*pointer-events: none;*/
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  padding: 10px 0 0 0;
}

.mega-menu__panel {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 0;
  align-items:stretch;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background:var(--surface);
  overflow: hidden;
    scrollbar-color: #062437 #00182b;
/*  min-height: 650px;*/
  max-height:auto;
  /*overflow-y:scroll;*/
  min-height:auto;
  box-shadow:0 24px 48px rgba(0, 0, 0, 0.45);
}

.service-panels {
  min-height: 100%;
  height: 100%;
}

.service-panel {
  display: none;
  grid-template-columns: 1fr 335px;
  align-items: stretch;
  min-height: 100%;
  height: 100%;
}

.service-panel.is-active {
  display: grid;
}

/*.nav-item.has-mega.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}*/

/* ===== Left sidebar ===== */
.services-sidebar {
  display: flex;
  flex-direction: column;
  padding: 28px 10px 28px 10px;
  border-right: 1px solid var(--border);
}

.sidebar-label {
  font-size: 16px;
  font-weight: 400;
  color: var(--cyan);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.service-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 0;
}

.service-link {
  display: grid;
  grid-template-columns: 40px 1fr 20px;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.service-link:hover {
  background: rgba(2, 30, 47, 0.6);
}

.service-link.is-active {
  background: var(--sidebar-active-bg);
  border-color: var(--sidebar-active-border);
}

.service-icon {
  width: 30px;
  height: 30px;
  overflow: hidden;
  flex-shrink: 0;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-text {
  font-size: 14px;
  line-height: 20px;
  color: var(--text);
}

.service-arrow {
  width: 20px;
  height: 20px;
  transform: rotate(-90deg);
  opacity: 0.85;
  position: absolute;
  right: 0;
}

.sidebar-footer {
  padding-top: 24px;
  border-top: 2px solid rgba(44, 46, 56, 0.9);
  width: 95%;
  margin: 32px auto 0;
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 16px;
  transition: opacity 0.2s ease;
}

.view-all:hover {
  opacity: 0.8;
}

.view-all img {
  width: 24px;
  height: 24px;
}

/* ===== Main content ===== */
.menu-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  padding: 15px 0 0;
  border-right: none;
  min-width: 0;
}

.content-header {
  flex-shrink: 0;
  margin-bottom: 15px;
  padding: 0 20px;
}

.content-header h1 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}

.content-header p {
  font-size: 14px;
  line-height: 24px;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0;
}

.columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  flex: 1;
  align-items: stretch;
  min-height: 0;
  padding-bottom: 0;
}

.column {
  padding: 0 14px 0;
  min-width: 0;
  height: 100%;
}

.column:first-child {
  padding-left: 20px;
}

.column:last-child {
  padding-right: 20px;
}

/* Dividers: start below title, stretch to bottom of menu */
.column + .column {
  border-left: 1px solid var(--border);
}

/* Stacked section groups inside a column (Cloud panel) */
.column-block + .column-block {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.column-heading {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 5px;
  min-height: 40px;
}

.column-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  overflow: hidden;
}

.column-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.column-heading h3 {
  font-size: 14px;
  font-weight: 400;
  color: var(--cyan);
  line-height: 23px;
}

.feature-list {
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:0;
  margin-bottom:20px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 22px;
  color: var(--text);
}

.feature-list li img {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  transform: rotate(-90deg);
}

.feature-list li:hover span {
  color: var(--cyan);
}

/* ===== CTA panel ===== */
.cta-panel {
  display: flex;
  flex-direction: column;
  /* Inset from the content|CTA divider so gray line + cyan card don't stack */
  margin: 20px 20px 24px 0;
  padding: 24px 24px 28px;
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius);
}

.cta-illustration {
  width: 100%;
  max-width: 211px;
  height: 176px;
  margin: 0 auto 20px;
  overflow: hidden;
}

.cta-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.cta-body {
  display: flex;
  flex-direction: column;
}

.cta-panel h2 {
  font-size: 18px;
  font-weight: 400;
  color: var(--cyan);
  line-height: 23px;
  margin-bottom: 10px;
  max-width: 230px;
}

.cta-panel p {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.cta-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: auto;
  padding-bottom: 36px;
  padding: 0;
}

.cta-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 22px;
}

.cta-benefits img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 275px;
  height: 45px;
  margin-top: 20px;
  border: 1px solid var(--border-cyan);
  border-radius: 80px;
  color: var(--cyan);
  font-size: 16px;
  transition: background 0.2s ease, color 0.2s ease;
}

.cta-button img {
  width: 24px;
  height: 24px;
}

.cta-button:hover {
  background: rgba(0, 229, 255, 0.1);
}


@media(min-width:1400px) and (max-width:1600px){
.mega-menu{width:1330px;left:-33%;}
.nav-caret{left:350px}
}


@media(min-width:1601px) and (max-width:1800px){
.mega-menu{width:1500px;left:-42%;}
.nav-caret{left:400px}
}

@media(min-width:1801px) and (max-width:2000px){
.mega-menu{width:1650px;left:-50%;}
.nav-caret{left:500px}
}

@media(min-width:2001px) and (max-width:2200px){
.mega-menu{width:1900px;left:-65%;}
.nav-caret{left:625px}
}

@media(min-width:2201px) and (max-width:2400px){
.mega-menu{width:1900px;left:-68%;}
.nav-caret{left:625px}
}

@media(min-width:2401px){
.mega-menu{width:1900px;left:-68%;}
.nav-caret{left:625px}
}

@media(min-width:992px) and (max-width:1280px){
.mega-menu{
  zoom:90%;
}
.nav-list {
    gap: 27px 18px;
  }
}

/* ===== Tablet ===== */
@media (max-width: 1099px) {
 /* .mega-menu__panel {
    grid-template-columns: 250px 1fr;
  }

  .service-panel.is-active {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    grid-column: 1 / -1;
    margin: 0 20px 24px;
    flex-direction: row;
    align-items: stretch;
    gap: 28px;
  }

  .cta-illustration {
    margin: 0;
    flex: 0 0 240px;
    align-self: center;
  }

  .cta-body {
    flex: 1;
  }

  .cta-panel h2 {
    max-width: none;
  }

  .cta-benefits {
    padding-bottom: 24px;
  }

  .columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 0;
  }

  .column:nth-child(3) {
    grid-column: 1 / -1;
    padding-left: 28px;
    padding-top: 32px;
    border-left: none;
    border-top: 1px solid var(--border);
    margin-top: 8px;
  }

  .content-header h1 {
    font-size: 26px;
  }

  .nav-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px 20px;
  }

  .nav-item a {
    font-size: 13px;
  }*/
}


@media(min-width:992px) and (max-width:1100px)
{
.nav-list{gap:28px 10px;padding-left:0}
.nav-item a{font-size:12px;gap:5px}
.nav-caret{left:200px}
body .page ul.nav-list li.nav-item.has-mega.is-open .mega-menu{width:850px;left:-200px}
.service-panel.is-active{display:flex;flex-direction:column}
.menu-content{height:auto;min-height:auto}
}

@media(max-width:991px){
  .nav-list{gap:28px 10px;padding-left:0}
  .nav-item a{font-size:12px;gap:5px}
  .logo img{width:110px;object-fit:contain;height:auto}

  body .page .nav-item.has-dropdown.is-open ul.dropdown-menu{display:block;}
  body .page .nav-item.has-dropdown ul.dropdown-menu{display:none;}
  body .service-panels{max-height:100%;}

  .mega-menu__panel{
    max-height:100%!important;
    height:100%;
    min-height:100%;
  }
}

/* ===== Compact tablet / large phone ===== */
@media (max-width: 991px) {
  .site-header {
    flex-direction: column;
    align-items: stretch;
    align-content: flex-start;
    gap: 12px;
    width: 100%;
    min-height: 0;
  }

  /* Keep logo + hamburger on a fixed top row that never shifts */
  .header-bar {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 56px;
    flex-shrink: 0;
  }

  .logo {
    flex-shrink: 0;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
    flex-shrink: 0;
  }

  .primary-nav {
    display: none;
    flex: none;
    width: 100%;
    max-width: 100%;
    background: #010d18;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
  }

  .primary-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 14px;
  }

  .nav-item {
    width: 100%;
  }

  .nav-item.has-mega {
    position: relative;
    width: 100%;
  }

  .mega-trigger-wrap {
    width: 100%;
  }

  .nav-item > a,
  .nav-item .mega-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
  }

  .nav-item .nav-chevron {
    margin-left: auto;
    flex-shrink: 0;
  }

  /* Company dropdown — stack under trigger on mobile */
  .nav-item.has-dropdown {
    position: relative;
    width: 100%;
  }

  .dropdown-trigger-wrap {
    width: 100%;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .nav-item.has-dropdown .dropdown-trigger {
    width: 100%;
  }

  .dropdown-menu > .dropdown-caret {
    display: none !important;
  }

  .dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
    padding: 6px 0 10px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    box-sizing: border-box;
    overflow: hidden;
    left: auto;
    background: rgba(1, 13, 24, 0.9);
    border: 1px solid var(--border);
    border-radius: 12px;
  }

  .nav-item.has-dropdown.is-open > .dropdown-menu {
    display: block;
    transform: none;
  }

  .dropdown-menu::before {
    display: none;
  }

  .dropdown-menu > li {
    width: 100%;
    min-width: 0;
  }

  .dropdown-menu .has-submenu {
    width: 100%;
    min-width: 0;
    margin-top: 2px;
    padding: 0 8px 6px;
    box-sizing: border-box;
  }

  .dropdown-menu .has-submenu > .submenu-trigger {
    border-radius: 8px;
    padding: 11px 10px;
  }

  .dropdown-menu .has-submenu.is-open > .submenu-trigger {
    color: var(--cyan);
  }

  .submenu {
    position: static;
    display: none;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    margin: 6px 0 4px;
    padding: 6px 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: 1px solid rgba(44, 46, 56, 0.9);
    border-radius: 10px;
    background: #02111d;
    box-sizing: border-box;
    overflow: hidden;
  }

  .submenu::before {
    display: none;
  }

  .dropdown-menu .has-submenu.is-open > .submenu {
    display: block;
  }

  .submenu-trigger .submenu-chevron {
    transform: none;
    margin-left: auto;
    transition: transform 0.18s ease;
  }

  .dropdown-menu .has-submenu.is-open .submenu-chevron {
    transform: rotate(180deg);
  }

  .dropdown-menu > li > a {
    padding: 11px 14px;
    white-space: normal;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    font-size: 14px;
  }

  .submenu > li > a {
    padding: 10px 14px;
    white-space: normal;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    font-size: 13px;
    color: var(--text-muted);
  }

  .submenu > li > a:hover,
  .submenu > li > a:active {
    color: var(--cyan);
  }

  .submenu > li:not(:last-child) > a {
    border-bottom: 1px solid rgba(44, 46, 56, 0.65);
  }

  .nav-caret,
  .dropdown-caret,
  .mega-bridge {
    display: none !important;
  }

  /*
   * Critical: on mobile mega is in normal flow.
   * visibility:hidden still reserves space — use display:none when closed.
   */
  .mega-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    margin-top: 12px;
    padding-top: 0;
    left: auto;
    right: auto;
    top: auto;
    box-shadow: none;
  }

  .nav-item.has-mega.is-open .mega-menu {
    display: block;
  }

  .mega-menu__panel {
    min-height: 0;
    height: auto;
    grid-template-columns: 1fr;
    box-shadow: none;
    border-width: 1px;
  }

  .service-panels,
  .service-panel.is-active {
    min-height: 0;
    height: auto;
  }

  .service-panel.is-active {
    grid-template-columns: 1fr;
  }

  .mega-trigger-wrap {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .mega-trigger-wrap .mega-trigger {
    width: 100%;
  }

  .services-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 20px 16px;
  }

  .service-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .service-link {
    height: 100%;
    align-items: flex-start;
    grid-template-columns: 36px 1fr;
  }

  .service-arrow {
    display: none;
  }

  .service-icon {
    width: 36px;
    height: 36px;
  }

  .menu-content {
    height: auto;
    min-height: 0;
    padding: 20px 16px 0;
  }

  .columns {
    flex: none;
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 24px;
    align-items: start;
  }

  .column {
    height: auto;
    padding: 0;
  }

  .column:first-child,
  .column:last-child {
    padding-left: 0;
    padding-right: 0;
  }

  .column + .column,
  .column:nth-child(3) {
    border-left: none;
    border-top: none;
    grid-column: auto;
    padding-top: 0;
    margin-top: 0;
    padding-left: 0;
  }

  .column-block + .column-block {
    margin-top: 24px;
    padding-top: 24px;
  }

  .cta-panel {
    grid-column: auto;
    margin: 0 16px 16px;
    flex-direction: column;
  }

  .cta-illustration {
    flex: none;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 16px;
  }

  .cta-benefits {
    padding-bottom: 16px;
  }

  .cta-button {
    margin: 8px auto 0;
    width: 100%;
    max-width: none;
  }

  /* Other top-level links sit cleanly below Digital Solutions */
  .nav-item:not(.has-mega) > a {
    padding: 4px 0;
  }
}

/* ===== Mobile ===== */
@media (max-width: 600px) {
  .page {
    padding: 8px 12px 28px;
  }

  .logo {
    width: 110px;
  }

  .logo img {
    width: 110px;
    height: 46px;
  }

  .mega-menu__panel,
  .primary-nav,
  .services-sidebar,
  .service-panels,
  .service-panel.is-active,
  .menu-content {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  /* Single column — prevents overlapping on narrow screens */
  .service-nav {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    gap: 10px;
  }

  .service-nav > li {
    width: 100%;
    min-width: 0;
  }

  .service-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    grid-template-columns: none;
  }

  .service-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .service-text {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    line-height: 18px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .service-text br {
    display: inline;
  }

  .content-header {
    padding: 0;
    margin-bottom: 24px;
  }

  .content-header h1 {
    font-size: 18px;
    overflow-wrap: anywhere;
  }

  .content-header p {
    font-size: 13px;
  }

  .column-heading {
    margin-bottom: 16px;
    min-height: 0;
  }

  .column-heading h3 {
    font-size: 12px;
    line-height: 18px;
  }

  .feature-list li {
    font-size: 13px;
  }

  .cta-panel {
    margin: 0 8px 16px;
    padding: 16px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .cta-panel h2 {
    font-size: 16px;
    max-width: none;
  }

  .sidebar-footer {
    margin-top: 16px;
    padding-top: 16px;
  }
}

/* Desktop-only hover open (prevents sticky hover bugs on touch) */
@media (hover: hover) and (min-width: 901px) {
  .nav-item.has-mega:hover .mega-menu,
  .nav-item.has-mega:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-item.has-dropdown:hover > .dropdown-menu,
  .nav-item.has-dropdown:focus-within > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  .dropdown-menu .has-submenu:hover > .submenu,
  .dropdown-menu .has-submenu:focus-within > .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }
}





.nav-item.has-dropdown > .dropdown-trigger-wrap > .dropdown-trigger.extended-trigger{width:100%;}
.nav-item.has-dropdown {
  display: block;
}
.nav-item.has-dropdown{position:relative}
.nav-item.has-dropdown:hover ul.dropdown-menu {
  opacity: 1;
  display: block;
  visibility: visible;
  left: 50px;
  top: 45px;
}
.nav-item .mega-menu a, .nav-item .mega-trigger-wrap a {
    white-space: normal;
    font-size: 13px;
}
