/* === DROPDOWN STYLING - navbar.css === */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown .dropbtn {
  color: white;
  margin-left: 1rem;
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
}

.dropdown .dropbtn:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.dropdown-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(37, 99, 235, 0.98);
  min-width: 220px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  overflow: hidden;
  z-index: 101;
  backdrop-filter: blur(10px);
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-content a {
  color: white;
  padding: 0.85rem 1.25rem;
  text-decoration: none;
  display: block;
  margin: 0;
  font-size: 0.95rem;
  transition: all 0.2s;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background: rgba(255, 255, 255, 0.15);
  padding-left: 1.5rem;
  text-decoration: none;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Responsive Mobile */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  .navbar .menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
  }
  .navbar .menu a,
  .dropdown .dropbtn {
    margin: 0;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
  }
  .dropdown {
    position: static;
    width: 100%;
  }
  .dropdown-content {
    position: static;
    min-width: 100%;
    box-shadow: none;
    border-radius: 8px;
    margin-top: 0.5rem;
    background: rgba(37, 99, 235, 0.85);
  }
  .dropdown-content a {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  .dropdown-content a:hover {
    padding-left: 1.25rem;
  }
}