/* GleSYS Mega Menu Public Styles */

/* Reset and base styles */
:root {
  /* Color variables */
  --glesys-indigo-900: #0d111f;
  --glesys-indigo-700: #001352;
  --glesys-white: #ffffff;
  --glesys-black: #000000;
  --glesys-grey-600: #666666;
  --glesys-grey-500: #7f7f7f;
  --glesys-grey-300: #b3b3b3;
  --glesys-grey-200: #e5e5e5;
  --glesys-grey-100: #f2f2f2;
  --glesys-grey-50: #f9f9f9;
  --glesys-orange: #b74406;
  --glesys-orange-900: #ffdd88;
}

.text-style-navigation-one {
  color: var(--glesys-orange);
  font-family: Aeonik !important;
  font-size: 16px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: 120% !important;
}

.glesys-mega-menu * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Annoucement bar */
.glesys-mega-menu .notice-banner,
.glesys-mega-menu-mobile .notice-banner {
  border-radius: 8px;
  background: var(--glesys-orange-900);
  display: flex;
  padding: 10px 16px;
  justify-content: space-between;
  align-items: flex-start;
  transform: translate3d(0, -50%, 0) !important;
  opacity: 0;
  gap: 12px;
  margin-top: 24px;
  width: 100%;
}

.glesys-mega-menu .notice-banner {
  margin-left: 40px;
  margin-right: 40px;
}

.glesys-mega-menu .notice-banner-parent,
.glesys-mega-menu-mobile .notice-banner-parent {
  display: flex;
  justify-content: center;
  max-width: 1680px;
  margin: 0 auto;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: -1;
}

.glesys-mega-menu-mobile .notice-banner {
  padding: 16px !important;
  max-width: unset;
  margin-left: 16px;
  margin-right: 16px;
}

.glesys-mega-menu-mobile .notice-text {
  align-items: center;
}

.glesys-mega-menu-mobile .notice-banner {
  z-index: -1;
}

.glesys-mega-menu-mobile .text-style-navigation-one {
  font-size: 12px !important;
  line-height: 120% !important;
}

.glesys-mega-menu .notice-banner.active,
.glesys-mega-menu-mobile .notice-banner.active {
  transform: translate3d(0, 0, 0) !important;
  opacity: 1 !important;
  transition: transform 0.25s ease-out, opacity 0.4s ease-out;
}

.glesys-mega-menu .notice-text,
.glesys-mega-menu-mobile .notice-text {
  max-width: 73ch;
}

.glesys-mega-menu .notice-banner.notice-banner-hidden,
.glesys-mega-menu-mobile .notice-banner.notice-banner-hidden {
  transform: translate3d(0, -100%, 0);
  opacity: 0;
  transition: transform 0.25s ease-out, opacity 0.4s ease-out;
}

.glesys-mega-menu .notice-banner.notice-banner-hidden.banner-hidden,
.glesys-mega-menu-mobile .notice-banner.notice-banner-hidden.banner-hidden {
  pointer-events: none;
}

.glesys-mega-menu .notice-container,
.glesys-mega-menu-mobile .notice-container {
  display: flex;
  justify-content: start;
  align-items: flex-start;
  gap: 8px;
}

.glesys-mega-menu .notice-close,
.glesys-mega-menu-mobile .notice-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glesys-mega-menu .notice-link,
.glesys-mega-menu-mobile .notice-link {
  display: flex;
  align-items: center;
  gap: 4px;
}

.glesys-mega-menu .material-symbols-outlined.notice,
.glesys-mega-menu-mobile .material-symbols-outlined.notice {
  color: var(--glesys-orange) !important;
  width: 24px;
  height: 24px;
}

.glesys-mega-menu .notice.arrow,
.glesys-mega-menu-mobile .notice.arrow {
  display: inline-flex;
  justify-content: flex-start;
  align-items: stretch;
  vertical-align: middle;
  transition: transform 0.2s ease;
  font-size: 20px !important;
}

.glesys-mega-menu .notice-link:hover .notice.arrow,
.glesys-mega-menu-mobile .notice-link:hover .notice.arrow {
  transform: translateX(3px);
}

.glesys-mega-menu .notice-banner-parent.notice-banner-hidden {
  pointer-events: none !important;
  user-select: none !important;
}
.glesys-mega-menu-mobile .notice-banner-parent.notice-banner-hidden {
  pointer-events: none !important;
  user-select: none !important;
}
/* Top Navigation Bar with scroll animations */
.glesys-mega-menu.topnav {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: transform 0.25s ease;
  /* Default value that will be overridden by JavaScript */
  --banner-height: -50px;
}

.mobile-topnav .banner-text,
.mobile-topnav .banner-text a {
  color: var(--glesys-white);
  font-family: Aeonik;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  width: 100%;
  gap: 4px;
}

