

.nav-bar{
 position: fixed;
 top:20px;
 left: 50%;
 transform: translateX(-50%);
 z-index: 4;

 background-color: var(--Tertiary-background-III);

  display: flex;
  justify-content: space-between;
  gap: 180px;
  align-items: center;
  padding: 15px 30px;

  border-radius: 50px;
  border: 1px solid rgb(255,255,255,0.3);
  box-shadow: 0 8px 32px rgb(0, 0, 0,0.1);
  
  width: 50vw;
}

.nav-links{
   list-style: none;
   display: flex;
   gap: 25px;
}

.nav-links a{
    text-decoration: none;
    color: var(--ujds-font-color);
    font-weight: 700;
    transition: color 0.3s;
}

.logo {
    font-weight: 800;
    font-size: 1.4rem;
    color: #1a1a1a;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo-img{
    height: 50px;
}

.nav-links a:hover { color: var(--ujds-orange-typ-I); }

.nav-btn-cta a {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 110px;
    height: 40px;
    border-radius: 50px;
    background-color: var(--ujds-orange-typ-I);
    color: white;
    font-weight: 700;
    transition: 0.3s;
}

/* Hamburger button (hidden on desktop). */
.nav-toggle {
    display: none;
    width: 36px;
    height: 28px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 10;
}

.nav-toggle span {
    display: block;
    height: 4px;
    width: 100%;
    background: var(--ujds-font-color-I, #111);
    border-radius: 999px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(15,15,15,0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 30px;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
    z-index: 9;
}

.mobile-menu.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu a {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.mobile-menu .mobile-cta {
    margin-top: 8px;
}




    @media (max-width: 1020px) {
        .nav-bar {
            width: 40vw;
            left: 50%;
            transform: translateX(-50%);
            padding: 12px 16px;
            gap: 12px;
            border-radius: 30px;
        }

        .nav-links {
            display: none;
        }

        .nav-btn-cta {
            display: none;
        }

        .nav-toggle {
            display: flex;
        }

       .gear-icon-container{
            width: 230px;
            height: 230px;

       }
        .gear-icon{
            position: absolute;
            top: 80vh;
            left: 0;
        }
    }

        @media (max-width: 1069px) {
        .nav-bar {
            width: 40vw;
            left: 50%;
            transform: translateX(-50%);
            padding: 12px 16px;
            gap: 12px;
            border-radius: 30px;
        }

        .nav-links {
            display: none;
        }

        .nav-btn-cta {
            display: none;
        }

        .nav-toggle {
            display: flex;
        }
    }

    @media (min-width: 1070px) {
        .nav-bar {
            width: 70vw;
            gap: 60px;
        }
    }








