/* 案例分类 */
        .case-filter {
            display: flex;
            justify-content: center;
            gap: 7px;
           /*  margin-bottom: 40px; */
            flex-wrap: wrap;
        }
        .filter-btn {
            padding: 8px 8px;
            background-color: #fff;
            border: 1px solid #eee;
            border-radius: 6px;
            color: #666;
            cursor: pointer;
            transition: all 0.3s;
        }
        .filter-btn:hover, .filter-btn.active {
            background-color: #0073b1;
            color: #fff;
            border-color: #0073b1;
        }
        /* 案例列表 */
        .case-section {
            padding: 2px 0 80px;
        }
        .case-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
margin-top: 30px;
        }
        .case-card {
            background-color: #fff;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0,0,0,0.08);
            transition: all 0.4s;
        }
        .case-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        }
        .case-img {
            width: 100%;
            height: 350px;
            overflow: hidden;
margin-top: 20px;
        }
        .case-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        .case-card:hover .case-img img {
            transform: scale(1.08);
        }
        .case-content {
            padding: 6px;
        }
        .case-title {
            font-size: 18px;
            margin-bottom: 10px;
            color: #333;
text-align:center;
        }
        .case-desc {
            color: #666;
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 15px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .case-tag {
            display: inline-block;
            padding: 3px 10px;
            background-color: #f5f5f5;
            color: #c00;
            font-size: 12px;
            border-radius: 4px;
        }
        /* 分页 */
        .pagination {
            display: flex;
            justify-content: center;
            margin-top: 50px;
            gap: 8px;
        }
        .page-btn {
            padding: 8px 15px;
            border: 1px solid #eee;
            background-color: #fff;
            color: #666;
            text-decoration: none;
            border-radius: 4px;
            transition: all 0.3s;
        }
        .page-btn:hover, .page-btn.active {
            background-color: #c00;
            color: #fff;
            border-color: #c00;
        }
      
        /* 响应式 */
        @media (max-width: 1200px) {
            .container, .header-container {
                width: 95%;
            }
            .case-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 768px) {
            header {
                padding: 10px 0;
            }
            .header-container {
                flex-direction: column;
                gap: 15px;
            }
            nav ul {
                gap: 15px;
                flex-wrap: wrap;
                justify-content: center;
            }
            .case-grid {
                grid-template-columns: 1fr;
            }
            .case-img {
              width: 100%;   /* 宽度固定不变，你可以改成具体像素，例如 width:360px */
    height: auto;  /* 高度完全根据图片原始比例自动算，不要写死高度 */
}
            }
        }