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

/* 页面标题区 */
.about-hero {
    background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
    padding: 60px 0 40px;
    text-align: center;
}

.about-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-hero h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.about-subtitle {
    font-size: 18px;
    color: #666;
    margin: 0;
}

/* 通用容器 */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 公司简介 */
.company-intro {
    padding: 80px 0;
    background: #fff;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
}

.intro-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.intro-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 发展历程 */
.company-history {
    padding: 80px 0;
    background: #fafafa;
}

.company-history h2 {
    font-size: 32px;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 600;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #e0e0e0;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

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

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: #00BC66;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    z-index: 1;
}

.timeline-content {
    background: #fff;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    max-width: 300px;
    margin: 0 30px;
}

.timeline-content h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.timeline-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 核心优势 */
.company-advantages {
    padding: 80px 0;
    background: #fff;
}

.company-advantages h2 {
    font-size: 32px;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 600;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: #f9f9f9;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.advantage-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.advantage-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

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

.contact-section h2 {
    font-size: 32px;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 600;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #e8f5e9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-detail p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

/* 联系表单 */
.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00BC66;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #00BC66;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #00a857;
}

/* 合作伙伴 */
.partners-section {
    padding: 80px 0;
    background: #fff;
}

.partners-section h2 {
    font-size: 32px;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 600;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.partner-logo {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.partner-logo:hover {
    transform: scale(1.05);
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    max-height: 60px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.partner-logo:hover img {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-image {
        order: -1;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 80px;
        padding-right: 0;
    }

    .timeline-year {
        left: 30px;
        transform: translateX(-50%);
    }

    .timeline-content {
        margin: 0;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 40px 0 30px;
    }

    .about-hero h1 {
        font-size: 28px;
    }

    .about-subtitle {
        font-size: 16px;
    }

    .company-intro,
    .company-history,
    .company-advantages,
    .contact-section,
    .partners-section {
        padding: 60px 0;
    }

    .intro-text h2,
    .company-history h2,
    .company-advantages h2,
    .contact-section h2,
    .partners-section h2 {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .intro-text p {
        font-size: 15px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .about-hero h1 {
        font-size: 24px;
    }

    .timeline-year {
        width: 50px;
        height: 50px;
        font-size: 12px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 70px;
    }

    .timeline-content {
        padding: 15px 20px;
    }

    .timeline-content h3 {
        font-size: 16px;
    }

    .advantage-card {
        padding: 30px 20px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
    }

    .contact-detail h3 {
        font-size: 16px;
    }

    .contact-detail p {
        font-size: 14px;
    }
}
