/* ================================================================
   VerixIT — Mega menu + card dropdowns (desktop) / grouped offcanvas
   Loaded from header.php. Brand: navy #052c62, orange #F26F20
================================================================ */
:root {
  --vx-navy: #052c62;
  --vx-navy-700: #0b3a7a;
  --vx-orange: #F26F20;
  --vx-orange-soft: #F26F2014;
  --vx-ink: #0f1b33;
  --vx-body: #4a5878;
  --vx-line: #e6eaf2;
  --vx-shadow: 0 24px 60px -18px rgba(5, 44, 98, .35), 0 2px 6px rgba(5, 44, 98, .06);
  --vx-ease: cubic-bezier(.2, .7, .2, 1);
}

/* Container is the anchor for the full-width mega panel */
.full-width-header .rs-header .menu-area .vx-nav-container { position: relative; }

/* Top-level links: slightly tighter so the chevrons fit on one line */
.full-width-header .rs-header .menu-area .rs-menu-area .main-menu ul.vx-nav { white-space: nowrap; }
.full-width-header .rs-header .menu-area .rs-menu-area .main-menu ul.vx-nav > li { margin: 0 2px; }
.full-width-header .rs-header .menu-area .rs-menu-area .main-menu ul.vx-nav > li > a { padding: 10px 14px; }
@media (min-width: 992px) and (max-width: 1199px) {
  .full-width-header .rs-header .menu-area .rs-menu-area .main-menu ul.vx-nav > li { margin: 0; }
  .full-width-header .rs-header .menu-area .rs-menu-area .main-menu ul.vx-nav > li > a { padding: 10px 8px; }
}
.full-width-header .rs-header .menu-area .rs-menu-area .main-menu ul.vx-nav > li > a.vx-trigger {
  align-items: center;
  gap: 2px;
}
.vx-drop, .vx-mega { white-space: normal; }
.vx-nav .vx-trigger .ri-arrow-down-s-line {
  font-size: 18px;
  line-height: 1;
  transition: transform .25s var(--vx-ease);
}
.vx-nav > li:hover > .vx-trigger .ri-arrow-down-s-line,
.vx-nav > li:focus-within > .vx-trigger .ri-arrow-down-s-line { transform: rotate(180deg); }

/* Highlight the parent when you're on one of its pages */
.full-width-header .rs-header .menu-area .rs-menu-area .main-menu ul.vx-nav > li.vx-current > a,
.full-width-header .rs-header .menu-area .rs-menu-area .main-menu ul.vx-nav > li > a.active {
  color: var(--vx-orange);
}

/* ---------------------------------------------------------------
   Shared panel look
---------------------------------------------------------------- */
.vx-drop,
.vx-mega {
  position: absolute;
  top: 100%;
  z-index: 999;
  background: #fff;
  border: 1px solid var(--vx-line);
  border-top: 3px solid var(--vx-orange);
  border-radius: 0 0 16px 16px;
  box-shadow: var(--vx-shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s var(--vx-ease), transform .22s var(--vx-ease), visibility .22s;
  text-align: left;
}
.vx-drop ul,
.vx-mega ul { list-style: none; margin: 0; padding: 0; }

/* ---------------------------------------------------------------
   Card dropdown (Solutions / IT Services / Products)
---------------------------------------------------------------- */
.vx-has-drop { position: relative; }
.vx-drop {
  left: 50%;
  width: 360px;
  padding: 10px;
  transform: translate(-50%, 12px);
}
.vx-drop-right .vx-drop { left: auto; right: -40px; transform: translate(0, 12px); }

.vx-has-drop:hover > .vx-drop,
.vx-has-drop:focus-within > .vx-drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.vx-drop-right:hover > .vx-drop,
.vx-drop-right:focus-within > .vx-drop { transform: translate(0, 0); }

.vx-drop li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--vx-ink);
  transition: background .2s, color .2s;
}
.vx-drop .vx-ico {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #eef3fb;
  color: var(--vx-navy);
  font-size: 20px;
  transition: background .2s, color .2s;
}
.vx-drop .vx-txt { display: flex; flex-direction: column; line-height: 1.3; }
.vx-drop .vx-txt strong { font-size: 15px; font-weight: 700; color: var(--vx-ink); }
.vx-drop .vx-txt small { font-size: 13px; color: var(--vx-body); font-weight: 500; margin-top: 2px; }

.vx-drop li a:hover,
.vx-drop li a:focus-visible,
.vx-drop li a.active { background: var(--vx-orange-soft); }
.vx-drop li a:hover .vx-ico,
.vx-drop li a.active .vx-ico { background: var(--vx-orange); color: #fff; }
.vx-drop li a:hover strong,
.vx-drop li a.active strong { color: var(--vx-orange); }

/* ---------------------------------------------------------------
   Mega panel (AI Solutions) — spans the header container
---------------------------------------------------------------- */
.full-width-header .rs-header .menu-area .rs-menu-area .main-menu ul.vx-nav > li.vx-has-mega { position: static; }
.vx-mega {
  left: 50%;
  width: min(1180px, calc(100vw - 32px));
  padding: 30px 32px;
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 32px;
  transform: translate(-50%, 12px);
}
.vx-has-mega:hover > .vx-mega,
.vx-has-mega:focus-within > .vx-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.vx-mega-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.vx-mega h5 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--vx-line);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--vx-navy);
}
.vx-mega h5 i {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--vx-orange-soft);
  color: var(--vx-orange);
  font-size: 17px;
}
.vx-mega-col li a {
  display: block;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--vx-body);
  transition: color .2s, transform .2s var(--vx-ease);
}
.vx-mega-col li a:hover,
.vx-mega-col li a:focus-visible,
.vx-mega-col li a.active { color: var(--vx-orange); transform: translateX(4px); }

.vx-mega-promo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  min-height: 250px;
  padding: 24px;
  border-radius: 14px;
  overflow: hidden;
  color: #c9d6ee;
  font-size: 14px;
  line-height: 1.5;
  background:
    radial-gradient(circle at 85% 10%, rgba(242, 111, 32, .45), transparent 45%),
    linear-gradient(150deg, var(--vx-navy-700), var(--vx-navy) 60%, #021a3d);
}
.vx-mega-promo .vx-tag {
  position: absolute;
  top: 20px;
  left: 24px;
  background: var(--vx-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}
.vx-mega-promo strong { color: #fff; font-size: 22px; font-weight: 800; }
.vx-mega-promo em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-style: normal;
  font-weight: 700;
  color: #ffa76e;
  transition: gap .2s;
}
.vx-mega-promo:hover { color: #dfe7f6; }
.vx-mega-promo:hover em { gap: 10px; color: #fff; }

/* Narrow desktops (992–1199px): drop the promo card, keep 3 columns */
@media (max-width: 1199px) {
  .vx-mega { grid-template-columns: 1fr; padding: 24px; }
  .vx-mega-promo { display: none; }
  .vx-mega-col li a { font-size: 14px; }
  .vx-drop { width: 330px; }
}

/* ---------------------------------------------------------------
   Offcanvas (mobile) — group labels inside the AI accordion
---------------------------------------------------------------- */
.offcanvas-menu .offcanvas-menu-inner ul.nav-menu li.has-clid > ul.sub-menu > li.vx-oc-label {
  padding: 14px 0 4px;
  border: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--vx-orange);
}
.offcanvas-menu .offcanvas-menu-inner ul.nav-menu li.has-clid > ul.sub-menu > li.vx-oc-label:first-child { padding-top: 4px; }
