.article-section:hover {
    transform: scale(1.02); /* Slightly enlarge */
    box-shadow: 0 4px 0px #b8d0ff; /* Deeper shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.article-section {
    background: rgba(255, 255, 255, 0.9); /* Semi-transparent white */
    border-radius: 20px; /* Rounded corners */
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 0px rgba(172, 183, 255, 0.697); /* Soft shadow */
    animation: floatBubble 6s infinite ease-in-out; /* Floating animation */
}

@keyframes floatBubble {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.chatbtn {
    background-color: hotpink;
}

#chatbot-container {
    position: fixed;
    bottom: 1.25rem; /* 20px */
    right: 1.25rem; /* 20px */
    z-index: 1000;
}

.card-header {
    padding: 0.5rem 1rem;
    margin-bottom: 0;
    background-color: rgba(255, 180, 215, 0.94);
    font-size: 1.25rem; /* 20px */
}

#chatbot-toggle {
    border-radius: 30px; /* More rounded corners for a pill shape */
    width: auto; /* Allow the button to expand based on content */
    height: 3.75rem; /* 60px */
    font-size: 1.5rem; /* Slightly smaller font size */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px; /* Add horizontal padding */
    gap: 10px; /* Space between icon and text */
    white-space: nowrap; /* Prevent text from wrapping */
}
#chatbot-toggle {
    white-space: nowrap; /* Prevent text from wrapping */
}
#chatbot-window {
    display: none;
    position: fixed;
    bottom: 5.625rem; /* 90px */
    right: 1.25rem; /* 20px */
    width: 18.75rem; /* 300px */
    height: 25rem; /* 400px */
    border-radius: 0.9375rem; /* 15px */
    overflow: hidden;
    transition: width 0.3s, height 0.3s;
}

#chatbot-window.large {
    width: 25rem; /* 400px */
    height: 31.25rem; /* 500px */
}

#chatbot-messages {
    height: calc(100% - 6.875rem); /* 110px */
}

.msg-bubble {
    margin-bottom: 0.9375rem; /* 15px */
    padding: 0.625rem; /* 10px */
    border-radius: 0.5rem; /* 8px */
    font-size: 1.5rem;
    line-height: 1.2;
}

.msg-user {
    background-color: #d1e7dd;
    align-self: flex-end;
}

.msg-bot {
    background-color: rgb(255, 189, 217);
    align-self: flex-start;
}



.highlight {
    color: #ff69b4;
    font-weight: bold;
}

.article-section li {
    font-size: 1.4375rem !important; /* 23px */
}

/* Keyframes for a bouncing animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Apply the animation to the chatbot toggle button */
#chatbot-toggle {
    animation: bounce 1.5s infinite ease-in-out;
}

/* Optional: Add a hover effect */
#chatbot-toggle:hover {
    animation: none; /* Stop the bounce animation on hover */
    transform: scale(1.1); /* Slightly enlarge the button */
    transition: transform 0.3s ease;
}

/* Keyframes for a floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Apply the floating animation to the chatbot toggle button */
#chatbot-toggle {
    animation: float 3s infinite ease-in-out;
}

/* Sparkle effect */
#chatbot-toggle::before,
#chatbot-toggle::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    opacity: 0;
    animation: sparkle 2s infinite ease-in-out;
}

#chatbot-toggle::before {
    top: -5px;
    left: -5px;
    animation-delay: 0.5s;
}

#chatbot-toggle::after {
    bottom: -5px;
    right: -5px;
    animation-delay: 1s;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}
.article-container{
    color: #721c24;
}