/* HEADER */
.header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid #eee;
  z-index: 999;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  height: 70px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  width: 38px;
  height: 38px;
}

.logo span {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, #1e3a8a, #06b6d4, #84cc16);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* NAV */
.nav {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  position: relative;
}

/* HOVER */
.nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #06b6d4, #84cc16);
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

.nav a:hover::after {
  width: 100%;
}

.nav a:hover {
  color: #06b6d4;
}

/* DROPDOWN */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  min-width: 200px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
}

.dropdown-menu a {
  display: block;
  padding: 12px;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* CTA */
.cta a {
  background: linear-gradient(135deg, #1e3a8a, #06b6d4, #84cc16);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
}

/* BURGER */
.burger {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -300%;
  left: auto;
  width: 280px;
  height: 100%;
  background: #fff;
  padding: 20px;
  transition: 0.3s;
  z-index: 1000;

  display: flex;
  flex-direction: column;
  gap: 18px;

  box-shadow: -10px 0 30px rgba(0,0,0,0.15); /* efek premium */
}

.mobile-menu.active {
  right: 0;
}

.mobile-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-weight: bold;

  background: linear-gradient(135deg, #1e3a8a, #06b6d4, #84cc16);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mobile-menu a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
}

/* MOBILE DROPDOWN */
.mobile-dropdown-toggle {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.mobile-submenu {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding-left: 10px;
  border-left: 2px solid #eee;
}

.mobile-dropdown.active .mobile-submenu {
  display: flex;
}

/* MOBILE CTA */
.mobile-cta {
  background: linear-gradient(135deg, #1e3a8a, #06b6d4, #84cc16);
  color: #fff;
  padding: 12px;
  text-align: center;
  border-radius: 6px;
}

/* OVERLAY */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* RESPONSIVE */
@media(max-width:768px){
  .nav, .cta {
    display: none;
  }

  .burger {
    display: block;
  }
}