* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}
.logo img{
    width: 120px;
}
.site-header {
    position: fixed;
    z-index: 12;
    width: 100%;
    top: 0;
    left: 0;
    background: transparent;
    transition: background-color .5s, box-shadow .5s;
}

.site-header.is-scrolled {
    background: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
}

.header-inner {
    height: 82px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px
}

.logo {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    line-height: 1
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 54px;
    list-style: none;
    margin-left: auto;
    margin-right: auto
}

.nav-menu a {
    white-space: nowrap;
    transition: color 0.5s;
    color: #fff;
}

.site-header.is-scrolled .nav-menu a {
    color: #222;
}

.nav-menu a:hover {
    color: #ef1022;
}

.site-header.is-scrolled .nav-menu a:hover {
    color: #ef1022;
}

.demo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 50px;
    border-radius: 30px;
    background: #ef1022;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
    transition: background .2s
}

.demo-btn:hover {
    background: #ca0010;
    color: #fff;
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: none;
    border: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: transform .25s, opacity .25s, background-color .5s
}

.site-header.is-scrolled .menu-toggle span {
    background: #222;
}
@media(max-width:1250px) {
    .nav-menu {
        gap: 30px
    }
}

@media(max-width:991px) {

    .header-inner {
        height: 70px;
        gap: 15px
    }

    .logo img{
        width: 70px
    }

    .menu-toggle {
        display: flex;
        margin-left: auto
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(8px) rotate(45deg)
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg)
    }

    .nav-wrap {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #06468f;
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        transition: max-height .35s ease, visibility .35s
    }

    .nav-wrap.open {
        max-height: 440px;
        visibility: visible;
        box-shadow: 0 10px 20px rgba(0, 0, 0, .15)
    }

    .site-header.is-scrolled .nav-wrap {
        background: #fff;
    }

    .site-header.is-scrolled .nav-menu li {
        border-bottom-color: rgba(0, 0, 0, .1);
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 8px 20px 18px
    }

    .nav-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, .15)
    }

    .nav-menu a {
        display: block;
        padding: 16px 0;
    }

    .header-inner>.demo-btn {
        width: 105px;
        height: 38px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
    }
}

@media(max-width:375px) {
    .header-inner>.demo-btn {
        width: 90px
    }
}
