/* Phone Call Button Styles */
#call-button {
    position: fixed;
    bottom: 30px; /* Same level as chatbot on desktop */
    left: 30px; /* Position on LEFT side (opposite of chatbot) */
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    z-index: 10000;
    display: flex; /* Always flex */
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0; /* Hide initially during loading */
    visibility: hidden;
    transform: scale(0.8);
}

/* Show call button after loading */
#call-button.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

#call-button.show:hover {
    transform: translateY(-3px) scale(1);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669, #047857);
}

#call-button.show:active {
    transform: translateY(-1px) scale(1);
}

#call-button i {
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
}

#call-button:hover i {
    transform: scale(1.1);
}

/* Animation for call button */
@keyframes pulse-call {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3), 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    50% {
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3), 0 0 0 10px rgba(16, 185, 129, 0);
    }
}

#call-button.pulse {
    animation: pulse-call 2s infinite;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #call-button {
        width: 60px;
        height: 60px;
        bottom: 90px; /* Above back to top button */
        left: 30px; /* Keep on LEFT side */
    }
    
    #call-button i {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    #call-button {
        width: 55px;
        height: 55px;
        bottom: 85px; /* Above back to top button */
        left: 25px; /* Keep on LEFT side */
    }
    
    #call-button i {
        font-size: 22px;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    #call-button {
        bottom: 90px;
        left: 30px; /* Keep on LEFT side */
    }
}
