/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #3a5f4c;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(58, 95, 76, 0.3);
    pointer-events: none;
}

.scroll-to-top.visible {
    pointer-events: all;
}

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

.scroll-to-top:hover {
    background: #2d4a3a;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(58, 95, 76, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(58, 95, 76, 0.3);
}

.scroll-to-top::before {
    content: '↑';
    font-size: 28px;
    line-height: 1;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .scroll-to-top::before {
        font-size: 24px;
    }
}
