/* Call Button Container */
.call-button-container {
    position: fixed;
    z-index: 9999;
    transition: all 0.3s ease;
}

/* WhatsApp Button Container */
.whatsapp-button-container {
    position: fixed;
    z-index: 9998;
    transition: all 0.3s ease;
}

/* Position Classes */
.call-button-bottom-left,
.whatsapp-button-bottom-left {
    bottom: 20px;
    left: 20px;
}

.call-button-bottom-right,
.whatsapp-button-bottom-right {
    bottom: 20px;
    right: 20px;
}

.call-button-top-left,
.whatsapp-button-top-left {
    top: 20px;
    left: 20px;
}

.call-button-top-right,
.whatsapp-button-top-right {
    top: 20px;
    right: 20px;
}

.call-button-middle-left,
.whatsapp-button-middle-left {
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}

.call-button-middle-right,
.whatsapp-button-middle-right {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

/* Base Button Styles */
.call-button,
.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: white;
    border: none;
    cursor: pointer;
}

.call-button:hover,
.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Call Button Styles */
.call-button-style-1 {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
}

.call-button-style-2 {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    background: #007bff;
}

.call-button-style-3 {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    background: #dc3545;
}

.call-button-style-1 .call-button-icon,
.call-button-style-2 .call-button-icon,
.call-button-style-3 .call-button-icon {
    font-size: 24px;
}

/* WhatsApp Button Styles */
.whatsapp-button-style-1 {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
}

.whatsapp-button-style-2 {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    background: #25D366;
}

.whatsapp-button-style-3 {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    background: #25D366;
}

.whatsapp-button-style-1 .whatsapp-button-icon,
.whatsapp-button-style-2 .whatsapp-button-icon,
.whatsapp-button-style-3 .whatsapp-button-icon {
    font-size: 24px;
}

/* Animations */
@keyframes pulse-call {
    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);
    }
}

@keyframes pulse-whatsapp {
    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);
    }
}

.call-button {
    animation: pulse-call 2s infinite;
}

.whatsapp-button {
    animation: pulse-whatsapp 2s infinite;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .call-button-style-1,
    .whatsapp-button-style-1 {
        width: 50px;
        height: 50px;
    }
    
    .call-button-style-2,
    .whatsapp-button-style-2 {
        width: 60px;
        height: 60px;
    }
    
    .call-button-style-3,
    .whatsapp-button-style-3 {
        width: 50px;
        height: 50px;
    }
    
    .call-button-style-1 .call-button-icon,
    .call-button-style-2 .call-button-icon,
    .call-button-style-3 .call-button-icon,
    .whatsapp-button-style-1 .whatsapp-button-icon,
    .whatsapp-button-style-2 .whatsapp-button-icon,
    .whatsapp-button-style-3 .whatsapp-button-icon {
        font-size: 20px;
    }
    
    .call-button-bottom-left,
    .call-button-bottom-right,
    .whatsapp-button-bottom-left,
    .whatsapp-button-bottom-right {
        bottom: 15px;
    }
    
    .call-button-bottom-left,
    .whatsapp-button-bottom-left {
        left: 15px;
    }
    
    .call-button-bottom-right,
    .whatsapp-button-bottom-right {
        right: 15px;
    }
    
    .call-button-middle-left,
    .call-button-middle-right,
    .whatsapp-button-middle-left,
    .whatsapp-button-middle-right {
        transform: translateY(-50%);
    }
}

/* Ensure buttons don't overlap on mobile */
@media (max-width: 480px) {
    .call-button-bottom-left,
    .whatsapp-button-bottom-left {
        bottom: 80px;
        left: 15px;
    }
    
    .call-button-bottom-right,
    .whatsapp-button-bottom-right {
        bottom: 80px;
        right: 15px;
    }
}