/* 企业服务页面专用样式 */
.qyfw-page {
    background-color: #f8f9fa;
    scroll-padding-top: 60px; /* 添加顶部滚动内边距，用于锚点定位 */
}

/* 确保Banner图片正确显示 */
.qyfw-page .banner {
    width: 100%;
    height: 0;
    padding-bottom: 42.85%;
    position: relative;
    overflow: hidden;
}

.qyfw-page .slider-dots {
    display: none !important;
}

/* 锚点导航菜单样式 */
.anchor-menu {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 900;
}

.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.menu-item {
    color: #666;
    text-decoration: none;
    padding: 20px 40px;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.menu-item:hover {
    color: #0071c1;
}

.menu-item.active {
    color: #0071c1;
    font-weight: bold;
}

.menu-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: #0071c1;
    border-radius: 1.5px;
}

/* 服务内容区域样式 */
.service-section {
    padding: 80px 0;
    margin-bottom: 40px;
    scroll-margin-top: 60px; /* 添加滚动边距，确保锚点定位时内容不被粘性菜单遮挡 */
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-section h2 {
    font-size: 36px;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

.service-section .subtitle {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 60px;
}

/* 服务项目样式 */
.service-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.service-item {
    flex: 0 0 calc(33.33% - 30px);
    min-width: 300px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 100%;
    height: auto;
}

.service-text h3 {
    font-size: 20px;
    color: #0071c1;
    margin-bottom: 15px;
}

.service-text p {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

/* 解决方案卡片样式 */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.solution-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.solution-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

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

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

.solution-card h3 {
    font-size: 18px;
    color: #0071c1;
    margin: 20px 20px 10px;
}

.solution-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    padding: 0 20px 20px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .menu-container {
        flex-wrap: wrap;
    }
    
    .menu-item {
        padding: 15px 20px;
        font-size: 14px;
        flex: 1 0 auto;
    }
    
    .service-section {
        padding: 40px 0;
    }
    
    .service-section h2 {
        font-size: 28px;
    }
    
    .service-section .subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .service-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .service-item {
        min-width: 100%;
        padding: 20px;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
} 