/* =================================
   SCROLL TO TOP
================================= */

#scroll-top {
    position: fixed;

    right: 30px;
    bottom: 30px;

    width: 52px;
    height: 52px;

    border: none;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        #0d6efd,
        #198754
    );

    color: #fff;

    font-size: 1rem;

    cursor: pointer;

    box-shadow:
        0 10px 30px rgba(13, 110, 253, 0.3);

    opacity: 0;
    visibility: hidden;

    transform: translateY(20px);

    transition: 0.35s ease;

    z-index: 900;
}

#scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scroll-top:hover {
    transform: translateY(-5px);
}


/* =================================
   FLOATING WHATSAPP
================================= */

.floating-whatsapp {
    position: fixed;

    left: 30px;
    bottom: 30px;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 14px 20px;

    border-radius: 50px;

    background: linear-gradient(
        135deg,
        #25d366,
        #128c7e
    );

    color: #fff;

    text-decoration: none;

    font-weight: 700;

    box-shadow:
        0 10px 30px rgba(18, 140, 126, 0.3);

    z-index: 900;

    transition: 0.3s ease;
}

.floating-whatsapp:hover {
    color: #fff;

    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(18, 140, 126, 0.4);
}

.floating-whatsapp i {
    font-size: 1.4rem;
}

/* =================================
   FLOATING BUTTONS RESPONSIVE
================================= */

@media (max-width: 576px) {

    #scroll-top {
        width: 46px;
        height: 46px;

        right: 15px;
        bottom: 20px;
    }

    .floating-whatsapp {
        width: 50px;
        height: 50px;

        left: 15px;
        bottom: 18px;

        padding: 0;

        justify-content: center;

        border-radius: 50%;
    }

    .floating-whatsapp span {
        display: none;
    }

    .floating-whatsapp i {
        font-size: 1.5rem;
    }

}