footer {
    background: var(--bgMenu);
}

/*hình ảnh salon*/

.xa-salon-img {
    background-image: url(../images/background-mot-so-hinh-anh.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
    height: 335px;
    text-align: center;
    padding: 3rem 0;
}

.xa-salon-img .xa-title {
    color: var(--xaWhite);
    justify-content: center;
    margin-bottom: 0.5rem;
    padding: 0;
}

.xa-salon-img p {
    color: var(--xaWhite);
    margin-bottom: 2rem;
    font-style: italic;
}

.xa-lazy-salon {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.xa-lazy-salon .xa-box {
    flex-basis: 24%;
}

.xa-lazy-salon .xa-box .xa-item {
    display: inline-block;
    width: 100%;
    padding: 1rem;
}

.xa-lazy-salon .xa-box img {
    height: 192px;
}

.xa-lazy-salon .slick-prev {
    left: 20px !important;
    z-index: 10;
}

.xa-lazy-salon .slick-next {
    right: 20px !important;
    z-index: 10;
}


.xa-footer .xa-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-bottom: 2rem;
}

.xa-footer .xa-container .xa-box {
    flex-basis: 40%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    text-transform: capitalize;
}

.xa-footer .xa-container .xa-page {
    flex-basis: 30%;
}

.xa-footer .xa-container .xa-box-mxh {
    flex-basis: 25%;
}

.xa-footer .xa-box h2 {
    color: var(--xaRed);
    margin-bottom: 1rem;
}

.xa-footer .xa-box .xa-item {
    flex-basis: 100%;
    margin-top: 2rem;
}

.xa-footer .xa-box .xa-item span, footer .xa-box .xa-item strong {
    color: var(--xaWhite);
}

.xa-footer .xa-box .xa-item i {
    color: var(--xaRed);
    margin-right: 0.2rem;
}

.xa-footer .xa-box .xa-item a {
    color: var(--xaWhite);
}

.xa-footer .xa-box .xa-mxh i {
    display: inline-block;
    font-size: 2rem !important;
    border-radius: 50%;
    background: var(--xaWhite);
}

.xa-footer .xa-box .xa-mxh a {
    display: inline-block;
    cursor: pointer;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.xa-footer .xa-box .xa-mxh a:hover {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

.xa-footer .fa-facebook-f {
    color: var(--xaBlueA) !important;
    margin-right: 1.5rem !important;
    padding: 5px 9px;
    border-radius: 50%;
}

.xa-footer .fa-youtube {
    color: var(--xaRed) !important;
    margin-right: 1.5rem !important;
    padding: 5px 4px;
    border-radius: 50%;
}

.xa-footer .fa-tiktok {
    color: var(--xaRedHover) !important;
    margin-right: 1.5rem !important;
    padding: 5px 7px;
    border-radius: 50%;
}

.xa-footer .xa-box a:hover {
    color: var(--xaRed) !important;
}

.xa-footer .xa-page .xa-item:first-child {
    flex-basis: 100%;
}

.xa-footer .xa-page .xa-item {
    flex-basis: auto;
}

.xa-footer .xa-bb {
    border-top: 1px solid var(--xaWhite);
    text-align: center;
    padding: 2rem 0;
}

.xa-bb i {
    margin-right: 0.3rem;
    color: var(--xaWhite);
}

.xa-bb span {
    color: var(--xaBreadcrumb);
}

.xa-bb strong, .xa-bb a {
    color: var(--xaWhite);
    font-weight: 600;
}

.xa-bb a:hover {
    color: var(--xaRed);
}

/*nút gọi điện*/
.contact-box {
    position: fixed;
    bottom: 5px;
    z-index: 100;
}

@keyframes img-phone {
    0% {
        transform: rotate(0) scale(1) skew(1deg);
    }
    10% {
        transform: rotate(-25deg) scale(1) skew(1deg);
    }
    20% {
        transform: rotate(25deg) scale(1) skew(1deg);
    }
    30% {
        transform: rotate(-25deg) scale(1) skew(1deg);
    }
    40% {
        transform: rotate(25deg) scale(1) skew(1deg);
    }
    50% {
        transform: rotate(0) scale(1) skew(1deg);
    }
    100% {
        transform: rotate(0) scale(1) skew(1deg);
    }
}

.kh-phone {
    position: relative;
    visibility: visible;
    background-color: transparent;
    width: 90px;
    height: 90px;
    cursor: pointer;
    z-index: 11;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: visibility .5s;
    left: 0;
    bottom: 0;
    display: block;
}

@keyframes zoomEffect {
    0% {
        transform: scale(.9)
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent
    }
    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 transparent
    }
}

.phone-box {
    width: 65px;
    height: 65px;
    top: 12px;
    left: 12px;
    position: absolute;
    background-color: var(--xaRed);
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-animation: zoomEffect 1.3s infinite;
    animation: zoomEffect 1.3s infinite;
    opacity: .7;
    box-shadow: 0 0 0 0 var(--xaRed);
}

.img-phone {
    background-color: var(--xaRed);
    width: 40px;
    height: 40px;
    line-height: 40px;
    top: 25px;
    left: 25px;
    position: absolute;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    -webkit-animation: img-phone 1s infinite ease-in-out;
    animation: img-phone 1s infinite ease-in-out;
}

.img-phone a {
    display: block;
    line-height: 37px;
}

.img-phone img {
    max-height: 25px;
    max-width: 27px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}

/*chat zalo*/
.kh-zalo {
    position: relative;
    visibility: visible;
    background-color: transparent;
    width: 90px;
    height: 90px;
    cursor: pointer;
    z-index: 11;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: visibility .5s;
    left: 0;
    bottom: 0;
    display: block;
}

.kh-zalo .phone-box {
    box-shadow: 0 0 0 0 #2196f3;
    background-color: rgba(33,150,243,.9);
}

.kh-zalo .img-phone {
    background-color: #2196f3;
}

/*chat messenger fb*/
.kh-fbm {
    position: relative;
    visibility: visible;
    background-color: transparent;
    width: 90px;
    height: 90px;
    cursor: pointer;
    z-index: 11;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: visibility .5s;
    left: 0;
    bottom: 0;
    display: block;
}

.kh-fbm .phone-box {
    box-shadow: 0 0 0 0 #2196f3;
    background-color: rgba(33,150,243,.9);
}

.kh-fbm .img-phone {
    background-color: #2196f3;
}

.kh-fbm .img-phone img {
    max-height: 45px;
    max-width: 40px;
}

@media only screen and (max-width: 1230px) {
    footer {
        padding: 2rem 1.5rem 0;
    }

    footer .xa-container {
        padding: 0 0.5rem;
    }
}

@media only screen and (max-width: 991px) {
    .xa-footer .xa-box h2 {
        margin-bottom: 0;
    }

    .xa-footer .xa-container .xa-box {
        flex-basis: 49%;
    }

    .xa-footer .xa-container .xa-box-mxh {
        flex-basis: 100%;
    }
}

@media only screen and (max-width: 768px) {
    .xa-footer .xa-box .xa-item {
        margin-top: 1.5rem;
    }

    /*hình ảnh salon*/
    .xa-salon-img {
        height: 290px;
    }

    .xa-lazy-salon .xa-box img {
        height: 150px;
    }

    /*thông tin*/
    .xa-footer .xa-container .xa-box {
        flex-basis: 100%;
        margin-bottom: 1rem;
    }

    .xa-footer .xa-container .xa-page {
        flex-direction: column;
        align-items: flex-start;
    }

    .xa-footer .xa-container {
        padding-bottom: 1rem;
    }

    .xa-footer .xa-bb {
        padding: 1rem 0;
    }
}

@media only screen and (max-width: 576px) {
    footer {
        padding: 2rem 1rem 0;
    }

    /*hình ảnh salon*/
    .xa-salon-img {
        height: 310px;
    }

    /*truyền thông*/
    .media {
        padding: 15px 10px;
    }

    .media .container {
        padding: 0;
    }
}

@media only screen and (max-width: 480px) {
    /*liên hệ khách hàng*/
    .contact-box {
        right: 0;
    }

    .kh-zalo, .kh-phone, .kh-fbm {
        height: 75px;
    }
}

@media only screen and (max-width: 420px) {
    /*hình ảnh salon*/
    .xa-lazy-salon .xa-box img {
        height: 115px;
    }

    .xa-salon-img {
        height: 275px;
    }

    .xa-salon-img h2 {
        font-size: 1.6rem;
    }

    .xa-salon-img p {
        margin-bottom: 1.5rem;
    }
}

@media only screen and (max-width: 360px) {
    /*hình ảnh salon*/
    .xa-lazy-salon .xa-box img {
        height: 102px;
    }

    .xa-salon-img h2 {
        font-size: 1.5rem;
    }
}

