/* Global styling */
body {
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    font-family: Arial, sans-serif;
}

/* Container for two-column layout */
.container {
    display: flex;
    /*max-width: 1500px;*/
    margin: 25px auto;
    justify-content: space-between;
    padding: 0 25px;
}

.logo {
    width: 400px;
    height: 400px;
}

/* Left Column styling - center text in column */
.left-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    max-width: 40%;
    max-height: 780px;
    text-align: center; /* Center text */
}

h1 {
    font-size: 3rem; /* Increase font size */
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

h2 {
    font-size: 2rem; /* Increase font size */
    color: #666;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.4rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin-top: 5px;
    margin-bottom: 10px;
}

h4 {
    font-size: 1rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin-top: 5px;
    margin-bottom: 10px;
}

.help-text {
    font-size: 2rem; /* Increase font size */
    color: #00402E;
    margin-bottom: 10px;
    margin-top: 10px;
}

.sub-text {
    font-size: 1.3rem; /* Increase font size */
    color: #777;
    margin-bottom: 50px;
    margin-top: 25px;
}

.contact-button {
    display: inline-block;
    background-color: #004d40;
    color: white;
    padding: 15px 50px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1.2rem; /* Increase button font size */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: #00796b;
}

.contact-info {
    margin-top: 100px;
    display: flex;
    justify-content: space-between;
    width: 100%; /* Ensure both phone and email take full width */
    max-width: 400px;
    text-align: left;
}

.contact-item {
    flex: 1;
    text-align: center;
}

.contact-item span {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.contact-item p,
.contact-item a {
    display: block;
    font-size: 1.1rem;
    color: #004d40;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Right Column styling */
.right-column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Chat Widget Styling */
.chat-widget {
    display: flex;
    flex-direction: column;
    height: 90%;  /* Keep the height setting */
    width: 75%;
    max-height: 700px;
    background-color: #004d40; /* Full green background */
    border: 1px solid #ccc;
    border-radius: 32px;
    padding: 14px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    margin-top: 90px;
    margin-right: 10%;
}

.chat-header {
    color: white;
    /* padding: 15px; */
    text-align: center;
    font-weight: bold;
    /*border-radius: 10px 10px 0 0;*/
}

.chat-body {
    flex-grow: 1;
    overflow-y: auto;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #004d40;
    border-radius: 5px;
}

.chat-input {
    display: flex;
    padding: 8px;
    background-color: #fafafa; /* Keep input background white */
    border-radius: 2px 2px 15px 15px;
    border-top: 1px solid #ccc;
    margin-top: auto;  /* Aligns the input box at the bottom */
}

.chat-input input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white; /* White background for input */
}

.chat-input button {
    padding: 10px 20px;
    background-color: #004d40;
    color: white;
    border: none;
    border-radius: 5px;
    margin-left: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.chat-input button:hover {
    background-color: #00796b;
}

/* Message styling */
.message {
    display: inline-block;
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
    color: #333;
    max-width: 80%; /* Limit the message width to 80% */
    word-wrap: break-word;
    clear: both;
}

.message.user {
    font-size: 0.9rem; /* Decrease font size */
    text-align: right;
    background-color: #2ee77f;
    margin-left: auto; /* Push the user message a bit to the left */
    margin-right: 10px; /* Small margin on the right */
    float: right; /* Align user messages to the right */
    text-align: left; /* Keep text inside aligned left */
    max-width: 45%; /* Adjust max width to prevent it from taking too much space */
}

.message.bot {
    font-size: 0.9rem; /* Decrease font size */
    background-color: #76c7ff;
    margin-right: auto; /* Push the bot message a bit to the right */
    margin-left: 10px; /* Small margin on the left */
    float: left; /* Align bot messages to the left */
    text-align: left; /* Keep text inside aligned left */
    max-width: 45%; /* Adjust max width to prevent it from taking too much space */
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        padding: 0 10px;
    }

    .left-column, .right-column {
        flex: none;
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .chat-widget {
        width: 100%;
        margin-top: 20px;
    }
}
