.whatsapp-fab {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgb(0 0 0 / 0.2);
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.whatsapp-fab:hover #fab-whatsapp {
    transform: scale(1.1);
}
.whatsapp-fab svg {
    width: 100%;
    height: 100%;
    fill: #fff;
}
.whatsapp-popup {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 350px;
    max-width: 90%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgb(0 0 0 / 0.3);
    display: none;
    flex-direction: column;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.whatsapp-popup.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}
.popup-header {
    background-color: #075e54;
    color: #fff;
    padding: 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-size: 16px;
    font-weight: 700;
}
.popup-chat {
    padding: 20px;
    background-image: url("images/page/Zain Jaffari.webp");
    background-size: contain;
    flex-grow: 1;
    min-height: 150px;
}
.chat-message {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}
.chat-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
}
.chat-bubble {
    background-color: #e1f5fe;
    padding: 10px 15px;
    border-radius: 7.5px;
    max-width: 80%;
    box-shadow: 0 1px 1px rgb(0 0 0 / 0.1);
}
.chat-bubble p {
    margin: 0;
    font-size: 14px;
}
.chat-bubble .message-time {
    font-size: 11px;
    color: #888;
    text-align: right;
    margin-top: 5px;
}
.popup-input {
    display: flex;
    padding: 10px;
    background-color: #f0f0f0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.popup-input input {
    flex-grow: 1;
    border: none;
    padding: 10px;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
}
.popup-input .send-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.popup-input .send-btn svg {
    width: 24px;
    height: 24px;
    fill: #075e54;
}
.floating-question {
    position: fixed;
    bottom: 35px;
    right: 95px;
    background-color: #fff;
    color: #333;
    padding: 10px 14px;
    border-radius: 25px;
    box-shadow: 0 4px 10px rgb(0 0 0 / 0.15);
    font-size: 14px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
.floating-question .close-question {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #666;
    line-height: 1;
}

@media (max-width: 575px){
    .floating-question{
        display: none;
    }
}
