.lang-selector ul {
  text-align: left;
  font-size: 0;
  max-height: 160px !important;
  overflow-y: scroll;
}
/* Kuangke Header Section */
.kuangke-header-section {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.40) !important;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  box-shadow: none;
}

:root{
  --title-font-family: Roboto;
}

.kuangke-header-section .iconfont{
  font-size: 20px;
}

.kuangke-header-section .container-fluid{
  max-width: 100%;
}

/* Header when scrolled - 使用最强选择器 */
header.kuangke-header-section.scrolled,
.kuangke-header-section.scrolled,
.kuangke-header-section.kuangke-header-scrolled {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.kuangke-header-wrapper {
  padding: 15px 0;
}

/* Logo Styles */
.kuangke-header-logo {
  display: flex;
  align-items: center;
}

.kuangke-logo-link,
.kuangke-logo-text {
  display: inline-block;
  text-decoration: none;
}

.kuangke-logo-img,
.kuangke-logo-img-2 {
  max-height: 50px;
  width: auto;
  transition: all 0.3s ease;
}

.kuangke-logo-img-2{
  display: none;
}

.kuangke-header-section.scrolled .kuangke-logo-img-2{
  display: block;
}

.kuangke-header-section.scrolled .kuangke-logo-img{
  display: none; 
}

.kuangke-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--title-font-family, 'Roboto', sans-serif);
  transition: color 0.3s ease;
}

