/* Floating Buttons */
.floating-buttons {
    position: fixed;
    right: 25px;
    bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}


.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    cursor: pointer;
    text-decoration: none;
    color: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}



/* WhatsApp */
.whatsapp-btn {
    background: #25D366;
}


/* Back to top */
.top-btn {
    background:var(--primary);
}


.floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
}

/* ===================================================
   EXPERTEENS PREMIUM CHATBOT
=================================================== */


/* Floating Chat Button */

/* ===================================================
   EXPERTEENS CHATBOT FLOATING BUTTON
=================================================== */

.chatbot-btn {

    position: fixed;

    right: 25px;

    /* move above WhatsApp + top button */
    bottom: 165px;


    width: 55px;

    height: 55px;

    border-radius: 50%;

    border: none;

    background: linear-gradient(
        135deg,
        #2563eb,
        #1d4ed8
    );

    color:white;

    font-size:22px;

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;


    box-shadow:
    0 10px 25px rgba(0,0,0,0.2);


    z-index:10000;


    transition:all .3s ease;

}



.chatbot-btn:hover {

    transform:
    translateY(-5px) scale(1.05);

}




/* Chatbot Container */

.chatbot-box {


    position: fixed;


    bottom: 105px;


    right: 25px;


    width: 380px;


    max-width: calc(100vw - 40px);


    height: 520px;


    background: white;


    border-radius: 22px;


    overflow: hidden;


    display: none;


    flex-direction: column;


    box-shadow:

    0 20px 50px rgba(0,0,0,0.18);


    z-index: 10001;


    animation: chatbotSlide .35s ease;


}





@keyframes chatbotSlide {


    from {

        opacity:0;

        transform:
        translateY(30px);

    }


    to {

        opacity:1;

        transform:
        translateY(0);

    }


}





/* Header */


.chatbot-header {


    height: 80px;


    padding: 20px;


    background:

    linear-gradient(
        135deg,
        #2563eb,
        #0f172a
    );


    color:white;


    display:flex;


    align-items:center;


    justify-content:space-between;


}




.chatbot-header h4 {


    margin:0;


    font-size:1.1rem;


}



.chatbot-header span {


    font-size:.8rem;


    opacity:.8;


}




.chatbot-close {


    background:rgba(255,255,255,.15);


    border:none;


    width:35px;


    height:35px;


    border-radius:50%;


    color:white;


    font-size:1.4rem;


    cursor:pointer;


}






/* Messages */
/* Messages Area */

.chatbot-messages {

    height: 320px;

    padding:20px;

    overflow-y:auto;

    background:#f8fafc;

    display:flex;

    flex-direction:column;


}


/* Smooth scrollbar */

.chatbot-messages::-webkit-scrollbar {

    width:6px;

}


.chatbot-messages::-webkit-scrollbar-thumb {

    background:#2563eb;

    border-radius:10px;

}




/* Bot Message */


.bot-message {


    background:white;


    padding:14px;


    border-radius:15px;


    margin-bottom:15px;


    max-width:85%;


    box-shadow:

    0 5px 15px rgba(0,0,0,.05);


}



.bot-message strong {


    color:#2563eb;


}



.bot-message p {


    margin:6px 0 0;


    color:#334155;


}







/* User Message */


.user-message {


    margin-left:auto;


    background:#2563eb;


    color:white;


    padding:14px;


    border-radius:15px 15px 0 15px;


    max-width:85%;


    margin-bottom:15px;


}





.user-message strong {


    color:white;


}



.user-message p {


    margin:6px 0 0;


}






/* Input Area */


.chatbot-input {


    display:flex;


    padding:15px;


    background:white;


    border-top:1px solid #e2e8f0;


    gap:10px;


}




.chatbot-input input {


    flex:1;


    border:none;


    outline:none;


    padding:13px 15px;


    border-radius:30px;


    background:#f1f5f9;


    font-size:.95rem;


}





.chatbot-input button {


    width:45px;


    height:45px;


    border-radius:50%;


    border:none;


    background:#2563eb;


    color:white;


    cursor:pointer;


    transition:.3s;


}




.chatbot-input button:hover {


    transform:scale(1.08);


}







/* Mobile Responsive */


@media(max-width:600px){


    .chatbot-box {


        right:15px;


        bottom:95px;


        width:

        calc(100vw - 30px);


        height:480px;


    }



    .chatbot-btn {

    right:15px;

    bottom:150px;

}


}