.footer {
    background-image: url(../images/bg/footer.png);
    position: relative;
    padding: 50px 0 20px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.footer-title {
    position: relative;
    padding-bottom: 30px;
}

.footer-title .title {
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    position: relative;
    padding-left: 25px;
}

.footer-title .title:before {
    position: absolute;
    content: " ";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-left: 5px solid #fff;
}



.footer-contact {
    position: relative;
}

.footer-contact .title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-contact i {
    color: #fff;
    font-size: 18px;
    margin-right: 10px;
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-social {
    position: relative;
    padding-top: 20px;
    border-top: 1px solid rgb(255 255 255 / 30%);
}

.footer-social ul {
    display: flex;
    margin-bottom: 0;
    padding-left: 0;
    /* position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); */
}

.footer-social ul li {
    list-style: none;
}

.footer-social ul li a {
    width: 70px;
    height: 40px;
    background-color: #ffffff00;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    margin: 0px 0px 0 5px;
    display: block;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 30%);
    z-index: 1;
}

.footer-social ul li a .icon {
    position: relative;
    color: #fff;
    transition: .5s;
    z-index: 3;
}

.footer-social ul li a:hover .icon {
    color: #fff;
    transform: rotateY(360deg);
}

.footer-social ul li a:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f00;
    transition: .5s;
    z-index: 2;
}

.footer-social ul li a:hover:before {
    top: 0;
}

.footer-social ul li:nth-child(1) a:before {
    background: #06c755;
}

.footer-social ul li:nth-child(2) a:before {
    background: #3b5999;
}



.copyright {
    position: relative;
    background: var(--primary);
    padding: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.copyright::before {
    position: absolute;
    right: 0;
    top: 0;
    width: 55%;
    height: 100%;
    content: "";
    background: var(--secondary);
    -webkit-clip-path: polygon(5% 0, 100% 0, 100% 100%, 0% 100%);
    clip-path: polygon(5% 0, 100% 0, 100% 100%, 0% 100%);
}

.copyright a {
    color: #fff;
}

.copyright a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .footer-title .title {
        font-size: 20px;
    }

    .copyright::before {
        -webkit-clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
        clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    }
}







@media (max-width: 789px) {
    #back-to-top {
        cursor: pointer;
        right: 0;
        display: block !important;
        width: 100%;
        background-color: #272a31;
        color: #fff;
        text-align: center;
        font-size: 14px;
        line-height: 21px;
        font-weight: 500;
        padding: 8px 5px 14px;
        letter-spacing: 0.02em;
        -moz-transition: background 0.3s linear;
        -o-transition: background 0.3s linear;
        -webkit-transition: background 0.3s linear;
        transition: background 0.3s linear;
        transition: all 0.2s linear;
        -ms-transition: all 0.2s linear;
        -webkit-transition: all 0.2s linear;
        -o-transition: all 0.2s linear
    }

    #section-footer {
        padding: 0px 0px;
    }

    #back-to-top .icon {
        font-size: 24px;
        position: relative;
        top: 3px;
        margin-right: 2px
    }

    #back-to-top:hover {
        background: #282364;
        color: #fff
    }
}

@media (max-width: 789px) and (max-width: 767px) {
    #back-to-top {
        display: block
    }
}

@media (min-width: 789px) {
    #back-to-top {
        cursor: pointer;
        /*display: none;*/
        opacity: 0;
        position: fixed;
        right: 0;
        bottom: 10%;
        z-index: 6;
        width: 62px;
        height: 62px;
        font-size: 39px;
        line-height: 39px;
        background-color: #272a31;
        color: #fff;
        text-align: center;
        -moz-transition: background 0.3s linear;
        -o-transition: background 0.3s linear;
        -webkit-transition: background 0.3s linear;
        transition: background 0.3s linear;
        backface-visibility: hidden -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    #back-to-top .icon {
        font-size: 39px;
        line-height: 39px;
        position: relative;
        top: 10px;
        backface-visibility: hidden;
        transition: all 0.2s linear;
        -ms-transition: all 0.2s linear;
        -webkit-transition: all 0.2s linear;
        -o-transition: all 0.2s linear
    }

    #back-to-top .text {
        display: none;
    }

    #back-to-top:hover {
        background: #282364;
        color: #fff
    }

    #back-to-top span {
        color: #fff
    }


    #back-to-top.show {
        /*display: block;*/
        opacity: 1;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
}

@media (min-width: 789px) and (max-width: 789px) {
    #back-to-top {
        /*display: none !important*/
    }
}