/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: #fff;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #fff;
    width: 100%;
    max-width: 100%;
}

body::before,
body::after {
    display: none !important;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: none !important;
    background: rgba(255, 255, 255, 0) !important;
}

/* 新闻详情页等页面导航栏始终显示背景 */
.page-body .navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar::before,
.navbar::after {
    display: none !important;
    content: none !important;
}

.nav-container {
    background: transparent !important;
}

.nav-container::before,
.nav-container::after {
    display: none !important;
    content: none !important;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 50px;
    flex: 1;
    justify-content: flex-end;
}

.nav-menu-header {
    display: none !important;
}

.lang-switch-mobile {
    display: none !important;
}

.nav-hc-link-mobile {
    display: none !important;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333333;
    font-size: 16px;
    font-weight: 400;
    padding: 10px 0;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.navbar:not(.scrolled) .nav-link {
    color: #333333;
}

.navbar.scrolled .nav-link {
    color: #333333;
}

.nav-link:hover,
.nav-link.active {
    color: #333333;
    font-weight: 700;
}

.navbar:not(.scrolled) .nav-link:hover,
.navbar:not(.scrolled) .nav-link.active {
    color: #333333;
    font-weight: 700;
}

.nav-link:hover::after,
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #06467c;
}

.navbar:not(.scrolled) .nav-link:hover::after,
.navbar:not(.scrolled) .nav-link.active::after {
    background-color: #06467c;
}

.nav-link .arrow {
    display: none;
}

/* 下拉菜单 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    list-style: none;
    padding: 10px 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
    color: #007bff;
    padding-left: 25px;
}

/* 导航栏右侧 */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 40px;
}

/* 搜索框 */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
    transition: all 0.3s ease;
    height: 36px;
    position: relative;
    z-index: 10;
}

.navbar:not(.scrolled) .search-icon-btn {
    color: #333333;
}

.search-icon-btn svg {
    width: 16px;
    height: 16px;
}

.search-input-wrapper {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(-100%);
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 20px;
    padding: 10px 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    width: 250px;
    white-space: nowrap;
    height: 36px;
    box-sizing: border-box;
    margin-right: 0;
    z-index: 1;
}

.search-box:hover .search-input-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(15px);
}

.search-input-wrapper input {
    border: none;
    background: transparent;
    outline: none;
    padding: 0;
    width: 100%;
    font-size: 16px;
    color: #333;
    line-height: 16px;
    height: 16px;
}

.search-input-wrapper input::placeholder {
    color: #999;
}

.search-input-wrapper .search-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    color: #333333;
    transition: color 0.3s ease;
    margin-left: 5px;
}

.search-input-wrapper .search-btn:hover {
    color: #007bff;
}

/* 语言切换 */
.lang-switch {
    position: relative;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: #2b5d8e;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.lang-toggle:hover {
    background: #0048b3;
}

.lang-icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    color: #fff;
    stroke: #fff;
}

.lang-text {
    font-weight: 500;
}

.lang-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.lang-switch.dropdown:hover .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: #fff;
    min-width: 120px;
    list-style: none;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    z-index: 100;
}

.lang-switch.dropdown:hover .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-menu li {
    padding: 0;
}

.lang-option {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.lang-option:hover {
    background: #f5f5f5;
    color: #2b5d8e;
}

/* HC图片链接 */
.nav-hc-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-hc-link:hover {
    opacity: 0.8;
}

.nav-hc-img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-hc-link-mobile {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
    margin-left: 10px;
}

.nav-hc-link-mobile:hover {
    opacity: 0.8;
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

.navbar:not(.scrolled) .mobile-menu-toggle span {
    background: #fff;
}

/* 轮播图区域 */
.banner-container {
    position: relative;
    width: 100%;
    margin-top: 0;
    overflow: hidden;
    z-index: 1;
    height: 900px;
    min-height: 900px;
    background: transparent;
}

.banner-container::before,
.banner-container::after {
    display: none !important;
    content: none !important;
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
    background: transparent;
}

.banner-slider::before,
.banner-slider::after {
    display: none !important;
    content: none !important;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    visibility: hidden;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    min-width: 100%;
    min-height: 100%;
}

/* 轮播图指示点 */
.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: #fff;
    width: 30px;
    border-radius: 6px;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* 轮播图箭头 */
.banner-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.arrow-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.arrow-btn:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

/* 产品中心区域 */
.products-section {
    width: 100%;
    background-image: url('../img/cpb.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 20px 80px 20px;
}

.products-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.products-title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #06467c;
    margin: 0 0 20px 0;
}

.products-title-line {
    width: 40px;
    height: 2px;
    background: #06467c;
    margin: 0 auto 40px;
}

.products-slider-wrapper {
    position: relative;
    min-height: 500px;
    margin-bottom: 40px;
    overflow: visible;
}

.products-arrows {
    display: none;
}

.product-arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #06467c;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-arrow-btn.next {
    background: rgba(6, 70, 124, 0.9);
    color: #fff;
}

.product-arrow-btn:hover {
    transform: scale(1.1);
}

.product-arrow-btn.next:hover {
    background: #06467c;
}

.product-arrow-btn.prev:hover {
    background: #f5f5f5;
}

.product-arrow-btn:active {
    transform: scale(0.95);
}

.products-slider {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 500px;
}

.product-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out;
    z-index: 0;
    pointer-events: none;
}

