nav {
  top: 0;
  z-index: 100;
  position: sticky;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;

  width: 100%;

  margin: auto;

  padding: 0 24px;

  height: var(--nav-height);

  display: flex;

  justify-content: space-between;

  align-items: center;

  backdrop-filter: blur(12px);

  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  width: 110px;
}



.nav-logo span {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  line-height: 1.3;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-cta {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: white !important;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 14px !important;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.67 rem;
}

.nav-logo h1 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: white;
  min-width: 220px;
  border-radius: 18px;
  padding: 10px;
  list-style: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition: all 0.3s ease;
  z-index: 0;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu li a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: #222;
  font-size: 14px;
  text-decoration: none;
  transition: 0.2s;
}

.dropdown-menu li a:hover {
  background: #f3f6ff;
  color: #2563eb;
}

/* SHOW DROPDOWN */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===========================
   HAMBURGER
=========================== */

.menu-toggle {
  width: 48px;
  height: 48px;

  border: none;
  background: none;

  display: none;

  justify-content: center;
  align-items: center;

  flex-direction: column;

  cursor: pointer;

  gap: 6px;
}

.menu-toggle span {
  width: 26px;
  height: 3px;

  background: var(--primary);

  border-radius: 50px;

  transition: 0.3s;
}

/* ===========================
   MOBILE
=========================== */

/* =====================================================
   RESPONSIVE NAVBAR
===================================================== */

@media (max-width: 768px) {
  nav {
    position: sticky;
    top: 0;
    left: 0;
  }

  /* Logo */

  .nav-logo img {
    width: 60px;
  }

  .nav-logo h1 {
    font-size: 12px;
    line-height: 1.2;
  }

  /* Tombol Hamburger */

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  /* Menu */

  .nav-links {
    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;

    background: #fff;

    flex-direction: column;

    align-items: flex-start;

    gap: 0;

    padding: 15px 0;

    display: flex;

    max-height: 0;

    overflow: hidden;

    transition: max-height 0.4s ease;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  }

  /* Saat dibuka */

  .nav-links.active {
    max-height: 600px;
  }

  /* Semua item */

  .nav-links li {
    width: 100%;
  }

  /* Semua link */

  .nav-links li a {
    display: block;

    width: 100%;

    padding: 15px 25px;
  }

  /* Dropdown */

  .dropdown-menu {
    position: static;

    opacity: 1;

    visibility: visible;

    transform: none;

    box-shadow: none;

    border-radius: 0;

    padding-left: 15px;

    display: none;
  }

  /* Dropdown aktif */

  .dropdown.active .dropdown-menu {
    display: block;
  }
}

.menu-toggle.active span:nth-child(1){

  transform:rotate(45deg) translateY(13px);

}

.menu-toggle.active span:nth-child(2){

  opacity:0;

}

.menu-toggle.active span:nth-child(3){

  transform:rotate(-45deg) translateY(-13px);

}