/* ============================================
   Design Tokens
   ============================================ */
:root {
  --color-primary: #1b1e41;
  --color-secondary: #08af77;
  --color-text: #383838;
  --color-text-muted: #6b6b6b;
  --color-white: #ffffff;
  --color-border: rgba(27, 30, 65, 0.08);
  --color-bg-subtle: #f8f9fc;

  --font-family: 'Poppins', 'Inter', system-ui, -apple-system, sans-serif;
  --header-height: 80px;
  --mega-radius: 16px;
  --mega-shadow: 0 10px 40px rgba(27, 30, 65, 0.12);
  --transition: all 0.3s ease;

  --container-max: 1360px;
}

/* ============================================
   Reset & Base
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  font-weight: normal !important
}



/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
  line-height: normal !important;
}

.btn--primary {
  background: var(--color-secondary);
  color: var(--color-white);
}

.btn--primary:hover {
  background: #069a68;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(8, 175, 119, 0.35);
}

.btn--ghost {
  color: var(--color-text);
  border: 1px solid var(--color-border);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.btn--lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 10px;
}

/* ============================================
   Sticky Header / Navbar
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  /* border-bottom: 1px solid var(--color-border); */
  transition: var(--transition);
}

.site-header.is-scrolled {
  box-shadow: 0 2px 20px rgba(27, 30, 65, 0.06);
}

.navbar-brand {
    padding: 10px 0;
}

.navbar {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 60px;
  height: var(--header-height);
  gap: 0;
      min-height: 80px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

.logo-accent {
  color: var(--color-secondary);
}

.navbar__toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: var(--transition);
  background: transparent;
  padding: 0;
  border: solid 1px #08af77;
  margin-top: 10px;
}

.navbar__toggle:hover {
  background: var(--color-secondary);
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-secondary);
  border-radius: 2px;
  transition: var(--transition);
  position: relative;
}

.navbar__toggle:hover .hamburger,.navbar__toggle:hover .hamburger::before, .navbar__toggle:hover .hamburger::after {
  background: var(--color-white);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

.navbar__toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.navbar__toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.navbar__toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: end;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
  background-color:transparent;
  line-height: normal !important;
}


.cbp-af-header-shrink .navbar-home .nav-link {
  color: #343434;
}

.home .cbp-af-header-shrink .navbar-home .nav-link {
  color: var(--color-primary);
}

.cbp-af-header-shrink .navbar-home .btn{
  color: var(--color-white);
}

.cbp-af-header h1, .cbp-af-header nav a {
    line-height: 1.5 !important;
}
    
.nav-link:hover {
  color: var(--color-primary);
}

.navbar-home .nav-link:hover {
  color: var(--color-secondary);
}
.home .navbar-home .nav-link:hover {
  color: var(--color-secondary);
}

.nav-link--active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--color-secondary);
  border-radius: 2px;
}

/* Active Mega Menu */
.nav-item--mega.is-open > .nav-link,
.nav-item--mega.is-open > a,
.nav-item--mega.is-open > .menu-link {
    color: var(--color-secondary);
}

.home .nav-item--mega.is-open > .nav-link,
.home .nav-item--mega.is-open > a,
.home .nav-item--mega.is-open > .menu-link {
    color: var(--color-secondary);
}

.nav-chevron {
  display: none; /* hidden on desktop — shown only via mobile override below */
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.2s ease;
  color: var(--color-text-muted, #888);
  pointer-events: none;
}

.nav-item--mega.is-open .nav-chevron {
  transform: rotate(180deg);
  color: var(--color-secondary);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: 16px;
}

.home .site-content-contain.middle-secion-inner{
  top: 0;
}

/* ============================================
   Mega Menu
   ============================================ */
.nav-item--mega {
  position: static;
}

.mega-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--header-height);
  background: rgba(27, 30, 65, 0.25);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.mega-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mega-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  pointer-events: none;
}

.mega-menu button:hover{
  background: transparent;
}

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

.mega-menu__inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 60px 28px;
}

.mega-menu__panel {
  background: var(--color-white);
  border-radius: var(--mega-radius);
  box-shadow: var(--mega-shadow);
  border: 1px solid var(--color-border);
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: 320px 1fr 340px;
  gap: 40px;
  background: var(--color-white);
  border-radius: var(--mega-radius);
  box-shadow: var(--mega-shadow);
  border: 1px solid var(--color-border);
  padding: 28px;
  overflow: hidden;
}

.mega-menu__heading {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

/* --- Service Cards --- */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px;
  border-radius: 12px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  background: var(--color-bg-subtle);
  border-color: rgba(8, 175, 119, 0.15);
  transform: translateX(4px);
}

.service-card:hover .service-card__icon {
  background: rgba(8, 175, 119, 0.12);
  color: var(--color-secondary);
}

.service-card:hover .service-card__title {
  color: var(--color-secondary);
}

.service-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(27, 30, 65, 0.05);
  color: var(--color-primary);
  transition: var(--transition);
}

.service-card__icon svg {
  width: 20px;
  height: 20px;
}

.service-card__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.service-card__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: var(--transition);
  line-height: 1.3;
}

.service-card__desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* --- Blog Cards --- */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blog-card {
  display: grid;
  grid-template-columns: 126px 1fr;
  gap: 14px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  align-items: start;
}

.blog-card:hover {
  box-shadow: 0 8px 24px rgba(27, 30, 65, 0.1);
  border-color: rgba(8, 175, 119, 0.2);
  transform: translateY(-2px);
}

.blog-card__thumb {
  width: 126px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.blog-card__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.35;
  transition: var(--transition);
}

.blog-card:hover .blog-card__title {
  color: var(--color-secondary);
}

.blog-card__excerpt {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__cta {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-top: 2px;
  transition: var(--transition);
}

.blog-card:hover .blog-card__cta {
  letter-spacing: 0.02em;
}

/* --- Featured Banner --- */
.featured-banner {
  position: relative;
  display: block;
  height: 100%;
  min-height: 340px;
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.featured-banner:hover {
  transform: scale(1.01);
  box-shadow: 0 12px 32px rgba(27, 30, 65, 0.2);
}

.featured-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.featured-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(27, 30, 65, 0.92) 0%,
    rgba(27, 30, 65, 0.55) 50%,
    rgba(27, 30, 65, 0.25) 100%
  );
  transition: var(--transition);
}

.featured-banner:hover .featured-banner__overlay {
  background: linear-gradient(
    to top,
    rgba(27, 30, 65, 0.95) 0%,
    rgba(27, 30, 65, 0.65) 55%,
    rgba(27, 30, 65, 0.35) 100%
  );
}

.featured-banner__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  z-index: 1;
}

.featured-banner__heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: 8px;
}

.featured-banner__text {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
  margin-bottom: 18px;
}

.featured-banner__btn {
  display: inline-flex;
  align-self: flex-start;
  padding: 11px 22px;
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition);
}

.featured-banner:hover .featured-banner__btn {
  background: #069a68;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 175, 119, 0.4);
}

/* ============================================
   Services Mega Menu
   ============================================ */
.services-mega {
  display: flex;
  flex-direction: column;
}

.services-mega__body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 0;
}

.services-mega__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 24px 0 24px 0;
}

.corp-strength-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 24px 0;
}

.services-mega__column {
  padding: 0 20px;
  min-width: 0;
}

.services-mega__column--divider {
  border-left: 1px solid var(--color-border);
}

.mega-link-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  max-height: 400px;
  overflow-x: hidden;
  overflow-y: auto;
  
}


.mega-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px;
  border-radius: 8px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.mega-link:hover {
  background: var(--color-bg-subtle);
  border-color: rgba(8, 175, 119, 0.15);
  transform: translateX(4px);
}

.mega-link:hover .mega-link__icon {
  color: var(--color-secondary);
  background: rgba(8, 175, 119, 0.1);
}

.mega-link:hover .mega-link__text {
  color: var(--color-secondary);
}

.mega-link__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(27, 30, 65, 0.05);
  color: var(--color-primary);
  transition: var(--transition);
}

.mega-link__icon svg {
  width: 12px;
  height: 12px;
}

.mega-link__text {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.35;
}

.mega-link--submenu {
  display: block;
}

.mega-link--submenu summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  list-style: none;
}

.mega-link--submenu summary::-webkit-details-marker {
  display: none;
}

.mega-link--submenu summary:hover,
.mega-link--submenu[open] summary {
  background: var(--color-bg-subtle);
  border-color: rgba(8, 175, 119, 0.15);
}

.mega-link--submenu .mega-link__icon {
  background: rgba(27, 30, 65, 0.05);
}

.mega-link--submenu .mega-link__caret {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--color-text-muted);
  transition: transform 0.2s ease;
}

.mega-link--submenu[open] .mega-link__caret {
  transform: rotate(90deg);
}

.mega-submenu-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 8px 0 0 50px;
}

.mega-link--nested {
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(27, 30, 65, 0.03);
  border: 1px solid transparent;
}

.mega-link--nested:hover {
  background: var(--color-bg-subtle);
  border-color: rgba(8, 175, 119, 0.15);
  transform: translateX(2px);
}

.mega-link__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mega-link__subtitle {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Dedicated Teams — green accent border on hover */
.mega-link--team {
  border: 1px solid transparent;
}

.mega-link--team:hover {
  border-color: var(--color-secondary);
  background: rgba(8, 175, 119, 0.04);
  box-shadow: 0 0 0 1px rgba(8, 175, 119, 0.08);
}

/* Visual Cards */
.services-mega__visuals {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 28px 28px 0;
  border-left: 1px solid var(--color-border);
}

.visual-card {
  position: relative;
  display: block;
  flex: 1;
  min-height: 108px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(8, 175, 119, 0.2);
  box-shadow: 0 4px 20px rgba(27, 30, 65, 0.08);
  transition: var(--transition);
}

.visual-card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 32px rgba(27, 30, 65, 0.18);
  border-color: var(--color-secondary);
}

.visual-card__img {
  width: 100%;
  height: 100%;
  min-height: 108px;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}

.visual-card:hover .visual-card__img {
  transform: scale(1.08);
}

.visual-card__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(8, 175, 119, 0.25) 0%, transparent 55%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: var(--transition);
}

.visual-card:hover .visual-card__glow {
  opacity: 1;
}