/* Mobile banner link styling */
.glesys-mega-menu-mobile .banner-link {
  color: var(--glesys-white);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

/* Mobile banner link arrow container */
.glesys-mega-menu-mobile .banner-link .banner-arrows-container {
  position: relative;
  width: 16px;
  height: 16px;
  overflow: hidden;
  display: inline-flex;
}

/* Base mobile banner arrow styling */
.glesys-mega-menu-mobile .banner-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  position: absolute;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 1;
  font-size: 14px !important;
  color: var(--glesys-white);
}

/* INITIAL STATE - Arrow 1 visible, Arrow 2 hidden */
.glesys-mega-menu-mobile .banner-arrow-1 {
  transform: translateX(0);
}

.glesys-mega-menu-mobile .banner-arrow-2 {
  transform: translateX(-16px);
}

/* ANIMATED STATE - Arrow 1 slides out, Arrow 2 slides in */
.glesys-mega-menu-mobile .banner-arrow-1.animate {
  transform: translateX(16px);
  opacity: 0;
  transition-property: transform, opacity;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  transition-duration: 0.7s;
}

.glesys-mega-menu-mobile .banner-arrow-2.animate {
  transform: translateX(0);
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-duration: 0.7s;
}

/* No transition class for instant reset */
.glesys-mega-menu-mobile .banner-arrow.no-transition {
  transition: none !important;
}

.glesys-mega-menu-mobile .campaign-arrow {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  vertical-align: middle;
  transition: transform 0.2s ease;
  font-size: 16px !important;
}

.glesys-mega-menu-mobile .notice-link:hover .campaign-arrow {
  transform: translateX(3px);
}

.glesys-mega-menu-mobile {
  --mobile-banner-height: 40px; /* Default, will be overridden by JavaScript */
  transform: translateY(0); /* Initial position */
  transition: transform 0.25s ease;
}

.glesys-mega-menu-mobile .topnav-banner {
  display: flex;
  height: var(--mobile-banner-height);
  padding: 0px 16px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  align-self: stretch;
  background: linear-gradient(
      0deg,
      var(--glesys-indigo-900) 0%,
      var(--glesys-indigo-900) 100%
    ),
    #fff;
  overflow: hidden;
}

/* Mobile nav header */
.glesys-mega-menu-mobile .mobile-nav-header {
  position: relative;
  z-index: 1001;
  transition: background-color 0.3s ease;
}

/* Mobile nav inverted colors when at top of page */
.glesys-mega-menu-mobile:not(.scrolled):not(.menu-open) .mobile-nav-header {
  background-color: transparent;
}

.glesys-mega-menu-mobile:not(.scrolled):not(.menu-open)
  .mobile-nav-header
  .logo
  svg {
  filter: brightness(0) invert(1); /* Makes the logo white */
}

.glesys-mega-menu-mobile:not(.scrolled):not(.menu-open) .menu-icon path {
  fill: var(--glesys-white);
}

/* Switch back to regular colors when scrolled or menu open */
.glesys-mega-menu-mobile.scrolled .mobile-nav-header,
.glesys-mega-menu-mobile.menu-open .mobile-nav-header {
  background-color: var(--glesys-white);
}

.glesys-mega-menu-mobile.scrolled .mobile-nav-header .logo svg,
.glesys-mega-menu-mobile.menu-open .mobile-nav-header .logo svg {
  filter: none;
}

.glesys-mega-menu-mobile.scrolled .hamburger-icon span,
.glesys-mega-menu-mobile.menu-open .hamburger-icon span {
  background-color: var(--glesys-black);
}

/* Move the mobile-nav-header up when banner is hidden */
.glesys-mega-menu-mobile.banner-hidden {
  transform: translateY(calc(-1 * var(--mobile-banner-height)));
}

/* Disable transition only during menu operations */
.glesys-mega-menu-mobile.menu-transition-disabled {
  transition: none !important;
}

.glesys-mega-menu-mobile.banner-hidden.menu-open {
  transform: translateY(0) !important;
}

.glesys-mega-menu-mobile.menu-open .topnav-banner {
  display: none !important;
}
/* Container style for all sections */
.glesys-mega-menu .container {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Main Navigation Parent */
.glesys-mega-menu .main-nav-parent {
  position: relative;
  transition: margin-top 0.25s ease-in-out, background-color 0.3s ease;
}

/* === DEFAULT INVERTED STATE (initial load) === */
/* Main navigation styling */
.glesys-mega-menu .main-nav {
  background-color: transparent !important;
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 22px 40px;
  transition: background-color 0s ease;
}

/* Navigation links - white by default in inverted state */
.glesys-mega-menu .nav-links a {
  color: var(--glesys-white);
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  transition: color 0.3s ease;
  text-decoration: none;
  position: relative;
}

/* Logo styling - white by default in inverted state */
.glesys-mega-menu .logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--glesys-white);
  font-weight: bold;
  font-size: 20px;
  transition: color 0.3s ease;
}

.glesys-mega-menu .logo img,
.glesys-mega-menu .logo svg {
  width: 170px;
  height: 37.65px;
  aspect-ratio: 170/37.65;
  filter: brightness(0) invert(1); /* Makes the logo white */
  transition: filter 0.3s ease;
}

