/* 关于我们样式 */

/* Banner区域 */
.about-banner {
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-banner .banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.about-banner h1 {
    position: relative;
    z-index: 1;
    font-size: 48px;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

/* 公司简介区域 */
.company-intro {
    padding: 80px 0;
    background: #f8f9fa;
}

.intro-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.intro-image {
    flex: 1;
    max-width: 500px;
}

.intro-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.intro-text {
    flex: 1;
}

.intro-text h2 {
    font-size: 32px;
    color: #222;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
}

.intro-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: #88be4b;
}

.intro-text p {
    font-size: 16px;
    line-height: 28px;
    color: #666;
    margin-bottom: 20px;
}

/* 核心优势区域 */
.core-advantages {
    padding: 80px 0;
    background: white;
}

.advantages-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.advantages-header {
    text-align: center;
    margin-bottom: 60px;
}

.advantages-header h2 {
    font-size: 32px;
    color: #222;
    margin-bottom: 20px;
}

.advantages-header p {
    font-size: 16px;
    color: #666;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.advantage-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: #88be4b;
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: #88be4b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
}

.advantage-card h3 {
    font-size: 20px;
    color: #222;
    margin-bottom: 15px;
}

.advantage-card p {
    font-size: 14px;
    color: #666;
    line-height: 24px;
}

/* 发展历程区域 */
.development-history {
    padding: 80px 0;
    background: #f8f9fa;
}

.history-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.history-header {
    text-align: center;
    margin-bottom: 60px;
}

.history-header h2 {
    font-size: 32px;
    color: #222;
    margin-bottom: 20px;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #88be4b;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    flex: 1;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin: 0 40px;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 15px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -30px;
    border-left-color: white;
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
    border-right-color: white;
    transform: translateY(-50%);
}

.timeline-date {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: #88be4b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
    z-index: 1;
}

.timeline-content h3 {
    font-size: 20px;
    color: #222;
    margin-bottom: 15px;
}

.timeline-content p {
    font-size: 14px;
    color: #666;
    line-height: 24px;
}

/* 资质荣誉区域 */
.certifications {
    padding: 80px 0;
    background: white;
}

.cert-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.cert-header {
    text-align: center;
    margin-bottom: 60px;
}

.cert-header h2 {
    font-size: 32px;
    color: #222;
    margin-bottom: 20px;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.cert-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.cert-card img {
    max-height: 120px;
    margin-bottom: 20px;
}

.cert-card h3 {
    font-size: 16px;
    color: #222;
    margin-bottom: 10px;
}

.cert-card p {
    font-size: 14px;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cert-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .intro-content {
        flex-direction: column;
        text-align: center;
    }
    
    .intro-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .about-banner h1 {
        font-size: 36px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 80px;
    }
    
    .timeline-date {
        left: 30px;
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .timeline-content {
        margin: 0;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .about-banner h1 {
        font-size: 28px;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-card,
    .cert-card {
        padding: 20px;
    }
}
