   @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

    :root {
      --primary-color: #6000C9;
    }

    body {
      font-family: 'Outfit', sans-serif;
      overflow-x: hidden;
    }

    /* =======================
       Desktop Navigation 
       ======================= */
    .nav-menu {
      display: flex;
      gap: 3rem;
      align-items: center;
      position: relative;
    }
    
    
    .nav-link {
        color: #374151;
        text-decoration: none;
        font-weight: 500;
        cursor: pointer;
        /* min-width: 120px; */
        white-space: nowrap;
    }

    /* Wraps text & arrow together */
    .nav-text {
        display: flex;
        align-items: center;
        
    }
    
    /* Ensures link behaves as expected */
    .nav-text a {
        text-decoration: none;
        color: inherit;
    }
    
    /* Prevents arrow misalignment */
    .nav-arrow {
        display: flex;
        align-items: center;
    }
    
    .nav-link:hover,
    .nav-link.active {
      color: var(--primary-color);
    }
	
	.nav-link svg {
		margin-left:0.5em;
	}
	
	a.nav-link {
		gap:0;
		min-width:100px;
	}
	
    .nav-item {
      position: relative;
      padding: 1rem 0;
    }
    /* Mega-menu for desktop: content based sizing with consistent grid spacing */
    .mega-menu {
      display: block;
      position: absolute;
      top: calc(100% - 2px);
      left: 50%;
      transform: translateX(-50%);
      background: white;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.08);
      padding: 1.5rem 2rem;
      width: auto;
      min-width: max-content;
      max-width: calc(100vw - 2rem);
      box-sizing: border-box;
      z-index: 50;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }
    .nav-item:hover .mega-menu {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }
    /* Common grid style with consistent gap */
    .mega-menu > .grid {
      display: grid;
      gap: 4rem;
    }
    /* Products: 2 columns */
    #products-menu > .grid {
      grid-template-columns: repeat(2, 1fr);
    }
    /* Solutions: 3 columns */
    #solutions-menu > .grid {
      grid-template-columns: repeat(3, 1fr);
    }
    .mega-menu-column h3 {
      color: black;
      font-size: 0.875rem;
      font-weight: 900;
      margin-bottom: 1.5rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
    .mega-menu-column ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }
    .mega-menu-column a {
      color: #374151;
      text-decoration: none;
      font-size: 1rem;
      transition: color 0.2s ease;
      padding: 0.25rem 0;
    }
	.font-extra-bold {
		font-weight:900;
	}
    .mega-menu-column a:hover {
      color: var(--primary-color);
    }
	
	.primary-icon {
		background: var(--primary-color);
	}
	
	.primary-icon svg {
		color:white;
	}
 	 
    @media (min-width:1280px) {
      .mega-menu {
        padding: 2.5rem 3rem;
      }
      .mega-menu-column ul {
        gap: 1rem;
      }
      .mega-menu-column a {
        font-size: 1.0625rem;
      }
    }
	
	.menu-cta {
		font-weight: 100 !important;
		margin-top:20px;
		margin-left:10px;
	}

    /* =======================
       Mobile Navigation 
       ======================= */
    /* Always hide mobile menu container by default */
    .mobile-menu-container {
      display: none;
    }
    /* Ensure mobile menu container is hidden on desktop */
    @media (min-width: 769px) {
      .mobile-menu-container {
        display: none !important;
      }
    }
    /* On mobile (max-width:768px) */
    @media (max-width:768px) {
      /* Hide desktop navigation */
      .nav-menu {
        display: none;
      }
      /* Mobile menu container styling */
      .mobile-menu-container.active {
        display: block;
      }
      .mobile-menu-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;
        overflow: hidden;
        z-index: 40;
      }
      /* Slide levels: each level occupies full viewport and slides horizontally */
      .mobile-menu-level {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: white;
        transition: transform 0.3s ease;
      }
      /* Main (first-level) menu is visible initially */
      #mobileMainMenu {
        transform: translateX(0);
      }
      /* Submenus start off-screen to the right */
      .mobile-menu-level.submenu {
        transform: translateX(100%);
      }
      /* When active, the submenu slides in */
      .mobile-menu-level.active {
        transform: translateX(0);
      }
      /* When main menu slides out to the left */
      .mobile-menu-level.slide-out {
        transform: translateX(-100%);
      }
      /* Styling for main mobile menu items */
      #mobileMainMenu .mobile-nav-item {
        padding: 1rem;
        border-bottom: 1px solid #e5e7eb;
      }
      /* For items with a submenu, show a right arrow */
      #mobileMainMenu .mobile-nav-item.has-submenu .nav-link::after {
        content: '›';
        margin-left: auto;
        font-size: 1.25rem;
        color: #6B7280;
      }
      /* Mobile submenu header with back arrow */
      .mobile-submenu-header {
        display: flex;
        align-items: center;
        padding: 1rem;
        border-bottom: 1px solid #e5e7eb;
        background: #f9fafb;
      }
      .back-button {
        background: none;
        border: none;
        font-size: 1.5rem;
        margin-right: 0.5rem;
        color: var(--primary-color);
        cursor: pointer;
      }
      /* In mobile submenus we show sections with headings */
      .mobile-submenu-column {
        padding: 1rem;
        border-bottom: 1px solid #e5e7eb;
      }
      .mobile-submenu-column h3 {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: #6B7280;
      }
      .mobile-submenu-column ul {
        list-style: none;
        margin: 0;
        padding: 0;
      }
      .mobile-submenu-column ul li {
        padding: 0.5rem 0;
      }
      .mobile-submenu-column ul li a {
        text-decoration: none;
        color: #374151;
      }
    }

    /* =======================
       Global Styles 
       ======================= */
    .gradient-text {
      color: var(--primary-color);
    }
    .hero-gradient {
        background: linear-gradient(299deg, #69029a 0%, #000 100%);
        color:white !important;
    }
    
    .hero-gradient a {
        color:white;
    }
    
    .cta-button {
      background-color: var(--primary-color);
      transition: all 0.3s ease;
    }
    .cta-button:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(96, 0, 201, 0.2);
    }

    /* =======================
       Footer Styles 
       ======================= */
    footer {
      background-color: #1f2937; /* Gray-800 */
      color: #d1d5db; /* Gray-300 */
      padding: 3rem 0;
    }
    footer h3 {
      font-size: 1.125rem;
      font-weight: 600;
      margin-bottom: 1rem;
      color: #ffffff;
    }
    footer ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    footer ul li {
      margin-bottom: 0.5rem;
    }
    footer ul li a {
      color: #d1d5db;
      text-decoration: none;
      transition: color 0.2s ease;
    }
    footer ul li a:hover {
      color: #ffffff;
      text-decoration: underline;
    }