.menu-submenu-title-wrapper{
    background-color: #0070ad;
    padding-top: 1rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-bottom: 1rem;
    color: #fff;

}

.menu-submenu-title{
    font-size: 20px;
    font-weight: bold;
}
.menu-submenu-title-wrapper p {
  font: 400 16px "Poppins", sans-serif;
}

/*third level menu*/
/* Hide third-level menu by default */
/* Parent submenu (normal dropdown) */
/* Only style mega-submenu-column, avoid global changes */
/* Parent should be relative so child submenu can be absolutely positioned */
/* Make parent relative */
.mega-submenu-column {
  position: relative;
}

/* Submenu container */
.submenu-columns-wrapper {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background: #fff;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  display: none;
  flex-direction: row;
  gap: 30px; /* spacing between columns */
/*  min-width: 500px; /* adjust if you add more columns */
/*  height: 100%;*/

}

/* Show submenu on hover */
.mega-submenu-column:hover .submenu-columns-wrapper {
  display: flex;
}

/* Each column */
.submenu-column-wrapper {
  list-style: none;
  margin: 0;
  padding: 0 15px; /* horizontal padding inside each column */
  width: 300px; /* column width to avoid text overlap */
  box-sizing: border-box;
}

/* Links inside columns */
.submenu-column-wrapper li a {
  display: block;
  padding: 6px 0;
  color: #333;
  text-decoration: none;
  white-space: normal;
}

.submenu-column-wrapper li a:hover {
  color: var(--primary-color);
}

/*extra*/

/* Target only the Services item */
.services-mega {
  position: relative;
}

.services-mega-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100vw;
  background: #fff;
  padding: 40px 60px;
  z-index: 999;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  display: flex;
  flex-wrap: nowrap;
  gap: 40px;
}

.services-mega:hover .services-mega-dropdown {
  display: flex;
}

/* Left side title/info */
.services-mega-title {
  width: 25%;
}

.services-mega-title h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.services-mega-title p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 15px;
}

.services-learn-more {
  display: inline-block;
  padding: 8px 14px;
  background: #0070ad;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

/* Right side columns */
.services-mega-columns {
  display: flex;
  flex-wrap: nowrap;
  gap: 40px;
  width: 75%;
}

.services-mega-columns ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 200px;
}

.services-mega-columns ul li {
  margin-bottom: 10px;
}

.services-mega-columns ul li a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6;
}

.services-mega-columns ul li a:hover {
  color: #0070ad;
}

.industry-menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  padding: 0;
  margin: 0;
}

/*Only for solutions*/

/* Wrapper */
.solutions-mega-wrapper {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch;
  gap: 0;
}

/* LEFT SIDEBAR (same as Industries) */
.solutions-tabs {
  width: 300px;
  flex-shrink: 0;
  background-color: #0070ad; /* SAME AS INDUSTRIES */
  padding: 24px;
}

/* Button groups */
.tab-button-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

/* Buttons */
.menu-tabSet-panel-button {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 12px 14px;
  text-align: left;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
}

.menu-tabSet-panel-button.active {
  background: #fff;
  color: #0070ad;
  font-weight: 600;
}

/* Description below button */
.tab-desc {
  display: none;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #eaf4fb;
}

.tab-desc.active {
  display: block;
}

/* RIGHT CONTENT */
.solutions-content {
  flex: 1;
  min-width: 0;   
  padding: 30px;
  max-height: 100vh;
  overflow-y: auto;
}

/* Panels */
.solutions-panel {
  display: none;
}

.solutions-panel.active {
  display: block;
}

/* ================================
   RIGHT SIDE COLUMN FIX (SOLUTIONS ONLY)
   ================================ */

/* =========================================
   FORCE COLUMN LAYOUT
   ========================================= */

/* Column container */
.solutions-content .solutions-columns {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(260px, 1fr)) !important;
  gap: 40px !important;
}

/* Force each UL to behave as a column */
.solutions-content .solutions-columns > ul {
  width: auto !important;
  float: none !important;
  display: block !important;
}

/* Remove theme stacking */
.solutions-content ul,
.solutions-content li {
  float: none !important;
}

/* ================================
   REMOVE BULLETS
   ================================ */

.solutions-content ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.solutions-content ul li {
  list-style: none !important;
  margin-bottom: 10px; 
}

/* Link base style */
.solutions-content ul li a {
  display: inline-block;
  font-size: 16px;
  font-weight: 400;
  color: #333;
  text-decoration: none;
  padding-bottom: 3px;
  transition: 
    color 0.2s ease,
    font-weight 0.2s ease,
    border-bottom-color 0.2s ease;
  border-bottom: 2px solid transparent; /* for hover underline */
}

/* Hover effect */
.solutions-content ul li a:hover {
  color: #0070ad;               /* same blue as Industries */
  font-weight: 600;             /* bold on hover */
  border-bottom-color: #0070ad; /* underline on hover */
}

/* Active (clicked) */
.solutions-content ul li a.active-solution {
  color: #61CE70 !important;
  font-weight: 600;
  border-bottom-color: #61CE70;
}


/* ===============================
   DISABLE BOOTSTRAP DROPDOWN
   FOR MEGA MENU (MOBILE ONLY)
   =============================== */
/* ===============================
   HIDE DESKTOP MENU ON MOBILE
   =============================== */
@media (max-width: 991px) {

  /* Hide full desktop nav menu */
  #menu-main-menu,
  .navbar-nav.menu {
    display: none !important;
  }

}

/* ===============================
   MOBILE ONLY MENU STYLES
   =============================== */
.mobile-only-menu {
  display: none;
}

@media (max-width: 991px) {

  .navbar .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

}

@media (max-width: 991px) {

  body,
  html {
    overflow-x: hidden;
  }

}

@media (max-width: 991px) {
  .services-mega-dropdown {
    width: 100% !important;
  }
}


@media (max-width: 991px) {

  .mobile-only-menu {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  .mobile-link {
    display: block;
    padding: 12px 10px;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
  }

  .mobile-menu-item {
    border-top: 1px solid #eee;
  }

  .mobile-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 14px 10px;
    font-size: 20px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
  }

  .mobile-submenu {
    display: none;
    padding-left: 15px;
  }

  .mobile-submenu a {
    display: block;
    padding: 8px 0;
    font-size: 16px;
    color: #555;
    text-decoration: none;
  }

  .mobile-menu-item.active .mobile-submenu {
    display: block;
  }

}

/* ===============================
   SHOW MOBILE MENU ON TOGGLE
   =============================== */
@media (max-width: 991px) {

  /* Hide by default */
  .mobile-only-menu {
    display: none;
  }

  /* Show only when navbar is open */
  .navbar-collapse.show .mobile-only-menu {
    display: block;
  }

}

@media (max-width: 991px) {

  #menu-main-menu,
  .navbar-nav.menu {
    display: none !important;
  }

}
