.containerHeader {
  max-width: 1300px;
  margin: auto;
}
.top-bar {
  font-size: 13px;
}
.top-content {
  display: flex;
  justify-content: center;
  align-items: center;
}
.top-content .right img,
.lang-icon {
  width: 18px;
  height: 15px;
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-icon i {
  font-size: 18px;
  color: #0a58ca;
}
.top-content .right img:hover,
.lang-icon:hover {
  transform: scale(1.15);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}
.top-content .right img:active,
.lang-icon:active {
  transform: scale(0.9);
  opacity: 0.7;
}
.left {
  display: flex;
}
.right {
  display: flex;
}
.top-content .left span {
  margin-right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 400;
  color: #555;
}
.top-content .left a {
  margin-right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 400;
  color: #555;
  text-decoration: none;
}
.top-content .left a:hover {
  color: #0a58ca;           
}

.top-content .left i {
  color: #0a58ca;
  font-size: 14px;
}

.top-content img {
  width: 20px;
  margin-left: 10px;
}

.header-middle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 342px;
  height: 70px;
  margin-right: 10px;
}

.logo h2 {
  font-size: 20px;
  color: #6a1b9a;
}

.search-box {
  display: flex;
  width: 100%;
  height: 35px;
  border: 1px solid #ccc;
  border-radius: 26px;
  overflow: hidden;
  margin-top: 10px;
}

.search-box input {
  width: 100%;
  height: 100%;
  padding: 0 15px;
  border: none;
  font-size: 14px;
  outline: none;
}

.search-box button {
  width: 60px;
  height: 100%;
  border: none;
  background: #0a58ca;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.who-logo img {
  width: 77px;
  height: 70px;
}
.navbar {
  display: flex;
  justify-content: center;
  gap: 30px;
  border-top: 1px solid #eee;
  padding: 12px 0;
  position: relative;
}
 
.navbar a {
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: 0.7px;
  padding-bottom: 10px;
  position: relative;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.75);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6), 0 2px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}

.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;  
  width: 0%;
  height: 2px;
  background: #0a58ca;
  transition: width 0.3s ease;
}

.navbar a:hover {
  color: #0a58ca;
  transform: translateY(-1px);
}

.navbar a:hover::after {
  width: 100%;
}

.navbar a.active {
  color: #0a58ca;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6), 0 2px 0 rgba(10, 88, 202, 0.15);
}

.navbar a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 25px;
  cursor: pointer;
}
.mobile-search-icon {
  display: none;
}
.mobile-search-container {
  display: none;
  width: 100%;
  padding: 10px 12px;  
  background: #fff;
  box-sizing: border-box; 
}

.mobile-search-container.active {
  display: block;
}
@media (min-width: 1024px) {
  .header-middle,
  .navbar {
    opacity: 1;
  }
  .main-header.show .header-middle {
    animation: headerAnim 0.8s ease forwards;
  }
  @keyframes headerAnim {
    from {
      opacity: 0;
      transform: translateY(-30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .main-header.show .navbar {
    animation: navAnim 0.8s ease forwards;
    animation-delay: 0.8s;
  }
  @keyframes navAnim {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 768px) {
  .mobile-search-container {
    border-bottom: 1px solid #ddd;
  }
  .mobile-search-container .search-box {
    display: flex;
    width: 100%;
  }
  .main-header {
    border-bottom: 1px solid #ddd;
  }
  .header-middle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    gap: 6px;
    flex-wrap: nowrap;
  }
  .top-bar {
    display: none;
  }
  .navbar {
    display: none !important;
  }
  .menu-toggle {
    display: block;
    order: 1;
    color: #0a58ca;
    font-size: 26px;
    width: 30px;
    text-align: left;
  }
  .logo {
    order: 2;
    flex: 1;
    display: flex;
    justify-content: center;
  }
  .who-logo {
    order: 3;
  }
  .mobile-search-icon {
    display: block;
    order: 4;
    width: 30px;
    text-align: right;
  }
  .mobile-search-icon i {
    color: #0a58ca;
    font-size: 20px;
  }
  .logo img {
    width: 190px;
    height: auto;
  }
  .who-logo img {
    width: 38px;
    height: auto;
  }
  .search-box {
    display: none;
    width: 100%;
    margin-top: 10px;
  }
  .search-box.active {
    display: flex;
  }
}