/* Default buttons styles in inverted state */
.glesys-mega-menu .btn-outline {
  display: inline-flex;
  padding: 12px 20px;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  background: transparent;
  color: var(--glesys-white);
  font-size: 16px;
  font-weight: 500;
  line-height: 120%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.glesys-mega-menu .btn-primary {
  display: inline-flex;
  padding: 12px 20px;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  background: transparent;
  color: var(--glesys-white);
  border: 1px solid var(--glesys-white);
  font-size: 16px;
  font-weight: 500;
  line-height: 120%;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Top banner container */
.glesys-mega-menu .topnav-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 40px;
}

.glesys-mega-menu .topnav-banner p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  display: flex;
  align-items: center;
}

/* Old banner arrow styles removed - now using dual arrow animation */

/* Secondary links */
.glesys-mega-menu .secondary-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.glesys-mega-menu .secondary-links a {
  color: var(--glesys-white);
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.2s ease;
}

.glesys-mega-menu .secondary-links a:hover {
  opacity: 0.8;
}

/* Language selector */
.glesys-mega-menu .language-selector {
  display: flex;
  align-items: center;
  gap: 16px;
}

.glesys-mega-menu .language-selector span {
  display: none; /* Hide the pipe separator since we're using gap now */
}

.glesys-mega-menu .language-selector a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.glesys-mega-menu .language-selector a.active {
  color: var(--glesys-white);
  font-weight: 500;
}

/* Navigation links */
.glesys-mega-menu .nav-links a {
  color: var(--glesys-white);
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  transition: color 0.3s ease;
  text-decoration: none;
  position: relative;
}

.glesys-mega-menu .nav-links a:hover {
  color: var(--glesys-black);
}

.glesys-mega-menu .nav-links a.nav-faded {
  color: var(--glesys-grey-500) !important;
}

.glesys-mega-menu .nav-links a.active {
  color: var(--glesys-white);
}

.glesys-mega-menu .nav-links a.direct-link {
  text-decoration: none;
  color: var(--glesys-white);
  transition: color 0.2s;
}

.glesys-mega-menu .nav-links a.direct-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Inverted Hover Effect - On hover, return to original colors ONLY when in inverted state */
.glesys-mega-menu:not(.scrolled) .main-nav-parent:hover {
  background-color: var(--glesys-white);
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1);
}

.glesys-mega-menu:not(.scrolled) .main-nav-parent:hover .main-nav {
  background-color: var(--glesys-white);
}

.glesys-mega-menu:not(.scrolled) .main-nav-parent:hover a,
.glesys-mega-menu:not(.scrolled) .main-nav-parent:hover .nav-links a {
  color: var(--glesys-black);
}

.glesys-mega-menu:not(.scrolled) .main-nav-parent:hover .logo svg {
  filter: none;
}

.glesys-mega-menu:not(.scrolled) .main-nav-parent:hover .btn-outline {
  border-color: var(--glesys-indigo-900);
  color: var(--glesys-indigo-900);
}

.glesys-mega-menu:not(.scrolled) .main-nav-parent:hover .btn-primary {
  display: flex;
  padding: 12px 20px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 4px;
  background-color: var(--glesys-white);
  color: var(--glesys-indigo-900);
  font-family: Aeonik;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  border: none;
}

.glesys-mega-menu .main-nav-parent:hover .btn-outline:hover {
  background-color: var(--glesys-indigo-900) !important;
  color: var(--glesys-white) !important;
}

.glesys-mega-menu .main-nav-parent:hover .btn-primary:hover {
  background-color: var(--glesys-indigo-700) !important;
  color: var(--glesys-white) !important;
}

.glesys-mega-menu .mega-open .btn-primary {
  background-color: var(--glesys-indigo-900) !important;
  color: var(--glesys-white) !important;
}

.glesys-mega-menu:not(.scrolled) .main-nav-parent:hover .nav-links a {
  color: var(--glesys-black);
}

.glesys-mega-menu:not(.scrolled) .main-nav-parent:hover .nav-links a:hover {
  color: var(--glesys-black);
}

/* First stage: Banner hidden, main nav visible */
.glesys-mega-menu.topnav.banner-hidden .topnav-banner {
  transform: translateY(calc(var(--banner-height)));
  visibility: hidden; /* Hide it completely */
}

/* When banner is hidden, pull the main-nav up to take its place */
.glesys-mega-menu.topnav.banner-hidden .main-nav-parent {
  margin-top: var(--banner-height);
  transition: margin-top 0.25s ease-in-out;
}

/* Second stage: All nav hidden */
.glesys-mega-menu.topnav.main-nav-hidden {
  transform: translateY(-100%);
}

.glesys-mega-menu .topnav-banner {
  background: linear-gradient(
      0deg,
      var(--glesys-indigo-900) 0%,
      var(--glesys-indigo-900) 100%
    ),
    var(--glesys-white);
  color: var(--glesys-white);
  padding: 11px 0;
  transition: transform 0.25s ease-in-out, visibility 0.25s ease-in-out;
}

