/* filepath: c:\Users\kiann\Desktop\HTML JVK\css\styles.css */
:root {
    --base: 1rem;
    --container-max: 75rem;
    /* 1200px */
    --page-max: 80rem;
    /* 1280px */
    --nav-height: 6rem;
    --gap: 1rem;
    /* 16px */
    --gutter-inline: 1rem;
    /* 16px */
    --gutter-block: 1.5rem;
    /* 24px */
    --radius: 1rem;
    --primary-text: #000000;
    /* changed to pure black as requested */
    --color-green: #50A562;
    --color-red: #FF6B6B;
    --color-blue: #2292A4;
    --color-yellow: #FFC857;
    --color-orange: #D96C06;
    --background-light: #FFFFFF;
    --background-footer: #2A2721;
    --text-light: #D1D5DB;
    --text-muted: #9CA3AF;
    --background-light-alt: #FCFBF8;
    --transition-fast: 0.2s;
    --transition-ease: cubic-bezier(0.4, 0, 0.2, 1);
    overflow-x: hidden;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-light-alt);
    color: var(--primary-text);
    overflow-x: hidden;
    word-break: break-word;
    overflow-wrap: anywhere;
    /* Ensures long words/URLs wrap and no horizontal scroll */
}

/* Sticky footer layout: make the document a column flex container so the
   footer is pushed to the bottom when page content is short. Keep the
   header and footer natural size and allow main to grow. */
html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    /* Allow the main content area to grow and fill available vertical space */
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

main>section:last-of-type {
    flex: 1;
}

.footer {
    /* Ensure footer does not collapse; keep it visible at the bottom */
    flex-shrink: 0;
}

.header {
    background: var(--background-light-alt);
    padding: 0;
    border-bottom: none;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(2px);
}

.nav-container {
    width: 100%;
    max-width: var(--page-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--gutter-inline) var(--gutter-block) var(--gutter-block);
    box-sizing: border-box;
    height: var(--nav-height);
}

.nav-logo {
    text-decoration: none;
    padding: var(--gutter-block) 0 0 0;
    color: var(--primary-text);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 30%;
    max-width: 30%;
}

.nav-logo__image {
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: var(--gap);
    height: 100%;
    margin: 0;
    padding: 0;
    align-items: stretch;
    flex: none;
    justify-content: flex-end;
}

.nav-menu-item {
    height: 100%;
    padding: 0;
    /* keep the container unrounded so transforms don't squash the radius:;
    applythevisibleroundingtotheinnerlinkandtheoverlay(:;
    :;
    before)*/
    border-radius: 0;
    transition: opacity var(--transition-fast) var(--transition-ease), transform var(--transition-fast) var(--transition-ease);
    display: flex;
    /*stretchitemssothelinkbackgroundcanfillthenavheight*/
    align-items: stretch;
    justify-content: center;
    transform-origin: top;
    overflow: hidden;
    position: relative;
    flex: none;
    width: auto;
    -webkit-transition: opacity var(--transition-fast) var(--transition-ease), transform var(--transition-fast) var(--transition-ease);
    -moz-transition: opacity var(--transition-fast) var(--transition-ease), transform var(--transition-fast) var(--transition-ease);
    -ms-transition: opacity var(--transition-fast) var(--transition-ease), transform var(--transition-fast) var(--transition-ease);
    -o-transition: opacity var(--transition-fast) var(--transition-ease), transform var(--transition-fast) var(--transition-ease);
}

.nav-menu-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 0;
    pointer-events: none;
    /* ensure the overlay (shadow/hover ring) follows the same rounded corners */
    border-radius: 0 0 var(--radius) var(--radius);
    transition: box-shadow var(--transition-fast) var(--transition-ease);
}

.nav-menu-item:hover::before,
.nav-menu-item:focus-within::before {
    border-radius: 0 0 var(--radius) var(--radius);
}


.nav-menu-item {
    transform: scaleY(0.6);
    --nav-shrink: 0.6;
}

.nav-menu-item:hover {
    opacity: 1;
    transform: scaleY(1);
    --nav-shrink: 1;
}

.nav-menu-item.active {
    opacity: 1;
    transform: scaleY(1);
    --nav-shrink: 1;
    z-index: 2;
}

.nav-menu.active-hover .nav-menu-item:not(.active):not(:hover) {
    transform: scaleY(0.6);
    --nav-shrink: 0.6;
    opacity: 0.7;
}

.nav-menu.active-hover .nav-menu-item.active,
.nav-menu.active-hover .nav-menu-item:hover {
    transform: scaleY(1);
    --nav-shrink: 1;
    opacity: 1;
}

