﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
}

.header {
    position: relative;
    z-index: 1000;
}

.header-top {
    height: 90px;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}

.header-top .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo img {
    display: block;
    width: 100px;
    height: 53px;
    object-fit: contain;
}

.divider {
    width: 2px;
    height: 40px;
    background: #ddd;
}

.features {
    display: flex;
    gap: 25px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-text {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.feature-english {
    font-size: 12px;
    color: #666;
    text-transform: capitalize;
}

.header-right {
    display: flex;
    align-items: center;
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-btn {
    background: none;
    border: none;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: var(--mainColor);
    background: #f8f9fa;
}

.lang-btn.active {
    color: var(--mainColor);
    font-weight: 600;
}

.lang-divider {
    color: #ddd;
    font-size: 14px;
}

.header-nav {
    height: 54px;
    background: #2e363c;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    height: 100%;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    min-width: 140px;
    padding: 0 20px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover,
.nav-item.active .nav-link {
    background: var(--mainColor);
    color: #fff;
}

.nav-item.has-dropdown {
    position: relative;
}

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

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

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 25px;
}




.search-form {
    flex-shrink: 0;
}

.search-input-group {
    display: flex;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 16px;
    background: transparent;
    min-width: 300px;
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    padding: 15px 30px;
    background: var(--mainColor);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #0d4a7a;
    transform: translateY(-1px);
}