.visual-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27, 30, 65, 0.88) 0%,
    rgba(27, 30, 65, 0.65) 50%,
    rgba(27, 30, 65, 0.45) 100%
  );
  z-index: 2;
  transition: var(--transition);
}

.visual-card:hover .visual-card__overlay {
  background: linear-gradient(
    135deg,
    rgba(27, 30, 65, 0.92) 0%,
    rgba(27, 30, 65, 0.75) 55%,
    rgba(27, 30, 65, 0.55) 100%
  );
}

.visual-card__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 18px;
  gap: 4px;
}

.visual-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.25;
}

.visual-card__caption {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.4;
  max-width: 90%;
}

.visual-card__arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-secondary);
  color: var(--color-white);
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: var(--transition);
}

.visual-card:hover .visual-card__arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* Bottom CTA Row */
.services-mega__cta {
  display: none;
}

.services-mega__cta--legacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 20px 32px;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    #252a52 50%,
    rgba(27, 30, 65, 0.95) 100%
  );
  border-top: 1px solid rgba(8, 175, 119, 0.15);
  position: relative;
  overflow: hidden;
}

.services-mega__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 50%, rgba(8, 175, 119, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.services-mega__cta-art {
  flex-shrink: 0;
  opacity: 0.9;
}

.services-mega__cta-art svg {
  width: 80px;
  height: auto;
}

.services-mega__cta-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  position: relative;
}

.services-mega__cta-btn {
  position: relative;
  display: inline-flex;
  padding: 12px 26px;
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition);
  flex-shrink: 0;
}

.services-mega__cta-btn:hover {
  background: #069a68;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 175, 119, 0.45);
}

/* ============================================
   Solutions Mega Menu — Vertical Tab Layout
   ============================================ */

/* Remove old solutions-specific overrides now superseded */
/* .mega-menu--solutions .mega-menu__inner {
  padding: 20px 24px 28px;
} */

/* Outer panel */
.sol-mega {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--mega-radius);
  box-shadow: var(--mega-shadow);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

/* 3-column body: tabs | panels | visual */
.sol-mega__body {
  display: grid;
  grid-template-columns: 290px 1fr 368px;
  min-height: 520px;
}

/* ─── LEFT: Tab Nav ─────────────────────── */
.sol-tabs {
  display: flex;
  flex-direction: column;
  /* border-right: 1px solid var(--color-border); */
  padding: 28px 0 28px;
}

.sol-tabs__header {
  padding: 0 0 14px 28px;
  /* border-bottom: 1px solid var(--color-border); */
  margin-bottom: 8px;
}

.sol-tabs__kicker {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
}

.sol-tabs__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 0 0 28px;
}
.sol-tabs__list li{
    border-top: 1px solid var(--color-border);
}

.sol-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: var(--transition);
  position: relative;
}

.sol-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: none;
  text-decoration: none;
  color: inherit;
  width: 100%;
  transition: var(--transition);
}

/* .sol-link:hover {
  background: rgba(8, 175, 119, 0.06);
  border-color: rgba(8, 175, 119, 0.12);
} */

.sol-link .sol-tab__icon {
  background: rgba(27, 30, 65, 0.05);
}

.sol-link:hover .sol-tab__icon {
  background: rgba(8, 175, 119, 0.12);
  color: var(--color-secondary);
}

.sol-link:hover .sol-tab__label {
  color: var(--color-secondary);
}

.sol-link:hover .sol-tab__arrow {
  opacity: 1;
  transform: translateX(2px);
  color: var(--color-secondary);
}

.sol-tab:hover {
  /* background: rgba(8, 175, 119, 0.06);
  border-color: rgba(8, 175, 119, 0.12); */
}

.sol-tab.is-active {
  /* background: var(--color-white);
  border-color: var(--color-border);
  box-shadow: 0 2px 8px rgba(27, 30, 65, 0.07); */
}

/* Accent bar on active tab */
.sol-tab.is-active::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 20%;
  bottom: 20%;
  width: 3px;
  background: var(--color-secondary);
  border-radius: 0 3px 3px 0;
}

.sol-tab__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(27, 30, 65, 0.05);
  color: var(--color-primary);
  transition: var(--transition);
}

.sol-tab__icon svg {
  width: 20px;
  height: 20px;
}

.sol-tab:hover .sol-tab__icon,
.sol-tab.is-active .sol-tab__icon {
  background: rgba(8, 175, 119, 0.12);
  color: var(--color-secondary);
}

.sol-tab__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.sol-tab__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.3;
  transition: var(--transition);
}

.sol-tab.is-active .sol-tab__label,
.sol-tab:hover .sol-tab__label {
  color: var(--color-secondary);
}

.sol-tab__sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sol-tab__arrow {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--color-text-muted);
  opacity: 0;
  transition: var(--transition);
}

.sol-tab__arrow svg {
  width: 12px;
  height: 12px;
}

.sol-tab.is-active .sol-tab__arrow,
.sol-tab:hover .sol-tab__arrow {
  opacity: 1;
  color: var(--color-secondary);
}

.sol-tab--link {
  text-decoration: none;
}

.sol-tab--link .sol-tab__sub {
  color: var(--color-text-muted);
}

.sol-tab--submenu {
  display: block;
}

.sol-tab--submenu summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 10px;
  border-radius: 10px;
  cursor: pointer;
  list-style: none;
}

.sol-tab--submenu summary::-webkit-details-marker {
  display: none;
}

.sol-tab--submenu summary:focus-visible,
.sol-tab--submenu summary:hover,
.sol-tab--submenu[open] summary {
  background: rgba(8, 175, 119, 0.06);
  border-color: rgba(8, 175, 119, 0.12);
}

.sol-tab--submenu .sol-tab__arrow {
  opacity: 1;
}

.sol-tab--submenu[open] .sol-tab__arrow {
  transform: rotate(90deg);
}

.sol-submenu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 8px 0 0 50px;
}

.sol-submenu__link {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--color-primary);
  text-decoration: none;
  background: rgba(27, 30, 65, 0.03);
  transition: var(--transition);
}

.sol-submenu__link:hover {
  background: var(--color-bg-subtle);
  color: var(--color-secondary);
  transform: translateX(2px);
}


/* ─── CENTER: Content Panels ─────────────── */
.sol-panels {
  padding: 28px 28px 28px 28px;
  display: flex;
  flex-direction: column;
}

.sol-panel {
  display: none;
  flex-direction: column;
  gap: 16px;
  animation: solFadeIn 0.22s ease;
}

.sol-panel.is-active {
  display: flex;
}

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

.sol-panel__head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 4px;
}

.sol-panel__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 5px;
  line-height: 1.3;
}

.sol-panel__desc {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  max-width: 340px;
}

/* ─── RIGHT: Dynamic Visual Card ────────── */
.sol-visual {
  position: relative;
  padding: 28px 28px 28px 0;
  display: flex;
  align-items: stretch;
}

.sol-visual__card {
  position: relative;
  display: none;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(8, 175, 119, 0.2);
  box-shadow: 0 4px 20px rgba(27, 30, 65, 0.1);
  transition: var(--transition);
  animation: solFadeIn 0.25s ease;
}

.sol-visual__card.is-active {
  display: block;
}

.sol-visual__card:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(27, 30, 65, 0.18);
  border-color: var(--color-secondary);
}

.sol-visual__card .visual-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100%;
  transition: transform 0.5s ease;
}

.sol-visual__card:hover .visual-card__img {
  transform: scale(1.06);
}

/* ─── Responsive — Tablet ────────────────── */
@media (max-width: 1100px) {
  .sol-mega__body {
    grid-template-columns: 320px 1fr;
  }

  .sol-visual {
    display: none;
  }
}

/* ─── Responsive — Mobile ────────────────── */
@media (max-width: 900px) {
  .sol-mega__body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  /* Tabs nav becomes the accordion container */
  .sol-tabs {
    border-right: none;
    padding: 10px;
    background: var(--color-white);
  }

  .sol-tabs__header {
    display: none;
  }

  .sol-tabs__list {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0;
  }

  /* Hide the desktop content/visual columns (panels are relocated into the accordion) */
  .sol-panels,
  .sol-visual {
    display: none;
  }
}


/* ============================================
   Technologies Mega Menu — Vertical Tab Layout
   ============================================ */

/* ── Outer panel wrapper ─────────────────────────────────────── */
.tech-mega {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--mega-radius);
  box-shadow: var(--mega-shadow);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

/* ── 3-column grid: 280px left | 1fr center | 300px right ─────── */
.tech-mega__body {
  display: grid;
  grid-template-columns: 320px 1fr 340px;
  min-height: 520px;
}

/* ════════════════════════════════════
   COL 1 — LEFT: Vertical Tab Nav
   ════════════════════════════════════ */
.tech-tabs {
  display: flex;
  flex-direction: column;
  /* border-right: 1px solid var(--color-border); */
  padding: 0;
}

.tech-tabs__header {
  padding: 28px 28px 8px;
  /* border-bottom: 1px solid var(--color-border); */
}

.tech-tabs__kicker {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary);

}

.tech-tabs__header .tech-tabs__sub {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.tech-tabs__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 12px 0px 12px 28px;
  flex: 1;
}

.tech-tabs__list li {
  border-top: 1px solid var(--color-border);
}

/* Individual tab button */
.tech-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  position: relative;
}

.tech-tab:hover {
  /* background: rgba(8, 175, 119, 0.07);
  border-color: rgba(8, 175, 119, 0.15); */
}

.tech-tab.is-active {
  /* background: var(--color-white);
  border-color: rgba(8, 175, 119, 0.25);
  box-shadow: 0 2px 10px rgba(27, 30, 65, 0.08); */
}

/* Green accent left bar on active */
.tech-tab.is-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 3px;
  background: var(--color-secondary);
  border-radius: 0 3px 3px 0;
}

/* Tab icon box */
.tech-tab__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(27, 30, 65, 0.05);
  color: var(--color-primary);
  transition: background 0.18s ease, color 0.18s ease;
}

.tech-tab__icon svg { width: 20px; height: 20px; }

.tech-tab:hover .tech-tab__icon,
.tech-tab.is-active .tech-tab__icon {
  background: rgba(8, 175, 119, 0.13);
  color: var(--color-secondary);
}

/* Tab text */
.tech-tab__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.tech-tab__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.25;
  transition: color 0.18s ease;
}