.glesys-mega-menu .svg-container {
  position: relative;
  width: 2px;
  height: 20px;
}

.glesys-mega-menu .svg-container svg {
  position: absolute;
  top: -5px;
  left: 0;
  width: 100%;
}

.glesys-mega-menu .nav-links {
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.glesys-mega-menu .nav-divider {
  align-self: stretch;
  margin: 0 20px;
  display: flex;
  align-items: center;
}

.glesys-mega-menu .nav-divider svg path {
  stroke: var(--glesys-white); /* Make divider white */
}
.glesys-mega-menu.scrolled .nav-divider svg path {
  stroke: var(--glesys-grey-300);
}

.glesys-mega-menu .nav-links a {
  color: var(--glesys-white);
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  transition: color 0.3s ease;
  text-decoration: none;
  position: relative;
}

.glesys-mega-menu .nav-links a.active {
  color: var(--glesys-white);
}

.glesys-mega-menu .nav-links a.direct-link {
  text-decoration: none;
  color: var(--glesys-white);
  transition: color 0.2s;
}

.glesys-mega-menu .nav-links a.direct-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

.glesys-mega-menu .nav-buttons {
  display: flex;
  gap: 20px;
}

.glesys-mega-menu .btn {
  display: flex;
  padding: 12px 20px;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  text-decoration: none;
  height: 35px;
}

.glesys-mega-menu .btn p {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Aeonik;
  font-size: 16px;
  font-weight: 500;
  line-height: 120%;
  height: 10px;
  text-decoration: none;
}

.glesys-mega-menu .btn-outline {
  border-radius: 4px;
  border: 1px solid var(--glesys-white);
  color: var(--glesys-white);
  background-color: transparent;
}

.glesys-mega-menu .btn-outline:hover {
  background-color: var(--glesys-white);
  color: var(--glesys-black);
}

.glesys-mega-menu .btn-primary {
  border-radius: 4px;
  border: 1px solid var(--glesys-white);
  background: transparent;
  color: var(--glesys-white);
  background-color: var(--glesys-white);
  color: var(--glesys-indigo-900);
}

.glesys-mega-menu .btn-primary:hover {
  background-color: var(--glesys-white);
  color: var(--glesys-black);
}

/* Mega menu dropdown containers */
.glesys-mega-menu .mega-menu-container {
  background-color: var(--glesys-white);
  width: 100%;
  padding-top: 40px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 999;
  opacity: 0;
  transform: translateY(-20px);
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0.3s;
  visibility: hidden;
}

/* Active/open mega menu state */
.glesys-mega-menu .mega-menu-container.open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0s;
}

/* Menu grid layout */
.glesys-mega-menu .menu-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-gap: 20px;
  max-width: 1680px;
  width: 100%;
  margin: 0 auto;
  padding: 0px 40px 80px;
}

@media screen and (min-width: 934px) {
  .max-height-adjustment {
    /* Scrollbar width for mask calc */
    --scrollbar-width: 8px;

    /* Fade distance (mask height) */
    --mask-height: 80px;

    /* Height limit + scroll */
    max-height: 60dvh;
    overflow-y: auto;

    /* --- MASK SETUP --- */

    /* Bottom-only fade */
    --mask-image-content: linear-gradient(
      to bottom,
      black calc(100% - var(--mask-height)),
      transparent 100%
    );

    /* Content area covers container minus scrollbar */
    --mask-size-content: calc(100% - var(--scrollbar-width)) 100%;

    /* Scrollbar mask (solid black so scrollbar shows fully) */
    --mask-image-scrollbar: linear-gradient(black, black);
    --mask-size-scrollbar: var(--scrollbar-width) 100%;

    /* Apply masks (standard + webkit) */
    mask-image: var(--mask-image-content), var(--mask-image-scrollbar);
    -webkit-mask-image: var(--mask-image-content), var(--mask-image-scrollbar);

    mask-size: var(--mask-size-content), var(--mask-size-scrollbar);
    -webkit-mask-size: var(--mask-size-content), var(--mask-size-scrollbar);

    mask-position: 0 0, 100% 0;
    -webkit-mask-position: 0 0, 100% 0;

    mask-repeat: no-repeat, no-repeat;
    -webkit-mask-repeat: no-repeat, no-repeat;
  }
}

/* Menu column styles */
.glesys-mega-menu .menu-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

/* WordPress page items styling */
.glesys-mega-menu .wp-page-item {
  display: flex;
  flex-direction: column;
}

.glesys-mega-menu .wp-page-item .menu-heading {
  color: var(--glesys-indigo-700);
}

/* Sub-menus grid */
.glesys-mega-menu .sub-menus {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  row-gap: 48px;
  height: max-content;
}

.glesys-mega-menu .sub-menus.no-featured-items {
  grid-template-columns: repeat(4, 1fr);
  width: 100%; /* Ensure it takes full width */
}

.glesys-mega-menu .featured-column {
  width: 310px;
  grid-row: span 1;
  height: fit-content;
  border-radius: 8px;
  background: var(--glesys-grey-50);
  display: flex;
  width: 310px;
  padding: 40px 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* Menu headings */
.glesys-mega-menu .menu-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
}

