/* --------------------------------------------------------------------------
   4. NAVIGATION & ANNOUNCEMENT HEADER
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--primary-blue-dark);
  color: #FFFFFF;
  font-size: 0.82rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-bar-left .divider {
  opacity: 0.4;
}

.slogan-badge {
  color: var(--accent-orange);
  font-weight: 600;
  font-style: italic;
}

.main-header {
  background-color: var(--primary-blue);
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition: padding 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  color: #FFFFFF;
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.5px;
}

.brand-title span {
  color: var(--accent-orange);
}

.brand-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-links .nav-item {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.25s ease;
}

.nav-links .nav-item:hover,
.nav-links .nav-item.active {
  color: var(--accent-orange);
}

.btn-enroll-nav {
  background-color: var(--accent-orange);
  color: #FFFFFF !important;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.btn-enroll-nav:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle .bar {
  display: block;
  width: 24px;
  height: 2.5px;
  margin: 5px 0;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Language Switcher Styling */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 12px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.lang-switcher:hover {
  background-color: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
}

.lang-switcher .lang-icon {
  color: #ffffff;
  font-size: 0.9rem;
}

.lang-select {
  background: transparent;
  color: #ffffff;
  border: none;
  outline: none;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  padding-right: 4px;
  font-family: inherit;
}

/* Style option items inside dropdown menu */
.lang-select option {
  background-color: #1a233a;
  color: #ffffff;
  padding: 8px;
}