/* 
======================
Base Styles
======================
*/
:root {
    --primary-color: #4f46e5;
    --primary-light: #818cf8;
    --primary-dark: #3730a3;
    --secondary-color: #10b981;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --background-light: #f9fafb;
    --background-white: #ffffff;
    --background-dark: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.5;
    background-color: var(--background-white);
    /* Voorkom horizontaal scrollen door off-canvas elementen op mobiel */
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tagline {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* 
======================
Buttons
======================
*/
.btn {
    display: inline-block;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: #ffffff;
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    color: #ffffff;
    border-color: var(--primary-light);
}

.btn-cta {
    background-color: var(--secondary-color);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
}

.btn-cta:hover {
    background-color: #0d9488;
    color: #ffffff;
}

.btn-submit {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    width: 100%;
}

.btn-submit:hover {
    background-color: var(--primary-dark);
}

/* 
======================
Header & Navigation
======================
*/
.header {
    background-color: #ffffff;
    box-shadow: var(--shadow);
    position: sticky; /* Blijft bovenaan tijdens scrollen */
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-lg);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
}

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

/* Dropdown menu voor Oplossingen (alleen desktop) */
.nav-item-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: var(--background-light);
    color: var(--primary-color);
    padding-left: 1.5rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 10px;
}

/* 
======================
Hero Section
======================
*/
.hero-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
    gap: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary-dark), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-buttons .btn {
    padding: 0.875rem 1.25rem;
    flex: 0 1 auto;
}

.hero-image img {
    max-width: 100%;
    animation: float 6s ease-in-out infinite;
}

.rounded-image {
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    transition: all 0.3s ease;
    transform: scaleX(-1); /* Horizontaal spiegelen */
    margin-top: 30px; /* Naar beneden verplaatsen */
}

/* Aanpassing voor mobiel */
@media (max-width: 768px) {
    .rounded-image {
        max-width: 75%; /* 75% van de originele grootte op mobiel */
        margin-top: 20px;
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* 
======================
Trusted By Section
======================
*/
.trusted-by {
    padding: 4rem 0;
    background-color: var(--background-white);
}

.trusted-by .section-tagline {
    text-align: center;
    margin-bottom: 2rem;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.trusted-logo {
    opacity: 0.7;
    filter: grayscale(100%);
    transition: var(--transition);
    max-width: 200px;
    animation: floatSideways 15s ease-in-out infinite;
    position: relative;
}

.trusted-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.trusted-logo img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.trusted-logo p {
    text-align: center;
    font-size: 14px;
    margin-bottom: 0;
}

.trusted-logo a {
    text-decoration: none;
    color: var(--text-color);
    display: block;
    text-align: center;
}

.trusted-logo:nth-child(2) {
    animation-delay: -3s;
}

.trusted-logo:nth-child(3) {
    animation-delay: -6s;
}

@keyframes floatSideways {
    0% { transform: translateX(-20px); }
    50% { transform: translateX(20px); }
    100% { transform: translateX(-20px); }
}

/* 
======================
Solutions Section
======================
*/
.solutions-section {
    padding: 6rem 0;
    background-color: var(--background-light);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}

.solution-card {
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.solution-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.solution-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.solution-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.solution-description {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.solution-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
    margin-top: auto;
}

.solution-link i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.solution-link:hover i {
    transform: translateX(5px);
}

/*
======================
Benefits Section
======================
*/
.benefits-section {
    padding: 6rem 0;
    background-color: var(--background-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    position: relative;
    padding: 2rem;
    border-radius: var(--border-radius);
    background-color: var(--background-light);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.benefit-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(79, 70, 229, 0.1);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.benefit-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.benefit-description {
    color: var(--text-light);
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

/* 
======================
Approach Section
======================
*/
.approach-section {
    padding: 6rem 0;
    background-color: var(--background-light);
}

.approach-steps {
    max-width: 800px;
    margin: 3rem auto 0;
}

.approach-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.approach-step:last-child {
    margin-bottom: 0;
}

.approach-step::after {
    content: "";
    position: absolute;
    top: 70px;
    left: 30px;
    height: calc(100% - 60px);
    width: 2px;
    background-color: var(--primary-light);
}

.approach-step:last-child::after {
    display: none;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 2;
    flex-shrink: 0;
}

.step-content {
    padding-top: 0.5rem;
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.step-description {
    color: var(--text-light);
    margin-bottom: 0;
}

/* 
======================
Cases Section
======================
*/
.cases-section {
    padding: 6rem 0;
    background-color: var(--background-white);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.case-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background-color: var(--background-white);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-content {
    padding: 1.5rem;
}

.case-category {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.case-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.case-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.case-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
}

.case-link i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.case-link:hover i {
    transform: translateX(5px);
}

/* 
======================
About Section
======================
*/
.about-section {
    padding: 6rem 0;
    background-color: var(--background-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content {
    max-width: 600px;
}

.about-description {
    font-size: 1.125rem;
    color: var(--text-light);
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow); /* Subtiele schaduw */
}

.about-image::after {
    content: none; /* Remove tint overlay to keep image clear and vibrant */
}

/* Ensure the image fully fills its frame without baseline gap */
.about-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* 
======================
CTA Section
======================
*/
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* 
======================
Contact Section
======================
*/
.contact-section {
    padding: 6rem 0;
    background-color: var(--background-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-form {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.contact-form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.info-item {
    background-color: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.info-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-white);
    color: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 
======================
Footer
======================
*/
.footer {
    background-color: var(--background-dark);
    color: white;
    padding-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-about {
    max-width: 350px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: var(--transition);
}

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

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-contact-info i {
    color: var(--primary-light);
}

.footer-contact-info a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-contact-info a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

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

/* 
======================
Chat Widget
======================
*/
.chat-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.chat-toggle-btn:hover {
    background-color: var(--primary-dark);
}

.chat-toggle-btn i {
    font-size: 1.5rem;
}

.chat-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 450px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 999;
    display: none;
}

.chat-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin-bottom: 0;
    font-size: 1.125rem;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.chat-messages {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    line-height: 1.4;
}

.message p {
    margin-bottom: 0;
}

.bot-message {
    background-color: var(--background-light);
    align-self: flex-start;
    border-bottom-left-radius: 0;
}

.user-message {
    background-color: var(--primary-light);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

.chat-input {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.chat-input input {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
}

.chat-input input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.chat-input button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    width: 40px;
    cursor: pointer;
    transition: var(--transition);
}

.chat-input button:hover {
    background-color: var(--primary-dark);
}

/* 
======================
Confetti Overlay
======================
*/
.confetti-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 998; /* Onder chat button (999) */
}

/* 
======================
Media Queries
======================
*/
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        position: relative;
        flex-wrap: wrap;
    }

    .nav-menu {
        position: static; /* laat het menu onder de navbar stromen */
        transform: none; /* geen inschuiven meer */
        will-change: auto;
        flex-direction: column;
        background-color: white;
        width: 100%;
        padding: 1rem 0;
        box-shadow: none;
        gap: 1rem;
        display: none; /* standaard verborgen */
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        display: flex; /* tonen zonder animatie */
    }

    .mobile-toggle {
        display: flex;
    }

    /* Verberg dropdown menu op mobiel */
    .dropdown-menu {
        display: none !important;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .contact-form form {
        grid-template-columns: 1fr;
    }

    .chat-widget {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
        height: 350px;
        bottom: 80px;
        max-height: calc(100vh - 160px);
    }
}
