/* ===== Design tokens ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@font-face{
  font-family:ProximaNova-Regular;src:url('ProximaNova-Regular.eot');
  src:url('ProximaNova-Regular.eot?#iefix') format('embedded-opentype'),
  font-weight:400;font-style:normal;font-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", "ProximaNova-Regular", "Segoe UI", sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1440px;
}


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


.inner-header, .outer-header{display:none}

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

ul.dropdown-menu li a{justify-content:start;color:#ffffff}
ul.dropdown-menu li a span::before{content:" ";width:25px;height:25px;display:inline-block;vertical-align:middle;margin:0}
ul.dropdown-menu li a span::before{background-image:url(https://d3vz6b3xpcmmd3.cloudfront.net/public/images/home-icons.webp)}
ul.dropdown-menu li a span.icon2::before{background-image: url(https://bsetec.com/dev/latest_bsetec/public/images/head-icons.png)}
ul.dropdown-menu li a span.about_us_icon::before{background-position:-146px -669px;background-size:1000px}
ul.dropdown-menu li a:hover span.about_us_icon::before{background-position:-176px -669px}
ul.dropdown-menu li a span.whyus_icon::before { background-position:465px -663px}
ul.dropdown-menu li a:hover span.whyus_icon::before { background-position:436px -663px}
ul.dropdown-menu li a span.process_icon::before{background-position:-886px -678px;background-size:1070px;height:27px}
ul.dropdown-menu li a:hover span.process_icon::before{background-position:-919px -678px}
ul.dropdown-menu li a span.testimonial_icon::before{background-position:368px -609px;height:24px;background-size:1920px}
ul.dropdown-menu li a:hover span.testimonial_icon::before{background-position:341px -609px}
ul.dropdown-menu li a span.blog_icon::before{background-position:-915px -621px;background-size:1000px}
ul.dropdown-menu li a:hover span.blog_icon::before{background-position:-944px -621px}
ul.dropdown-menu li a span.portfolio_icon::before{background-position:-738px -634px;background-size:1000px}
ul.dropdown-menu li a:hover span.portfolio_icon::before{background-position:-767px -634px}
ul.dropdown-menu li a span.careers_icon::before{background-position:-235px -661px;background-size:1000px}
ul.dropdown-menu li a:hover span.careers_icon::before{background-position:-264px -661px}
ul.dropdown-menu li a span.bricksteel_enterprises_icon::before{background-position:-213px -475px;background-size:760px}
ul.dropdown-menu li a span.nirmal_developers_icon::before{background-position:-457px -506px;background-size:790px;width:13px}
ul.dropdown-menu li a span.bsepic_icon::before{background-position:-343px -443px;background-size:700px;width:23px}
ul.dropdown_menu li a span.bsetxt_icon::before{background-position:-259px -424px;background-size:680px}
ul.dropdown_menu li a:hover span.bsetxt_icon::before{background-position:-283px -424px}

body .page ul.nav-list li.nav-item.has-mega.is-open .mega-menu{display:block}
.header-bar{display:none}

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%}
.mega-menu__panel * {
    font-family: 'ProximaNova-Regular' !important;
    color:#ffffff
}

.site-header:hover{z-index:999999;position:relative}
.site-header{display:flex;align-items:center;justify-content:center;gap:40px;min-height:64px;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-family:'ProximaNova-Regular' !important;
  font-weight:400;
  color:var(--surface);
  white-space:nowrap;
  transition:color 0.2s ease;
  width:100%;
  position:relative
}
.nav-item:hover > a,.nav-item > a:hover{color:var(--cyan)}
/*.nav-item a:hover{color:var(--surface)}*/
.nav-item .sidebar-footer a{color:var(--cyan)}
.nav-item a.cta-button{gap:10px;font-size:14px;color:#ffffff}
.nav-item a.cta-button:hover{color:var(--cyan)}
.loadinsame img{top:7px;position:relative}
/* ===== Company dropdown (same gap/caret as Digital Solutions) ===== */
.nav-item.has-dropdown{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;
  filter:invert(1);

}

.nav-chevron:hover,.nav-item.has-mega:hover .mega-trigger img{
  filter:invert(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(max-width:1399px){*/
.mega-menu{width:1100px;left:-10%;}
.nav-caret{left:280px}  
/*}*/
/*
@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}
}


/* ===== Compact tablet / large phone ===== */
@media(max-width: 991px) {
  .logo_list{display:none}
  .nav-item.has-mega:hover .mega-trigger, .nav-item.has-mega:focus-within .mega-trigger, .nav-item.has-mega.is-open .mega-trigger{color:#ffffff}
  .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%}
  .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;
    color:#ffffff;
  }

  .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;
    width:100%;
  }

  .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;
}

