* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f8f9fa;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #f0f5ff 100%);
    min-height: 100vh;
}

.container03, .container1, .container001 {
    max-width: 1200px;
    margin: 0 auto;
    line-height: 24.5px;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, #1a6fc4 0%, #2c3e50 100%);
    color: white;
    padding: 60px 0 40px;
    text-align: center;
}

header h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* 导航样式 */
nav {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: center;
}

.nav-item {
    padding: 18px 25px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 17px;
    line-height: 17px;
}

.nav-item:hover {
    color: #1a6fc4;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: #1a6fc4;
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 80%;
}

/* 内容区域通用样式 */
.section {
    padding: 36px 0;
    background-color: #f0f5ff;
}

.section2 {
    padding: 1px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
    position: relative;
    font-size: 24px;
    font-weight: 600;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #258C44;
    margin: 15px auto;
    border-radius: 2px;
}

/* 公司简介样式 */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    color: #222;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.4;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #555;
}

.about-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 1px 1px 19px 3px rgba(0, 0, 0, 0.5);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

/* 证书区域样式 */
.certificates-section {
    background: #f0f5ff;
    border-radius: 15px;
}

.certificates-container {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.certificates-track {
    display: flex;
    gap: 30px;
    padding: 10px;
    animation: scroll 40s linear infinite;
    width: max-content;
}

.certificate-item {
    flex: 0 0 320px;
    background: #f0f5ff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.certificate-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.certificate-img {
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #f0f5ff 0%, #e2e8f0 100%);
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.certificate-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

.certificate-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    -ms-interpolation-mode: nearest-neighbor;
}

.certificate-item:hover .certificate-img img {
    transform: scale(1.03);
}

.certificate-info {
    padding: 25px 20px;
    text-align: center;
    background: #f0f5ff;
    position: relative;
}

.certificate-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #222;
    font-weight: 500;
}

.certificate-info p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

/* 公司历程样式 - 上下结构时间轴 */
.timeline-section {
    background-color: #f0f5ff;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #1a6fc4;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-content::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    top: 20px;
    transform: rotate(45deg);
}

.timeline-item:nth-child(odd) .timeline-content::after {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -10px;
}

.timeline-date {
    font-weight: bold;
    color: #1a6fc4;
    margin-bottom: 10px;
    display: block;
}

.timeline-dot {
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: white;
    border: 4px solid #1a6fc4;
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -12.5px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -12.5px;
}

/* 抛物线时间轴样式 */
.parabola-timeline {
    position: relative;
    padding: 40px 0;
    overflow: hidden;
}

.parabola-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 80%;
    height: 100%;
    transform: translateX(-50%);
    z-index: 1;
}

.parabola-line svg {
    width: 100%;
    height: 100%;
}