/* Logo color when scrolled */
.kuangke-header-section.scrolled .kuangke-logo-text {
  color: var(--color-primary, #1554A3);
}

/* Navigation Styles */
.kuangke-header-nav {
  display: flex;
  justify-content: center;
}

.kuangke-nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.kuangke-nav-item {
  position: relative;
}

.kuangke-nav-link {
  display: flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 0;
  transition: all 0.3s ease;
  font-family: var(--font-family, 'Roboto', sans-serif);
}

/* Navigation links when scrolled */
.kuangke-header-section.scrolled .kuangke-nav-link {
  color: #333333;
}

.kuangke-nav-link:hover {
  color: var(--color-primary, #1554A3);
  text-decoration: none;
}

.kuangke-nav-arrow::before {
  content: "▼";
  font-size: 0.7rem;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

/* Dropdown Menu */
.kuangke-nav-dropdown:hover .kuangke-nav-arrow::before {
  transform: rotate(180deg);
}

.kuangke-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  list-style: none;
  margin: 0;
  padding: 10px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.kuangke-nav-dropdown:hover .kuangke-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.kuangke-dropdown-item {
  margin: 0;
}

.kuangke-dropdown-link {
  display: block;
  padding: 12px 20px;
  color: #333333;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.kuangke-dropdown-link:hover {
  background: #f8f9fa;
  color: var(--color-primary, #1554A3);
  text-decoration: none;
}

/* Header Actions */
.kuangke-header-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lang-selector em{
  display: none !important;
}

.lang-selector{
  width: auto!important;
}

.lang-selector .current-lang{
  display: flex;
  align-items: center;
  justify-content: center!important;
  width: 48px!important;
  height: 48px!important;
  background: #FFF;
  color: var(--color-primary);
  border: 1px solid rgba(255, 255, 255, 0.3)!important;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-selector  :hover{
  color: #ffffff;
 background: #fff;
  border-color: var(--color-primary, #1554A3);
}

/* Search Button */
.kuangke-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Search button when scrolled */
.kuangke-header-section.scrolled .kuangke-search-btn {
  background: var(--color-primary);
    color: #FFF;
}

.kuangke-header-section.scrolled .kuangke-contact-btn,
.kuangke-header-section.scrolled .lang-selector .current-lang{
  background: var(--color-primary);
  color: #FFF;
}

.kuangke-search-btn:hover {
  color: #ffffff;
  background: var(--color-primary, #1554A3);
  border-color: var(--color-primary, #1554A3);
}

/* Search icon when scrolled */
.kuangke-header-section.scrolled .kuangke-search-icon::before {
  filter: none;
}

.kuangke-search-btn:hover .kuangke-search-icon::before {
  filter: brightness(0) invert(1);
}

/* Contact Button */
.kuangke-contact-btn {
  display: inline-flex;
  align-items: center;
  color: var(--color-primary, #1554A3);
  background: #ffffff;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.kuangke-contact-btn:hover {
  background: #0d4085;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(21, 84, 163, 0.3);
}

/* Mobile Toggle */
.kuangke-mobile-toggle {
  display: flex;
  flex-direction: column;
  width: 20px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 10px;
}

.kuangke-hamburger {
  width: 100%;
  height: 2px;
  background: #ffffff;
  margin: 2px 0;
  transition: all 0.3s ease;
}

/* Mobile toggle when scrolled */
.kuangke-header-section.scrolled .kuangke-hamburger {
  background: #333333;
}

.kuangke-mobile-toggle.active .kuangke-hamburger:nth-child(1) {
  transform: rotate(45deg) translate(2px, 8px);
}

.kuangke-mobile-toggle.active .kuangke-hamburger:nth-child(2) {
  opacity: 0;
}

.kuangke-mobile-toggle.active .kuangke-hamburger:nth-child(3) {
  transform: rotate(-45deg) translate(1px, -6px);
}

/* Search Overlay */
.kuangke-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  /* bottom: 0; */
  background: rgba(255, 255, 255, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px 0;
}

.kuangke-search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.kuangke-search-container {
  max-width: 600px;
  width: 90%;
  position: relative;
}

.kuangke-search-input-wrapper {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid var(--color-primary, #1554A3);
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.kuangke-search-input {
  flex: 1;
  border: none;
  padding: 20px 25px;
  font-size: 1.1rem;
  outline: none;
}

.kuangke-search-submit {
  background: var(--color-primary, #1554A3);
  border: none;
  padding: 20px 25px;
  cursor: pointer;
  color: #ffffff;
}

.kuangke-search-close {
  position: absolute;
  /* top: -50px; */
  right: -50px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333333;
  top: 0;
  bottom: 0;
}

.kuangke-close-icon::before {
  content: "✕";
}

/* Mobile Menu */
.kuangke-mobile-menu {
  display: none;
}

#kuangke-mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  z-index: 999;
  overflow-y: auto;
  padding: 20px 0;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#kuangke-mobile-menu.show {
  display: block;
  transform: translateX(0);
}

/* Only show mobile menu on small screens */
@media (max-width: 991px) {
  #kuangke-mobile-menu {
    display: block;
  }
  
  #kuangke-mobile-menu:not(.show) {
    display: none;
  }
}

/* Hide mobile menu on large screens */
@media (min-width: 992px) {
  #kuangke-mobile-menu {
    display: none !important;
  }
}

.kuangke-mobile-nav {
  padding: 0;
}

.kuangke-mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kuangke-mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  color: #000;
  font-family: Roboto;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.4px;
}

.kuangke-mobile-nav-link:hover {
  color: var(--color-primary, #1554A3);
  text-decoration: none;
}

.kuangke-mobile-arrow::before {
  content: "▶";
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.kuangke-mobile-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.kuangke-mobile-dropdown.active .kuangke-mobile-submenu {
  max-height: 300px;
}

.kuangke-mobile-dropdown.active .kuangke-mobile-arrow::before {
  transform: rotate(90deg);
}

.kuangke-mobile-submenu-link {
  display: block;
  padding: 8px 20px;
  color: #000;
  font-family: Roboto;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.28px;
}

.kuangke-mobile-submenu-link:hover {
  background: #e9ecef;
  color: var(--color-primary, #1554A3);
  text-decoration: none;
}

.kuangke-mobile-actions {
  padding: 20px;
  border-top: 1px solid #f0f0f0;
  background: #f8f9fa;
}

.kuangke-mobile-contact-btn {
  display: block;
  width: 100%;
  background: var(--color-primary, #1554A3);
  color: #ffffff;
  padding: 15px;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.kuangke-mobile-contact-btn:hover {
  background: #0d4085;
  color: #ffffff;
  text-decoration: none;
}

.kuangke-mobile-overlay {
  display: none;
}

@media (max-width: 1440px) {
  .kuangke-contact-btn{
    padding: 12px;
  }


}


@media (max-width: 1300px) {
  .kuangke-header-actions {
    justify-content: space-between;
  }

  .kuangke-contact-btn {
    padding: 12px 2px;
  }

  .kuangke-search-btn{
    flex-shrink: 1;
    margin: 0;
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .kuangke-nav-list {
    gap: 1.5rem;
  }
  
  .kuangke-nav-link {
    font-size: 0.95rem;
  }
}

@media (max-width: 992px) {
  .kuangke-header-wrapper {
    padding: 12px 0;
  }
  
  .kuangke-logo-img,
  .kuangke-logo-img-2 {
    max-height: 45px;
  }
  
  .kuangke-contact-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  #kuangke-mobile-menu {
    top: 69px;
  }

  .kuangke-header-section{    position: relative !important;}
  header.kuangke-header-section.scrolled, .kuangke-header-section.scrolled, .kuangke-header-section.kuangke-header-scrolled{position: fixed !important;}
}

@media (max-width: 768px) {
  .kuangke-header-wrapper {
    padding: 10px 15px;
  }
  
  .kuangke-logo-img {
    max-height: 40px;
  }
  
  .kuangke-logo-text {
    font-size: 1.25rem;
  }
  
  .kuangke-contact-btn,
  .kuangke-mobile-actions {
    display: none;
  }
  
  .kuangke-search-btn {
    width: 30px;
    height: 30px;
    margin: 0 12px;
  }

  .lang-selector .current-lang {
    width: 30px!important;
    height: 30px!important;
  }

  .container-fluid{
    padding: 0;
  }

  .kuangke-header-actions {
    justify-content: flex-end;
  }
  
  #kuangke-mobile-menu {
    top: 60px;
  }
}

@media (max-width: 576px) {
  .kuangke-mobile-menu {
    width: 280px;
  }

  .kuangke-mobile-toggle{
    height: auto;
  }

  .kuangke-header-section .iconfont,
  .kuangke-header-section .lang-selector .current-lang .iconfont-diqiu {
    font-size: 12px;
    line-height: 12px;
  }

  .kuangke-header-section .iconfont .iconfont-plus{
    font-size: 20px;
    font-weight: 600;
  }
  
  .kuangke-search-container {
    width: 95%;
  }
  
  .kuangke-search-input {
    padding: 15px 20px;
    font-size: 1rem;
  }
  
  .kuangke-search-submit {
    padding: 15px 20px;
  }
  
  #kuangke-mobile-menu {
    top: 60px;
  }
} 