* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 0.5rem;
    border-radius: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.menu-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.8rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #667eea;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
      padding: 0 1.5rem;
    }
  
    .nav-menu {
      gap: 1.5rem;
    }
  }
  
  @media (max-width: 768px) {
    .nav-container {
      padding: 0 1rem;
    }
  
    .mobile-toggle {
      display: block;
    }
  
    .nav-menu {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
      flex-direction: column;
      padding: 1rem;
      gap: 0;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-20px);
      transition: all 0.3s ease;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
  
    .nav-menu.active {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
  
    .menu-item {
      width: 100%;
      margin: 0.5rem 0;
    }
  
    .nav-link {
      width: 100%;
      justify-content: center;
      padding: 1rem;
      border-radius: 8px;
    }
  
    .dropdown-menu {
      position: static;
      opacity: 1;
      visibility: visible;
      transform: none;
      box-shadow: none;
      background: rgba(255, 255, 255, 0.1);
      margin-top: 0.5rem;
      border-radius: 8px;
      display: none;
    }
  
    .dropdown-menu.show {
      display: block;
    }
  
    .dropdown-item {
      color: white;
      border-color: rgba(255, 255, 255, 0.1);
      padding: 0.75rem 1rem;
    }
  
    .dropdown-item:hover {
      background-color: rgba(255, 255, 255, 0.1);
      color: white;
    }
  
    .logo {
      font-size: 1.3rem;
    }
  
    .logo img {
      width: 35px;
      height: 35px;
    }
  }
  
  @media (max-width: 480px) {
    .nav-container {
      padding: 0 0.75rem;
    }
  
    .logo {
      font-size: 1.2rem;
    }
  
    .logo img {
      width: 30px;
      height: 30px;
    }
  
    .nav-link {
      padding: 0.75rem;
      font-size: 0.9rem;
    }
  }
  