
.nav-icon {
  transition: transform 0.3s ease;
}

.nav-icon:hover {
  transform: scale(1.2);
}
  header {
    background: transparent;
    width: 100%;
    position: fixed;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    height: 10vh;
    transition: background 0.3s ease-in-out;
  }
  
  /* .navbar {
    margin-right: -10px;
    position: fixed;
    right: 0;
    top: 18px;
    display: flex;
    z-index: 99;
  } */

  .navbar ul li {
    margin-right: 60px;
    list-style: none;
    display: inline-block;
  }
  
  /* .navbar ul li a {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    text-decoration: none;
    color: rgb(251, 197, 13);
    font-size: 18px;
    padding:0 2px;
    text-transform: capitalize;
    transition: transform 0.2s ease;
  } */
  
  .navbar ul li a i {
    color: rgb(251, 197, 13);
    font-size: 20px;
    transition: transform 0.2s ease;
  }

  .navbar ul li a:hover i {
    transform: scale(1.7);
  }

  
  .logoNav {
    position: relative;
    width: 90px;
    transition: all 0.3s ease-in-out; /*Efek transisi */
    top: -5px;
    left: -40px;
  }
  
  .logoNav.scrolled {
    width: 120px; 
    top: 0px; 
    left: -45px; 
  }
/* 
  .navbar ul li a i.scrolled {
    color: rgb(251, 197, 13);
    font-size: 20px;
    top: 20px;
    transition: transform 0.2s ease;
  } */
  
  header.scrolled {
    background: rgba(226, 101, 17, 0.75);
    transition: background 0.3s ease-in-out;
  }


  
.curs {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.logo {
  position: absolute;
  bottom: -35px; /* Jarak tooltip dari logo */
  left: 12%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.curs:hover .logo {
  opacity: 0.75;
}

.menu {
  position: absolute;
  bottom: -55px; /* Jarak tooltip dari logo */
  left: 15%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.curs:hover .menu {
  opacity: 0.75;
}