.tech-tab:hover .tech-tab__label,
.tech-tab.is-active .tech-tab__label {
  color: var(--color-secondary);
}

.tech-tab__sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Tab chevron */
.tech-tab__chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  opacity: 0;
  transition: opacity 0.18s ease, color 0.18s ease;
}

.tech-tab__chevron svg { width: 12px; height: 12px; }

.tech-tab.is-active .tech-tab__chevron,
.tech-tab:hover .tech-tab__chevron {
  opacity: 1;
  color: var(--color-secondary);
}

/* ================================================================
     Dark Premium Sidebar Cards
     Used in Solutions and Technologies mega menus.
  ================================================================ */

  /* ── Sidebar container ─────────────────────────────────────── */
  .dark-sidebar {
    display: flex;
    flex-direction: column;
    padding: 28px 28px 28px 0;
    gap: 12px;
    min-width: 0;
  }

  .dark-sidebar--stack {
    /* two stacked cards fill height equally */
    justify-content: stretch;
  }

  /* ── Card surface ──────────────────────────────────────────── */
  .dark-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px 22px 22px;
    background: #1B1E41;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.10);
    flex: 1;
    min-width: 0;
    position: relative;
    overflow: hidden;
  }

  /* Subtle top-right accent glow */
  .dark-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 130px;
    height: 130px;
    background: radial-gradient(circle, rgba(8, 175, 119, 0.18) 0%, transparent 70%);
    pointer-events: none;
  }

  /* Alt card (second card in tech): slightly lighter tint */
  .dark-card--alt {
    background: #22265A;
  }

  .dark-card--alt::before {
    background: radial-gradient(circle, rgba(8, 175, 119, 0.12) 0%, transparent 70%);
  }

  /* ── Label pill ────────────────────────────────────────────── */
  .dark-card__label {
    display: inline-flex;
    align-self: flex-start;
    padding: 4px 12px;
    background: rgba(8, 175, 119, 0.18);
    color: #4ECCA3;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    border-radius: 100px;
    border: 1px solid rgba(8, 175, 119, 0.30);
    position: relative;
    z-index: 1;
  }

  /* ── Heading ───────────────────────────────────────────────── */
  .dark-card__heading {
    font-size: clamp(0.95rem, 1.2vw, 1.125rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
    letter-spacing: -0.01em;
    margin: 0;
    position: relative;
    z-index: 1;
    padding-top: 0;
  }

  /* ── Description ───────────────────────────────────────────── */
  .dark-card__desc {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
  }

  /* ── Stats grid ────────────────────────────────────────────── */
  .dark-card__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: relative;
    z-index: 1;
  }

  .dark-card__stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
  }

  .dark-card__stat strong {
    font-size: 1.25rem;
    font-weight: 800;
    color: #08AF77;
    line-height: 1.1;
    letter-spacing: -0.02em;
  }

  .dark-card__stat span {
    font-size: 0.625rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  /* ── CTA button ────────────────────────────────────────────── */
  .dark-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    background: #08AF77;
    color: #ffffff !important;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
    margin-top: auto;
    box-shadow: 0 4px 16px rgba(8, 175, 119, 0.35);
    white-space: nowrap;
    position: relative;
    z-index: 1;
  }

  .dark-card__btn:hover {
    background: #069a68;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(8, 175, 119, 0.45);
  }

  /* ── Grid column fix: add dark-sidebar as 3rd column ──────── */
  /* Solutions: override sol-mega__body to 3 columns */
  .mega-menu--solutions .sol-mega__body {
    grid-template-columns: 320px 1fr 368px;
  }

  /* Technologies: override tech-mega__body to 3 columns */
  .mega-menu--technologies .tech-mega__body {
    grid-template-columns: 320px 1fr 368px;
  }

  /* ── Tablet (≤1280px): keep sidebar, shrink it ─────────────── */
  @media (max-width: 1280px) {
    .mega-menu--solutions .sol-mega__body,
    .mega-menu--technologies .tech-mega__body {
      grid-template-columns: 220px 1fr 260px;
    }
  }

  /* ── Tablet (≤1100px): hide sidebar, revert to 2-col ────────── */
  @media (max-width: 1100px) {
    .mega-menu--solutions .sol-mega__body,
    .mega-menu--technologies .tech-mega__body {
      grid-template-columns: 320px 1fr;
    }
    .dark-sidebar, .industries-mega__banner-col {
      display: none;
    }
    
  }

  /* ── Mobile (≤900px): single col ───────────────────────────── */
  @media (max-width: 900px) {
    .mega-menu--solutions .sol-mega__body,
    .mega-menu--technologies .tech-mega__body {
      grid-template-columns: 1fr;
    }
  }

/* ════════════════════════════════════
   COL 2 — CENTER: Content Panels
   ════════════════════════════════════ */
.tech-panels {
  padding: 28px 40px 28px 40px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Each panel hidden by default, only .is-active shows */
.tech-panel {
  display: none;
  flex-direction: column;
  gap: 16px;
  animation: techFadeIn 0.2s ease;
}

.tech-panel.is-active { display: flex; }

.tech-panel .mega-link__icon{
  width: 48px;
  height: 48px;
}
.tech-panel .mega-link__icon svg {
    width: 24px;
    height: 24px;
}

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

.tech-panel__head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
}

.tech-panel__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-secondary);
  margin-bottom: 5px;
}

.tech-panel__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 4px;
  padding-top:0;
}

.tech-panel__desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  max-width: 360px;
}

/* ════════════════════════════════════
   COL 3 — RIGHT: Visual + Consult
   ════════════════════════════════════ */
.tech-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 28px 20px 0;
  min-width: 0;
}

/* Dynamic visual card — only .is-active shown */
.tech-visual__card {
  position: relative;
  display: none;
  width: 100%;
  min-height: 190px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(8, 175, 119, 0.2);
  box-shadow: 0 4px 18px rgba(27, 30, 65, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  animation: techFadeIn 0.25s ease;
  flex-shrink: 0;
}

.tech-visual__card.is-active { display: block; }

.tech-visual__card:hover {
  transform: scale(1.025);
  box-shadow: 0 10px 28px rgba(27, 30, 65, 0.18);
  border-color: var(--color-secondary);
}

.tech-visual__card .visual-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tech-visual__card:hover .visual-card__img { transform: scale(1.07); }

/* Consultation card */
.tech-consult {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(8,175,119,0.06) 0%, rgba(27,30,65,0.03) 100%);
  border: 1px solid rgba(8,175,119,0.2);
  border-radius: 12px;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tech-consult:hover {
  background: linear-gradient(135deg, rgba(8,175,119,0.1) 0%, rgba(27,30,65,0.05) 100%);
  border-color: rgba(8,175,119,0.35);
  box-shadow: 0 4px 16px rgba(8,175,119,0.1);
}

.tech-consult__top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tech-consult__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-secondary);
  color: var(--color-white);
}

.tech-consult__icon svg { width: 18px; height: 18px; }

.tech-consult__text { flex: 1; }

.tech-consult__heading {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.35;
  margin-bottom: 3px;
}

.tech-consult__highlight {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.tech-consult__highlight strong {
  color: var(--color-secondary);
  font-weight: 700;
}

.tech-consult__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  align-self: stretch;
  color: var(--color-white) !important;
}

.tech-consult__btn:hover {
  background: #069a68;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(8,175,119,0.3);
}

/* ════════════════════════════════════
   Quick Technologies Strip
   ════════════════════════════════════ */
.tech-quick {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 24px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-subtle);
  flex-wrap: wrap;
}

.tech-quick__label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.tech-quick__grid {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  flex: 1;
}

.tech-quick__item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 7px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.tech-quick__item:hover {
  background: rgba(8,175,119,0.07);
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.tech-quick__icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--color-primary);
  transition: color 0.18s ease;
}

.tech-quick__icon svg { width: 13px; height: 13px; }
.tech-quick__item:hover .tech-quick__icon { color: var(--color-secondary); }

/* ════════════════════════════════════
   Responsive — Tablet (≤1100px)
   ════════════════════════════════════ */
@media (max-width: 1100px) {
  .tech-mega__body {
    grid-template-columns: 250px 1fr;
  }
  .tech-right { display: none; }
  .tech-panels { border-right: none; }
}

/* ════════════════════════════════════
   Responsive — Mobile (≤900px)
   ════════════════════════════════════ */
@media (max-width: 900px) {
  .tech-mega__body { grid-template-columns: 1fr; min-height: 0; }

  /* Tabs nav becomes the accordion container */
  .tech-tabs {
    border-right: none;
    padding: 10px;
    background: var(--color-white);
  }

  .tech-tabs__header { display: none; }

  .tech-tabs__list {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0;
  }

  /* Hide desktop content/visual columns (panels relocate into the accordion) */
  .tech-panels,
  .tech-right { display: none; }
}


/* ============================================
   Resources Mega Menu — Vertical Tab Layout
   ============================================ */

/* ── Outer panel ─────────────────────────── */
.resources-mega {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--mega-radius);
  box-shadow: var(--mega-shadow);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

/* ── 3-col grid: 240px tabs | 1fr panels | 260px sidebar ── */
.resources-mega__body {
  display: grid;
  grid-template-columns: 320px 1fr 368px;
  min-height: 520px;
}

/* ─── LEFT: Tab Nav ──────────────────────── */
.res-tabs {
  display: flex;
  flex-direction: column;
  /* border-right: 1px solid var(--color-border); */
}

.res-tabs__header {
  padding: 28px 28px 14px 28px;
  /* border-bottom: 1px solid var(--color-border); */
}

.res-tabs__kicker {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
}

.res-tabs__header .res-tabs__sub {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.res-tabs__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 4px 0 12px 28px;
  flex: 1;
}
.res-tabs__list li{
  border-top: 1px solid var(--color-border);
}

/* ── Individual tab button ── */
.res-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background 0.18s, border-color 0.18s, box-shadow 0.18s;
  position: relative;
}

.res-tab:hover {
  /* background: rgba(8,175,119,0.07);
  border-color: rgba(8,175,119,0.15); */
}

.res-tab.is-active {
  /* background: var(--color-white);
  border-color: rgba(8,175,119,0.25);
  box-shadow: 0 2px 10px rgba(27,30,65,0.08); */
}

