/* About Us页面专用样式 */

.about-us-content {
    line-height: 1.8;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
}

/* 主容器居中 */
.main-content.page .container {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.main-content.page .row {
    width: 100%;
    max-width: 900px;
}

/* 内容区域固定宽度居中 */
.panel.panel-default {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 公司介绍部分 */
.company-intro .lead {
    font-size: 1.2rem;
    color: #495057;
    font-weight: 300;
    text-align: left;
    max-width: 800px;
    margin: 0 auto 1rem auto;
}

.company-intro p {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 1rem auto;
}

/* 使命卡片 */
.mission-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    text-align: left;
    height: 100%;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: #007bff !important;
}

.mission-card h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

/* 核心业务卡片 */
.business-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef !important;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    text-align: left;
    height: 100%;
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #28a745, #17a2b8);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.business-card:hover::before {
    transform: scaleX(1);
}

.business-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.business-card i {
    transition: transform 0.3s ease;
}

.business-card:hover i {
    transform: scale(1.1);
}

/* 团队优势 */
.advantage-item {
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 8px;
    text-align: left;
    max-width: 600px;
    margin: 0 auto 1rem auto;
}

.advantage-item:hover {
    transform: translateX(8px);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.advantage-item h5 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.advantage-item p {
    color: #6c757d;
    margin-bottom: 0;
}

/* 联系我们 */
.contact-info ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f3f4;
    text-align: left;
}

.contact-info, .social-media {
    text-align: left;
}

.contact-info ul li:last-child {
    border-bottom: none;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* 社交媒体按钮 */
.social-links .btn {
    transition: all 0.3s ease;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

.social-links .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-links .btn-outline-primary:hover {
    background: #007bff;
    border-color: #007bff;
}

.social-links .btn-outline-success:hover {
    background: #28a745;
    border-color: #28a745;
}

.social-links .btn-outline-info:hover {
    background: #17a2b8;
    border-color: #17a2b8;
}

/* 发展历程时间线 */
.timeline {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #007bff, #28a745, #17a2b8, #ffc107);
}

.timeline-item {
    position: relative;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(5px);
}

.timeline-marker {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.timeline-content {
    padding-left: 1rem;
}

.timeline-content h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #6c757d;
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .timeline-marker {
        margin-bottom: 1rem;
        margin-right: 0;
        align-self: center;
    }
    
    .timeline-content {
        padding-left: 0;
        text-align: center;
    }
    
    .mission-card, .business-card {
        margin-bottom: 1.5rem;
    }
    
    .advantage-item {
        margin-bottom: 1rem;
    }
    
    /* 移动端居中优化 */
    .about-us-content {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .company-intro .lead,
    .company-intro p {
        max-width: 100%;
    }
    
    .panel.panel-default {
        max-width: 100%;
        margin: 0 1rem;
    }
}

@media (max-width: 576px) {
    .about-us-content h2 {
        font-size: 1.5rem;
    }
    
    .about-us-content h3 {
        font-size: 1.3rem;
    }
    
    .business-card {
        padding: 1.5rem !important;
    }
    
    .social-links .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.company-intro,
.our-mission,
.core-business,
.team-advantages,
.contact-us,
.development-history {
    animation: fadeInUp 0.6s ease-out;
}

/* 打印样式 */
@media print {
    .about-us-content {
        color: #000;
    }
    
    .mission-card,
    .business-card,
    .advantage-item {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
    
    .timeline::before {
        background: #000;
    }
} 