/* ========== 关于我们页面特有样式 ========== */

/* 全局重置和容器（如果需要独立使用） */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Arial', 'Microsoft Yahei', 'Helvetica', sans-serif;
    background: #f5f7fa;
    color: #1f2a3e;
    line-height: 1.5;
}
.container {
    width: 1400px;
    margin: 0 auto;
}
@media (max-width: 1440px) { .container { width: 1280px; } }
@media (max-width: 1280px) { .container { width: 1080px; } }
@media (max-width: 1080px) { .container { width: 94%; } }

/* ========== 锚点导航菜单 ========== */
.about-nav {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    position: sticky;
    top: 80px;
    z-index: 99;
}
.nav-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 16px 0;
    flex-wrap: wrap;
}
.nav-links a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: #4a5568;
    padding: 6px 0;
    position: relative;
    transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active {
    color: #1a5aaa;
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #1a5aaa;
    border-radius: 2px;
}

/* ========== 公司简介 ========== */
.intro-section {
    padding: 60px 0;
    background: #fff;
}
.intro-grid {
    display: flex;
    gap: 50px;
    align-items: center;
}
.intro-text {
    flex: 1;
}
.intro-text h2 {
    font-size: 32px;
    color: #1f2a3e;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}
.intro-text h2:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #1a5aaa;
}
.intro-text p {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.7;
    margin-top: 20px;
}
.intro-img {
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}
.intro-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}
.intro-img:hover img {
    transform: scale(1.02);
}

/* ========== 企业文化 ========== */
.culture-section {
    padding: 60px 0;
    background: #f8fafc;
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 32px;
    color: #1f2a3e;
    margin-bottom: 12px;
}
.section-title p {
    color: #5a6e8a;
    font-size: 16px;
}
.culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.culture-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}
.culture-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}
.culture-icon {
    width: 70px;
    height: 70px;
    background: #eef2f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.culture-icon svg {
    width: 36px;
    height: 36px;
    fill: #1a5aaa;
}
.culture-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1f2a3e;
}
.culture-card p {
    font-size: 14px;
    color: #5a6e8a;
    line-height: 1.5;
}

/* ========== 荣誉资质 ========== */
.honor-section {
    padding: 60px 0 40px;
    background: #fff;
}
.honor-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.honor-header .section-title {
    text-align: left;
    margin-bottom: 0;
}
.more-btn {
    color: #1a5aaa;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}
.more-btn:hover {
    gap: 10px;
    color: #0e4a8a;
}
.honor-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}
.honor-item {
    background: #f8fafc;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s;
    cursor: pointer;
}
.honor-item:hover {
    transform: translateY(-4px);
}
.honor-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}
.honor-item h4 {
    font-size: 16px;
    color: #1f2a3e;
    margin-bottom: 5px;
}
.honor-item p {
    font-size: 12px;
    color: #8a9aaa;
}

/* ========== 工厂实景 ========== */
.factory-section {
    padding: 60px 0 40px;
    background: #f8fafc;
}
.factory-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.factory-header .section-title {
    text-align: left;
    margin-bottom: 0;
}
.factory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.factory-item {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: transform 0.2s;
    cursor: pointer;
}
.factory-item:hover {
    transform: translateY(-4px);
}
.factory-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.factory-info {
    padding: 16px;
    text-align: center;
}
.factory-info h4 {
    font-size: 16px;
    color: #1f2a3e;
}

/* ========== 数据统计 ========== */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a5aaa 0%, #0e3d6e 100%);
    color: #fff;
    text-align: center;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.stat-item {
    padding: 20px;
}
.stat-number {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}
.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* ========== 招商加盟入口 ========== */
.join-section {
    padding: 60px 0;
    background: #fff;
    text-align: center;
}
.join-card {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #eef5ff 0%, #fff 100%);
    border-radius: 32px;
    padding: 50px 40px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.join-card h2 {
    font-size: 28px;
    color: #1f2a3e;
    margin-bottom: 15px;
}
.join-card p {
    color: #5a6e8a;
    margin-bottom: 25px;
    font-size: 16px;
}
.join-btn {
    display: inline-block;
    background: #1a5aaa;
    color: #fff !important;
    text-decoration: none;
    padding: 12px 36px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s;
}
.join-btn:hover {
    background: #0e4a8a;
    transform: translateY(-2px);
}

/* ========== 图片预览模态框 ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.modal-content {
    max-width: 80%;
    max-height: 80%;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    cursor: default;
}
.modal-content img {
    max-width: 100%;
    max-height: 65vh;
    object-fit: contain;
}
.modal-content h4 {
    margin-top: 15px;
    font-size: 18px;
    color: #1f2a3e;
}
.modal-content p {
    font-size: 14px;
    color: #5a6e8a;
    margin-top: 5px;
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    font-weight: 400;
}
.modal-close:hover {
    color: #1a5aaa;
}

/* ========== 响应式适配 ========== */
@media (max-width: 1024px) {
    .culture-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .honor-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .factory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .intro-grid {
        flex-direction: column;
    }
    .culture-grid {
        grid-template-columns: 1fr;
    }
    .honor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .factory-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        gap: 20px;
    }
    .nav-links a {
        font-size: 14px;
    }
    .honor-header, .factory-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}
/* 修复关于我们页面：清除当前激活菜单下所有子菜单链接的伪元素下划线 */
.nav ul li.active .dropdown li a::after,
.nav ul li.active .dropdown li a:after,
.nav ul li.has-dropdown.active .dropdown li a::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* 同时确保子菜单链接没有任何下划线 */
.nav ul li.active .dropdown li a,
.nav ul li.has-dropdown.active .dropdown li a {
    text-decoration: none !important;
    border-bottom: none !important;
}

/* 保留一级菜单的下划线（活跃状态），但不影响子菜单 */
.nav ul li.active > a::after {
    width: 100%;
}