/* 幻灯片修复样式 */
.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 40px;
}

.slider {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.5s ease;
}

.slide {
    flex: 1;
    min-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    color: white;
    position: relative;
}


.slide-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.slide h2 {
    font-size: 36px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.slide p {
    font-size: 18px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.slide-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #4caf50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.slide-btn:hover {
    background-color: #3e8e41;
    transform: translateY(-3px);
}

.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.slide-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-indicator.active {
    background-color: white;
    transform: scale(1.2);
}

/* 幻灯片背景图 */


/* 响应式设计 */
@media (max-width: 768px) {
    .slider-container {
        height: 300px;
    }
    
    .slide h2 {
        font-size: 28px;
    }
    
    .slide p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .slider-container {
        height: 250px;
    }
    
    .slide h2 {
        font-size: 24px;
    }
}