/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f4f4f9;
    color: #333;
}

.header-logo {
    width: 9.75em;
    height: 1.5em;
    margin: 0.5em;
    margin-left: 2.5em;
}
/* Header styling */
header {
    background-color: #d20000;
    color: #fff;
    text-align: center;
    padding: 2em 0;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 0.2em;
}

header p {
    font-size: 1.2em;
}

/* Main section styling */
main {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2em;
}

#chatbot-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5em;
    width: 100%;
    max-width: 800px;
}

.chatbot {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5em;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 250px;
}

.chatbot:hover {
    transform: translateY(-5px);
}

.chatbot h2 {
    font-size: 1.5em;
    color: #d20000;
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5em;
}

.chatbot p {
    font-size: 1em;
    color: #8d8b8b;
    margin-bottom: 1.5em;
    flex-grow: 1;
    text-wrap: balance;
}

/* Button styling */
.button {
    display: inline-block;
    padding: 0.8em 1.5em;
    background-color: #f00000;
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #c50000;
}

/* Footer styling */
footer {
    text-align: center;
    padding: 1em 0;
    background-color: #333;
    color: #fff;
    font-size: 0.9em;
}

.footer-logo {
    width: 6.5em;
    height: 1em;
}

footer p {
    margin-top: 0.5em;
}
