/* ----------------------------------------
   START: Back to Top CSS
---------------------------------------- */

.back-to-top-wrapper {
    position: fixed;
    right: 60px;
    bottom: 0;
    display: block;
    border-radius: 50%;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

/* Show state */
.back-to-top-btn-show {
    visibility: visible;
    opacity: 1;
    bottom: 60px;
}

.back-to-top-btn-show:hover {
    transform: translateY(-6px);
}

.back-to-top-btn-show:hover .back_to_top_icon i {
    transform: translateY(-40px) rotate(-90deg);
}

/* Button */
.back-to-top-btn {
    border: none;
    outline: none;
    color: var(--color-heading-primary);
    line-height: 1;
    font-weight: var(--fw-sbold);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: none;
    padding: 0;
}

/* Icon */
.back-to-top-btn .back_to_top_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    font-size: 18px;
    color: var(--color-common-white);
    background-color: var(--blue-color);
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.back-to-top-btn .back_to_top_icon i {
    display: inline-block;
    transition: all 0.4s ease-in-out;
}

.back-to-top-btn .back_to_top_icon i::after {
    content: "";
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: currentColor;
    mask-image: inherit;
    -webkit-mask-image: inherit;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}

/* Text */
.back-to-top-btn .back_to_top_text {
    color: var(--heading-color);
    font-weight: var(--fw-medium);
    line-height: 1;
    letter-spacing: 0;
    text-align: right;
    writing-mode: vertical-lr;
    transform: scale(-1);
}

/* -------------------------
   Responsive
------------------------- */

/* XL */
@media (max-width: 1399px) {
    .back-to-top-btn-show {
        right: 50px;
    }
}

/* LG + MD */
@media (max-width: 1199px) {
    .back-to-top-wrapper {
        right: 45px;
    }

    .back-to-top-btn-show {
        right: 30px;
        bottom: 30px;
    }
}

/* SM + XS */
@media (max-width: 767px) {
    .back-to-top-wrapper {
        right: 15px;
    }

    .back-to-top-btn-show {
        bottom: 25px;
    }

    .back-to-top-btn .back_to_top_text {
        display: none;
    }
}
.icon_arrow-up{
    mask-image: url(../img/icons/arrow-right.svg);
    transform: rotate(-90deg);
}
/* ----------------------------------------
   END: Back to Top CSS
---------------------------------------- */