:root {
    --primary-purple: #683b8f;
    --bg-white: #F9F9FB;
    --text-black: #1E1E1E;
    --accent-yellow: #F8D948;
    --light-gray: #E5E5E5;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --spacing-xs: 24px;
    --spacing-sm: 48px;
    --spacing-md: 80px;
    --spacing-lg: 120px;
    --transition: 0.3s ease;
}

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

/* Custom Scrollbar - Purple on PC, Hidden on Mobile */
/* Desktop */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-purple);
    border-radius: 6px;
    border: 3px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: #563078;
    /* Slightly darker purple */
}

/* Mobile */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        display: none;
    }

    html {
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE/Edge */
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Zorgt dat de fixed navbar niet over de content valt bij scrollen */
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-black);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-weight: 800;
}

h4,
h5,
h6 {
    font-weight: 700;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: var(--spacing-xs);
    z-index: 1000;
    background-color: rgba(249, 249, 251, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background-color var(--transition), backdrop-filter var(--transition);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--spacing-xs);
}

.nav-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transform: translateY(-10000px);
    filter: drop-shadow(0 10000px 0 #683b8f);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.nav-link {
    color: var(--text-black);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 6px;
    transition: color var(--transition), background-color var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-purple);
    background-color: rgba(104, 59, 143, 0.1);
}

.nav-link:active,
.nav-link.active {
    color: var(--primary-purple);
    background-color: rgba(104, 59, 143, 0.15);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background-color: var(--primary-purple);
    border-radius: 2px;
}

.nav-social {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 32px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--text-black);
    text-decoration: none;
    transition: transform var(--transition), color var(--transition);
    cursor: pointer;
}

.social-icon:hover {
    color: var(--primary-purple);
    transform: translateY(-2px);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('images/homepage.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.6) 0%, rgba(104, 59, 143, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.logo-container {
    animation: fadeInZoom 1.5s ease-out;
}

.logo {
    font-size: 64px;
    font-weight: 800;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.logo-img {
    height: 64px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

@keyframes fadeInZoom {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hero Corner Element */
.hero-corner-element {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(104, 59, 143, 0.85);
    /* Semi-transparent purple */
    padding: 40px 160px 40px 50px;
    /* Grotere padding voor grotere vorm */
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    z-index: 10;
    display: flex;
    align-items: center;
    transform: skewX(-15deg) translateX(-20px);
    /* Extra diagonal effect */
    backdrop-filter: blur(5px);
    /* Mooi effect bij transparantie */
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.hero-corner-element.hidden {
    opacity: 0;
    transform: skewX(-15deg) translateX(-100%);
    pointer-events: none;
}

.corner-text {
    color: white;
    font-weight: 800;
    font-size: 32px;
    /* Grotere tekst */
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: skewX(15deg);
    /* Counter skew for text readability */
    white-space: nowrap;
}

@media (max-width: 768px) {
    .hero-corner-element {
        padding: 20px 50px 20px 30px;
        transform: skewX(-15deg) translateX(-15px);
    }

    .corner-text {
        font-size: 18px;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
    animation: bounce 2s infinite;
    transition: opacity 0.5s ease;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.about {
    padding: var(--spacing-lg) var(--spacing-xs);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xs);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-heading {
    font-size: 30px;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: var(--spacing-xs);
    line-height: 1.6;
}

.section-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-black);
    margin-bottom: var(--spacing-xs);
}

.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.about-visual.visible {
    opacity: 1;
    transform: translateY(0);
}

.visual-element {
    position: relative;
    width: 400px;
    height: 400px;
    --shape-scale: 1;
    --shape-x: 0px;
    --shape-y: 0px;
    --shape-opacity: 0.8;
    --shape-rotate: 0deg;
}

.visual-shape {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transform: translate(var(--shape-x), var(--shape-y)) scale(var(--shape-scale)) rotate(var(--shape-rotate));
    transform-origin: center center;
    opacity: var(--shape-opacity);
}

.shape-controls {
    display: none;
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 280px;
    background: #fff;
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 14px;
    z-index: 2000;
}

.shape-controls.show {
    display: block;
}

.shape-controls h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 8px;
}

.shape-controls .ctrl-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.shape-controls label {
    font-size: 12px;
    color: var(--text-black);
}

.shape-controls input[type="range"] {
    width: 100%;
}

.shape-controls .value {
    font-size: 12px;
    color: #555;
    min-width: 42px;
    text-align: right;
}

.shape-controls .error {
    color: #b00020;
    font-size: 12px;
    margin-top: 6px;
    display: none;
}

@media (max-width: 768px) {
    .shape-controls {
        width: calc(100% - 32px);
        right: 16px;
        left: 16px;
        bottom: 12px;
    }
}

.visual-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.8;
}

.visual-circle-1 {
    width: 200px;
    height: 200px;
    background: var(--primary-purple);
    top: 0;
    left: 0;
}

.visual-circle-2 {
    width: 150px;
    height: 150px;
    background: var(--accent-yellow);
    bottom: 0;
    right: 0;
}

.visual-circle-3 {
    width: 100px;
    height: 100px;
    background: var(--primary-purple);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.team {
    padding: var(--spacing-lg) var(--spacing-xs);
    background-color: var(--bg-white);
}

.team-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: var(--spacing-lg);
    align-items: flex-start;
}

.section-heading-center {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    max-width: 800px;
    margin: 0;
}

.team-photo-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.team-photo-overlay {
    position: absolute;
    left: 24px;
    right: 40%;
    top: 16px;
    bottom: 16px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    color: var(--text-black);
}

.team-blog-panel {
    position: relative;
    background-color: transparent;
    padding: var(--spacing-md);
    border: none;
    box-shadow: none;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease, box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.team-blog-panel::before {
    content: '';
    position: absolute;
    inset: -24px;
    background-color: #f0f0f0;
    border-radius: 45% 55% 50% 55% / 60% 50% 45% 50%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    z-index: -1;
}

.team-blog-image-container {
    width: 100%;
    height: 250px;
    margin-top: auto;
    overflow: hidden;
    border-radius: 12px;
    margin-top: 24px;
}

.team-blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(0 0, 100% 15%, 100% 100%, 0% 100%);
    transition: transform 0.5s ease;
}

.team-blog-panel:hover .team-blog-image {
    transform: scale(1.05);
}

.team-blog-panel.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.team-blog-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 12px;
}

.team-blog-intro,
.team-blog-placeholder {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-black);
    margin-bottom: 12px;
}

.team-card {
    background-color: white;
    border-radius: 16px;
    padding: var(--spacing-xs);
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--light-gray);
    opacity: 0;
    transform: translateY(30px);
}

