/* ==========================================
   BACK TO TOP BUTTON
   ========================================== */

.back-to-top-btn {
    position: fixed;
    bottom: 25px;
    right: 120px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3B9DD5, #1976D2);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 997;
    box-shadow: 0 4px 12px rgba(59, 157, 213, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    background: linear-gradient(135deg, #7BC043, #558B2F);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(123, 192, 67, 0.5);
}

.back-to-top-btn i {
    transition: transform 0.3s ease;
}

.back-to-top-btn:hover i {
    transform: translateY(-3px);
}

 

/* Mobile Responsive */
@media (max-width: 768px) {
    .back-to-top-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 20px;
        left: 15px;
    }
}

/* Pulse Animation on Appear */
.back-to-top-btn.show {
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

