/* ==================== 首页专用样式 ==================== */

/* ==================== Banner轮播 ==================== */
.banner-section {
    width: 100%;
    overflow: hidden;
}

.banner-section .carousel {
    width: 100%;
}

.banner-section .carousel-item {
    width: 100%;
}

.banner-section .carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* 轮播指示器样式 */
.banner-section .carousel-indicators {
    bottom: 20px;
}

.banner-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

.banner-section .carousel-indicators button.active {
    background-color: #fff;
}

/* 轮播左右按钮样式 */
.banner-section .carousel-control-prev,
.banner-section .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-section .carousel-control-prev {
    left: 30px;
}

.banner-section .carousel-control-next {
    right: 30px;
}

.banner-section .carousel-control-prev-icon,
.banner-section .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* ==================== 公司优势部分 ==================== */
.advantage-section {
    padding: 60px 0;
}

/* 标题区域 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    color: #D81916;
    margin-bottom: 10px;
}

.section-subtitle-en {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
}

.title-underline {
    width: 100%;
    max-width: 900px;
    height: 1px;
    background-color: #ccc;
    margin: 0 auto 15px;
    position: relative;
}

.title-underline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 8px;
    background-color: var(--primary-red);
}

.section-desc {
    font-size: 24px;
    color: #333;
}

/* 优势内容 */
.advantage-content {
    margin-top: 40px;
}

.advantage-item {
    text-align: center;
    padding: 0 15px;
}

.advantage-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advantage-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.advantage-text {
    font-size: 18px;
    color: #444;
    line-height: 1.6;
}

/* ==================== 产品中心 ==================== */
.product-section {
    background-color: #D81617;
    padding: 60px 0;
}

/* 标题区域 */
.product-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

.product-section .section-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

.product-section .title-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-section .section-title {
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-section .section-subtitle-en {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-bottom: 20px;
}

.view-more-btn {
    display: inline-block;
    color: #D81617;
    font-size: 16px;
    text-decoration: none;
    padding: 5px 12px;
    border: 1px solid #D81617;
    border-radius: 4px;
    background-color: #fff;
    align-self: center;
    font-weight: bold;
}

/* 产品网格 */
.product-grid {
    margin: 0 -10px;
}

.product-item {
    padding: 0 10px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px) rotateY(-10deg);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 产品卡片 */
.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    height: 182px;
}

/* 触发动画的类 */
.product-grid.animate-in .product-item {
    opacity: 1;
    transform: translateY(0) rotateY(0);
}

/* 为不同位置的产品设置不同的动画延迟 */
.product-grid.animate-in .product-item:nth-child(1) {
    transition-delay: 0.2s;
}

.product-grid.animate-in .product-item:nth-child(2) {
    transition-delay: 0.4s;
}

.product-grid.animate-in .product-item:nth-child(3) {
    transition-delay: 0.6s;
}

.product-grid.animate-in .product-item:nth-child(4) {
    transition-delay: 0.8s;
}

.product-grid.animate-in .product-item:nth-child(5) {
    transition-delay: 1.0s;
}

.product-grid.animate-in .product-item:nth-child(6) {
    transition-delay: 1.2s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* 产品内容 - 左右布局 */
.product-content {
    display: flex;
    height: 100%;
}

/* 产品信息 */
.product-info {
    flex: 0 0 40%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border-right: 1px solid #f0f0f0;
}

.product-bars {
    width: 24px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-shrink: 0;
}

.product-bars::before,
.product-bars::after {
    content: '';
    width: 100%;
    height: 2px;
    background-color: #000;
}

.product-bars::before {
    margin-bottom: 4px;
}

.product-bars::after {
    margin-top: 4px;
}

.product-bars span {
    width: 100%;
    height: 2px;
    background-color: #000;
    display: block;
}

.product-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    text-align: left;
    line-height: 1.4;
    min-height: 45px;
    display: flex;
    align-items: center;
}

.product-btn {
    display: inline-block;
    background-color: #D81617;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.product-btn:hover {
    background-color: #890000;
    color: #fff;
}

/* 产品图片 */
.product-image {
    flex: 0 0 60%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 120px;
    object-fit: contain;
}