.res-tab.is-active::before {
  content: '';
  position: absolute;
  left: 0; top: 18%; bottom: 18%;
  width: 3px;
  background: var(--color-secondary);
  border-radius: 0 3px 3px 0;
}

.res-tab__icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(27,30,65,0.05);
  color: var(--color-primary);
  transition: background 0.18s, color 0.18s;
}

.res-tab__icon svg { width: 20px; height: 20px; }

.res-tab:hover .res-tab__icon,
.res-tab.is-active .res-tab__icon {
  background: rgba(8,175,119,0.13);
  color: var(--color-secondary);
}

.res-tab__body {
  display: flex;
  flex-direction: column;
  gap: 3px; flex: 1; min-width: 0;
}

.res-tab__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.25;
  transition: color 0.18s;
}

.res-tab:hover .res-tab__label,
.res-tab.is-active .res-tab__label { color: var(--color-secondary); }

.res-tab__sub {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
}

.res-tab__arrow {
  flex-shrink: 0; width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-muted);
  opacity: 0; transition: opacity 0.18s, color 0.18s;
}

.res-tab__arrow svg { width: 12px; height: 12px; }

.res-tab.is-active .res-tab__arrow,
.res-tab:hover .res-tab__arrow { opacity: 1; color: var(--color-secondary); }

/* ─── CENTER: Content Panels ─────────────── */
.res-panels {
  padding: 24px 40px 20px 40px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.res-panel {
  display: none;
  flex-direction: column;
  gap: 0;
  animation: resFadeIn 0.2s ease;
}

.res-panel.is-active { display: flex; }

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

.res-panel__head {
  padding-bottom: 14px;
  /* border-bottom: 1px solid var(--color-border); */
}

.res-panel__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 4px;
}

.res-panel__desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin:0;
}

/* ── Post cards (thumbnail + content) ────── */
.resource-post-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.resource-post-card {
  display: flex;
  align-items: stretch;
  gap: 14px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  transition: background 0.18s, border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}

.resource-post-card:hover {
  background: var(--color-bg-subtle);
  border-color: rgba(8,175,119,0.25);
  box-shadow: 0 4px 16px rgba(27,30,65,0.07);
  transform: translateY(-2px);
}

.resource-post-card__thumb {
  flex-shrink: 0;
  width: 126px; height: auto;
  border-radius: 8px;
  overflow: hidden;
}

.resource-post-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.resource-post-card:hover .resource-post-card__thumb img {
  transform: scale(1.08);
}

.resource-post-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.resource-post-card__cat {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-secondary);
}

.resource-post-card__title {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.18s;
}

.resource-post-card:hover .resource-post-card__title {
  color: var(--color-secondary);
}

.resource-post-card__desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.resource-post-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-top: 2px;
  transition: gap 0.18s;
}

.resource-post-card:hover .resource-post-card__cta { gap: 8px; }

/* ─── RIGHT: Dynamic Sidebar ─────────────── */
.resources-sidebar {
  padding: 28px 28px 28px  0;
  display: flex;
  align-items: stretch;
  position: relative;
}

.resources-sidebar__card {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 24px 16px;
  background: linear-gradient(160deg, rgba(8,175,119,0.06) 0%, rgba(27,30,65,0.03) 100%);
  border: 1px solid rgba(8,175,119,0.15);
  border-radius: 12px;
  width: 100%;
  animation: resFadeIn 0.25s ease;
}

.resources-sidebar__card.is-active { display: flex; }

.resources-sidebar__icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
 background: rgba(8, 175, 119, 0.18);
    color: var(--color-secondary);
    border: 1px solid rgba(8, 175, 119, 0.30);
}

.resources-sidebar__icon svg { width: 22px; height: 22px; }

.resources-sidebar__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
  padding-top: 0;
}
.resources-sidebar__card p{
  font-size:0.8125rem;
  color: var(--color-white);
}

.resources-sidebar__desc {
  font-size: 0.75rem;
  color: var(--color-white);
  line-height: 1.5;
}

/* Stats grid for Case Studies sidebar */
.resources-sidebar__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}

.resources-sidebar__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 8px;
  background: rgba(8,175,119,0.07);
  border-radius: 10px;
}

.resources-sidebar__stat-num {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-secondary);
  line-height: 1;
}

.resources-sidebar__stat-label {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
}

/* Quote card for Testimonials sidebar */
.resources-sidebar__quote-icon {
  color: rgba(8,175,119,0.3);
}

.resources-sidebar__quote-text {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.55;
  font-style: italic;
}

.resources-sidebar__quote-author {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Sidebar CTA button */
.resources-sidebar__btn {
    display: inline-flex;
    align-self: flex-start;
    padding: 11px 22px;
    background: var(--color-secondary);
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
}

.resources-sidebar__btn:hover {
    color: var(--color-white) !important;
    background: #069a68;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 175, 119, 0.4);
}

/* Base: establish a positioning + clipping context, but never touch `display`
       here for the resources cards — that property is owned by the existing
       tab show/hide logic (.is-active) and must not be fought over. */
    .dark-card--photo,
    .resources-sidebar__card--photo {
      position: relative !important;
      overflow: hidden !important;
      isolation: isolate;
      background: none !important;
    }

    /* The dark-card (Solutions / Technologies) is never tab-toggled, so it's
       safe to control its display/alignment directly. */
    .dark-card--photo {
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
    }

    /* The resources card IS tab-toggled (.is-active shows it). Only apply the
       bottom-aligned flex layout once it's the active panel, so we never
       override the existing show/hide rule for the other two cards. */
    .resources-sidebar__card--photo.is-active {
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
    }

    /* ── Image layer (::after): holds the photo via a CSS variable so it can
       never be clobbered by any `background` shorthand on the card class
       itself, and can be scaled on hover independently of the overlay/text. ── */
    .dark-card--photo::after,
    .resources-sidebar__card--photo::after {
      content: "";
      position: absolute;
      inset: 0;
      background-image: var(--card-bg);
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      z-index: 0;
      transform: scale(1);
      transition: transform 0.5s ease;
      pointer-events: none;
    }
    .dark-card--photo:hover::after,
    .resources-sidebar__card--photo:hover::after {
      transform: scale(1.1);
    }

    /* ── Overlay layer (::before): blue gradient, matching the Industries
       featured-banner card, sitting above the photo and below the text. ── */
    .dark-card--photo::before,
    .resources-sidebar__card--photo::before {
      content: "";
      position: absolute;
      inset: 0;
      /* background: linear-gradient(180deg, rgba(10, 16, 48, 0.05) 0%, rgba(11, 20, 64, 0.35) 38%, rgba(10, 22, 84, 0.78) 70%, rgba(8, 18, 64, 0.94) 100%); */
      background: linear-gradient(180deg, rgba(10, 16, 48, 0.1) 0%, rgba(11, 20, 64, 0.75) 38%, rgba(10, 22, 84, 0.88) 70%, rgba(8, 18, 64, 0.94) 100%);
      z-index: 1;
      pointer-events: none;
      transition: background 0.3s ease;
      width: 100%;
      height: 100%;
      color:#fff;
    }
    .dark-card--photo:hover::before,
    .resources-sidebar__card--photo:hover::before {
      /* background: linear-gradient(180deg, rgba(10, 16, 48, 0.1) 0%, rgba(11, 20, 64, 0.42) 38%, rgba(10, 22, 84, 0.84) 70%, rgba(8, 18, 64, 0.97) 100%); */
    }

    /* Text/content sits above both layers */
    .dark-card--photo > *,
    .resources-sidebar__card--photo > * {
      position: relative;
      z-index: 2;
    }

    /* Bottom-aligned content rhythm, matching the Industries featured-banner hierarchy */
    .dark-card--photo .dark-card__label,
    .resources-sidebar__card--photo .resources-sidebar__icon,
    .resources-sidebar__card--photo .resources-sidebar__quote-icon {
      margin-bottom: 10px;
    }
    .dark-card--photo .dark-card__heading,
    .resources-sidebar__card--photo .resources-sidebar__title {
      margin-bottom: 0;
      /* text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); */
    }
    .dark-card--photo .dark-card__desc,
    .resources-sidebar__card--photo .resources-sidebar__desc,
    .resources-sidebar__card--photo .resources-sidebar__quote-text {
      margin-bottom: 18px;
    }
    .dark-card--photo .dark-card__stats,
    .resources-sidebar__card--photo .resources-sidebar__stats {
      margin-bottom: 18px;
    }
    .resources-sidebar__card--photo .resources-sidebar__quote-author {
      margin-bottom: 18px;
      opacity: 0.85;
    }
    .dark-card--photo .dark-card__btn,
    .resources-sidebar__card--photo .resources-sidebar__btn {
      margin-top: 0;
    }

    /* ── Blog category list (Resources mega menu > right sidebar card,
       displayed on top of the photo overlay) ──
       Plain outline icons only — no per-category coloring. */
    .resources-sidebar__cats {
      display: flex;
      flex-direction: column;
      margin-bottom: 16px;
      width: 100%;
    }
    .resources-sidebar__cats-item {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.18);
      text-decoration: none;
      color: #ffffff;
      transition: padding-left 0.2s ease, opacity 0.2s ease;
    }
    .resources-sidebar__cats-item:last-child {
      border-bottom: none;
    }
    .resources-sidebar__cats-item:hover {
      padding-left: 4px;
      opacity: 0.85;
    }
    .resources-sidebar__cats-icon {
      flex: 0 0 auto;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 18px;
      height: 18px;
      color: #ffffff;
    }
    .resources-sidebar__cats-icon svg {
      width: 14px;
      height: 14px;
    }
    .resources-sidebar__cats-label {
      flex: 1 1 auto;
      font-size: 0.825rem;
      font-weight: 400;
      line-height: 1.2;
      color: #ffffff;
      text-align:left;
    }
    .resources-sidebar__cats-arrow {
      flex: 0 0 auto;
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(255, 255, 255, 0.7);
    }
    .resources-sidebar__cats-arrow svg {
      width: 9px;
      height: 9px;
    }

    /* ===== Resources Mega Menu — Sidebar Cards ===== */
    .resources-sidebar{
      display:flex;
      flex-direction:column;
      gap:16px;
      height:100%;
    }
    .resources-sidebar__card{
      position:relative;
      border-radius:20px;
      padding:28px;
      color:#fff;
      overflow:hidden;
      isolation:isolate;
      box-sizing:border-box;
    }
    /* Whichever of Blog / Case Studies is the ACTIVE card stretches to fill
       the sidebar column and finishes flush with the bottom edge of the
       mega menu — matching the full-height behavior of the Technology
       sidebar (.dark-card). Content is bottom-aligned, so the top of the
       card shows the photo and everything (label, heading, text, CTA)
       sits together at the bottom — exactly like the Technology card.
       Scoped to .is-active only, so the inactive card's existing hide/show
       behavior (handled elsewhere) is untouched. */
    .resources-sidebar__card.is-active[data-res-sidebar="blog"],
    .resources-sidebar__card.is-active[data-res-sidebar="casestudies"]{
      display:flex;
      flex-direction:column;
      justify-content:flex-end;
      flex:1 1 auto;
    }
    .resources-sidebar__card--photo{
      background:#1b1e41;
      transition:box-shadow .35s ease, transform .35s ease;
    }
    .resources-sidebar__card--photo::before{
      content:"";
      position:absolute;
      inset:0;
      background-image:var(--card-bg);
      background-size:cover;
      background-position:center;
      z-index:-2;
      transition:transform .5s ease;
      transform:scale(1);
    }
    .resources-sidebar__card--photo::after{
      content:"";
      position:absolute;
      inset:0;
      background:linear-gradient(180deg, rgba(27,30,65,.55) 0%, rgba(27,30,65,.65) 40%, rgba(10,12,32,.92) 100%);
      z-index:-1;
      transition:background .35s ease;
    }
    .resources-sidebar__card--photo:hover{
      box-shadow:0 16px 36px rgba(10,12,32,.4);
      transform:translateY(-4px);
    }
    .resources-sidebar__card--photo:hover::before{
      transform:scale(1.08);
    }
    .resources-sidebar__card--photo:hover::after{
      background:linear-gradient(180deg, rgba(27,30,65,.6) 0%, rgba(27,30,65,.72) 40%, rgba(10,12,32,.96) 100%);
    }
    .resources-sidebar__title{
      font-size:1.25rem;
      font-weight:700;
      color:#fff;
      margin:0 0 8px;
    }


    /* ===== Client Success Journey card =====
       Stretches to full height (via [data-res-sidebar="casestudies"] above)
       and anchors its CTA to the bottom, matching the Technology card. */
    .resources-sidebar__card--journey{
      padding:24px 24px 22px;
      box-sizing:border-box;
    }
    .journey-eyebrow{
      display:inline-block;
      font-size:10px;
      font-weight:700;
      letter-spacing:.04em;
      text-transform:uppercase;
      color:#3dba6e;
      background:rgba(61,186,110,.14);
      border:1px solid rgba(61,186,110,.4);
      padding:3px 9px;
      border-radius:999px;
      margin-bottom:8px;
      width:fit-content;
    }

    .journey-subtext{
      font-size:12px;
      line-height:1.4;
      color:rgba(255,255,255,.78);
      margin:0 0 12px;
      max-width:96%;
    }
    .journey-list{
      list-style:none;
      margin:0;
      padding:0;
      display:flex;
      flex-direction:column;
      gap:12px;
    }
    .journey-step{
      display:flex;
      align-items: center;
      gap:12px;
    }
    .journey-step__icon{
      flex:0 0 auto;
      width:32px;
      height:31px;
      border-radius:50%;
      display:flex;
      align-items:center;
      justify-content:center;
      background:rgba(255,255,255,.12);
      border:1px solid rgba(255,255,255,.35);
    }
    .journey-step__icon svg{
      width:16px;
      height:16px;
      fill:none;
      stroke:#fff;
      stroke-width:1.8;
      stroke-linecap:round;
      stroke-linejoin:round;
    }
    .journey-step__text{
      padding-top:0;
      min-width:0;
    }
    .journey-step__title{
      display:block;
      font-size: 0.825rem;
    font-weight: 500;
      color:#fff;
      line-height:1.2;
    }
    .journey-step__desc{
      display:block;
      font-size:10.5px;
      line-height:1.25;
      color:rgba(255,255,255,.68);
      margin-top:1px;
    }

