@charset "UTF-8";
body{
    background-color: #f8f9fa;
}

#whyChooseUs{
    background-image: url(../img/slider_2.jpg);
    max-height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
}

.recomBtn{
    color: #ffffff;
    background-color: #B2D430;
    border-color: #B2D430;
}

.recomBtn:hover{
    opacity: 0.8;
    background-color: rgba(178, 212, 48, 100);
    border-color: #B2D430;
    color: #ffffff;
}

.footerHeight{
    height: 380px;
}
.icon-color{
    color: #B2D430;
}

.factoryName {
    font-size: 2rem; /* h2默认大小 */
    font-weight: 500;
}

@media (max-width: 767.98px) {
    .factoryName {
        font-size: 1.35rem !important; /* h5大小 */
        font-weight: 500;
        margin-top: 0.7em;
    }
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 控制显示行数 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recomBtn{
    color: #ffffff;
    background-color: #B2D430;
    border-color: #B2D430;
}

.recomBtn:hover{
    opacity: 0.8;
    background-color: rgba(178, 212, 48, 100);
    border-color: #B2D430;
    color: #ffffff;
}