/*顶部swiper*/
.mySwiper .swiper-pagination-bullet {
    background-color: white !important;
}

.mySwiper .swiper-pagination-bullet-active {
    background-color: white !important;
}

/* 科研 swiper */
#certify {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

#certify .swiper-container {
    padding-bottom: 80px;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

#certify .swiper-slide {
    width: 734px;
    height: 425px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

#certify .swiper-slide:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

#certify .slide-content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#certify .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

#certify .swiper-slide:hover img {
    transform: scale(1.05);
}

#certify .slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px 20px 20px;
    color: white;
    transform: translateY(5px);
    transition: transform 0.3s ease;
}

#certify .swiper-slide:hover .slide-overlay {
    transform: translateY(0);
}

#certify .slide-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

#certify .slide-description {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 分页器样式 */
#certify .swiper-pagination {
    bottom: 30px !important;
}

#certify .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

#certify .swiper-pagination-bullet-active {
    background: #ffffff;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* 导航按钮样式 */
#certify .swiper-button-prev,
#certify .swiper-button-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
}

#certify .swiper-button-prev:hover,
#certify .swiper-button-next:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

#certify .swiper-button-prev::after,
#certify .swiper-button-next::after {
    font-size: 18px;
    font-weight: bold;
    color: #667eea;
}

#certify .swiper-button-prev {
    left: 10px;
}

#certify .swiper-button-next {
    right: 10px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    #certify .swiper-slide {
        width: 600px;
        height: 347px;
    }
}

@media (max-width: 992px) {
    #certify .swiper-slide {
        width: 500px;
        height: 289px;
    }
}

@media (max-width: 768px) {
    #certify {
        padding: 20px 10px;
    }
    
    #certify .swiper-slide {
        width: 350px;
        height: 202px;
    }
    
    #certify .slide-title {
        font-size: 18px;
    }
    
    #certify .slide-description {
        font-size: 12px;
    }
    
    #certify .swiper-button-prev,
    #certify .swiper-button-next {
        width: 40px;
        height: 40px;
    }
    
    #certify .swiper-button-prev::after,
    #certify .swiper-button-next::after {
        font-size: 16px;
    }
}
/* 研究团队 swiper */
/* 轮播图容器 - 固定宽度1440px */
#person .swiper-person {
    width: 1536px;
    position: relative;
    overflow: hidden;
}

    /* 轮播项样式 - 模拟示例图的卡片效果 */
#person .swiper-slide {
    height: 375px; /* 可根据需求调整高度 */
    width: 256px;
    background-repeat: no-repeat;
    background-position: center;
}


#certify .text-container {
    color:white;
    height:240px;
    text-align: center;
}

#certify .text-item {
    color:white;
    display: none;
    font-size: 18px;
}

#certify .text-item.active {
    display: block;
}

#certify .custom-prev,
.custom-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s ease;
}

#certify .custom-prev {
    left: 10px;
}

#certify .custom-next {
    right: 10px;
}

#certify .custom-prev img,
.custom-next img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#certify .custom-prev:hover,
.custom-next:hover {
    opacity: 0.8;
}
