/* =========================================================
   FLOATING WHATSAPP BUTTON
   Advisor Worldwide
========================================================= */

/* ========== MAIN BUTTON ========== */
.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9998;

    width: 60px;
    height: 60px;
    border-radius: 50%;

    background: #25D366;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, .40);

    transition: all .3s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    background: #1ebe5b;
    transform: scale(1.10);
    box-shadow: 0 10px 30px rgba(37, 211, 102, .55);
}

.whatsapp-float i {
    font-size: 30px;
    line-height: 1;
}

/* ========== PULSE ANIMATION ========== */
@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ========== TOOLTIP ========== */
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);

    background: #04101d;
    color: #fff;

    padding: 8px 14px;
    border-radius: 6px;

    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;

    opacity: 0;
    visibility: hidden;

    transition: all .3s ease;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #04101d;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 80px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

/* Tablet */
@media(max-width: 800px) {
    .whatsapp-float {
        width: 56px;
        height: 56px;
        right: 20px;
        bottom: 20px;
    }
    .whatsapp-float i {
        font-size: 28px;
    }
}

/* Mobile */
@media(max-width: 600px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        right: 18px;
        bottom: 18px;
    }
    .whatsapp-float i {
        font-size: 26px;
    }
    .whatsapp-tooltip {
        display: none;
    }
}

/* Small mobile */
@media(max-width: 400px) {
    .whatsapp-float {
        width: 48px;
        height: 48px;
        right: 15px;
        bottom: 15px;
    }
    .whatsapp-float i {
        font-size: 24px;
    }
}