/* 资质展示页面专用样式 */

.qualifications-overview {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
}

.overview-content {
    text-align: center;
}

.overview-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.overview-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.certifications-section {
    padding: 80px 0;
}

.section-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.nav-btn {
    padding: 12px 25px;
    background: #f8f9fa;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #666;
}

.nav-btn:hover,
.nav-btn.active {
    background: #667eea;
    color: white;
}

.cert-category {
    display: none;
}

.cert-category.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.cert-category h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.cert-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-10px);
}

.cert-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 20px;
    background: #f8f9fa;
}

.cert-info {
    padding: 30px;
}

.cert-info h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.cert-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cert-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cert-standard {
    background: #e3f2fd;
    color: #1976d2;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.cert-status {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.cert-status.verified {
    background: #e8f5e8;
    color: #388e3c;
}

/* 品牌历史时间线 */
.brand-history {
    background: #f8f9fa;
    padding: 80px 0;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #667eea;
    transform: translateX(-50%);
}

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

.timeline-item:nth-child(odd) {
    padding-right: 50%;
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: 50%;
    text-align: left;
}

.timeline-year {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #667eea;
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    z-index: 2;
}

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

.timeline-content h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .qualifications-overview {
        padding: 60px 0;
    }
    
    .overview-content h2 {
        font-size: 2rem;
    }
    
    .overview-content p {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .certifications-section {
        padding: 60px 0;
    }
    
    .section-nav {
        gap: 5px;
    }
    
    .nav-btn {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cert-info {
        padding: 20px;
    }
    
    .brand-history {
        padding: 60px 0;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        padding-left: 80px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    
    .timeline-year {
        left: 30px;
        transform: translateX(-50%);
        width: 60px;
        height: 60px;
        font-size: 0.9rem;
    }
    
    .timeline-content {
        padding: 20px;
    }
}