/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-brand .logo {
    height: 50px;
    width: auto;
}

.brand-text {
    font-size: 24px;
    font-weight: bold;
    color: #002FA7;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 10px;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #002FA7;
}

.nav-menu a.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
    height: 2px;
    background: #002FA7;
}

/* 通用段落样式 */
.section-title {
    text-align: center;
    font-size: 36px;
    color: #002FA7;
    margin-bottom: 50px;
    padding-top: 80px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #a42227;
    margin: 15px auto 0;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    background: #002FA7;
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: 500;
    border: 2px solid #002FA7;
}

.btn-primary:hover {
    background: #001f7a;
    border-color: #001f7a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 47, 167, 0.3);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #002FA7;
    padding: 12px 30px;
    text-decoration: none;
    border: 2px solid #002FA7;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-secondary:hover {
    background: #002FA7;
    color: #fff;
    transform: translateY(-2px);
}

/* 页脚 */
.footer {
    background: #001f7a;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #a42227;
}

.footer-section p {
    color: #cbd5e0;
    margin-bottom: 10px;
}

.footer-addr {
    font-size: 12px;
    line-height: 1.6;
    color: #a0aec0;
    margin-bottom: 6px;
}

.footer-motto {
    font-size: 12px;
    line-height: 1.8;
    color: #a0aec0;
    margin-bottom: 5px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.qr-codes {
    display: flex;
    gap: 15px;
}

.qr-item {
    text-align: center;
}

.qr-item img {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    display: block;
    margin-bottom: 5px;
}

.qr-item span {
    color: #cbd5e0;
    font-size: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #cbd5e0;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .qr-codes {
        justify-content: center;
    }
}