.team-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease, box-shadow var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(104, 59, 143, 0.15);
}

.team-photo {
    width: 160px;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.team-member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-yellow) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
}

.team-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-black);
    margin-bottom: 8px;
}

.team-role {
    font-size: 16px;
    color: var(--primary-purple);
    font-weight: 700;
    margin-bottom: 12px;
}

.team-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: var(--spacing-xs);
}

.team-email,
.team-phone {
    font-size: 14px;
    color: var(--text-black);
    text-decoration: none;
    transition: color var(--transition);
}

.team-email:hover,
.team-phone:hover {
    color: var(--primary-purple);
}

.team-bio {
    font-size: 14px;
    color: var(--text-black);
    line-height: 1.6;
    margin-top: 8px;
}

.team-questions {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--light-gray);
}

.questions-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-purple);
}

.journey {
    padding: var(--spacing-lg) var(--spacing-xs);
    /* background-color: white; */
    position: relative;
    /* overflow: hidden; */
}

/* .journey .container {
    position: relative;
    z-index: 1;
}

.journey-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    --shape-scale: 1;
    --shape-x: 0px;
    --shape-y: 0px;
    --shape-opacity: 0.6;
    --shape-rotate: 0deg;
}

.journey-shape {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: translate(var(--shape-x), var(--shape-y)) scale(var(--shape-scale)) rotate(var(--shape-rotate));
    transform-origin: center center;
    opacity: var(--shape-opacity);
} */

.journey-timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    /* Reduced gap for compactness */
    position: relative;
    padding: 24px 0;
    max-width: 3300px;
    /* Reduced max-width to keep things tighter */
    margin: 0 auto;
}

/* Remove the horizontal line as it doesn't fit the multi-row layout well */
.journey-timeline::before {
    display: none;
}

