/* ============================================================
   NAVBAR — Clean Professional Navigation Bar
   ============================================================ */

/* ---- Navbar Container ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 var(--container-padding);
    transition: background-color 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
    background-color: transparent;
}

/* Scrolled state — solid navy */
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.navbar__inner {
    max-width: var(--container-wide);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* ---- Logo ---- */
.navbar__logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
    flex-shrink: 0;
    z-index: 1001;
}

.navbar__logo img {
    height: 48px;
    width: auto;
}

/* ---- Desktop Navigation ---- */
.navbar__nav {
    display: none;
    align-items: center;
    gap: var(--space-1);
}

@media (min-width: 1024px) {
    .navbar__nav {
        display: flex;
    }
}

/* ---- Nav Link ---- */
.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: 10px 18px;
    font-size: var(--text-base);
    font-weight: 500;
    color: rgba(6, 24, 61, 0.85);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: color var(--transition-fast), background-color var(--transition-fast);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--blue-primary);
    background-color: rgba(6, 24, 61, 0.08);
}

.nav-link.active {
    color: var(--blue-primary);
}

/* Animated underline on active */
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 18px;
    right: 18px;
    height: 2px;
    background-color: var(--orange-cta);
    border-radius: 1px;
}

/* ---- Dropdown Arrow ---- */
.nav-link__chevron {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-fast);
    opacity: 0.8;
}

.nav-item:hover .nav-link__chevron {
    transform: rotate(180deg);
}

/* ---- Dropdown Menu ---- */

/* ---- CTA Button in Nav ---- */
.navbar__cta {
    display: none;
}

@media (min-width: 1024px) {
    .navbar__cta {
        display: inline-flex;
        margin-left: var(--space-4);
    }
}

/* ---- Mobile Menu Toggle ---- */
.navbar__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
}

@media (min-width: 1024px) {
    .navbar__toggle {
        display: none;
    }
}

.navbar__toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--blue-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger → X animation */
.navbar__toggle.active .navbar__toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.navbar__toggle.active .navbar__toggle-bar:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

.navbar__toggle.active .navbar__toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ---- Mobile Menu Overlay ---- */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* ---- Mobile Menu Panel ---- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: var(--space-24) var(--space-6) var(--space-8);
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    flex: 1;
}

.mobile-menu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    font-size: var(--text-base);
    font-weight: 500;
    color: rgba(6, 24, 61, 0.8);
    border-radius: var(--radius-md);
    transition: background-color var(--transition-fast), color var(--transition-fast);
    text-decoration: none;
}

.mobile-menu__link:hover {
    background-color: rgba(6, 24, 61, 0.06);
    color: var(--blue-primary);
}

.mobile-menu__link.active {
    color: var(--orange-cta);
}

/* Mobile submenu */
.mobile-submenu {
    display: none;
    flex-direction: column;
    padding-left: var(--space-4);
    gap: 0;
}

.mobile-submenu.active {
    display: flex;
}

.mobile-submenu__link {
    padding: 10px 16px;
    font-size: var(--text-sm);
    color: rgba(6, 24, 61, 0.65);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.mobile-submenu__link:hover {
    color: var(--blue-primary);
    background-color: rgba(6, 24, 61, 0.04);
}

.mobile-menu__cta {
    margin-top: var(--space-6);
    width: 100%;
    text-align: center;
}

.mobile-menu__divider {
    height: 1px;
    background-color: rgba(6, 24, 61, 0.08);
    margin: var(--space-4) 0;
}

/* Mobile menu contact info */
.mobile-menu__contact {
    margin-top: auto;
    padding-top: var(--space-6);
    border-top: 1px solid rgba(6, 24, 61, 0.08);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.mobile-menu__contact a {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: rgba(6, 24, 61, 0.55);
    text-decoration: none;
}

.mobile-menu__contact a:hover {
    color: var(--blue-primary);
}

.mobile-menu__contact svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ---- Spacer for fixed navbar ---- */
.navbar-spacer {
    height: 80px;
}
/* Mega Menu Dropdowns */
.nav-dropdown {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 900px;
  background: var(--navy-700);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xl);
  padding: 24px;
  z-index: 1010;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
}

.mega-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background: transparent;
}

/* Hover behaviors to reveal dropdown */
.nav-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Company grid layout */
.company-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}

.company-left-card {
  background: linear-gradient(135deg, #06183d, #0A2350);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 280px;
}

.company-left-card .card-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--white);
}

.company-left-card .card-icon svg {
  width: 24px;
  height: 24px;
}

.company-left-card .card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.company-left-card .card-desc {
  color: #FFFFFF;
  font-size: 0.85rem;
  opacity: 0.85;
  line-height: 1.5;
  margin-bottom: 20px;
}

.company-left-card .card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

.company-right-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px;
}

#mega-company {
  width: 1150px !important;
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.mega-item:hover {
  background: var(--gray-50);
  transform: translateX(4px);
}

.item-icon-wrapper {
  width: 40px;
  height: 40px;
  background: var(--violet-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet-500);
  flex-shrink: 0;
}

.item-icon-wrapper svg {
  width: 20px;
  height: 20px;
}

.item-text {
  display: flex;
  flex-direction: column;
}

.item-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 2px;
}

.item-desc {
  font-size: 0.8rem;
  color: var(--gray-300);
  line-height: 1.3;
}

/* Services Grid Layout */
.services-mega-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  height: 380px;
}

