/* Enhanced Scroll to Top Button with Progress Indicator */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    border-radius: 50%;
    /* Add progress circle */
    background: conic-gradient(var(--karate-red) 0deg, #333 0deg);
}

.scroll-to-top::before {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background-color: var(--karate-black);
    z-index: -1;
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.5);
}

.scroll-to-top i {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
    transition: transform 0.3s;
    color: #fff;
}

.scroll-to-top:hover i {
    transform: translateY(-3px);
}