/* Navbar Styles */
.navbar {
  position: fixed !important;
  top: 1rem !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 95% !important;
  max-width: 80rem !important;
  z-index: 50 !important;
  padding: 1rem 1rem !important;
  border-radius: 9999px !important;
  background-color: rgba(112, 112, 112, 0.92) !important;
  -webkit-backdrop-filter: blur(120px) saturate(200%) !important;
  backdrop-filter: blur(120px) saturate(200%) !important;
  border: 2px solid rgba(245, 143, 0, 0.5) !important;
  box-shadow: 0 10px 15px -3px rgba(245, 143, 0, 0.2) !important;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.navbar-logo-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-logo-image {
  border-radius: 9999px;
  width: 32px;
  height: 32px;
}

.navbar-logo-text {
  color: white;
  font-weight: 700;
  font-size: 1rem;
}

.navbar-arrow {
  display: none;
  width: 12rem;
  height: 1.5rem;
  padding-left: 1rem;
}

.navbar-arrow svg {
  width: 100%;
  height: 100%;
}

.navbar-nav {
  display: none !important;
  align-items: center !important;
  gap: 1.5rem !important;
  color: white !important;
  font-size: 0.875rem !important;
  list-style: none !important;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  padding-left: 0 !important;
  padding-inline-start: 0 !important;
  flex-grow: 0 !important;
}

.navbar-nav li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.navbar-nav-item {
  font-weight: 500 !important;
  color: white !important;
  transition: color 0.2s !important;
  text-decoration: none !important;
}

.navbar-nav-item:hover {
  color: #F58F00 !important;
  text-decoration: none !important;
}

.navbar-lms-link {
  background: linear-gradient(135deg, #F58F00, #e07800) !important;
  color: #fff !important;
  padding: 0.35rem 0.85rem !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  box-shadow: 0 0 10px rgba(245, 143, 0, 0.5) !important;
  transition: box-shadow 0.2s, transform 0.2s !important;
}

.navbar-lms-link:hover {
  color: #fff !important;
  box-shadow: 0 0 18px rgba(245, 143, 0, 0.85) !important;
  transform: scale(1.05) !important;
}

.navbar-mobile-button {
  display: block;
  color: #F58F00;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.navbar-mobile-button:hover {
  color: rgba(245, 143, 0, 0.8);
}

.navbar-mobile-button svg {
  height: 1.5rem;
  width: 1.5rem;
}

/* Mobile menu active state - only apply below 1024px */
@media (max-width: 1023px) {
  .navbar-nav.active {
    display: flex !important;
    position: absolute;
    top: calc(100% + 1rem);
    left: 0;
    right: 0;
    flex-direction: column !important;
    background-color: rgba(112, 112, 112, 1) !important;
    border-radius: 1rem !important;
    padding: 1rem !important;
    gap: 0.5rem !important;
    box-shadow: 0 10px 15px -3px rgba(245, 143, 0, 0.2) !important;
    border: 2px solid rgba(245, 143, 0, 0.5) !important;
    margin-left: 0 !important;
  }

  .navbar-nav.active li {
    width: 100% !important;
  }

  .navbar-nav.active .navbar-nav-item {
    display: block !important;
    padding: 0.75rem 1rem !important;
    border-radius: 0.5rem !important;
    transition: background-color 0.2s !important;
  }

  .navbar-nav.active .navbar-nav-item:hover {
    background-color: rgba(245, 143, 0, 0.1) !important;
  }
}

/* Responsive Styles */
@media (min-width: 640px) {
  .navbar {
    top: 1.5rem !important;
    width: 91.666667% !important;
    padding: 1rem 2rem 1rem 1rem !important;
  }

  .navbar-logo-section {
    gap: 0.75rem;
  }

  .navbar-logo-text {
    font-size: 1.25rem;
  }

  .navbar-logo-image {
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 1024px) {
  .navbar-container {
    justify-content: flex-start;
    gap: 2rem;
    padding: 0rem 1rem;
  }

  .navbar-arrow {
    display: block;
  }

  .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    margin-left: auto;
    position: static !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    backdrop-filter: none !important;
    gap: 1.5rem !important;
  }

  .navbar-nav li {
    width: auto !important;
  }

  .navbar-mobile-button {
    display: none;
  }
}

@media (min-width: 1280px) {
  .navbar-arrow {
    width: 16rem;
  }

  .navbar-nav {
    gap: 2rem !important;
    font-size: 1rem !important;
  }
}
