/* 默认样式 */
body {
    margin: 0;
    font-family: "Noto Sans SC", Arial, sans-serif;
    background: #f7fafd;
    color: #222;
}

body,
html {
    min-width: 100vw;
    margin: 0 auto;
    overflow-x: hidden;
}

/* 去除列表默认样式 */
ul,
ol {
    list-style: none;
}

/* 去除默认的倾斜效果 */
em,
i {
    font-style: normal;
}

/* 去除a标签默认下划线，并设置默认文字颜色 */
a {
    text-decoration: none;
    color: #333;
}

/* 设置img的垂直对齐方式为居中对齐，去除img默认下间隙 */
img {
    vertical-align: middle;
}

.container {
    margin: 0 auto;
    background: #fff;
}

.boxW {
    width: 70%;
    margin: 0 auto;
    max-width:1400px;
}

/* 头部样式 */
header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    gap: 45px;
    font-size: 18px;
}

.nav-menu a {
    color: #222;
    text-decoration: none;
    padding: 20px 0;
    border-bottom: 2px solid transparent;
    transition: border 0.2s, transform 0.5s ease;
}

.nav-menu a.active,
.nav-menu a:hover {
    border-bottom: 2px solid #1976d2;
    color: rgba(51, 51, 51, 1);
    font-weight: 600;
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) scaleY(0);
    background: #ffffff79;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    min-width: 155px;
    opacity: 0;
    visibility: hidden;
    transform-origin: top center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    padding: 8px 0;
    margin-top: 20px;
    max-height: 0;
    overflow: hidden;
}

.nav-menu .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scaleY(1);
    max-height: 300px;
}

.nav-menu li:nth-child(5) .dropdown-menu{
    width:175px;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-size: 14px;
    border-bottom: none !important;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 400 !important;
}

.dropdown-menu a:hover {
    background-color: rgba(245, 245, 245, 0.8);
    color: #1976d2 !important;
    border-bottom: none;
    font-weight: normal;
}

.topR {
    display: flex;
    align-items: center;
    width: 10%
}

.topR .search {
    margin-left: 3.3rem;
}

/* 底部样式 */
footer {
    background: linear-gradient(90deg, rgba(29, 82, 148, 1) 60%, rgba(19, 121, 170, 1) 100%);
    padding: 48px 0 61.5px 0;
    font-size: 14px;
}

.footer_top {
    display: flex;
    padding-bottom: 1.3rem;
    border-bottom: rgba(255, 255, 255, 0.1) 3px solid;
    justify-content:space-between;
}

.footer-tr{
    display:flex;
}

.footer-menu {
    display: flex;
    gap: 33.5px;
    align-items: flex-end;
    justify-content: flex-end;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    transition: transform 0.5s ease;
}

.footer-menu a:hover {
    color: rgba(255, 255, 255, 1);
}

.footer_top img {
   
}

.footer_rbox {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    color: rgba(255, 255, 255, 1);
    margin-left: 50px;
    margin-bottom: -1.45rem;
    padding-bottom: 1.3rem;
    border-bottom: rgba(255, 255, 255, 1) 3px solid;
}

.footer_rbox  a{
     color:#fff;
}

.footer_rbox img {
    height: 18px;
    margin-right: 4.5px;
}

.footer_rbox .xl {
    height: 7px;
    margin: 0;
    margin-bottom: 5px;
    margin-left: 8.5px;
}

.footer_bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2.625rem;
}

.footer_bq {
    color: rgba(255, 255, 255, 0.5);
}

.footer_fl {
    display: flex;
    gap: 22.5px;
    align-items: center;
    justify-content: center;
}

.footer_fl a {
    color: rgba(255, 255, 255, 0.6);
}

.footer_fl a img {
    width: 45px;
    height: 45px;
}

.wx-ewm{
    position:relative;
}

.ewm-con{
    position:absolute;
    width:330px;
    display:flex;
    flex-wrap:wrap;
    background: #fff;
    padding:15px;
    border-radius:5px;
    padding-right:5px;
    bottom: 46px;
    left: -284px;
    box-shadow:0px 1px 5px #999;
    display:none;
}

.ewm-con:after{
    display:block;
    content:'';
    width:30px;
    height:15px;
    background:url(../images/ewm-icon.png) no-repeat;
    position:absolute;
    bottom:-13px;
    right:30px;
    background-size:100%;
}

.ewm-con li{
    width:100px;
     margin-right:10px;
    margin-bottom:10px;
}

.ewm-con li img{
    width:100%;
    height:auto;
}

.wx-ewm:hover .ewm-con{
    display:flex;
}