/* ─── Responsive — Tablet ────────────────── */
@media (max-width: 1100px) {
  .resources-mega__body { grid-template-columns: 320px 1fr; }
  .resources-sidebar { display: none; }
  .res-panels { border-right: none; }
  .corp-panel__sidebar {
    width: 300px;
  }
}

/* ─── Responsive — Mobile ────────────────── */
@media (max-width: 900px) {
  .resources-mega__body { grid-template-columns: 1fr; min-height: 0; }

  /* Tabs nav becomes the accordion container */
  .res-tabs {
    border-right: none;
    padding: 10px;
    background: var(--color-white);
  }

  .res-tabs__header { display: none; }

  .res-tabs__list {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0;
  }

  /* Hide desktop content/sidebar columns (panels relocate into the accordion) */
  .res-panels,
  .resources-sidebar { display: none; }

  .resource-post-card__thumb { width: 80px; height: 60px; }
}

/* ============================================
   Hero (demo content)
   ============================================ */
.hero {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px 24px 120px;
}

.hero__badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(8, 175, 119, 0.1);
  color: var(--color-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero__content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 640px;
}

.hero__content p {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 520px;
  min-width:520px;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ============================================
   Responsive — Tablet
   ============================================ */
@media (max-width: 1100px) {
  .mega-menu__grid {
    grid-template-columns: 1fr 1fr;
  }

  .mega-menu__column--banner {
    grid-column: 1 / -1;
  }

  .featured-banner {
    min-height: 220px;
  }

  .services-mega__body {
    grid-template-columns: 1fr;
  }

  .services-mega__visuals {
    flex-direction: row;
    border-left: none;
    border-top: 1px solid var(--color-border);
    padding: 20px 28px 28px;
  }

  .visual-card {
    flex: 1;
    min-height: 140px;
  }

  .services-mega__columns {
    grid-template-columns: 1fr 1fr;
    padding: 24px;
  }

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

  .services-mega__column--divider:nth-child(2) {
    border-left: none;
  }
}

/* ============================================
   Responsive — Mobile
   ============================================ */
@media (max-width: 900px) {
  .navbar__toggle {
    display: flex;
    float:right
  }

  .navbar__menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 32px;
    background: var(--color-white);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1001;
    justify-content: flex-start;
    height: calc(100vh - var(--header-height));
  }

  .navbar__menu.is-open {
    transform: translateX(0);
  }

  .navbar__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 12px;
    font-size: 1rem;
    border-radius: 10px;
  }

  /* Show the chevron arrow only on mobile */
  .nav-chevron {
    display: block;
  }

  .nav-link--active::after {
    display: none;
  }

  .nav-item--mega {
    position: relative;
  }

  /* Disable hover open on mobile; collapsed menus take zero space with display:none */
  .nav-item--mega:hover .mega-menu {
    display: none;
    pointer-events: none;
  }

  /* Closed mega-menu: removed from layout flow entirely */
  .mega-menu {
    display: none;
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  /* Open mega-menu */
  .nav-item--mega.is-open .mega-menu,
  .nav-item--mega.is-open:hover .mega-menu {
    display: block;
    pointer-events: auto;
  }

  .mega-menu__inner {
    padding: 0;
  }

  .mega-menu__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px;
    border-radius: 12px;
    box-shadow: none;
    border: 1px solid var(--color-border);
    margin-top: 4px;
  }

  .mega-menu__panel {
    border-radius: 0;
    box-shadow: none;
    border:0;
  }

   .services-mega__body {
    grid-template-columns: 1fr;
  }

  .services-mega__columns {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 0;
  }

  .services-mega__column {
    padding: 0 0 16px;
    border-left: none !important;
    border-bottom: 1px solid var(--color-border);
  }

  .services-mega__column:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
  }

  .services-mega__visuals {
    flex-direction: column;
    padding: 16px;
    border-top: 1px solid var(--color-border);
  }

  .visual-card {
    min-height: 120px;
  }

  .services-mega__cta {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
    gap: 14px;
  }

  .services-mega__cta-art {
    display: none;
  }

  .services-mega__cta-btn {
    width: 100%;
    justify-content: center;
  }

  .mega-backdrop {
    display: block;
    top: 0;
  }

  .navbar__actions {
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    margin-left: 0;
  }

  .navbar__actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px;
  }

  .blog-card {
    grid-template-columns: 80px 1fr;
  }

  .blog-card__thumb {
    width: 80px;
    height: 60px;
  }

  .featured-banner {
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0 15px;
  }

  .service-card {
    padding: 10px;
  }

  .service-card__desc {
    font-size: 0.6875rem;
  }
}

@media (min-width: 901px) {
  .mega-backdrop {
    display: block;
  }
  .navbar-home .nav-link {
  color: var(--color-primary);
}
.home .navbar-home .nav-link {
  color: var(--color-white);
}
.mega-menu__panel {
  overflow: hidden;
  max-height:520px;
  min-height:520px;
}
.trending-technologies {
     display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 12px;
}
}

/* ============================================
   Corporate Mega Menu (vertical tabs)
   ============================================ */
.corporate-mega .mega-menu__panel {
  padding: 0;
}

.corp-mega__body {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  min-height: 320px;
}

.corp-tabs {
  display: flex;
  flex-direction: column;
  /* border-right: 1px solid var(--color-border); */
  padding: 20px 0;
}

.corp-tabs__header {
  padding: 0 0 14px 28px;
  /* border-bottom: 1px solid var(--color-border); */
}

.corp-tabs__kicker {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
}

.corp-tabs__list { padding: 10px 0 10px 28px; display:flex; flex-direction:column; gap:8px; }
.corp-tabs__list li { border-top: 1px solid var(--color-border); }

.corp-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: var(--transition);
  position: relative;
}

/* .corp-tab:hover { background: rgba(8,175,119,0.04); border-color: rgba(8,175,119,0.08); } */

/* .corp-tab.is-active { background: var(--color-white); border-color: var(--color-border); box-shadow: 0 2px 8px rgba(27,30,65,0.06); } */
.corp-tab.is-active::before { content: ''; position: absolute; left: -1px; top: 20%; bottom: 20%; width: 3px; background: var(--color-secondary); border-radius: 0 3px 3px 0; }

