
/* Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 50px;
    right: 80px;
    width: 450px;
    height: 500px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    z-index: 1000;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    transform: translateY(0);
}

    .chatbot-container.hidden {
        transform: translateY(100%) scale(0.8);
        opacity: 0;
        pointer-events: none;
    }

.chatbot-header {
    background-color: #2c3e50;
    color: white;
    padding: 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-close {
    cursor: pointer;
    font-size: 20px;
    transition: transform 0.2s ease;
}

    .chatbot-close:hover {
        transform: rotate(90deg);
    }

.chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-image: linear-gradient(135deg, #fdfcfb 0%, #e2d1c3 100%);
}

.message {
    margin-bottom: 15px;
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    line-height: 1.4;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.4s ease-out forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bot-message {
    background-image: linear-gradient(-20deg, #2b5876 0%, #4e4376 100%);
    color: white;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
    animation-delay: 0.6s;
}

.user-message {
    background-image: linear-gradient(-225deg, #473B7B 0%, #3584A7 51%, #30D2BE 100%);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 5px;
    animation-delay: 0.1s;
}

.options-container {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    opacity: 0;
    animation: fadeInUp 0.5s ease-out 0.8s forwards;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-evenly;
    align-items: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.option-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 8px 15px;
    margin: 5px 0;
    border-radius: 20px;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    transform: scale(1);
    width: 180px !important;
}

    .option-btn:hover {
        background-color: #2980b9;
        transform: scale(1.02);
        box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
    }

    .option-btn:active {
        transform: scale(0.98);
    }

.chatbot-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
    background-color: #2c3e50;
}

    .chatbot-input input {
        flex: 1;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 20px;
        outline: none;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

        .chatbot-input input:focus {
            border-color: #3498db;
            box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
        }

    .chatbot-input button {
        background-color: #2c3e50;
        color: white;
        border: none;
        padding: 10px 15px;
        margin-left: 10px;
        border-radius: 20px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .chatbot-input button:hover {
            background-color: #34495e;
            transform: translateY(-1px);
        }

        .chatbot-input button:active {
            transform: translateY(0);
        }

.chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .chatbot-toggle:hover {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    }

.vert-move {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.form-container {
    margin-top: 10px;
    opacity: 0;
    animation: fadeInUp 0.5s ease-out 0.6s forwards;
}

.form-input {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    height: 36px;
}

    .form-input:focus {
        border-color: #3498db;
        box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
        outline: none;
    }

.form-submit {
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 10px 15px;
    margin-top: 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .form-submit:hover {
        background-color: #34495e;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(44, 62, 80, 0.3);
    }

.project-list {
    margin-top: 10px;
    opacity: 0;
    animation: fadeInUp 0.5s ease-out 0.8s forwards;
}

.project-item {
    padding: 8px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    border-radius: 5px;
    background: #22C1C3;
    color: white;
    background: rgb(34, 193, 195);
    margin-top: 10px;
    transition: all 0.3s ease;
    transform: translateX(0);
}

    .project-item:hover {
        background-color: #f0f0f0 !important;
        color: #333 !important;
        transform: translateX(5px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

.hidden {
    display: none;
}

.message-header {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
    opacity: 0.8;
}

.bot-header {
    color: #ddd;
}

.user-header {
    color: #ddd;
    text-align: right;
}

/* Typing indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    opacity: 0;
    animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.typing-dots {
    display: flex;
    align-items: center;
    background-color: #e9ecef;
    border-radius: 18px;
    padding: 10px 15px;
    margin-left: 0;
}

.typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #6c757d;
    margin: 0 2px;
    animation: typingDots 1.4s infinite ease-in-out;
}

    .typing-dot:nth-child(1) {
        animation-delay: -0.32s;
    }

    .typing-dot:nth-child(2) {
        animation-delay: -0.16s;
    }

    .typing-dot:nth-child(3) {
        animation-delay: 0;
    }

@keyframes typingDots {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Smooth scrolling */
.chatbot-messages {
    scroll-behavior: smooth;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .chatbot-container {
        width: 75%;
        height: 58%;
        bottom: 66px;
        right: 3%;
        left: 7%;
    }

    .chatbot-toggle {
        right: 10px;
        bottom: 10px;
    }

    .message-header {
        font-size: 9px !important;
        font-weight: bold;
        margin-bottom: 5px;
        opacity: 0.8;
    }

    .me
}

textarea.form-control, textarea::placeholder {
    color: #000 !important;
}



img.vert-move {
    -webkit-animation: mover 1s infinite alternate;
    animation: mover 1s infinite alternate;
}

img.vert-move {
    -webkit-animation: mover 1s infinite alternate;
    animation: mover 1s infinite alternate;
}

@-webkit-keyframes mover {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

@keyframes mover {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

.imgsize {
}

.circlelogo {
    width: 125px !important;
    border-radius: 70px !important;
}
/* Mobile responsiveness */
@media (max-width: 768px) {
    .scrollToTop.show {
        bottom: 106px !important;
    }

    .imgsize {
        height: 65px !important;
    }

    .vs-menu-toggle {
        margin-right: 11px !important;
        text-align: center !important;
    }

    .circlelogo {
        width: 75px !important;
        border-radius: 70px !important;
    }

    .bot-message {
        font-size: 12px !important;
    }

    .user-message {
        font-size: 12px !important;
    }


    .option-btn {
        font-size: 12px !important;
        text-align: left;
        padding: 4px 18px;
        width: 131px !important;
    }
}
