/* Navigation Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  body {
    background: linear-gradient(to right, #f5f7fa, #c3cfe2);
    overflow-x: hidden;
  }
  
  .header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    left: 0;
  }
  
  .nb-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
  }
  
  .nb-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: white;
    border-radius: 50px;
    margin: 15px auto;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: fit-content;
    width: auto;
  }
  
  .nb-brand-container {
    display: flex;
    align-items: center;
    padding-right: 20px;
  }
  
  .nb-brand {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    position: relative;
  }
  
  .nb-brand-tech {
    background: linear-gradient(to right, #2563eb, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  
  .nb-brand-nova {
    color: #333;
    font-weight: 600;
  }
  
  .nb-brand::after {
    content: '';
    position: absolute;
    right: -20px;
    height: 24px;
    width: 1px;
    background-color: #e5e7eb;
    display: block;
  }
  
  .nb-nav-links {
    display: flex;
    list-style: none;
    margin-left: auto;
  }
  
  .nb-nav-links li {
    padding: 0 10px;
  }
  
  .nb-nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 25px;
    display: inline-block;
  }
  
  .nb-nav-links a:hover {
    color: #2563eb;
    background-color: rgba(37, 99, 235, 0.1);
  }
  
  .nb-nav-links a.active {
    background-color: #2563eb;
    color: white !important;
  }
  
  .nb-hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: white;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    z-index: 101;
  }
  
  .nb-mobile-nav {
    position: fixed;
    top: 75px;
    right: -280px;
    width: 250px;
    background-color: white;
    z-index: 1100;
    flex-direction: column;
    padding: 20px 15px;
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    transform: translateX(0);
    display: flex;
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 15px 0 0 15px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
  
  .nb-mobile-nav.active {
    transform: translateX(-280px);
  }
  
  .nb-mobile-brand {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: -0.5px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    transition-delay: 0.1s;
  }
  
  .nb-mobile-nav.active .nb-mobile-brand {
    opacity: 1;
    transform: translateY(0);
  }
  
  .nb-mobile-brand-tech {
    background: linear-gradient(to right, #2563eb, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  
  .nb-mobile-brand-nova {
    color: #333;
    font-weight: 600;
  }
  
  .nb-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 18px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    transition: transform 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 1102;
  }
  
  .nb-close-btn:hover {
    transform: rotate(90deg);
    background-color: rgba(0,0,0,0.05);
  }
  
  .nb-mobile-nav a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    text-align: left;
    margin: 3px 0;
    border-radius: 10px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(10px);
  }
  
  .nb-mobile-nav.active a {
    opacity: 1;
    transform: translateX(0);
  }
  
  /* Transition delays for mobile menu items */
  .nb-mobile-nav a:nth-child(3) { transition-delay: 0.15s; }
  .nb-mobile-nav a:nth-child(4) { transition-delay: 0.2s; }
  .nb-mobile-nav a:nth-child(5) { transition-delay: 0.25s; }
  .nb-mobile-nav a:nth-child(6) { transition-delay: 0.3s; }
  .nb-mobile-nav a:nth-child(7) { transition-delay: 0.35s; }
  .nb-mobile-nav a:nth-child(8) { transition-delay: 0.4s; }
  
  .nb-mobile-nav a:hover {
    color: #2563eb;
    background-color: rgba(37, 99, 235, 0.1);
  }
  
  .nb-mobile-nav a.active {
    background-color: #2563eb;
    color: white;
  }
  
  .nb-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }
  
  .nb-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  /* Responsive styles for mobile view */
  @media screen and (max-width: 768px) {
    .nb-nav-links {
      display: none;
    }
    
    .nb-navbar {
      background: white;
      justify-content: space-between;
      padding: 15px 20px;
      width: 100%;
      max-width: 100%;
      border-radius: 0;
      margin: 0;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
  
    .nb-container {
      padding: 0; /* Remove padding from container on mobile */
    }
  
    .nb-brand::after {
      display: none;
    }
    
    .nb-hamburger {
      display: flex;
      background-color: #2563eb;
      border-radius: 50px;
      padding: 10px;
    }
  
    body.nb-menu-open {
      overflow: hidden;
    }
  }