body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1c3643, #275d7a);
    color: #e0f7fa;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

header {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

header h1 {
    font-size: 2.8em;
    font-weight: bold;
    color: #fffde7;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

header p {
    font-size: 1.2em;
    color: #b3e5fc;
}

.logo {
    height: 80px;
    margin-bottom: 10px;
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
}

.nav-menu li {
    margin: 0 20px;
}

.nav-menu a {
    color: #b3e5fc;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #fff;
}

/* Enhanced Chatbot Styles */
.chatbot-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #ff9800;
    color: white;
    padding: 18px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    font-size: 24px;
}

.chatbot-icon:hover {
    background-color: #f57c00;
    transform: scale(1.1);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.4);
}

#chat-popup {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    max-height: 500px;
    background: rgba(15, 23, 42, 0.9);
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    z-index: 999;
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-direction: column;
}

#chatbox {
    height: 300px;
    overflow-y: auto;
    padding: 10px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Chat message bubbles */
.message {
    padding: 12px 16px;
    margin: 4px 0;
    border-radius: 18px;
    max-width: 85%;
    word-wrap: break-word;
    line-height: 1.5;
    animation: fadeIn 0.3s ease;
    font-size: 0.95em;
}

.user-message {
    background: rgba(66, 165, 245, 0.25);
    border: 1px solid rgba(66, 165, 245, 0.4);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    color: #e0f7fa;
}

.bot-message {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    color: #fffde7;
}

/* Typing indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    width: fit-content;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background-color: #b3e5fc;
    border-radius: 50%;
    margin: 0 3px;
    animation: typingAnimation 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingAnimation {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-5px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Chat input area */
.chat-input-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

#user-input {
    flex: 1;
    padding: 12px 15px;
    border-radius: 8px;
    border: none;
    font-size: 1em;
    background-color: rgba(255, 255, 255, 0.2);
    color: #e0f7fa;
    transition: all 0.3s ease;
}

#user-input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.3);
}

#user-input::placeholder {
    color: rgba(179, 229, 252, 0.7);
}

#send-button {
    padding: 12px 15px;
    border-radius: 8px;
    border: none;
    background: #ff9800;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    min-width: 80px;
}

#send-button:hover {
    background: #f57c00;
    transform: translateY(-1px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #chat-popup {
        width: 90%;
        right: 5%;
        bottom: 80px;
        max-height: 60vh;
    }
    
    .chatbot-icon {
        bottom: 20px;
        right: 20px;
    }
    
    .message {
        max-width: 90%;
    }
}

/* Existing styles for other sections */
.main-content {
    padding: 30px;
    text-align: center;
}

.main-content img {
    width: 300px;
    height: 300px;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

footer {
    background: linear-gradient(45deg, #294e64, #1e3b4a);
    color: #b3e5fc;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
}

footer h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.comparison-table {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.column {
    background: rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 8px;
    text-align: left;
    width: 30%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.column h3 {
    color: #81d4fa;
    margin-top: 0;
    border-bottom: 2px solid #64b5f6;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.column p {
    line-height: 1.6;
    margin-bottom: 10px;
}