.gradient-primary {
    background: linear-gradient(135deg, #1a2a6c 0%, #1e3a8a 100%);
}
.float-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;

    /* Bounce animation */
    animation: whatsapp-bounce 2s ease-in-out infinite;
    transform-origin: center bottom;

    /* keep it clean */
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}

/* icon inside – replicate .my-float-whatsapp margin-top:16px;
   but we use flex centering, so we adapt: we keep the class but override with flex */
.float-whatsapp .my-float-whatsapp {
    margin-top: 0;        /* override original margin-top:16px; we want perfect center */
    font-size: 36px;      /* slightly bigger for better proportion */
    line-height: 1;
    color: #FFF;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* hover effect */
.float-whatsapp:hover {
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.4);
    transform: scale(1.05);
    animation-play-state: paused;  /* stop bouncing on hover – cleaner UX */
}
@keyframes whatsapp-bounce {
    0%, 100% {
        transform: translateY(0) scale(1);
        animation-timing-function: ease-out;
    }
    15% {
        transform: translateY(-18px) scale(1.04);
        animation-timing-function: ease-in;
    }
    30% {
        transform: translateY(-6px) scale(1.02);
        animation-timing-function: ease-out;
    }
    45% {
        transform: translateY(-12px) scale(1.03);
        animation-timing-function: ease-in;
    }
    60% {
        transform: translateY(-2px) scale(1.01);
        animation-timing-function: ease-out;
    }
    80% {
        transform: translateY(-6px) scale(1.02);
        animation-timing-function: ease-in;
    }
    95% {
        transform: translateY(0) scale(1);
        animation-timing-function: ease-out;
    }
}
@media (max-width: 600px) {
    .float-whatsapp {
        width: 56px;
        height: 56px;
        bottom: 24px;
        right: 24px;
        font-size: 26px;
    }

    .float-whatsapp .my-float-whatsapp {
        font-size: 32px
    }
}