.product-card:hover .product-image img {
    transform: rotateY(360deg);
    transition: all 1s ease;
}

/* ==================== 公司介绍 ==================== */
.company-section {
    margin: 40px 0;
}

/* 公司介绍标题区域 */
.company-section .section-header {
    position: relative;
    z-index: 3;
    margin-bottom: 0;
}

/* 公司介绍内容区域 */
.company-content-wrapper {
    position: relative;
    height: 500px;
    overflow: visible;
    width: 100vw;
    margin-left: -50vw;
    left: 50%;
    margin-top: 50px;
    background-image: url('../images/公司介绍背景.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.company-content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
    opacity: 1;
    filter: grayscale(70%);
}

/* 公司介绍内容 */
.company-content {
    position: relative;
    z-index: 2;
    width: 74%;
    margin: 0 auto;
    height: 100%;
    text-align: center;
}

/* 公司图片 */
.company-image {
    display: inline-block;
    position: relative;
    z-index: 3;
    width: auto;
    max-width: 45%;
    vertical-align: middle;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease;
}

.company-image img {
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-radius: 0;
    position: relative;
    top: 50px;
    background-color: transparent;
    z-index: 4;
    width: 500px;
    height: 500px;
}

/* 公司信息 */
.company-info {
    display: inline-block;
    color: #fff;
    padding: 40px;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    margin-top: 0;
    position: relative;
    z-index: 3;
    width: 45%;
    vertical-align: middle;
    text-align: left;
}

.company-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    padding-bottom: 10px;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s ease;
}

.company-divider {
    display: none;
}

.company-description {
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 2px;
    color: #fff;
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s ease;
    transition-delay: 0.3s;
}

/* 触发动画的类 */
.company-content.animate-in .company-image {
    opacity: 1;
    transform: translateX(0);
}

.company-content.animate-in .company-title {
    opacity: 1;
    transform: translateX(0);
}

.company-content.animate-in .company-description {
    opacity: 1;
    transform: translateX(0);
}

/* 公司介绍标题样式 */
.company-section .section-title {
    color: #D81519;
    font-weight: bold;
}

.company-section .section-subtitle-en {
    font-size: 18px;
    color: #666;
    font-weight: normal;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.company-section .section-subtitle-en::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #D81519;
    display: none;
}

.company-section .section-desc {
    font-size: 16px;
    color: #333;
    font-weight: normal;
}

.company-description p {
    margin-bottom: 15px;
}

/* ==================== 4大优势标题 ==================== */
.new-advantage-section {
    padding: 90px 0;
    background-color: #D81617;
    color: #fff;
    height: 500px;
}

.new-advantage-section .section-header {
    text-align: center;
    margin-bottom: 0;
}

.new-advantage-section .section-title {
    font-size: 52px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
}

.new-advantage-section .section-subtitle-en {
    font-size: 24px;
    color: #fff;
    margin-bottom: 15px;
}

.new-advantage-section .title-underline {
    width: 100%;
    max-width: 900px;
    height: 1px;
    background-color: #ffffff;
    margin: 0 auto 15px;
    position: relative;
}

.new-advantage-section .title-underline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 9px;
    background-color: #fff;
}

.new-advantage-section .section-desc {
    font-size: 24px;
    color: #fff;
    margin-top: 10px;
}

/* ==================== 优势卡片 ==================== */
.advantage-cards-section {
    padding: 60px 0;
    margin-top: -210px;
    position: relative;
    z-index: 2;
    padding-bottom: 50px;
    background-image: url('../images/优势-背景.jpg');
    background-position: bottom;
    background-size: 100%;
    background-repeat: no-repeat;
}

/* 优势卡片 */
.advantage-cards {
    margin-top: 0;
}

.advantage-card {
    background-color: #F3F3F3;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
}

.advantage-card-content {
    display: flex;
    align-items: center;
    height: 100%;
}

/* 单数卡片左文右图的边距调整 */
.advantage-card:nth-child(odd) .advantage-card-right {
    padding: 20px 20px 20px 0;
}

/* 双数卡片左图右文的边距调整 */
.advantage-card:nth-child(even) .advantage-card-right {
    padding: 20px 20px 20px 20px;
    justify-content: flex-start;
}

