﻿/* ===============================
   Floating Contact Buttons
================================= */

.floating-buttons {
    position: fixed;
    right: 25px;
    bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}


/* Common Button Style */
.floating-buttons a {
    position: relative;
    width: auto;
    min-width: 150px;
    height: 55px;
    padding: 0 20px;
    border-radius: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 5px 18px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
    overflow: visible;
}


/* Icon */
.floating-buttons i {
    font-size: 24px;
}


/* WhatsApp Button */
.whatsapp-btn {
    background: #25D366;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
    transform: translateY(-5px);
}


/* Call Button */
.call-btn {
    background: #007bff;
}

.call-btn:hover {
    background: #0056b3;
    transform: translateY(-5px);
}


/* Button Text */
.whatsapp-btn::after {
    content: "WhatsApp";
}

.call-btn::after {
    content: "Call Now";
}


/* Pulse Animation */
.floating-buttons a::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    animation: pulse 2s infinite;
    z-index: -1;
}


.whatsapp-btn::before {
    background: rgba(37,211,102,0.4);
}

.call-btn::before {
    background: rgba(0,123,255,0.4);
}


@keyframes pulse {

    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }

}



/* ===============================
        Mobile Responsive
================================= */

@media(max-width:768px){

    .floating-buttons {
        right: 12px;
        bottom: 18px;
        gap: 10px;
    }


    /* Circle Buttons */
    .floating-buttons a {
        width: 45px;
        min-width: 45px;
        height: 45px;
        padding: 0;
        border-radius: 50%;
        font-size: 20px;
    }


    /* Hide Text */
    .floating-buttons a::after {
        display: none;
    }


    .floating-buttons i {
        font-size: 21px;
    }


    /* Pulse Size */
    .floating-buttons a::before {
        border-radius: 50%;
    }

}