/* --- Navigation --- */
.navbar-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #0a1857 0%, #3498db 100%);
  z-index: 100;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0.7rem 2.5rem;
  box-shadow: 0 4px 18px rgba(44,62,80,0.13);
  border-bottom: 3px solid #f5f4f0;
  min-height: 70px;
}

.navbar-heading {
  font-size: 1.8rem;
  font-weight: 800;
  color: hsl(45, 50%, 98%);
  letter-spacing: 2.5px;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(44,62,80,0.10);
  flex: 1 1 auto;
  margin-left: 1rem;
  margin-right: 2rem;
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
}

.navbar-top ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-top a {
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  padding: 0.5rem 1.3rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.navbar-top a:hover {
  background: rgba(255,255,255,0.2);
  box-shadow: 0 2px 8px rgba(255,214,0,0.2);
}

.navbar-links {
  margin-left: auto;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.navbar-link {
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  padding: 0.5rem 1.3rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.navbar-link:hover {
  background: rgba(255,255,255,0.2);
  box-shadow: 0 2px 8px rgba(255,214,0,0.2);
}

/* --- Mobile Navigation --- */
.mobile-menu-btn {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  object-fit: contain !important;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  display: none !important;
}

.mobile-menu-btn:hover {
  background: rgba(52,152,219,0.12); /* Subtle blue on hover */
}

.mobile-menu-btn span {
  display: block !important;
  width: 28px !important;
  height: 4px !important;
  background: #fff !important;
  margin: 3px 0 !important;
  border-radius: 2px !important;
  position: relative !important;
  z-index: 2 !important;
  opacity: 1 !important;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 105;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  display: flex;
  opacity: 1;
}

.mobile-nav-content {
  background: #fff;
  width: 100%;
  max-width: 300px;
  height: 100%;
  padding: 2rem;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-nav-overlay.active .mobile-nav-content {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.mobile-nav-header h2 {
  margin: 0;
  color: #0a1857;
  font-size: 1.5rem;
  font-weight: 700;
}

.close-mobile-menu {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.close-mobile-menu:hover {
  background: #f0f0f0;
  color: #333;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  display: block;
  padding: 1rem;
  color: #333;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  font-weight: 600;
  font-size: 1.1rem;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  background: #0a1857;
  color: #fff;
}

/* --- Responsive Navigation --- */
@media (max-width: 900px) {
  .navbar-top {
    padding: 0.7rem 1.5rem;
  }
  
  .navbar-heading {
    font-size: 1.5rem;
    margin-left: 0.5rem;
    margin-right: 1rem;
    overflow: visible;
    text-overflow: clip;
  }
  
  .mobile-menu-btn {
    display: block !important;
  }

  .navbar-links {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .navbar-top {
    padding: 0.7rem 1rem;
  }
  
  .navbar-heading {
    font-size: 1.3rem;
    margin-left: 2rem;
    margin-right: 0.5rem;
    overflow: visible;
    text-overflow: clip;
  }
  
  .mobile-menu-btn {
    padding: 0.3rem;
    min-width: 40px;
    min-height: 40px;
    max-height: 40px;
  }
  
  .mobile-menu-btn span {
    width: 20px;
    height: 2px;
    margin: 2px 0;
  }
} 