.advantage-card-left {
    flex: 0 0 40%;
    padding: 60px 40px;
    position: relative;
    text-align: left;
    overflow: hidden;
}

/* 文字飞入动画 */
.advantage-card-header,
.advantage-card-text,
.advantage-card-english,
.advantage-card-link {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease;
}

.advantage-card-text {
    transition-delay: 1.2s;
}

.advantage-card-english {
    transition-delay: 1.4s;
}

.advantage-card-link {
    transition-delay: 1.6s;
}

/* 触发动画的类 */
.advantage-card-left.animate-in .advantage-card-header,
.advantage-card-left.animate-in .advantage-card-text,
.advantage-card-left.animate-in .advantage-card-english,
.advantage-card-left.animate-in .advantage-card-link {
    opacity: 1;
    transform: translateX(0);
}

.advantage-card-bg-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 80px;
    font-weight: bold;
    text-align: left;
    line-height: 1;
    padding: 60px 40px;
    z-index: 1;
    background: linear-gradient(to bottom, #e5e5e5, #f8f8f8, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.advantage-card-left > *:not(.advantage-card-bg-text) {
    position: relative;
    z-index: 2;
}

.advantage-card-header {
    display: flex;
    align-items: flex-end;
    margin-bottom: 20px;
    margin-top: 48px;
    height: 70px;
    padding-left: 10px;
}

.advantage-card-number {
    font-size: 80px;
    font-weight: bold;
    color: #D81617;
    margin-bottom: 0;
    margin-top: 0;
    text-align: left;
    line-height: 1;
    letter-spacing: -6px;
    margin-right: 10px;
}

.advantage-card-title {
    font-size: 30px;
    font-weight: bold;
    color: #333;
    margin-bottom: 0;
    text-align: left;
    line-height: 1;
    padding-bottom: 10px;
}

