/* whatsapp chat icon start */
/* WhatsApp */
.floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

/* Main Button */
.cta-main {
    width: 50px;
    height: 50px;
    background: #15b800;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.cta-main:hover {
    transform: rotate(90deg) scale(1.1);
}

/* Options Container */
.cta-options {
    position: absolute;
    bottom: 65px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: 0.3s;
}

/* Show state */
.floating-cta.active .cta-options {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Individual Buttons */
.cta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 30px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
}

/* Colors */
.cta-item.whatsapp {
    background: #25D366;
}

.cta-item.call {
    background: #2c3c87;
}

.cta-item.demo {
    background: #ff6b35;
}

/* Hover */
.cta-item:hover {
    transform: translateX(-5px);
}

/* Icons */
.cta-item i {
    font-size: 16px;
}

/* Back to top (placed above WhatsApp) */
#backToTopBtn {
    position: fixed;
    bottom: 85px;
    /* above WhatsApp */
    right: 20px;
    width: 48px;
    height: 48px;
    background: #2c3c87;
    color: #fff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 998;
    transition: 0.3s;
}

#backToTopBtn:hover {
    background: #419d18;
    transform: translateY(-3px);
}

/* Optional pulse (keep subtle) */
.whatsapp-float::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #25D366;
    border-radius: 50%;
    opacity: 0.4;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    70% {
        transform: scale(1.5);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* back to top end */