* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background-color: #FFF7EC; 
    color: #173C2C;
}
header {
    background-color: darkgreen;
    padding: 1rem 0;
    color: #fff;
}

.container {
    width: 95%;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-content {
    width: 90%;
    margin: 15rem auto;
    text-align: left;
}

.main-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.main-content p {
    font-size: 1.2rem;
    color: #333;
}

.logo {
    display: flex;
    align-items: center;
}
.logo img {
    height: 40px;
    display: block;
}

nav a {
    margin: 0 1rem;
    color: #fff;
    text-decoration: none;
}

.home-button {
    background-color: #c7362f;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
}

.home-button:hover {
    background-color: #a52c26;
}

.chatBox {
    max-width: 95vw;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 620px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none; /* Initially hidden */
    flex-direction: column;
    overflow: hidden;
    font-size: 14px;
    z-index: 1000;
}

.chatHeader {
    background: #f0f0f0;
    padding: 10px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

.chatBody {
    padding: 10px;
    height: 500px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.messageBot {
    background: #e6f3ff;
    padding: 8px 12px;
    border-radius: 10px;
    max-width: 80%;
}

.optionBtn {
    background-color: #007bff;
    color: white;
    border: none;
    margin: 4px 4px 0 0; /* slight margin for spacing */
    padding: 6px 12px;    /* reduced padding */
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-block;
    line-height: 1.2;
}
.options {
    display: flex;
    flex-wrap: wrap;
    gap: 4px; /* smaller spacing between buttons */
    margin-top: 8px;
}

.chatInput {
    display: flex;
    border-top: 1px solid #eee;
}

.chatInput input {
    flex: 1;
    padding: 10px;
    border: none;
}

.chatInput input:focus {
    outline: 2px solid #2c77ff;
    outline-offset: 2px;
}

.chatInput button {
    background: #2c77ff;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.chatToggleBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #2c77ff;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 50%;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 999;
    cursor: pointer;
}

.chatCloseBtn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, stroke 0.2s ease;
}

.chatCloseBtn:hover svg {
    stroke: #c7362f;
    transform: scale(1.1);
}
.chatCloseBtn:focus {
    outline: 2px solid #c7362f;
    outline-offset: 2px;
}

/* Chat bubbles */
.chat-bubble.user {
    background-color: #d1e7dd;
    padding: 8px 12px;
    border-radius: 10px;
    max-width: 80%;
    align-self: flex-end;
    color: #0f5132;
}

.chat-bubble.bot {
    background-color: #e6f3ff;
    padding: 8px 12px;
    border-radius: 10px;
    max-width: 80%;
    align-self: flex-start;
}

.chat-link {
    color: #2c77ff;
    text-decoration: underline;
}
