label.error,
p.resultMsg {
    color: #dc3545;
}
.rt_cont:before {
    background: none;
}
.header,.header nav{
    background-color: rgba(255, 255, 255, .1) !important;
    border: 0 !important;
    backdrop-filter: blur(10px);
}
.nav-tabs .nav-link.active {
    background: #ff6b75;
}

#accordion h5 {
    font-size: 16px;
}
#accordion .card {
    margin: 10px 0px;
}
#accordion .card-body {
    font-size: 14px;
}

.border-red { border: 1px solid #FF0000; }       /* 红色边框 */
.border-orange { border: 1px solid #FFA500; }    /* 橙色边框 */
.border-purple { border: 1px solid #800080; }    /* 紫色边框 */
.border-green { border: 1px solid #00FF00; }     /* 绿色边框 */
.border-blue { border: 1px solid #0000FF; }      /* 蓝色边框 */
/* 圆角样式 */
.rounded-border { border-radius: 15px; padding: 15px; }
/* 链接样式 */
.question-link { color: inherit; text-decoration: none; }
.question-link:hover { text-decoration: underline; }
@media (max-width:992px){
    .header,.header nav{
        background-color: rgba(255, 255, 255, 1) !important;
    }
}

#carouselExampleSlidesOnly{
    height: 100vh;
    position: relative;
    border: 0;
    background-image: url("https://yfcn.oss-cn-shenzhen.aliyuncs.com/static/video/index-cover.png?x-oss-process=image/format,webp");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}
#videoBanner{
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#carouselExampleSlidesOnly .carousel-inner{
    background-color: rgba(0,0,0,.2);
}
#carouselExampleSlidesOnly .carousel-inner,
#carouselExampleSlidesOnly .carousel-item{
    height: 100%;
}
#carouselExampleSlidesOnly .text{
    display: flex;
    width: 100%;
    height: 100%;
    color: #fff;
    justify-content: center;
    align-items: center;
}
#carouselExampleSlidesOnly .text .inner{
    text-align: center;
    padding: 10px;
}
:root{
    --translationLeft:min(-200px,-50%);
    --translationRight:max(200px,50%);
}
#carouselExampleSlidesOnly .carousel-item .text .inner h2{
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 5px 5px 10px #333333;
    -webkit-transform: translateX(var(--translationLeft));
    transform: translateX(var(--translationLeft));
    transition: all 1s;
    opacity: 0;
    visibility: hidden;
}
#carouselExampleSlidesOnly .carousel-item .text .inner h3{
    text-shadow: 2px 2px 2px #333333;
    -webkit-transform: translateX(var(--translationRight));
    transform: translateX(var(--translationRight));
    transition: all 1s;
    opacity: 0;
    visibility: hidden;
}
#carouselExampleSlidesOnly .carousel-item.active .text .inner h2,
#carouselExampleSlidesOnly .carousel-item.active .text .inner h3{
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}
.ecommerce_item{
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: end;
    padding-bottom: 15%;
}
.img-bg{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: auto;
    z-index: -1;
}
.testimonial-card{
    max-height: 500px;
    height: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}
.testimonial-card .quote-icon{
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 20px;
}
.testimonial-card .testimonial-text{
    flex-grow: 1;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
    overflow-y: auto;
    padding-right: 10px;
}
.testimonial-text::-webkit-scrollbar {
    width: 5px;
}

.testimonial-text::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 10px;
}
.testimonial-card .client-info{
    display: flex;
    align-items: center;
    margin-top: auto;
}
.testimonial-card .client-avatar{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    background-color: #ecf0f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #3498db;
    font-size: 1.5rem;
}
.testimonial-card .client-details h3{
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #2c3e50;
}
.testimonial-card .client-details p{
    color: #7f8c8d;
    font-size: 0.95rem;
}
.testimonial-card .client-details .rating{
    color: #f39c12;
    margin-top: 5px;
    font-size: 1.1rem;
}