.journey-step {
    position: relative;
    z-index: 1;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    flex: 0 0 auto;
    width: 200px;
    /* Default to 3 per row (approx) */
    max-width: 100%;
    margin-bottom: 24px;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.journey-step.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease, box-shadow var(--transition);
}

.step-number {
    width: 120px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 80px;
    height: 2px;
    background-image: linear-gradient(to right, var(--primary-purple) 50%, transparent 50%);
    background-size: 10px 100%;
    transform: translateY(-50%);
    pointer-events: none;
}

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

@media (max-width: 1200px) {
    .step-number::after {
        display: none;
    }
}

.step-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}

.journey-step:hover {
    /* No transform on the container to keep timeline steady */
}

.journey-step:hover .step-content {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(134, 14, 194, 0.15);
}

.step-content {
    background-color: white;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--light-gray);
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 320px;
    margin: 0 auto;
    transition: transform var(--transition), box-shadow var(--transition);
}

.step-title {
    font-size: 18px;
    /* Slightly smaller title */
    font-weight: 700;
    color: var(--text-black);
    margin-bottom: 8px;
}

.step-description {
    font-size: 14px;
    /* Slightly smaller text */
    line-height: 1.5;
    color: var(--text-black);
}

/* Old contact-cta styles removed or repurposed */
.contact-cta {
    background-color: var(--primary-purple);
    padding: var(--spacing-lg) var(--spacing-xs);
    text-align: center;
    color: white;
}

.cta-heading {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: var(--spacing-xs);
    color: white;
}

.cta-text {
    font-size: 20px;
    margin-bottom: var(--spacing-sm);
    color: white;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-yellow);
    color: var(--text-black);
    padding: 18px 48px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 12px rgba(248, 217, 72, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 217, 72, 0.4);
}

/* NEW SPLIT HERO STYLES */
.split-hero {
    display: flex;
    width: 100%;
    min-height: 500px;
    background-color: var(--bg-white);
}

.split-hero-image {
    width: 50%;
    background-color: #cccccc;
    background-image: url('images/klaaromtebeginnen.jpg');
    background-size: cover;
    background-position: center;
    min-height: 300px;
}

.split-hero-content {
    width: 50%;
    background-color: var(--bg-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 80px;
    text-align: left;
}

.split-hero-heading {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-black);
    /* Dark text for readability on light background */
    margin-bottom: 24px;
    line-height: 1.2;
}

.split-hero-text {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-black);
    margin-bottom: 32px;
    max-width: 600px;
}

.split-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--accent-yellow);
    color: var(--text-black);
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(248, 217, 72, 0.3);
}