/* ===== 移动端响应式设计 ===== */

/* 移动端汉堡菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #1976d2;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* 移动端导航菜单 */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1001;
}

.mobile-nav-close {
    width: 30px;
    height: 30px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    font-size: 24px;
    color: #333;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.mobile-nav-close:hover {
    background-color: #e0e0e0;
}

.mobile-nav-close::before,
.mobile-nav-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background: #333;
    transform-origin: center;
}

.mobile-nav-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-nav-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-nav-menu {
    padding: 0;
    margin: 0;
    list-style: none;
    background: #fff;
}

.mobile-nav-menu li {
    border-bottom: 1px solid #eee;
}

.mobile-nav-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
    background: #fff;
}

.mobile-nav-menu a:hover {
    background-color: #f5f5f5;
}

.mobile-nav-menu .dropdown-arrow {
    font-size: 12px;
    color: #999;
    transition: transform 0.3s ease;
}

.mobile-nav-menu .dropdown.active .dropdown-arrow {
    transform: rotate(90deg);
    color: #1976d2;
}

.mobile-nav-menu .dropdown-menu {
    background: #f5f5f5;
    margin: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: none;
    overflow: visible;
    display: none;
    border-top: 1px solid #eee;
    transition: all 0.3s ease;
}

.mobile-nav-menu .dropdown-menu li {
    list-style: none;
    border-bottom: 1px solid #e0e0e0;
}

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

