@media (max-width: 700px) {
    .content {
        max-width: 100vw !important;
        padding: 5% !important;
    }

    section {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}


/* 顶部大图LOGO和标题在图片内，LOGO在图片下方 */
.main-banner {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 36px auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-banner-bg {
    max-width: 100%;
    padding: 20px;
    background: url('images/company.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    justify-content: flex-start;
    /* 垂直排列，logo和标题上下分行，顶部对齐 */
}

.main-banner-title {
    margin-top: 10px;
    color: white;
    font-size: 24px;
}


.main-banner-logo {
    width: auto !important;
    height: auto !important;
    max-width: 90px;
    max-height: 90px;
    display: block;
}

.main-banner-imgbox {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-banner-imgbox img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
    display: block;
}



@media (max-width: 700px) {
    .main-banner {
        max-width: 100vw;
    }

    .main-banner-imgbox img {
        max-height: 180px;
        border-radius: 10px;
        background-image: none;
    }


}

/* 顶部大图LOGO和标题换行居中 */
.main-banner-center {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 18px;
    margin-bottom: 8px;
}




/* 顶部大图与标题 */
.main-banner {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 36px auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-banner img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
    display: block;
}



@media (max-width: 700px) {
    .main-banner {
        max-width: 100vw;
    }

    .main-banner img {
        max-height: 180px;
        border-radius: 10px;
    }

}

/* 业务图片自适应布局 */
.business-images {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 18px;
}

.business-images img {
    width: 220px;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    background: #fff;
}

@media (max-width: 900px) {
    .business-images {
        gap: 12px;
    }

    .business-images img {
        width: 48%;
        min-width: 140px;
    }
}

@media (max-width: 600px) {
    .business-images {
        flex-direction: column;
        align-items: center;
    }

    .business-images img {
        width: 90%;
        min-width: 0;
        margin-bottom: 12px;
    }
}

@media print {
    nav#navbar {
        display: none !important;
    }

    .content {
        margin-left: 0 !important;
        padding: 0 !important;
        max-width: 100% !important;
    }
}

/* 导航LOGO和底部信息样式 */
.nav-logo {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 18px;
    margin-top: 6px;
}

img {
    width: 100%;
}

.nav-logo img {
    max-width: 90px;
    max-height: 90px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: block;
}

.nav-footer {
    width: 100%;
    text-align: center;
    color: #ccc;
    font-size: 0.95em;
    margin-top: auto;
    padding-top: 24px;
    padding-bottom: 8px;
    letter-spacing: 0.02em;
    line-height: 1.7;
    word-break: break-all;
    box-sizing: border-box;
    background: none;
    overflow-wrap: break-word;
    transform: translateY(-30px);
}

body {
    margin: 0;
    font-family: "微软雅黑", sans-serif;
    display: flex;
    scroll-behavior: smooth;
}

nav {
    width: 200px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    color: white;
    padding: 20px;
    background: url('images/nav-bg.jpg') no-repeat center center/cover;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.08);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    backdrop-filter: blur(2px);
    overflow: hidden;
}

nav::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

nav>* {
    position: relative;
    z-index: 2;
}

@media (max-width: 700px) {
    nav {
        display: none !important;
    }

    .content {
        margin-left: 0 !important;
        padding: 16px;
    }
}

pre {
    white-space: pre-wrap;
    word-break: break-all;
    font-family: inherit;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    line-height: 1.8;
}

nav a {
    color: white;
    text-decoration: none;
    display: block;
    margin: 15px 0;
}

nav a.active {
    font-weight: bold;
    color: #00cc99;
}

.content {
    margin-left: 220px;
    padding: 40px;
    max-width: 900px;
}

section {
    margin-bottom: 100px;
}

section h2 {
    border-bottom: 2px solid #00cc99;
    padding-bottom: 10px;
}

img {
    max-width: 100%;
    margin-top: 15px;
    border-radius: 8px;
}


section#history .timeline {
    position: relative;
    margin: 40px 0 20px 0;
    padding-left: 40px;
    display: flex;
    flex-direction: column;
}

section#history .timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    width: 4px;
    height: 100%;
    background: #e0e0e0;
    z-index: 0;
    border-radius: 2px;
}

section#history .timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

section#history .timeline-dot {
    width: 20px;
    height: 20px;
    background: #00cc99;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px #00cc99;
    margin-right: 18px;
    margin-bottom: 0;
    position: relative;
    left: -10px;
}

section#history .timeline-content {
    text-align: left;
}

section#history .timeline-year {
    font-weight: bold;
    font-size: 1.1em;
    color: #00cc99;
    display: block;
    margin-bottom: 6px;
}

section#history .timeline-desc {
    color: #333;
    font-size: 1em;
}

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

.timeline-year {
    font-weight: bold;
    font-size: 1.1em;
    color: #00cc99;
    display: block;
    margin-bottom: 6px;
}

.timeline-desc {
    color: #333;
    font-size: 1em;
}

@media (max-width: 700px) {
    section#history .timeline {
        padding-left: 24px;
    }

    section#history .timeline::before {
        left: 8px;
        width: 3px;
    }

    section#history .timeline-dot {
        left: -6px;
        width: 16px;
        height: 16px;
        margin-right: 12px;
        border-width: 3px;
        box-shadow: 0 0 0 1.5px #00cc99;
    }

    section#history .timeline-item {
        margin-bottom: 24px;
    }
}