/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局字体设置 */
body {
    font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    font-size: 16px;
    background-color: #f8f8f8;
}

/* 容器样式 */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 垂直选项卡部分容器样式 */
.vertical-tabs-section .container {
    max-width: 1200px;
}

/* 荣誉证书部分容器样式 */
.certificates-section .container {
    max-width: 1200px;
}

/* 链接样式 */
a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2e8b57;
}

/* 页面通用内容样式 */
.page-content {
    padding: 60px 0;
    background-color: #fff;
}

.page-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.page-title h2 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #2e8b57;
}

/* 公司简介页面样式 */
.about-overview {
    margin-bottom: 60px;
    padding: 60px 0;
}

.about-overview .container {
    /* 移除flex布局，让内容正常流动 */
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #666;
    font-size: 16px;
}

.about-image {
    flex: 1;
    max-width: 50%;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 发展历程样式 */
.development-history {
    background-color: #f9f9f9;
    padding: 60px 0;
    margin-bottom: 60px;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: #2e8b57;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #2e8b57;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px #2e8b57;
}

.timeline-item:nth-child(odd)::after {
    right: -10px;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.timeline-content h4 {
    font-size: 20px;
    color: #2e8b57;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* 企业文化样式 */
.corporate-culture {
    margin-bottom: 60px;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.culture-item {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.culture-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.culture-item i {
    font-size: 48px;
    color: #2e8b57;
    margin-bottom: 20px;
}

.culture-item h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.culture-item p {
    color: #666;
    line-height: 1.6;
}

/* 专业团队样式 */
.professional-team {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-member {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member__img {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.team-member__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .team-member__img img {
    transform: scale(1.1);
}

.team-member__info {
    padding: 20px;
    text-align: center;
}

.team-member__info h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 5px;
}

.team-member__info p {
    color: #2e8b57;
    margin-bottom: 15px;
}

.team-member__info .description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 产品展示页面样式 */
.product-tabs {
    margin-bottom: 40px;
    text-align: center;
}

.product-tabs .tab-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.product-tabs .tab-btn {
    padding: 6px 42px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    color: #333;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-tabs .tab-btn:hover {
    background-color: #2e8b57;
    color: #fff;
    border-color: #2e8b57;
}

.product-tabs .tab-btn.active {
    background-color: #2e8b57;
    color: #fff;
    border-color: #2e8b57;
}

/* 产品网格样式 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.product-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.product-item__img {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.product-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item:hover .product-item__img img {
    transform: scale(1.1);
}

.product-item__info {
    padding: 20px;
}

.product-item__info h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.product-item__info .description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    min-height: 60px;
}

.product-item__info .price {
    font-size: 20px;
    color: #e74c3c;
    font-weight: bold;
    margin-bottom: 15px;
}

.product-item__actions {
    display: flex;
    gap: 10px;
}

.product-item__actions .btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.product-item__actions .btn-primary {
    background-color: #2e8b57;
    color: #fff;
}

.product-item__actions .btn-primary:hover {
    background-color: #27744a;
}

.product-item__actions .btn-outline {
    background-color: #fff;
    color: #2e8b57;
    border: 1px solid #2e8b57;
}

.product-item__actions .btn-outline:hover {
    background-color: #2e8b57;
    color: #fff;
}

/* 产品优势样式 */
.product-advantages {
    background-color: #f9f9f9;
    padding: 60px 0;
    text-align: center;
}

.product-advantages h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 40px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-item {
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-10px);
}

.advantage-item i {
    font-size: 48px;
    color: #2e8b57;
    margin-bottom: 20px;
}

.advantage-item h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.advantage-item p {
    color: #666;
    line-height: 1.6;
}

/* 新闻资讯页面样式 */
.news-content {
    padding: 40px 0;
}

.news-content-wrapper {
    display: flex;
    gap: 40px;
}

.news-main {
    flex: 1;
}

.news-sidebar {
    width: 350px;
    flex-shrink: 0;
}

/* 新闻列表样式 */
.news-list {
    margin-bottom: 40px;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 30px 0;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.news-item:hover {
    background-color: #f9f9f9;
}

.news-item__img {
    width: 200px;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    flex-shrink: 0;
}

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

.news-item:hover .news-item__img img {
    transform: scale(1.1);
}

.news-item__content {
    flex: 1;
}

.news-item__content h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.news-item:hover .news-item__content h3 {
    color: #2e8b57;
}

.news-item__meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #888;
}

.news-item__excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-item__readmore {
    display: inline-block;
    padding: 8px 20px;
    background-color: #2e8b57;
    color: #fff;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.news-item__readmore:hover {
    background-color: #27744a;
}

/* 侧边栏样式 */
.sidebar-section {
    background-color: #f9f9f9;
    padding: 0 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.sidebar-section h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.sidebar-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #2e8b57;
}

/* 新闻分类样式 */
.news-categories {
    list-style: none;
}

.news-categories li {
    margin-bottom: 15px;
}

.news-categories li:last-child {
    margin-bottom: 0;
}

.news-categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2e8b57;
    transition: color 0.3s ease;
}

.news-categories a:hover {
    color: #666;
}

.news-categories .count {
    background-color: #2e8b57;
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

/* 热门文章样式 */
.hot-news {
    list-style: none;
}

.hot-news li {
    margin-bottom: 15px;
}

.hot-news li:last-child {
    margin-bottom: 0;
}

.hot-news a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hot-news__number {
    width: 24px;
    height: 24px;
    background-color: #e8f5e9;
    color: #2e8b57;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.hot-news__title {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.hot-news a:hover .hot-news__title {
    color: #2e8b57;
}

/* 生产车间页面样式 */
.factory-overview {
    margin-bottom: 60px;
}

.factory-overview .container {
    display: flex;
    gap: 60px;
    align-items: center;
}

.factory-overview__img {
    flex: 1;
    max-width: 50%;
}

.factory-overview__img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.factory-overview__content {
    flex: 1;
}

.factory-overview__content h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.factory-overview__content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #666;
}

/* 生产设备样式 */
.production-equipment {
    background-color: #f9f9f9;
    padding: 60px 0;
    margin-bottom: 60px;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.equipment-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.equipment-item:hover {
    transform: translateY(-10px);
}

.equipment-item__img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.equipment-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.equipment-item:hover .equipment-item__img img {
    transform: scale(1.1);
}

.equipment-item__info {
    padding: 20px;
    text-align: center;
}

.equipment-item__info h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.equipment-item__info p {
    color: #666;
    line-height: 1.6;
}

/* 生产流程样式 */
.production-process {
    margin-bottom: 60px;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #2e8b57;
    transform: translateY(-50%);
    z-index: -1;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.process-step__icon {
    width: 80px;
    height: 80px;
    background-color: #2e8b57;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    position: relative;
    z-index: 1;
}

.process-step__content h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.process-step__content p {
    color: #666;
    line-height: 1.6;
}

/* 质检标准样式 */
.quality-control {
    background-color: #f9f9f9;
    padding: 60px 0;
    margin-bottom: 60px;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.quality-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.quality-item h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.quality-item h4 i {
    color: #2e8b57;
    font-size: 24px;
}

.quality-item ul {
    list-style: none;
    margin-left: 40px;
}

.quality-item ul li {
    position: relative;
    margin-bottom: 10px;
    line-height: 1.6;
    color: #666;
}

.quality-item ul li::before {
    content: '✓';
    position: absolute;
    left: -25px;
    color: #2e8b57;
    font-weight: bold;
}

/* 资质荣誉页面样式 */
.certificates-section {
    background-color: #f9f9f9;
    padding: 60px 0;
    margin-bottom: 60px;
}

.certs-slider {
    display: flex;
    transition: transform 0.3s ease;
    gap: 30px;
}

/* .cert-item 样式已在证书轮播部分定义 */

.certs-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.certs-controls button {
    width: 40px;
    height: 40px;
    background-color: #2e8b57;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background-color 0.3s ease;
}

.certs-controls button:hover {
    background-color: #27744a;
}

/* 认证优势样式 */
.certification-advantages {
    margin-bottom: 60px;
}

.advantages-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.advantages-content__img {
    flex: 1;
    max-width: 50%;
}

.advantages-content__img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.advantages-content__list {
    flex: 1;
}

.advantages-content__list h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.advantages-content__list ul {
    list-style: none;
}

.advantages-content__list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #666;
}

.advantages-content__list li i {
    color: #2e8b57;
    font-size: 20px;
    margin-top: 2px;
}

/* 联系我们页面样式 */
.contact-content {
    display: flex;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-info-section {
    flex: 1;
}

.contact-form-section {
    flex: 1;
}

/* 联系信息样式 */
.contact-info-box {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.contact-info-box h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
}

.contact-info-list {
    list-style: none;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-info-list li:last-child {
    margin-bottom: 0;
}

.contact-info-list li i {
    color: #2e8b57;
    font-size: 24px;
    background-color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-list li .info-content h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.contact-info-list li .info-content p {
    color: #666;
    line-height: 1.6;
}

/* 联系表单样式 */
.contact-form {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
}

.contact-form h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2e8b57;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    padding: 12px 40px;
    background-color: #2e8b57;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-submit:hover {
    background-color: #27744a;
}

/* 地图样式 */
.map-section {
    margin-bottom: 60px;
}

.map-container {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 移动端适配样式 */

/* 768px以下 */
@media (max-width: 768px) {
    /* 页面通用样式 */
    .page-content {
        padding: 40px 0;
    }
    
    .page-title h2 {
        font-size: 28px;
    }
    
    /* 公司简介页面适配 */
    .about-overview .container {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-overview__img {
        max-width: 100%;
    }
    
    /* 时间线适配 */
    .timeline::before {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item::after {
        left: 21px;
    }
    
    /* 企业文化适配 */
    .culture-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* 团队适配 */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .team-member__img {
        height: 250px;
    }
    
    /* 产品页面适配 */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-item__img {
        height: 200px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* 新闻页面适配 */
    .news-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .news-sidebar {
        width: 100%;
    }
    
    .news-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .news-item__img {
        width: 100%;
        height: 200px;
    }
    
    /* 工厂页面适配 */
    .factory-overview .container {
        flex-direction: column;
        gap: 30px;
    }
    
    .factory-overview__img {
        max-width: 100%;
    }
    
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* 生产流程适配 */
    .process-steps {
        flex-direction: column;
        gap: 30px;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .quality-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* 资质荣誉页面适配 */
    .cert-item {
        width: calc(50% - 15px);
    }
    
    .advantages-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .advantages-content__img {
        max-width: 100%;
    }
    
    /* 联系页面适配 */
    .contact-content {
        flex-direction: column;
        gap: 30px;
    }
}

/* 480px以下 */
@media (max-width: 480px) {
    /* 页面通用样式 */
    .page-content {
        padding: 30px 0;
    }
    
    .page-title h2 {
        font-size: 24px;
    }
    
    /* 企业文化适配 */
    .culture-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* 团队适配 */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* 产品页面适配 */
    .product-tabs .tab-buttons {
        gap: 8px;
    }
    
    .product-tabs .tab-btn {
        padding: 6px 20px;
        font-size: 14px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* 工厂页面适配 */
    .equipment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* 资质荣誉页面适配 */
    .cert-item {
        width: 100%;
    }
    
    /* 联系信息适配 */
    .contact-info-box,
    .contact-form {
        padding: 25px;
    }
    
    .contact-info-list li {
        flex-direction: column;
        text-align: center;
    }
    
    /* 地图适配 */
    .map-container {
        height: 300px;
    }
    
    /* 产品操作按钮适配 */
    .product-item__actions {
        flex-direction: column;
    }
    
    /* 新闻详情适配 */
    .news-item__meta {
        flex-direction: column;
        gap: 10px;
    }
}

/* 按钮基础样式 */
button {
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
}

/* 顶部信息栏 */
.top-bar {
    background-color: #ffffff;
    padding: 30px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.top-bar__left .logo {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    color: #2e8b57;
}

.logo img {
    height: 68px;
}

.top-bar__left .logo i {
    margin-right: 8px;
}

.top-bar__center {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #2e8b57;
    font-size: 18px;
}

.contact-info {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    position: relative;
    align-items: center;
}

/* 使用分隔线但避免与图标重合 */
.contact-info .info-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 30px;
    background-color: #ddd;
}

.info-item::before {
    content: '';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 24px;
    color: #2e8b57;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(46, 139, 87, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.info-item:nth-child(1)::before {
    content: '\f095'; /* 电话图标 */
}

.info-item:nth-child(2)::before {
    content: '\f0e0'; /* 邮箱图标 */
}

.info-item:nth-child(3)::before {
    content: '\f3c5'; /* 地址图标 */
}

.info-item .info-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-item .info-label {
    color: #878680;
    font-size: 12px;
}

.info-item .info-value {
    color: #333;
    font-weight: 500;
    max-width: 139px;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-switcher span {
    color: #dddddd
}

.language {
    color: #878680;
}

.language.active {
    color: #2e8b57;
    font-weight: bold;
}

/* 主导航栏 */
.main-nav {
    background-color: #fff;
    padding: 5px 0;
}

.main-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /*max-width: 1300px;*/
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: #878680;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link i {
    margin-left: 20px;
    font-size: 12px;
}

.nav-link:hover {
    background-color: #2e8b57;
    color: #fff;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 10px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
    color: #2e8b57;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 搜索框样式 - 现代设计 */
.search-container {
    position: relative;
}

.search-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 32, 44, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 1001;
    backdrop-filter: blur(8px);
}

.search-box.active {
    opacity: 1;
    visibility: visible;
}

.search-box::after {
    content: '×';
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 32px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1002;
    font-weight: 300;
}

.search-box::after:hover {
    color: #fff;
    transform: scale(1.1);
}

.search-box h3 {
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.2s;
    letter-spacing: -0.5px;
}

.search-box.active h3 {
    opacity: 1;
    transform: translateY(0);
}

.search-box form {
    display: flex;
    width: 100%;
    max-width: 650px;
    margin: 0 30px;
    background: rgba(255, 255, 255, 1);
    overflow: hidden;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
    transform: scale(0.95);
    opacity: 0;
}

.search-box.active form {
    transform: scale(1);
    opacity: 1;
    transition-delay: 0.3s;
}

.search-box form:focus-within {
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

.search-box input[type="search"] {
    flex: 1;
    padding: 22px 30px;
    border: none;
    outline: none;
    font-size: 18px;
    color: #1a202c;
    font-weight: 500;
    background: transparent;
}

.search-box input[type="search"]::placeholder {
    color: #a0aec0;
    font-weight: 400;
}

.search-box button[type="submit"] {
        background: #006a54;
        color: #fff;
        border: none;
        padding: 0 40px;
        cursor: pointer;
        font-size: 20px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .search-box button[type="submit"]:hover {
        background: #004d3d;
        transform: translateX(2px);
    }

    .search-box button[type="submit"]:active {
        transform: translateX(0) scale(0.98);
    }

/* 响应式调整 */
@media (max-width: 768px) {
    .search-box h3 {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .search-box form {
        margin: 0 auto;
        max-width: none;
        width: 94%;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }
    
    .search-box input[type="search"] {
        padding: 18px 20px;
        font-size: 16px;
    }
    
    .search-box button[type="submit"] {
        padding: 0 25px;
        font-size: 18px;
    }
    
    .search-box::after {
        top: 20px;
        right: 20px;
        font-size: 28px;
    }
}

/* 移动设备优化 */
@media (max-width: 480px) {
    .search-box form {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    }
    
    .search-box input[type="search"] {
        padding: 16px 20px;
        font-size: 16px;
        border-radius: 8px;
        background: #f8f9fa;
    }
    
    .search-box button[type="submit"] {
        padding: 15px 30px;
        font-size: 18px;
        border-radius: 8px;
        width: 100%;
        justify-content: center;
        align-items: center;
    }
}

.search-box input::placeholder {
    color: #999;
}

/* 添加搜索框关闭按钮 */
.search-box::after {
    content: '×';
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    font-weight: 300;
    transition: color 0.3s ease;
}

.search-box::after:hover {
    color: #2e8b57;
}

.nav-icon {
    font-size: 20px;
    color: #333;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #2e8b57;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 20px;
    text-align: center;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: transparent;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

/* 轮播图样式 */
.carousel {
    position: relative;
    height: 811px;
    overflow: hidden;
}

.carousel__slides {
    height: 100%;
}

.carousel__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-size: 100% auto;*/
    /*background-position: center;*/
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel__slide.active {
    opacity: 1;
}

.carousel__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.carousel__content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.carousel__content p {
    font-size: 24px;
}

.carousel__prev,
.carousel__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.3);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background-color 0.3s ease;
}

.carousel__prev:hover,
.carousel__next:hover {
    background-color: rgba(0,0,0,0.5);
}

.carousel__prev {
    left: 20px;
}

.carousel__next {
    right: 20px;
}

.carousel__indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
    background-color: #fff;
    transform: scale(1.2);
}

/* 关于恒源部分 */
.about-section {
    padding: 80px 0;
    background-color: #f3f3f3;
}

.section-title {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: inherit;
    margin-bottom: 60px;
    color: #333;
    position: relative;
}

.section-title .cn-title {
    font-size: 36px;
    position: relative;
    /*margin-right: 40px;*/
}

/*.section-title .cn-title::after {
    content: '';
    position: absolute;
    top: 52%;
    right: -20px;
    transform: translateY(-50%);
    width: 3px;
    height: 45px;
    background-color: #006a54;
}*/

.section-title span {
    font-size: 24px;
    color: #006a54;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 4px;
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 2px;
}

.section-title::before {
  content: '';
  position: absolute;
  bottom: -19px;
  left: 50%;
  transform: translateX(-50%);
  width: 65px;
  height: 4px;
  background-color: #006a54;
  z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.about-item {
    text-align: center;
    padding: 0 30px 30px;
    position: relative;
}

.about-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px; /* 将分隔线移到gap的中间 */
    top: 10px;
    bottom: 140px;
    width: 2px;
    background-color: #e6e6e6;
}

.about-icon {
    margin: 0 auto;
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.about-title {
    font-size: 20px;
    margin-bottom: 5px;
    color: #333;
}

.about-desc {
    color: #666;
    line-height: 24px;
    text-align: left;
}

/* 图片区域 */
.about-section .image-container {
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.more-button {
    position: absolute;
    bottom: 7%;
    right: 40%;
    color: #fff;
    padding: 10px 20px;
    width: 252px;
    height: 50px;
}

/* 产品展示部分 */
.products-section {
    padding: 80px 0;
    background-color: #fff;
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

/* 产品标题和更多链接的容器样式 */
.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .product-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .product-title {
        margin-bottom: 5px;
    }
}

.tab-btn {
    padding: 5px 30px;
    color: #666;
    border-radius: 20px;
    font-size: 20px;
    border: 1px solid #eaeaea;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn.active,
.tab-btn:hover {
    background: linear-gradient(to right, #02c39a, #064b32);
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
}

.product-item {
    background-color: #f5e7e7;
    overflow: hidden;
    padding: 10px 10px 0 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    background-color: #006a54;
}

.product-item:hover .product-title,
.product-item:hover .product-more {
    color: #eeeeee;
}

.product-item:hover .product-more {
    background-color: transparent;
    padding: 0;
}

.product-image {
    height: 250px;
    overflow: hidden;
    border-radius: 20px;
}

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

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

.product-title {
    font-size: 16px;
    margin: 15px 0;
    padding: 0 15px;
    color: #a09a9a;
    font-weight: 400;
}

.product-more {
    display: inline-block;
    color: #dddddd;
    font-weight: 500;
    background-color: #ffffff;
    padding: 0 7px;
}

.product-more:hover {
    color: #1e6b40;
}

/* 垂直选项卡部分 */
.vertical-tabs-section {
    padding: 0;
    position: relative;
    min-height: 600px;
}

.vertical-tabs {
    display: flex;
    position: relative;
    z-index: 1;
}

/* 针对vtab-content的响应式调整保持 */
@media (max-width: 768px) {
    .vtab-content {
        padding: 20px;
    }
    
    .vtab-title {
        font-size: 28px;
    }
    
    .vtab-subtitle {
        font-size: 20px;
    }
    
    .vtab-desc {
        font-size: 14px!important;
    }
}

.tabs-sidebar {
    width: 208px;
    flex-shrink: 0;
}

.tab-sidebar-btn {
    width: 100%;
    height: 205px;
    padding: 10px 10px 42px;
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.tab-sidebar-btn.active,
.tab-sidebar-btn:hover {
    background-color: #2e8b57;
    color: #fff;
}

.tab-sidebar-btn h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.tab-sidebar-btn p {
    color: #666;
    margin-bottom: 5px;
    text-align: left;
    padding: 0 0 0 15px;
}

.tab-sidebar-btn p:first-of-type {
    font-size: 16px;
}

.tab-sidebar-btn.active p,
.tab-sidebar-btn:hover p {
    color: rgba(255,255,255,0.9);
}

.tab-desc-en {
    font-size: 14px;
    font-style: italic;
}

.tab-number {
    position: absolute;
    bottom: -19px;
    right: 2px;
    font-size: 80px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.1);
    font-style: italic;
}

.tab-sidebar-btn.active .tab-number,
.tab-sidebar-btn:hover .tab-number {
    color: rgba(255,255,255,0.2);
}

.tabs-content {
    flex: 1;
    min-height: 600px;
    overflow: hidden;
    position: relative;
}

.vtab-content {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 293px;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 20px 50px;
    color: #333333;
    box-sizing: border-box;
    background-color: #f5f5f5;
}

.vtab-content.active {
    opacity: 1;
}

.content-wrapper {
    max-width: 440px;
}

.vtab-title {
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 4px;
    margin-bottom: 12px;
    color: #006a54;
    font-style: italic;
}

.vtab-subtitle {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.vtab-subtitle:after {
    content: '';
    position: absolute;
    left: 3px;
    bottom: -12px;
    width: 26px;
    height: 3px;
    background-color: #57aa1c;
}

.vtab-desc {
    font-size: 16px;
    line-height: 1.8;
}

.contact-info-fixed {
    position: absolute;
    bottom: 0;
    right: 0;
    text-align: left;
    padding: 20px;
    background-image: url('../images/contact-info-bg.jpg');
    background-size: 100% auto;
    padding-left: 40px;
    z-index: 10;
    height: 100%;
    width: 398px;
}

.contact-title {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #fff;
    font-weight: bold;
}

/* 首页联系标题专用样式 */
.index-contact-title {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #fff;
    font-weight: bold;
    margin-top: 50px;
}

.contact-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #006a54;
    margin-right: 8px;
    border-radius: 50%;
}

.index-contact-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #006a54;
    margin-right: 8px;
    border-radius: 50%;
}

.contact-phones {
    position: absolute;
    left: 110px;
    bottom: 50px;
    font-family: '黑体';
    line-height: 30px;
    font-size: 24px;
}

.phone-item {
    color: #006a54;
    font-weight: 600;
}

.contact-phone {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.contact-btn {
    background-color: #2e8b57;
    color: #fff;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 17px;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background-color: #1e6b40;
}

/* 荣誉证书部分 */
.certificates-section {
    position: relative;
    padding: 80px 0;
    background-color: #eaeaea;
}

.certificates-carousel {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.certs-slider {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.cert-item {
    flex: 0 0 auto;
    width: calc(25% - 22.5px);
    overflow: hidden;
}

.cert-item img {
    width: 100%;
    height: 400px;
    padding: 10px;
    border: 2px solid #f7f7f7;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* 拖动时的样式 */
.carousel.dragging {
    cursor: grabbing;
    user-select: none;
}

.carousel {
    cursor: grab;
}

/* 阻止轮播图中的文本选择 */
.carousel__content {
    user-select: none;
}

/* 证书标题样式 */
.cert-title {
    background-color: #f7f7f7;
    padding: 10px 15px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.certs-prev,
.certs-next {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    background-color: #57aa1c;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.certs-prev:hover,
.certs-next:hover {
    background-color: #2e8b57;
}

.certs-prev {
    left: 280px;
    transform: translateY(-50%);
}

.certs-next {
    right: 280px;
    transform: translateY(-50%);
}

/* 新闻资讯部分 */
.news-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.news-content {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.news-featured {
    width: 45%;
    overflow: hidden;
    /*box-shadow: 0 4px 8px rgba(0,0,0,0.1);*/
}

.news-featured img {
    /*width: 100%;
    height: 100%;
    object-fit: cover;*/
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

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

.news-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    position: relative;
    display: flex;
    gap: 20px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-item.active,
.news-item:hover {
    background-color: #006a54;
    color: #ffffff;
}

/* hover和active状态下子元素文字颜色 */
.news-item:hover .news-date,
.news-item.active .news-date,
.news-item:hover .news-title,
.news-item.active .news-title,
.news-item:hover .news-excerpt,
.news-item.active .news-excerpt {
    color: #ffffff;
}

/* 在hover和active状态时显示箭头 */
.news-item:hover::before,
.news-item.active::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 15px solid #006a54;
    transition: all 0.3s ease;
}

.news-date {
    width: 80px;
    height: 80px;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.date-day {
    font-size: 32px;
    font-weight: bold;
}

.date-month {
    font-size: 14px;
}

.news-info {
    flex: 1;
}

.news-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.news-excerpt {
    color: #666;
    line-height: 1.6;
}

.news-more {
    text-align: center;
}

.more-btn {
    display: inline-block;
    background-color: #57aa1c;
    color: #fff;
    padding: 8px 40px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.more-btn:hover {
    background-color: #4b9914;
    color: #fdfdfd;
}

/* 联系我们部分 */
.contact-section {
    padding: 80px 0;
    background-color: #fff;
}

.contact-form {
    max-width: 1200px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

input,
textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    font-size: 16px;
    transition: border-color 0.3s ease;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: #2e8b57;
}

.submit-btn {
    display: block;
    width: 200px;
    margin: 30px auto 0;
    background-color: #006a54;
    color: #fff;
    padding: 15px;
    font-size: 16px;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #1e6b40;
}

/* 底部样式 */
.footer {
    background-color: #2b2c2e;
    color: #fff;
    padding: 60px 0 30px;
}

.footer .container {
    max-width: 1200px;
}

.footer-top {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-right: 40px;
}

/* Logo image styling removed as requested */

.footer-logo-text {
    margin-left: 15px;
}

.footer-logo-chinese {
    font-size: 28px;
    color: #ffffff;
    font-family: '黑体';
    height: 33px;
}

.footer-logo-english {
    font-size: 20px;
    color: #ffffff;
    text-transform: uppercase;
    font-family: 'Arial';
}

.footer-logo i {
    margin-right: 10px;
    font-size: 30px;
}

.footer-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
    font-family: '黑体';
    font-size: 18px;
}

.footer-nav a {
    color: #ffffff;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #2e8b57;
}

.footer-middle {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    border-top: 1px solid #444;
    border-bottom: 1px solid #444;
}

.footer-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 18px;
    font-family: '黑体';
}

.footer-info p {
    color: #ddd;
    position: relative;
    padding-left: 30px;
}

.footer-info p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #ffffff;
}

.footer-info p:nth-child(1)::before {
    content: '\f3c5';
}

.footer-info p:nth-child(2)::before {
    content: '\f095';
}

.footer-info p:nth-child(3)::before {
    content: '\f0e0';
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 30px;
}

.footer-copyright p {
    color: #ffffff;
    margin: 0;
    font-size: 15px;
}

.footer-qrcode {
    text-align: center;
}

.footer-qrcode img {
    width: 100px;
    height: 100px;
}

.footer-qrcode p {
    color: #ddd;
    font-size: 15px;
    margin-top: 2px;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #2e8b57;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #1e6b40;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .about-grid,
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cert-item {
        width: calc(33.333% - 20px);
    }
}

@media (max-width: 992px) {
    .top-bar__center {
        gap: 15px;
    }
    
    .contact-info {
        gap: 15px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        padding: 10px 0;
        z-index: 1000;
        flex-direction: column;
    }
    
    .mobile-menu-btn {
        display: block;
        position: relative;
        z-index: 1001;
    }
    
    .main-nav {
        position: relative;
    }
    
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vertical-tabs {
        flex-direction: column;
    }
    
    .tabs-sidebar {
        width: 100%;
        display: flex;
        overflow-x: auto;
        gap: 10px;
    }
    
    .tab-sidebar-btn {
        min-width: 250px;
        margin-bottom: 0;
    }
    
    .news-content {
        flex-direction: column;
    }
    
    .news-featured {
        width: 100%;
        /*height: 300px;*/
    }
    
    .cert-item {
        width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    /* 移动端各section的padding设置 */
    .about-section,
    .products-section,
    .certificates-section,
    .news-section,
    .contact-section {
        padding: 50px 0;
    }
    
    /* 移动端certificates-section底部边距 */
    .certificates-section {
        margin-bottom: 20px;
    }
    
    /* 移动端news-content边距设置 */
    .news-content {
        margin-bottom: 0px;
    }
    
    .top-bar {
        padding: 15px 0;
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .top-bar__center {
        display: none;
    }
    
    /* 在移动端隐藏联系信息 */
    .contact-info {
        display: none;
    }
    
    .carousel__content h1 {
        font-size: 36px;
    }
    
    .carousel__content p {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-title span {
        font-size: 17px;
        display: block;
        margin-top: 10px;
        margin-left: 0;
    }
    
    .about-grid,
    .products-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }
    
    .about-item {
        padding: 15px;
    }
    
    .section-title .cn-title {
        font-size: 20px;
    }
    
    .product-tabs {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    
    .product-tabs::-webkit-scrollbar {
        height: 6px;
    }
    
    .product-tabs::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }
    
    .product-tabs::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 3px;
    }
    
    .product-tabs::-webkit-scrollbar-thumb:hover {
        background: #555;
    }
    
    .tab-btn {
        display: inline-block;
        margin-right: 15px;
        width: auto;
        white-space: nowrap;
    }
    
    .tab-btn:last-child {
        margin-right: 0;
    }
    
    .tabs-content {
        min-height: 400px;
    }
    
    .vtab-content {
        padding: 15px;
    }
    
    .vtab-title {
        font-size: 26px;
        margin-bottom: 10px;
    }
    
    .footer-info p span{
        display: block;
    }
    
    .vtab-subtitle {
        font-size: 20px;
    }
    
    .contact-info-fixed {
        display: none;
        bottom: 30px;
        right: 30px;
        padding: 15px;
        padding-left: 30px;
    }
    
    .contact-info-fixed::before {
        left: 10px;
        top: 20px;
        bottom: 20px;
        font-size: 16px;
    }
    
    .contact-title {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .index-contact-title {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .phone-item {
        font-size: 13px;
        padding: 4px 8px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .footer-top,
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-nav ul {
        justify-content: center;
    }
    
    .certs-prev,
    .certs-next {
        top: 54%;
    }
    
    .certs-next {
        right: 50px;
    }
    
    .certs-prev {
        left: 50px;
    }

}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .carousel {
        height: 60vh;
    }
    
    .carousel__slide {
        background-size: auto 100%;
        background-position: -175px;
    }
    
    .carousel__content h1 {
        font-size: 28px;
    }
    
    .carousel__content p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .image-container {
        height: 250px;
    }
    
    .more-button {
        right: 7%;
        bottom: 1%;
    }
    .product-item {
        padding: 10px;
    }
    .product-title{
        margin:10px 0;
    }
    .cert-item {
        width: 100%;
    }
    
    .news-item {
        flex-direction: column;
        text-align: center;
    }
    
    .news-date {
        width: 100px;
        height: 100px;
        margin: 0 auto 20px;
    }
    
    .submit-btn {
        width: 100%;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}
@media only screen and (max-width: 768px) {
    .page-header {
        display: none;
    }
    .about-overview {
        padding: 20px 0;
        margin-bottom: 10px;
    }
    .footer-nav ul, .footer-info {
        font-size: 16px;
    }
    .footer-copyright p, .footer-qrcode p {
        font-size: 14px;
    }
    .about-grid, .products-grid {
        padding: 10px;
    }
    .about-content {
        flex-direction: column;
        gap: 20px;
    }
    .about-image {
        max-width: 100%;
    }
    .product-advantages h3 {
        font-size: 24px;
    }
    .product-advantages h3 {
        margin-bottom: 15px;
    }
}

@media (max-width:992px){
    .news-content-wrapper{flex-direction:column;gap:30px}
    .news-main{width:100%}
    .news-sidebar{width:100%}
    .news-item{flex-direction:column;gap:15px}
    .news-item__img{width:100%;height:200px}
}
@media (max-width:767px){
    .news-content{padding:20px 0}
    .news-content-wrapper{gap:20px}
    .container{padding-left:15px;padding-right:15px}
    .news-item{padding:20px 0;gap:12px}
    .news-item__img{height:160px;border-radius:6px}
    .news-item__content h3{font-size:18px;margin-bottom:10px}
    .news-item__meta{gap:12px;font-size:13px;margin-bottom:10px}
    .news-item__excerpt{line-height:1.5;margin-bottom:12px;font-size:14px}
    .news-item__readmore{padding:6px 16px;font-size:14px}
    .sidebar-section{padding:20px;margin-bottom:20px}
    .sidebar-section h3{font-size:18px;margin-bottom:15px;padding-bottom:8px}
    .sidebar-section h3::after{width:40px;height:2px}
    .news-categories li{margin-bottom:12px}
    .news-categories a{font-size:14px}
    .news-categories .count{padding:1px 6px;font-size:11px}
    .hot-news li{margin-bottom:12px}
    .hot-news a{gap:10px}
    .hot-news__number{width:20px;height:20px;font-size:11px}
    .hot-news__title{font-size:13px;line-height:1.3}
}
@media (max-width:480px){
    .news-content{padding:15px 0;gap: 10px;}
    .news-item{padding:15px 0}
    .news-item__img{height:140px}
    .news-item__content h3{font-size:16px}
    .news-item__meta{flex-direction:column;align-items:flex-start;gap:6px}
    .sidebar-section{padding:15px}
    .sidebar-section h3{font-size:16px}
}
.gallery{display:flex;flex-wrap:wrap;gap:20px;justify-content:center}
.photo-item{text-align:center;flex:1 1 calc(33.333% - 40px);max-width:calc(33.333% - 40px);box-sizing:border-box}
.photo-item img{width:100%;height:auto;border-radius:8px;cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.1);transition:transform .2s}
.photo-item img:hover{transform:scale(1.03)}
.photo-item .caption{margin-top:8px;font-size:14px;color:#333}
@media (max-width:767px){
    .photo-item{flex:1 1 calc(50% - 20px);max-width:calc(50% - 20px)}
}
.modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.9);z-index:1000;justify-content:center;align-items:center}
.modal img{width:auto;height:auto;max-width:100vw;max-height:100vh;border:2px solid #fff;border-radius:4px}
.close{position:absolute;top:20px;right:30px;color:#fff;font-size:30px;cursor:pointer}