.mobile-nav-menu .dropdown-menu a {
    padding: 15px 20px 15px 40px;
    font-size: 14px;
    color: #666;
    border-bottom: none;
    background: #f5f5f5;
    display: block;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-nav-menu .dropdown-menu a:hover {
    background-color: #e3f2fd !important;
    color: #1976d2 !important;
}

/* 移动端响应式断点 */
@media (max-width: 768px) {
    .nav {
        padding: 0 20px;
        height: 60px;
    }
    
    .nav-logo img {
       
    }
    
    .nav-menu {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .topR {
        display: none;
    }
    
    .boxW {
        width: 90%;
    }
    
    /* 移动端底部样式 */
    .footer_top {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }
    
    .footer_top img {
        margin-right: 0;
        margin-top: 10px;
    }

    
    .footer_bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer_fl {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 0 15px;
    }
    
    .nav-logo img {
        height: 35px;
    }
    
    .boxW {
        width: 95%;
    }
    
    .mobile-nav-menu a {
        padding: 18px 15px;
        font-size: 15px;
    }
    
    .mobile-nav-menu .dropdown-menu a {
        padding: 12px 15px 12px 30px;
        font-size: 13px;
    }
    
    /* 移动端底部样式优化 */
    footer {
        padding: 30px 0 40px 0;
    }
    
    .footer_top {
        gap: 15px;
    }
    
    .footer_top img {
        height: 40px;
        margin-top: 10px;
        margin-right: 0 !important;
    }

    .footer-menu {
        display: none !important;
    }
    
    .footer_rbox {
        display: none !important;
    }
    
    .footer_bottom {
        gap: 15px;
    }
    
    .footer_bq {
        font-size: 12px;
        line-height: 1.5;
    }
    
    .footer_fl {
        gap: 12px;
    }
    
    .footer_fl a img {
        width: 35px;
        height: 35px;
    }
}

/* 移动端动态资讯区域响应式 */
@media (max-width: 768px) {
    .info-title {
        font-size: 20px;
        padding-top: 40px;
        margin-bottom: 20px;
    }
    
    .info-list {
        padding-bottom: 40px;
    }
    
    .info-card {
        margin: 0 10px;
    }
    
    .info-swiper-controls {
        position: static;
        justify-content: center;
        margin-top: 20px;
        gap: 10px;
    }
}

/* 移动端导航打开时防止背景滚动 */
body.nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* 移动端导航优化样式 */
@media (max-width: 768px) {
    .mobile-nav {
        display: block;
    }
    
    .mobile-nav-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-nav-menu li {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
        animation: none;
    }
    
    .mobile-nav-menu .dropdown-menu {
        display: none;
        background: #f5f5f5;
        border-top: 1px solid #eee;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: none;
        overflow: visible;
        box-shadow: none;
        margin: 0;
        padding: 0;
        border-radius: 0;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-menu .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .mobile-nav-menu .dropdown-arrow {
        transition: transform 0.3s ease;
        display: inline-block;
    }
    
    .mobile-nav-menu .dropdown.active .dropdown-arrow {
        transform: rotate(90deg);
        color: #1976d2;
    }
    
    /* 移动端导航菜单项激活状态 */
    .mobile-nav-menu a.active {
        background-color: #e3f2fd;
        color: #1976d2;
        font-weight: 600;
    }
    
    /* 移动端导航菜单项悬停效果 */
    .mobile-nav-menu a:hover {
        background-color: #f5f5f5;
    }
    
    /* 移动端下拉菜单项样式 */
    .mobile-nav-menu .dropdown-menu li {
        list-style: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .mobile-nav-menu .dropdown-menu li:last-child {
        border-bottom: none;
    }
    
    .mobile-nav-menu .dropdown-menu a {
        background-color: #f5f5f5 !important;
        border-left: 3px solid transparent;
        padding: 15px 20px 15px 40px;
        font-size: 14px;
        color: #666 !important;
        border-bottom: none;
        display: block;
        text-decoration: none;
        transition: background-color 0.3s ease, color 0.3s ease;
    }
    
    .mobile-nav-menu .dropdown-menu a:hover {
        background-color: #e3f2fd;
        border-left-color: #1976d2;
        color: #1976d2;
    }
    
    /* 移动端导航头部样式优化 */
    .mobile-nav-header {
        position: sticky;
        top: 0;
        z-index: 1001;
        background: #fff;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    /* 移动端导航关闭按钮样式优化 */
    .mobile-nav-close {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: #f5f5f5;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s ease;
    }
    
    .mobile-nav-close:hover {
        background-color: #e0e0e0;
    }
    
    .mobile-nav-close::before,
    .mobile-nav-close::after {
        width: 16px;
        height: 2px;
        background: #333;
    }
    
    /* 移动端导航动画优化 */
    .mobile-nav {
        transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    /* 移动端导航菜单项点击效果 */
    .mobile-nav-menu a:active {
        background-color: #e0e0e0;
        transform: scale(0.98);
    }
    
    .mobile-nav-menu .dropdown-menu a:active {
        background-color: #d0d0d0;
    }
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 确保桌面端下拉菜单在移动端也能正常工作 */
@media (max-width: 768px) {
    .nav-menu .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: scaleY(0);
        box-shadow: none;
        background: #f9f9f9;
        margin-top: 10px;
        border-radius: 0;
        transition: all 0.3s ease;
        max-height: 0;
        overflow: hidden;
        transform-origin: top center;
    }
    
    .nav-menu .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: scaleY(1);
        max-height: 300px;
    }
    
    .nav-menu .dropdown-arrow {
        display: none;
    }
    
    .nav-menu .dropdown.active .dropdown-arrow {
        display: inline-block;
        transform: rotate(180deg);
    }
}

/* 移动端下拉动画 */
@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 300px;
    }
}

@media (max-width: 1400px) {
    .footer_top img {

    }

    .footer_rbox img {
        height: 18px;
        margin-right: 4.5px;
    }
    
    .footer_rbox .xl {
        height: 7px;
        margin: 0;
        margin-bottom: 5px;
        margin-left: 8.5px;
    }
    .nav{
        padding:0 40px;
    }
    
}

@media (max-width: 1200px) {
    .footer_top img {

    }

    .footer_rbox img {
        height: 18px;
        margin-right: 4.5px;
    }
    
    .footer_rbox .xl {
        height: 7px;
        margin: 0;
        margin-bottom: 5px;
        margin-left: 8.5px;
    }
    
    .footer-menu {
        display: flex;
        gap: 22.5px;
        align-items: flex-end;
        justify-content: flex-end;
    }

    .footer_rbox {
        margin-left: 43px;
    }

    .nav-menu {
        display: flex;
        gap: 35px;
        font-size: 18px;
    }

    .boxW {
        width: 75%;
        margin: 0 auto;
    }
}

@media (max-width: 991px) {
    .footer_top img {

    }

    .footer_rbox img {
        height: 18px;
        margin-right: 4.5px;
    }
    
    .footer_rbox .xl {
        height: 7px;
        margin: 0;
        margin-bottom: 5px;
        margin-left: 8.5px;
    }
    
    .footer-menu {
        display: flex;
        gap: 22.5px;
        align-items: flex-end;
        justify-content: flex-end;
    }

    .footer_rbox {
        margin-left: 43px;
    }

    .nav {
        height: 65px;
    }

    .nav-menu {
        display: flex;
        gap: 20px;
        font-size: 15px;
    }

    .topR .search {
        margin-left: 2.3rem;
    }

    .boxW {
        width: 85%;
        margin: 0 auto;
    }

    .product-tabs .swiper-slide {
        padding: 27px 67px !important;
    }

    .esg-section {
        width: 85% !important;
        margin: 64px auto !important;
    }
}