/* 公共样式 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 5rem;
    font-size: 1.6rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #4a6cf7;
    color: #fff;
}

.btn-primary:hover {
    background-color: #3a5ce5;
}

.btn-outline {
    border: 1px solid #fff;
    color: #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: #4a6cf7;
}

/* 标题样式 */
.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.section-title p {
    font-size: 1.5rem;
    color: #666;
}

/* 头部导航 */
.header {
    position: fixed;
    top: -1px;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 8rem;
}

.logo {
    height: 4rem;
}

.logo img {
    height: 100%;
}

.nav ul {
    display: flex;
}

.nav li {
    margin: 0 1.5rem;
}

.nav a {
    font-size: 1.6rem;
    color: #1d2a4d;
    position: relative;
    padding: 0.5rem 0;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4a6cf7;
    transition: width 0.3s ease;
}

.nav a:hover:after,
.nav .active a:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 2.4rem;
    height: 2rem;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #1d2a4d;
    transition: all 0.3s ease;
}

/* 底部样式 */
.footer {
    background-color: #1d2a4d;
    color: #fff;
    padding: 2rem 0 2rem;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.footer-col {
    flex: 1;
    min-width: 25rem;
    margin-bottom: 3rem;
    padding-right: 2rem;
}

.footer-col h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 5rem;
    height: 2px;
    background-color: #4a6cf7;
}

.footer-col p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.contact-list li,
.link-list li {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.link-list a:hover {
    color: #4a6cf7;
}

.qrcode-container {
    text-align: center;
}

.qrcode {
    width: 12rem;
    height: 12rem;
    background-color: #fff;
    margin: 0 auto 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
}

/* 响应式样式 */
@media screen and (max-width: 768px) {
    html {
        font-size: 55%;
    }

    .header .container {
        height: 6rem;
    }

.nav {
    position: fixed;
    top: 6rem;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 1000;
    transform: translateY(-2px);
}

.nav.active {
    max-height: 100vh;
}

.nav ul {
    flex-direction: column;
    padding: 0;
}

.nav li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

.nav li:first-child {
    /* margin-top: 60px; */
}

.nav a {
    display: block;
    padding: 1.5rem 2rem;
    font-size: 1.6rem;
}

.nav .sub-menu {
    display: none;
    background-color: #f9f9f9;
    padding-left: 2rem;
}

.nav .sub-menu li {
    border-bottom: none;
    padding: 0;
}

.nav .sub-menu a {
    padding: 1.2rem 2rem;
    font-size: 1.5rem;
    color: #666;
}

/* 添加箭头图标 */
.nav .has-submenu > a {
    position: relative;
    padding-right: 2rem;
}

.nav .has-submenu > a:before {
    content: '';
    position: absolute;
    right: 2rem;
    top: 50%;
    width: 0.8rem;
    height: 0.8rem;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s ease;
}

.nav .has-submenu.open > a:before {
    transform: translateY(-50%) rotate(-135deg);
}

.nav .has-submenu.open .sub-menu {
    display: block;
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 6rem;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.nav-overlay.active {
    display: block;
}

.nav-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.nav-close:before,
.nav-close:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333;
}

.nav-close:before {
    transform: rotate(45deg);
}

.nav-close:after {
    transform: rotate(-45deg);
}

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .footer-col {
        flex: 100%;
        padding-right: 0;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 50%;
    }

    .section-title h2 {
        font-size: 2.4rem;
    }
}

.ztb-news {
    min-height: 500px;
    padding: 20px 0;
}