

/* Navbar */
.navbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 40px;
  background: #ffffff;
  position: fixed; top: 0; width: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.7);
  z-index: 1000;
  max-height: 60px;
  
}
.logo { height:65px;   max-height:70px;
margin-left:-15px;
}

.nav-links { display: flex; gap: 24px; }
.nav-item {
  position: relative; text-decoration: none; font-weight:50;font-size:18px;
  color: #000000; padding: 5px 0; opacity: 1;
 font-family: 'Quintessential', cursive;
}
.nav-item::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  height: 2px; width: 0;
  background: rgb(38, 82, 171); /* vibrant accent */
  transition: width 0.3s ease;
}
.nav-item:hover::after { width: 100%; }

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; z-index: 1100;
}
.hamburger span {
  display: block; width:30px; height: 3px;
  background-color: rgb(9, 43, 110); /* vibrant accent */
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
/* morph to X */
.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed; top: 0; right: 0;
  width: 80%; max-width: 300px; height: 100vh;
  background: #ffffff;
  transform: translateX(100%);
  transition: transform 0.4s ease-out;
  box-shadow: -4px 0 12px rgba(0,0,0,0.7);
  z-index: 1050;
}
.mobile-menu nav {
  display: flex; flex-direction: column;
  padding: 80px 20px; gap: 24px;
}
.mobile-menu nav a {
  text-decoration: none; font-size: 1.2rem;
  color: #000000; opacity: 0;
}

.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: rgb(38, 82, 171); /* vibrant accent */
  cursor: pointer;
  z-index: 1101;
}


/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
    .nav-item {
    position: relative;
  }
  .hamburger { display: flex; }
}