.cases-banner {
    background-color: #c41230;  /* 修改背景色为红色 */
    text-align: center;
    padding: 60px 20px 60px;  /* 修改顶部内边距为60px */
    margin-top: 60px;  /* 增加顶部外边距 */
}

.cases-banner h1 {
    font-size: 2.5em;
    color: #fff;  /* 修改标题颜色为白色 */
    margin-bottom: 20px;
}

.cases-banner p {
    font-size: 1.2em;
    color: #fff;  /* 修改副标题颜色为白色 */
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.number {
    font-size: 2.5em;
    font-weight: bold;
    color: #c41230;
    margin-bottom: 10px;
}

.label {
    font-size: 1.1em;
    color: #666;
}

.cases-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.cases-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 24px;
    border: none;
    background: #f0f0f0;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: #e0e0e0;
}

.tab-btn.active {
    background: #c41230;
    color: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    display: none;
}

.cases-grid.active {
    display: grid;
}

.case-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-content {
    padding: 20px;
}

.case-content h3 {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 15px;
}

.case-details p {
    margin: 10px 0;
    color: #666;
}

.case-details strong {
    color: #333;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .cases-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
    }
} 