/* 关于我们页面样式 */

/* 页面标题 */
.page-banner {
    height: 324px;
    background-image: url('../images/about_bg.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 40px;
}

.page-banner h1 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-banner p {
    font-size: 18px;
    margin-bottom: 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.about-text p {
    font-size: 14px;
    margin-bottom: 0 !important;
}

/* 公司简介部分 */
.about-section {
    padding: 80px 0;
    background-color: #fff;
}

/* 发展历程部分 */
.history-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #3366FF;
    top: 0;
    bottom: 0;
    left: 50px;
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    width: 100%;
    margin-bottom: 50px;
    padding-left: 100px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 4px solid #3366FF;
    border-radius: 50%;
    top: 15px;
    left: 50px;
    margin-left: -10px;
    z-index: 1;
}

/* 移除奇数偶数项的左右布局 */
.timeline-item:nth-child(odd),
.timeline-item:nth-child(even) {
    padding-right: 0;
    padding-left: 100px;
}

.timeline-year {
    position: absolute;
    background-color: #3366FF;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    z-index: 2;
    left: 100px;
    top: 0;
}

/* 统一时间线年份位置 */
.timeline-item:nth-child(odd) .timeline-year,
.timeline-item:nth-child(even) .timeline-year {
    right: auto;
    left: 100px;
    top: 0;
}

.timeline-content {
    width: 100%;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-top: 40px;
}

/* 统一内容框位置 */
.timeline-item:nth-child(odd) .timeline-content,
.timeline-item:nth-child(even) .timeline-content {
    float: none;
    margin-right: 0;
    margin-left: 0;
}

.timeline-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #3366FF;
}

.timeline-content p {
    color: #555;
    font-size: 14px;
}

/* 清除浮动 */
.timeline-item:after {
    content: "";
    display: table;
    clear: both;
}

/* 荣誉资质部分 */
.honors-section {
    padding: 80px 0;
    background-color: #fff;
    overflow: hidden;
}

.honors-gallery {
    position: relative;
    width: 1100px;
    height: 350px;
    margin: 0 auto;
    overflow: hidden;
}
.patents-gallery {
    position: relative;
    width: 1100px;
    height: 350px;
    margin: 0 auto;
    overflow: hidden;
}

.honors-gallery .swiper-wrapper .swiper-slide .swiper-silde-item img {
    width: 100%;
    height: auto;
    border: 1px solid #eee;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.patents-gallery .swiper-wrapper .swiper-slide .swiper-silde-item img {
    width: 100%;
    height: auto;
    border: 1px solid #eee;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.honor-item {
    flex: 0 0 200px;
    max-width: 200px;
    text-align: center;
    margin: 0 10px;
}

.honor-item img {
    
}

.honor-title {
    margin-top: 15px;
    font-size: 16px;
    color: #333;
    text-align: center;
}

/* 移除荣誉资质滚动控制，因为现在是自动滚动 */
.honors-controls {
    display: none;
}

/* 媒体查询适配 */
@media (max-width: 992px) {
    .honor-item {
        flex: 0 0 180px;
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .honor-item {
        flex: 0 0 160px;
        max-width: 160px;
    }
}

@media (max-width: 480px) {
    .honor-item {
        flex: 0 0 140px;
        max-width: 140px;
    }
}

/* 产品专利部分 */
.patents-section {
    padding: 0 0 80px;
    background-color: #fff;
    overflow: hidden;
}

/* .patents-gallery {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 40px auto 0;
    overflow: hidden;
} */

.patents-slider {
    display: flex;
    flex-wrap: nowrap;
    animation: scroll 20s linear infinite;
    width: max-content;
}

.patent-item {
    flex: 0 0 200px;
    max-width: 200px;
    text-align: center;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.patent-item img {
    width: 100%;
    height: auto;
    border: 1px solid #eee;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.patent-item:hover img {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.patent-title {
    margin-top: 15px;
    font-size: 16px;
    color: #333;
}

/* 媒体查询适配 */
@media (max-width: 992px) {
    .patent-item {
        flex: 0 0 180px;
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .patent-item {
        flex: 0 0 160px;
        max-width: 160px;
    }
}

@media (max-width: 480px) {
    .patent-item {
        flex: 0 0 140px;
        max-width: 140px;
    }
}

/* 联系我们部分 */
.contact-section {
    padding: 80px 0;
    background-color: #fff;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 24px;
    color: #3366FF;
    margin-right: 20px;
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.contact-item p {
    color: #666;
}

.contact-map {
    flex: 1;
    height: 300px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 70px;
    }
    
    .timeline-item::after {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd) .timeline-year,
    .timeline-item:nth-child(even) .timeline-year {
        left: 70px;
    }
    
    .honor-item,
    .patent-item {
        flex: 0 0 calc(33.333% - 20px);
    }
    
    .contact-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 200px;
    }
    
    .honor-item,
    .patent-item {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .timeline-content {
        padding: 15px;
    }
    
    .honor-item,
    .patent-item {
        flex: 0 0 100%;
    }
} 