/* ChatBot Popup Component */
.chatbot-wrapper {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
}

.chatbot-btn {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: 0 10px 25px rgba(10, 124, 73, 0.4);
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease;
}

.chatbot-btn:hover {
    transform: scale(1.1);
    background: var(--gradient-hover);
}

.chatbot-btn:active {
    transform: scale(0.95);
}

/* Pulsing effect */
.chatbot-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(10, 124, 73, 0.4);
    animation: chatbotPulse 2s infinite ease-in-out;
    pointer-events: none;
}

@keyframes chatbotPulse {
    0% { box-shadow: 0 0 0 0 rgba(10, 124, 73, 0.4); }
    100% { box-shadow: 0 0 0 20px rgba(10, 124, 73, 0); }
}

/* Icon Toggle Animation */
.chatbot-icon {
    position: absolute;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.icon-open { opacity: 1; transform: rotate(0) scale(1); }
.icon-close { opacity: 0; transform: rotate(-90deg) scale(0.5); }

.chatbot-wrapper.is-active .icon-open { opacity: 0; transform: rotate(90deg) scale(0.5); }
.chatbot-wrapper.is-active .icon-close { opacity: 1; transform: rotate(0) scale(1); }


/* Chat Window */
.chat-window {
    position: fixed;
    bottom: 7rem;
    right: 1.5rem;
    width: 24rem;
    max-width: calc(100vw - 3rem);
    background: rgba(12, 38, 21, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(10, 124, 73, 0.15);
    z-index: 999;
    
    /* Reveal Animation States */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: bottom right;
}

.chatbot-wrapper.is-active + .chat-window {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.chat-header h3 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}
.chat-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.chat-body {
    padding: 1rem;
    background: rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chat-option-btn {
    width: 100%;
    text-align: left;
    padding: 1rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 0.5rem;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: var(--transition);
}

.chat-option-btn:hover {
    background: rgba(10, 124, 73, 0.1);
    border-color: rgba(10, 124, 73, 0.3);
    color: var(--accent);
}
.chat-option-btn i {
    color: var(--accent);
    font-size: 1.25rem;
}



