@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&family=Poppins:wght@300;400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('bg1.jpg') no-repeat center center/cover; /* Set bg.jpg as background */
}

/* Dark overlay to make the text more readable */
.container {
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Card Design */
.content {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Headings */
h1 {
    font-size: 26px;
    color: #2c3e50;
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

/* Input */
input {
    width: 100%;
    padding: 12px;
    border: 2px solid #007BFF;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}

input:focus {
    border-color: #0056b3;
}

/* Button */
button {
    width: 100%;
    padding: 12px;
    background: #007BFF;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

button:hover {
    background: #0056b3;
}

/* Bottom Navigation Bar */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
}

/* Navigation Icons & Text */
.bottom-nav a {
    text-decoration: none;
    color: white;
    text-align: center;
    font-size: 12px;
    display: flex;
    flex-direction: column; /* Stack icon on top of text */
    align-items: center;
    transition: 0.3s;
}

.bottom-nav img {
    width: 28px; /* Adjust icon size */
    height: 28px;
    margin-bottom: 5px; /* Space between icon and text */
    opacity: 0.8;
    transition: 0.3s;
}

.bottom-nav a:hover img {
    opacity: 1;
}

.bottom-nav a:hover {
    color: #007BFF;
}
/* Chatbot Container */
.chat-box {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    height: 300px;
    overflow-y: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    max-height: 400px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Messages */
.message {
    padding: 12px;
    border-radius: 8px;
    max-width: 80%;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.bot-message {
    background-color: #007BFF;
    color: white;
    align-self: flex-start;
    text-align: left;
}

.user-message {
    background-color: #e0e0e0;
    color: #333;
    align-self: flex-end;
    text-align: right;
}

/* Input Box and Button */
input {
    width: 75%;
    padding: 12px;
    border: 2px solid #007BFF;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
    margin-right: 10px;
}

input:focus {
    border-color: #0056b3;
}

button {
    padding: 12px;
    background: #007BFF;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #0056b3;
}
