/* Import Google font - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: #fff; /* Set background to white */
}

/* Chatbot Toggler Styles */
.chatbot-toggler {
    position: fixed;
    bottom: 30px;
    right: 35px;
    outline: none;
    border: none;
    height: 50px;
    width: 50px;
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #69bde0;
    transition: all 0.2s ease;
    z-index: 1000; /* Added z-index */
}

body.show-chatbot .chatbot-toggler {
    transform: rotate(90deg);
}

.chatbot-toggler span {
    color: #fff;
    position: absolute;
}

body.show-chatbot .chatbot-toggler span:first-child {
    opacity: 0;
}

body.show-chatbot .chatbot-toggler span:last-child {
    opacity: 1;
}

/* Popup Styles */
.container {
    position: relative;
}

.popup {
    visibility: hidden;
    position: absolute;
    top: -40px;
    left: 50%;
    width: 150px;
    background-color: rgb(228, 228, 175);
    color: green;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transform: translateX(-50%);
    z-index: 1;
    transition: visibility 0.2s;
    text-align: center;
}

.chatbot-toggler:hover .popup {
    visibility: visible;
}

/* Chatbot Styles */
.chatbot {
    position: fixed;
    right: 35px;
    bottom: 90px;
    width: 420px;
    background: #fff; /* Ensure chatbot background is white */
    border-radius: 15px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.5);
    transform-origin: bottom right;
    box-shadow: 0 0 128px 0 rgba(0, 0, 0, 0.1), 0 32px 64px -48px rgba(0, 0, 0, 0.5);
    transition: all 0.1s ease;
    z-index: 1000; /* Ensure it's on top of other elements */
}

body.show-chatbot .chatbot {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.chatbot header {
    padding: 16px 0;
    position: relative;
    text-align: center;
    color: #fff;
    background: #69bde0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.chatbot header span {
    position: absolute;
    right: 15px;
    top: 50%;
    display: none;
    cursor: pointer;
    transform: translateY(-50%);
}

header h2 {
    font-size: 1.4rem;
}

/* Chatbox Styles */
.chatbox {
    overflow-y: auto;
    height: 510px;
    padding: 30px 20px 100px;
    background: #fff; /* Ensure chatbox background is white */
}

.chatbox::-webkit-scrollbar {
    width: 6px;
}

.chatbox::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 25px;
}

.chatbox::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 25px;
}

.chat {
    display: flex;
    list-style: none;
}

.outgoing {
    margin: 20px 0;
    justify-content: flex-end;
}

.incoming span {
    width: 32px;
    height: 32px;
    color: #fff;
    cursor: default;
    text-align: center;
    line-height: 32px;
    align-self: flex-end;
    background: #69bde0;
    border-radius: 4px;
    margin: 0 10px 7px 0;
}

.chat p {
    white-space: pre-wrap;
    padding: 12px 16px;
    border-radius: 10px 10px 0 10px;
    max-width: 75%;
    color: #fff;
    font-size: 0.95rem;
    background: #69bde0;
}

.incoming p {
    border-radius: 10px 10px 10px 0;
    color: #000;
    background: #f2f2f2;
}

.chat p.error {
    color: #721c24;
    background: #f8d7da;
}

/* Chat Input Styles */
.chat-input {
    display: flex;
    gap: 5px;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #fff; /* Ensure chat input background is white */
    padding: 3px 20px;
    border-top: 1px solid #ddd;
}

.chat-input textarea {
    height: 55px;
    width: 100%;
    border: none;
    outline: none;
    resize: none;
    max-height: 180px;
    padding: 15px 15px 15px 0;
    font-size: 0.95rem;
    background: #fff; /* Ensure solid background for input */
}

.chat-input span {
    align-self: flex-end;
    color: #69bde0;
    cursor: pointer;
    height: 55px;
    display: flex;
    align-items: center;
    visibility: hidden;
    font-size: 1.35rem;
}

.chat-input textarea:valid ~ span {
    visibility: visible;
}

/* Mobile Styles */
@media (max-width: 490px) {
    .chatbot-toggler {
        right: 20px;
        bottom: 20px;
    }
    .chatbot {
        right: 0;
        bottom: 0;
        height: 100%;
        border-radius: 0;
        width: 100%;
    }
    .chatbox {
        height: 90%;
        padding: 25px 15px 100px;
    }
    .chat-input {
        padding: 5px 15px;
    }
    header span {
        display: block;
    }
}

/* New Testimonial Styles */
/*.new-testimonial-item {*/
/*    text-align: center;*/
/*    padding: 20px;*/
/*    background: #fff;*/
/*    border-radius: 5px;*/
/*    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);*/
/*}*/

/*.new-testimonial-icons {*/
/*    border-radius: 50%;*/
/*    margin-bottom: 15px;*/
/*}*/

/*.new-testimonial-author {*/
/*    font-weight: bold;*/
/*    margin-top: 10px;*/
/*}*/

/*.new-testimonial-destination {*/
/*    color: #777;*/
/*}*/








