* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

.navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  padding: 18px 6%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.logo-circle {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(20, 83, 45, 0.3);
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.logo-circle img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 50%;
}

.logo-text h1 {
  font-size: 18px;
  color: var(--primary-color);
}

.logo-text span {
  font-size: 13px;
  color: var(--text-secondary);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
  margin-left: auto;
}

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

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 3px;
  background: var(--accent-color);
  transition: 0.3s;
  border-radius: 10px;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active{

color:
var(--primary-color);

}


.nav-links a.active::after{

width:100%;

}

.nav-links li {
  list-style: none;
}

.nav-btn {
  border: none;
  padding: 13px 24px;
  background: var(--primary-color);
  color: white;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.3s;
}

.nav-btn:hover {
  transform: translateY(-2px);
  background: var(--primary-light);
}

.hamburger {
  display: none;
  border: none;
  background: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
}

.hamburger span {
  position: absolute;
  left: 5px;
  width: 30px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 999px;
  transition:
    transform 0.35s ease,
    opacity 0.25s ease,
    top 0.35s ease;
}

.hamburger span:nth-child(1) {
  top: 10px;
}

.hamburger span:nth-child(2) {
  top: 18px;
}

.hamburger span:nth-child(3) {
  top: 26px;
}

.hamburger.active span:nth-child(1) {
  top: 18px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-15px);
}

.hamburger.active span:nth-child(3) {
  top: 18px;
  transform: rotate(-45deg);
}

@media (max-width: 992px) {
  .nav-links {
    gap: 20px;
  }

  .logo-text span {
    display: none;
  }
}

@media (max-width: 812px) {
  .hamburger {
    display: block;
  }

  .nav-btn {
    display: none;
  }

  .nav-links {
    position: absolute;

    top: 100%;
    left: 50%;

    transform: translateX(-50%) translateY(-20px);

    width: 92%;

    padding: 25px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 10px;

    background: rgba(255, 255, 255, 0.98);

    backdrop-filter: blur(20px);

    border-radius: 0 0 24px 24px;

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);

    border: 1px solid var(--border-color);

    opacity: 0;
    visibility: hidden;

    transition: all 0.35s ease;
  }

  /* aktif */

  .nav-links.active {
    opacity: 1;
    visibility: visible;

    transform: translateX(-50%) translateY(0);
  }

  .nav-links li {
    width: 100%;

    display: flex;
    justify-content: center;
  }

  .nav-links a {
    width: 100%;

    text-align: center;

    padding: 14px 20px;

    border-radius: 12px;

    font-size: 15px;

    transition: 0.3s;
  }

  .nav-links a:hover {
    background: rgba(20, 83, 45, 0.08);

    color: var(--primary-color);

    transform: translateY(-2px);
  }
}