.nav-link {
    display: flex;
    align-items: flex-end;
    height: 100%;
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem;
    /* visible background and rounded corners live on the link so scaling the parent
       (which performs the visual collapse) doesn't distort the border-radius */
    border-radius: 0 0 var(--radius) var(--radius);
    transform: scaleY(calc(1 / var(--nav-shrink, 1)));
    transform-origin: bottom;
    transition: transform var(--transition-fast) var(--transition-ease);
    position: relative;
    z-index: 1;
    width: auto;
    min-width: 0;
    box-sizing: border-box;
}

.nav-link:hover {
    opacity: 0.85;
}

.nav-link--advies {
    background-color: var(--color-green);
}

.nav-link--begeleiding {
    background-color: var(--color-red);
}

.nav-link--diensten {
    background-color: var(--color-blue);
}

.nav-link--tarieven {
    background-color: var(--color-yellow);
}

.nav-link--overmij {
    background-color: var(--color-orange);
}

.hero-section {
    min-height: calc(90vh - var(--nav-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.hero-content {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.875rem;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        width: 100%;
        margin: 0 auto;
    }

    .hero-text {
        width: 100%;
        max-width: 32rem;
        box-sizing: border-box;
        padding: 0 1.2rem;
        margin: 0 auto;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .hero-section {
        min-height: 40vh;
        padding: 1.5rem 0;
    }
}

.hero-profile {
    text-align: center;
    flex-shrink: 0;
    width: 27vw;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.profile-image-wrap {
    display: inline-block;
    border-radius: 50%;
    padding: 0.25rem;
    box-sizing: border-box;
    line-height: 0;
    background: conic-gradient(var(--color-green) 0deg 72deg, var(--color-red) 72deg 144deg, var(--color-blue) 144deg 216deg, var(--color-yellow) 216deg 288deg, var(--color-orange) 288deg 360deg);
    outline: 0.25rem solid rgba(0, 0, 0, 0.03);
}

.profile-image {
    border-radius: 50%;
    object-fit: cover;
    width: 100%;
    height: auto;
    display: block;
    box-sizing: border-box;
}

.profile-name {
    font-weight: 700;
}

.hero-title {
    font-size: clamp(2rem, 7vw, 3.5rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    white-space: nowrap;
    overflow: hidden;
}

.text-highlight-blue {
    /* highlight follows page accent */
    color: var(--color-blue);
}

.text-highlight-red {
    /* highlight follows page accent */
    color: var(--color-red);
}

.text-highlight-green {
    /* highlight follows page accent */
    color: var(--color-green);
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 34.375rem;
    /* 550px */
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    align-content: stretch;
    flex-wrap: wrap;
    gap: 1rem;
}

.button-primary {
    display: inline-block;
    background-color: var(--accent, var(--color-blue));
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 700;
}

.button-secondary {
    display: inline-block;
    background: transparent;
    color: var(--accent, var(--color-blue));
    padding: 0.9rem 1.5rem;
    text-decoration: none;
    border-radius: 0.5rem;
    border: 2px solid currentColor;
    font-weight: 700;
}

.divider-gradient {
    width: 100%;
    height: 0.625rem;
    margin: 3rem 0;
    border-radius: 100px;
    box-sizing: border-box;
    display: flex;
    overflow: hidden;
}

.divider-gradient__block {
    flex: 1 1 0;
    height: 100%;
}

.divider-gradient__block--green {
    /* decorative blocks use page accent so only the page color appears */
    background: var(--accent, var(--color-green));
}

.divider-gradient__block--red {
    background: var(--accent, var(--color-red));
}

.divider-gradient__block--blue {
    background: var(--accent, var(--color-blue));
}

.divider-gradient__block--yellow {
    background: var(--accent, var(--color-yellow));
}

.divider-gradient__block--orange {
    background: var(--accent, var(--color-orange));
}

.footer {
    background-color: var(--background-footer);
    color: var(--text-light);
    padding: 2.5rem 0;
    margin-top: 4rem;
}

.footer-container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright .company-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.footer-copyright p,
.footer-copyright a {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-light);

    /* Contact info layout for footer (moved from inline styles in footer.php) */
    .footer-contact-info {
        display: flex;
        gap: 0.5rem;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: flex-start;
        justify-content: center;
        align-items: flex-start;
    }

    text-decoration: none;
    font-size: 0.875rem;
}

/* Footer menu rendered by WP (fallback keeps same visual style) */
.footer-nav {
    list-style: none;
    display: flex;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-direction: row;
}

.footer-nav li {
    margin: 0;
}

.footer-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.875rem;
    text-wrap-mode: nowrap;
    transition: color var(--transition-fast) var(--transition-ease), opacity var(--transition-fast) var(--transition-ease);
}

.footer-nav a:hover,
.footer-nav a:focus {
    color: #ffffff;
    opacity: 0.95;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .footer-links,
    .footer-nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        flex-direction: column;
    }

    .footer-nav a {
        padding: 0.25rem 0;
    }
}

/* Section - Secties (main.html) */
section {
    padding: 0 1rem;
}

.section-secties {
    width: 100%;
    max-width: 80rem;
    box-sizing: border-box;
    padding: 0 1rem;
    padding-top: 4.75rem;
    padding-bottom: 4.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.section-secties .container {
    width: 100%;
    max-width: 80rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 4rem;
}

.section-secties .container-inner {
    width: 48rem;
    max-width: 48rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
}

.section-secties .heading2 {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(1.2rem, 5vw, 2.5rem);
}

.section-secties .horizontaal-logo {
    width: 71.5rem;
    max-width: 100%;
    height: 5rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    box-sizing: border-box;
}

.section-secties .horizontaal-logo__image {
    display: block;
    max-width: 80vw;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .section-secties .horizontaal-logo__image {
        max-width: 98vw;
    }

    .section-secties .horizontaal-logo {
        padding: 1rem 0;
    }
}

.section-secties .frame14 {
    width: 71.5rem;
    padding-top: 0.93rem;
    padding-bottom: 0.93rem;
    left: 0;
    top: 0;
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 1.2rem;
}

.section-secties .abcd-e {
    width: 26.4rem;
    height: 6.13rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.section-secties .abcd-e span {
    font-family: Rubik, sans-serif;
    font-weight: 700;
    font-size: 6.27rem;
    word-wrap: break-word;
}

.section-secties .color-a {
    color: white;
}

.section-secties .color-b {
    color: #B8B8B8;
}

.section-secties .color-c {
    color: #8A8A8A;
}

.section-secties .color-d {
    color: #6F6E6E;
}

.section-secties .color-amp {
    color: #464646;
}

.section-secties .color-e {
    color: #242424;
}

.section-secties .color-block-green {
    background: var(--accent, var(--color-green));
    width: 4.6rem;
    height: 5.1rem;
}

.section-secties .color-block-red {
    background: var(--accent, var(--color-red));
    width: 4.6rem;
    height: 5.1rem;
}

.section-secties .color-block-blue {
    background: var(--accent, var(--color-blue));
    width: 4.6rem;
    height: 5.1rem;
}

.section-secties .color-block-dark {
    background: #242424;
    width: 4.6rem;
    height: 5.1rem;
}

.section-secties .color-block-yellow {
    background: var(--accent, var(--color-yellow));
    width: 4.6rem;
    height: 5.1rem;
}

.section-secties .color-block-orange {
    background: var(--accent, var(--color-orange));
    width: 4.6rem;
    height: 5.1rem;
}

.section-secties .rectangle4 {
    width: 0.36rem;
    height: 8.24rem;
    background: #D9D9D9;
}

.section-secties .abcd-e-title {
    width: 36.3rem;
    height: 3.85rem;
    position: relative;
    color: #242424;
    font-size: clamp(2rem, 7vw, 3.7rem);
    font-family: Rubik, sans-serif;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
}

.section-secties .kernservices {
    width: 100%;
    text-align: center;
    color: #4B5563;
    font-size: clamp(1rem, 3vw, 1.125rem);
    font-family: Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.55;
    white-space: nowrap;
    overflow: hidden;
}

/* Service box heading style: heading sits in a colored box; description below */
.service-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 8rem;
    border-radius: 0.75rem;
    box-shadow: 0 6px 16px rgba(11, 14, 18, 0.06);
    color: #fff;
    margin-bottom: 0.75rem;
}

.service-box .heading3 {
    color: #fff;
    font-size: clamp(1rem, 4vw, 1.5rem);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
}

.service-box--red {
    background: linear-gradient(0deg, var(--color-red) 0%, var(--color-red) 100%);
}

.service-box--green {
    background: linear-gradient(0deg, var(--color-green) 0%, var(--color-green) 100%);
}

.service-box--blue {
    background: linear-gradient(0deg, var(--color-blue) 0%, var(--color-blue) 100%);
}

.service-box--yellow {
    background: linear-gradient(0deg, var(--color-yellow) 0%, var(--color-yellow) 100%);
}

.service-box--orange {
    background: linear-gradient(0deg, var(--color-orange) 0%, var(--color-orange) 100%);
}

.section-secties .cards-row {
    /* Semantic container only — layout should be applied explicitly in HTML using utility classes
       such as `.card-grid` below. This keeps visual styles (below) separate from structural choices. */
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Utility: apply grid/flex layout when needed in HTML */
.card-grid {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* Modifier helpers for HTML authors to choose sizing/behavior per card */
.card--narrow {
    flex: 0 0 200px;
    max-width: 220px;
}

.card--medium {
    flex: 0 0 260px;
    max-width: 300px;
}

.card--fluid {
    flex: 1 1 0;
}

.BackgroundBorderShadow.card {
    /* Visual styling only: background, shadow, padding and internal layout. Do NOT impose width
       or flex-basis — let HTML control the layout using .card-grid and modifier classes. */
    padding: 25px;
    background: #fff;
    box-shadow: 0 2px 4px -2px rgba(0, 0, 0, 0.10);
    overflow: hidden;
    border-radius: 8px;
    outline: 1px #E5E7EB solid;
    outline-offset: -1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    /* clear sizing so markup decides card width */
    width: auto;
    min-width: 0;
    max-width: none;
}

.Margin {
    width: 64px;
    height: 80px;
    display: flex;
    align-items: flex-start;
}

.Background.card-icon {
    width: 64px;
    height: 64px;
    background: var(--accent);
    ;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: Inter, sans-serif;
}

.Heading3Margin {
    padding-bottom: 8px;
    display: flex;
    width: 100%;
    justify-content: center;
}

.Heading3 .ExpertGuidance,
.Heading3 .StructuredApproach,
.Heading3 .PersonalizedFeedback,
.Heading3 .TimeManagement {
    color: var(--primary-text);
    font-size: 20px;
    font-family: Manrope, sans-serif;
    font-weight: 700;
    line-height: 28px;
    text-align: center;
}

.card-desc div {
    color: #1C1C1E;
    font-size: 16px;
    font-family: Manrope, sans-serif;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
}

.who-card {
    padding: 33px;
    background: #fff;
    box-shadow: 0 2px 4px -2px rgba(0, 0, 0, 0.10);
    border-radius: 8px;
    outline: 1px #E5E7EB solid;
    outline-offset: -1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.body-copy {
    color: #1C1C1E;
    font-size: 18px;
    font-family: Manrope, sans-serif;
    font-weight: 400;
    line-height: 29.25px;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {

    .Container.text-block,
    .Container.card-desc {
        width: 100%;
    }

    .page-title-badge {
        font-size: 36px;
    }
}

@media (max-width: 800px) {
    .cards-row {
        gap: 16px;
    }

    .BackgroundBorderShadow.card {
        flex: 1 1 45%;
        max-width: 45%;
    }

    .page-title-badge {
        font-size: 28px;
    }

    .section-benefits {
        font-size: 28px;
    }

    .footer-copyright p {
        text-align: center;
    }

    .footer-container {
        display: flex;
        align-items: center;
    }

    .hero-buttons {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        align-content: stretch;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .button-secondary,
    .button-primary {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .BackgroundBorderShadow.card {
        flex-basis: 100%;
        max-width: 100%;
    }

    .page-title-badge {
        font-size: 24px;
    }

    .section-benefits {
        font-size: 22px;
    }
}

/* End of Begeleiding page styles */

/* Mobile navigation behavior (matches navbar.js expectations) */
@media (max-width: 800px) {
    .nav-container {
        position: relative;
        flex-wrap: wrap;
        height: auto;
        min-height: var(--nav-height);
        padding-bottom: 0;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 0;
        position: static;
        width: 100%;
        background: var(--background-light-alt);
        box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.08);
        z-index: 1001;
        margin: 0;
        padding: 0;
        border-radius: 0 0 var(--radius) var(--radius);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: max-height 0.35s var(--transition-ease), opacity 0.28s var(--transition-ease);
    }

    .nav-menu.open {
        max-height: 30rem;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: max-height 0.45s var(--transition-ease), opacity 0.28s var(--transition-ease);
    }

    .nav-menu.hiding {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s var(--transition-ease);
        max-height: 0 !important;
        overflow: hidden;
    }

    .nav-menu.open .nav-menu-item.active,
    .nav-menu.hiding .nav-menu-item.active,
    .hamburger.open+.nav-menu .nav-menu-item.active,
    .hamburger.collapsing+.nav-menu .nav-menu-item.active {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .nav-menu.open .nav-menu-item.active>.nav-link,
    .nav-menu.hiding .nav-menu-item.active>.nav-link,
    .hamburger.open+.nav-menu .nav-menu-item.active>.nav-link,
    .hamburger.collapsing+.nav-menu .nav-menu-item.active>.nav-link {
        opacity: 0 !important;
        visibility: hidden !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        pointer-events: none !important;
        display: block !important;
    }

    .nav-menu-item {
        width: 100%;
        height: auto;
        align-items: stretch;
        justify-content: flex-start;
        border-radius: 0;
        margin: 0;
        padding: 0;
        transition: none;
    }

    .nav-menu .nav-menu-item {
        transform: translateY(-0.6rem);
        opacity: 0;
        transition: transform 0.34s var(--transition-ease), opacity 0.28s var(--transition-ease);
    }

    .nav-menu.open .nav-menu-item {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-menu.open .nav-menu-item:nth-child(1) {
        transition-delay: 0s;
    }

    .nav-menu.open .nav-menu-item:nth-child(2) {
        transition-delay: 0.1s;
    }

    .nav-menu.open .nav-menu-item:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-menu.open .nav-menu-item:nth-child(4) {
        transition-delay: 0.3s;
    }

    .nav-menu.open .nav-menu-item:nth-child(5) {
        transition-delay: 0.4s;
    }

    .nav-link {
        width: 100vw;
        min-width: 0;
        font-size: 1.2rem;
        padding: 0.8rem 1.2rem;
        border-radius: 0;
        text-align: left;
        box-sizing: border-box;
        color: #fff;
        font-weight: 700;
        --nav-shrink: 1;
    }

    .nav-logo {
        max-width: 60vw;
        flex: 1 1 60vw;
        padding: 0.5rem 0 0.5rem 1rem;
        height: var(--nav-height);
    }

    .nav-logo__image {
        height: 2.5rem;
        max-height: 2.5rem;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        width: 2.5rem;
        height: 3rem;
        margin-right: 1.5rem;
        margin-left: auto;
        cursor: pointer;
        z-index: 1100;
        position: relative;
        transition: transform 0.28s var(--transition-ease);
    }

    .hamburger-bar {
        width: 2.2rem;
        height: 0.33rem;
        border-radius: 2px;
        margin: 0;
        position: absolute;
        left: 0.2rem;
        transform-origin: left top;
        opacity: 1;
        transform: rotate(0deg) translateX(0);
        transition: top 0.18s var(--transition-ease), transform 0.36s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.18s var(--transition-ease);
    }

    .hamburger-bar.green {
        top: 0.35rem;
        background: var(--color-green);
        z-index: 3;
    }

    .hamburger-bar.red {
        top: 0.95rem;
        background: var(--color-red);
        z-index: 2;
    }

    .hamburger-bar.blue {
        top: 1.55rem;
        background: var(--color-blue);
        z-index: 2;
    }

    .hamburger-bar.yellow {
        top: 2.15rem;
        background: var(--color-yellow);
        z-index: 2;
    }

    .hamburger-bar.orange {
        top: 2.75rem;
        background: var(--color-orange);
        z-index: 2;
    }

    .hamburger.collapsing .hamburger-bar {
        opacity: 0.95;
        transition: top 0.18s var(--transition-ease), transform 0.26s var(--transition-ease), opacity 0.18s var(--transition-ease);
    }

    .hamburger.collapsing .hamburger-bar.green {
        top: 0.35rem;
        transform: rotate(0deg) translateX(0);
        opacity: 1;
        z-index: 3;
    }

    .hamburger.collapsing .hamburger-bar.red,
    .hamburger.collapsing .hamburger-bar.blue,
    .hamburger.collapsing .hamburger-bar.yellow,
    .hamburger.collapsing .hamburger-bar.orange {
        top: 0.35rem;
        transform: rotate(0deg) translateX(0);
        opacity: 0.95;
        z-index: 2;
    }

    .hamburger.open .hamburger-bar {
        top: 0.35rem;
        opacity: 1;
        transform-origin: left top;
    }

    .hamburger.open .hamburger-bar.green {
        transform: rotate(0deg) translateX(0);
        transition-delay: 0s;
        z-index: 3;
    }

    .hamburger.open .hamburger-bar.red {
        transform: rotate(22.5deg) translateX(0.06rem);
        transition-delay: 0.1s;
        z-index: 2;
    }

    .hamburger.open .hamburger-bar.blue {
        transform: rotate(45deg) translateX(0.12rem);
        transition-delay: 0.2s;
        z-index: 2;
    }

    .hamburger.open .hamburger-bar.yellow {
        transform: rotate(67.5deg) translateX(0.18rem);
        transition-delay: 0.3s;
        z-index: 2;
    }

    .hamburger.open .hamburger-bar.orange {
        transform: rotate(90deg) translateX(0.24rem);
        transition-delay: 0.4s;
        z-index: 2;
    }

    .hero-profile {
        display: none !important;
    }

    .section-secties {
        padding-top: 2.2rem;
        padding-bottom: 2.2rem;
    }
}

/* Page hero / per-page accent utilities */
.page-hero {
    width: 100%;
    max-width: var(--container-max);
    margin: 2rem auto 0;
    padding: 2rem 1.25rem;
    box-sizing: border-box;
    background: var(--background-light);
    border-radius: 0.75rem;
    box-shadow: 0 6px 20px rgba(11, 14, 18, 0.05);
    border-top: 0.5rem solid var(--accent, var(--color-blue));
}

.page-hero .page-title {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    line-height: 1.15;
    font-weight: 700;
    color: var(--accent, var(--color-blue));
}

.page-hero .page-lead {
    margin: 0;
    color: var(--primary-text);
    font-size: 1rem;
    line-height: 1.6;
}

/* Per-page capsule header and centered intro for non-front pages */
.begeleiding-content .padded-card {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto 1.5rem auto;
    padding: 1.25rem 1.5rem;
    box-sizing: border-box;
    background: var(--background-light);
    border-radius: 9999px;
    /* pill/capsule */
    border-top: 0.5rem solid var(--accent, var(--color-blue));
    box-shadow: 0 6px 20px rgba(11, 14, 18, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Ensure badge/Heading1 sits nicely inside the capsule */
.begeleiding-content .Heading1.badge {
    margin: 0 0 0.5rem 0;
    display: flex;
    justify-content: center;
}

/* Text block inside capsule should be centered and constrained */
.begeleiding-content .Container.text-block {
    max-width: 64rem;
    margin: 0 auto;
    text-align: left;
}

/* Make it simple to change accent: page template classes (page-accent--*) set --accent */
.page-accent--advies {
    --accent: var(--color-green);
}

.page-accent--begeleiding {
    --accent: var(--color-red);
}

.page-accent--diensten {
    --accent: var(--color-blue);
}

.page-accent--tarieven {
    --accent: var(--color-yellow);
}

.page-accent--overmij {
    --accent: var(--color-orange);
}

/* Per-page accent modifiers (re-use variables from root) */
.page-hero--advies {
    --accent: var(--color-green);
}

.page-hero--begeleiding {
    --accent: var(--color-red);
}

.page-hero--diensten {
    --accent: var(--color-blue);
}

.page-hero--tarieven {
    --accent: var(--color-yellow);
}

.page-hero--overmij {
    --accent: var(--color-orange);
}

/* Page accent modifiers for re-used Begeleiding content */
.page-accent--advies {
    --accent: var(--color-green);
}

.page-accent--begeleiding {
    --accent: var(--color-red);
}

.page-accent--diensten {
    --accent: var(--color-blue);
}

.page-accent--tarieven {
    --accent: var(--color-yellow);
}

.page-accent--overmij {
    --accent: var(--color-orange);
}

/* Apply accent color to key headings inside the Begeleiding content when reused */
.begeleiding-section .page-title-badge,
.begeleiding-section .section-benefits,
.begeleiding-section .Werkwijze,
.begeleiding-section .VoorWieIsDitBedoeld,
.begeleiding-section .Heading3 .Heading3>div,
.begeleiding-section .Heading2.section-title {
    color: var(--primary-text);
}

/* Large capsule title used on page templates */
.begeleiding-content .page-title-badge {
    display: inline-block;
    background: var(--accent, var(--color-yellow));
    color: var(--accent-text, #111);
    padding: 0.75rem 2.5rem;
    border-radius: 9999px;
    font-size: 3.5rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.02em;
    box-shadow: 0 6px 20px rgba(11, 14, 18, 0.05);
    margin: 0.5rem 0;
}

/* Constrain and center the lead/content below the capsule similar to screenshot */
.begeleiding-content .lead {
    max-width: 64rem;
    margin: 1.5rem auto 0 auto;
    text-align: left;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #1C1C1E;
}

/* WordPress alignment helpers (support classic and Gutenberg classes) */
/* Floats for images and block elements */
.begeleiding-content .alignleft {
    float: left;
    margin: 0 1rem 1rem 0;
}

.begeleiding-content .alignright {
    float: right;
    margin: 0 0 1rem 1rem;
}

.begeleiding-content .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Gutenberg text alignment utilities (paragraphs, headings, lists) */
.begeleiding-content .has-text-align-left {
    text-align: left;
}

.begeleiding-content .has-text-align-center {
    text-align: center;
}

.begeleiding-content .has-text-align-right {
    text-align: right;
}

/* Ensure lists respect text alignment */
.begeleiding-content .has-text-align-left ul,
.begeleiding-content .has-text-align-center ul,
.begeleiding-content .has-text-align-right ul {
    display: block;
}

/* Images/figures responsive behavior */
.begeleiding-content figure.aligncenter,
.begeleiding-content img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

.begeleiding-content figure.alignleft img,
.begeleiding-content img.alignleft {
    max-width: 40%;
    height: auto;
}

.begeleiding-content figure.alignright img,
.begeleiding-content img.alignright {
    max-width: 40%;
    height: auto;
}

/* Clear floats after content blocks where needed */
.begeleiding-content .Container.text-block::after,
.begeleiding-content .lead::after {
    content: '';
    display: block;
    clear: both;
}

/* Smaller screens: remove image floats and center full-width */
@media (max-width: 700px) {

    .begeleiding-content .alignleft,
    .begeleiding-content .alignright {
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
        max-width: 90%;
    }
}

/* Responsive capsule font-sizes */
@media (max-width: 900px) {
    .begeleiding-content .page-title-badge {
        font-size: 2rem;
        padding: 0.5rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .begeleiding-content .page-title-badge {
        font-size: 1.6rem;
        padding: 0.4rem 0.9rem;
    }
}

/* Ensure card icons use a subtle accent tint */
.begeleiding-section .card-icon {
    color: var(--background-light);
}

@media (max-width: 900px) {
    .page-hero {
        padding: 1.25rem;
        margin: 1rem;
    }

    .page-hero .page-title {
        font-size: 1.5rem;
    }
}

/* Services layout used on the front page (mirrors original main.html) */
.services-row {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 72rem;
    margin-top: 2rem;
    box-sizing: border-box;
}

.service-col {
    flex: 1 1 320px;
    max-width: 40rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.service-desc {
    color: #4B5563;
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 0.5rem;
}

/* Make the whole service-link clickable but keep visual focus states */
.service-link {
    text-decoration: none;
    display: block;
}

@media (max-width: 900px) {
    .services-row {
        align-items: center;
        flex-direction: column;
        gap: 1.25rem;
        max-width: 100%;
        padding: 0 1rem;
    }

    .service-col {
        max-width: 100%;
    }
}

/* Centered column layout for the voordelen section */
#voordelen {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    align-content: center;
    flex-wrap: nowrap;
}

/* Tariffs / Pricing module */
.tariffs {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto 2rem auto;
    padding: 1.5rem 1.25rem;
    box-sizing: border-box;
    background: var(--background-light);
    border-radius: 0.75rem;
    box-shadow: 0 6px 20px rgba(11, 14, 18, 0.04);
}

.tariffs .tariff-intro {
    max-width: 64rem;
    margin: 0 auto 1rem auto;
    color: var(--primary-text);
    text-align: left;
}

.tariff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    /* slightly larger gap for clarity */
    align-items: stretch;
    /* Ensure grid rows auto-size to tallest card */
    grid-auto-rows: 1fr;
}

.tariff-card {
    background: #fff;
    border-radius: 0.5rem;
    padding: 1.25rem 1.25rem 1.5rem 1.25rem;
    /* more bottom padding for long lists */
    box-shadow: 0 4px 12px rgba(11, 14, 18, 0.06);
    border: 3px solid transparent;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100%;
    min-height: 220px;
    box-sizing: border-box;
}

/* Tariff card color borders by type */
.tariff-card.tariff-advies {
    border-color: var(--color-green);
}

.tariff-card.tariff-advies .tariff-price {
    color: var(--color-green);
}

.tariff-card.tariff-begeleiding {
    border-color: var(--color-red);
}

.tariff-card.tariff-begeleiding .tariff-price {
    color: var(--color-red);
}

.tariff-card.tariff-coach {
    border-color: var(--color-blue);
}

.tariff-card.tariff-coach .tariff-price {
    color: var(--color-blue);
}

.tariff-card.tariff-docent-yellow {
    border-color: var(--color-yellow);
}

.tariff-card.tariff-docent-yellow .tariff-price {
    color: var(--color-yellow);
}

.tariff-card.tariff-docent-orange {
    border-color: var(--color-orange);
}

.tariff-card.tariff-docent-orange .tariff-price {
    color: var(--color-orange);
}

.tariff-title {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    font-weight: 700;
    color: var(--primary-text);
    font-size: 1.125rem;
}

.tariff-price {
    margin-left: auto;
    color: var(--accent, var(--color-blue));
    font-weight: 900;
    font-size: 1.125rem;
}

.tariff-details {
    color: #4B5563;
    font-size: 0.98rem;
    line-height: 1.6;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.tariff-card ul {
    margin: 0.5rem 0 0 1.1rem;
    padding: 0;
    list-style-position: inside;
    word-break: break-word;
}

.tariff-note {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Editing / variable pricing row uses a full-width card */
.tariff-card.tariff-editing {
    grid-column: 1 / -1;
}

@media (max-width: 900px) {
    .tariff-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .tariff-title {
        font-size: 1rem;
    }

    .tariff-price {
        font-size: 1rem;
    }
}

.recommendations-area {
    padding: 4rem 1.5rem;
    background-color: var(--background-light-alt);
    border-top: 1px solid #eee;
}

.recommendations-area .section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2rem;
    color: var(--primary-text);
}

.recommendations-grid {
    /* Masonry container: let Masonry position children
       We use percentage widths on items to get two columns on desktop
       and a single column on smaller screens (see .recommendation-card). */
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Clearfix for floated items used by Masonry */
.recommendations-grid::after {
    content: '';
    display: block;
    clear: both;
}

.recommendation-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--accent, var(--color-blue));
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    /* two columns on desktop: each card takes ~50% width (Masonry uses these widths)
       subtract a small gap so cards don't wrap awkwardly */
    width: calc(50% - 1rem);
    float: left;
    margin-bottom: 2rem;
}

.quote-content {
    font-style: italic;
    line-height: 1.7;
    color: #4B5563;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.quote-author {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-text);
    text-align: right;
}

/* ---------- Contact Form 7 Custom Styles ---------- */

/* The Main Form Container */
.wpcf7-form {
    width: 100%;
    background: var(--background-light, #f9fafb);
}

/* CF7 wraps most fields in <p> tags by default */
.wpcf7-form p {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

/* Labels */
.wpcf7-form label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-text, #1a1a1a);
}

/* Remove the <br> tags CF7 inserts inside labels for cleaner spacing */
.wpcf7-form label br {
    display: none;
}

/* Input Fields & Textarea */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 0.75rem 0.9rem;
    font-size: 1rem;
    color: var(--primary-text, #1a1a1a);
    background: #fff;
    border: 1px solid #E6E9EE;
    border-radius: 0.5rem;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    outline: none;
}

.wpcf7-form textarea {
    min-height: 8rem;
    resize: vertical;
}

/* Focus States */
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    border-color: var(--accent, #2292a4);
    box-shadow: 0 8px 20px rgba(34, 146, 164, 0.06);
    transform: translateY(-1px);
}

/* The Submit Button */
.wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.25rem;
    background: var(--accent, #2292a4) !important;
    /* Overriding some theme defaults */
    color: #fff !important;
    border: none;
    border-radius: 0.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    width: auto;
}

.wpcf7-submit:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 146, 164, 0.2);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .wpcf7-form {
        padding: 1rem;
        margin: 1rem;
    }

    .wpcf7-submit {
        width: 100%;
    }
}

/* Validation/Response Messages */
.wpcf7-response-output {
    margin: 1rem 0 0 0 !important;
    padding: 0.75rem !important;
    border-radius: 0.5rem !important;
    font-size: 0.875rem;
}

/* Focus indicator for accessibility */
:where(.wpcf7-form :focus-visible) {
    outline: 3px solid rgba(34, 146, 164, 0.12);
    outline-offset: 2px;
}

/* Target the first 3 visible rows (Name, Email, Subject) */
.wpcf7-form p:nth-child(2),
.wpcf7-form p:nth-child(3) {
    display: inline-flex;
    /* Allow them to sit side-by-side */
    width: calc(50% - 0.5rem);
    /* 50% width minus half of the gap */
    vertical-align: top;
}

/* Add a gap between the side-by-side items */
.wpcf7-form p:nth-child(odd):not(:first-child) {
    margin-right: 1rem;
}

/* Ensure the Message box and Button stay 100% */
.wpcf7-form p:nth-child(n+5) {
    display: flex;
    width: 100%;
}

/* Mobile Responsiveness: Stack them back to 100% on small screens */
@media (max-width: 600px) {

    .wpcf7-form p:nth-child(2),
    .wpcf7-form p:nth-child(3) {
        width: 100%;
        margin-right: 0;
    }
}

/* Make recommendation cards full-width on smaller screens for single-column layout */
@media (max-width: 900px) {
    .recommendation-card {
        width: 100% !important;
        float: none !important;
        margin-bottom: 1.5rem;
    }
}