.corp-tab__label { font-size: 0.9375rem; font-weight:600; color:var(--color-primary); }
.corp-tab.is-active .corp-tab__label, .corp-tab:hover .corp-tab__label { color: var(--color-secondary); }

.corp-tab__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(27, 30, 65, 0.04);
  color: var(--color-primary);
  transition: var(--transition);
}

.corp-tab__icon svg {
  width: 20px;
  height: 20px;
}

.corp-tab.is-active .corp-tab__icon, .corp-tab:hover .corp-tab__icon {
  background: rgba(8, 175, 119, 0.08);
  color: var(--color-secondary);
}

.corp-tab-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 54px 0 0 28px !important;
  padding: 18px 16px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-subtle);
  text-decoration: none;
  transition: var(--transition);
}

.corp-tab-card:hover {
  border-color: rgba(8, 175, 119, 0.15);
  background: rgba(8, 175, 119, 0.06);
}

.corp-tab-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(8, 175, 119, 0.12);
  color: var(--color-secondary);
}

.corp-tab-card__headline {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.corp-tab-card__text {
  margin: 6px 0 0;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.corp-tab-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--color-secondary);
  font-size: 0.875rem;
}

.corp-tab-card__cta::after {
  content: '→';
  display: inline-block;
  transition: transform 0.2s ease;
}

.corp-tab-card:hover .corp-tab-card__cta::after {
  transform: translateX(2px);
}

.corp-panels { padding: 28px 28px 28px 40px; }
.corp-panel { display: none; flex-direction: column; gap:16px; }
.corp-panel.is-active { display: flex; }
.corp-panel__hero {
  display: grid;
  gap: 4px;
  /* border-bottom: 1px solid var(--color-border); 
  margin-bottom: 6px;*/
}
.corp-panel__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(8,175,119,0.08);
  color: var(--color-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: fit-content;
}
.corp-panel__title { font-size: 1rem; font-weight: 700; color: var(--color-primary); line-height: 1.2;margin-bottom:18px; }
.corp-panel__desc { font-size: 0.8rem; color: var(--color-text-muted); max-width: 520px;margin: 0; }

.corp-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.corp-summary-card {
  padding: 18px 16px;
  border-radius: 16px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 32px rgba(27, 30, 65, 0.06);
}
.corp-summary-card strong {
  display: block;
  font-size: 1.6rem;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.corp-summary-card span {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.corp-links-panel {
  padding-top: 6px;
}
.corp-links__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.corp-links-list {
  display: grid;
  gap: 10px;
}
.corp-link-card {
  display: block;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  transition: var(--transition);
  color: var(--color-primary);
}
.corp-link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(8,175,119,0.16);
  box-shadow: 0 10px 26px rgba(27,30,65,0.08);
}
.corp-link-card span { font-weight: 600; }

.corp-awards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.corp-award-card {
  display: grid;
  /* grid-template-columns: repeat(3, 1fr); */
  gap: 16px;
  align-items: center;
  padding: 12px 0 18px;
}

.corp-award {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 12px 24px;
  border-radius: 10px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  width: 100%;
}

.corp-award-logo img {
  width: 140px;
  height: auto;
  display: block;
}

.corp-award__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.corp-award__year {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.corp-award__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary);
}

.corp-award__subtitle {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

@media (max-width: 880px) {
  .corp-awards-logos {
    grid-template-columns: 1fr;
  }
}
.corp-award-card {
  border: 1px solid var(--color-border);
  background: var(--color-white);
  transition: var(--transition);
}
.corp-award-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(27, 30, 65, 0.08);
  border-color: rgba(8,175,119,0.16);
}
.corp-award-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(8,175,119,0.1);
  font-size: 18px;
}
.corp-award-card strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.corp-award-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.corp-contact-grid {
  display: grid;
  gap: 14px;
}
.corp-contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  background: var(--color-white);
  transition: var(--transition);
}

.corp-contact-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.corp-contact-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}
.corp-contact-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--color-bg-subtle);
  color: var(--color-secondary);
  font-weight: 700;
}

.corp-contact-layout { display:grid; grid-template-columns:1fr; gap:18px; margin-top:6px; }
.corp-contact-map-card { display:flex; flex-direction:column; gap:14px;overflow:hidden; }
.corp-contact-map-header { padding:0 0 8px 0; border-bottom:1px solid var(--color-border); }
.corp-contact-map-kicker { font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-secondary); }
.corp-contact-map-card strong { display:block; margin-top:10px; font-size:1rem; color:var(--color-primary);font-weight:normal;}
.corp-contact-map-card img { width:100%; height:auto; display:block; object-fit:cover; }
.corp-contact-panel { display:grid; gap:12px; }
.corp-contact-card { display:flex; gap:14px; align-items:center; padding:18px; text-decoration:none; color:inherit; }
.corp-contact-card strong { display:block; margin:0 0 6px; font-size:0.95rem; }
.corp-contact-card a { color: var(--color-primary); text-decoration:none;font-size:0.875rem; }
.corp-contact-card__icon { width:40px; height:40px; flex-shrink:0; display:inline-grid; place-items:center; border-radius:14px; background:var(--color-bg-subtle); color:var(--color-secondary); }
.corp-contact-card__icon svg{ width:20px; height:20px; }
.corp-contact-card--link { border-color: rgba(8,175,119,0.12); }
.corp-contact-details { display:grid; gap:16px; margin-top:18px; }
.corp-contact-info-block { padding:18px; border-radius:18px; background:var(--color-white); border:1px solid var(--color-border); box-shadow:0 12px 26px rgba(27,30,65,0.04); }
.corp-contact-info-block h4 { margin:0 0 8px; font-size:0.95rem; color:var(--color-primary); }
.corp-contact-info-block p { margin:0; color:var(--color-text-muted); font-size:0.9rem; line-height:1.6; }

.corp-sidebar {
  padding: 28px 28px 28px 0;
  /* border-left:1px solid var(--color-border); */
  display:flex;
  flex-direction:column;

}
.corp-sidebar__meta {
  display:flex;
  flex-direction:column;
  gap:4px;
  /* padding:18px;
  border-radius:20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 34px rgba(27, 30, 65, 0.07); */
  margin-bottom: 24px;
}
.corp-sidebar__badge {
  display:inline-flex;
  padding:6px 14px;
  border-radius:999px;
  background: rgba(8,175,119,0.1);
  color: var(--color-secondary);
  font-size:0.72rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.08em;
  width: fit-content;
}
.corp-sidebar__title { font-size:1rem; font-weight:700; color:var(--color-primary); margin:0; }
.corp-sidebar__text { margin:0; color:var(--color-text-muted); font-size:0.75rem; line-height:1.6; }
.corp-sidebar__facts { display:grid; gap:12px; }
.corp-fact-card {
  padding:16px;
  border-radius:16px;
  background: rgba(8,175,119,0.06);
  border: 1px solid rgba(8,175,119,0.12);
}
.corp-fact-card strong { display:block; font-size:0.92rem; margin-bottom:6px; }
.corp-fact-card span { color: var(--color-text-muted); font-size:0.82rem; line-height:1.5; }

/* Why Choose Us (sidebar) */
.corp-why-list { list-style: none; padding: 0; margin: 0 0; display: none; gap: 0; }
.corp-why-item { display: block; gap: 14px; align-items: flex-start; padding: 12px; border: 1px solid var(--color-border);border-radius:8px;  background: var(--color-white); transition: var(--transition); }
.corp-why-item:hover { border-color: rgba(8, 175, 119, 0.2); transform: translateY(-2px); }
.corp-why-icon { flex-shrink: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--color-secondary); background: rgba(8, 175, 119, 0.1); border-radius: 10px;margin-bottom: 8px;}
.corp-why-icon svg { width: 20px; height: 20px; stroke-width: 1.8; }
.corp-why-content { display: flex; flex-direction: column; gap: 5px; }
.corp-why-content strong { font-size: 1.05rem; font-weight: 700; color: var(--color-primary); line-height: 1.2; }
.corp-why-content span { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.4; }
.corp-sidebar.show-overview .corp-why-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

/* Deprecated grid styles (kept for reference) */
.corp-why-grid { display:none; grid-template-columns:repeat(2,1fr); gap:10px; margin-top:12px; }
.corp-why-card { padding:14px; border-radius:12px; background:var(--color-white); border:1px solid var(--color-border); text-align:center; }
.corp-why-card strong { display:block; font-size:1.15rem; color:var(--color-primary); margin-bottom:8px; }
.corp-why-card{ font-size:0.75rem;line-height:normal;display:block;}

.corp-link-grid { display:grid; grid-template-columns:repeat(1,1fr); gap:16px; margin: 0;overflow:auto;max-height:calc(100vh - 50px); }
.corp-link { display:flex; flex-direction:row; align-items:center; gap:16px; padding:10px; border-radius:12px; background:var(--color-white); border:1px solid var(--color-border); text-align:left; color:var(--color-primary); text-decoration:none; transition:var(--transition); }
.corp-link:hover { background:var(--color-bg-subtle); border-color:rgba(8, 175, 119, 0.2); box-shadow:0 14px 30px rgba(27,30,65,0.05); transform:translateY(-1px); }
.corp-link:hover .corp-link__icon { background:rgba(8, 175, 119, 0.12); }
.corp-link__icon { flex-shrink:0; width:44px; height:44px; display:grid; place-items:center; border-radius:10px; background:var(--color-bg-subtle); color:var(--color-secondary); transition:var(--transition); }
.corp-link__icon svg { width:24px; height:24px; }
.corp-link__content { display:flex; flex-direction:column; gap:4px; }
.corp-link__label { font-size:0.95rem; font-weight:600; color:var(--color-primary); }
.corp-link__desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.corp-link:hover .corp-link__label { color:var(--color-secondary); }
.corp-stats-wrap { margin-top:14px; }
.corp-stats-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:8px; }
.corp-stat-card { padding:12px; border-radius:10px; background:var(--color-white); border:1px solid var(--color-border); text-align:center; }
.corp-stat-card strong { display:block; font-size:1.05rem; color:var(--color-primary); }

