 /* Chatbot Toggle Button */
 .chatbot-toggler {
     position: fixed;
     bottom: 30px;
     right: 35px;
     width: 60px;
     height: 60px;
     background-color: #2E7D32;
     color: #fff;
     border: none;
     border-radius: 50%;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 2rem;
     z-index: 998;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
     transition: transform 0.2s ease-in-out, background-color 0.2s;
 }

 .chatbot-toggler:hover {
     transform: scale(1.1);
     background-color: #256a29;
 }

 /* Chatbot Popup Container */
 .chatbot-popup {
     display: none;
     position: fixed;
     bottom: 110px;
     right: 35px;
     width: 420px;
     height: 70vh;
     max-height: 600px;
     background: #0f141a;
     border-radius: 20px;
     box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
     z-index: 9999;
     overflow: hidden;
     transform: scale(0.5);
     transform-origin: bottom right;
     opacity: 0;
     transition: transform 0.3s ease-out, opacity 0.3s ease-out;
     flex-direction: column;
 }

 .chatbot-popup.active {
     display: flex;
     transform: scale(1);
     opacity: 1;
 }

 /* Chatbot Close Button */
 .chatbot-popup .close-btn {
     position: absolute;
     top: 12px;
     right: 12px;
     background: rgba(0, 0, 0, 0.4);
     backdrop-filter: blur(6px);
     border: 1px solid rgba(255, 255, 255, 0.2);
     color: white;
     width: 32px;
     height: 32px;
     border-radius: 50%;
     cursor: pointer;
     font-size: 20px;
     line-height: 30px;
     text-align: center;
     z-index: 10000;
     transition: background 0.2s;
 }

 .chatbot-popup .close-btn:hover {
     background: rgba(255, 255, 255, 0.2);
 }

 /* Chatbot Iframe */
 .chatbot-popup iframe {
     width: 100%;
     height: 100%;
     border: none;
     flex-grow: 1;
 }

 /* Z-Index Management */
 .header {
     z-index: 500;
 }

 /* Mobile Responsive */
 @media (max-width: 768px) {
     .chatbot-toggler {
         bottom: 20px;
         right: 20px;
     }

     .chatbot-popup {
         bottom: 0;
         right: 0;
         width: 100%;
         height: 100%;
         max-height: 100%;
         border-radius: 0;
         transform-origin: bottom center;
     }

     .chatbot-popup .close-btn {
         top: 18px;
         right: 18px;
     }
 }