/* Floating Button Styles */
.whatsapp-float {
    position: fixed !important;
    width: 60px;
    height: 60px;
    bottom: 100px !important;
    left: 20px !important;
    right: auto !important;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 3px 3px 5px #666;
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-float i {
    color: white;
    font-size: 30px;
}

.whatsapp-float svg {
    color: white;
    width: 30px;
    height: 30px;
}

/* Pulse animation for attention */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float.pulse {
    animation: pulse 2s infinite;
}

/* Responsive design */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 90px !important;
        left: 15px !important;
        right: auto !important;
        font-size: 25px;
    }
    
    .whatsapp-float i {
        font-size: 25px;
    }
    
    .whatsapp-float svg {
        width: 25px;
        height: 25px;
    }
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: #333;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Phone Floating Button Styles */
.phone-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    left: 20px;
    background-color: #007bff;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.phone-float:hover {
    background-color: #0056b3;
    transform: scale(1.1);
    box-shadow: 3px 3px 5px #666;
}

.phone-float:active {
    transform: scale(0.95);
}

.phone-float svg {
    color: white;
    width: 30px;
    height: 30px;
}

/* Phone button pulse animation */
@keyframes phone-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

.phone-float.pulse {
    animation: phone-pulse 2s infinite;
}

/* Phone button responsive design */
@media (max-width: 768px) {
    .phone-float {
        width: 55px;
        height: 55px;
        bottom: 15px;
        left: 15px;
        font-size: 25px;
    }
    
    .phone-float svg {
        width: 25px;
        height: 25px;
    }
}

/* Phone tooltip */
.phone-tooltip {
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.phone-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: #333;
}

.phone-float:hover .phone-tooltip {
    opacity: 1;
    visibility: visible;
}
