header{
    position: relative;
}
nav {
      position: fixed;
      top: 0;
      background: transparent;
      color: #eee;
      display: flex;
      align-items: center;
      height: 60px;
      padding: 0 2rem;
      z-index: 100;
      width: 100%;
      max-width: 100vw;
  }
nav.scrolled {
  background: #07195f92; 
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
  .nav-logo {
      font-weight: bold;
  }

  .nav-list {
      display: flex;
      list-style: none;
      margin-left: auto;
      gap: 2rem;
      position: relative;
  }

  .list-item {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
  }

  .list-item.active a .nav-link-icon {
      color: var(--white);

  }

  .nav-link-text {
      font-size: 0.75rem;
      opacity: 0;
      transition: 0.5s;
  }

  .nav-link-icon {
      font-size: 1.25rem;
      transition: 0.3s;
  }

  .indicator-menu {
      position: absolute;
      top: 3rem;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      border: 5px solid var(--light-grey);
      background: var(--secondary-newcolor);
      opacity: 0;
      transition: opacity 0.5s;
      z-index: -1;
  }

  .list-item.active .nav-link-text {
      opacity: 1;
      transform: translateY(1.2rem);
  }

  .list-item.active .nav-link-icon {
      transform: translateY(2.5rem);
  }

  .list-item.active .indicator-menu {
      opacity: 1;
  }

  li a {
      color: var(--white);
      text-decoration: none;
      display: flex;
      flex-direction: column;
      align-items: center;
  }

  /* Mobile Sidebar */
  .mobile-toggle {
      display: none;
      font-size: 1.5rem;
      color: var(--white);
      cursor: pointer;
      margin-left: auto;
  }

  .sidebar {
      display: none;
  }

  @media(max-width:768px) {
      nav .nav-list {
          display: none;
      }

      .mobile-toggle {
          display: block;
      }

      .sidebar {
          position: fixed;
          top: 0;
          left: -100%;
          width: 100%;
          height: 100%;
          background: var(--border-color);
          color: #fff;
          padding: 2rem 1rem;
          transition: left 0.4s ease;
          z-index: 200;
          display: block;
      }

      .sidebar.open {
          left: 0;
      }

      .sidebar ul {
          list-style: none;
          display: flex;
          flex-direction: column;
          gap: 2rem;
          padding-top: 2rem;
      }

      .sidebar li a {
          flex-direction: row;
          gap: 1rem;
      }

      .overlay {
          display: none;
          position: fixed;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background: rgba(0, 0, 0, 0.4);
          z-index: 100;
      }

      .overlay.show {
          display: block;
      }

      .sidebar .close-sidebar {
          font-size: 1.5rem;
          color: #fff;
          position: absolute;
          top: 1rem;
          right: 1rem;
          cursor: pointer;
      }


  }