.corp-awards-logos { display:flex; gap:12px; align-items:center; margin:0 0 12px 0; flex-wrap:wrap; }
/* .corp-award-logo img { display:block; height:32px; width:auto; filter:grayscale(0.02); } */
.corp-featured-award { margin-top:0; padding:12px; border-radius:12px; background:var(--color-white); border:1px solid var(--color-border); box-shadow:0 8px 20px rgba(27,30,65,0.04); }
.corp-featured-award__body { display:flex; gap:12px; align-items:center; }
.corp-featured-award__body--stacked { flex-direction: column; align-items: flex-start; }
.corp-featured-award__content { display: flex; flex-direction: column; gap:10px;text-align: center; }
.corp-featured-award__content p{ font-size:0.85rem;}
.corp-featured-award__logo { width: 100%; display: flex; justify-content: center; }
.corp-featured-award__logo img { display: block; max-width: 100%; height: auto; }

.corp-sidebar__award { display: none; }
.corp-sidebar.show-awards .corp-sidebar__award { display: block; }
.corp-sidebar__contact { display: none; grid-template-columns: 1fr; gap: 0; }
.corp-sidebar.show-contact .corp-sidebar__contact { display: grid; }
.corp-featured-award__logo img { width:120px; height:auto; display:block; }

.corp-contact-cards { display:grid; gap:12px; grid-template-columns:1fr 1fr; }
.corp-contact-card { padding:14px 0; border-top:1px solid var(--color-border);}
.corp-contact-card strong { font-size:1rem; color:var(--color-primary); display:block; margin-bottom:0; }
.corp-contact-info { margin-top:12px; }
.corp-info-list { list-style:none; padding:0; margin:0; display:grid; gap:8px; font-size:0.88rem; color:var(--color-text-muted); }
.corp-info-list a { color:var(--color-primary); text-decoration:none; }
.corp-follow { display:flex; align-items:center; gap:10px; margin-top:8px; }
.social-icons { display:flex; gap:8px; }
.social-icon { display:inline-flex; width:36px; height:36px; border-radius:10px; align-items:center; justify-content:center; background:var(--color-bg-subtle); color:var(--color-primary); text-decoration:none; border:1px solid var(--color-border); }

/* ── Corp panel: two-column inner layout ────── */
.corp-panel__inner {
  display: flex;
  gap: 0;
  align-items: flex-start;
  height: 100%;
}
.corp-panel__content {
  flex: 1;
  min-width: 0;
  padding-right: 4px;
}
.corp-panel__sidebar {
  width: 360px;
  flex-shrink: 0;
  padding: 0 0 0 20px;
  margin-left: 16px;
}

/* Sidebar header */
.corp-sidebar-header { margin-bottom: 14px; }
.corp-sidebar-header__title {
  font-size: 1rem; font-weight: 700; color: #111;
  margin: 0 0 3px; line-height: 1.3;
}
.corp-sidebar-header__sub { font-size: 11px; color: #888; margin: 0; }



/* ── Award card (Awards sidebar) ────────────── */
.corp-award-card {
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  background: #fff;
}
.corp-award-card__logo {
  display: flex; align-items: center; justify-content: center;
  min-height: 52px; margin-bottom: 10px;
}
.corp-award-card__logo img { max-height: 120px; width: auto; object-fit: contain; }
.corp-award-card__title {
  display: block; font-size: 13px; font-weight: 700;
  color: #111; margin-bottom: 6px; line-height: 1.35;
}
.corp-award-card__desc { font-size: 11.5px; color: #666; line-height: 1.55; margin: 0; }

/* ── Contact items (Contact sidebar) ─────────── */
.corp-contact-sidebar { display: flex; flex-direction: column; }
.corp-contact-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}
.corp-contact-item:last-child { border-bottom: none; }
.corp-contact-item__icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 8px;
  border: 1.5px solid #d5f0e6; background: #f0faf6;
  display: flex; align-items: center; justify-content: center;
  color: #00b67a;
}
.corp-contact-item__icon svg { width: 20px; height: 20px; }
.corp-contact-item__body { display: flex; flex-direction: column; gap: 2px; }
.corp-contact-item__label { font-size: 1rem; font-weight: 700; color: #111; }
.corp-contact-item__value {
  font-size: 0.875rem; color: #555; text-decoration: none; word-break: break-all;
}
.corp-contact-item__value:hover { color: #00b67a; text-decoration: underline; }

/* Responsive adjustments - match solutions behavior */
@media (max-width: 1100px) {
  .corp-mega__body { grid-template-columns: 280px 1fr; }
  .corp-link-grid { grid-template-columns:repeat(1,1fr); }
  .corp-stats-grid { grid-template-columns:repeat(2,1fr); }
  .corp-contact-cards { grid-template-columns:1fr; }
  .corp-contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .corp-mega__body { grid-template-columns: 1fr; min-height: 0; }

  /* Tabs nav becomes the accordion container */
  .corp-tabs { border-right:none; padding:10px; background:var(--color-white); }
  .corp-tabs__header { display:none; }
  .corp-tab-card { display:none; }
  .corp-tabs__list { flex-direction:column; flex-wrap:nowrap; gap:8px; padding:0; }

  /* Hide desktop content/sidebar columns (panels relocate into the accordion) */
  .corp-panels,
  .corp-sidebar { display:none; }

  .corp-summary-grid,
  .corp-awards-grid,
  .corp-contact-grid,
  .corp-link-grid,
  .corp-stats-grid,
  .corp-contact-cards,
  .corp-why-grid,
  .corp-why-list {
    grid-template-columns: 1fr;
  }
  .corp-link { padding:10px; }
}


/* ============================================
   Industries Mega Menu
   ============================================ */

/* Override inner padding — panel provides its own spacing */
/* .mega-menu--industries .mega-menu__inner {
  padding: 20px 24px 28px;
} */

/* The panel already gives white bg + shadow via .mega-menu__panel */
.industries-mega {
  display: flex;
  flex-direction: column;
}

/* ── 3-column body: [lists-wrap (header + 2 cols)] | [banner] ── */
.industries-mega__body {
  display: grid;
  grid-template-columns: 1fr 368px;
  gap: 0;
  min-height: 520px;
}

/* Left side wrapper */
.industries-mega__lists-wrap {
  display: flex;
  flex-direction: column;
  padding: 28px 40px 28px 28px;
}

/* ── Header ── */
.industries-mega__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
}

.industries-mega__header-text {
  display: flex;
  align-items: center;
  gap: 12px;
}

.industries-mega__kicker {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
}

.industries-mega__title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
  padding: 0;
}

.industries-mega__view-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-secondary);
  padding: 5px 12px;
  border: 1.5px solid rgba(8, 175, 119, 0.3);
  border-radius: 7px;
  transition: var(--transition);
  white-space: nowrap;
}

.industries-mega__view-all:hover {
  background: rgba(8, 175, 119, 0.06);
  border-color: var(--color-secondary);
  gap: 7px;
}

/* ── 2-column industry list grid ── */
.industries-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 8px;
  flex: 1;
}

.industries-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Each industry row */
.industry-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 9px;
  transition: background 0.17s ease, transform 0.17s ease;
  cursor: pointer;
  color: inherit;
}

.industry-card:hover {
  background: var(--color-bg-subtle);
  transform: translateX(3px);
}

.industry-card:hover .industry-card__title {
  color: var(--color-secondary);
}

.industry-card:hover .industry-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Icon box */
.industry-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 30, 65, 0.05);
  border-radius: 8px;
  color: var(--color-primary);
  transition: background 0.17s, color 0.17s;
}

.industry-card:hover .industry-card__icon {
  background: rgba(8, 175, 119, 0.12);
  color: var(--color-secondary);
}

.industry-card__icon svg {
  width: 20px;
  height: 20px;
}

/* Text */
.industry-card__content {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}

.industry-card__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: color 0.17s;
  white-space: nowrap;
}

.industry-card__desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.35;
  /* white-space: nowrap; */
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Arrow */
.industry-card__arrow {
  flex-shrink: 0;
  color: var(--color-secondary);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.17s, transform 0.17s;
}

/* ── Right banner column ── */
.industries-mega__banner-col {
  padding: 28px 28px 28px 0px;
  display: flex;
  flex-direction: column;
}

.industries-mega__banner-col .featured-banner {
  flex: 1;
  min-height: 0;
  border-radius: 12px;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .industries-mega__body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .industries-mega__body {
    grid-template-columns: 1fr;
  }

  .industries-mega__banner-col {
    display: none;
  }

  .industries-mega__lists-wrap {
    border-right: none;
    padding: 16px;
  }

  .industries-mega__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .industry-card__arrow {
    display: none;
  }
}


/* ============================================
   Mobile Accordion (shared across all mega menus)
   Built on mobile by relocating each tab's panel
   directly beneath its header via JS.
   ============================================ */
@media (max-width: 900px) {
  /* Accordion item = a tab's <li> with its panel moved inside */
  .acc-item {
    display: block;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--color-white);
  }

  /* Header row (the former tab button / direct link) */
  .acc-head {
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 12px 14px;
    text-align: left;
    background: var(--color-bg-subtle);
    border: none;
    border-radius: 0;
    cursor: pointer;
    color: var(--color-primary);
    text-decoration: none;
    font: inherit;
    transition: background 0.2s ease;
  }

  .acc-head:hover { background: rgba(8, 175, 119, 0.05); }

  .acc-item.is-expanded > .acc-head {
    background: rgba(8, 175, 119, 0.08);
  }

  /* Remove desktop accent bar / active chrome inside accordion */
  .acc-head::before { display: none !important; }

  /* Header icon sizing (covers every menu's icon class) */
  .acc-head .sol-tab__icon,
  .acc-head .tech-tab__icon,
  .acc-head .res-tab__icon,
  .acc-head .corp-tab__icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 8px;
  }

  .acc-head .sol-tab__icon svg,
  .acc-head .tech-tab__icon svg,
  .acc-head .res-tab__icon svg,
  .acc-head .corp-tab__icon svg {
    width: 16px;
    height: 16px;
  }

  /* Header text */
  .acc-head .sol-tab__body,
  .acc-head .tech-tab__body,
  .acc-head .res-tab__body,
  .acc-head .corp-tab__body {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
  }

  .acc-head .sol-tab__label,
  .acc-head .tech-tab__label,
  .acc-head .res-tab__label,
  .acc-head .corp-tab__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    white-space: normal;
  }

  .acc-item.is-expanded > .acc-head .sol-tab__label,
  .acc-item.is-expanded > .acc-head .tech-tab__label,
  .acc-item.is-expanded > .acc-head .res-tab__label,
  .acc-item.is-expanded > .acc-head .corp-tab__label {
    color: var(--color-secondary);
  }

  .acc-head .sol-tab__sub,
  .acc-head .tech-tab__sub,
  .acc-head .res-tab__sub {
    display: block;
    font-size: 0.7rem;
    color: var(--color-text-muted);
    white-space: normal;
  }

  /* Hide the native per-menu arrows; the accordion uses its own chevron */
  .acc-head .sol-tab__arrow,
  .acc-head .tech-tab__chevron,
  .acc-head .res-tab__arrow {
    display: none !important;
  }

  /* Accordion chevron (injected by JS) */
  .acc-chev {
    margin-left: auto;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: transform 0.25s ease, color 0.2s ease;
  }

  .acc-item.is-expanded > .acc-head .acc-chev {
    transform: rotate(90deg);
    color: var(--color-secondary);
  }

  /* Direct-link rows (no panel) get a subtle external-link cue */
  .acc-link > .acc-head { cursor: pointer; }

  /* Relocated panel content */
  .acc-panel {
    display: none !important;
    padding: 6px 14px 14px;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    animation: none !important;
  }

  .acc-item.is-expanded > .acc-panel {
    display: block !important;
  }

  /* The panel's own heading repeats the accordion label — hide it */
  .acc-panel .sol-panel__head,
  .acc-panel .tech-panel__head,
  .acc-panel .res-panel__head,
  .acc-panel .corp-panel__head {
    display: none;
  }

  /* Tighten link lists inside the expanded panel */
  .acc-panel .mega-link-list {
    gap: 2px;
  }
}