.split-hero-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.footer {
    background-color: var(--primary-purple);
    padding: var(--spacing-sm) 0;
    /* Reduced padding from standard lg */
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.footer-social {
    display: flex;
    gap: 16px;
    align-self: flex-start;
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
}

.footer-nav-list li {
    margin-bottom: 8px;
}

.footer-nav-list a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-nav-list a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-contact-info {
    text-align: left;
}

.footer-contact-details {
    margin-bottom: 16px;
}

.footer-text strong {
    color: var(--accent-yellow);
}

.footer-btn {
    padding: 12px 24px;
    font-size: 16px;
    display: inline-block;
    margin-top: 8px;
}

.footer-bottom {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    color: white;
    text-decoration: none;
    transition: transform var(--transition), color var(--transition);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-social-icon:hover {
    color: var(--accent-yellow);
    transform: translateY(-4px) scale(1.1);
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-info {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.footer-contact-form {
    margin-bottom: 16px;
    text-align: right;
}

.footer-contact-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4px;
}

.footer-contact-heading {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.mini-contact-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 4px;
    width: 280px;
}

.mini-input {
    background: transparent;
    border: none;
    color: white;
    padding: 8px 12px;
    flex-grow: 1;
    font-size: 14px;
    outline: none;
}

.mini-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.mini-submit-btn {
    background: var(--accent-yellow);
    border: none;
    color: var(--text-black);
    width: 32px;
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.mini-submit-btn:hover {
    background-color: #f5d030;
}

.footer-link {
    color: var(--bg-white);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    margin-bottom: 4px;
}

.footer-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom-links {
    display: flex;
    gap: 16px;
    margin-bottom: 4px;
}

.footer-text {
    color: var(--bg-white);
    font-size: 14px;
    /* Slightly smaller text */
    margin-bottom: 0;
    line-height: 1.6;
}

.footer-text a {
    color: var(--bg-white);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-text a:hover {
    color: var(--accent-yellow);
}

.footer-copyright {
    color: var(--bg-white);
    font-size: 14px;
    opacity: 0.8;
}

.contact-form-section {
    padding: calc(var(--spacing-lg) + 80px) var(--spacing-xs) var(--spacing-lg);
    background-color: var(--bg-white);
    min-height: calc(100vh - 150px);
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.contact-form-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: var(--spacing-xs);
    text-align: center;
}

.contact-form-subtitle {
    font-size: 18px;
    color: var(--text-black);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

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

.form-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-black);
}

.required {
    color: var(--primary-purple);
}

.optional {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    font-style: italic;
}

.form-input {
    padding: 16px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-primary);
    color: var(--text-black);
    background-color: white;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(134, 14, 194, 0.1);
}

.form-input::placeholder {
    color: #999;
}

textarea.form-input {
    min-height: 150px;
    resize: vertical;
    font-family: var(--font-primary);
}

.form-submit-button {
    background-color: var(--primary-purple);
    color: white;
    padding: 18px 48px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
    margin-top: var(--spacing-xs);
    box-shadow: 0 4px 12px rgba(134, 14, 194, 0.3);
}

.form-submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(134, 14, 194, 0.4);
    background-color: #7a0db0;
}

.form-submit-button:active {
    transform: translateY(0);
}

.form-submit-button:focus {
    outline: 2px solid var(--accent-yellow);
    outline-offset: 4px;
}

.aanvraag-popup {
    position: fixed;
    left: var(--spacing-xs);
    bottom: var(--spacing-xs);
    background: linear-gradient(135deg, var(--primary-purple) 0%, #7a0db0 100%);
    border-radius: 16px;
    padding: var(--spacing-xs);
    box-shadow: 0 8px 32px rgba(134, 14, 194, 0.4);
    z-index: 9999;
    max-width: 320px;
    transform: translateX(-400px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.5s ease;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.aanvraag-popup.show {
    transform: translateX(0);
    opacity: 1;
}

.aanvraag-popup.hidden {
    transform: translateX(-400px);
    opacity: 0;
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: background-color var(--transition), transform var(--transition);
    z-index: 10;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.popup-close:focus {
    outline: 2px solid var(--accent-yellow);
    outline-offset: 2px;
}

.popup-close svg {
    width: 18px;
    height: 18px;
}

.popup-content {
    padding-right: 40px;
}

.popup-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    line-height: 1.3;
}

.popup-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-xs);
    line-height: 1.5;
}

.popup-button {
    display: inline-block;
    background-color: var(--accent-yellow);
    color: var(--text-black);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
    box-shadow: 0 4px 12px rgba(248, 217, 72, 0.3);
    text-align: center;
    width: 100%;
    pointer-events: none;
}

.popup-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 217, 72, 0.4);
    background-color: #f5d030;
}

.popup-button:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

@media (max-width: 1280px) {
    .container {
        max-width: 1100px;
    }
}

@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .split-layout {
        grid-template-columns: 1fr;
        /* Stack vertically on smaller screens */
        gap: var(--spacing-md);
    }

    /* Reset order for split layout items on mobile if needed, or keep alternating */
    /* If you used inline styles for row-reverse, you might want to override them here with !important or specific class */
    .split-layout[style*="row-reverse"] {
        flex-direction: column !important;
        /* Stack normally on mobile */
    }

    .team-layout {
        grid-template-columns: 1fr;
    }

    .team-grid {
        max-width: 100%;
    }

    .journey-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .journey-timeline::before {
        display: none;
    }

    .visual-element {
        width: 300px;
        height: 300px;
    }
}

/* Nieuwe secties styling */
.section-over-ons {
    padding: var(--spacing-lg) 0 var(--spacing-md) 0;
    /* Minder ruimte onderkant */
    background-color: white;
    /* Nu volledig wit zoals gevraagd */
    position: relative;
    z-index: 1;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.split-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.5s ease;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background-color: #eee;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-weight: 700;
    border: 2px dashed #ddd;
    transition: transform 0.5s ease;
}

