/* Global styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f7;
}

/* Layout containers */
.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

header {
    background-color: #fffdf8;
    border-bottom: 1px solid #ece8e2;
    position: sticky;
    top: 0;
    z-index: 10;
    width: 100%;
}

header .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a2e36;
}

nav a {
    margin-right: 1.5rem;
    color: #0a2e36;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #5296a5;
}

.chat-button {
    background-color: #0a2e36;
    color: #fff;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.chat-button:hover {
    background-color: #0c4e60;
}

/* Hero section */
.hero {
    padding: 4rem 2rem;
    background-color: #f7f5f1;
    color: #0a2e36;
    text-align: center;
}

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
}

.hero p {
    max-width: 800px;
    margin: 0.8rem auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Commitment section */
.commitment {
    padding: 3rem 2rem;
    background-color: #fff;
    color: #0a2e36;
    text-align: center;
}

.commitment h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.commitment-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.commitment-item {
    background-color: #f7f5f1;
    padding: 1.5rem;
    border-radius: 8px;
    max-width: 300px;
    flex: 1;
    min-width: 260px;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.commitment-item .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.commitment-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #0a2e36;
}

.commitment-item p {
    font-size: 0.95rem;
    color: #435d66;
}

/* Chat interface */
.chat-wrapper {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    width: 320px;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    border: 1px solid #ece8e2;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 20;
}

.chat-window {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background-color: #f9f9f7;
}

.chat-message {
    margin-bottom: 1rem;
}

.chat-message.user {
    text-align: right;
}

.chat-message.user .message-content {
    display: inline-block;
    background-color: #0a2e36;
    color: #fff;
    padding: 0.6rem 0.9rem;
    border-radius: 6px;
    max-width: 80%;
    font-size: 0.9rem;
}

.chat-message.ai {
    text-align: left;
}

.chat-message.ai .message-content {
    display: inline-block;
    background-color: #e8f3f5;
    color: #0a2e36;
    padding: 0.6rem 0.9rem;
    border-radius: 6px;
    max-width: 80%;
    font-size: 0.9rem;
}

.chat-input {
    display: flex;
    border-top: 1px solid #ece8e2;
    padding: 0.5rem;
    background-color: #fff;
}

.chat-input input[type="text"] {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.chat-input button {
    background-color: #0a2e36;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.chat-input button:hover {
    background-color: #0c4e60;
}

/* Contact section */
.contact {
    padding: 3rem 2rem;
    background-color: #f7f5f1;
    color: #0a2e36;
    text-align: center;
}

.contact h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact p {
    font-size: 1rem;
}

.contact a {
    color: #5296a5;
    text-decoration: none;
    font-weight: bold;
}

.contact a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #fffdf8;
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid #ece8e2;
    font-size: 0.9rem;
    color: #435d66;
}

@media (max-width: 768px) {
    nav a {
        margin-right: 1rem;
    }
    .commitment-grid {
        flex-direction: column;
        align-items: center;
    }
    .chat-wrapper {
        width: 90%;
        right: 5%;
    }
    .hero h2 {
        font-size: 1.8rem;
    }
}