/* 模仿网站的头部样式 */

/* 页头加载动画 - 仅用于内部元素，背景块直接显示 */
.ny-header-animate {
    opacity: 0;
    animation: nyFadeInUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
@keyframes nyFadeInUp {
    from {
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
}

/* 顶部工具栏元素动画 */
.ny-top-en .ny-outBox > * {
    opacity: 0;
    animation: nyFadeInDown 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.ny-top-en .ny-outBox > .ny-Industrial-park { animation-delay: 0.1s; }
.ny-top-en .ny-outBox > .ny-line-header-box { animation-delay: 0.2s; }

@keyframes nyFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo区域元素动画 */
.ny-header-topBar2 .ny-imgbox > * {
    opacity: 0;
    animation: nyFadeInUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.ny-header-topBar2 .ny-imgbox > .ny-leftPart { animation-delay: 0.25s; }
.ny-header-topBar2 .ny-imgbox > .ny-header-left { animation-delay: 0.35s; }

/* 导航菜单逐项动画 - 只动画 a 标签，不影响 dropdown 的 display 控制 */
.nav-menu-item > a {
    opacity: 0;
    animation: nyNavFadeIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.nav-menu-item:nth-child(1) > a { animation-delay: 0.45s; }
.nav-menu-item:nth-child(2) > a { animation-delay: 0.52s; }
.nav-menu-item:nth-child(3) > a { animation-delay: 0.59s; }
.nav-menu-item:nth-child(4) > a { animation-delay: 0.66s; }
.nav-menu-item:nth-child(5) > a { animation-delay: 0.73s; }
.nav-menu-item:nth-child(6) > a { animation-delay: 0.80s; }
.nav-menu-item:nth-child(7) > a { animation-delay: 0.87s; }
.nav-menu-item:nth-child(8) > a { animation-delay: 0.94s; }

@keyframes nyNavFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ny-toolbar {
    background-color: rgba(255, 255, 255, 0.7);
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    font-family: 'Microsoft YaHei';
}

.ny-toolbar .ny-imgBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f2f2;
    width: 100%;
}

.ny-toolbar .ny-imgBtn .ny-btnBox {
    cursor: pointer;
    margin-top: 8px;
    padding: 0 12px;
    text-align: center;
}

.ny-toolbar .ny-imgBtn .ny-btnBox img {
    width: 30px;
}

.ny-toolbar .ny-imgBtn .ny-btnBox .ny-top-text {
    margin: 0 8px 8px;
    font-size: 14px;
}

.ny-top-en {
    width: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), #053a95 !important;
    text-align: center;
    padding-right: 0;
    color: #ffffff;
    position: relative;
    z-index: 1002;
}

.ny-top-en .ny-outBox {
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    font-size: 12px;
    width: 1200px;
}

.ny-top-en .ny-outBox .ny-top-en-title {
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    display: flex;
    align-items: center;
}

.ny-top-en .ny-outBox .ny-top-en-title .ny-line-header {
    width: 1px;
    height: 14px;
    background: #ffffff;
    margin-left: 12px;
}

.ny-top-en .ny-outBox .ny-Industrial-park {
    padding-top: 12px;
    padding-bottom: 12px;
    cursor: pointer;
    position: relative;
}

.ny-top-en .ny-outBox .ny-Industrial-park .ny-IndustrialPark {
    display: none;
    position: absolute;
    left: 0;
    right: auto;
    text-align: center;
    top: calc(100% + 0px);
    font-family: 'Microsoft YaHei';
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    background: #053a95;
    filter: drop-shadow(0px 1px 10px rgba(0, 0, 0, 0.1));
    z-index: 1001;
}

.ny-top-en .ny-outBox .ny-Industrial-park .ny-IndustrialPark .ny-text {
    padding: 12px;
    color: #ffffff;
    cursor: pointer;
}

.ny-top-en .ny-outBox .ny-Industrial-park .ny-IndustrialPark .ny-text:hover {
    color: #053a95;
    background: #ffffff;
}

.ny-top-en .ny-outBox .ny-Industrial-park:hover .ny-IndustrialPark {
    display: block;
}

.ny-top-en .ny-outBox .ny-IndustrialImg-box {
    padding-top: 2px;
    padding-bottom: 2px;
}

.ny-top-en .ny-outBox .ny-IndustrialImg-box .ny-imgLink {
    position: relative;
    cursor: pointer;
}

.ny-top-en .ny-outBox .ny-IndustrialImg-box .ny-IndustrialImg {
    display: none;
    position: absolute;
    right: 3%;
    text-align: center;
    top: 27px;
    font-family: 'Microsoft YaHei';
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    background: #053a95;
    filter: drop-shadow(0px 1px 10px rgba(0, 0, 0, 0.1));
    z-index: 99;
}

.ny-top-en .ny-outBox .ny-IndustrialImg-box .ny-IndustrialImg .ny-text {
    padding: 12px;
    color: #ffffff;
    cursor: pointer;
}

.ny-top-en .ny-outBox .ny-IndustrialImg-box .ny-IndustrialImg .ny-text .ny-emilBox {
    display: none;
    position: absolute;
    left: 0;
    width: -webkit-fill-available;
    width: -moz-available;
    top: 100%;
}

.ny-top-en .ny-outBox .ny-IndustrialImg-box .ny-IndustrialImg .ny-text .ny-emilBox .ny-text {
    padding: 12px;
    color: #ffffff;
    background: #053a95;
    cursor: pointer;
}

.ny-top-en .ny-outBox .ny-IndustrialImg-box .ny-IndustrialImg .ny-text .ny-emilBox .ny-text:hover {
    color: #053a95;
    background: #ffffff;
}

.ny-top-en .ny-outBox .ny-IndustrialImg-box .ny-IndustrialImg .ny-text:hover {
    color: #053a95;
    background: #ffffff;
}

.ny-top-en .ny-outBox .ny-IndustrialImg-box .ny-IndustrialImg .ny-text:hover .ny-emilBox {
    display: block;
}

.ny-top-en .ny-outBox .ny-IndustrialImg-box:hover .ny-IndustrialImg {
    display: block;
}

.ny-top-en .ny-outBox .ny-line-header-box {
    display: inline-flex;
    justify-content: space-around;
    align-items: center;
    color: #ffffff;
    width: auto;
}

.ny-top-en .ny-outBox .ny-line-header-box .ny-line-header {
    position: relative;
    top: 0;
    width: 1px;
    height: 14px;
    background: #ffffff;
}

.ny-top-en .ny-outBox .ny-line-header-box .ny-outSide1 {
    margin: 0 8px;
}

.ny-top-en .ny-outBox .ny-line-header-box .ny-outSide1,
.ny-top-en .ny-outBox .ny-line-header-box .ny-outSide1:hover,
.ny-top-en .ny-outBox .ny-line-header-box .ny-outSide1:visited,
.ny-top-en .ny-outBox .ny-line-header-box .ny-outSide1:active,
.ny-top-en .ny-outBox .ny-line-header-box .ny-outSide1:link {
    color: #ffffff !important;
    text-decoration: none !important;
}

.ny-top-en .ny-outBox .ny-line-header-box .ny-outSide1:hover {
    color: #053a95 !important;
}

.ny-top-en .ny-outBox .ny-line-header-box .ny-outSide {
    position: relative;
    padding-left: 8px;
}

.ny-top-en .ny-outBox .ny-line-header-box .ny-outSide::after {
    content: '';
    top: 15%;
    left: 0%;
    width: 1.5px;
    height: 14px;
    background: #ffffff;
    position: absolute;
}

.ny-header-topBar2 {
    padding: 24px 0 24px 0;
    width: 100%;
    background: #053a95;
    text-align: center;
}

.ny-header-topBar2 .ny-imgbox {
    display: inline-flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 0 auto;
    width: 1200px;
}

.ny-header-topBar2 .ny-imgbox .ny-leftPart {
    display: flex;
    align-items: center;
}

.ny-header-topBar2 .ny-imgbox .ny-leftPart .ny-marktext {
    color: #ffffff;
    font-size: 16px;
    margin-left: 10px;
}

.ny-header-topBar2 .ny-imgbox img {
    width: 300px;
    height: 50px;
}

.ny-header-topBar2 .ny-imgbox .ny-header-left {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-right: 1%;
}

.ny-header-topBar2 .ny-imgbox .ny-header-left .ny-search-btn1 {
    width: 23px;
    height: 23px;
    margin-left: 12px;
}

/* 移动端响应式样式 */
@media (max-width: 576px) {
    .ny-header-topBar3 {
        width: 100%;
        background: #053a95;
        padding: 8px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .ny-header-topBar3 .ny-leftPart {
        display: flex;
        align-items: center;
    }

    .ny-header-topBar3 .ny-leftPart .ny-marktext {
        color: #ffffff;
        font-size: 12px;
        margin-left: 10px;
    }

    .ny-header-topBar3 .ny-img1 {
        width: 150px;
        height: 25px;
    }

    .ny-header-topBar3 .ny-rightPart {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .ny-header-topBar3 .ny-rightPart .ny-languge {
        font-weight: 400;
        font-size: 16px;
        line-height: 21px;
        color: #ffffff;
    }

    .ny-header-topBar3 .ny-rightPart .ny-img2 {
        margin-left: 10px;
        margin-right: 10px;
        width: 24px;
        height: 24px;
    }

    .ny-header-topBar3 .ny-rightPart .ny-menuLoge {
        width: 24px;
        height: 24px;
    }
}

/* 隐藏旧的占位元素 */
.topblank {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 修复 banner 区域的 margin */
.dqwz {
    margin-top: 0 !important;
}

/* 新头部样式 */
.toolbar {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    box-shadow: none;
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
}

.toolbar.fixed {
    position: fixed;
    top: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.toolbar > .header-wrapper {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.top-en {
    background: #053a95;
    color: #fff;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    width: 100%;
}

.top-en .outBox {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
}

.top-en a {
    color: #fff;
    text-decoration: none;
}

.top-en a:hover {
    color: #053a95;
}

/* 顶部工具栏下拉菜单样式 */
.ny-Industrial-park {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ny-Industrial-park img {
    width: 16px !important;
    height: 16px !important;
}

.ny-Industrial-park:hover .ny-IndustrialPark {
    display: block;
}

.ny-IndustrialPark {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #053a95;
    min-width: 85px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 1001;
    padding: 0;
    margin-top: 0;
}

.ny-IndustrialPark::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    right: 0;
    height: 5px;
    background: transparent;
}

.ny-IndustrialPark .ny-text {
    padding: 12px 15px;
    height: 40px;
    line-height: 16px;
}

.ny-IndustrialPark .ny-text a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    display: block;
}

.ny-IndustrialPark .ny-text a:hover {
    color: #053a95;
    background: #fff;
}

.ny-IndustrialImg-box {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.ny-IndustrialImg-box:hover .ny-IndustrialImg {
    display: block;
}

.ny-IndustrialImg {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 85px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 1001;
    padding: 0;
}

.ny-IndustrialImg .ny-text {
    padding: 12px 15px;
    height: 40px;
    line-height: 16px;
    position: relative;
    color: #fff;
    font-size: 14px;
}

.ny-IndustrialImg .ny-text a {
    color: #fff;
    text-decoration: none;
    display: block;
}

.ny-IndustrialImg .ny-text a:hover {
    color: #053a95;
    background: #fff;
}

.ny-IndustrialImg .ny-text:hover {
    color: #053a95;
    background: #fff;
}

.ny-emilBox {
    display: none;
    position: absolute;
    left: -85px;
    top: 0;
    background: #fff;
    min-width: 85px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 0;
}

.ny-IndustrialImg .ny-text:hover .ny-emilBox {
    display: block;
}

.ny-emilBox .ny-text {
    padding: 12px 15px;
    height: 40px;
    line-height: 16px;
}

.ny-emilBox .ny-text a {
    color: #fff;
    text-decoration: none;
    display: block;
}

.ny-emilBox .ny-text a:hover {
    color: #053a95;
    background: #fff;
}

.line-header-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.line-header {
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,0.5);
}

.header-topBar2 {
    background: #053A95;
    width: 100%;
    height: 90px;
}

.header-topBar2 .imgbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
}

.header-topBar2 .leftPart img {
    height: 60px;
}

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

.header-left img {
    cursor: pointer;
}

.header-topBar3 {
    display: none;
}

/* 导航栏样式 - 使用自定义类名避免与Bootstrap冲突 */
.main-navbar {
    background: #0f4bb0 !important;
    padding: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    display: block !important;
    height: 50px !important;
}

.nav-wrapper {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    height: 50px !important;
}

.nav-menu-list {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0 !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: nowrap !important;
    width: 1200px !important;
    height: 50px !important;
}

.nav-menu-item {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 50px !important;
    height: 50px !important;
    width: 135px !important;
    margin: 0 !important;
    text-align: center !important;
}

.nav-menu-item > a {
    color: #fff !important;
    font-size: 16px !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
    white-space: nowrap !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-block !important;
    line-height: 50px !important;
    height: 50px !important;
}

.nav-menu-item:hover {
    background: #053a95 !important;
    cursor: pointer !important;
}

.nav-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
    height: auto !important;
    position: absolute !important;
    top: 100% !important;
    background: #053a95 !important;
    width: 100% !important;
    text-align: center !important;
    left: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 999 !important;
}

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

/* 下拉菜单项依次展示 */
.nav-dropdown-item {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.nav-menu-item:hover .nav-dropdown-item {
    opacity: 1;
    transform: translateY(0);
}
.nav-menu-item:hover .nav-dropdown-item:nth-child(1) { transition-delay: 0.08s; }
.nav-menu-item:hover .nav-dropdown-item:nth-child(2) { transition-delay: 0.16s; }
.nav-menu-item:hover .nav-dropdown-item:nth-child(3) { transition-delay: 0.24s; }
.nav-menu-item:hover .nav-dropdown-item:nth-child(4) { transition-delay: 0.32s; }
.nav-menu-item:hover .nav-dropdown-item:nth-child(5) { transition-delay: 0.40s; }

.nav-dropdown-item {
    padding: 12px !important;
    margin: 0 !important;
}

.nav-dropdown-item {
    padding: 0 !important;
    margin: 0 !important;
    height: 50px !important;
    line-height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.nav-dropdown-item a {
    display: block !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
    white-space: nowrap !important;
    padding: 0 20px !important;
    margin: 0 !important;
    height: 50px !important;
    line-height: 50px !important;
    width: 100% !important;
    text-align: center !important;
}

.nav-dropdown-item:hover {
    background: #ffffff !important;
}

.nav-dropdown-item:hover a {
    color: #053a95 !important;
}

/* 移动端菜单 */
.md-menu {
    display: none;
}

@media (max-width: 992px) {
    .header-topBar2 {
        display: none;
    }
    
    .header-topBar3 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        background: #053a95;
    }
    
    .header-topBar3 .leftPart img {
        height: 40px;
    }
    
    .header-topBar3 .rightPart {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .header-topBar3 .rightPart img {
        cursor: pointer;
    }
    
    .md-menu {
        display: block;
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: #fff;
        box-shadow: -2px 0 8px rgba(0,0,0,0.15);
        transition: right 0.3s;
        z-index: 1001;
        overflow-y: auto;
    }
    
    .md-menu.active {
        right: 0;
    }
    
    .md-menu .slide-header {
        background: #053a95;
        padding: 15px;
        text-align: right;
    }
    
    .md-menu .collapse-btn {
        cursor: pointer;
    }
    
    .md-menu .collapse-btn span {
        display: block;
        width: 24px;
        height: 2px;
        background: #fff;
        margin: 6px 0;
    }
    
    .md-menu ul.navbar-nav {
        padding: 0;
        margin: 0;
        list-style: none;
    }
    
    .md-menu ul.navbar-nav li {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .md-menu ul.navbar-nav li a {
        display: block;
        padding: 15px 20px;
        color: #333;
        text-decoration: none;
    }
    
    .md-menu ul.navbar-nav li a:hover {
        background: #f5f5f5;
        color: #053a95;
    }
    
    .md-menu .sub-nav-item {
        display: none;
    }
    
    .md-menu .sub-nav-item.active {
        display: block;
    }
    
    .md-menu .sub-nav-item a {
        padding-left: 40px;
        font-size: 14px;
    }
}
