:root {
    --blue-primary: #006CBF;
    --blue-dark: #005396;
    --bg-light: #F9FAFB;
    --text-dark: #333;
    --text-gray: #666;
    --text-light: #999;
}

/* Hero区域 */
.hero {
    width: 100%;
    height: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 70px;
}

.hero img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.hero-slider {
    height: 100%;
}

.slide {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.slide .content {
    max-width: 800px;
}

.slide h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.slide p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 通用标题样式 */
.section-title {
    text-align: center;
    font-size: 30px;
    color: #333;
    margin-bottom: 10px;
}



.section-subtitle {
    text-align: center;
    font-size: 14px;
    color: #999;
    margin-bottom: 50px;
    letter-spacing: 1px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.section-subtitle::before,
.section-subtitle::after {
    content: '';
    height: 1px;
    width: 40px;
    background-color: #999;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .section-title {
        font-size: 22px;
    }

    .section-subtitle {
        font-size: 12px;
        gap: 15px;
    }

    .section-subtitle::before,
    .section-subtitle::after {
        width: 30px;
    }
}

@media (max-width: 480px) {
    .section-subtitle {
        gap: 10px;
    }
    .section-subtitle::before,
    .section-subtitle::after {
        width: 20px;
    }
}

.section-subtitle::before {
    right: 100%;
}

.section-subtitle::after {
    left: 100%;
}

/* 特色功能区域 */
.features {
    padding: 80px 0;
    background: var(--light-gray);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-item .icon {
    margin-bottom: 20px;
}

.feature-item .icon img {
    width: 60px;
    height: 60px;
}

.feature-item h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* 公司简介区域 */
.company-profile {
    padding: 80px 0;
    text-align: center;
    background: var(--bg-light);
}

/* 响应式布局 */
@media (max-width: 768px) {
    .company-profile {
        padding: 50px 0;  /* 修改上下内边距 */
    }
    .section-subtitle{
        margin-bottom: 30px;
    }
}
.profile-content {
    max-width: 1000px;
    margin: 0 auto 60px;
}

.profile-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    text-align: left;
    display: inline-block;
    max-width: 762px;
    margin: 0 auto;
    /* padding: 0 20px; */
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 60px auto;
    max-width: 1200px;
}

@media (max-width: 768px) {
    .profile-content {
        margin-bottom: 30px;  /* 修改移动端下边距为10px */
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        /* padding: 0 20px; */
        margin-top: 30px;  /* 修改移动端上边距为10px */
    }
}
.stat-item {
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    max-height: 139px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--blue-primary);
}

.stat-number .plus {
    font-size: 24px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-gray);
}

.profile-more {
    margin-top: 40px;
}

.more-link {
    display: inline-block;
    padding: 12px 30px;
    background: var(--blue-primary);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.more-link:hover {
    background: var(--blue-dark);
}

/* 全国中心区域 */
.national-centers {
    padding: 70px 0;
    background: var(--bg-light);
}

.centers-desc {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 50px;
    line-height: 1.8;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px;
    background: white;
    border-radius: 12px;
}

.china-map {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.center-more {
    text-align: center;
    margin-top: 40px;
}

/* 产品展示区域 */
.products {
    padding: 80px 0;
    background: #fff;
}

.products-desc {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 50px;
    line-height: 1.8;
    /* padding: 0 15px; */
}

@media (max-width: 768px) {
    .products-desc {
        margin-bottom: 30px;
    }
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 0 20px; */
}

.product-item {
    text-align: center;
    /* background: #f8f9fa; */
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);  /* 添加默认阴影 */
}

.product-item:hover {
    transform: translateY(-10px);
}

.product-image {
    width: 100%;
    max-height: 192px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.1);
}

.product-item h3 {
    font-size: 20px;
    color: var(--text-dark);
    padding: 0 4px;
}

.product-item p {
    color: var(--text-gray);
    padding: 0 4px;
    line-height: 1.6;
}

.learn-more {
    display: inline-block;
    color: var(--blue-primary);
    text-decoration: none;
    transition: color 0.3s;
    padding-left: 4px;
}

.learn-more:hover {
    color: var(--blue-dark);
}

/* 新闻动态区域 */
.news {
    padding: 80px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* 响应式布局 */
@media (max-width: 1440px) {
    .hero {
        height: 41.67vw;
    }
}

@media (max-width: 1024px) {
    .feature-grid,
    .news-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        /* padding: 0 20px; */
    }
    
    .stat-item{
        padding: 15px;
        max-height: 139px;
    }
    .product-item {
        /* padding: 15px; */
        min-height: 380px;
    }
}

@media (max-width: 768px) {
    /* .hero {
        height: 50vw;
        margin-top: 60px;
    } */
    
    .slide h1 {
        font-size: 2.5rem;
    }

    .slide p {
        font-size: 1rem;
    }
    
    /* .profile-text,
    .centers-desc {
        padding: 0 15px;
    } */
    
    .map-container {
        padding: 24px;
    }
    
    .products {
        padding: 50px 0;
    }

    .product-image {
        max-height: 192px;
    }
    
    .product-item {
        min-height: 360px;
        padding-bottom: 15px;
    }
}

@media (max-width: 480px) {
    /* .hero {
        height: 56.25vw;
        margin-top: 50px;
    } */
    
    .slide h1 {
        font-size: 2rem;
    }
    
    .feature-grid,
    .news-grid,
    .products-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        /* padding: 0 20px; */
    }
    .stat-item {
        padding: 15px;
        max-height: 139px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-number .plus {
        font-size: 20px;
    }

    .stat-label {
        font-size: 14px;
    }
    
    .map-container {
        padding: 16px;
    }
    
    .national-centers {
        padding: 50px 0;
    }
    
    .centers-desc {
        /* padding: 0 15px; */
        margin-bottom: 30px;
    }
    
    .product-item {
        min-height: 340px;
        /* margin: 0 15px; */
    }
    
    .product-image {
        max-height: 192px; /* 保持一致的高度 */
    }

    .products-desc br {
        display: none;
    }
}
footer {
    background: #1a1f2d;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: #999;
    font-size: 14px;
    margin: 5px 0;
}

/* 响应式布局 */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-col {
        display: none;  /* 默认隐藏所有footer列 */
    }
    
    /* 只显示联系方式列 */
    .footer-col:nth-child(4) {
        display: block;
    }
    
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-bottom {
        padding-top: 15px;
    }
}
.product-content {
    padding: 20px;
    text-align: left;
}

.product-content h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.product-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

/* 悬浮咨询窗口 */
.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
}

.contact-toggle {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;  /* 添加脉冲动画 */
}

/* 添加脉冲动画关键帧 */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 108, 191, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 108, 191, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 108, 191, 0);
    }
}

.contact-toggle:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
}

.contact-toggle .icon {
    font-size: 20px;
}

.contact-form {
    position: absolute;
    bottom: calc(100% + 20px);
    right: 0;
    width: 300px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.contact-form.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-form h3 {
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: var(--blue-dark);
}

@media (max-width: 768px) {
    .floating-contact {
        right: 15px;
        bottom: 15px;
    }
    
    .contact-form {
        width: 280px;
    }

    .hero {
        height: 100%;  /* 移动端降低高度 */
    }
    
    .hero img {
        content: url('../images/home-top-mobile.png');  /* 移动端使用专门的图片 */
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(40px); /* 初始时元素向下偏移 20px */
    transition: all 1.5s ease-in-out; /* 同时过渡透明度和位置 */
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0); /* 元素回到原始位置 */
}