.advantage-card-text {
    font-size: 18px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: left;
    text-indent: 2em;
    min-height: 128px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.advantage-card-english {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: left;
}

.advantage-card-link {
    display: inline-block;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    background-color: #D81617;
    padding: 8px 16px;
    border: 2px solid #D81617;
    border-radius: 4px;
    text-align: center;
    display: inline-block;
    margin-left: 0;
}

.advantage-card-link:hover {
    background-color: #fff;
    color: #D81617;
}

.advantage-card-right {
    flex: 0 0 60%;
    display: flex;
    align-items: center;
    justify-content: left;
    overflow: hidden;
}

/* 图片动画效果 */
.advantage-card-right img {
    border-radius: 8px;
    opacity: 0;
    transform: scale(0.3) rotate(-10deg);
    transition: all 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 触发动画的类 */
.advantage-card.animate-in .advantage-card-right img {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* ==================== 工厂图片 ==================== */
.factory-section {
    margin-top: 90px;
}

.factory-section .section-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.factory-section .section-title {
    color: #D81519;
    font-size: 40px;
    font-weight: bold;
    margin: 0;
}

.factory-section .title-divider {
    color: #D81519;
    font-size: 32px;
    font-weight: normal;
    margin: 0 15px;
}

.factory-section .section-subtitle-en {
    color: #D81519;
    font-size: 22px;
    font-weight: bold;
    margin: 0;
    align-self: flex-end;
}

/* 工厂图片网格 */
.factory-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    position: relative;
    border: 3px solid #D81519;
    padding: 20px;
    background-color: #D81519;
}

/* 大图片 */
.factory-item-large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    border: 3px solid #D81519;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.8) rotate(-5deg);
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 小图片 */
.factory-item {
    position: relative;
    overflow: hidden;
    border: 3px solid #D81519;
    opacity: 0;
    transform: scale(0.8) rotate(5deg);
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.factory-item:hover {
    transform: translateY(-5px);
}

.factory-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
}

/* 触发动画的类 */
.factory-grid.animate-in .factory-item-large,
.factory-grid.animate-in .factory-item {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* 为不同位置的图片设置不同的动画延迟 */
.factory-grid.animate-in .factory-item-large {
    transition-delay: 0s;
}

.factory-grid.animate-in .factory-item:nth-child(2) {
    transition-delay: 0.2s;
}

.factory-grid.animate-in .factory-item:nth-child(3) {
    transition-delay: 0.4s;
}

.factory-grid.animate-in .factory-item:nth-child(4) {
    transition-delay: 0.6s;
}

.factory-grid.animate-in .factory-item:nth-child(5) {
    transition-delay: 0.8s;
}

.factory-item:hover img {
    transform: scale(1.05);
}

/* ==================== 赫铭资讯 ==================== */
.news-section {
    background-color: #fff;
    padding-top: 50px;
}

.news-slogan {
    font-size: 16px;
    color: #666;
    margin-top: 15px;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.news-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.news-image {
    width: 100%;
    height: 370px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    background-color: #F5F5F5;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-card-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0;
    flex: 1;
    margin-right: 20px;
    line-height: 1.4;
}

.news-link {
    font-size: 14px;
    color: #D90000;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.news-link:hover {
    color: #B80000;
    transform: translateY(2px);
}

/* ==================== 响应式设计 ==================== */

/* 平板端适配 */
@media (max-width: 991px) {
    /* 平板端公司优势 */
    .advantage-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .advantage-icon {
        width: 85px;
        height: 85px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .advantage-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* 平板端Banner适配 */
    .banner-section .carousel-control-prev,
    .banner-section .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .banner-section .carousel-control-prev {
        left: 10px;
    }
    
    .banner-section .carousel-control-next {
        right: 10px;
    }
    
    .banner-section .carousel-indicators {
        bottom: 10px;
    }
    
    .banner-section .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
    
    /* 平板端产品中心 */
    .product-section {
        padding: 50px 0;
    }
    
    .product-section .section-title {
        font-size: 28px;
    }
    
    .product-content {
        flex-direction: column;
    }
    
    .product-info {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        align-items: center;
    }
    
    .product-bars {
        display: none;
    }
    
    .product-card {
        height: auto;
    }
    
    .product-title {
        text-align: center;
        min-height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .product-btn {
        align-self: center;
    }
    
    .product-item {
        opacity: 1;
        transform: translateY(0) rotateY(0);
        transition: none;
    }
    
    /* 移动端产品中心标题 */
    .product-section .section-header {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .product-section .title-left {
        align-items: center;
    }
    
    .product-section .section-header::after {
        bottom: -10px;
    }
    
    .product-image img {
        height: 140px;
    }
    
    /* 平板端4大优势标题 */
    .new-advantage-section {
        padding: 50px 0;
        background-color: #D81617;
        color: #fff;
        height: auto;
    }
    
    .new-advantage-section .section-title {
        font-size: 28px;
        color: #fff;
    }
    
    .new-advantage-section .section-subtitle-en {
        color: #fff;
    }
    
    .new-advantage-section .section-desc {
        color: #fff;
    }
    
    .new-advantage-section .title-underline {
        background-color: rgba(255, 255, 255, 0.5);
    }
    
    .new-advantage-section .title-underline::before {
        background-color: #fff;
    }
    
    /* 平板端优势卡片 */
    .advantage-cards-section {
        padding: 0;
        margin-top: 0;
    }
    
    .advantage-cards {
        margin-top: 0;
    }
    
    .advantage-card {
        margin-bottom: 30px;
    }
    
    .advantage-card-content {
        flex-direction: column;
    }
    
    .advantage-card-left {
        flex: 100%;
        padding: 40px 30px;
        width: 100%;
        overflow: visible;
    }
    
    /* 平板端禁用动画效果 */
    .advantage-card-header,
    .advantage-card-text,
    .advantage-card-english,
    .advantage-card-link {
        opacity: 1;
        transform: translateX(0);
        animation: none;
    }
    
    .advantage-card-right {
        flex: 100%;
        padding: 30px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: visible;
    }
    
    .advantage-card-right img {
        width: 100%;
        height: auto;
        max-width: 100%;
        opacity: 1;
        transform: scale(1) rotate(0deg);
        transition: none;
    }
    
    .advantage-card-number {
        font-size: 48px;
        margin-bottom: 15px;
    }
    
    .advantage-card-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .advantage-card-text {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .advantage-card-english {
        font-size: 12px;
        margin-bottom: 20px;
    }
    
    /* 平板端工厂图片 */
    .factory-section {
        margin-top: 0;
    }
    
    .factory-section .section-title {
        font-size: 24px;
    }
    
    .factory-section .title-divider {
        font-size: 24px;
    }
    
    .factory-section .section-subtitle-en {
        font-size: 16px;
    }
    
    .factory-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
    }
    
    .factory-item-large {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
        opacity: 1;
        transform: scale(1) rotate(0deg);
        transition: none;
    }
    
    .factory-item {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        transition: none;
    }
    
    /* 平板端赫铭资讯 */
    .news-section {
        padding: 0;
    }
    
    .news-title {
        font-size: 28px;
    }
    
    .news-subtitle {
        font-size: 14px;
    }
    
    .news-slogan {
        font-size: 14px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-image {
        height: 200px;
    }
    
    /* 平板端公司介绍 */
    .company-content-wrapper {
        height: auto;
        min-height: 400px;
    }
    
    .company-content {
        text-align: center;
        width: 90%;
        display: block;
    }
    
    .company-image {
        display: block;
        width: 100%;
        max-width: 100%;
        padding-top: 20px;
        opacity: 1;
        transform: translateX(0);
        transition: none;
    }
    
    .company-image img {
        width: 100%;
        height: auto;
        top: 0;
    }
    
    .company-info {
        display: block;
        width: 100%;
        padding: 30px;
        margin-top: 20px;
    }
    
    .company-title {
        opacity: 1;
        transform: translateX(0);
        transition: none;
    }
    
    .company-description {
        opacity: 1;
        transform: translateX(0);
        transition: none;
    }
    
    .company-section .section-title {
    }
    
    .company-section .section-subtitle-en {
        font-size: 16px;
    }
    
    .company-section .section-desc {
        font-size: 14px;
    }
}

/* 手机端适配 */
@media (max-width: 767px) {
    /* 手机端公司优势 */
    .advantage-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-desc {
        font-size: 14px;
    }
    
    /* 移动端section-header边距调整 */
    .section-header {
        margin-bottom: 0;
    }
    
    /* 移动端advantage-content边距调整 */
    .advantage-content {
        margin-top: 0;
    }
    
    .advantage-icon {
        width: 75px;
        height: 75px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .advantage-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .advantage-title {
        font-size: 16px;
        margin-bottom: 10px;
        width: 75px;
        text-align: center;
    }
    
    .advantage-text {
        font-size: 13px;
    }
    
    /* 移动端公司优势布局调整 */
    .advantage-item {
        display: flex;
        align-items: center;
        text-align: left;
        padding: 15px;
    }
    
    .advantage-item-left {
        flex: 0 0 35%;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
    }
    
    .advantage-icon {
        margin: 0 0 0 0;
    }
    
    .advantage-title {
        text-align: center;
        margin-bottom: 0;
    }
    
    .advantage-item-right {
        flex: 0 0 60%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding-left: 5%;
    }
    
    .advantage-text {
        margin-bottom: 0;
        line-height: 1.5;
        text-align: center;
    }
    
    /* 手机端Banner适配 */
    .banner-section .carousel-control-prev,
    .banner-section .carousel-control-next {
        width: 36px;
        height: 36px;
    }
    
    .banner-section .carousel-control-prev {
        left: 5px;
    }
    
    .banner-section .carousel-control-next {
        right: 5px;
    }
    
    /* 手机端产品中心 */
    .product-section {
        padding: 40px 0;
    }
    
    .product-section .section-title {
        font-size: 24px;
    }
    
    .product-item {
        padding: 0 8px;
        margin-bottom: 15px;
        opacity: 1;
        transform: translateY(0) rotateY(0);
        transition: none;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-title {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .product-btn {
        padding: 6px 16px;
        font-size: 13px;
    }
    
    .product-image {
        padding: 15px;
    }
    
    .product-image img {
        height: 120px;
    }
    
    /* 手机端4大优势标题 */
    .new-advantage-section {
        padding: 40px 0;
        background-color: #D81617;
        color: #fff;
        height: auto;
    }
    
    .new-advantage-section .section-title {
        font-size: 24px;
        color: #fff;
    }
    
    .new-advantage-section .section-subtitle-en {
        color: #fff;
        font-size: 14px;
    }
    
    .new-advantage-section .section-desc {
        color: #fff;
        font-size: 14px;
    }
    
    .new-advantage-section .title-underline {
        background-color: rgba(255, 255, 255, 0.5);
    }
    
    .new-advantage-section .title-underline::before {
        background-color: #fff;
    }
    
    /* 手机端优势卡片 */
    .advantage-cards-section {
        padding: 0;
        margin-top: 0;
    }
    
    .advantage-cards {
        margin-top: 0;
    }
    
    .advantage-card {
        margin-bottom: 20px;
    }
    
    .advantage-card-content {
        flex-direction: column;
    }
    
    .advantage-card-left {
        padding: 30px 20px;
        flex: 100%;
        width: 100%;
        overflow: visible;
    }
    
    /* 手机端禁用动画效果 */
    .advantage-card-header,
    .advantage-card-text,
    .advantage-card-english,
    .advantage-card-link {
        opacity: 1;
        transform: translateX(0);
        animation: none;
    }
    
    .advantage-card-header {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        justify-content: center;
        text-align: center;
        height: auto;
    }
    
    .advantage-card-number {
        font-size: 36px;
        margin-bottom: 0;
        margin-right: 10px;
    }
    
    .advantage-card-title {
        font-size: 18px;
        margin-bottom: -5px;
        text-align: center;
    }
    
    .advantage-card-right {
        padding: 20px;
        flex: 100%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: visible;
    }
    
    /* 手机端奇数卡片的边距调整 */
    .advantage-card:nth-child(odd) .advantage-card-right {
        padding: 20px;
        justify-content: center;
    }
    
    .advantage-card-right img {
        width: 100%;
        height: auto;
        max-width: 100%;
        opacity: 1;
        transform: scale(1) rotate(0deg);
        transition: none;
    }
    
    .advantage-card-text {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .advantage-card-english {
        font-size: 11px;
        margin-bottom: 15px;
    }
    
    .advantage-card-link {
        font-size: 14px;
    }
    
    /* 手机端工厂图片 */
    .factory-section {
        margin-top: 0;
    }
    
    .factory-section .section-title {
        font-size: 20px;
    }
    
    .factory-section .title-divider {
        font-size: 20px;
    }
    
    .factory-section .section-subtitle-en {
        font-size: 14px;
    }
    
    .factory-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 15px;
    }
    
    .factory-item-large {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        opacity: 1;
        transform: scale(1) rotate(0deg);
        transition: none;
    }
    
    .factory-item {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        transition: none;
    }
    
    /* 手机端赫铭资讯 */
    .news-section {
        padding: 0;
    }
    
    .news-title {
        font-size: 24px;
    }
    
    .news-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .news-link {
        align-self: flex-end;
    }
    
    /* 手机端公司介绍 */
    .company-section {
        padding: 40px 0;
        margin: 20px 0;
    }
    
    .company-info {
        padding: 20px;
    }
    
    .company-title {
        font-size: 20px;
        opacity: 1;
        transform: translateX(0);
        transition: none;
    }
    
    .company-description {
        font-size: 14px;
        opacity: 1;
        transform: translateX(0);
        transition: none;
    }
    
    .company-image {
        opacity: 1;
        transform: translateX(0);
        transition: none;
    }
}

/* 大屏PC适配 */
@media (min-width: 1200px) {
    /* 大屏公司优势 */
    .advantage-section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .advantage-icon {
        width: 110px;
        height: 110px;
    }
    
    .advantage-icon i {
        font-size: 50px;
    }
    
    /* 大屏公司介绍 */
    .company-section {
        padding: 10px 0;
    }
    
    .company-content {
        gap: 60px;
    }
    
    .company-info {
        padding: 50px;
        padding-right: 0px;
    }
    
    .company-title {
        font-size: 28px;
    }
    
    .company-description {
        font-size: 16px;
    }
    
    /* 大屏工厂图片 */
    .factory-section {
        padding: 10px 0 80px;
    }
    
    .factory-grid {
        gap: 30px;
    }
}
