/* ===== 国外劳务头部导航栏样式 ===== */
header.header {
    width: 100% !important;
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1000 !important;
    height: 90px !important;
}

header.header .head.con-center {
    width: 1200px !important;
    height: 100% !important;
    margin: 0 auto !important;
    overflow: hidden !important;
}

/* Logo区域 */
header.header .head .le.logoImg {
    width: 400px !important;
    height: 44px !important;
    float: left !important;
    margin-top: 23px !important; /* (90px - 44px)/2 */
}

header.header .head .le.logoImg a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

header.header .head .le.logoImg img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* 导航菜单 */
header.header .head .ri.head-nav {
    float: right !important;
    height: 90px !important;
}

header.header .head .ri.head-nav .head-nav-ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 100% !important;
}

header.header .head .ri.head-nav .head-nav-ul li {
    float: left !important;
    height: 100% !important;
    margin: 0 5px !important;
}

header.header .head .ri.head-nav .head-nav-ul li a {
    display: block !important;
    padding: 0 25px !important;
    height: 90px !important;
    line-height: 90px !important;
    text-align: center !important;
    color: #666 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
}

header.header .head .ri.head-nav .head-nav-ul li a:hover {
    color: #593AFB !important;
}

/* 激活状态 - 对应当前页面 */
header.header .head .ri.head-nav .head-nav-ul li.active a {
    color: #593AFB !important;
    font-weight: 600 !important;
    position: relative !important;
}

header.header .head .ri.head-nav .head-nav-ul li.active a:after {
    content: '' !important;
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 30px !important;
    height: 2px !important;
    background: #593AFB !important;
}

/* 为body添加padding-top避免固定头部遮挡内容 */
body {
    padding-top: 90px !important;
    margin: 0 !important;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    header.header .head.con-center {
        width: 100% !important;
        padding: 0 20px !important;
    }
    
    header.header .head .le.logoImg {
        width: 300px !important;
    }
}

@media (max-width: 992px) {
    header.header {
        height: auto !important;
    }
    
    header.header .head.con-center {
        height: auto !important;
        padding: 15px 20px !important;
        overflow: visible !important;
    }
    
    header.header .head .le.logoImg {
        float: none !important;
        margin: 0 auto 10px !important;
        width: 280px !important;
    }
    
    header.header .head .ri.head-nav {
        float: none !important;
        width: 100% !important;
        text-align: center !important;
        height: auto !important;
    }
    
    header.header .head .ri.head-nav .head-nav-ul {
        display: inline-block !important;
        height: auto !important;
    }
    
    header.header .head .ri.head-nav .head-nav-ul li {
        height: 50px !important;
    }
    
    header.header .head .ri.head-nav .head-nav-ul li a {
        height: 50px !important;
        line-height: 50px !important;
        padding: 0 15px !important;
    }
    
    header.header .head .ri.head-nav .head-nav-ul li.active a:after {
        bottom: 10px !important;
    }
    
    body {
        padding-top: 120px !important;
    }
}

@media (max-width: 768px) {
    header.header .head .ri.head-nav .head-nav-ul li a {
        padding: 0 12px !important;
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    header.header .head .le.logoImg {
        width: 240px !important;
    }
    
    header.header .head .ri.head-nav .head-nav-ul li {
        margin: 0 2px !important;
    }
    
    header.header .head .ri.head-nav .head-nav-ul li a {
        padding: 0 8px !important;
        font-size: 14px !important;
    }
}