/* Floating Contact Button Styles */
.opsim-floating-contact {
    position: fixed;
    bottom: 25px; /* Above sticky bar if present */
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #25D366; /* WhatsApp Brand Color */
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.opsim-floating-contact:hover {
    transform: scale(1.1);
    color: #fff;
}

.opsim-floating-contact svg {
    width: 60%;
    height: 60%;
}

/* Ripple/Wave Effect */
.opsim-floating-contact::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0.6;
    animation: opsim-ripple 2s infinite;
}

@keyframes opsim-ripple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(var(--ripple-scale, 1.6));
        opacity: 0;
    }
}



/* Positions */
.opsim-floating-contact.pos-right {
    right: 20px;
}

.opsim-floating-contact.pos-left {
    left: 20px;
}

/* Adjust for mobile sticky bar */
@media (max-width: 991px) {
    .opsim-floating-contact {
        bottom: 75px; /* Safe distance from sticky ATC bar */
    }
}
