/* ======= header-main ====== */
.pc-header,
.header-mobile {
    border-bottom: 1px solid var(--boder-color);
}
.header-main {
    background-color: var(--white-color);
}

.header-left a {
    width: 50px;
    display: block;
}

.header-left img {
    width: 100%;
}

.header-left .slogan p,
.header-left .slogan span {
    color: var(--yellow-color);
}

.header-right span {
    display: inline-block;
    cursor: pointer;
}


/* ======= header-mobile ====== */
.header-mobile .logo {
    width: 110px;
    margin: 0 auto;
}

.header-mobile .logo img{
    width: 100%;
}

.subtitle {
    position: relative;
    font-size: 14px;
    color: var(--second-color);
    text-transform: uppercase;
    font-weight: 400;
    padding-left: 20px;
    margin-bottom: 20px;
}

.subtitle:before {
    content: '\f068';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-weight: 900;
    font-family: var(--fontAwesome);
}

.subtitle.color {
    color: var(--yellow-color);
}

/* ======= menu-mobile ====== */

.menu-mobile {
    top: 0;
    left: -100%;
    height: 100%;
    width: 80%;
    background: #fff;
    z-index: 3;
    transition: all .2s linear;
    position: fixed;
    overflow: scroll;
}

.menu-mobile::-webkit-scrollbar {
    width: 5px;
}

.menu-mobile::-webkit-scrollbar-track {
    background: transparent;
}

.menu-mobile::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

ul.submenu a {
    display: block;
}
.menu-mobile-main a {
    color: var(--text-color);
    font-size: 16px;
    padding: 16px 0;
    border-bottom: 1px dashed #ccc;
}

.menu-mobile .menu-mobile-main li a {
    position: relative;
}

.menu-mobile .menu-mobile-main .parent::before {
    content: '\f054';
    font-family: var(--fontAwesome);
    display: block;
    padding: 10px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
}

.elementBefore::before {
    content: '\f078' !important;
    font-family: var(--fontAwesome);
    display: block;
    padding: 10px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
}

.elementBefore + .submenu {
    display: none;
}

.menu-mobile .menu-mobile-main .submenu {
    margin: 0px 0 0px 20px;
    animation: showSubMenuMobile .3s ease-in-out forwards;
    display: none;
}
.submenu.active {
    display: block !important;
}

.menu-mobile .menu-mobile-main .submenu li {
    list-style: disc;
    margin-left: 20px;
}

.submenu.hiden {
    display: none;
}