.glesys-mega-menu .menu-heading h3 {
  color: var(--glesys-grey-600);
  font-size: 14px;
  font-weight: 400 !important;
  line-height: 130%;
}

/* Material Symbols icons styles */
.glesys-mega-menu .material-symbols-outlined {
  font-size: 24px;
  color: var(--glesys-indigo-700);
  display: flex;
  width: 24px;
  height: 24px;
  justify-content: center;
  align-items: center;
}

/* Menu list styles */
.glesys-mega-menu .menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
}

.glesys-mega-menu .menu-list li a {
  color: var(--glesys-black);
  font-family: Aeonik;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%; /* 20.8px */
}

.glesys-mega-menu .menu-list a {
  text-decoration: none;
  font-size: 14px;
  display: block;
  transition: color 0.2s;
}

/* Featured items */
.glesys-mega-menu .featured-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.glesys-mega-menu .featured-item {
  display: flex;
  padding-right: 48px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  position: relative;
  margin-bottom: 0px;
}

.glesys-mega-menu .featured-item-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.glesys-mega-menu .featured-item h4 {
  color: var(--glesys-black);
  font-family: Aeonik;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  margin-bottom: 0px;
}

.glesys-mega-menu .featured-item p {
  color: var(--glesys-grey-600);
  font-family: Aeonik;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}

.glesys-mega-menu .featured-link {
  font-size: 12px;
  color: #0066cc;
  text-decoration: none;
  margin-top: 5px;
  display: inline-block;
}

/* Fade effects for hover interactions */
.glesys-mega-menu .menu-list li.nav-faded a,
.glesys-mega-menu .featured-item.nav-faded .featured-item-content,
.glesys-mega-menu .featured-item.nav-faded h4,
.glesys-mega-menu .featured-item.nav-faded p {
  opacity: 0.5;
}

/* Hover effect for wp-page-items and featured items */
.glesys-mega-menu li.wp-page-item.inactive-item,
.glesys-mega-menu .featured-item.inactive-item,
.glesys-mega-menu .featured-item-content.inactive-item,
.glesys-mega-menu .inactive-item h4,
.glesys-mega-menu .inactive-item p,
.glesys-mega-menu .inactive-item a,
.glesys-mega-menu .inactive-item .menu-heading,
.glesys-mega-menu .inactive-item .sub-link {
  color: var(--glesys-grey-500) !important;
  transition: color 0.3s ease;
}

.glesys-mega-menu .nav-links a.nav-faded {
  color: rgba(0, 0, 0, 0.5);
  transition: color 0.3s ease;
}

/* Menu footer */
.glesys-mega-menu .menu-footer {
  border-top: 1px solid var(--glesys-grey-300);
  padding: 16px 30px;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glesys-mega-menu .see-all-link {
  color: var(--glesys-black);
  text-decoration: none;
  font-family: Aeonik;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%; /* 19.2px */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
}

/* Arrow container - houses both arrows in same space */
.glesys-mega-menu .see-all-link .arrows-container {
  position: relative;
  width: 20px;
  height: 20px;
  overflow: hidden;
}

/* Base arrow styling */
.glesys-mega-menu .see-all-link .arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: absolute;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 1;
  font-size: 16px;
  color: var(--glesys-black);
}

/* INITIAL STATE - Arrow 1 visible, Arrow 2 hidden */
.glesys-mega-menu .see-all-link .arrow-1 {
  transform: translateX(0);
}

.glesys-mega-menu .see-all-link .arrow-2 {
  transform: translateX(-20px);
}

/* ANIMATED STATE - Arrow 1 slides out, Arrow 2 slides in */
.glesys-mega-menu .see-all-link .arrow-1.animate {
  transform: translateX(20px);
  opacity: 0;
  transition-property: transform, opacity;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  transition-duration: 0.7s;
}

.glesys-mega-menu .see-all-link .arrow-2.animate {
  transform: translateX(0);
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-duration: 0.7s;
}

/* No transition class for instant reset */
.glesys-mega-menu .see-all-link .arrow.no-transition {
  transition: none !important;
}

/* No items message */
.glesys-mega-menu .no-items-message {
  color: #999;
  font-style: italic;
  font-size: 14px;
}

/* Backdrop overlay when mega menu is open */
.mega-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.8) 100%
  );
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  pointer-events: none; /* Allow clicks to pass through */
}

.mega-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Remove old overlay method */
#et-main-area.mega-menu-open::before {
  display: none;
}

/* Ensure the mega menu is above the overlay */
.glesys-mega-menu {
  position: relative;
  z-index: 2;
}

.mobile-topnav {
  display: none;
}

/* Responsive styles */
@media (max-width: 991px) {
  .glesys-mega-menu .sub-menus {
    grid-template-columns: repeat(2, 1fr);
  }

  .glesys-mega-menu .menu-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .glesys-mega-menu .featured-column {
    width: 100%;
  }
}