.product-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    position: relative;
    pointer-events: auto;
    min-height: 500px;
}

.product-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    min-width: 0;
    overflow: visible;
}

.products-arrows {
    position: absolute;
    bottom: 20px;
    right: 0;
    display: flex;
    gap: 15px;
    z-index: 10;
}

.product-text {
    flex: 0 0 30%;
    max-width: 30%;
    padding: 40px;
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
}

.product-category {
    font-size: 24px;
    font-weight: 300;
    color: #06467c;
    margin: 0 0 10px 0;
}

.product-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
}

.product-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin: 0 0 30px 0;
}

.product-more-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #06467c;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 16px;
    transition: none;
    border: none;
    cursor: pointer;
}

.product-image {
    flex: 0 0 70%;
    width: 70%;
    text-align: center;
    display: block;
    overflow: visible;
    min-width: 0;
    padding: 0;
    box-sizing: border-box;
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    max-width: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 生产设备图片放大模态框 */
.equipment-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.equipment-modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.equipment-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.equipment-modal-close:hover {
    color: #06467c;
}

.equipment-modal-content img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 0;
}

.equipment-modal-name {
    margin-top: 20px;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

/* 企业资质图片放大模态框 */
.qualification-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.qualification-modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.qualification-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.qualification-modal-close:hover {
    color: #06467c;
}

.qualification-modal-content img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 0;
}

/* 新闻资讯区域 */
.news-section {
    width: 100%;
    background: #fff;
    padding: 80px 0;
}

.news-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #06467c;
    margin: 0 0 20px 0;
}

.news-title-line {
    width: 40px;
    height: 2px;
    background: #06467c;
    margin: 0 auto 40px;
}

.news-categories {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.news-category-link {
    font-size: 18px;
    color: #06467c;
    text-decoration: none;
    padding: 10px 30px;
    border: 1px solid #06467c;
    border-radius: 50px;
    background: transparent;
    transition: all 0.3s ease;
    display: inline-block;
}

.news-category-link:hover,
.news-category-link.active {
    color: #fff;
    background: #06467c;
    border-color: #06467c;
}

.news-content {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.news-left {
    flex: 0 0 50%;
    max-width: 50%;
}

.news-featured-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.news-featured-link:hover {
    opacity: 0.9;
}

.news-featured {
    background: transparent;
    overflow: hidden;
}

.news-featured img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 0;
}

.news-featured-content {
    padding: 25px 0;
}

.news-featured-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.news-featured-title-text {
    flex: 1;
}

.news-featured-date {
    font-size: 14px;
    font-weight: 400;
    color: #999;
    flex-shrink: 0;
}

.news-featured-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-right {
    flex: 0 0 50%;
    max-width: 50%;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    justify-content: space-between;
}

.news-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    flex: 1;
    transition: all 0.3s ease;
}

.news-item-link:hover .news-item {
    background: #ebebeb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.news-item-link:hover .news-item-title {
    color: #06467c;
}

.news-item-link:hover .news-item-date {
    background: #06467c;
}

.news-item-link:hover .news-item-desc {
    color: #555;
}

.news-item {
    background: #f5f5f5;
    border-radius: 0;
    padding: 0;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    flex-direction: column;
    border-left: 3px solid transparent;
}

.news-item-link:hover .news-item {
    border-left-color: #06467c;
}


