/* 页眉样式 */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
}

.logo a {
    display: inline-block;
    transition: transform 0.2s ease;
}

.logo a:hover {
    transform: scale(1.05);
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
}

.main-nav .nav-list li {
    margin-left: 30px;
}

.main-nav .nav-list a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav .nav-list a:hover,
.main-nav .nav-list a.active {
    color: #2A5FCC;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.icon-link img {
    height: 32px;
    width: 32px;
}

/* 页脚 */
.footer {
    background-color: #2A5FCC;
    color: white;
    padding: 40px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 50px;
}

.footer-logo a {
    display: inline-block;
    transition: transform 0.2s ease;
}

.footer-logo a:hover {
    transform: scale(1.05);
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

.social-links {
    display: flex;
    align-items: center;
}

.social-links .icon-link img {
    height: 32px;
    width: 32px;
    margin-left: 15px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.copyright p {
    margin-bottom: 8px;
}

.legal-info {
    text-align: center;
    padding-top: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.legal-info a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin: 0 10px;
    transition: opacity 0.3s ease;
}

.legal-info a:hover {
    opacity: 1;
    text-decoration: underline;
}