.btn {
    padding: 10px 20px;
    border-radius: 0.5rem;
}

.btn.primary {
  background-color: var(--light-green);
  will-change: transform;
  transition: transform 0.4s ease, background-color 0.4s ease;
}

.btn.primary a {
  color: var(--bg);
  display: inline-block;
  transition: color 0.4s ease;
}

.btn.primary:hover {
  transform: scale(1.08);
  background-color: var(--light-green);
}

.btn.primary:hover a {
  color: #000;
}

.header-menu {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  padding: 1rem 2rem;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: var(--glass);


  z-index: 1000; 
  will-change: transform, opacity;
}

.header-menu .nav-links,
.header-menu .nav-buttons {
    display: none;
}

.header-menu .nav-links a.active{
    color: var(--light-green);
}
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;

}

.hamburger span {
    height: 3px;
    width: 100%;
    background: var(--bg);
    border-radius: 2px;
    transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);

}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 999;
}

.mobile-menu a {
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--fg);
}

.mobile-menu a.active{
    color: var(--light-green);
}

.mobile-cta {
    padding: 0.75rem 1.5rem;
    background: var(--fg);
    color: var(--bg) !important;
    border-radius: 999px;
}



.header-menu>div {
    flex: 1;
}

.header-menu .nav-links {
    display: flex;
    gap: 3rem;
}

.header-menu .nav-links a {
    font-size: 1rem;
    transition: color 0.5s ease;
}

.header-menu .nav-links a:hover {
    text-decoration: underline;
    color: var(--light-green);
}

.header-menu .logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-menu .logo img {
    width: 150px;
}

.header-menu .logo a {
    text-transform: none;
    font-size: 1.5rem;
}

.header-menu .nav-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.header-menu .nav-buttons a {
    font-size: 1rem;
}

@media (max-width: 1200px) {

    .header-menu .nav-links,
    .header-menu .nav-buttons {
        display: none;
    }
}

@media (min-width: 1200px) {
    .header-menu {
        padding: 0.5rem 4rem;
        padding-left: 4rem;
        justify-content: center;
        background: none;
    }

    .hamburger {
        display: none;
    }

    .mobile-menu {
        display: none;
    }
}