.news-item-content {
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-item-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.news-item-date {
    font-size: 14px;
    font-weight: 600;
    background: #005faf;
    color: #fff;
    padding: 12px 14px;
    border-radius: 0;
    white-space: nowrap;
    flex-shrink: 0;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.news-item-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 20px;
    flex: 1;
}

/* 新闻资讯区域响应式 */
@media (max-width: 992px) {
    /* 轮播图在992px以下时高度自适应 */
    .banner-container {
        height: auto !important;
        min-height: auto !important;
    }
    
    .banner-slider {
        height: auto !important;
    }
    
    .banner-slide {
        position: relative;
        height: auto;
    }
    
    .banner-slide img {
        height: auto;
        min-height: auto;
    }
    
    .news-section {
        padding: 60px 0;
    }
    
    .news-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .news-left,
    .news-right {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .news-featured-title {
        font-size: 20px;
    }
    
    .news-featured-desc {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 60px 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .news-container {
        width: 98%;
        padding: 0;
        max-width: 98%;
        margin: 0 auto;
    }
    
    .news-title {
        font-size: 28px;
    }
    
    .news-categories {
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .news-category-link {
        font-size: 16px;
        padding: 6px 15px;
    }
    
    .news-content {
        gap: 25px;
    }
    
    .news-featured-content {
        padding: 20px;
    }
    
    .news-featured-title {
        font-size: 18px;
    }
    
    .news-featured-desc {
        font-size: 14px;
    }
    
    .news-item {
        padding: 0;
        border-radius: 0;
    }
    
    .news-item-content {
        padding: 0;
    }
    
    .news-item-title {
        font-size: 16px;
        gap: 8px;
        line-height: 38px;
        padding: 0 15px;
    }
    
    .news-item-date {
        font-size: 12px;
        padding: 10px 12px;
        height: 38px;
        border-radius: 0;
    }
    
    .news-item-desc {
        padding: 15px;
    }
    
    .news-item-desc {
        font-size: 13px;
    }
}

/* 图片展示模态框 */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.gallery-modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.gallery-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.gallery-modal-close:hover {
    color: #06467c;
}

.gallery-modal-content img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 0;
}

.gallery-modal-title {
    margin-top: 20px;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.products-nav {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
    margin-top: 0;
}

.product-nav-item {
    flex: 0 0 20%;
    padding: 8px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid #333;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    font-weight: 400;
}

.product-nav-item:hover {
    color: #06467c;
    border-bottom-color: #06467c;
}

.product-nav-item.active {
    color: #06467c;
    border-bottom: 2px solid #06467c;
    font-weight: 700;
    font-size: 18px;
}

/* 应用领域区域 */
.applications-section {
    width: 100%;
    background: #fff;
    padding: 60px 20px 80px 20px;
}

.applications-container {
    max-width: 1600px;
    margin: 0 auto;
}

.applications-title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #06467c;
    margin: 0 0 20px 0;
}

.applications-title-line {
    width: 40px;
    height: 2px;
    background: #06467c;
    margin: 0 auto 60px;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 60px;
    row-gap: 40px;
}

.application-item {
    position: relative;
    overflow: hidden;
}

.application-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    overflow: hidden;
}

.application-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.application-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(6, 70, 124, 0.95);
    padding: 20px;
    z-index: 2;
    transition: all 0.5s ease;
}

.application-name {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.application-hover-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 70, 124, 0.95);
    color: #fff;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: all 0.5s ease;
    z-index: 3;
}

.application-hover-name {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-align: center;
}

.application-hover-desc {
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
    text-align: center;
}

.application-item:hover .application-image img {
    transform: scale(1.1);
}

.application-item:hover .application-overlay {
    opacity: 0;
    visibility: hidden;
}

.application-item:hover .application-hover-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 关于我们区域 */
.about-section {
    width: 100%;
    background-image: url('../img/jjb.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 20px 80px 20px;
}

.about-container {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.about-title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #06467c;
    margin: 0 0 20px 0;
}

.about-title-line {
    width: 40px;
    height: 2px;
    background: #06467c;
    margin: 0 auto 60px;
}

.about-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.about-left {
    flex: 0 0 45%;
    max-width: 45%;
    min-width: 0;
    box-sizing: border-box;
}

.company-name {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
}

.company-intro {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin: 0 0 30px 0;
}

.about-more-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #06467c;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 16px;
    transition: none;
    border: none;
    cursor: pointer;
}

.about-right {
    flex: 0 0 55%;
    max-width: 55%;
    min-width: 0;
    box-sizing: border-box;
}

.about-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 比例 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.about-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* 生产设备区域 */
.equipment-section {
    width: 100%;
    background: #fff;
    padding: 60px 20px 80px 20px;
    position: relative; /* 为内部绝对定位提供定位上下文 */
    contain: layout style; /* 隔离布局和样式，防止影响外部 */
}

.equipment-container {
    max-width: 1600px;
    margin: 0 auto;
}

