a{
    bblr:expression(this.onFocus=this.blur());/*IE使用*/
    outline-style:none;/*FF使用*/
    text-decoration:none;
    color: inherit;
}
.header {
        height: 60px;
        background-color: #1D314F;
        color: white;
        display: flex;
        align-items: center;
    }
    .header-cont {
        width: 90%;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .header img {
        height: 40px;
    }
    .header nav {
        display: flex;
        align-items: center;
        margin-right: 100px;
    }
    .header nav a {
        height: 60px;
        display: flex;
        align-items: center;
        color: white;
        margin-left: 20px;
        margin-right: 20px;
        text-decoration: none;
        /* background-image: url('../images/home/3.png'); */
        background-size: 100% 8px;
        background-repeat: no-repeat;
        background-position: bottom;
    }
    .header nav a:hover {
        background-image: url('../images/home/3.png');
    }
    .menu-btn {
        display: none;
        background: none;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
    }
    .hidden-nav {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #1D3B61;
        padding: 10px 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        text-align: center;
        z-index: 1;
    }
    .hidden-nav.active {
        animation: slideIn 0.3s ease-in-out;
        transform: translateX(0);
    }
    /* 动画效果 */
    @keyframes slideIn {
        from {
            transform: translateX(-100%);
        }
        to {
            transform: translateX(0);
        }
    }
    .hidden-nav a {
        display: block;
        color: white;
        margin: 10px 0;
        text-decoration: none;
    }
    
    
    @media (max-width: 768px) {
        .header nav {
            display: none;
        }
        .menu-btn {
            display: block;
        }
    }
    /* 新增active类样式 */
    .header nav a.active {
        background-image: url('../images/home/3.png');
    }
    