/* General styles */
body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5; /* Grayish background */
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Full viewport height */
}

header {
    background: #2a922a; /* Dark soft green */
    color: #e0e0e0; /* Grayish text color */
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header img {
    max-width: 100px;
    height: auto; /* Maintain aspect ratio */
}

nav.desktop-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

nav.desktop-nav ul li {
    margin-left: 15px;
}

nav.desktop-nav ul li a {
    color: #fff; /* White text color */
    text-decoration: none;
}

.menu-toggle {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    color: #fff;
    font-size: 2em;
    cursor: pointer;
}

#mobile-nav {
    display: none; /* Hidden by default */
    position: absolute;
    top: 60px; /* Adjust based on header height */
    right: 0;
    background: #2a922a; /* Dark soft green */
    width: 100%;
    text-align: center;
    z-index: 1000; /* Ensure it is above other content */
}

#mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#mobile-nav ul li {
    margin: 15px 0;
}

/* #mobile-nav ul li a {
    color: #e0e0e0; Grayish text color 
    text-decoration: none;
} */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

#mobile-nav {
    display: none;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    #mobile-nav.active {
        display: block;
    }
}

main {
    flex: 1; /* Allow main content to grow and push footer down */
    padding: 20px;
    background-color: #ffffff; /* White background for content */
}

.content-wrapper {
    max-width: 900px; /* Limiting width for better readability */
    margin: 0 auto;
    padding: 20px;
}

/* Section styles */
.contact-section {
    background-color: #ffffff; /* White background for content */
    border-radius: 8px; /* Rounded corners for modern look */
    padding: 30px; /* More padding for a spacious feel */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
}

/* Typography */
h1 {
    color: #2a922a; /* Dark soft green for headings */
    font-size: 2.5em; /* Larger font size for prominence */
    margin-bottom: 20px;
}

h2 {
    color: #2a922a; /* Dark gray for subheadings */
    font-size: 1.75em; /* Slightly smaller than h1 */
    margin-bottom: 15px;
}

p {
    font-size: 1.1em; /* Slightly larger text for readability */
    margin-bottom: 15px;
    line-height: 1.8; /* Improved line spacing */
}

/* Link styles */
a {
    color: #2a922a; /* Matching theme color */
    text-decoration: none; /* Remove underline */
    font-weight: bold; /* Make links stand out */
}

a:hover {
    text-decoration: underline; /* Underline on hover for better UX */
}

/* Footer styles */
/* Footer styles */
footer {
    background: #2a922a; /* Dark soft green background for footer */
    color: #fff; /* White text color */
    text-align: center;
    padding: 10px 20px;
    position: relative;
    z-index: 900; /* Ensure it's below the chatbot */
}


/* Responsive styles */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    #mobile-nav.active {
        display: block;
    }
}

/* signup and login page styles */

.login-signup-wrapper {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

.login-container, .signup-container {
    width: 48%;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.login-container h2, .signup-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.login-container form, .signup-container form {
    display: flex;
    flex-direction: column;
}

.login-container input, .signup-container input {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.login-container button, .signup-container button {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
}

.login-container button:hover, .signup-container button:hover {
    background-color: #0056b3;
}
/* Chatbot Page Styles */
.chatbot-wrapper {
    position: fixed;
    bottom: 60px; /* Adjust to create space for the footer */
    width: 100%;
    background-color: #f5f5f5; /* Light gray background */
    padding: 10px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow for visual effect */
    z-index: 1000; /* Ensure it stays on top of other content */
}

.chatbot-window {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 800px; /* Optional: Set a maximum width */
    margin: 0 auto; /* Center the chatbot window */
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    height: 300px; /* Adjust height as needed */
}

.conversation-window {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.message {
    margin-bottom: 10px;
}

.user-message {
    align-self: flex-end;
    background-color: #e0e0e0;
    border-radius: 12px;
    padding: 10px;
    max-width: 70%;
}

.bot-message {
    align-self: flex-start;
    background-color: #2a922a;
    color: #fff;
    border-radius: 12px;
    padding: 10px;
    max-width: 70%;
}

.ask-chatbot {
    padding: 10px;
    border-top: 1px solid #ddd;
}

#chatbot-form {
    display: flex;
    flex-direction: column;
}

#chat-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: none;
}

button {
    margin-top: 10px;
    padding: 10px;
    background-color: #2a922a;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #248d24;
}
/* The chatbot design */
.message {
    position: relative;
}

.copy-buttons {
    position: absolute;
    bottom: 5px;
    right: 5px;
    display: flex;
    gap: 5px;
}

.copy-btn {
    transition: background-color 0.3s ease;
}

.copy-btn:hover {
    background-color: #e9ecef;
}