@media (max-width: 934px) {
  .mobile-topnav {
    display: block;
  }
  /* Mobile menu styles */
  .glesys-mega-menu-mobile {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    z-index: 1000;
  }

  .glesys-mega-menu-mobile.scrolled {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  /* Hide desktop menu on mobile */
  .glesys-mega-menu.topnav {
    display: none !important;
  }

  .glesys-mega-menu .topnav-banner .container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .glesys-mega-menu .secondary-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .glesys-mega-menu .main-nav {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .glesys-mega-menu .nav-links {
    flex-direction: column;
    gap: 15px;
  }

  .glesys-mega-menu .sub-menus {
    grid-template-columns: 1fr;
  }

  .glesys-mega-menu .menu-column {
    width: 100%;
  }
}

/* Mobile Menu Styles - Entirely separate from desktop */
/* Only visible on small screens */

/* Body class added when mobile menu is open */
body.mobile-menu-open {
  overflow: hidden;
}

:root {
  --wp-page-color: var(--glesys-indigo-700);
}

/* Mobile nav header with logo and hamburger */
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 16px;
}

.mobile-nav-header .logo {
  display: flex;
}

/* Logo sizing */
.glesys-mega-menu-mobile .logo svg {
  width: 103.998px;
  height: 23.038px;
  flex-shrink: 0;
}

/* Hamburger button */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--glesys-black);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Mobile dropdown menu (hidden by default) */
.mobile-menu-dropdown {
  display: none;
  top: 72px; /* Height of the header */
  left: 0;
  width: 100%;
  height: calc(100dvh - 72px); /* Full height minus header */
  background-color: var(--glesys-white);
  overflow-y: auto;
  z-index: 999;
  flex-direction: column;
  max-height: calc(100dvh - 72px);
}

/* Show dropdown when active */
.mobile-menu-dropdown.active {
  display: flex;
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 23px;
  padding-top: 0px;
}

/* Section of mobile nav (primary, secondary, utility) */
.mobile-nav-section {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Mobile secondary links */
.mobile-secondary-links {
  display: flex;
  flex-direction: column;
  margin-top: 40px;

  align-items: flex-start;
  gap: 24px;
}

.mobile-secondary-links .mobile-link {
  color: var(--glesys-black);
  font-family: Aeonik;
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
}

/* Mobile utility section */
.mobile-utility-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  justify-content: flex-end;
  padding-top: 50px;
}

/* Languages section */
.mobile-languages {
  display: flex;
  gap: 8px;
  align-items: center;
}

.mobile-languages .mobile-link {
  color: var(--Grey-600, #757575);
  font-family: Aeonik;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 19.2px */
}

.mobile-languages .mobile-link.active {
  color: var(--glesys-black);
}

.mobile-languages .language-separator {
  color: var(--glesys-grey-400);
  font-size: 14px;
}

/* Mobile action buttons */
.mobile-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0px;
}

.mobile-button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
}

.mobile-button.primary {
  background-color: var(--glesys-indigo-900);
  border-color: var(--glesys-indigo-900);
  color: var(--glesys-white);
}

.mobile-button.secondary {
  border: 1px solid var(--glesys-indigo-900);
  color: var(--glesys-indigo-900);
}

/* Mobile nav item */
.mobile-nav-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav-item .mobile-nav-link-container p {
  color: var(--Black, #000);
  font-size: 16px;
  font-style: normal;
  font-weight: 500 !important;
  line-height: 120%;
}

.mobile-nav-item .mobile-nav-link-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;

  padding-top: 20px;
  padding-bottom: 20px;
  height: 51px;
}

.mobile-nav-item .mobile-nav-separator {
  display: flex;
  width: 100%;
}

/* Mobile dropdown icon */
.mobile-nav-item a svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Mobile submenu (hidden by default) */
.mobile-submenu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  background-color: var(--glesys-white);
  z-index: 99999999 !important;
  flex-direction: column;
  transition: transform 0.3s ease;
  overflow-y: auto;
}

/* Active submenu */
.mobile-submenu.active {
  display: flex;
  transform: translateX(-100%);
}

/* Submenu header with back button */
.mobile-submenu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 16px;
  border-bottom: 1px solid #eee;
  background-color: var(--glesys-white);
  position: sticky;
  top: 0;
  z-index: 999;
  height: 72px;
}

/* Back button */
.mobile-back {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}

.mobile-submenu-header h3 {
  color: var(--glesys-grey-600);
  font-family: Aeonik;
  font-size: 14px;
  font-style: normal;
  font-weight: 400 !important;
  line-height: 120%; /* 16.8px */
  letter-spacing: 0.14px;
}

.mobile-back svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--Indigo-900);
}

/* Close button */
.mobile-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-close span {
  color: var(--glesys-indigo-900) !important;
}

/* Category section in submenu */
.mobile-category {
  display: flex;
  padding: 40px 24px 16px 24px;
  align-items: flex-start;
  gap: 0px;
  align-self: stretch;
  flex-direction: column;
}

