
li {
  display: inline-block;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  text-align: center;
  box-sizing: border-box;
}

.flag-icon{
  width:15px;
}

li a, .dropbtn {
  display: block;
  color: black;
  font-weight: bold;
  text-align: center;
  padding: 14px 12px;
  font-size: 14px;
}


.logo-img {
  position: relative;
  z-index: 1; /* ensures it sits above the background */
  width: 200px; /* or whatever size you want */
  height: auto; /* maintain aspect ratio */
}

header {
  position: sticky;
  top: 0;
  z-index: 1000; /* Ensure it stays above other content */
  background-color: #fff;
  padding: 1rem 1rem;
  height: 120px;
  transition: box-shadow 0.3s ease;
}

header.sticky {
  border-bottom: 1px solid #eee;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo {
  position: relative;
  display: inline-block;
}

.logo span {
  color: #0073e6;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0.2rem;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.dropbtn {
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.3s;
  z-index: 1;
}

.dropbtn-current {
  border-bottom: 2px solid #0073e6;
}

.dropbtn:hover {
  border-bottom: 2px solid #0073e6;
}

a.lang-link {
  gap: 5px;
}

/* Container for the dropdown */
.dropdown {
  position: relative; /* Ensures the dropdown content is positioned relative to the language icon */
}

/* Hidden by default */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%; /* Appears directly below the dropdown */
  background-color: #f9f9f9;
  border-radius: 0px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 9999; /* Ensures it's above the header */
  min-width: 50px;
  padding: 10px;
  width: 100%;
}

/* Show on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Styling the language entries */
.dropdown-content .lang a {
  display: flex;
  align-items: center;
  padding: 10px 10px;
  color: black;
  text-decoration: none;
}

.dropdown-content .lang a:hover {
  background-color: #ffc446;
  border-radius: 5px;
}

@media (max-width: 1024px) { 
    nav ul {
      flex-wrap: wrap;
      justify-content: center;
    }
  
    header {
      height: auto;
      padding: 1rem 0.5rem;
    }
  
    .logo-img {
      width: 160px;
    }
  }
    @media (max-width: 900px) { 
      nav {
        display:none;
      }
}