/* ============================================================
   Bento-Grid Stats Sidebar — Corporate "Company Overview Highlights"
   Apple + Stripe inspired premium aesthetic
   ============================================================ */

/* ── Sidebar container ─────────────────────────────────── */
.corp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 20px 28px 0;
  overflow: hidden;
}

/* ── Section header ────────────────────────────────────── */
.bento-header {
  padding: 0 4px;
}

.bento-header__title {
  font-size: 1rem;
  font-weight: 700;
  color: #1B2143;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.bento-header__sub {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ── Bento grid ────────────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ── Base card ─────────────────────────────────────────── */
.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 14px 14px;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(27, 33, 67, 0.10);
}

/* Decorative background art (absolute, full-card) */
.bento-card__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

.bento-card__deco svg {
  position: absolute;
  bottom: 0;
  right: 0;
  width: auto;
  height: auto;
  object-fit: cover;
}

/* ── Icon pill ─────────────────────────────────────────── */
.bento-card__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}

.bento-card__icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.5;
}

/* ── Number ────────────────────────────────────────────── */
.bento-card__num {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #1B2143;
  margin-top: 4px;
}

/* ── Label ─────────────────────────────────────────────── */
.bento-card__label {
  position: relative;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 500;
  color: #1B2143;
  opacity: 0.65;
  letter-spacing: 0.01em;
}

/* ── Full-width card (5th — Team Members) ──────────────── */
.bento-card--full {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
}

.bento-card--full .bento-card__deco svg {
  width: 48px;
  height: 48px;
  bottom: -10%;
  opacity: 1;
}

.bento-card--full .bento-card__num {
  font-size: 2rem;
  margin-top: 0;
}

/* ── Colour variants ───────────────────────────────────── */

/* Mint — Hours Delivered */
.bento-card--mint {
  background: #F1FBF7;
  box-shadow: 0 2px 12px rgba(0, 182, 122, 0.08);
}
.bento-card__icon--mint {
  background: rgba(0, 182, 122, 0.14);
  color: #00B67A;
}
.bento-card--mint .bento-card__num { color: #00875A; }

/* Blue — Happy Clients */
.bento-card--blue {
  background: #F4F8FF;
  box-shadow: 0 2px 12px rgba(99, 140, 255, 0.08);
}
.bento-card__icon--blue {
  background: rgba(99, 140, 255, 0.14);
  color: #4A7CFF;
}
.bento-card--blue .bento-card__num { color: #2F5FCC; }

/* Lavender — Projects */
.bento-card--lavender {
  background: #F7F5FF;
  box-shadow: 0 2px 12px rgba(130, 100, 220, 0.08);
}
.bento-card__icon--lavender {
  background: rgba(130, 100, 220, 0.14);
  color: #7B5EA7;
}
.bento-card--lavender .bento-card__num { color: #5A3E8A; }

/* Beige — Countries Served */
.bento-card--beige {
  background: #FFF9EE;
  box-shadow: 0 2px 12px rgba(180, 140, 60, 0.08);
}
.bento-card__icon--beige {
  background: rgba(180, 140, 60, 0.14);
  color: #B48C3C;
}
.bento-card--beige .bento-card__num { color: #8A6820; }

/* Gold — Team Members (full-width) */
.bento-card--gold {
  background: linear-gradient(135deg, #FFF9EE 0%, #FFF3D6 100%);
  box-shadow: 0 2px 16px rgba(180, 140, 60, 0.10);
}
.bento-card__icon--gold {
  background: rgba(180, 140, 60, 0.16);
  color: #B48C3C;
  flex-shrink: 0;
}
.bento-card--gold .bento-card__num { color: #8A6820; font-size: 2.2rem; }
.bento-card--gold .bento-card__label { font-size: 0.8rem; }

.text-primary{
  color: var(--color-secondary);
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1200px) {
  .bento-card__num { font-size: 1.5rem; }
  .bento-card--full .bento-card__num { font-size: 1.75rem; }
  .bento-card--gold .bento-card__num { font-size: 1.75rem; }
}

@media (max-width: 900px) {
  .corp-sidebar { display: none; } /* hidden on mobile; accordion handles it */
  .corp-panel__inner{
    display: grid;
  }
  .corp-panel__sidebar {
    width: 100%;
    padding: 0 20px;
    margin-left: 0;

}
.cbp-af-header nav a{ margin:0 !important;}
.navbar{ min-height:inherit;height:auto;padding: 0 20px;}
.navbar-header{
  width:100%;
}
}

.home-page-header .logo-scroll{ display:none;}

/* ============================================================
   Services Mega Menu — Industries Image Promo Card
   Replaces the old sol-visual block in the Services menu only.
============================================================ */

/* ── Container: sits in col-3 of sol-mega__body grid ───────── */
.svc-promo-card {
  position: relative;
  padding: 28px 28px 28px 0;
  display: flex;
  align-items: stretch;
  min-width: 0;
}

/* ── Background wrapper (image + overlays) ──────────────────── */
.svc-promo-card__bg {
  position: absolute;
  inset: 28px 28px 28px 0;   /* mirrors padding so card fills the slot */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(27, 30, 65, 0.22), 0 2px 8px rgba(27, 30, 65, 0.10);
}

.svc-promo-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.svc-promo-card:hover .svc-promo-card__img {
  transform: scale(1.04);
}

/* Navy colour overlay — ensures readability across all images */
.svc-promo-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 30, 65, 0.58);
  border-radius: inherit;
}

/* Gradient: dark navy at the bottom where text lives → transparent at top */
.svc-promo-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(27, 30, 65, 0.92) 0%,
    rgba(27, 30, 65, 0.50) 45%,
    transparent 100%
  );
  border-radius: inherit;
}

/* ── Text + CTA content ─────────────────────────────────────── */
.svc-promo-card__body {
  position: relative;          /* above overlays */
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  padding: 28px 24px 28px 24px;
  margin: 0;                   /* bg inset already provides outer padding */
}

/* Copy text */
.svc-promo-card__copy {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin: 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.40);
}

.svc-promo-card__copy em,
.svc-promo-card__copy strong {
  color: #4ECCA3;
  font-style: normal;
}

/* CTA button */
.svc-promo-card__btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  background: #08AF77;
  color: #ffffff !important;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(8, 175, 119, 0.40);
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.svc-promo-card__btn:hover {
  background: #069a68;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(8, 175, 119, 0.50);
  color: #ffffff !important;
}

/* ── Responsive ─────────────────────────────────────────────── */

/* ≤ 1100px: hide promo card (mirrors existing sol-visual tablet hide) */
@media (max-width: 1100px) {
  .svc-promo-card {
    display: none;
  }
}


/* ── Dedicated Teams panel: 2-col grid on desktop, 1-col on mobile ── */
#svc-panel-teams .mega-link-list--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 12px;
}
@media (max-width: 767px) {
  #svc-panel-teams .mega-link-list--grid {
    grid-template-columns: 1fr;
  }
}
#svc-panel-teams .mega-link-list--grid .mega-link {
  font-size: 0.82rem;
}

/* ── Resources panel: View All footer button ── */
.res-panel__footer {
  margin-top: 14px;
  padding-top: 12px;
  text-align: right;
}
.res-panel__view-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #08af77;
  text-decoration: none;
  transition: gap 0.2s ease;
}
.res-panel__view-all:hover {
  gap: 8px;
  color: #06956a;
}

/* Laptops */
@media (min-width: 991px) and (max-width: 1279px) {
  .navbar-brand{
    width: 150px;
  }
  .navbar{
    padding: 0 20px;
  }
  .navbar__actions{
    margin-left: 0;
  }
  .navbar__links{
    gap: 0;
  }
  .navbar__actions .btn--primary{
    padding: 8px 12px;
    font-size: 0.8125rem;
  }
  .nav-link{
    padding: 8px 12px;
    font-size: 0.8125rem;
  }
  .mega-menu__inner{
    padding: 20px 20px 28px;
  }
  .sol-mega__body{
      grid-template-columns: 290px 1fr 338px;
  }
}

@media (min-width: 1101px) and (max-width: 1279px) {
  .mega-menu__grid{
    grid-template-columns: 260px 1fr 320px;
  }
  .sol-mega__body{
    grid-template-columns: 290px 1fr 320px;
  }
  .mega-menu--solutions .sol-mega__body, .mega-menu--technologies .tech-mega__body {
    grid-template-columns: 290px 1fr 320px;
  }
  .industries-mega__banner-col{
    display: flex;
  }
  .industries-mega__body{
    grid-template-columns: 1fr 320px;
  }
  .resources-mega__body {
    grid-template-columns: 290px 1fr 320px;
  }
}