body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background-color: lab(70.85% 20.59 -38.8); /* Light red background */
    padding: 1rem;
    text-align: center;
}

h1 {
    margin: 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center; /* Center the navigation items */
    gap: 2rem; /* Space between items */
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: #721c24; /* Dark red text color */
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #d9534f; /* Slightly brighter red on hover */
}

nav {
    margin: 20px 0;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 15px;
}

nav a:hover {
    background: #e8491d;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

footer {
    background: #35424a;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}
.carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 2rem;
}

.carousel-container {
    display: flex;
    animation: slide 10s infinite;
}

.carousel-container img {
    width: 100%;
    height: auto;
}

@keyframes slide {
    0% { transform: translateX(0); }
    33% { transform: translateX(-100%); }
    66% { transform: translateX(-200%); }
    100% { transform: translateX(0); }
}

.company-description {
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    line-height: 1.6;
}

.company-description h2 {
    color: #007BFF;
    margin-bottom: 1rem;
}
.about-timeline {
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    line-height: 1.6;
}

.about-timeline h3 {
    color: #007BFF;
    margin-top: 1.5rem;
}

.about-timeline p {
    margin: 0.5rem 0;
}

.image-gallery {
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-top: 2rem;
}

.image-gallery h2 {
    text-align: center;
    color: #007BFF;
    margin-bottom: 1rem;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.gallery img {
    width: 333px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

.chat-page {
    max-width: 980px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.chat-hero {
    background: linear-gradient(135deg, #eef6ff, #fff7f0);
    border-radius: 18px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 12px 30px rgba(31, 61, 109, 0.08);
}

.chat-eyebrow {
    color: #e8491d;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 0.5rem;
}

.chat-hero h2 {
    font-size: 2.2rem;
    margin: 0 0 0.75rem;
    color: #213547;
}

.chat-hero p {
    margin: 0;
    color: #516171;
    line-height: 1.7;
}

.chat-shell {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(31, 61, 109, 0.12);
    overflow: hidden;
}

.chat-messages {
    height: 520px;
    overflow-y: auto;
    padding: 1.5rem;
    background: #f7f9fc;
}

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

.chat-message-user {
    justify-content: flex-end;
}

.chat-message-ai {
    justify-content: flex-start;
}

.chat-bubble {
    max-width: 78%;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    line-height: 1.7;
    word-break: break-word;
    white-space: pre-wrap;
}

.chat-message-user .chat-bubble {
    background: #e8491d;
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.chat-message-ai .chat-bubble {
    background: #ffffff;
    color: #213547;
    border: 1px solid #e8edf3;
    border-bottom-left-radius: 4px;
}

.chat-bubble a {
    color: #0b69c7;
    font-weight: 700;
}

.chat-bubble h1,
.chat-bubble h2,
.chat-bubble h3 {
    margin: 0.4rem 0 0.5rem;
    color: #213547;
    line-height: 1.4;
}

.chat-bubble h1 {
    font-size: 1.35rem;
}

.chat-bubble h2 {
    font-size: 1.2rem;
}

.chat-bubble h3 {
    font-size: 1.08rem;
}

.chat-bubble p {
    margin: 0.45rem 0;
}

.chat-bubble ul {
    margin: 0.45rem 0;
    padding-left: 1.25rem;
}

.chat-bubble li {
    margin: 0.25rem 0;
}

.chat-form {
    padding: 1rem;
    border-top: 1px solid #e8edf3;
    background: #ffffff;
}

.chat-form textarea {
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
    border: 1px solid #d8e0ea;
    border-radius: 12px;
    padding: 0.9rem 1rem;
    font: inherit;
    line-height: 1.6;
    outline: none;
}

.chat-form textarea:focus {
    border-color: #e8491d;
    box-shadow: 0 0 0 3px rgba(232, 73, 29, 0.12);
}

.chat-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.8rem;
}

.chat-actions button {
    border: none;
    border-radius: 999px;
    background: #e8491d;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    cursor: pointer;
}

.chat-actions button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.chat-status {
    color: #6b7785;
    font-size: 0.95rem;
}
.text-section {
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.text-section h2 {
    color: #007BFF;
    margin-bottom: 1rem;
}

.image-gallery {
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.image-gallery h2 {
    text-align: center;
    color: #007BFF;
    margin-bottom: 1rem;
}

.gallery img:hover {
    transform: scale(1.05);
}