/* Import Google font - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');


/* Toggle Button */
.chatbot-toggler {
    position: fixed;
    bottom: 25px;
    right: 30px;
    color: #000;
    border: none;
    border-radius: 25%;
    padding: 15px;
    cursor: pointer;
    z-index: 999;
    background: #fff;
}

    .chatbot-toggler i {
        transition: transform 0.3s ease; /* Smooth animation */
    }

    .chatbot-toggler:hover i {
        transform: scale(1.2); /* Zoom in by 20% */
    }

    .chatbot-toggler span {
        font-size: 24px;
    }

/* Chatbot UI */
.chatbot {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 320px;
    max-height: 500px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    flex-direction: column;
    overflow: hidden;
    z-index: 998;
}

body.show-chatbot .chatbot {
    display: flex;
    flex-direction: column;
}

.chatbot header {
    background: #007bff;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbox {
    list-style: none;
    padding: 10px;
    margin: 0;
    flex: 1;
    overflow-y: auto;
    height: 300px;
}

.chat {
    margin-bottom: 10px;
    display: flex;
}

    .chat.incoming span {
        margin-right: 10px;
        color: #007bff;
    }

    .chat p {
        background: #eee;
        padding: 8px 12px;
        border-radius: 10px;
        max-width: 75%;
        word-wrap: break-word;
    }

    .chat.outgoing {
        justify-content: flex-end;
    }

        .chat.outgoing p {
            background: #cce5ff;
        }

.chat-input {
    padding: 10px;
    display: flex;
    border-top: 1px solid #ddd;
    background: white;
}

    .chat-input textarea {
        flex: 1;
        resize: none;
        border: 1px solid #ccc;
        border-radius: 5px;
        padding: 8px;
        height: auto !important;
    }

    .chat-input span {
        cursor: pointer;
        margin-left: 10px;
        color: #007bff;
        font-size: 24px;
    }

/* Lead Form Modal */
.lead-form-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.lead-form-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    z-index: 1001;
    color: #333;
}

.lead-form-box {
    position: relative;
    background: white;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

    .lead-form-box h3 {
        text-align: center;
        margin-bottom: 15px;
    }

#leadForm input {
    width: 100%;
    padding: 10px;
    margin: 6px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
}

#leadForm button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}