/* 关于我们页面样式 - 精密智造·驱动未来主题 */

/* 主容器 */
.about-container {
    padding: 0;
    background: white;
}

/* 英雄区域 */
.hero-section {
    display: flex;
    min-height: 80vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../image/about_banner.jpg') center/cover no-repeat;
    opacity: 0.8;
    z-index: 0;
}

.hero-content {
    flex: 1;
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    color: white;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--secondary-color);
    display: block;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
}

.hero-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
    max-width: 250px;
}

.hero-button:hover {
    background: var(--highlight-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* 核心优势 */
.advantages-section {
    padding: 5rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 2rem;
}

.advantage-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border-top: 4px solid var(--secondary-color);
}

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

.advantage-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.advantage-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
}


/* 联系我们CTA */
.contact-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.ctas-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
}

.ctas-button:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* 关于我们的图文内容 */
.about-content-section {
    padding: 5rem 0;
    background: white;
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
}

.about-text p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


/* 新版二级子栏目样式 */
.subnav-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem 0;
    position: sticky;
    top: 80px;
    z-index: 900;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.subnav-container {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 2rem;
}

.subnav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 1.5rem;
}

.subnav-menu li a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.subnav-menu li a:hover {
    color: #fff;
    background: linear-gradient(135deg, #0066cc, #9d4edd);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,102,204,0.2);
}

.subnav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.subnav-menu li a:hover::after {
    width: 80%;
}

.subnav-menu li a.active {
    color: #fff;
    background: linear-gradient(135deg, #0066cc, #9d4edd);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,102,204,0.3);
    animation: pulse 2s infinite;
}

.subnav-menu li a.active::after {
    width: 80%;
    background: #ff6600;
    box-shadow: 0 0 10px rgba(255,102,0,0.5);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0,102,204,0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0,102,204,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,102,204,0); }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-content {
        padding: 3rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .certificates-section {
        padding: 3rem 0;
    }
}

@media (max-width: 768px) {
    .certificate-image {
        max-height: 300px;
    }
    
    .slider-controls {
        gap: 1rem;
    }
}
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        min-height: auto;
    }
    
    .hero-content {
        padding: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    /* 移动端二级子栏目样式 */
    .subnav-menu {
        justify-content: flex-start;
        padding: 0 1rem;
        gap: 0.5rem;
    }

    .subnav-menu li a {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}