@keyframes showSubMenuMobile {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

.showMenu {
    left: 0;
    animation: showMenuMain .3s linear forwards;
    transition: all .3s linear;
}

@keyframes showMenuMain {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.overlay {
    height: 100%;
    width: 100%;
    background: #000000a8;
    top: 0;
    left: -100%;
    opacity: 1;
    position: fixed;
}

.showOverlay {
    z-index: 2;
    left: 0;
    animation: showOverlay .5s ease-in-out forwards;
}

@keyframes showOverlay {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* ====== MENU ===== */
.menu {
    transition: all .3s ease;
}

.menu ul {
    display: flex;
}

.menu ul li a {
    font-size: 16px;
    padding: 8px 22px;
    display: block;
    border-radius: 4px;
    color: var(--text-color);
}

.menu li {
    position: relative;
}

.menu ul li a.active,
.menu ul li a:hover {
    background-color: var(--main-color);
    transition: all .3s;
    color: var(--white-color);
}

/* .menu ul li a:hover {
    background-color: var(--gray-color);
    transition: all .3s;
    color: var(--black-color);
} */

.menu .submenu {
    position: absolute;
    top: 100%;
    background: #ffffff;
    z-index: 2;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    display: flex;
    flex-wrap: wrap;
    min-width: 300px;
    overflow: hidden;
    display: none;
}

.menu .submenu li {
    flex-grow: 1;
}

.menu .submenu li a {
    color: var(--black-color);
    text-transform: capitalize;
}

.menu .submenu li a:hover {
    color: var(--white-color);
}

.menu ul li:hover .submenu {
    display: block;
}


.zalo-btn {
    position: fixed;
    margin: 0;
    padding: 0;
    left: 0;
    bottom: 90px;
    background: #fff;
    background-color: transparent;
    cursor: pointer;
    font-size: 0;
    width: 110px;
    height: 110px;
    z-index: 1000;
}

.call-btn {
    position: fixed;
    margin: 0;
    padding: 0;
    left: 0;
    bottom: 0;
    background: #fff;
    background-color: transparent;
    cursor: pointer;
    font-size: 0;
    width: 110px;
    height: 110px;
    z-index: 1000;
}

.zalo-btn .zoomIn {
    width: 80px;
    height: 80px;
    border: 2px solid var(--zalo-color);
    border-radius: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -40px;
    margin-left: -40px;
    animation-name: zoomIn;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-out;
}

.call-btn .zoomIn {
    width: 80px;
    height: 80px;
    border: 2px solid #db0005;
    border-radius: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -40px;
    margin-left: -40px;
    animation-name: zoomIn;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-out;
}

.zalo-btn .pulse {
    width: 60px;
    height: 60px;
    background: var(--zalo-color);
    opacity: .75;
    border-radius: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -30px;
    margin-left: -30px;
    animation-name: pulse;
    animation-duration: .5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
}

.call-btn .pulse {
    width: 60px;
    height: 60px;
    background: rgba(219, 0, 5, 0.6);
    border-radius: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -30px;
    margin-left: -30px;
    animation-name: pulse;
    animation-duration: .5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
}

.zalo-btn .tada {
    overflow: hidden;
    background: var(--zalo-color);
    border-radius: 100px;
    width: 40px;
    height: 40px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -20px;
    margin-left: -20px;
    animation-name: tadaa;
    animation-duration: .5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.call-btn .tada {
    background: #db0005;
    border-radius: 100px;
    width: 40px;
    height: 40px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -20px;
    margin-left: -20px;
    animation-name: tadaa;
    animation-duration: .5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.call-btn .tada a:before {
    content: "\f095";
    font-size: 20px;
    font-family: var(--fontAwesome);
    text-decoration: none;
    color: #fff;
    margin-left: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.zalo-btn a {
    display: block;
    width: 40px;
}

.zalo-btn img {
    width: 100%;
}

.call-btn .tel {
    position: absolute;
    top: 50%;
    left: 45px;
    color: #fff;
    font-size: 17px;
    width: 180px;
    text-align: center;
    padding-left: 50px;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
    transform: translate(0, -50%);
    line-height: 36px;
    border: 1px solid #fb0309;
    border-radius: 20px;
    background: #fb0309;
    z-index: -1;
    font-weight: 700;
    font-family: Arial;
    text-shadow: 1px 1px 2px #5f5f5f;
}

@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1);
    }

    100% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
}

.pulse {
    -webkit-animation-name: pulse;
    animation-name: pulse;
}

.call-btn.call-tow {
    bottom: 90px;
}

.call-btn.call-tow .pulse {
    background: rgba(1, 131, 70, 0.6);
}

.call-btn.call-tow .tel {
    background: rgba(1, 131, 70, 0.8);
    border-color: rgba(1, 131, 70, 0.6);
}

.call-btn.call-tow .tada {
    background: rgba(1, 131, 70, 1);
}

.call-btn.call-tow .zoomIn {
    border: 2px solid #02a546;
}

.backtop {
    position: fixed;
    right: 0;
    bottom: 90px;
    z-index: 5;
    right: 30px;
    display: none;
}

.pc-header.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 3px 15px rgba(0,0,0,.1);
    animation: showMenuFiexd .3s ease-out;
    background-color: var(--white-color);
}

@keyframes showMenuFiexd {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0px);
    }
}

footer {
    border-top: 8px dashed var(--main-color);
    padding: 30px 0;
    background-image: url('../img/footer-bg-1-1.jpg');
    background-position: center;
    background-size: cover;
}

.footer-main {
    background-color: var(--white-color);
    border-radius: 8px;
    padding: 20px;
}

.footer-main h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-item {
    font-size: 16px;
}

.contact-item span {
    color: var(--main-color);
}

.footer-social {
    border-top: 1px solid #f2f4f7;
    padding-top: 20px;
    font-size: 16px;
}

.footer-social ul {
    display: flex;
    align-items: center;
}

.footer-social ul li a {
    color: var(--main-color);
    font-size: 16px;
    display: inline-flex;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    border: 1px dashed;
    align-items: center;
    justify-content: center;
}


.footer-social ul li:nth-child(2n) a {
    margin: 0 10px;
}

.footer-social ul li:last-child a {
    margin-right: 0;
}