/*banner*/
 .carousel-item{height: 750px;
    width: 100%;}
  .carousel-item img{height: 100%;overflow: hidden;}
.carousel-caption{
     opacity: 0;
            
            background: rgba(88, 113, 146, 0.4); /* 半透明背景提升可读性 */
            border-radius: 12px;
            padding: 50px;
            bottom: 150px;
            left: 20%;
            right: 20%;
            text-align: left;
}
.carousel-caption h1{font-size: 3.75rem;}
  @media (max-width: 768px) {
            
            .carousel-item {
               
                 padding: 20px;
            bottom: 30px;
            }
            .carousel-caption {
                font-size: 1.3rem;
            }
            .carousel-caption p {
                font-size: 1rem;
            }
        }
/*应用领域*/
.application-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
    height: 300px; /* 固定高度 */
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    background: #fff;
}

.application-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.application-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.application-card:hover .application-image {
    transform: scale(1.1);
}

.application-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom, 
        rgba(0, 100, 180, 0.85) 0%, 
        rgba(0, 100, 180, 0.7) 50%, 
        rgba(0, 100, 180, 0.85) 100%
    );
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0.85;
    transition: all 0.4s ease;
}

.application-card:hover .application-overlay {
    opacity: 0.95;
    background: linear-gradient(
        to bottom, 
        rgba(0, 80, 160, 0.95) 0%, 
        rgba(0, 80, 160, 0.85) 50%, 
        rgba(0, 80, 160, 0.95) 100%
    );
}

.application-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.learn-more-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    padding: 8px 25px;
    border-radius: 25px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    margin-top: 15px;
}

.learn-more-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}
.stat-number{color:var(--primary-color)}

/* 响应式调整 */
@media (max-width: 768px) {
    .application-card {
        height: 250px;
    }
    
    .application-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .application-card {
        height: 180px;
    }
    
    .application-title {
        font-size: 1.2rem;
    }
    
    .learn-more-btn {
        padding: 6px 20px;
        font-size: 0.9rem;
    }
}
/*product*/
.product-cls {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    
    
}
 .product-cls:hover {
    box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.06);
    transform: translateY(-5px);
}
 .product-img {
    height: 300px;
    overflow: hidden;
    position: relative;;
    
}
 .product-img img {
    width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
}

 
 .product-info {
    padding: 50px 20px;
    position: relative;
    background: #fff;
}

 

/* 半遮蔽层样式 */
.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5); /* 半透明黑色背景 */
    color: #fff;
    padding: 12px 10px;
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: center;
     max-height: 40px;              /* 初始仅显示约2行 */
    overflow: hidden;
    transition: max-height 0.4s ease;
 
    
    word-break: break-word; /* 防止长单词溢出 */
    backdrop-filter: blur(2px); /* 可选毛玻璃效果，提升可读性 */

}

/* 悬停时遮蔽层升起 */
.product-img:hover .product-overlay {
   max-height: 200px;
}

@media (max-width: 576px) {
    .product-img  {
        height: 160px;
    }
    
   
}

/*合作伙伴*/
.partner-logo{
    width: 100%;
     overflow: hidden;
    text-align: center;}
.partner-logo img{
    max-width: 100%;
    max-height: 100%;
 object-fit: cover;
    transition: transform 0.5s ease;
        }
.partner-logo img:hover{
    transform: translateY(-5px);
}
/*新闻FAQ*/
.news-item {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.news-item:hover,.read-more{
    transition: transform 0.3s ease;
    transform: translateY(-5px);
    color: var(--primary-color);

}
.news-content h4{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    
}
.news-content p{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    width: 80px;
    height: 80px;
    
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding:5px 10px;
    border-radius: var(--border-radius);
    margin-right: 20px;
}

.news-date .day {
    font-size: 24px;
    font-weight: 700;
    display: block;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background-color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
    transition: transform 0.3s ease;
    transform: translateY(-5px);
    color: var(--primary-color);
}

.faq-item.active .faq-question {
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
 
}

.faq-toggle {
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}
