/* --- Global header styles --- */
header {
  background-color: #ffffff;
  border-bottom: 1px solid #e1e1e1;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

header .container-fluid {
  padding-left: 0;
  padding-right: 0;
}

/* --- Logo styling --- */
header .logo-container img {
  height: 50px;
  transition: transform 0.3s ease-in-out;
}

header .logo-container img:hover {
  transform: scale(1.1);
}

/* --- Navigation menu --- */
nav {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  position: relative;
}

.nav-link:hover {
  color: #007bff;
  transform: translateY(-2px);
}

.nav-link.active {
  color: #0056b3;
  font-weight: 700;
}

/* --- Language selector button --- */
.language-btn {
  border-color: #007bff;
  color: #007bff;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 6px 10px;
  transition: background-color 0.3s, color 0.3s;
}

.language-btn:hover {
  background-color: #007bff;
  color: #ffffff;
}

/* --- Dropdown menu --- */
.language-dropdown {
  min-width: 180px;
  padding: 5px 0;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  border: none;
}

.language-dropdown .dropdown-item {
  font-size: 0.95rem;
  padding: 8px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s ease;
}

.language-dropdown .dropdown-item img {
  width: 20px;
  height: auto;
}

.language-dropdown .dropdown-item:hover {
  background-color: #f1f1f1;
  color: #007bff;
}

/* --- Responsive adjustments --- */
@media (max-width: 768px) {
  header .d-flex {
    flex-direction: column;
    align-items: center;
  }

  nav {
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
  }

  header .logo-container img {
    height: 40px;
  }
}
header h1 {
  letter-spacing: 0.5px;
}

header .text-muted {
  opacity: 0.7;
}