.section-aanbod {
    padding: var(--spacing-lg) 0 var(--spacing-lg) 0;
    /* Minder padding bovenkant gecompenseerd door negatieve margin/shape */
    background-color: #f8f9fc;
    position: relative;
    margin-top: -60px;
    /* Overlap effect */
    padding-top: 100px;
    /* Compenseer voor negatieve margin */
    z-index: 0;
}

/* Golf overgang (SVG background) */
.section-aanbod::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    /* Hoogte van de golf/schuinte */
    background: inherit;
    clip-path: polygon(0 40%, 100% 0, 100% 100%, 0% 100%);
    /* Schuine lijn voor overlap */
    z-index: -1;
    transform: translateY(-99%);
    /* Plaats boven de sectie */
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.cards-grid.single-card-layout {
    display: flex;
    justify-content: center;
}

.cards-grid.single-card-layout .info-card {
    max-width: 500px;
    width: 100%;
}

.info-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

/* Animation Classes */
[data-animate] {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-animate="fade-up"] {
    transform: translateY(30px);
}

[data-animate="slide-right"] {
    transform: translateX(-30px);
}

[data-animate="slide-left"] {
    transform: translateX(30px);
}

/* Triggered State */
[data-animate].in-view {
    opacity: 1;
    transform: translate(0, 0);
}

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

.card-image-placeholder {
    width: 100%;
    height: 250px;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-weight: 700;
}

.card-content {
    padding: var(--spacing-md);
}

.card-content h3 {
    margin-bottom: var(--spacing-xs);
    color: var(--primary-purple);
}

.btn-text {
    display: inline-block;
    margin-top: var(--spacing-sm);
    color: var(--primary-purple);
    font-weight: 700;
    text-decoration: none;
}

.btn-text:hover {
    text-decoration: underline;
}

.inline-link {
    color: var(--primary-purple);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--primary-purple);
    /* Streep eronder */
    transition: color 0.3s ease, border-color 0.3s ease;
}

.inline-link:hover {
    color: var(--text-black);
    border-color: var(--text-black);
}

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

    .image-placeholder {
        height: 300px;
        margin-bottom: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 48px;
    }

    .logo-img {
        height: 48px;
    }

    .section-heading {
        font-size: 40px;
    }

    .section-text {
        font-size: 16px;
    }

    .team-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .team-grid {
        max-width: 100%;
    }

    .team-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .team-photo {
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }

    .team-blog-panel {
        margin-top: var(--spacing-sm);
        padding: 24px;
    }

    .questions-title {
        font-size: 28px;
    }

    .team-questions {
        margin-top: var(--spacing-sm);
        padding-top: var(--spacing-sm);
    }

    .journey-timeline {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-info {
        text-align: center;
    }

    /* Split Hero Responsive */
    .split-hero {
        flex-direction: column;
    }

    .split-hero-image,
    .split-hero-content {
        width: 100%;
    }

    .split-hero-image {
        height: 300px;
        min-height: 300px;
    }

    .split-hero-content {
        padding: 40px 24px;
        align-items: center;
        text-align: center;
    }

    .split-hero-heading {
        font-size: 32px;
    }
}

/* Deelnemen Section */
.deelnemen {
    padding: var(--spacing-lg) 0;
    background-color: var(--bg-white);
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-purple);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 12px rgba(134, 14, 194, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(134, 14, 194, 0.4);
}

.btn-secondary {
    display: inline-block;
    background-color: white;
    color: var(--primary-purple);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all var(--transition);
    border: 2px solid var(--primary-purple);
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: var(--primary-purple);
    color: white;
}

/* Box 001 Specific Styles */
.hero-box001 {
    background-image: url('images/achtergrondbox001.jpg');
}

.discount-pop-up {
    animation: popUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 1.5s forwards;
}