.services-sidebar {
  border-right: 1px solid var(--gray-200);
  padding: 8px 16px 8px 0;
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-300);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-400);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sidebar-item .bullet {
  width: 6px;
  height: 6px;
  background: var(--gray-300);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.sidebar-item:hover {
  color: var(--violet-500);
}

.sidebar-item:hover .bullet {
  background: var(--violet-500);
}

.sidebar-item.active {
  background: var(--violet-glow);
  color: var(--violet-500);
}

.sidebar-item.active .bullet {
  background: var(--violet-500);
  transform: scale(1.3);
}

.services-content {
  overflow-y: auto;
  padding: 8px 12px 8px 0;
  height: 100%;
  scroll-behavior: smooth;
}

/* Custom scrollbar for scrollable content */
.services-content::-webkit-scrollbar {
  width: 6px;
}

.services-content::-webkit-scrollbar-track {
  background: var(--gray-50);
  border-radius: var(--radius-full);
}

.services-content::-webkit-scrollbar-thumb {
  background: var(--gray-200);
  border-radius: var(--radius-full);
}

.services-content::-webkit-scrollbar-thumb:hover {
  background: var(--gray-300);
}

.services-group {
  margin-bottom: 24px;
}

.services-group:last-child {
  margin-bottom: 0;
}

.services-group .group-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 16px;
}

.services-items-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.service-mega-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.service-mega-item:hover {
  background: var(--gray-50);
  transform: translateX(4px);
}

.service-mega-item .item-icon-wrapper {
  width: 36px;
  height: 36px;
}

.service-mega-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
}

/* Products Grid Layout */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 1050px;
}

#mega-products {
  width: 1100px;
}

.product-mega-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.product-mega-card:hover {
  border-color: var(--violet-500);
  box-shadow: var(--shadow-sm);
}

.product-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.product-card-header .item-icon-wrapper {
  width: 40px;
  height: 40px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.product-card-header .header-text {
  display: flex;
  flex-direction: column;
}

.product-mega-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-600);
}

.product-mega-subtitle {
  font-size: 0.78rem;
  color: var(--gray-300);
}

.product-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-links li a {
  font-size: 0.88rem;
  color: var(--gray-400);
  font-weight: 500;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  display: block;
}

.product-links li a:hover {
  color: var(--violet-500);
  padding-left: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links .nav-link-item,
.nav-dropdown-trigger {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-400);
  transition: color var(--transition-fast);
  position: relative;
  padding: 8px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links .nav-link-item::after,
.nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #e16d10;
  transition: width var(--transition-base);
}

.nav-links .nav-link-item:hover,
.nav-links .nav-link-item.active,
.nav-dropdown-trigger:hover,
.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown.active .nav-dropdown-trigger {
  color: var(--violet-500);
}

.nav-links .nav-link-item:hover::after,
.nav-links .nav-link-item.active::after,
.nav-dropdown-trigger:hover::after,
.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown.active .nav-dropdown-trigger::after {
  width: 100%;
}

.nav-dropdown-trigger .arrow-icon {
  transition: transform var(--transition-fast);
  display: inline-block;
}

.nav-dropdown:hover .nav-dropdown-trigger .arrow-icon,
.nav-dropdown.active .nav-dropdown-trigger .arrow-icon {
  transform: rotate(180deg);
}

@media (max-width: 1023px) { .nav-links { display: none !important; } }
:root {
  /* Backgrounds â€” Light Mode */
  --navy-900: #FFFFFF;
  /* page bg â€” white */
  --navy-800: #F0F6FA;
  /* alt section bg â€” light blue */
  --navy-700: #FFFFFF;
  /* card / panel bg â€” white */
  --navy-600: #E5F2F9;
  /* subtle border fill */
  --navy-500: #B2D6E7;
  /* muted dividers */

  /* Primary Accent â€” Professional Blue */
  --orange-500: #e16d10;
  /* primary CTA blue */
  --orange-400: #f58428;
  /* lighter blue */
  --orange-600: #c85d0e;
  /* deeper blue */
  --orange-glow: rgba(225, 109, 16, 0.08);

  /* Secondary Accent â€” Light Blue */
  --violet-500: #06183d;
  /* primary brand blue */
  --violet-400: #E8EEF6;
  /* soft light blue */
  --violet-600: #0A2350;
  /* deep professional blue */
  --violet-glow: rgba(6, 24, 61, 0.06);

  /* Text Colors â€” Dark on Light */
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #64748B;
  /* body text muted */
  --gray-400: #334155;
  /* body text â€” dark slate */
  --gray-500: #1E293B;
  /* section headings â€” near black */
  --gray-600: #0F172A;
  /* primary dark text */

  /* Semantic */
  --success: #16A34A;
  --info: #06183d;
  --warning: #F59E0B;
  --danger: #EF4444;

  /* Typography â€” Plus Jakarta Sans */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 0.8rem;
  --space-lg: 1.2rem;
  --space-xl: 1.6rem;
  --space-2xl: 2.2rem;
  --space-3xl: 3rem;
  --space-4xl: 4rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows â€” Soft for light theme */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.10), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-orange: 0 4px 20px rgba(6, 24, 61, 0.20);
  --shadow-violet: 0 4px 20px rgba(51, 143, 187, 0.15);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);

  /* Glass â€” for light bg */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(6, 24, 61, 0.12);
  --glass-bg-light: rgba(6, 24, 61, 0.04);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Container */
  --max-width: 1280px;
  --max-width-lg: 1440px;
}

