.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #142453;
    color: #fff;
  }
  
  .logo img {
    height: 40px;
  }
  
  .hamburger {
    display: none;
  }
  
  .nav-menu {
    display: flex;
  }
  
  .nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
  }
  
  .nav-menu li {
    margin: 0 10px;
  }
  
  .nav-menu a {
    color: #fff;
    text-decoration: none;
  }

  .language-switcher {
    position: relative;
    display: inline-block;
    font-size: 14px; /* Smaller font size */
    justify-content: center;
  }
  
  .dropdown-btn {
    background-color: transparent;
    color: #fff;
    padding: 2px 10px; /* Smaller padding */
    font-size: 14px; /* Smaller font size */
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .dropdown-btn i {
    font-size: 12px; /* Smaller icon size */
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #142453; /* Match header background */
    min-width: 120px; /* Smaller width */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 4px; /* Rounded corners */
  }
  
  .dropdown-content .dropdown-item {
    color: #fff;
    padding: 8px 10px; /* Smaller padding */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px; /* Smaller font size */
  }
  
  .dropdown-content .dropdown-item:hover {
    background-color: #1d3557; /* Slightly lighter background on hover */
  }
  
  .flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
  }
  
  .language-switcher:hover .dropdown-content {
    display: block;
  }
  
  /* Responsive styles */
@media (max-width: 768px) {
  /* Hamburger menu styling */
  .hamburger {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 20px; /* Adjust to keep it at the top-right */
    right: 20px;
    z-index: 1000; /* Ensure it stays above other elements */
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .hamburger div {
    background-color: #333; /* Default color for the hamburger lines */
    height: 4px;
    width: 100%;
    border-radius: 2px;
    transition: all 0.3s ease-in-out; /* Smooth transition for the transformation */
  }

  /* Transform the hamburger into an "X" when toggled */
  .hamburger.open div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.open div:nth-child(2) {
    opacity: 0; /* Hide the middle line */
  }

  .hamburger.open div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav-menu {
    display: none; /* Hide the menu by default */
    flex-direction: column;
    width: 100%;
    background-color: #142453;
    position: absolute;
    top: 60px;
    right: 0;
    z-index: 999;
  }
  .nav-menu.active {
    display: flex; /* Show menu when active */
  }

  .nav-menu ul {
    flex-direction: column;
    padding: 0;
    margin: 0;
  }

  .nav-menu li {
    margin: 10px 0;
    text-align: center;
  }
}