/* 团队风采和社会责任感幻灯片样式 */
.team-showcase-section {
    padding: 1.6rem 0;
    background: linear-gradient(135deg, #101115 0%, #5c6a82 100%);
    color: white;
    text-align: center;
}

.social-responsibility-section {
    padding: 1.6rem 0;
    background: linear-gradient(135deg,#5c6a82 0%, #101115 100%);
    color: white;
    text-align: center;
}

.team-showcase-section .tit,
.social-responsibility-section .tit {
    margin-bottom: 20px;
    color: white;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.team-showcase-section .p,
.social-responsibility-section .p {
    margin-bottom: 50px;
    color: rgba(255,255,255,0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* 幻灯片容器 */
.showcase-slider,
.responsibility-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
}

/* 幻灯片项目 */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    background: #fff;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    flex: 1;
    height: 100%;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slide:hover .slide-image img {
    transform: scale(1.05);
}

.slide-content {
    flex: 1;
    padding: 40px;
    text-align: left;
}

.team-showcase-section .slide-content h3,
.social-responsibility-section .slide-content h3 {
    font-size: 28px;
    color: #000000;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.team-showcase-section .slide-content p,
.social-responsibility-section .slide-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #8D8D8D;
    margin: 0;
}

.slide-content h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

.slide-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

/* 指示器圆点 */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.team-showcase-section .slider-dot,
.social-responsibility-section .slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.6);
}

.team-showcase-section .slider-dot.active,
.social-responsibility-section .slider-dot.active {
    background: white;
    border-color: white;
    transform: scale(1.2);
}

.team-showcase-section .slider-dot:hover,
.social-responsibility-section .slider-dot:hover {
    background: white;
    opacity: 0.8;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #007bff;
    transform: scale(1.2);
}

.slider-dot:hover {
    background: #007bff;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .team-showcase-section,
    .social-responsibility-section {
        padding: 50px 20px;
    }
    
    .showcase-slider,
    .responsibility-slider {
        height: auto;
        margin: 30px 0;
    }
    
    /* 显示所有幻灯片内容 */
    .slider-container {
        height: auto;
        min-height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
        position: relative;
    }
    
    .slide {
        flex-direction: column;
        position: relative !important;
        height: auto;
        opacity: 1 !important; /* 确保在移动端幻灯片始终可见 */
        transition: none;
        margin-bottom: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        overflow: hidden;
    }
    
    .slide-image {
        height: 180px;
        width: 100%;
    }
    
    .slide-image img {
        object-position: center; /* 确保图片居中显示 */
    }
    
    .slide-content {
        padding: 15px;
        text-align: center;
        background-color: #fff;
        border-radius: 0 0 10px 10px;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .slide-content h3 {
        font-size: 16px;
        margin-bottom: 10px;
        font-weight: 600;
    }
    
    .slide-content p {
        font-size: 14px;
        line-height: 1.4;
        max-height: none;
        overflow-y: visible;
        opacity: 0.9;
    }
    
    .team-showcase-section .tit,
    .social-responsibility-section .tit {
        font-size: 32px !important;
        margin-bottom: 15px;
    }
    
    .team-showcase-section .p,
    .social-responsibility-section .p {
        font-size: 16px !important;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    /* 隐藏指示器 */
    .slider-dots {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .team-showcase-section,
    .social-responsibility-section {
        padding: 40px 15px;
    }
    
    .slider-container {
        min-height: 450px;
        border-radius: 8px;
    }
    
    .slide-image {
        height: 180px;
    }
    
    .slide-content {
        padding: 20px 15px;
    }
    
    .slide-content h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .slide-content p {
        font-size: 14px;
        line-height: 1.5;
        max-height: 180px;
        overflow-y: auto;
    }
    
    .team-showcase-section .tit,
    .social-responsibility-section .tit {
        font-size: 26px !important;
    }
    
    .team-showcase-section .p,
    .social-responsibility-section .p {
        font-size: 14px !important;
        margin-bottom: 25px;
    }
    
    /* 改进触摸体验 */
    .slider-dot {
        width: 8px;
        height: 8px;
        margin: 0;
    }
    
    .slider-dot.active {
        width: 16px;
    }
}