  /* CSS Custom Properties for dynamic viewport */
        :root {
            --vh: 1vh;
            --primary-color2: #C8E6C9;
            --secondary-color2: #C8E6C9;
            --dark-green: #003017;
                  /* background: linear-gradient(135deg, var(--button1), var(--button2)); */
       --button1:#006644;
       --button2:#006644;
       --main-font: Arial, sans-serif;
        }

        /* Basic Reset */
        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            padding: 0;
            font-family: var(--main-font) !important; /* Ensures all elements use the main font */
            height: 100vh;
            background: #f7fafa;
            /* background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%); */
        }

        /* Chat Button - Initially visible */
        #chat-fab3 {
            position: fixed;
            bottom: 25px;
            right: 25px;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--button1), var(--button2));
            border: none;
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 8px 25px rgba(0, 105, 93, 0);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 10000;
            overflow: hidden;
             position: fixed;
    bottom: 25px;
    right: 25px; 
        }

        #chat-fab3:hover {
            transform: scale(1.1);
            box-shadow: 0 12px 35px rgba(0, 105, 93, 0);
            background: linear-gradient(135deg, var(--button1), var(--button2));
        }

        #chat-fab3 svg {
            width: 28px;
            height: 28px;
            fill: var(--primary-color2);
            transition: transform 0.3s ease;
        }

        #chat-fab3.hide3 {
            transform: scale(0) rotate(180deg);
            opacity: 0;
        }

        /* Pulse animation for attention */
        @keyframes pulse {
            0% { box-shadow: 0 8px 25px var(--primary-color2); }
            50% { box-shadow: 0 8px 25px var(--primary-color2), 0 0 0 10px rgba(0, 105, 92, 0.1); }
            100% { box-shadow: 0 8px 25px var(--primary-color2); }
        }

        #chat-fab3.pulse3 {
            animation: pulse 2s infinite;
        }

        /* Chatbox Container */
        #chatbox-container3 {
            position: fixed;
            bottom: 25px;
            right: 25px;
            max-width: 250px;
            width: 100%;
            max-height: 600px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
            border-radius: 16px;
            overflow: hidden;
            font-size: 13px;
            color: var(--dark-green);
            background: #fff;
            display: flex;
            flex-direction: column;
            user-select: none;
            z-index: 9999;
            transform: scale(0) translateY(20px);
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            transform-origin: bottom right;
            position: fixed;
    bottom: 25px;
    right: 25px;
        }

        #chatbox-container3.show3 {
            transform: scale(1) translateY(0);
            opacity: 1;
        }

        /* Header */
        #chatbox-header3 {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: linear-gradient(135deg, var(--primary-color2) 0%, var(--secondary-color2) 100%);
            color: var(--dark-green);
            padding: 16px 20px;
            font-size: 16px;
            font-weight: 600;
        }

        #chatbox-header3 .header-content3 {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        #chatbox-header3 .avatar3 {
            width: 0px;
            height: 0px;
            background: rgba(255, 255, 255, 0);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        #chatbox-header3 .avatar3 svg {
            width: 0px;
            height: 0px;
            fill: rgba(255, 255, 255, 0);
        }

        #chatbox-header3 .title-group3 h3 {
            margin: 0;
            font-size: 14px;
            font-weight: 600;
        }

        #chatbox-header3 .title-group3 p {
            margin: 0;
            font-size: 12px;
            opacity: 0.8;
        }

        #chatbox-close3 {
            background: transparent;
            border: none;
            color: var(--dark-green);
            font-size: 24px;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s ease;
        }

        #chatbox-close3:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        /* Body */
        #chatbox-body3 {
            background: #f9fbfc;
            max-height: 500px;
            display: flex;
            flex-direction: column;
            position: relative;
        }

        /* Audience Selection */
        #chatbox-audience-select3 {
            background: linear-gradient(135deg, var(--white) 0%, var(--white) 100%);
            padding: 20px 20px;
            text-align: center;
            display: flex;
            flex-direction: column;
            gap: 16px;
            animation: slideInUp 0.5s ease-out;
        }

        #chatbox-audience-select3 p {
            margin: 0 0 8px 0;
            font-size: 14px;
            font-weight: 600;
            color: var(--dark-green);
        }

        .audience-btn3 {
            background: linear-gradient(135deg, var(--primary-color2) 0%, var(--secondary-color2) 100%);
            color: var(--dark-green);
            border: none;
            border-radius: 12px;
            padding: 5px 10px;
            font-size: 14px;
            cursor: pointer;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            /* margin-left: 40px;
            margin-right: 40px; */
            align-items: center;
            justify-content: center;
        }

        .audience-btn3::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .audience-btn3:hover::before {
            left: 100%;
        }

        .audience-btn3:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 105, 92, 0.3);
        }

        .audience-btn3 svg {
            width: 20px;
            height: 20px;
            fill: var(--dark-green);
        }

        /* Messages Area */
        #chatbox-messages3 {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
            scroll-behavior: smooth;
            scrollbar-width: thin;
            scrollbar-color: var(--primary-color2) ;
        }

        #chatbox-messages3::-webkit-scrollbar {
            width: 6px;
        }

        #chatbox-messages3::-webkit-scrollbar-track {
            background: #f0f0f0;
        }

        #chatbox-messages3::-webkit-scrollbar-thumb {
            background: var(--primary-color2);
            border-radius: 3px;
        }

        .message3 {
            margin-bottom: 16px;
            max-width: 85%;
            line-height: 1.5;
            animation: messageSlideIn 0.3s ease-out;
        }

        @keyframes messageSlideIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .message3.bot3 {
            background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
            color: var(--dark-green);
            border-radius: 16px 16px 16px 4px;
            padding: 12px 16px;
            align-self: flex-start;
            border-left: 3px solid var(--primary-color2);
        }

        .message3.user3 {
            background: linear-gradient(135deg, var(--primary-color2) 0%, var(--secondary-color2) 100%);
            color: var(--dark-green);
            border-radius: 16px 16px 4px 16px;
            padding: 12px 16px;
            align-self: flex-end;
            margin-left: auto;
            box-shadow: 0 2px 8px rgba(0, 105, 92, 0.2);
        }

        /* FAQ Buttons */
        #chatbox-faq-buttons3 {
            padding: 16px;
            background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
            border-top: 1px solid #c3d9f5;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            max-height: 120px;
            overflow-y: auto;
        }

        .faq-btn3 {
            background: #fff;
            border: 2px solid var(--primary-color2);
            border-radius: 20px;
            padding: 8px 14px;
            cursor: pointer;
            font-size: 12px;
            color: var(--primary-color);
            font-weight: 600;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .faq-btn3:hover {
            background: var(--primary-color2);
            color: var(--dark-green);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0, 105, 92, 0.2);
        }

        /* Input Area */
        #chatbox-input-area3 {
            border-top: 1px solid #ffffff;
            padding: 16px 20px;
            display: flex;
            background: #fff;
            gap: 12px;
        }

        #chatbox-input3 {
            flex: 1;
            border: 2px solid #e0e6ed;
            border-radius: 24px;
            padding: 12px 18px;
            font-size: 14px;
            outline: none;
            transition: all 0.3s ease;
            background: #ffffff;
        }

        #chatbox-input3:focus {
            border-color: var(--primary-color2);
            background: #fff;
            box-shadow: 0 0 0 3px rgba(0, 105, 92, 0.1);
        }

        #chatbox-send-btn3 {
            background: linear-gradient(135deg, var(--button1), var(--button2));
            color: var(--white);
            border: none;
            padding: 12px 20px;
            border-radius: 24px;
            cursor: pointer;
            font-weight: 600;
            font-size: 14px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        #chatbox-send-btn3:hover {
            transform: translateY(-1px);
            box-shadow: 0 6px 20px rgba(0, 105, 92, 0.3);
        }

        #chatbox-send-btn3 svg {
            width: 16px;
            height: 16px;
            fill: white;
        }

        /* Loading Animation */
        #chatbox-loading3 {
            display: flex;
            align-items: center;
            gap: 8px;
            font-style: italic;
            color: #666;
            margin-bottom: 16px;
            padding: 12px 16px;
            background: #f0f0f0;
            border-radius: 16px 16px 16px 4px;
            max-width: 85%;
        }

        .typing-dots3 {
            display: flex;
            gap: 4px;
        }

        .typing-dots3 span {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--primary-color2);
            animation: typing 1.4s infinite ease-in-out;
        }

        .typing-dots3 span:nth-child(1) { animation-delay: -0.32s; }
        .typing-dots3 span:nth-child(2) { animation-delay: -0.16s; }

        @keyframes typing {
            0%, 80%, 100% {
                transform: scale(0.8);
                opacity: 0.5;
            }
            40% {
                transform: scale(1);
                opacity: 1;
            }
        }

        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive Design */
        
        /* Desktop (Large screens) */
        @media (min-width: 1200px) {
            #chatbox-container3 {
                max-width: 300px;
                max-height: 650px;
            }
            
            #chatbox-body3 {
               max-height: 500px;
            }
            
            #chat-fab3 {
                width: 65px;
                height: 65px;
            }
            
            #chat-fab3 svg {
                width: 30px;
                height: 30px;
            }
        }

        /* Tablet (768px - 1199px) */
        @media (min-width: 768px) and (max-width: 1199px) {
            #chatbox-container3 {
                max-width: 360px;
                max-height: 580px;
                bottom: 20px;
                right: 20px;
            }
            
            #chatbox-body3 {
                height: 480px;
            }
            
            #chat-fab3 {
                width: 60px;
                height: 60px;
                bottom: 20px;
                right: 20px;
            }
            
            #chat-fab3 svg {
                width: 26px;
                height: 26px;
            }
            
            #chatbox-header3 {
                padding: 15px 18px;
            }
            
            #chatbox-audience-select3 {
                padding: 20px;
                gap: 14px;
            }
            
            .audience-btn3 {
                padding: 12px 18px;
                font-size: 14px;
            }
            
            #chatbox-messages3 {
                padding: 18px;
            }
            
            .message3 {
                max-width: 82%;
            }
            
            #chatbox-input-area3 {
                padding: 14px 18px;
            }
        }

        /* Mobile (Small screens - up to 767px) */
        @media (max-width: 767px) {
            #chatbox-container3 {
                /* max-width: calc(100vw - 16px); */
                /* width: calc(100vw - 16px); */
                /* bottom: 8px;
                right: 8px;
                left: 8px;
                max-height: 85vh;
                max-height: 600px;
                border-radius: 12px;
                align-items: end;
                justify-content: flex-end; */
                 /* max-width: calc(100vw - 16px); */
        /* width: calc(100vw - 16px); */
        bottom: 8px;
        right: 8px;
        /* Remove or comment out this line: */
        /* left: 8px; */ /* */
        max-height: 85vh;
        max-height: 600px;
        border-radius: 12px;
        align-items: end;
        justify-content: flex-end;
            }

            #chat-fab3 {
                bottom: 15px;
                right: 15px;
                width: 56px;
                height: 56px;
            }
            
            #chat-fab3 svg {
                width: 24px;
                height: 24px;
            }

            #chatbox-header3 {
                padding: 1px 41px;;
                font-size: 14px;
            }
            
            #chatbox-header3 .avatar3 {
                width: 0px;
                height: 0px;
            }
            
            #chatbox-header3 .avatar3 svg {
                width: 0px;
                height: 0px;
            }
            
            #chatbox-header3 .title-group3 h3 {
                font-size: 14px;
            }
            
            #chatbox-header3 .title-group3 p {
                font-size: 11px;
            }

            #chatbox-body3 {
                max-height: calc(85vh - 120px);
                        max-width: 250px;
            }
            
            #chatbox-audience-select3 {
                padding: 16px;
                gap: 12px;
            }
            
            #chatbox-audience-select3 p {
                font-size: 15px;
            }
            
            .audience-btn3 {
                padding: 12px 16px;
                font-size: 13px;
                border-radius: 10px;
            }
            
            .audience-btn3 svg {
                width: 18px;
                height: 18px;
            }

            #chatbox-messages3 {
                padding: 16px;
            }

            .message3 {
                max-width: 88%;
                font-size: 13px;
                margin-bottom: 14px;
            }
            
            .message3.bot3 {
                border-radius: 14px 14px 14px 3px;
                padding: 10px 14px;
            }
            
            .message3.user3 {
                border-radius: 14px 14px 3px 14px;
                padding: 10px 14px;
            }
            
            #chatbox-faq-buttons3 {
                padding: 12px;
                gap: 6px;
                max-height: 100px;
            }
            
            .faq-btn3 {
                padding: 6px 12px;
                font-size: 11px;
                border-radius: 16px;
            }

            #chatbox-input-area3 {
                padding: 12px 16px;
                gap: 8px;
            }
            
            #chatbox-input3 {
                padding: 10px 16px;
                font-size: 13px;
                border-radius: 20px;
                max-width: 170px;
            }
            
            #chatbox-send-btn3 {
                padding: 10px 16px;
                font-size: 13px;
                border-radius: 20px;
            }
            
            #chatbox-send-btn3 svg {
                width: 14px;
                height: 14px;
            }
            
            #chatbox-loading3 {
                font-size: 12px;
                padding: 10px 14px;
            }
        }

        /* Extra small mobile devices */
        @media (max-width: 375px) {
            #chatbox-container3 {
                height: 90vh;
                max-height: 550px;
            }
            
            #chatbox-body3 {
                height: calc(90vh - 110px);
            }
            
            #chat-fab3 {
                width: 52px;
                height: 52px;
                bottom: 12px;
                right: 12px;
            }
            
            #chat-fab3 svg {
                width: 22px;
                height: 22px;
            }
            
            .audience-btn3 {
                padding: 10px 14px;
                font-size: 12px;
            }
            
            .message3 {
                font-size: 12px;
                max-width: 90%;
            }
            
            .faq-btn3 {
                font-size: 10px;
                padding: 5px 10px;
            }
        }

        /* Landscape orientation on mobile */
        @media (max-height: 500px) and (orientation: landscape) {
            #chatbox-container3 {
                height: 95vh;
                max-height: 450px;
            }
            
            #chatbox-body3 {
                height: calc(95vh - 100px);
            }
            
            #chatbox-audience-select3 {
                padding: 12px;
                gap: 8px;
            }
            
            .audience-btn3 {
                padding: 8px 14px;
                font-size: 12px;
            }
            
            #chatbox-messages3 {
                padding: 12px;
            }
            
            #chatbox-faq-buttons3 {
                max-height: 80px;
                padding: 8px;
            }
        }

        /* Hover effects - only on non-touch devices */
        @media (hover: hover) and (pointer: fine) {
            #chat-fab3:hover {
                transform: scale(1.1);
                box-shadow: 0 12px 35px rgba(0, 105, 92, 0.4);
            }
            
            .audience-btn3:hover {
                transform: translateY(-2px);
            }
            
            .faq-btn3:hover {
                transform: translateY(-1px);
            }
            
            #chatbox-send-btn3:hover {
                transform: translateY(-1px);
            }
        }

        /* Touch device optimizations */
        @media (hover: none) and (pointer: coarse) {
            #chat-fab3:active {
                transform: scale(0.95);
            }
            
            .audience-btn3:active {
                transform: scale(0.98);
            }
            
            .faq-btn3:active {
                transform: scale(0.95);
            }
            
            #chatbox-send-btn3:active {
                transform: scale(0.98);
            }
            
            /* Larger touch targets */
            .faq-btn3 {
                min-height: 32px;
                padding: 8px 12px;
            }
            
            #chatbox-close3 {
                width: 36px;
                height: 36px;
                font-size: 20px;
            }
        }