.mobile-category h4 {
  font-size: 14px;
  font-weight: 400;
  color: var(--glesys-grey-600);
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-category h4 .material-symbols-outlined {
  font-size: 24px;
  color: var(--glesys-indigo-700);
  display: flex;
  width: 24px;
  height: 24px;
  justify-content: center;
  align-items: center;
}

.mobile-category.wp-page-item h4 {
  color: var(--glesys-grey-600);
  font-family: Aeonik;
  font-size: 14px;
  font-style: normal;
  font-weight: 400 !important;
  line-height: 120%; /* 16.8px */
  letter-spacing: 0.14px;
  display: flex;
  padding-bottom: 8px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
  margin-bottom: 0px;
}

.mobile-category-links {
  display: flex;
  flex-direction: column;

  align-items: flex-start;
}

.mobile-category-links .wp-page-item {
  padding-top: 10px;
  padding-bottom: 10px;

  color: var(--Indigo-900);

  font-family: Aeonik;
  font-size: 16px;
  font-style: normal;
  font-weight: 400 !important;
  line-height: 130%; /* 20.8px */
}

/* Regular mobile link */
.mobile-link {
  display: block;
  padding: 0;
  color: var(--glesys-black);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  border-bottom: none;
}

/* WP page items styling */
.mobile-link.wp-page-item {
  color: var(--Indigo-900) !important;

  font-family: Aeonik;
  font-size: 16px;
  font-style: normal;
  font-weight: 400 !important;
  line-height: 130%;
}

/* Inactive and hovering effects for mobile */
.mobile-link.wp-page-item:hover {
  color: var(--glesys-indigo-700);
}

.mobile-submenu-links .inactive-item {
  opacity: 0.5;
}

.mobile-submenu-links {
  padding-bottom: 40px;
}

/* Page links section */
.mobile-page-links {
  padding: 16px 16px 0 16px;
}

.mobile-page-links h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--glesys-grey-600);
  margin: 0 0 8px 0;
}

/* Grid for page links */
.mobile-page-links-grid {
  display: flex;
  flex-direction: column;
}

.mobile-secondary-links-parent {
  display: flex;

  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

/* Languages section */
.mobile-languages {
  display: flex;
}

.mobile-languages .mobile-link {
  padding: 0;
  border: none;
  font-size: 16px;
  color: var(--glesys-grey-600);
}

.mobile-languages .current-lang {
  font-weight: 700;
}

/* Mobile action buttons */
.mobile-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0px;
}

.mobile-button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;

  border: 1px solid;
}

/* Featured products section */
.mobile-featured-items {
  background: var(--glesys-grey-50);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.mobile-featured-title {
  color: var(--glesys-grey-600);
  font-family: Aeonik;
  font-size: 14px;
  font-weight: 400 !important;
  line-height: 130%;
  margin: 0;
}

.mobile-featured-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-featured-item a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  position: relative;
  padding: 0px !important;
}

