.sub-promotion {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    background: url(../images/sub-bg.jpg) no-repeat;
    background-position: center;
    background-size: cover;
}

.sub-promotion-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sub-p-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    text-align: center;
    margin-top: 5rem;
}

.sub-p-text h5 {
    color: #fff;
    font-size: 45px;
    font-weight: 400;
}

.p-route {
    color: #fff;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sub-navigation {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
}

.sub-nav-wrapper {
    width: 1200px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-radius: 10px 10px 0 0;
    background-color: rgba(255, 255, 255, .15);
}

.sm-vertical {
    width: 1px;
    height: 20px;
    background-color: rgba(255, 255, 255, .2);
}

.sub-homebtn {
    color: #fff;
    width: 80px;
    text-align: center;
    font-size: 24px;
}

.sub-navBtn {
    position: relative;
    color: #fff;
    width: 220px;
    padding: 24px;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sub-dropdown {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    border: 1px solid #eee;
    border-top: none;
    background-color: #fff;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, .07);
    display: none;
}

.sub-dropdown li a {
    width: 100%;
    color: #222;
    font-size: 16px;
    padding: 14px 24px;
    display: block;
}

.sub-dropdown li a:hover {
    color: #fff;
    background-color: var(--main-color);
}

.sub-dropdown li:first-child {
    color: #222;
    width: 220px;
    padding: 24px 23px;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: default;
}

.sub-dropdown li:first-child:hover {
    background-color: transparent;
}

.sub-navigation.Fixed {
    position: fixed;
    top: 0; bottom: unset;
    width: 100%;
    transition: width .3s;
    background-color: var(--main-color);
}

.sub-navigation.Fixed .sm-vertical {
    background-color: rgba(255, 255, 255, .5);
}

.sub-navigation.Fixed .sub-nav-wrapper {
    background: var(--main-color);
}

.sub-navigation.Fixed .sub-navBtn,
.sub-navigation.Fixed .sub-homebtn {
    color: #fff;
}


/*==================================================*/
@media (max-width: 1250px) {
    .sub-p-text {
        margin-top: 0;
    }
    
    .sub-homebtn,
    .sm-vertical,
    .sn-1 {
        display: none;
    }

    .sub-nav-wrapper {
        width: 100%;
        border-radius: 0;
    }
    
    .sub-navigation {
        width: 100%;
        bottom: 0;
        box-shadow: none;
        z-index: 98;
    }
    
    .sub-navigation.Fixed {
        top: 85px;
    }

    .sub-navBtn {
        color: #fff;
        width: 100%;
    }

    .sub-navBtn i {
        font-size: 28px;
    }

    .sub-dropdown {
        border: none;
    }

    .sub-dropdown li {
        border-bottom: 1px solid #ddd;
    }
    
    .sub-dropdown li:first-child {
        width: 100%;
        color: #fff;
        font-weight: 700;
        border-bottom: 1px solid #ddd;
        background-color: var(--main-color) !important;
    }
    
    .sub-dropdown li a {
        font-weight: 500;
        padding: 18px 24px;
    }

    .sub-dropdown li a:hover {
        color: #222;
        background-color: #f5f5f5;
    }
}


@media (max-width: 550px) {
    .sub-navBtn,
    .sub-dropdown li:first-child {
        padding: 22px;
        font-size: 16px;
    }

    .sub-dropdown li a {
        font-size: 15px;
    }
    
    .sub-navBtn i {
        font-size: 20px;
    }
}


@media (max-width: 450px) {
    .sub-promotion {
        height: 370px;
    }

    .sub-p-text h5 {
        font-size: 32px;
    }

    .p-route {
        font-size: 14px;
        gap: 5px;
    }
    
    .sub-navBtn,
    .sub-dropdown li:first-child {
        padding: 18px;
    }
    
    .sub-dropdown li a {
        font-size: 13px;
        padding: 18px;
    }

    .sub-navBtn i {
        font-size: 18px;
    }
}