@keyframes popUp {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.confetti-piece {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background-color: var(--primary-purple);
    border-radius: 2px;
    pointer-events: none;
    opacity: 0;
    animation: confetti-explode 1.5s ease-out forwards;
}

@keyframes confetti-explode {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) rotate(var(--r));
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }

    .logo {
        font-size: 36px;
    }

    .logo-img {
        height: 36px;
    }

    .nav-logo-img {
        height: 40px;
    }

    .section-heading {
        font-size: 32px;
    }

    .questions-title {
        font-size: 24px;
    }

    .cta-heading {
        font-size: 32px;
    }

    .navbar {
        padding: 16px 24px;
    }

    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    /* Mobile Menu */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
        z-index: 1001;
        margin-right: 15px;
        /* Added margin to move it left */
    }

    .hamburger .bar {
        width: 100%;
        height: 3px;
        background-color: var(--text-black);
        border-radius: 3px;
        transition: all 0.3s ease;
    }

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

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

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

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

    .nav-link {
        font-size: 24px;
    }

    .mobile-social-icons {
        display: flex !important;
        gap: 24px;
        margin-bottom: 30px;
    }

    .mobile-social-icons .social-icon {
        width: 32px;
        height: 32px;
        color: var(--text-black);
        /* Changed to black to match desktop */
    }

    .nav-social {
        display: none;
    }

    /* Hero */
    .scroll-indicator {
        display: none;
    }

    /* Werkwijze (Journey) Stacked */
    .journey {
        padding: 40px 16px;
    }

    .journey-timeline {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .journey-step {
        width: 100%;
        max-width: 100%;
        margin-bottom: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 12px;
    }

    .journey-step:last-child {
        width: 100%;
        max-width: 100%;
        margin-top: 0;
    }

    .step-number {
        width: 70px;
        height: 70px;
        margin: 0;
        flex-shrink: 0;
    }

    .step-content {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 16px;
        align-items: flex-start;
        min-height: auto;
    }

    .step-title {
        font-size: 17px;
        margin-bottom: 4px;
    }

    /* Team - Stacked for Mobile (Reverted to Normal Size) */
    .team-grid {
        display: flex;
        flex-direction: column;
        gap: 24px;
        align-items: center;
        width: 100%;
    }

    .team-card {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }

    /* Navbar Optimization */
    .navbar {
        padding: 12px 16px;
    }

    .nav-container {
        padding: 0;
    }

    /* Footer Optimization */
    .footer {
        padding: 40px 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-social {
        justify-content: center;
        width: 100%;
        margin-bottom: 0;
    }

    .footer-info {
        text-align: center;
        align-items: center;
        width: 100%;
    }

    .footer-contact-form {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .mini-contact-form {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
        padding-top: 20px;
    }

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-links .nav-link,
    .nav-links .mobile-social-icons {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .nav-links.active .nav-link,
    .nav-links.active .mobile-social-icons {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered animation delays */
    .nav-links.active .mobile-social-icons {
        transition-delay: 0.1s;
    }

    .nav-links.active .nav-link:nth-of-type(1) {
        transition-delay: 0.2s;
    }

    .nav-links.active .nav-link:nth-of-type(2) {
        transition-delay: 0.3s;
    }

    .nav-links.active .nav-link:nth-of-type(3) {
        transition-delay: 0.4s;
    }

    .nav-links.active .nav-link:nth-of-type(4) {
        transition-delay: 0.5s;
    }

    /* Generic section padding for mobile */
    .about,
    .section-over-ons,
    .section-aanbod,
    .team {
        padding: 40px 0;
        /* Remove horizontal padding, let container handle it or not */
    }

    .container {
        padding: 0 16px;
        /* Ensure small consistent padding */
    }

    /* Fix Over Ons Split Layout */
    .split-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        display: flex;
        flex-direction: column;
    }

    /* Ensure correct order for mobile: Image/Visual then Content */
    .split-layout .split-image-container {
        order: -1;
    }

    /* Specific fix for the second split section which uses inline row-reverse */
    .split-layout[style*="row-reverse"] {
        flex-direction: column !important;
    }

    /* Reset order for the second section if needed, or keep image on top */
    /* If we want image on top always: */
    .split-layout[style*="row-reverse"] .split-image-container {
        order: -1;
    }

    /* Hero Corner Element Fix */
    .hero-corner-element {
        padding: 16px 24px;
        transform: skewX(-10deg) translateX(-10px);
        width: auto;
        max-width: 90%;
    }

    /* Remove gray background from 'Onze visie' on mobile */
    .team-blog-panel::before {
        display: none;
    }

    .team-blog-panel {
        padding: 0;
        margin-top: 40px;
    }
}

/* Base styles for mobile elements hidden on desktop */
.hamburger,
.mobile-social-icons {
    display: none;
}