/* 自定义样式 */

/* 顶部图片横幅 */
.top-banner {
    background: #f8f9fa;
    padding: 20px 0;
    text-align: center;
    border-bottom: 2px solid #e9ecef;
}

.top-banner img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Logo样式 */
#logo h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.4;
}

#logo h1 a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    display: block;
    word-wrap: break-word;
    white-space: normal;
    max-width: 600px;
}

#logo h1 a:hover {
    opacity: 0.9;
}

/* 导航栏样式 */
.nav_w3ls {
    margin-top: 10px;
}

/* 汉堡按钮默认隐藏 */
.toggle {
    display: none;
}

nav ul.menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul.menu li a {
    padding: 10px 20px;
    display: block;
    font-weight: 500;
}

nav ul.menu li a.active {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

/* 手机端样式 */
@media (max-width: 768px) {
    /* 显示汉堡按钮 */
    .toggle {
        display: block;
        padding: 8px 14px;
        font-size: 15px;
        text-decoration: none;
        border: none;
        float: right;
        background-color: #fff;
        color: #000;
        border-radius: 4px;
        letter-spacing: 1px;
        cursor: pointer;
        transition: 0.5s all;
    }
    
    /* 默认隐藏导航菜单 */
    nav ul.menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #fff;
        margin-top: 10px;
        padding: 10px 0;
    }
    
    /* 导航菜单展开时的样式 */
    nav ul.menu.show {
        display: flex;
    }
    
    nav ul.menu li {
        width: 100%;
        text-align: center;
    }
    
    nav ul.menu li a {
        color: #000;
        padding: 12px 20px;
    }
    
    nav ul.menu li a.active {
        background: rgba(0, 66, 222, 0.1);
        color: #0042de;
    }
}

/* 内容区域 */
.content-section {
    padding: 60px 0;
    background: #fff;
}

.content-section h2 {
    font-size: 32px;
    color: #343a40;
    margin-bottom: 20px;
    font-weight: 600;
}

.content-section h3 {
    font-size: 24px;
    color: #343a40;
    margin: 30px 0 15px;
    font-weight: 600;
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
    text-align: justify;
}

.content-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.content-section ul li {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 10px;
}

/* 服务优势卡片 */
.advantage-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #0042de;
}

.advantage-card h4 {
    font-size: 20px;
    color: #0042de;
    margin-bottom: 15px;
    font-weight: 600;
}

/* 底部图片横幅 */
.footer-banner {
    background: #f8f9fa;
    padding: 30px 0;
    text-align: center;
    border-top: 2px solid #e9ecef;
    margin-top: 40px;
}

.footer-banner img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 页脚样式 */
footer {
    background: #343a40;
    color: #fff;
    padding: 40px 0 20px;
}

footer p {
    color: #ccc;
    font-size: 14px;
}

footer a {
    color: #fff;
}

footer a:hover {
    color: #ccc;
    text-decoration: none;
}

/* 响应式 */
@media (max-width: 768px) {
    #logo h1 {
        font-size: 18px;
    }
    
    #logo h1 a {
        max-width: 100%;
    }
    
    nav ul.menu li a {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .content-section h2 {
        font-size: 24px;
    }
    
    .content-section h3 {
        font-size: 20px;
    }
    
    .content-section p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    #logo h1 {
        font-size: 16px;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .content-section h2 {
        font-size: 20px;
    }
}
