.hero-section {
    background-color: var(--primary-green-bright);
}

.hero-content {
    background-color: #fbfdfa;
}

.hero-section h1 {
    color: #333;
}

.hero-section p {
    color: #333;
}



/* 主要内容网格 */
.solution-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 460px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img {
    width: 100%;
    height: 200px;
    /* 添加固定高度 */
    object-fit: cover;
    /* 添加这行，让图片裁剪填充，保持比例不变形 */
    display: block;
    font-size: 14px;
}

.card-content {
    padding: 25px;
}

.card p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* 限制显示两行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-content i[class^="icon-"] {
    width: 35px;
    height: 29px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 图标和标题在同一行 */
.title-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.title-wrapper i[class^="icon-"] {
    margin-bottom: 0;
}

.title-wrapper h3 {
    margin: 0;
}

/* 描述文本 */
.card-content p {
    margin-bottom: 25px;
    /* 增加与按钮之间的间距 */
    line-height: 1.5;
}

.icon-railway {
    background-image: url('../../common/images/Railway.png');
}

.icon-photovoltaic {
    background-image: url('../../common/images/Photovoltaic.png');
}

.icon-grid {
    background-image: url('../../common/images/Grid.png');
}

.icon-mining {
    background-image: url('../../common/images/Mining.png');
}

.icon-automotive {
    background-image: url('../../common/images/Automotive.png');
}

.icon-medical {
    background-image: url('../../common/images/Medical.png');
}

/* 按钮样式 - 添加分界线 */
.view-products-btn {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: var(--primary-green-light);
    font-weight: bold;
    margin-top: 5px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    transition: color 0.2s;
    width: 100%;
    /* 添加这行：让按钮占满整个宽度 */
}

/* 可选：调整图标大小和位置 */
.link-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.2s;
}

.link-icon {
    width: 16px;
    /* 根据需要调整图标大小 */
    height: 16px;
    display: inline-block;
    margin-left: 8px;
}

/* 定制方案区域 (CTA) */
.cta-section {
    background-color: #f5f5f5;
    padding: 60px 0;
    text-align: center;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 30px auto;
    color: #666;
}

.btn-primary {
    background-color: var(--primary-green-light);
    color: #fff;
    padding: 12px 35px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: var(--primary-green-bright);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .card {
        max-width: 360px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 18px;
    }

    p {
        font-size: 16px;
    }

    /* 在平板上显示 2 列 */
    .solution-grid {
        justify-content: center;
    }

}

@media (max-width: 576px) {
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 22px;
    }

    p {
        font-size: 15px;
    }

    /* 在手机上显示 1 列 */
    .card {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .cta-section {
        padding: 40px 20px;
    }
}