        :root {
            --primary-color: rgb(175, 0, 0);
            --secondary-color: rgb(175, 0, 0);
            --text-color: #333;
            --bg-color: #f9f9f9;
            --chat-user-bg: #e3f2fd;
            --chat-bot-bg: #f0f0f0;
        }

        body {
            font-family: 'Poppins', sans-serif;
            margin: 0;
            padding: 0;
            background-color: var(--bg-color);
            color: var(--text-color);
        }

        #chatbot-container {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 380px;
            height: 550px;
            background-color: #fff;
            border-radius: 15px;
            box-shadow: 0 5px 30px rgba(0,0,0,0.15);
            display: none;
            flex-direction: column;
            overflow: hidden;
            z-index: 1000;
            transition: all 0.3s ease;
        }


        #chatbot-header {
            background-color: rgb(175, 0, 0);
            color: white;
            padding: 10px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        #chatbot-header img {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            margin-right: 10px;
        }

        #chatbot-header-content {
            display: flex;
            align-items: center;
        }
        
        #service-buttons-container {
            max-height: 150px; /* Limit the height to 100px or less based on your preference */
            overflow-y: auto; /* Adds a scrollbar if the content overflows */
            white-space: nowrap;
            padding: 10px 0;
            background-color: #f9f9f9;
        }

        #close-chat {
            margin-left: auto;
            background: none;
            border: none;
            color: #fff;
            font-size: 24px;
            cursor: pointer;
            transition: transform 0.2s ease;
        }

        #close-chat:hover {
            transform: scale(1.1);
        }

        #call-button {
            background: none;
            border: none;
            color: white;
            font-size: 18px;
            cursor: pointer;
            margin-left: 10px;
        }
        #chat-messages {
            max-height: calc(100% - 140px); /* Adjust this value based on other UI elements' heights */
            overflow-y: auto; /* Ensure it can scroll through past messages */
            flex-grow: 1;
            overflow-y: auto;
            padding: 20px;
            display: flex;
            flex-direction: column;
        }

        .user, .bot {
            margin: 8px 0;
            padding: 12px 16px;
            border-radius: 18px;
            max-width: 85%;
            word-wrap: break-word;
            line-height: 1.4;
            position: relative;
            
        }

        .user {
            background-color: var(--chat-user-bg);
            align-self: flex-end;
            margin-left: auto;
            border-bottom-right-radius: 5px;
        }

        .bot {
            background-color: var(--chat-bot-bg);
            align-self: flex-start;
            border-bottom-left-radius: 5px;
        }

        #service-buttons {
            overflow-x: auto; /* Allows horizontal scrolling for service buttons */
            white-space: nowrap; /* Keeps buttons in a single line */
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            padding: 10px;
            background-color: rgba(74, 144, 226, 0.1);
            border-top: 1px solid #e0e0e0;
        }

        #service-buttons button {
            background-color: #fff;
            color: var(--primary-color);
            border: 1px solid var(--primary-color);
            border-radius: 20px;
            padding: 8px 15px;
            margin: 5px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.9em;
            font-weight: 500;
        }

        #service-buttons button:hover {
            background-color: var(--primary-color);
            color: #fff;
        }

        #user-input {
            display: flex;
            padding: 15px;
            background-color: #fff;
            border-top: 1px solid #e0e0e0;
        }

        #user-input input {
            flex-grow: 1;
            border: 1px solid #e0e0e0;
            border-radius: 25px;
            padding: 12px 20px;
            font-size: 14px;
            outline: none;
            transition: border-color 0.3s ease;
        }

        #user-input input:focus {
            border-color: var(--primary-color);
        }

        #user-input button {
            background-color: var(--primary-color);
            color: #fff;
            border: none;
            border-radius: 50%;
            width: 45px;
            height: 45px;
            margin-left: 10px;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        #user-input button:hover {
            background-color: var(--secondary-color);
            transform: scale(1.05);
        }

        #chat-icon {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: var(--primary-color);
            color: #fff;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            z-index: 999;
        }

        #chat-icon:hover {
            background-color: var(--secondary-color);
            transform: scale(1.1);
        }

        .whatsapp-button {
            background-color: #25D366;
            color: #fff;
            border: none;
            border-radius: 25px;
            padding: 12px 20px;
            margin: 15px auto;
            width: 100%; /* Ensure the button stretches across the width */
            margin: 10px 0; /* Adds space around the button */        
            cursor: pointer;
            display: block;
            transition: all 0.3s ease;
            font-weight: 600;
            font-size: 1em;
            box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
        }

        .whatsapp-button:hover {
            background-color: #128C7E;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
        }

        /* Scrollbar Styling */
        #chat-messages::-webkit-scrollbar {
            width: 8px;
        }

        #chat-messages::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        #chat-messages::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 4px;
        }

        #chat-messages::-webkit-scrollbar-thumb:hover {
            background: #757575;
        }

        @media (max-width: 480px) {
            #chatbot-container {
                width: 100%;
                height: 100%;
                bottom: 0;
                right: 0;
                border-radius: 0;
            }
            
            #chat-icon {
                width: 50px;
                height: 50px;
                bottom: 10px;
                right: 10px;
            }
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .user, .bot {
            animation: fadeIn 0.3s ease-out;
        }