body {
    font-family: Arial, sans-serif;
    background-color: #111;
    color: #ffffff;
    text-align: center;
    padding: 50px;
    margin: 0;
    overflow: hidden;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


canvas#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transition: transform 0.5s ease-in-out;
}

.container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    animation: fadeInUp 1.5s ease-in-out;
}

h1 {
    font-size: 3rem;
    color: #00bcd4;
    margin-bottom: 20px;
    animation: fadeIn 1.5s ease-in-out, colorChange 5s infinite alternate;
}

@keyframes colorChange {
    0% { color: #00bcd4; }
    25% { color: #007bff; }
    50% { color: #8a2be2; }
    75% { color: #ff4500; }
    100% { color: #00bcd4; }
}

.animated-text {
    font-size: 3rem;
    font-weight: bold;
    animation: colorChange 3s infinite alternate ease-in-out;
}

p {
    font-size: 1.2rem;
    color: #ddd;
    margin-bottom: 30px;
    animation: fadeIn 2s ease-in-out;
}

a {
    display: inline-block;
    position: relative;
    background: linear-gradient(45deg, #007bff, #00bcd4);
    color: white;
    padding: 12px 24px;
    margin: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    box-shadow: 0px 4px 10px rgba(0, 188, 212, 0.3);
    animation: fadeInUp 2.5s ease-in-out;
}

a:hover {
    transform: scale(1.1);
    background: linear-gradient(45deg, #0056b3, #008cba);
    box-shadow: 0px 6px 15px rgba(0, 188, 212, 0.5);
}


#chat-container {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 350px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border: 2px solid #00bcd4;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 188, 212, 0.3);
    padding: 15px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}


#chat-container.open {
    transform: translateX(0);
    opacity: 1;
}


#chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(45deg, #007bff, #00bcd4);
    color: white;
    padding: 10px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    font-weight: bold;
    font-size: 16px;
}


#close-chat {
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.3s;
}

#close-chat:hover {
    transform: scale(1.2);
}


#chat-messages {
    flex-grow: 1;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    background-color: #222;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
    scrollbar-color: #00bcd4 transparent;
}


#chat-messages::-webkit-scrollbar {
    width: 6px;
}

#chat-messages::-webkit-scrollbar-thumb {
    background: #00bcd4;
    border-radius: 3px;
}

.user-message {
    background-color: #00bcd4;
    color: white;
    padding: 8px 12px;
    border-radius: 15px 15px 0 15px;
    max-width: 70%;
    align-self: flex-end;
    font-size: 14px;
    box-shadow: 0 3px 5px rgba(0, 188, 212, 0.3);
    animation: fadeInMessage 0.3s ease-in-out;
}


.bot-message {
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 15px 15px 15px 0;
    max-width: 70%;
    align-self: flex-start;
    font-size: 14px;
    box-shadow: 0 3px 5px rgba(255, 255, 255, 0.1);
    animation: fadeInMessage 0.3s ease-in-out;
}


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


.typing-indicator {
    color: #aaa;
    font-style: italic;
    padding: 5px 10px;
    align-self: flex-start;
    animation: fadeInMessage 0.3s ease-in-out;
}


#chat-input {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #111;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}


#user-input {
    flex-grow: 1;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background-color: #222;
    color: white;
    font-size: 14px;
    outline: none;
    box-shadow: inset 2px 2px 4px rgba(0, 188, 212, 0.2);
}


#send-btn {
    background: #00bcd4;
    color: white;
    border: none;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    margin-left: 10px;
    transition: transform 0.2s ease-in-out, background 0.3s;
}

#send-btn:hover {
    transform: scale(1.1);
    background: #008cba;
}


#chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(45deg, #007bff, #00bcd4);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.4);
    transition: transform 0.3s ease-in-out;
}

#chat-toggle:hover {
    transform: scale(1.2);