.equipment-title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #06467c;
    margin: 0 0 20px 0;
}

.equipment-title-line {
    width: 40px;
    height: 2px;
    background: #06467c;
    margin: 0 auto 60px; /* 与其他区域一致 */
}

.equipment-scroll-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: auto;
    min-height: auto;
}

.equipment-arrows-mobile {
    display: none;
}

.equipment-arrow-btn {
    display: none;
}

.equipment-scroll {
    display: flex;
    gap: 20px;
    height: auto;
    width: max-content;
    animation: scroll-left 30s linear infinite;
    will-change: transform;
    /* 确保动画不影响布局，避免页面跳动 */
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.equipment-scroll:hover {
    animation-play-state: paused;
}

/* 每个设备项 - 确保可见区域显示4个 */
/* 使用视口宽度计算，确保4个设备项正好显示在可见区域内 */
.equipment-item {
    flex: 0 0 calc((100vw - 80px - 60px) / 4);
    width: calc((100vw - 80px - 60px) / 4);
    min-width: calc((100vw - 80px - 60px) / 4);
    max-width: calc((100vw - 80px - 60px) / 4);
    height: auto;
    overflow: visible;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-sizing: border-box;
}

/* 限制最大宽度，避免在大屏幕上设备项过大 */
@media (min-width: 1600px) {
    .equipment-item {
        flex: 0 0 calc((1600px - 60px) / 4);
        width: calc((1600px - 60px) / 4);
        min-width: calc((1600px - 60px) / 4);
        max-width: calc((1600px - 60px) / 4);
    }
}

.equipment-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: block;
}

.equipment-item img:hover {
    transform: scale(1.05);
}

.equipment-item-name {
    min-height: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    background: #fff;
    padding: 5px 10px;
    margin-top: 10px; /* 名称与图片之间10px */
    flex-shrink: 0;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50%));
    }
}

@keyframes scroll-left-mobile {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50%));
    }
}

/* 图片展示区域 */
.gallery-section {
    width: 100%;
    background: #fff;
    padding: 60px 20px 80px 20px;
}

.gallery-container {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.gallery-title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #06467c;
    margin: 0 0 20px 0;
}

.gallery-title-line {
    width: 40px;
    height: 2px;
    background: #06467c;
    margin: 0 auto 60px;
}

.gallery-scroll-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.gallery-scroll {
    display: flex;
    gap: 20px; /* 间距 */
    width: max-content;
    animation: gallery-scroll 30s linear infinite; /* 增加动画时长，实现平滑循环 */
}

.gallery-scroll:hover {
    animation-play-state: paused;
}

@keyframes gallery-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50%)); /* 滚动到前8个项的一半（4个项），实现无缝循环 */
    }
}

.gallery-item {
    flex: 1 1 25%; /* 自适应宽度，不固定 */
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: transparent; /* 移除背景 */
    border-radius: 0;
    overflow: hidden;
    box-sizing: border-box;
    padding: 10px; /* 添加内边距 */
    cursor: pointer; /* 添加鼠标指针 */
}

.gallery-item img {
    width: 100%;
    height: auto;
    max-height: 300px; /* 放大图片，增加最大高度 */
    object-fit: contain; /* 改为contain，确保图片完整显示 */
    display: block;
    transition: transform 0.3s ease;
    cursor: pointer; /* 添加鼠标指针 */
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.gallery-item-title {
    min-height: 30px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    background: #fff;
    padding: 10px;
    margin-top: 10px;
    text-align: center;
}

/* 移动端样式 */
@media (max-width: 768px) {
    .gallery-section {
        padding: 40px 20px 60px 20px;
    }
    
    .gallery-title {
        font-size: 24px;
    }
    
    .gallery-title-line {
        margin: 0 auto 40px;
    }
    
    .gallery-item {
        flex: 0 0 calc(50% - 15px); /* 移动端显示2个 */
        width: calc(50% - 15px);
    }
    
    .gallery-scroll {
        gap: 20px;
    }
    
    @keyframes gallery-scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-50% * 2 - 20px * 1));
        }
    }
}

/* 企业资质区域 */
.qualification-section {
    width: 100%;
    background: #fff;
    padding: 0;
    min-height: 500px;
    height: auto;
    overflow: visible; /* 确保最外侧图片也能显示 */
}

.qualification-container {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    min-height: 500px;
    height: auto;
    overflow: visible; /* 改为visible，确保最外侧图片也能显示 */
}

.qualification-title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #06467c;
    margin: 0 0 20px 0;
}

