/* Main header container */
.header-wrapper {
  width: 100%;
}

/* Top navigation bar */
.top-nav {
  background-color: #2d4b73;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.version-selector {
  display: flex;
}

.version-btn {
  padding: 8px 15px;
  font-size: 14px;
  border: 1px solid white;
  color: #333;
  text-decoration: none;
  background-color: white;
}

.version-btn.active {
  background-color: white;
  font-weight: bold;
}

.version-btn:not(.active) {
  background-color: transparent;
  color: white;
}

.version-btn:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.version-btn:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.top-right-controls {
  display: flex;
  align-items: center;
}

.search-container {
  position: relative;
  margin-right: 15px;
}

.search-container input {
  padding: 8px 15px;
  border-radius: 20px;
  border: none;
  width: 300px;
  font-size: 14px;
}

.search-container button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
}

.search-icon {
  color: #777;
}

.settings-icon {
  color: white;
  margin-right: 15px;
  cursor: pointer;
}

.language-selector {
  background-color: transparent;
  border: 1px solid white;
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-right: 15px;
  cursor: pointer;
}

.language-selector img {
  margin-right: 5px;
}

.social-icons {
  display: flex;
}

.social-icon {
  background-color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
}

.facebook-icon {
  color: #3b5998;
}

.twitter-icon {
  color: #1da1f2;
}

/* Logo and main navigation */
.main-nav {
  background-color: #2d4b73;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-image {
  display: flex;
  align-items: center;
}

.logo-bars {
  display: flex;
  height: 40px;
  margin-right: 10px;
}

.logo-bar {
  width: 10px;
  margin-right: 3px;
  border-radius: 1px;
}

.logo-bar-blue {
  background-color: #6291bd;
  height: 100%;
}

.logo-bar-green {
  background-color: #94bd62;
  height: 70%;
  align-self: flex-end;
}

.logo-bar-orange {
  background-color: #bd8c62;
  height: 85%;
  align-self: flex-end;
}

.logo-text {
  color: white;
}

.logo-text h1 {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 1px;
}

.logo-text p {
  font-size: 12px;
  letter-spacing: 0.5px;
}

.main-menu {
  display: flex;
  list-style: none;
}

.menu-item {
  margin-left: 20px;
  color: white;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  letter-spacing: 0.5px;
  padding: 10px 0;
}

.search-icon-mobile {
  color: white;
  font-size: 20px;
  margin-left: 20px;
  display: none;
}

.dropdown-icon {
  margin-left: 5px;
}

@media (max-width: 992px) {
  .search-container input {
    width: 200px;
  }
  
  .menu-item {
    margin-left: 10px;
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .top-nav {
    flex-wrap: wrap;
  }
  
  .search-container {
    order: 3;
    margin-top: 10px;
    width: 100%;
  }
  
  .search-container input {
    width: 100%;
  }
  
  .main-menu {
    display: none;
  }
  
  .search-icon-mobile {
    display: block;
  }
}