
.case-section {
    background-color: #fff;
    padding: 20px;
    text-align: center;
}

.case-section h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.case-section p {
    font-size: 14px;
    color: #666;
    /* margin-bottom: 30px; */
    padding: 0 40px;
}

.case-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    margin: 0 auto;
    position: relative;
}

.carousel-btn {
    background-color: rgba(0, 0, 0, 0.1);
    color: #333;
    border: none;
    width: 50px;
    height: 100px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    border-radius: 8px;
    margin: 0 15px; 
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.case-container {
    width: 100%; 
}

.case-card {
    display: none; 
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.case-card.active {
    display: flex; 
}

.case-text {
    flex: 1;
    padding: 30px;
    text-align: left;
}

.case-text h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
}

.case-text p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    padding: 0;
}

.case-stats {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    /* gap: 20px; */
}

.stat-item {
    text-align: center;
    min-width: 100px;
}

.stat-item span {
    font-size: 26px;
    font-weight: bold;
    color: #1a73e8;
    display: block;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
    padding: 0;
}

.case-image {
    flex: 0 0 450px;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 8px 8px 0;
}

.model-case-industry{
    width: 80%;
    text-align: center;
    margin: 0 auto;
}
.model-case-industry img{
    width: 18%;
    margin: 20px 1%;
}

/* 底部轮播容器 */
.case-carousel-other {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.carousel-btn-other {
    background-color: #f0f0f0;
    color: #666;
    border: none;
    width: 50px;
    height: 100px;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 0 15px;
    z-index: 10;
}

.carousel-btn-other:hover {
    background-color: #e0e0e0;
}

.other-case-container {
    width: 100%;
    overflow: hidden;
}

.other-case-group {
    display: none;
    width: 100%;
}

.other-case-group.active {
    display: block;
}

.other-case-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    grid-template-rows: repeat(3, auto);
    gap: 20px; 
}

.other-case-item {
    text-align: center;
}

.other-case-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.other-case-item img:hover {
    transform: translateY(-5px);
}

.other-case-item p {
    font-size: 14px;
    color: #333;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .case-card.active {
        flex-direction: column;
    }
    .case-image {
        flex: 0 0 250px;
    }
    .case-image img {
        border-radius: 8px 8px 0 0;
    }
        .other-case-grid {
        gap: 15px;
    }
    .other-case-item p {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .other-case-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px;
    }
}