.qualification-title-line {
    width: 40px;
    height: 2px;
    background: #06467c;
    margin: 0 auto 60px;
}

.qualification-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 1600px; /* 限制最大宽度1600px */
    margin: 0 auto;
    overflow: visible; /* 改为visible，确保所有图片都能显示 */
    min-height: 400px;
    height: auto; /* 改为auto，自适应高度 */
    position: relative;
    box-sizing: border-box;
    padding: 0; /* 移除padding，让图片区域占满1600px */
}

.qualification-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end; /* 向右对齐，向中间聚拢 */
    gap: 0;
    height: 100%;
    position: relative;
    max-width: 100%;
    flex-shrink: 0;
}

.qualification-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start; /* 向左对齐，向中间聚拢 */
    gap: 0;
    height: 100%;
    position: relative;
    max-width: 100%;
    flex-shrink: 0;
}

.qualification-item {
    overflow: visible; /* 改为visible，确保图片完整显示 */
    border-radius: 0;
    background: #fff;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    height: auto; /* 高度自适应 */
    cursor: pointer;
}

.qualification-item img {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.qualification-item img:hover {
    opacity: 0.9;
}

.qualification-item img {
    width: 100%;
    height: auto; /* 高度自适应 */
    display: block;
    object-fit: contain; /* 显示完整图片 */
    max-width: 100%;
    vertical-align: top;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.qualification-item img:hover {
    opacity: 0.9;
}

/* 主资质图片（中间） - 最上层 */
.qualification-item.item-main {
    width: 300px; /* 放大图片 */
    max-width: 300px; /* 最大宽度限制 */
    height: auto; /* 高度自适应 */
    z-index: 10;
    margin: 0 5px; /* 与左右图片保持间距 */
    flex-shrink: 0;
}

/* 左侧4个 - 从右向左叠加堆积，越靠两侧越小，后面的压在前面下面，z-index递增 */
.qualification-item.item-1 {
    width: 190px; /* 最小的，最右侧（远离中间），进一步放大 */
    max-width: 190px; /* 最大宽度限制 */
    height: auto; /* 高度自适应 */
    margin-right: -55px; /* 按比例调整遮挡，让图片区域占满1600px */
    z-index: 1;
    flex-shrink: 0;
}

.qualification-item.item-2 {
    width: 205px; /* 第二小的，进一步放大 */
    max-width: 205px; /* 最大宽度限制 */
    height: auto; /* 高度自适应 */
    margin-right: -55px; /* 按比例调整遮挡，让图片区域占满1600px */
    z-index: 2;
    flex-shrink: 0;
}

.qualification-item.item-3 {
    width: 220px; /* 第三小的，进一步放大 */
    max-width: 220px; /* 最大宽度限制 */
    height: auto; /* 高度自适应 */
    margin-right: -55px; /* 按比例调整遮挡，让图片区域占满1600px */
    z-index: 3;
    flex-shrink: 0;
}

.qualification-item.item-4 {
    width: 235px; /* 最大的，最左侧（靠近中间），进一步放大 */
    max-width: 235px; /* 最大宽度限制 */
    height: auto; /* 高度自适应 */
    margin-right: -55px; /* 按比例调整遮挡，让图片区域占满1600px */
    z-index: 4;
    flex-shrink: 0;
}

/* 右侧4个 - 从左向右叠加堆积，越靠两侧越小，后面的压在前面下面，z-index递增 */
.qualification-item.item-5 {
    width: 235px; /* 最大的，最左侧（靠近中间），进一步放大 */
    max-width: 235px; /* 最大宽度限制 */
    height: auto; /* 高度自适应 */
    margin-left: -55px; /* 按比例调整遮挡，让图片区域占满1600px */
    z-index: 4;
    flex-shrink: 0;
}

.qualification-item.item-6 {
    width: 220px; /* 第二大的，进一步放大 */
    max-width: 220px; /* 最大宽度限制 */
    height: auto; /* 高度自适应 */
    margin-left: -55px; /* 按比例调整遮挡，让图片区域占满1600px */
    z-index: 3;
    flex-shrink: 0;
}

.qualification-item.item-7 {
    width: 205px; /* 第三大的，进一步放大 */
    max-width: 205px; /* 最大宽度限制 */
    height: auto; /* 高度自适应 */
    margin-left: -55px; /* 按比例调整遮挡，让图片区域占满1600px */
    z-index: 2;
    flex-shrink: 0;
}

.qualification-item.item-8 {
    width: 190px; /* 最小的，最右侧（远离中间），进一步放大 */
    max-width: 190px; /* 最大宽度限制 */
    height: auto; /* 高度自适应 */
    margin-left: -55px; /* 按比例调整遮挡，让图片区域占满1600px */
    z-index: 1;
    flex-shrink: 0;
}

/* 内容区域 */
.content-wrapper {
    width: 100%;
    padding: 60px 20px;
    background: #f9f9f9;
}

.content-container {
    max-width: 1600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.content-container h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.content-container p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* 产品中心响应式 */
@media (max-width: 992px) {
    .products-section {
        padding-left: 0;
        padding-right: 0;
    }
    
    .products-container {
        width: 96%;
        padding: 0;
        margin: 0 auto;
    }
    
    .products-slider-wrapper {
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .products-slider {
        position: relative;
        width: 100%;
    }
    
    .product-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.8s ease-in-out;
    }
    
    .product-slide.active {
        position: relative;
        opacity: 1;
        visibility: visible;
    }
    
    .product-content {
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: center;
        padding: 0;
        width: 100%;
    }
    
    .product-text {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding: 20px 20px 15px 20px;
        order: 1;
        box-sizing: border-box;
    }
    
    .product-image {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
        order: 2;
        display: block;
        box-sizing: border-box;
    }
    
    .product-image img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
    }
    
    .products-arrows {
        display: none;
    }
    
    .product-text h3 {
        font-size: 24px;
    }
    
    .products-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 0;
        padding: 0 20px;
        order: 3;
    }
    
    .product-nav-item {
        flex: 0 0 calc(50% - 7.5px);
        font-size: 16px;
        padding: 10px 0;
    }
    
    .product-nav-item.active {
        font-size: 18px;
    }
    
    .content-container {
        width: 96%;
    }
    
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-left {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }
    
    .about-right {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    * {
        max-width: 100%;
    }
    
    .products-section {
        padding: 60px 15px 80px 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .products-container {
        width: 98%;
        padding: 0;
        max-width: 98%;
        margin: 0 auto;
    }
    
    .products-title {
        font-size: 28px;
    }
    
    .product-text h3 {
        font-size: 20px;
    }
    
    .product-text p {
        font-size: 14px;
    }
    
    .products-slider-wrapper {
        margin-bottom: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .product-content {
        gap: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .product-text {
        padding: 20px 15px 10px 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .product-image {
        margin: 0;
        padding: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .products-nav {
        gap: 10px;
        margin-top: 0;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .product-nav-item {
        flex: 0 0 calc(50% - 5px);
        font-size: 14px;
        padding: 8px 0;
    }
    
    .product-nav-item.active {
        font-size: 16px;
    }
    
    .content-container {
        width: 98%;
        padding: 0;
        max-width: 98%;
        margin: 0 auto;
    }
    
    .applications-section {
        padding: 60px 15px 80px 15px;
    }
    
    .applications-title {
        font-size: 28px;
    }
    
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .application-name {
        font-size: 14px;
    }
    
    .application-overlay {
        padding: 10px 15px;
    }
    
    .application-hover-name {
        display: none;
    }
    
    .application-hover-desc {
        font-size: 12px;
        line-height: 1.5;
    }
    
    .application-hover-content {
        padding: 20px;
    }
    
    .about-section {
        padding: 60px 15px 80px 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .about-container {
        width: 98%;
        padding: 0;
        max-width: 98%;
        margin: 0 auto;
    }
    
    .about-title {
        font-size: 28px;
    }
    
    .about-content {
        flex-direction: column;
        gap: 30px;
        width: 100%;
        max-width: 100%;
    }
    
    .about-left {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }
    
    .about-right {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }
    
    .company-name {
        font-size: 24px;
    }
    
    .company-intro {
        font-size: 14px;
    }
    
    .about-more-btn {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .equipment-section {
        padding: 60px 15px 80px 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .equipment-container {
        width: 98%;
        padding: 0;
        max-width: 98%;
        margin: 0 auto;
    }
    
    /* 移动端生产设备：一行2个，不间断向左滚动 */
    .equipment-scroll-wrapper {
        overflow: hidden;
        position: relative;
        height: auto;
        width: 100%;
        max-width: 100%;
        min-height: auto;
    }

    .equipment-scroll {
        display: flex;
        gap: 20px;
        height: auto;
        width: max-content;
        animation: scroll-left-mobile 30s linear infinite;
        will-change: transform;
    }
    
    .equipment-scroll:hover {
        animation-play-state: paused;
    }
    
    .equipment-item {
        flex: 0 0 calc((100% - 20px) / 2);
        width: calc((100% - 20px) / 2);
        min-width: calc((100% - 20px) / 2);
        height: auto;
        overflow: visible;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        background: #fff;
    }
    
    .equipment-item img {
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 0;
        cursor: pointer;
        transition: transform 0.3s ease;
        display: block;
    }
    
    .equipment-item-name {
        min-height: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        font-weight: 600;
        color: #333;
        background: #fff;
        padding: 5px 10px;
        margin-top: 10px;
        flex-shrink: 0;
    }
    
    .equipment-arrows-mobile {
        display: none;
    }
    
    .equipment-arrow-btn {
        display: none;
    }
    
    .equipment-dots-mobile {
        display: none;
    }
    
    .qualification-section {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .qualification-container {
        width: 98%;
        padding: 0;
        max-width: 98%;
        margin: 0 auto;
    }
    
    .qualification-grid {
        width: 100%;
        max-width: 100%;
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .search-input-wrapper {
        width: 200px;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        background: rgba(255, 255, 255, 0.01);
        backdrop-filter: blur(10px);
        width: 100%;
        height: calc(100vh - 80px);
        padding: 0;
        transition: left 0.3s ease;
        box-shadow: 
            inset 0 2px 8px rgba(0, 0, 0, 0.15),
            inset 0 -2px 8px rgba(0, 0, 0, 0.1),
            0 0 0 1px rgba(0, 0, 0, 0.05);
        border-top: 2px solid rgba(0, 0, 0, 0.08);
        gap: 0;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu-header {
        width: 100%;
        padding: 15px 20px;
        display: flex !important;
        justify-content: flex-end;
        align-items: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        gap: 10px;
    }
    
    .nav-hc-link-mobile {
        display: none !important;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid #eee;
        padding: 0 20px;
    }
    
    .nav-link {
        padding: 15px 0;
        color: #333;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin: 0;
        padding: 0;
        background: transparent;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-item.dropdown.active .dropdown-menu {
        max-height: 500px;
    }
    
    .dropdown-menu a {
        padding: 12px 30px;
    }
    
    .nav-container {
        justify-content: space-between;
    }
    
    .nav-logo {
        order: 1;
    }
    
    .nav-menu {
        order: 2;
    }
    
    .nav-right {
        order: 3;
        gap: 0;
        margin-left: auto;
        display: flex;
        align-items: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 3;
        margin-left: auto;
        margin-right: 15px;
    }
    
    .search-box {
        display: none;
    }
    
    .nav-right .lang-switch {
        display: none;
    }
    
    .nav-right .nav-hc-link {
        display: none !important;
    }
    
    .lang-switch-mobile {
        display: flex !important;
        align-items: center;
    }
    
    .lang-switch-mobile .lang-switch {
        display: block;
    }
    
    .lang-switch-mobile .lang-toggle {
        background: #2b5d8e;
        color: #fff;
        padding: 8px 16px;
        border-radius: 20px;
    }
    
    .lang-switch-mobile .lang-toggle:hover {
        background: #0048b3;
    }
    
    .lang-switch-mobile .lang-icon {
        color: #fff;
        stroke: #fff;
    }
    
    .lang-switch-mobile .lang-text {
        color: #fff;
    }
    
    .lang-switch-mobile .lang-arrow {
        color: #fff;
    }
    
    .lang-switch-mobile .lang-dropdown-menu {
        position: absolute;
        top: 100%;
        right: 0;
        margin-top: 10px;
        background: #fff;
        min-width: 120px;
        list-style: none;
        padding: 8px 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        border-radius: 8px;
        z-index: 100;
    }
    
    .lang-switch-mobile .lang-switch.dropdown:hover .lang-dropdown-menu,
    .lang-switch-mobile .lang-switch.dropdown.active .lang-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .lang-switch-mobile .lang-switch.dropdown:hover .lang-arrow,
    .lang-switch-mobile .lang-switch.dropdown.active .lang-arrow {
        transform: rotate(180deg);
    }
    
    .mobile-menu-toggle span {
        background: #2b5d8e;
    }
    
    .navbar:not(.scrolled) .mobile-menu-toggle span {
        background: #2b5d8e;
    }
    
    .banner-container {
        height: auto;
    }
    
    .banner-slider {
        height: auto;
        position: relative;
    }
    
    .banner-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        opacity: 0;
        visibility: hidden;
        display: none;
    }
    
    .banner-slide.active {
        position: relative;
        opacity: 1;
        visibility: visible;
        display: block;
    }
    
    .banner-slide img {
        height: auto;
        width: 100%;
        display: block;
        vertical-align: top;
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 70px;
        padding: 0 15px;
    }
    
    .nav-logo img {
        height: 40px;
    }
    
    .nav-hc-img {
        height: 35px;
    }
    
    .mobile-menu-toggle span {
        width: 22px;
        height: 2.5px;
    }
    
    .nav-menu {
        top: 70px;
        height: calc(100vh - 70px);
    }
}

@media (max-width: 600px) {
    .nav-container {
        padding: 0 10px;
    }
    
    .nav-logo img {
        height: 30px;
    }
    
    .nav-hc-img {
        height: 25px;
    }
    
    .mobile-menu-toggle {
        margin-right: 10px;
    }
    
    .products-slider-wrapper {
        margin-bottom: 0;
    }
    
    .product-content {
        gap: 0;
        padding: 0;
    }
    
    .product-text {
        padding: 15px 15px 10px 15px;
    }
    
    .product-image {
        margin: 0;
        padding: 0;
    }
    
    .products-nav {
        margin-top: 0;
        padding: 0 15px;
    }
    }
    
    .mobile-menu-toggle span {
        width: 20px;
        height: 2.5px;
    }
    
    .banner-container {
        height: auto;
    }
    
    .banner-slider {
        height: auto;
        position: relative;
    }
    
    .banner-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        opacity: 0;
        visibility: hidden;
        display: none;
    }
    
    .banner-slide.active {
        position: relative;
        opacity: 1;
        visibility: visible;
        display: block;
    }
    
    .banner-slide img {
        height: auto;
        width: 100%;
        display: block;
        vertical-align: top;
    }
    
    .content-container {
        padding: 30px 20px;
    }
    
    .content-container h1 {
        font-size: 24px;
    }
    
    .arrow-btn {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    /* 600px以下页尾LOGO宽度90% */
    .footer-logo-img {
        width: 90% !important;
        max-width: 90% !important;
        height: auto !important;
        filter: brightness(0) invert(1);
    }
}

/* 页尾样式 */
.footer {
    width: 100%;
    background-image: url('../img/fbj.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f5f5f5;
    color: #fff;
    padding: 0;
    position: relative;
    min-height: 400px;
}

.footer::before {
    display: none !important;
    content: none !important;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 0 40px 0;
}

.footer-left {
    flex: 0 0 30%;
    max-width: 30%;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo-img {
    filter: brightness(0) invert(1);
    height: 50px;
    width: auto;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-item {
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
    color: #fff;
}

.footer-label {
    font-weight: 600;
    margin-right: 8px;
}

.footer-center {
    flex: 0 0 20%;
    max-width: 20%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-qrcode-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.footer-qrcode {
    margin-bottom: 0;
}

.qrcode-img {
    width: 120px;
    height: 120px;
    background: #fff;
    padding: 0;
    border-radius: 4px;
    margin: 0 auto;
    display: block;
}

.footer-qrcode-text {
    font-size: 16px;
    color: #fff;
    margin: 10px 0 0 0;
}

.footer-right {
    flex: 0 0 40%;
    max-width: 40%;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer-link-group {
    flex: 1;
}

.footer-link-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 20px 0;
    padding-bottom: 0;
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-list li {
    margin: 0;
}

.footer-link-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    display: block;
}

.footer-link-list a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px 0;
    margin-top: 20px;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.8;
}

.footer-copyright-text .footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright-text .footer-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* 页尾响应式 */
@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-left {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .footer-center,
    .footer-right {
        display: none;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 0 0;
    }
    
    .footer-content {
        padding-bottom: 30px;
    }
    
    /* 移动端显示LOGO，保持白色 */
    .footer-logo {
        display: block !important;
        margin-bottom: 20px;
    }
    
    .footer-logo-img {
        display: block !important;
        filter: brightness(0) invert(1);
        height: 50px;
        width: auto;
    }
    
    .footer-contact-item {
        font-size: 13px;
    }
    
    .qrcode-img {
        width: 100px;
        height: 100px;
    }
    
    .footer-link-title {
        font-size: 16px;
    }
    
    .footer-link-list a {
        font-size: 13px;
    }
    
    .footer-copyright-text {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .lang-toggle {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .lang-icon {
        width: 14px;
        height: 14px;
    }
    
    .banner-slider {
        height: auto;
    }
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: #06467c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #005faf;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* 移动端回到顶部按钮 */
@media (max-width: 768px) {
    .back-to-top {
        right: 20px;
        bottom: 20px;
        width: 45px;
        height: 45px;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}
