/* ------------------- */
/* --- Global Styles & Variables --- */
/* ------------------- */
:root {
    --bg-hero: #F0F8FF;
    --orange-primary: #F97316;
    --blue-icon: #4338CA;
    --text-dark: #111827;
    --text-medium: #374150;
    --text-light: #6B7280;
    --bg-gray: #F3F4F6;
    --bg-white: #FFFFFF;
    --border-light: #E5E7EB;
    --max-content-width: 1160px;
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    margin: 0 auto;
    background-color: var(--bg-white);
}

h1, h2, h3 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.75rem;
}

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

h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

p {
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

section {
    max-width: var(--max-content-width);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5rem;
    padding-left: 20px;
    padding-right: 20px;
}

section {
    scroll-margin-top: 80px;
}

section.hero {
    max-width: 100%;
    background-color: var(--bg-hero);
    margin-bottom: 1.5em;
}

.hero.content {
    max-width: var(--max-content-width);
    margin-left: auto;
    margin-right: auto;
}

section:last-child {
    margin-bottom: 2rem;
}

/* ------------------- */
/* --- Buttons --- */
/* ------------------- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--orange-primary);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: #FB923C;
}

.btn-outline {
    background-color: transparent;
    color: var(--orange-primary);
    border: 1px solid var(--orange-primary);
}

.btn-outline:hover {
    background-color: #FFF7ED;
}

/* ------------------- */
/* --- Header --- */
/* ------------------- */
.main-header {
    position: sticky;
    top: 0;
    background-color: var(--bg-hero);
    z-index: 1000;
    padding-left: 20px;
    padding-right: 20px;
}

.main-header--content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-content-width);
    margin-left: auto;
    margin-right: auto;
}

.main-nav {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.main-header--content .schedule-appointment {
    display: block;
}

.main-header .logo img {
    height: 75px;
    width: auto;
    display: block;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--text-medium);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.main-nav a.active {
    color: var(--orange-primary);
    font-weight: 700;
}

/* ------------------- */
/* --- Hero Section --- */
/* ------------------- */
.hero {
    padding-top: 3em;
    padding-bottom: 1.5em;
    max-width: 600px;
}

.hero h1 {
    margin-bottom: 1rem;
}

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

/* ------------------- */
/* --- Content Sections --- */
/* ------------------- */
.content-split {
    display: flex;
    gap: 4rem;
}

.content-split > div {
    flex: 1;
}

/* "Herken je dit?" Section */
.recognition-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.recognition-list .icon {
    margin-top: 4px;
}

.recognition-cta {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

/* "Voor wie?" Section */
.audience-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.audience-list .icon {
    color: var(--orange-primary);
    margin-top: 4px; /* Align icon better with text */
}

/* "Onze aanpak" Section */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 3rem;
}

.approach-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.approach-card .icon {
    color: var(--blue-icon);
}

.approach-card p {
    color: var(--text-light);
}

/* Services Section Styles */
.services-grid {
    display: grid;
    /* Creates a responsive grid. It will fit as many 300px columns as it can,
       and stretch them to fill the space. On smaller screens, they will stack. */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; /* Adjust the space between cards */
    margin-top: 30px;
    margin-bottom: 30px;
}

.service-card {
    background-color: #fff;
    border: 1px solid #e9ecef; /* Light grey border */
    border-radius: 8px; /* Rounded corners */
    padding: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Subtle shadow for depth */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.service-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.25rem; /* 20px */
}

.service-card p {
    margin-bottom: 0;
    color: #6c757d; /* A softer text color */
    line-height: 1.6;
}

/* About & Contact Section */
.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.usps li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.usps .icon {
    margin-top: 4px;
}

.contact-list .icon {
    color: var(--blue-icon);
}

.contact-list a {
    color: var(--text-medium);
    transition: color 0.3s ease;
}

.contact-list a:hover {
    color: var(--orange-primary);
}

/* Contact Form Styles */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-full {
    grid-column: 1 / -1;
}

.contact-form label {
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

.contact-form button {
    grid-column: 1 / -1;
    justify-self: start;
    border: none;
}

/* --- Mobile Navigation Styles --- */

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0.5em;
}

.mobile-nav-toggle .icon-close {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


.form-status {
    display: block;
    margin-top: 1rem;
    padding: 0.9rem 1.1rem;
    border-radius: 10px;
    max-width: 720px;
    color: var(--color-success-text, #064e3b);
    background: linear-gradient(180deg, rgba(230,255,240,0.9), rgba(255,255,255,0.9));
    box-shadow: 0 8px 30px rgba(6, 30, 20, 0.08);
    border-left: 4px solid rgba(22,163,74,0.15);
    font-weight: 600;
    font-size: 0.98rem;
    opacity: 0;
    transform: translateY(6px) scale(0.995);
    transition: opacity 240ms ease, transform 240ms ease;
    will-change: opacity, transform;
    overflow: hidden;
}

/* Visible state */
.form-status.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Success accent */
.form-status.success {
    border-left-color: var(--color-success, #16a34a);
}

/* Layout inside the card */
.form-status .success-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Icon */
.form-status .icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: inline-block;
}

/* Titles and message */
.form-status .title {
    font-weight: 700;
    color: var(--color-success-dark, #065f46);
    margin-bottom: 0.125rem;
}
.form-status .message {
    font-weight: 500;
    color: rgba(6, 30, 20, 0.8);
    font-size: 0.95rem;
}

/* Small fade-out helper (optional) */
.form-status.fade-out {
    opacity: 0 !important;
    transform: translateY(-6px) scale(0.995) !important;
    transition: opacity 320ms ease, transform 320ms ease;
}

/* ------------------- */
/* --- Responsive Design --- */
/* ------------------- */
/* Tablet and smaller screens */
@media (max-width: 992px) {
    .main-header {
        flex-direction: column;
        gap: 1rem;
    }

    .main-header--content {
        justify-content: center;
    }

    .content-split {
        flex-direction: column;
        gap: 3rem;
    }

    .main-header--cta {
        display: none; /* Hide the main CTA button on mobile */
    }

    .mobile-nav-toggle {
        display: block;
        position: absolute;
        left: 20px;
        top: 20px;
        z-index: 9999;
    }

    .main-nav {
        position: fixed;
        inset: 0 30% 0 0;
        flex-direction: column;
        padding: min(20vh, 10rem) 2em;
        background: hsl(0 0% 100% / 0.9);
        backdrop-filter: blur(1rem);
        transform: translateX(-100%);
        transition: transform 100ms ease-out;
    }

    .main-nav[data-visible="true"] {
        transform: translateX(0%);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 2em;
    }

    .mobile-nav-toggle[aria-expanded="true"] .icon-hamburger {
        display: none;
    }

    .mobile-nav-toggle[aria-expanded="true"] .icon-close {
        display: block;
    }

    .main-header--content .schedule-appointment {
        display: none;
    }

    .hero.content {
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .main-nav ul {
        gap: 1rem;
    }

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

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