.timeline-items {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.parabola-timeline .timeline-item {
    width: 45%;
    margin-bottom: 80px;
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    opacity: 1;
    transform: none;
}

.parabola-timeline .timeline-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.parabola-timeline .timeline-item:nth-child(odd) {
    margin-right: auto;
    text-align: right;
}

.parabola-timeline .timeline-item:nth-child(even) {
    margin-left: auto;
}

.parabola-point {
    position: absolute;
    width: 24px;
    height: 24px;
    background: #3498db;
    border: 4px solid white;
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 0 0 3px #3498db, 0 0 15px rgba(52, 152, 219, 0.5);
}

.parabola-timeline .timeline-item:nth-child(odd) .parabola-point {
    right: -42px;
    top: 50%;
    transform: translateY(-50%);
}

.parabola-timeline .timeline-item:nth-child(even) .parabola-point {
    left: -42px;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-year {
    font-size: 22px;
    font-weight: 400;
    color: #3498db;
    margin-bottom: 10px;
}

.timeline-title {
    margin-bottom: 15px;
    color: #222;
    font-size: 20px;
    font-weight: 500;
}

.timeline-desc {
    color: #555;
    line-height: 1.6;
    font-size: 16px;
}

.timeline-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 0 0 5px rgba(52, 152, 219, 0.2);
}

.parabola-timeline .timeline-item:nth-child(odd) .timeline-icon {
    right: -70px;
    top: 50%;
    transform: translateY(-50%);
}

.parabola-timeline .timeline-item:nth-child(even) .timeline-icon {
    left: -70px;
    top: 50%;
    transform: translateY(-50%);
}

/* 页脚样式 */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 50px 0 20px;
    /*text-align: center;*/
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.footer-section h3 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #1a6fc4;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 动画效果 */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-320px * 8 - 30px * 8));
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.parabola-timeline .timeline-item {
    animation: fadeIn 0.6s ease forwards;
}

.parabola-timeline .timeline-item:nth-child(1) { animation-delay: 0.2s; }
.parabola-timeline .timeline-item:nth-child(2) { animation-delay: 0.4s; }
.parabola-timeline .timeline-item:nth-child(3) { animation-delay: 0.6s; }
.parabola-timeline .timeline-item:nth-child(4) { animation-delay: 0.8s; }
.parabola-timeline .timeline-item:nth-child(5) { animation-delay: 1.0s; }
.parabola-timeline .timeline-item:nth-child(6) { animation-delay: 1.2s; }

/* 暂停动画在悬停时 */
.certificates-container:hover .certificates-track {
    animation-play-state: paused;
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
    .certificate-item {
        flex: 0 0 300px;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-300px * 8 - 30px * 8));
        }
    }
}

@media screen and (max-width: 1024px) {
    .certificate-item {
        flex: 0 0 280px;
    }
    
    .certificate-img {
        height: 200px;
    }
    
    .certificate-info {
        padding: 20px 15px;
    }
    
    .certificate-info h3 {
        font-size: 18px;
    }
    
    .certificate-info p {
        font-size: 14px;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-280px * 8 - 30px * 8));
        }
    }
}

@media screen and (max-width: 900px) {
    .about-content {
        flex-direction: column;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::after,
    .timeline-item:nth-child(even) .timeline-content::after {
        left: -10px;
        right: auto;
    }
    
    .parabola-line {
        left: 80px;
        width: 60%;
    }
    
    .parabola-timeline .timeline-item {
        width: 85%;
        margin-left: 80px !important;
        margin-right: 0 !important;
        text-align: left !important;
    }
    
    .parabola-timeline .timeline-item:nth-child(odd) .parabola-point,
    .parabola-timeline .timeline-item:nth-child(even) .parabola-point {
        left: -62px;
        right: auto;
    }
    
    .parabola-timeline .timeline-item:nth-child(odd) .timeline-icon,
    .parabola-timeline .timeline-item:nth-child(even) .timeline-icon {
        left: -90px;
        right: auto;
    }
}

@media screen and (max-width: 768px) {
    .certificate-item {
        flex: 0 0 260px;
    }
    
    .certificate-img {
        height: 190px;
        padding: 15px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-260px * 8 - 30px * 8));
        }
    }
}

@media screen and (max-width: 600px) {
    header h2 {
        font-size: 2.2rem;
    }
    
    .nav-container {
        flex-direction: column;
        align-items: center;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .certificates-section {
        padding: 40px 0;
    }
    
    .certificate-item {
        flex: 0 0 240px;
    }
    
    .certificate-img {
        height: 170px;
    }
    
    .certificate-info {
        padding: 15px 12px;
    }
    
    .certificate-info h3 {
        font-size: 16px;
    }
    
    .certificate-info p {
        font-size: 13px;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-240px * 8 - 30px * 8));
        }
    }
    
    .parabola-line {
        display: none;
    }
    
    .parabola-timeline .timeline-item {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .parabola-timeline .timeline-item:nth-child(odd) .parabola-point,
    .parabola-timeline .timeline-item:nth-child(even) .parabola-point,
    .parabola-timeline .timeline-item:nth-child(odd) .timeline-icon,
    .parabola-timeline .timeline-item:nth-child(even) .timeline-icon {
        display: none;
    }
}