/* General styles for the redesign */
body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    background-color: #f8fafc; /* Tailwind slate-50 */
    color: #334155; /* Tailwind slate-700 */
}
/* Custom scrollbar for a cleaner look */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #e2e8f0; /* Tailwind slate-200 */
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: #64748b; /* Tailwind slate-500 */
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #475569; /* Tailwind slate-600 */
}

/* Fade-in animation for sections */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Button hover effect */
.btn-primary {
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn-primary:hover {
    background-color: #1e40af; /* Tailwind blue-800 */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Card hover effect */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Hero image overlay */
.hero-overlay {
    background-image: linear-gradient(to right, rgba(29, 78, 216, 0.7), rgba(59, 130, 246, 0.5)); /* Tailwind blue-700 to blue-500 with opacity */
}

/* Parallax effect for the scrolling image section */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Scrolling Notice Bar Styles */
.notice-bar {
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    position: relative;
}

.notice-content {
    display: inline-block;
    padding-left: 100%; /* Starts the text off-screen to the right */
    animation: scrolling-notice 20s linear infinite; /* Adjust duration for speed */
}

@keyframes scrolling-notice {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

/* Styles specific to the header and top bar */
/* (No custom CSS provided in the original selection, mostly uses Tailwind classes) */
/* Add your custom header styles here if needed */

/* Styles specific to the footer */
/* (No custom CSS provided in the original selection, mostly uses Tailwind classes) */
/* Add your custom footer styles here if needed */

/* Chatbot specific styles */
.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chatbot-icon {
    background-color: #1d4ed8; /* blue-700 */
    color: white;
    border-radius: 9999px; /* full rounded */
    padding: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    display: flex; /* Added for centering icon content */
    justify-content: center; /* Added for centering icon content */
    align-items: center; /* Added for centering icon content */
}

.chatbot-icon:hover {
    transform: scale(1.05);
}

.chatbot-window {
    background-color: white;
    border-radius: 0.75rem; /* rounded-lg */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 350px;
    height: 500px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* The 'hidden' Tailwind class in HTML will handle initial hiding. */
}

.chat-messages {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
    background-color: #f8fafc; /* slate-50 */
}

.chat-input-area {
    display: flex;
    padding: 1rem;
    border-top: 1px solid #e2e8f0; /* slate-200 */
}

.chat-message-bubble {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
}

.chat-message-user {
    background-color: #3b82f6; /* blue-500 */
    color: white;
    align-self: flex-end;
    margin-left: auto;
}

.chat-message-ai {
    background-color: #e2e8f0; /* slate-200 */
    color: #334155; /* slate-700 */
    align-self: flex-start;
    margin-right: auto;
}

.chat-loading-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20px; /* Adjust as needed */
    margin-top: 0.5rem;
}

.chat-loading-dots span {
    width: 8px;
    height: 8px;
    background-color: #64748b; /* slate-500 */
    border-radius: 50%;
    margin: 0 2px;
    animation: bounce 1.4s infinite ease-in-out both;
}

.chat-loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.chat-loading-dots span:nth-child(2) { animation-delay: -0.16s; }
.chat-loading-dots span:nth-child(3) { animation-delay: 0s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}
