/* =========================
   1. Global Reset
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #000, #111, #1a1a1a);
  color: #fff;
  min-height: 100vh;
}
/* =========================
   2. Navbar Container
========================= */
nav {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 70px;
  background: rgba(10, 27, 56, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
/* =========================
   3. Logo with Pulsating Animation
========================= */
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo a {
  display: block;
  text-decoration: none;
}
.nav-logo img {
  height: 45px;
  width: auto;
  animation: pulse 2s ease-in-out infinite;
  border-radius: 8px;
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 45, 85, 0.4);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 20px 5px rgba(255, 45, 85, 0.2);
  }
}
.nav-logo img:hover {
  animation: none;
  transform: scale(1.15);
  box-shadow: 0 0 25px 8px rgba(255, 45, 85, 0.4);
}
/* =========================
   4. Menu - Always Visible, Compressed on Mobile
========================= */
.menu {
  display: flex;
  align-items: center;
  gap: 25px;
  flex: 1;
  justify-content: center;
}
.menu a {
  text-decoration: none;
  color: #ddd;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
}
.menu a i {
  font-size: 16px;
}
/* Underline animation */
.menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #ff2d55, #ff6b6b);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}
.menu a:hover,
.menu a.active {
  color: #ff2d55;
  background: rgba(255, 45, 85, 0.1);
}
.menu a:hover::after,
.menu a.active::after {
  width: 80%;
}
/* =========================
   5. User Profile
========================= */
.user-profile {
  position: relative;
  display: flex;
  align-items: center;
}
.user-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid #ff2d55;
  box-shadow: 0 0 12px rgba(255, 45, 85, 0.6);
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #ff2d55, #ff6b6b);
}
.user-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 45, 85, 0.8);
}
.user-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Dropdown */
.user-dropdown {
  position: absolute;
  top: 60px;
  right: 0;
  width: 220px;
  background: linear-gradient(135deg, #121212, #1a1a1a);
  border-radius: 12px;
  border: 1px solid rgba(255, 45, 85, 0.2);
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  display: none;
  overflow: hidden;
  animation: dropdownFade 0.3s ease;
}
@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.user-dropdown.show {
  display: block;
}
.user-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
.user-dropdown li a {
  display: block;
  padding: 12px 16px;
  color: #eee;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.user-dropdown li a:hover {
  background: rgba(255, 45, 85, 0.15);
  color: #ff2d55;
  padding-left: 20px;
}
.user-dropdown li:first-child a {
  font-weight: 600;
  color: #ff2d55;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 4px;
}
.user-dropdown li:first-child a:hover {
  background: transparent;
  padding-left: 16px;
}
/* =========================
   6. Hamburger Menu - REMOVED
========================= */
.hamburger {
  display: none !important;
}
/* =========================
   7. Mobile Responsive - Compressed Navbar
========================= */
@media (max-width: 992px) {
  nav {
    padding: 0 12px;
    height: 60px;
  }
  .nav-logo img {
    height: 38px;
    animation: pulse 2.5s ease-in-out infinite;
  }
  .menu {
    gap: 8px;
    flex: 1;
    justify-content: center;
  }
  .menu a {
    font-size: 12px;
    padding: 6px 10px;
    gap: 4px;
  }
  .menu a i {
    font-size: 14px;
  }
  .menu a::after {
    display: none;
  }
  .user-circle {
    width: 38px;
    height: 38px;
  }
  .user-dropdown {
    width: 180px;
    right: -10px;
  }
  .user-dropdown li a {
    padding: 10px 14px;
    font-size: 13px;
  }
}
@media (max-width: 576px) {
  nav {
    padding: 0 10px;
  }
  .nav-logo img {
    height: 35px;
  }
  .menu {
    gap: 4px;
  }
  .menu a {
    font-size: 11px;
    padding: 5px 8px;
  }
  .menu a i {
    font-size: 13px;
  }
  .user-circle {
    width: 35px;
    height: 35px;
  }
  .user-dropdown {
    width: 160px;
  }
  .user-dropdown li a {
    padding: 8px 12px;
    font-size: 12px;
  }
}
/* =========================
   8. Additional Professional Touches
========================= */
/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #111;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff2d55, #ff6b6b);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff1a4a, #ff5252);
}
/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}
/* Selection color */
::selection {
  background: rgba(255, 45, 85, 0.3);
  color: #fff;
}