nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    padding-bottom: 60px;
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

main {
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 160px);
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.95);
    border-radius: 8px;
}

h2 {
    color: #1a2833;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: rgba(44, 62, 80, 0.15);
}

.service-card {
    background: rgba(255,255,255,0.98);
    padding: 1.8rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.service-card p {
    color: #4a4a4a;
    line-height: 1.8;
    margin-top: 1rem;
}

/* 固定页脚 */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #2c3e50;
    padding: 1rem 0;
    text-align: center;
}

.footer-content a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    main {
        padding: 1.5rem 5%;
    }
}


.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 20px;
}

.logo img {
    height: 2rem;
    width: auto;
}

@media (max-width: 768px) {
    .logo img {
        height: 1.2rem;
    }
}