.products {
    margin: 0 auto;
}

.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    .card-img {
        aspect-ratio: 4 / 3;
        object-fit: cover;
        overflow: clip;
    }
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}


.btn-brand {
    --brand-color: rgba(54, 179, 126, 0.8);
    --brand-color-dark: rgb(48.6 161.1 113.4 / 0.8);
    --brand-color-active: rgb(43.2 143.2 100.8 / 0.8);
    --bs-btn-border-radius: 2rem;
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--brand-color);
    --bs-btn-border-color: var(--brand-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--brand-color-dark);
    --bs-btn-hover-border-color: var(--brand-color-dark);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--brand-color-active);
    --bs-btn-active-border-color: var(--brand-color-active);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--brand-color);
    --bs-btn-disabled-border-color: var(--brand-color);
}


.text-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 1rem;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .5);
    color: #fff;
    font-weight: 700;
    text-align: center;
}

.case-text-title {
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .5);
}


.text-shadow-xs {
    --text-shadow-xs: 0px 1px 1px rgb(0 0 0 / 0.2);
    text-shadow: var(--text-shadow-xs);

}

@media (min-width: 768px) {
    .the-ratio-md-16x9 {
        --bs-aspect-ratio: 56.25%;
    }
}

@media (min-width: 992px) {
    .the-ratio-lg-21x9 {
        --bs-aspect-ratio: 42.8571428571%;
    }
}



.big-showcase {
    position: relative;

    a.button {
        padding: 7px 30px;
    }

    .img-box {
        .col {
            padding: 0;
            height: 700px;

            &:first-child {
                background: rgb(239, 35, 60);
            }
        }

        h1 {
            padding: 10% 10% 5% 15%;
            color: #fff;
            font-weight: 700;
            font-size: 3em;
        }

        .link-container {
            padding: 0 10% 10% 15%;
        }

        .case {
            display: none;

            img {
                height: 100%;
                width: 100%;
                object-position: 47% 47%;
            }
        }
    }

    .number-box {
    / / position: absolute;
    / / bottom: 1.5 em;
        width: 100%;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.75);
        padding: 4% 0;

        h2 {
            color: rgb(230, 57, 70);
            font-weight: 700;
            font-size: 2.8em;
            line-height: 1.3em;
        }
    }
}

section.introduce {
    h2 {
        font-size: 2.5em;
        font-weight: 700;
        color: rgb(85, 85, 85);
    }

    a.button {
        color: #ef233c;
        padding: 0 2px;
    }

    .content {

    }
}

@media (min-width: 992px) {
    .customers-say {

        & .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
        }

    }
}

.customers-say {
    padding-bottom: 3em;
    max-width: 1080px;

    .say-title {
        padding: 1em 0;
        text-align: center;
        color: #2b2d42;

        h2 {
            color: #555;
        }
    }
}

section.questionnaire {
    .tab-content {
        width: 100%;
        max-width: 768px;
        justify-self: center;
    }

    .title {
        text-align: center;
        padding: 2em 0;
        font-size: 2.56em;
        font-weight: 700;
        color: rgb(85, 85, 85);
    }

    .nav {
        justify-content: center;

        .nav-link {
            padding: .5em 1em;
            text-transform: uppercase;
            border-radius: 1.2em;
            font-size: .8em;
            color: rgba(102, 102, 102, .85);
            font-weight: 700;

            &.active {
                background: var(--color-secondary);
                color: #fff;
            }
        }
    }
}

section.feedback-form {
    padding-bottom: 8em;

    .banner {
        position: relative;
        margin-top: 5em;
        height: 400px;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .slogan {
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.331);
            display: flex;
            align-items: center; /* 垂直居中 */
            justify-content: center; /* 水平居中，可选 */

            h2 {
                font-weight: 700;
                font-size: 2.2em;
                color: white;
                text-shadow: 1px 1px 1px rgba(0, 0, 0, .5);
            }
        }
    }

    form.feedback {
        margin: 5em 3em;
    }
}

section.home-banner {
    height: 300px;
}

@media (min-width: 992px) {
    .big-showcase {
        .img-box {
            h1 {
                padding-top: 20%;
            }

            .case {
                display: block;
            }
        }
    }

    /*section.customers-say{*/
    /*    .said-item{*/
    /*        img{*/
    /*            width:33%;*/
    /*            float: left;*/
    /*        }*/
    /*        .detail{*/
    /*            width:67%;*/
    /*            float: right;*/
    /*        }*/
    /*        clear: both;*/
    /*        &.odd{*/
    /*            img{*/
    /*                float: right;*/
    /*            }*/
    /*            .detail{*/
    /*                float: left;*/
    /*            }*/
    /*        }*/
    /*    }*/
    /*}*/
}

