/* ===================================
   FLOATING WHATSAPP BUTTON (Left Side)
   =================================== */

.whatsapp-float {
    position: fixed;
    bottom: 10px;
    left: 10px;
    z-index: 9999;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 0;
    text-decoration: none;
}

/* Tooltip label */
.whatsapp-float .wa-tooltip {
    background: #25D366;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 0 24px 24px 0;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    box-shadow: 4px 0 16px rgba(37, 211, 102, 0.25);
    letter-spacing: 0.3px;
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Main circle button */
.whatsapp-float .wa-btn {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.whatsapp-float:hover .wa-btn {
    transform: scale(1.1);
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* WhatsApp SVG icon */
.whatsapp-float .wa-btn svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
    position: relative;
    z-index: 1;
}

/* Pulse ring animation */
.whatsapp-float .wa-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: wa-pulse 2.2s ease-out infinite;
}

.whatsapp-float .wa-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.2);
    animation: wa-pulse 2.2s ease-out infinite 0.6s;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

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

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* ===================================
   FLOATING INSTAGRAM BUTTON (Right Side)
   =================================== */

.instagram-float {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
}

/* Tooltip label */
.instagram-float .ig-tooltip {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 24px 0 0 24px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    box-shadow: -4px 0 16px rgba(131, 58, 180, 0.25);
    letter-spacing: 0.3px;
}

.instagram-float:hover .ig-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Main circle button */
.instagram-float .ig-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(131, 58, 180, 0.45), 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.instagram-float:hover .ig-btn {
    transform: scale(1.1);
    box-shadow: 0 10px 32px rgba(131, 58, 180, 0.6), 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Instagram SVG icon */
.instagram-float .ig-btn svg {
    width: 30px;
    height: 30px;
    fill: #ffffff;
    position: relative;
    z-index: 1;
}

/* Pulse ring animation */
.instagram-float .ig-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(131, 58, 180, 0.4);
    animation: ig-pulse 2.2s ease-out infinite 0.3s;
}

.instagram-float .ig-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(253, 29, 29, 0.2);
    animation: ig-pulse 2.2s ease-out infinite 0.9s;
}

@keyframes ig-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

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

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Mobile: smaller buttons */
@media (max-width: 600px) {
    .whatsapp-float {
        bottom: 18px;
        left: 16px;
    }

    .whatsapp-float .wa-btn {
        width: 52px;
        height: 52px;
    }

    .whatsapp-float .wa-btn svg {
        width: 26px;
        height: 26px;
    }

    .instagram-float {
        bottom: 18px;
        right: 16px;
    }

    .instagram-float .ig-btn {
        width: 52px;
        height: 52px;
    }

    .instagram-float .ig-btn svg {
        width: 24px;
        height: 24px;
    }
}