body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  z-index: 1000;
  transition: background-color 0.3s ease; /* animasi transisi */
  background-color: transparent; /* default transparan */
}

.navbar-logo {
  display: flex;
  align-items: center;
  font-size: 25px;
  color: rgb(249, 250, 250);
  font-weight: bold;
}

.navbar-logo img {
  height: 70px;
  margin-right: 10px;
}

.navbar-logo .brand strong {
  display: block;
  color: rgb(7, 9, 60);
}

.navbar-menu {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}
.navbar-menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar-menu li {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 0;
  margin: 0;
  z-index: 1000;
  list-style: none;
  min-width: 150px;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background-color: #f2f2f2;
}


.navbar-menu li {
  margin: 0 20px;
}

.navbar-menu li a {
  font-weight: bold;
  text-decoration: none;
  color: rgb(7, 9, 60);
}
.last-menu a{
  margin-right: 70px;
}

.navbar-logo .brand strong.scrolled{
  color: white;
}

.navbar-menu.scrolled li a {
  color: white;
}
.navbar-menu.scrolled li a :hover {
  color: rgb(95, 190, 246);
}

.navbar.scrolled {
  background-color: #3a4484; 
}

.btn-demo {
  background-color: rgb(222, 158, 49);
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.btn-demo:hover {
  background-color: darkorange;
}

.navbar-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.navbar-menu li a.active-clicked {
  color: orange;
  font-weight: bold;
  border-bottom: 3px solid;
  padding: 5px;
  border-color: orange;
}



@media (max-width: 768px) {
  .navbar-menu {
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background:  #dcebf8;
    width: 200px;
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    display: none;
    font-size: 15px;
  }
  .navbar-menu.scrolled{
    background: #3a4484;
  }
  .navbar-menu.show {
    display: flex;
  }
  .navbar-toggle {
    display: block;
  }
  .navbar-menu li {
    margin: 10px 0;
    text-align: right;
    padding-right: 20px;
  }
  .last-menu a{
    margin-right:0;
  }
  .navbar-logo img {
  height: 50px;
  margin-right: 10px;
  }
}