.mobile-featured-item-content {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.mobile-featured-item h4 {
  color: var(--glesys-black);
  font-family: Aeonik;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
}

.mobile-featured-item p {
  color: var(--glesys-grey-600);
  font-family: Aeonik;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  margin: 0;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Handle icon visibility */
.mobile-menu-toggle .menu-icon {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.mobile-menu-toggle .close-icon {
  display: none;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* When menu is open, show close icon and hide menu icon */
.mobile-topnav.menu-open .mobile-menu-toggle .close-icon {
  display: block;
}

.mobile-topnav.menu-open .mobile-menu-toggle .menu-icon {
  display: none;
}

.glesys-mega-menu .topnav-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 40px;
}

/* Banner texts container */
.glesys-mega-menu .banner-texts {
  position: relative;
  height: 20px; /* Adjust as needed based on text size */
  display: flex;
  align-items: center;
  width: max-content;
}

/* Banner texts container */
.glesys-mega-menu-mobile .banner-texts {
  position: relative;
  height: 20px; /* Adjust as needed based on text size */
  display: flex;
  align-items: center;
  width: 100%;
}

.glesys-mega-menu .topnav-banner p.banner-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  display: flex;
  align-items: center;
  margin: 0;
  position: absolute;
  width: max-content;
}

.glesys-mega-menu .topnav-banner p.banner-text a {
  color: var(--glesys-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  width: 100%;
}
.glesys-mega-menu-mobile .topnav-banner p.banner-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  display: flex;
  align-items: center;
  margin: 0;
  position: absolute;
  width: 100%;
  padding: 0px !important;
}

.glesys-mega-menu-mobile.campaign-arrow {
  font-size: 16px;
}

.no-campaign-link {
  pointer-events: none;
}

.glesys-mega-menu-mobile .topnav-banner p.banner-text a {
  color: var(--glesys-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  width: 100%;
}

/* Desktop banner link styling */
.glesys-mega-menu .banner-link,
.glesys-mega-menu .banner-text-no-link {
  color: var(--glesys-white);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

/* Banner link arrow container */
.glesys-mega-menu .banner-link .banner-arrows-container,
.glesys-mega-menu .banner-text-no-link .banner-arrows-container {
  position: relative;
  width: 16px;
  height: 16px;
  overflow: hidden;
  display: inline-flex;
}

/* Base banner arrow styling */
.glesys-mega-menu .banner-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  position: absolute;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 1;
  font-size: 14px;
  color: var(--glesys-white);
}

/* INITIAL STATE - Arrow 1 visible, Arrow 2 hidden */
.glesys-mega-menu .banner-arrow-1 {
  transform: translateX(0);
}

.glesys-mega-menu .banner-arrow-2 {
  transform: translateX(-16px);
}

/* ANIMATED STATE - Arrow 1 slides out, Arrow 2 slides in */
.glesys-mega-menu .banner-arrow-1.animate {
  transform: translateX(16px);
  opacity: 0;
  transition-property: transform, opacity;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  transition-duration: 0.7s;
}

.glesys-mega-menu .banner-arrow-2.animate {
  transform: translateX(0);
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-duration: 0.7s;
}

/* No transition class for instant reset */
.glesys-mega-menu .banner-arrow.no-transition {
  transition: none !important;
}

/* Animation classes */
.glesys-mega-menu .banner-text.active,
.glesys-mega-menu-mobile .banner-text.active {
  animation: slideIn 0.25s ease forwards;
  pointer-events: all;
}

.glesys-mega-menu .banner-text:not(.active),
.glesys-mega-menu-mobile .banner-text:not(.active) {
  animation: slideOut 0.25s ease forwards;
  pointer-events: none;
}

@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

.glesys-mega-menu .secondary-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Add a dropdown indicator for menu items with dropdowns */
.glesys-mega-menu .has-dropdown {
  position: relative;
}

/* HOVER STATE - Only applies when menu is in default inverted state (not scrolled) */
.glesys-mega-menu:not(.scrolled) .main-nav-parent:hover {
  background-color: var(--glesys-white);
}

.glesys-mega-menu:not(.scrolled) .main-nav-parent:hover .main-nav {
  background-color: var(--glesys-white);
}

.glesys-mega-menu:not(.scrolled) .main-nav-parent:hover a,
.glesys-mega-menu:not(.scrolled) .main-nav-parent:hover .nav-links a {
  color: var(--glesys-black);
}

.glesys-mega-menu:not(.scrolled) .main-nav-parent:hover .logo svg {
  filter: none;
}

.glesys-mega-menu:not(.scrolled) .main-nav-parent:hover .btn-outline {
  border-color: var(--glesys-black);
  color: var(--glesys-black);
}

.glesys-mega-menu:not(.scrolled) .main-nav-parent:hover .btn-primary {
  display: flex;
  padding: 12px 20px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 4px;
  background-color: var(--glesys-indigo-900);
  color: var(--glesys-white);
  font-family: Aeonik;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  border: 1px solid var(--glesys-indigo-900);
}

.glesys-mega-menu .main-nav-parent:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: transparent;
  z-index: -1;
  transition: background-color 0.3s ease;
}

.glesys-mega-menu .main-nav-parent:hover:before {
  background-color: rgba(0, 0, 0, 0.1);
}

.glesys-mega-menu .main-nav-parent.mega-open {
  background-color: var(--glesys-white);
}

.glesys-mega-menu .main-nav-parent.mega-open .main-nav {
  background-color: var(--glesys-white);
}

.glesys-mega-menu .main-nav-parent.mega-open a {
  color: var(--glesys-black);
}

.glesys-mega-menu .main-nav-parent.mega-open .logo svg {
  filter: none;
}

.glesys-mega-menu
  .main-nav-parent.mega-open
  .has-dropdown
  .dropdown-trigger:after {
  border-top-color: var(--glesys-black);
}

.glesys-mega-menu .main-nav-parent.mega-open .btn-outline {
  border-color: var(--glesys-black);
  color: var(--glesys-black);
}

.glesys-mega-menu .main-nav-parent.mega-open .btn-primary {
  display: flex;
  padding: 12px 20px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 4px;
  background: var(--glesys-white);
  color: var(--glesys-indigo-900);
  font-family: Aeonik;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  border: 1px solid var(--glesys-indigo-900);
}

/* SCROLLED STATE - Applied when page is scrolled */
.glesys-mega-menu.topnav.scrolled .main-nav-parent {
  background-color: var(--glesys-white);
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1);
}

.glesys-mega-menu.topnav.scrolled .nav-links a,
.glesys-mega-menu.topnav.scrolled .logo a {
  color: var(--glesys-black);
}

.glesys-mega-menu.topnav.scrolled .logo svg {
  filter: none;
}

.glesys-mega-menu.topnav.scrolled .btn-outline {
  border-color: var(--glesys-black);
  color: var(--glesys-black);
}

.glesys-mega-menu.topnav.scrolled .btn-primary {
  display: flex;
  padding: 12px 20px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 4px;
  background: var(--glesys-indigo-900);
  color: var(--glesys-white);
  font-family: Aeonik;
  font-size: 16px;
  border: 1px solid var(--glesys-indigo-900) !important;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
}
