.voltwey-floating-widget {
    position: fixed;
    bottom: 80px;
    right: 30px;
    z-index: 99999;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-family: 'Outfit', 'Inter', sans-serif;
    pointer-events: none;
}

.voltwey-floating-widget .floating-btn {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    animation: voltweyFadeInLeft 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
    position: relative;
    overflow: hidden;
}


.voltwey-floating-widget .btn-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
}

.voltwey-floating-widget .btn-circle svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
    transition: transform 0.3s ease;
}


.voltwey-floating-widget .whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    animation-delay: 0.1s;
}

.voltwey-floating-widget .whatsapp-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    animation: waGlowPulse 2s infinite;
    pointer-events: none;
}


.voltwey-floating-widget .call-btn {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    animation-delay: 0.2s;
}

.voltwey-floating-widget .call-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(56, 239, 125, 0.6);
    animation: callGlowPulse 2.2s infinite;
    pointer-events: none;
}

.voltwey-floating-widget .join-us-btn {
    background: linear-gradient(135deg, #339747 0%, #e64023 100%);
    padding: 12px 24px;
    border-radius: 50px;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation-delay: 0.3s;
    box-shadow: 0 8px 30px rgba(51, 151, 71, 0.25);
}

.voltwey-floating-widget .join-us-btn svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
    transition: transform 0.3s ease;
}


.voltwey-floating-widget .floating-btn:hover {
    transform: translateY(-5px) scale(1.06);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.voltwey-floating-widget .whatsapp-btn:hover {
    background: linear-gradient(135deg, #2ae771 0%, #16a090 100%);
}

.voltwey-floating-widget .whatsapp-btn:hover svg {
    transform: rotate(15deg) scale(1.1);
}

.voltwey-floating-widget .call-btn:hover {
    background: linear-gradient(135deg, #13ab9f 0%, #4cfa8d 100%);
}

.voltwey-floating-widget .call-btn:hover svg {
    transform: scale(1.1) rotate(-10deg);
}

.voltwey-floating-widget .join-us-btn:hover {
    background: linear-gradient(135deg, #3bb353 0%, #f65337 100%);
    box-shadow: 0 12px 35px rgba(230, 64, 35, 0.35);
}

.voltwey-floating-widget .join-us-btn:hover svg {
    transform: translateX(3px);
}



/* Animations */
@keyframes voltweyFadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px) translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

@keyframes waGlowPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
        opacity: 1;
    }

    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
        opacity: 0.5;
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        opacity: 0;
    }
}

@keyframes callGlowPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(56, 239, 125, 0.6);
        opacity: 1;
    }

    70% {
        box-shadow: 0 0 0 12px rgba(56, 239, 125, 0);
        opacity: 0.5;
    }

    100% {
        box-shadow: 0 0 0 0 rgba(56, 239, 125, 0);
        opacity: 0;
    }
}

/* ==========================================================================
   RESPONSIVE LAYOUT FOR MOBILE DEVICES (Portrait & Landscape)
   ========================================================================== */
@media (max-width: 768px) {
    .voltwey-floating-widget {
        bottom: 125px;
        left: 16px;
        right: 16px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        background: rgba(20, 20, 20, 0.75);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 10px 14px;
        border-radius: 40px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
        pointer-events: auto;
        /* The entire bar acts as a container on mobile */
    }

    .voltwey-floating-widget .floating-btn {
        animation: none;
        /* Disable animations on mobile to save performance */
        box-shadow: none;
        /* Box shadow moves to the outer container bar */
    }

    /* Scaling buttons slightly for mobile space conservation */
    .voltwey-floating-widget .btn-circle {
        width: 44px;
        height: 44px;
    }

    .voltwey-floating-widget .btn-circle svg {
        width: 20px;
        height: 20px;
    }

    .voltwey-floating-widget .join-us-btn {
        padding: 10px 18px;
        font-size: 12px;
        gap: 8px;
        flex-grow: 1;
        justify-content: center;
        box-shadow: none;
    }

    .voltwey-floating-widget .join-us-btn svg {
        width: 15px;
        height: 15px;
    }

    /* Make sure back-to-top button on mobile goes slightly higher so it doesn't cover the dock */
    #back-to-top.show {
        bottom: 90px !important;
        right: 16px !important;
    }
}