:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background-color: #ffffff;
    --section-bg: #f3f4f6;
    --success-color: #059669;

    /* n8n Chatbot Styling - Matching Site Colors */
    --chat--color-primary: var(--primary-color);
    --chat--color-primary-shade-50: #1d4ed8;
    --chat--color-primary-shade-100: var(--secondary-color);
    --chat--color-secondary: var(--success-color);
    --chat--color-secondary-shade-50: #047857;
    --chat--color-white: var(--background-color);
    --chat--color-light: var(--section-bg);
    --chat--color-light-shade-50: #e5e7eb;
    --chat--color-light-shade-100: #d1d5db;
    --chat--color-medium: #9ca3af;
    --chat--color-dark: var(--text-color);
    --chat--color-disabled: var(--light-text);
    --chat--color-typing: #374151;

    --chat--spacing: 1rem;
    --chat--border-radius: 8px;
    --chat--transition-duration: 0.3s;

    --chat--window--width: 400px;
    --chat--window--height: 600px;

    --chat--header-height: auto;
    --chat--header--padding: var(--chat--spacing);
    --chat--header--background: var(--chat--color-dark);
    --chat--header--color: var(--chat--color-light);
    --chat--header--border-top: none;
    --chat--header--border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    --chat--heading--font-size: 1.5rem;
    --chat--subtitle--font-size: 0.875rem;
    --chat--subtitle--line-height: 1.6;

    --chat--textarea--height: 50px;

    --chat--message--font-size: 0.8rem;
    --chat--message--padding: var(--chat--spacing);
    --chat--message--border-radius: var(--chat--border-radius);
    --chat--message-line-height: 1.6;
    --chat--message--bot--background: var(--chat--color-white);
    --chat--message--bot--color: var(--chat--color-dark);
    --chat--message--bot--border: 1px solid var(--chat--color-light-shade-50);
    --chat--message--user--background: var(--chat--color-primary);
    --chat--message--user--color: var(--chat--color-white);
    --chat--message--user--border: none;
    --chat--message--pre--background: rgba(37, 99, 235, 0.05);

    --chat--toggle--background: var(--chat--color-primary);
    --chat--toggle--hover--background: var(--chat--color-primary-shade-50);
    --chat--toggle--active--background: var(--chat--color-primary-shade-100);
    --chat--toggle--color: var(--chat--color-white);
    --chat--toggle--size: 64px;
}

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

/* Fix for chat message lists */
.chat-message ol,
.chat-message ul,
[class*="chat"] ol,
[class*="chat"] ul,
[data-chat] ol,
[data-chat] ul {
    padding-left: 1.5rem !important;
    margin: 0.5rem 0 !important;
}

.chat-message ol li,
.chat-message ul li,
[class*="chat"] ol li,
[class*="chat"] ul li,
[data-chat] ol li,
[data-chat] ul li {
    margin-bottom: 0.25rem !important;
    list-style-position: outside !important;
}

.chat-message ol,
[class*="chat"] ol,
[data-chat] ol {
    list-style-type: decimal !important;
}

.chat-message ul,
[class*="chat"] ul,
[data-chat] ul {
    list-style-type: disc !important;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
nav {
    background-color: var(--background-color);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: "Zen Kaku Gothic New", serif;
    font-size: 1.5rem;
    font-weight: 100;
    letter-spacing: -1px;
    color: var(--primary-color);
    display: flex;
    align-items: flex-end;
    margin-top: -7px;
    gap: 0.25rem;
}

.logo-image {

    height: 32px;
    width: 159px;
    background-image: url('../images/logo.png');
    margin-top: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.language-switch {
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
}


/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--background-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        gap: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}


/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(rgba(37, 99, 235, 0.9), rgba(30, 64, 175, 0.9)), url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1920&q=80') center/cover;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    padding: 4rem 0;
    background-color: var(--section-bg);
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.service-card:nth-child(1)::before {
    /* background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=600&q=80'); */
    background-image: url(../images/jasper.webp);
}

.service-card:nth-child(2)::before {
    background-image: url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&w=600&q=80');
}

.service-card:nth-child(3)::before {
    background-image: url('../images/strategy-small.webp');

}

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

.service-card h3 {
    color: var(--primary-color);
    margin: 160px 0 1rem;
}

/* About Section */
.about {
    padding: 4rem 0;
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1920&q=80') center/cover fixed;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Industries Section */
.industries {
    padding: 4rem 0;
    background: linear-gradient(rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.97)), url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=1920&q=80') center/cover fixed;
}

.industries h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.industry-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    padding-top: 200px;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.industry-card.healthcare::before {
    background-image: url('https://images.unsplash.com/photo-1666886573531-48d2e3c2b684?auto=format&fit=crop&w=600&q=80');
    
}

.industry-card.energy::before {
    /* background-image: url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?auto=format&fit=crop&w=600&q=80'); */
    background-image: url('https://images.unsplash.com/photo-1497435334941-8c899ee9e8e9?auto=format&fit=crop&w=600&q=80');
}

.industry-card.sustainability::before {
    background-image: url('https://images.unsplash.com/photo-1622322977885-8ee6d45ea016?auto=format&fit=crop&w=600&q=80');
}

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

.industry-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.industry-card p {
    margin-bottom: 1.5rem;
}

.industry-card ul {
    list-style: none;
    padding: 0;
}

.industry-card ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--primary-color);
}

.industry-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Contact Form */
.contact {
    padding: 4rem 0;
    background: linear-gradient(rgba(243, 244, 246, 0.97), rgba(243, 244, 246, 0.97)), url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1920&q=80') center/cover fixed;
}

.contact h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.contact .buttons {
    margin: 2rem; display: flex; justify-content: center; gap: 10px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.disclaimer-banner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center; 
    padding: 10px; 
    border-radius: 5px; 
    margin-top: 20px; 
    background-color: #ffcc0080; 
    color: #000; 
    border: 2px solid #ff000080;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-family: inherit;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    justify-self: center;
    border: none;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: white;
    padding: 1rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    padding-top: 1rem;
}

.footer-top a {
    color: var(--light-text);
    text-decoration: none;
    display: block;
}

.footer-top a:visited {
    color: var(--light-text);
}

.footer-top a:hover {
    color: white;
}

.footer-top-section {
    display: flex;
    flex-direction: row;
}

.social-links a {
    color: white;
    text-decoration: none;
    margin-right: 1rem;
}

.contact-form {
    display: none;
}

.footer-top {
    color: var(--light-text);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding-bottom: 1rem;
}

.footer-bottom {
    font-size: 0.75rem;
    display: flex;
    justify-content: space-between;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom a {
    color: white;    
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--light-text);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .container h2 {
        font-size: 1.5rem;
    }

    .nav-links a {
        margin-left: 1rem;
    }

    .disclaimer-banner {
        font-size: 0.8rem;
        max-width: 90%;
    }

    .service-grid,
    .features {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.feature {
    animation: fadeIn 0.5s ease-out forwards;
}