/* ==============================================
   AMPLIFY YOURSELF - GLOBAAL STYLESHEET (ULTRA-PREMIUM)
   ============================================== */

/* 1. VARIABELEN & HUISSTIJL */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --paars: #071A50;
    --lichtpaars: #0A2370;
    --paars-gradient: linear-gradient(135deg, #071A50 0%, #0A2370 100%);
    --oranje: #FF5722;
    --oranje-light: #FF7043;
    --oranje-gradient: linear-gradient(135deg, #FF5722 0%, #FF7043 100%);
    --wit: #ffffff;
    --lichtgrijs: #f9fafb;
    --donkergrijs: #071A50;
    --tekstgrijs: #071A50;

    /* Extended Color System - Phase 2 Cleanup */
    --border-gray: #e5e7eb;
    --bg-gray-light: #f3f4f6;
    --bg-gray-lighter: #fafbfc;
    --text-muted: #9ca3af;
    --footer-text: #cccccc;
    --glass-white: rgba(255, 255, 255, 0.12);

    --nav-height: 85px;

    /* Premium Shadow System */
    --schaduw-xs: 0 1px 3px rgba(15, 23, 42, 0.08);
    --schaduw-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
    --schaduw: 0 14px 40px rgba(15, 23, 42, 0.08);
    --schaduw-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
    --schaduw-xl: 0 25px 60px rgba(15, 23, 42, 0.15);

    /* Spacing System (8px base) */
    --space-xs: 0.25rem;
    /* 4px */
    --space-sm: 0.5rem;
    /* 8px */
    --space-md: 1rem;
    /* 16px */
    --space-lg: 1.5rem;
    /* 24px */
    --space-xl: 2rem;
    /* 32px */
    --space-2xl: 3rem;
    /* 48px */
    --space-3xl: 4rem;
    /* 64px */

    /* Animation Timing */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --duration-fast: 0.2s;
    --duration-base: 0.3s;
    --duration-slow: 0.5s;
}

/* 2. ALGEMENE RESET & TYPOGRAFIE */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: var(--nav-height) 0 0 0;
    color: var(--donkergrijs);
    background-color: var(--lichtgrijs);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.65;
    font-feature-settings: "kern" 1, "liga" 1;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}

h1,
h2,
h3 {
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 2.75rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
    font-size: 1.1rem;
    line-height: 1.75;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--tekstgrijs);
    font-weight: 400;
}

a {
    color: var(--oranje);
    text-decoration: none;
    transition: color var(--duration-base) var(--ease-smooth);
    position: relative;
}

a:hover {
    color: var(--paars);
}

a:focus-visible {
    outline: 2px solid var(--oranje);
    outline-offset: 4px;
    border-radius: 2px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 3. LAY-OUT & CONTAINER */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-wit {
    background-color: var(--wit);
}

.section-paars {
    background-color: var(--paars);
    color: var(--wit);
}

.section-grijs {
    background-color: var(--lichtgrijs);
}

.section-oranje {
    background-color: var(--oranje);
    color: var(--wit);
}

/* 4. NAVIGATIEBALK (Vaste Witte Balk) - PREMIUM ENHANCED */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: background-color var(--duration-base) var(--ease-smooth), box-shadow var(--duration-base) var(--ease-smooth), border-bottom-color var(--duration-base) var(--ease-smooth);
    border-bottom: 1px solid rgba(229, 231, 235, 0.6);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    will-change: box-shadow;
    contain: layout style;
}

.nav-bar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-bottom-color: rgba(229, 231, 235, 0.8);
}

.nav-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo {
    height: 80px;
    width: auto;
    transition: transform var(--duration-base) var(--ease-smooth);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

/* Hide mobile menu content on desktop */
.nav-menu-logo {
    display: none;
}

.nav-menu li {
    margin-left: 28px;
}

.nav-menu a {
    color: var(--donkergrijs);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 5px;
    position: relative;
    transition: color var(--duration-base) var(--ease-smooth);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 5px;
    right: 5px;
    height: 3px;
    background: var(--oranje-gradient);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--duration-base) var(--ease-smooth);
    border-radius: 2px;
}

.nav-menu a:hover::after {
    transform: scaleX(1);
}

.nav-menu a.active,
.nav-menu a:hover {
    color: var(--oranje);
}

.nav-menu a.active::after {
    transform: scaleX(1);
}

/* Hide mobile-only menu footer on desktop */
.menu-footer {
    display: none;
}

/* 5. MOBIEL MENU (Hamburger) - PROFESSIONAL MOBILE-FIRST DESIGN */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 0;
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 52;
}

.nav-toggle:hover {
    opacity: 0.7;
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--oranje);
    outline-offset: 2px;
}

.hamburger-line {
    width: 30px;
    height: 3px;
    background-color: #6B7280;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle:hover .hamburger-line {
    background-color: #4B5563;
}

/* Body scroll lock when mobile menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* ==============================================
   MOBIEL MENU - CRYSTAL CLEAR VISIBILITY
   ============================================== */

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        z-index: 52;
    }

    /* MINIMALISTIC FULLSCREEN MOBILE MENU */
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;

        /* Fullscreen padding - more generous horizontal spacing */
        padding: 80px 24px 20px 24px;
        gap: 0;
        overflow-y: auto;
        overflow-x: hidden;

        /* Clean white background - matches site aesthetic */
        background: #ffffff;

        /* Subtle shadow for depth without heaviness */
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);

        /* Hidden by default - slide in from right */
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
        transition: opacity 0.3s ease,
            transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
            visibility 0s 0.3s;
        z-index: 50;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
        transition-delay: 0s;
    }

    /* Menu items - compact and clean */
    .nav-menu li {
        width: 100%;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(7, 26, 80, 0.08);
        list-style: none;
        flex-shrink: 0;

        /* Subtle reveal animation */
        opacity: 0;
        transform: translateX(8px);
        transition: opacity 0.24s ease,
            transform 0.24s ease;
    }

    /* Quick stagger delays for snappy feel */
    .nav-menu.active li:nth-child(1) { transition-delay: 0ms; }
    .nav-menu.active li:nth-child(2) { transition-delay: 40ms; }
    .nav-menu.active li:nth-child(3) { transition-delay: 80ms; }
    .nav-menu.active li:nth-child(4) { transition-delay: 120ms; }
    .nav-menu.active li:nth-child(5) { transition-delay: 160ms; }
    .nav-menu.active li:nth-child(6) { transition-delay: 200ms; }
    .nav-menu.active li:nth-child(7) { transition-delay: 240ms; }
    .nav-menu.active li:nth-child(8) { transition-delay: 280ms; }

    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;

        /* Dark text on white background - clean and readable */
        color: var(--paars);
        background-color: transparent;

        font-size: 0.95rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        text-decoration: none;
        text-align: center;

        /* Compact padding - still touch-friendly */
        padding: 14px 12px;
        min-height: 44px;

        border-radius: 0;
        transition: color 0.2s ease,
            background-color 0.2s ease,
            padding-left 0.2s ease;
        position: relative;

        /* Touch optimization */
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }

    /* Clean hover effect */
    .nav-menu a:hover {
        color: #FF5722;
        background-color: rgba(255, 87, 34, 0.04);
    }

    /* Active menu item - subtle indicator */
    .nav-menu a.active {
        color: #FF5722;
        background-color: rgba(255, 87, 34, 0.06);
        border-left: 3px solid #FF5722;
        font-weight: 700;
    }

    /* Mobile menu logo at top */
    .nav-menu-logo {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px 0 30px 0;
        margin-bottom: 10px;
    }

    .mobile-menu-logo {
        width: 100px;
        height: auto;
        display: block;
    }

    /* Focus state for keyboard navigation */
    .nav-menu a:focus-visible {
        outline: 2px solid #FF5722;
        outline-offset: -2px;
        background-color: rgba(255, 87, 34, 0.08);
    }

    /* Hamburger button - clear visibility */
    .hamburger-line {
        width: 30px;
        height: 3px;
        /* Gray color for traditional look matching Image 3 */
        background-color: #6B7280;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.3s ease,
            background-color 0.3s ease;
        border-radius: 2px;
    }

    /* X animation when menu is open */
    .nav-toggle.active .hamburger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: #071A50;
    }

    .nav-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .hamburger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: #071A50;
    }

    /* Compact menu footer */
    .menu-footer {
        width: 100%;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid rgba(7, 26, 80, 0.1);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        flex-shrink: 0;
    }

    .menu-footer .menu-cta {
        width: 100%;
        padding: 12px 20px;
        background: #FF5722;
        color: #ffffff;
        font-size: 0.9rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        text-decoration: none;
        text-align: center;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(255, 87, 34, 0.2);
        transition: background-color 0.2s ease, box-shadow 0.2s ease;
        touch-action: manipulation;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .menu-footer .menu-cta:hover {
        background-color: #FF7043;
        box-shadow: 0 3px 12px rgba(255, 87, 34, 0.3);
    }

    .menu-footer .menu-contact {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 12px;
        color: #6B7280;
        font-size: 0.8rem;
    }

    .menu-footer .menu-contact a {
        color: #071A50;
        text-decoration: none;
        padding: 6px 8px;
        min-height: auto;
        font-size: 0.8rem;
        font-weight: 500;
        text-transform: none;
        letter-spacing: normal;
        transition: color 0.2s ease;
    }

    .menu-footer .menu-contact a:hover {
        color: #FF5722;
        background-color: transparent;
        padding-left: 8px;
    }
}

/* 6. HERO SECTIE (Homepage & Subpagina's) - MOBILE OPTIMIZED */

/* Basis hero */
.hero-section {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--wit);
    overflow: hidden;
    padding: 40px 20%;
}

/* Homepage: full-height hero met fixed parallax background */
.hero-section.hero-home {
    min-height: calc(100vh - var(--nav-height));
    /* Fixed parallax background - applied directly to element */
    background-image: url('/images/tbv-toolbox.png');
    background-size: cover;
    background-position: center 57%;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Subpagina's: compactere hero met fixed parallax background */
.hero-section.hero-standaard {
    min-height: 55vh;
    /* iets boven de helft van het scherm */
    padding: 60px 15% 40px;
    /* rustiger, meer witruimte */
    /* Fixed parallax background - applied directly to element */
    background-image: url('/images/tbv-toolbox.png');
    background-size: cover;
    background-position: center 85%;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Dark overlay using ::before for proper layering above background */
.hero-section.hero-home::before,
.hero-section.hero-standaard::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Darkening overlay with gradient */
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.4) 55%,
            rgba(0, 0, 0, 0.6) 100%);
    z-index: 0;
    pointer-events: none;
}

/* Navy blue color overlay for brand consistency */
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(7, 26, 80, 0.45) 0%,
            rgba(7, 26, 80, 0.25) 55%,
            rgba(7, 26, 80, 0.45) 100%);
    z-index: 0;
    pointer-events: none;
}

/* Content in hero */
.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
}

.hero-content p {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--wit);
    margin-bottom: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* MOBILE FIX: Optimized hero spacing and typography for mobile */
@media (max-width: 768px) {

    .hero-section.hero-home,
    .hero-section.hero-standaard {
        min-height: calc(100vh - var(--nav-height));
        /* MOBILE FIX: Reduced horizontal padding for better use of screen space */
        padding: 30px 20px;
    }

    /* MOBILE FIX: Disable fixed background on mobile for better performance */
    .hero-section.hero-home,
    .hero-section.hero-standaard {
        background-attachment: scroll;
    }

    .hero-content h1 {
        /* MOBILE FIX: Slightly larger for better impact on mobile */
        font-size: 2.3rem;
        line-height: 1.15;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.05rem;
        line-height: 1.6;
    }
}

/* 7. KNOPPEN (CTA) - PREMIUM ENHANCED - MOBILE OPTIMIZED
 *
 * BUTTON COLOR SYSTEM - Design Guidelines:
 *
 * 1. PRIMARY ORANGE (.cta-button) - Default brand button
 *    Use on: White, light gray, dark purple backgrounds
 *    Contrast: 4.5:1+ on light backgrounds (WCAG AA compliant)
 *
 * 2. DARK PURPLE (.cta-button-dark) - Premium variant
 *    Use on: Orange, warm, or gradient backgrounds
 *    Contrast: 11.6:1 white-on-purple (WCAG AAA compliant)
 *    Creates complementary color harmony with orange backgrounds
 *
 * 3. OUTLINE (.cta-button-outline) - Secondary action
 *    Use on: Any background as secondary/alternative action
 *    Purple outline maintains brand consistency
 *
 * ACCESSIBILITY: All buttons meet WCAG AA minimum (4.5:1),
 * dark variant exceeds AAA (11.6:1)
 */
.cta-button {
    display: inline-block;
    background: var(--oranje-gradient);
    color: var(--wit);
    /* MOBILE FIX: Increased padding for minimum 48px touch target */
    padding: 16px 36px;
    min-height: 48px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    transition: transform var(--duration-base) var(--ease-smooth), box-shadow var(--duration-base) var(--ease-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    /* MOBILE FIX: Ensure proper alignment */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.1);
    color: var(--wit);
}

.cta-button:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.cta-button:focus-visible {
    outline: 3px solid var(--oranje);
    outline-offset: 3px;
}

/* NIEUWE KNOPSTIJL (Outline) - ENHANCED - MOBILE OPTIMIZED */
.cta-button-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--wit);
    color: var(--paars);
    /* MOBILE FIX: Increased padding for minimum 48px touch target */
    padding: 14px 32px;
    min-height: 48px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    border: 2px solid var(--paars);
    transition: all var(--duration-base) var(--ease-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
}

.cta-button-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--paars-gradient);
    transition: width 0.4s var(--ease-smooth);
    z-index: -1;
}

.cta-button-outline:hover::before {
    width: 100%;
}

.cta-button-outline:hover {
    color: var(--wit);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 26, 80, 0.25);
}

.cta-button-outline:active {
    transform: translateY(0);
}

/* Dark Navy Blue Button - Premium variant for use on orange/warm backgrounds */
.cta-button-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #071A50 0%, #0A2370 100%);
    color: #ffffff;
    padding: 16px 36px;
    min-height: 48px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 15px rgba(7, 26, 80, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
}

.cta-button-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button-dark:hover::before {
    left: 100%;
}

.cta-button-dark:hover {
    background: linear-gradient(135deg, #0A2370 0%, #0D2E90 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 26, 80, 0.35);
    color: #ffffff;
}

.cta-button-dark:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(7, 26, 80, 0.2);
}

.cta-button-dark:focus-visible {
    outline: 3px solid #FF7700;
    outline-offset: 3px;
    box-shadow: 0 6px 20px rgba(7, 26, 80, 0.35);
}

/* Groepering van knoppen - MOBILE OPTIMIZED */
.cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

/* MOBILE FIX: Stack buttons vertically on small screens for better UX */
@media (max-width: 480px) {
    .cta-group {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .cta-group .cta-button,
    .cta-group .cta-button-outline {
        width: 100%;
    }
}

/* 8. KAARTEN (Grid & Individueel) - PREMIUM ENHANCED - MOBILE OPTIMIZED */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* MOBILE FIX: Reduce gap on mobile for better space utilization */
@media (max-width: 768px) {
    .card-grid {
        gap: 20px;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .card-grid {
        gap: 16px;
    }
}

.card {
    background-color: var(--wit);
    border-radius: 16px;
    box-shadow: var(--schaduw-sm);
    border: 1px solid rgba(229, 231, 235, 0.8);
    padding: 36px;
    transition: transform var(--duration-base) var(--ease-smooth), box-shadow var(--duration-base) var(--ease-smooth), border-color var(--duration-base) var(--ease-smooth);
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    contain: layout style paint;
}

/* MOBILE FIX: Reduce card padding on mobile */
@media (max-width: 768px) {
    .card {
        padding: 24px 20px;
        border-radius: 12px;
    }

    .card-link {
        padding: 12px 24px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
    }
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--oranje-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-smooth);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--schaduw-lg);
    border-color: rgba(255, 87, 34, 0.2);
}

.card:hover h3 {
    color: var(--oranje);
    transition: color var(--duration-base) var(--ease-smooth);
}

.card h3 {
    color: var(--paars);
    margin-bottom: 15px;
}

.card p {
    flex-grow: 1;
}

.card-icon {
    height: 70px;
    width: auto;
    margin-bottom: 25px;
    opacity: 0.9;
    margin-left: auto;
    margin-right: auto;
    transition: all var(--duration-base) var(--ease-smooth);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.card:hover .card-icon {
    transform: translateY(-5px) scale(1.05);
    opacity: 1;
    filter: drop-shadow(0 8px 16px rgba(255, 87, 34, 0.2));
}

.card-link {
    color: var(--wit);
    font-weight: 700;
    font-size: 1rem;
    display: block;
    margin: 20px auto 0 auto;
    padding: 14px 28px;
    background: var(--oranje-gradient);
    border-radius: 8px;
    text-decoration: none;
    transition: transform var(--duration-base) var(--ease-smooth), box-shadow var(--duration-base) var(--ease-smooth);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 240px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Shimmer effect on card-link buttons - matches .cta-button */
.card-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.card-link:hover::before {
    left: 100%;
}

.card-link:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: var(--wit);
}

.card-link:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.card-link:focus-visible {
    outline: 3px solid var(--oranje);
    outline-offset: 3px;
}

.training-meta {
    font-size: 0.9rem;
    color: var(--tekstgrijs);
    font-weight: 700;
    margin-bottom: 15px;
}

/* 9. PROFIEL KAARTEN (Amplifiers Pagina) */
.profile-card {
    background-color: var(--wit);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-gray);
    margin-bottom: 40px;
    display: flex;
    overflow: hidden;
    align-items: center;
}

.profile-avatar-wrapper {
    flex-basis: 300px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.profile-image-round {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0;
    border: 4px solid var(--oranje);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.profile-content {
    padding: 40px;
    flex: 1;
    text-align: left;
}

.profile-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--tekstgrijs);
    border-left: 4px solid var(--oranje);
    padding-left: 20px;
    margin: 20px 0;
    line-height: 1.6;
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
    text-align: left;
}

.expertise-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expertise-list li {
    font-size: 0.95rem;
    color: var(--tekstgrijs);
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.expertise-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(7, 26, 80, 0.12);
    color: var(--paars);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(7, 26, 80, 0.08);
    transition: all var(--duration-base) var(--ease-smooth);
    border: 1.5px solid rgba(7, 26, 80, 0.25);
}

.expertise-list li:hover::before {
    background: rgba(7, 26, 80, 0.18);
    border-color: rgba(7, 26, 80, 0.4);
    box-shadow: 0 2px 6px rgba(7, 26, 80, 0.15);
    transform: scale(1.05);
}

/* 10. FADE-IN SCROLL ANIMATIE - ENHANCED */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger effect for multiple fade-in elements */
.fade-in:nth-child(1) {
    transition-delay: 0ms;
}

.fade-in:nth-child(2) {
    transition-delay: 100ms;
}

.fade-in:nth-child(3) {
    transition-delay: 200ms;
}

.fade-in:nth-child(4) {
    transition-delay: 300ms;
}

.fade-in:nth-child(5) {
    transition-delay: 400ms;
}

.fade-in:nth-child(6) {
    transition-delay: 500ms;
}

/* 11. PARALLAX EFFECT (High-End) */
.parallax-section {
    background-image: url('/images/parallax-background.jpg');
    min-height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wit);
    text-align: center;
}

.parallax-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 20px;
}

.parallax-content h2 {
    font-size: 2.5rem;
    color: var(--wit);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.parallax-content p {
    font-size: 1.25rem;
    color: var(--wit);
    opacity: 0.9;
}


/* 12. FOOTER */
.footer {
    background-color: var(--donkergrijs);
    color: var(--footer-text);
    padding: 50px 20px;
    text-align: center;
}

.footer p {
    color: var(--footer-text);
    margin: 0 0 10px 0;
    font-size: 0.9rem;
}

.footer a {
    color: var(--oranje);
    text-decoration: none;
    margin: 0 10px;
}

/* Social Media Buttons in Footer */
.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 24px 0 20px;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.social-button svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

/* Instagram Button Styling */
.social-instagram {
    color: #E4405F;
}

.social-instagram:hover {
    background: #E4405F;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(228, 64, 95, 0.3);
    border-color: #E4405F;
}

/* LinkedIn Button Styling */
.social-linkedin {
    color: #0A66C2;
}

.social-linkedin:hover {
    background: #0A66C2;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.3);
    border-color: #0A66C2;
}

/* Mobile responsiveness for social buttons */
@media (max-width: 480px) {
    .social-button {
        width: 44px;
        height: 44px;
    }
    
    .social-button svg {
        width: 22px;
        height: 22px;
    }
    
    .footer-social {
        gap: 16px;
        margin: 20px 0 16px;
    }
}

/* ==============================================
   13. NIEUWE STIJLEN: TRAINING DETAILPAGINA
   ============================================== */

/* Sticky CTA (bovenaan detailpagina) */
.sticky-cta-bar {
    position: sticky;
    top: var(--nav-height);
    /* Plakt onder de hoofdnavigatie */
    z-index: 900;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-gray);
    /* Smart auto-hide animation */
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Hidden state when scrolling down */
.sticky-cta-bar.hidden {
    transform: translateY(-100%);
}

/* Respect reduced motion preferences for accessibility */
@media (prefers-reduced-motion: reduce) {
    .sticky-cta-bar {
        transition: none;
    }
}

.sticky-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    padding-bottom: 15px;
    gap: 20px;
}

.sticky-cta-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sticky-cta-info strong {
    color: var(--paars);
    font-size: 1.1rem;
}

.sticky-cta-muted {
    color: var(--tekstgrijs);
    font-size: 0.9rem;
}

.sticky-cta-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--paars);
}

.sticky-cta-content .cta-button {
    padding: 12px 25px;
    /* Iets kleinere knop */
    font-size: 1rem;
}

/* 2-Koloms Layout (Grid) */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Standaard 1 kolom op mobiel */
    gap: 30px;
}

@media (min-width: 900px) {
    .detail-grid {
        /* 2 kolommen op desktop: 2/3 voor content, 1/3 voor sidebar */
        grid-template-columns: 2fr 1fr;
    }
}

.detail-content {
    /* (Hoofdinhoud) */
}

.detail-sidebar {
    /* (Zijkolom) */
}

/* Kaartstijl voor *binnen* een pagina (niet de grid) */
.card-white-bg {
    background: var(--wit);
    border-radius: 12px;
    box-shadow: var(--schaduw);
    padding: 30px;
    border: 1px solid var(--border-gray);
}

.card-white-bg h2 {
    margin-top: 0;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-gray);
}

.card-orange-bg {
    background-color: var(--oranje);
    color: var(--wit);
    border: none;
    box-shadow: var(--schaduw);
}

.card-orange-bg h2 {
    color: var(--wit);
    border-bottom: none;
    margin-bottom: 10px;
}

.card-orange-bg .profile-quote {
    color: var(--wit);
    border-left: 3px solid rgba(255, 255, 255, 0.6);
}

.card-orange-bg footer {
    color: var(--wit);
}


/* Badges (voor Hero) */
.badge-group {
    display: flex;
    gap: 10px;
    margin: 25px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--wit);
}

/* Praktische Info Sidebar */
.info-fact {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-gray);
}

.info-fact:last-child {
    border-bottom: none;
}

.info-fact svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--paars);
    margin-top: 5px;
}

.info-fact strong {
    color: var(--donkergrijs);
}

.info-muted {
    color: var(--tekstgrijs);
    font-size: 0.9rem;
}

/* Interactieve Stepper (SIA Model) */
.stepper {
    display: grid;
    gap: 15px;
}

.step {
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 20px;
    transition: box-shadow 0.3s ease;
    background: var(--wit);
}

/* Actieve staat (oranje rand) */
.step[aria-expanded="true"] {
    border-color: var(--oranje);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.step-header:hover {
    color: var(--paars);
}

.step-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
}

.step-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1rem;
    background: var(--lichtgrijs);
    color: var(--paars);
}

.step-muted {
    color: var(--tekstgrijs);
    font-size: 0.9rem;
}

.step-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.step[aria-expanded="true"] .step-content {
    max-height: 600px;
    /* Max hoogte opengeklapt */
    padding-top: 15px;
}

.step-example {
    background: var(--lichtgrijs);
    border: 1px dashed var(--border-gray);
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
    font-style: italic;
}

.step-example strong {
    color: var(--paars);
}

/* Accordion (FAQ & Programma) */
.accordion {
    background: var(--wit);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 20px;
}

.accordion+.accordion {
    margin-top: 15px;
    /* Ruimte tussen items */
}

.accordion-header {
    cursor: pointer;
    font-weight: 700;
    font-size: 1.2rem;
    list-style: none;
    /* Verberg standaard pijl */
    position: relative;
    padding-right: 30px;
}

.accordion-header::-webkit-details-marker {
    display: none;
}

/* Safari */
.accordion-header::after {
    /* Maak eigen pijl */
    content: '+';
    position: absolute;
    right: 5px;
    top: 0;
    font-size: 1.5rem;
    color: var(--oranje);
    transition: transform 0.3s ease;
}

.accordion[open]>.accordion-header::after {
    transform: rotate(45deg);
}

.accordion-content {
    padding-top: 15px;
    border-top: 1px solid var(--border-gray);
    margin-top: 15px;
}

/* 14. RESPONSIVE DESIGN (Mobiel & Tablet) */
@media (max-width: 900px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .profile-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-avatar-wrapper {
        flex-basis: auto;
        padding: 40px 20px 20px;
    }

    .profile-image-round {
        margin: 0 auto;
    }

    .profile-content {
        padding: 30px;
    }

    .profile-quote {
        border-left: none;
        padding-left: 0;
        text-align: center;
    }

    .expertise-grid {
        text-align: left;
    }

    /* Detailpagina Grid */
    .detail-grid {
        grid-template-columns: 1fr;
        /* 1 kolom op mobiel/tablet */
    }

    .detail-sidebar {
        margin-top: 30px;
    }
}

/* MOBILE FIX: Comprehensive mobile layout optimizations */
@media (max-width: 768px) {
    body {
        padding-top: var(--nav-height);
        /* MOBILE FIX: Ensure readable text size */
        font-size: 16px;
    }

    .hero-section {
        min-height: calc(100vh - var(--nav-height));
    }

    h1 {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .parallax-content h2 {
        font-size: 2rem;
    }

    /* MOBILE FIX: Reduced padding for better space utilization */
    .section {
        padding: 50px 20px;
    }

    .container {
        padding: 0 20px;
    }

    /* MOBILE FIX: Sticky CTA bar optimization - reduce vertical space */
    .sticky-cta-bar {
        /* Reduce overall height to save screen space */
        padding: 8px 0;
    }

    .sticky-cta-content {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
        padding: 8px 0;
    }

    .sticky-cta-info {
        justify-content: space-between;
        flex-wrap: wrap;
        text-align: center;
    }

    .sticky-cta-info strong {
        font-size: 1rem;
    }

    .sticky-cta-muted {
        font-size: 0.85rem;
    }

    .sticky-cta-price {
        font-size: 1.2rem;
    }

    .sticky-cta-content .cta-button {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .parallax-section {
        background-attachment: scroll;
        min-height: 300px;
    }

    .nav-toggle {
        display: block;
        z-index: 1001;
    }
}

/* =========================================== */
/* 15. SPECIFIEKE STIJL: VIER PIJLERS HOMEPAGE */
/* =========================================== */

/* 1. De Grid Layout */
#onze-pijlers .card-grid {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    #onze-pijlers .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Deze regel hieronder maakt 4 kolommen */
@media (min-width: 1200px) {
    #onze-pijlers .card-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 2. De Kaart-stijl (Layout voor ALLE 4 de kaarten) */
#onze-pijlers .card {
    /* Basis-stijlen van .card */
    background-color: var(--wit);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    border: 1px solid var(--border-gray);
    padding: 40px 28px 36px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    /* Specifieke overrides voor de Pijlers */
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

/* 3. De inhoud van de kaarten */
#onze-pijlers .card h3 {
    font-size: 1.6rem;
    margin-top: 12px;
    /* Voegt wat ruimte toe boven de titel */
    text-align: center;
}

/* Nieuwe, bredere container voor specifieke secties */
.container-breed {
    max-width: 1300px;
    /* ← Breder dan de 1100px standaard */
    margin: 0 auto;
    padding: 0 20px;
}

#onze-pijlers .card p {
    flex-grow: 1;
    /* Dit duwt de link naar de bodem */
    text-align: center;
}

#onze-pijlers .card .card-link {
    text-align: center;
}

/* 4. De SPECIFIEKE KLEUREN (Gecorrigeerde versie) */

/* Pijler 1: Light Gray/Blue (matching LearnWorlds Online Platform card) */
#onze-pijlers .card-pijler-1 {
    background-color: #E8EEF3;
    color: var(--donkergrijs);
    border: none;
}

/* Pijler 2: Oranje */
#onze-pijlers .card-pijler-2 {
    background-color: var(--oranje);
    color: var(--wit);
    border: none;
}

#onze-pijlers .card-pijler-2 h3,
#onze-pijlers .card-pijler-2 p {
    color: var(--wit);
}

#onze-pijlers .card-pijler-2 .benefit-card-icon svg {
    color: var(--wit) !important;
}

#onze-pijlers .card-pijler-2:hover .benefit-card-icon svg {
    color: var(--wit) !important;
}

#onze-pijlers .card-pijler-2 .card-link {
    background: var(--wit);
    color: var(--oranje);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#onze-pijlers .card-pijler-2 .card-link:hover {
    background: var(--paars);
    color: var(--wit);
    box-shadow: 0 8px 25px rgba(7, 26, 80, 0.4), 0 4px 12px rgba(7, 26, 80, 0.2);
    text-decoration: none;
    transform: translateY(-3px) scale(1.02);
}

#onze-pijlers .card-pijler-2 .card-link:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(7, 26, 80, 0.3);
}

#onze-pijlers .card-pijler-2 .card-link:focus-visible {
    outline: 3px solid var(--paars);
    outline-offset: 3px;
}

/* Pijler 3: Dark Navy Blue (matching LearnWorlds Blended Learning card) */
#onze-pijlers .card-pijler-3 {
    background-color: #071A50;
    color: var(--wit);
    border: none;
}

#onze-pijlers .card-pijler-3 h3,
#onze-pijlers .card-pijler-3 p {
    color: var(--wit);
    /* Typo-fix (pijlers-3) is hier verwerkt */
}

#onze-pijlers .card-pijler-3 .benefit-card-icon svg {
    color: var(--wit) !important;
}

#onze-pijlers .card-pijler-3:hover .benefit-card-icon svg {
    color: var(--wit) !important;
}

#onze-pijlers .card-pijler-3 .card-link {
    background: var(--wit);
    color: #071A50;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#onze-pijlers .card-pijler-3 .card-link:hover {
    background: var(--oranje-gradient);
    color: var(--wit);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transform: translateY(-3px) scale(1.02);
}

#onze-pijlers .card-pijler-3 .card-link:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

#onze-pijlers .card-pijler-3 .card-link:focus-visible {
    outline: 3px solid var(--oranje);
    outline-offset: 3px;
}

/* Pijler 4: Light Gray/Blue (matching LearnWorlds Online Platform card) */
#onze-pijlers .card-pijler-4 {
    background-color: #E8EEF3;
    color: var(--donkergrijs);
    border: none;
}

/* Enhanced button states for pijler-1 and pijler-4 (using default orange gradient) */
#onze-pijlers .card-pijler-1 .card-link:active,
#onze-pijlers .card-pijler-4 .card-link:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

#onze-pijlers .card-pijler-1 .card-link:focus-visible,
#onze-pijlers .card-pijler-4 .card-link:focus-visible {
    outline: 3px solid var(--oranje);
    outline-offset: 3px;
}

/* ============================================== */
/* ICON VISIBILITY OPTIMIZATIONS FOR EACH PILLAR */
/* ============================================== */

/* ============================================
   BASE STYLES - BRAND LOGO VISIBILITY
   ============================================ */

/* Wrapper rond het logo in elke card - ENLARGED for prominence */
#onze-pijlers .benefit-card-icon {
    width: 220px;
    height: 220px;
    margin: 32px auto 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

/* Remove max constraints on images within benefit-card-icon */
#onze-pijlers .benefit-card-icon img {
    max-width: 220px !important;
    max-height: 220px !important;
}

/* Alle pijler-logo's: ENLARGED and same height for consistency */
#onze-pijlers .pillar-logo {
    height: 180px !important;
    /* Large, prominent and uniform size for all logos */
    width: auto !important;
    /* Width follows aspect ratio */
    object-fit: contain !important;
    display: block !important;
    transition: transform 0.3s ease;
    filter: none !important;
    opacity: 1 !important;
}

/* Hover effect */
.benefit-card-icon:hover .pillar-logo {
    transform: scale(1.08);
}



/* ============================================
   HOVER EFFECT
   ============================================ */
.benefit-card-icon:hover .pillar-logo {
    transform: scale(1.08);
}

/* Pijler 1: Light Gray/Blue Background - Transparent container like others */
#onze-pijlers .card-pijler-1 .benefit-card-icon {
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Subtle shadow for logo on light background */
#onze-pijlers .card-pijler-1 .benefit-card-icon img {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

#onze-pijlers .card-pijler-1 .benefit-card-icon svg {
    color: var(--oranje) !important;
}

#onze-pijlers .card-pijler-1:hover .benefit-card-icon {
    background: transparent;
    border: none;
    box-shadow: none;
    transform: scale(1.05);
}

#onze-pijlers .card-pijler-1:hover .benefit-card-icon img {
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.15));
}

#onze-pijlers .card-pijler-1:hover .benefit-card-icon svg {
    color: var(--paars) !important;
    transform: scale(1.15);
}

/* Pijler 2: Orange Background - Subtle transparent container for logo, minimal visual weight */
#onze-pijlers .card-pijler-2 .benefit-card-icon {
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Add subtle glow to logo on orange background for depth */
#onze-pijlers .card-pijler-2 .benefit-card-icon img {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

#onze-pijlers .card-pijler-2:hover .benefit-card-icon {
    background: transparent;
    border: none;
    box-shadow: none;
    transform: scale(1.05);
}

#onze-pijlers .card-pijler-2:hover .benefit-card-icon img {
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.2));
}

#onze-pijlers .card-pijler-2:hover .benefit-card-icon svg {
    color: var(--wit) !important;
    transform: scale(1.15);
}

/* Pijler 3: Dark Navy Background - Clean Academy Logo without white glow */
#onze-pijlers .card-pijler-3 .benefit-card-icon {
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Clean Academy logo on dark navy - no glow effect */
#onze-pijlers .card-pijler-3 .benefit-card-icon img {
    max-width: 130px;
    max-height: 130px;
    filter: none;
}

#onze-pijlers .card-pijler-3:hover .benefit-card-icon {
    background: transparent;
    border: none;
    box-shadow: none;
    transform: scale(1.05);
}

/* Clean hover effect without glow */
#onze-pijlers .card-pijler-3:hover .benefit-card-icon img {
    filter: none;
}

#onze-pijlers .card-pijler-3:hover .benefit-card-icon svg {
    color: var(--wit) !important;
    transform: scale(1.15);
}

/* Pijler 4: Light Gray/Blue Background - Clean look with subtle shadow, no box */
#onze-pijlers .card-pijler-4 .benefit-card-icon {
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Subtle shadow for depth on light background */
#onze-pijlers .card-pijler-4 .benefit-card-icon img {
    max-width: 130px;
    max-height: 130px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

#onze-pijlers .card-pijler-4 .benefit-card-icon svg {
    color: var(--paars) !important;
}

#onze-pijlers .card-pijler-4:hover .benefit-card-icon {
    background: transparent;
    border: none;
    box-shadow: none;
    transform: scale(1.05);
}

#onze-pijlers .card-pijler-4:hover .benefit-card-icon img {
    filter: drop-shadow(0 6px 16px rgba(255, 87, 34, 0.25));
}

#onze-pijlers .card-pijler-4:hover .benefit-card-icon svg {
    color: var(--oranje) !important;
    transform: scale(1.15);
}

/* 5. Animatie-vertraging */
#onze-pijlers .card-pijler-1 {
    transition-delay: 0ms;
}

#onze-pijlers .card-pijler-2 {
    transition-delay: 100ms;
}

#onze-pijlers .card-pijler-3 {
    transition-delay: 200ms;
}

#onze-pijlers .card-pijler-4 {
    transition-delay: 300ms;
}

/* RESPONSIVE: Mobile optimization for brand logo visibility */
@media (max-width: 768px) {
    #onze-pijlers .benefit-card-icon {
        width: 180px;
        height: 180px;
        margin-bottom: 20px;
    }

    #onze-pijlers .benefit-card-icon img {
        max-width: 180px !important;
        max-height: 180px !important;
    }

    #onze-pijlers .pillar-logo {
        height: 150px !important;
        /* Slightly smaller on tablet for better fit */
    }

    #onze-pijlers .card {
        padding: 32px 24px 28px;
    }
}

@media (max-width: 480px) {
    #onze-pijlers .benefit-card-icon {
        width: 150px;
        height: 150px;
        margin-bottom: 18px;
    }

    #onze-pijlers .benefit-card-icon img {
        max-width: 150px !important;
        max-height: 150px !important;
    }

    #onze-pijlers .pillar-logo {
        height: 120px !important;
        /* Smaller on mobile for better fit */
    }

    #onze-pijlers .card {
        padding: 28px 20px 24px;
    }
}

/* 6. FIX VOOR AFBEELDINGEN (Uitrekken + Centreren) */
#onze-pijlers .card .card-icon {
    width: 140px;
    /* Bepaalt de breedte */
    height: auto;
    /* Voorkomt uitrekken */
    margin-bottom: 25px;
    /* Ruimte eronder */
    margin-left: auto;
    /* FIX: Centreert de afbeelding */
    margin-right: auto;
    /* FIX: Centreert de afbeelding */
}

/* =========================================== */
/* HERO LOGO - AMP EMBLEEM                     */
/* =========================================== */

/* Container for hero logo with hover effect */
.hero-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 48px;
    width: 280px;
    height: 280px;
    transition: all 0.3s ease;
}

/* Hero AMP Logo - Large and prominent */
.hero-amp-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Same hover animation as pillar logos */
.hero-logo-container:hover .hero-amp-logo {
    transform: scale(1.08);
}

/* Responsive sizing for logo */
@media (max-width: 768px) {
    .hero-logo-container {
        width: 220px;
        height: 220px;
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .hero-logo-container {
        width: 180px;
        height: 180px;
        margin-bottom: 32px;
    }
}

/* =========================================== */
/* 16. GEAVANCEERDE TYPING ANIMATIE (JS)       */
/* =========================================== */

/* Dit zorgt dat de H2 niet springt als hij leeg is */
#typing-headline {
    /* We zorgen dat de cursor verticaal goed staat */
    display: flex;
    justify-content: center;
    align-items: center;
    /* De 'height' staat in de inline-style in de HTML */
}

/* De cursor zelf */
.typing-cursor {
    display: inline-block;
    background-color: var(--oranje);
    margin-left: 0.15em;
    width: 3px;
    /* Dikte van de cursor */
    height: 2.5rem;
    /* Hoogte, afgestemd op font-size */

    /* De knipper-animatie */
    animation: blink-caret .75s step-end infinite;
}

/* Keyframes voor het knipperen van de cursor */
@keyframes blink-caret {

    from,
    to {
        background-color: transparent
    }

    50% {
        background-color: var(--oranje);
    }
}

/* Keyframes voor het 'typen' (animeert de breedte) */
@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

/* ==============================================
   17. SIA-TABS - PREMIUM MODERN DESIGN
   ============================================== */
.sia-tab-labels {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 36px;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--border-gray);
    position: relative;
}

.sia-tab-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 32px 16px;
    cursor: pointer;
    background: transparent;
    color: var(--tekstgrijs);
    font-weight: 600;
    font-size: 1.05rem;
    transition: all var(--duration-base) var(--ease-smooth);
    border: none;
    box-shadow: none;
    border-radius: 0;
    position: relative;
    min-width: 160px;
}

/* Modern underline indicator */
.sia-tab-label::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--paars) 0%, var(--lichtpaars) 100%);
    border-radius: 3px 3px 0 0;
    transition: transform var(--duration-base) var(--ease-smooth);
}

.sia-step {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-gray-light);
    color: var(--tekstgrijs);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all var(--duration-base) var(--ease-smooth);
}

.sia-step-oranje {
    background: var(--bg-gray-light);
    color: var(--tekstgrijs);
}

/* Hover state */
.sia-tab-label:hover {
    color: var(--paars);
    background: transparent;
    transform: none;
}

.sia-tab-label:hover .sia-step {
    background: var(--paars);
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(7, 26, 80, 0.25);
}

.sia-tab-label:hover .sia-step-oranje {
    background: var(--oranje);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sia-tab-label:hover::after {
    transform: translateX(-50%) scaleX(0.5);
    opacity: 0.4;
}

/* Active tab state */
#sia-tab-s:checked~.sia-tab-labels label[for="sia-tab-s"],
#sia-tab-i:checked~.sia-tab-labels label[for="sia-tab-i"],
#sia-tab-a:checked~.sia-tab-labels label[for="sia-tab-a"] {
    background: transparent;
    color: var(--paars);
    border-color: transparent;
    box-shadow: none;
}

#sia-tab-s:checked~.sia-tab-labels label[for="sia-tab-s"]::after,
#sia-tab-i:checked~.sia-tab-labels label[for="sia-tab-i"]::after,
#sia-tab-a:checked~.sia-tab-labels label[for="sia-tab-a"]::after {
    transform: translateX(-50%) scaleX(1);
}

#sia-tab-s:checked~.sia-tab-labels label[for="sia-tab-s"] .sia-step,
#sia-tab-a:checked~.sia-tab-labels label[for="sia-tab-a"] .sia-step {
    background: var(--paars-gradient);
    color: #fff;
    box-shadow: 0 6px 16px rgba(7, 26, 80, 0.3);
    transform: scale(1.05);
}

#sia-tab-i:checked~.sia-tab-labels label[for="sia-tab-i"] .sia-step {
    background: var(--oranje-gradient);
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

#sia-tab-i:checked~.sia-tab-labels label[for="sia-tab-i"]::after {
    background: linear-gradient(90deg, var(--oranje) 0%, #FF6D42 100%);
}

/* Panels with premium styling and animations */
.sia-panel {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-gray);
    border-top: 3px solid var(--paars);
    animation: fadeInUp 0.4s var(--ease-smooth) forwards;
    position: relative;
    transition: all var(--duration-base) var(--ease-smooth);
}

.sia-panel:hover {
    border-top-color: var(--oranje);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.sia-panel-i {
    border-top-color: var(--oranje);
}

.sia-panel-i:hover {
    border-top-color: var(--paars);
}

.sia-panel-a {
    border-top-color: var(--paars);
}

.sia-panel-a:hover {
    border-top-color: var(--oranje);
}

.sia-panel h3 {
    color: var(--paars);
    margin-bottom: 10px;
}

/* ==============================================
   SIA-tabs: functionaliteit (1 tab tegelijk zichtbaar)
   ============================================== */

/* Radio-buttons verbergen */
.sia-tabs input[type="radio"] {
    display: none;
}

/* Alle panels standaard verbergen */
.sia-panels .sia-panel {
    display: none;
}

/* Alleen het bijbehorende panel tonen */
#sia-tab-s:checked~.sia-panels .sia-panel-s {
    display: block;
}

#sia-tab-i:checked~.sia-panels .sia-panel-i {
    display: block;
}

#sia-tab-a:checked~.sia-panels .sia-panel-a {
    display: block;
}

/* Extra ruimte boven SIA-beslismodel blok */
.sia-card {
    margin-top: 40px;
}

/* Optioneel: subtiele scheiding t.o.v. trainers */
.sia-card .sia-title {
    margin-top: 5px;
}

/* Focus states for accessibility */
.sia-tab-label:focus-visible {
    outline: 2px solid var(--oranje);
    outline-offset: 4px;
    border-radius: 8px;
}

/* Mobile responsive for SIA tabs */
@media (max-width: 768px) {
    .sia-tab-labels {
        gap: 0;
        margin-bottom: 28px;
    }

    .sia-tab-label {
        padding: 14px 20px 12px;
        min-width: 120px;
        font-size: 0.95rem;
        gap: 8px;
    }

    .sia-step {
        width: 36px;
        height: 36px;
        font-size: 1.05rem;
    }

    .sia-panel {
        padding: 24px 20px;
        border-radius: 12px;
    }
}

/* ==============================================
   18. PROFESSIONAL TRAINING CARDS
   ============================================== */

.training-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    justify-content: flex-start;
}

/* Override general .card p rule for training cards */
.training-card p {
    flex-grow: 0;
}

.training-card-header {
    margin-bottom: 24px;
    position: relative;
    flex-shrink: 0;
    flex-grow: 0;
}

.training-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--oranje-gradient);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.training-badge.badge-purple {
    background: var(--paars-gradient);
    box-shadow: 0 2px 8px rgba(7, 26, 80, 0.25);
}

.training-card-header h3 {
    margin: 0 0 4px 0;
    color: var(--paars);
    font-size: 1.5rem;
    line-height: 1.35;
}

.training-intro {
    color: var(--tekstgrijs);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 28px;
    margin-top: 4px;
    flex-shrink: 0;
    flex-grow: 0;
}

/* Professional Benefits List */
.training-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 auto 0;
    /* margin-bottom: auto pushes all content below to the bottom */
    flex-shrink: 0;
    flex-grow: 0;
}

.training-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--bg-gray-light);
    transition: all var(--duration-base) var(--ease-smooth);
}

.training-benefits li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.training-benefits li:hover {
    transform: translateX(4px);
}

.benefit-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 87, 34, 0.12);
    color: var(--oranje);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all var(--duration-base) var(--ease-smooth);
    border: 1.5px solid rgba(255, 87, 34, 0.25);
}

.training-benefits li:hover .benefit-icon {
    background: rgba(255, 87, 34, 0.18);
    border-color: rgba(255, 87, 34, 0.4);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.benefit-content {
    flex: 1;
}

.benefit-content strong {
    display: block;
    color: var(--donkergrijs);
    font-size: 1.05rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.benefit-content p {
    margin: 0;
    color: var(--tekstgrijs);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Training Meta Information Box - Clean Professional Style with Grid Alignment */
.training-meta-box {
    margin-top: auto;
    margin-bottom: 0;
    padding: 26px;
    background: linear-gradient(135deg, var(--bg-gray-lighter) 0%, #f8f9fa 100%);
    border-radius: 12px;
    border: 1px solid var(--border-gray);
    /* Use CSS Grid for perfect label/value alignment */
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px 16px;
    align-items: baseline;
}

.meta-item {
    /* Grid items - label and value are siblings in the grid */
    display: contents;
}

.meta-label {
    /* Left column - all labels align vertically */
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--oranje);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-align: right;
    white-space: nowrap;
}

.meta-label::after {
    content: ':';
    margin-left: 0;
}

.meta-value {
    /* Right column - all values align vertically */
    font-size: 0.95rem;
    color: var(--donkergrijs);
    font-weight: 500;
    text-align: left;
}

/* Training CTA Button */
.training-cta {
    margin-top: 24px;
    width: 100%;
    text-align: center;
}

/* MOBILE FIX: Mobile Responsive training cards */
@media (max-width: 768px) {
    .training-card-header h3 {
        font-size: 1.35rem;
        line-height: 1.3;
    }

    .training-intro {
        font-size: 1rem;
        line-height: 1.6;
    }

    .benefit-content strong {
        font-size: 1rem;
    }

    .benefit-content p {
        font-size: 0.95rem;
    }

    .training-meta-box {
        /* MOBILE FIX: Keep grid layout but adjust spacing */
        gap: 12px 12px;
        padding: 22px 20px;
        margin-top: auto;
        /* Keep 2-column grid on mobile for consistent alignment */
        grid-template-columns: auto 1fr;
    }

    .meta-label {
        /* MOBILE FIX: Slightly larger for better readability */
        font-size: 0.8rem;
        text-align: right;
    }

    .meta-value {
        font-size: 0.95rem;
        text-align: left;
    }

    /* MOBILE FIX: Disable hover transform on mobile for performance */
    .training-benefits li:hover {
        transform: none;
    }

    .training-benefits li:hover .benefit-icon {
        transform: none;
    }

    .benefit-icon {
        /* MOBILE FIX: Maintain refined size on mobile */
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }
}

/* ==============================================
   19. INCOMPANY SECTION
   ============================================== */

.incompany-section {
    max-width: 1000px;
}

.incompany-content {
    text-align: center;
}

.incompany-content h2 {
    color: var(--paars);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 20px;
}

.incompany-intro {
    color: var(--tekstgrijs);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.incompany-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.incompany-benefit {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all var(--duration-base) var(--ease-smooth);
    border-top: 3px solid var(--paars);
}

.incompany-benefit:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-top-color: var(--oranje);
}

.incompany-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--paars-gradient);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(7, 26, 80, 0.25);
    transition: all var(--duration-base) var(--ease-smooth);
}

.incompany-benefit:hover .incompany-number {
    background: var(--oranje-gradient);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.incompany-benefit h4 {
    color: var(--donkergrijs);
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.incompany-benefit p {
    color: var(--tekstgrijs);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.incompany-cta {
    background: var(--paars-gradient);
    display: inline-block;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .incompany-benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .incompany-intro {
        font-size: 1.05rem;
        margin-bottom: 30px;
    }

    .incompany-benefit {
        padding: 25px 18px;
    }
}

/* === Praktische informatie sidebar === */
.detail-sidebar .card {
    text-align: center;
}

.detail-sidebar h3 {
    text-align: center;
    color: var(--paars);
    margin-bottom: 25px;
}

.detail-sidebar .info-fact {
    display: block;
    border-bottom: 1px solid var(--border-gray);
    padding: 15px 0;
}

.detail-sidebar .info-fact svg {
    display: none;
    /* iconen weglaten voor strak design */
}

.detail-sidebar .info-fact strong {
    display: block;
    font-size: 1.05rem;
    color: var(--donkergrijs);
    margin-bottom: 5px;
}

.detail-sidebar .info-fact div {
    font-size: 0.95rem;
    color: var(--tekstgrijs);
}

.detail-sidebar .info-muted {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
    margin-top: 3px;
}

/* Knoppen mooi centreren en uitlijnen */
.detail-sidebar .cta-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin-top: 25px;
}

.detail-sidebar .cta-button,
.detail-sidebar .cta-button-outline {
    width: 80%;
    text-align: center;
}

/* === Early Bird Popup - Simple Original Design === */

.earlybird-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.earlybird-modal {
    background: white;
    max-width: 500px;
    width: 90%;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.earlybird-label {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 87, 34, 0.1);
    color: var(--oranje);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 87, 34, 0.3);
}

.earlybird-modal h2 {
    margin: 0 0 16px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--paars);
}

.earlybird-modal p {
    margin: 10px 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--tekstgrijs);
}

.earlybird-deadline {
    margin: 16px 0 20px !important;
    padding: 14px 20px !important;
    background: rgba(7, 26, 80, 0.05);
    border-left: 3px solid var(--paars);
    border-radius: 4px;
    font-size: 1rem !important;
}

.earlybird-deadline strong {
    color: var(--paars);
    font-weight: 700;
}

.earlybird-small {
    font-size: 0.85rem;
    color: #999;
    margin: 16px 0 0;
    font-style: italic;
}

.earlybird-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    color: #666;
    transition: all 0.2s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.earlybird-close:hover {
    background: var(--paars);
    color: white;
    border-color: var(--paars);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .earlybird-modal {
        width: 92%;
        padding: 32px 24px;
    }

    .earlybird-modal h2 {
        font-size: 1.4rem;
    }

    .earlybird-modal p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .earlybird-modal {
        width: 94%;
        padding: 28px 20px;
    }

    .earlybird-modal h2 {
        font-size: 1.25rem;
    }

    .earlybird-modal p {
        font-size: 0.92rem;
    }
}

/* === Sticky Badge - Simple Original Design === */

.earlybird-badge {
    position: fixed;
    right: 24px;
    bottom: 24px;
    background: var(--oranje);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px 20px;
    border-radius: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1999;
    transition: all 0.3s ease;
    display: none;
}

.earlybird-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .earlybird-badge {
        right: 20px;
        bottom: 20px;
        font-size: 0.85rem;
        padding: 10px 18px;
    }
}

@media (max-width: 480px) {
    .earlybird-badge {
        right: 16px;
        bottom: 16px;
        font-size: 0.8rem;
        padding: 10px 16px;
    }
}

/* Extra ruimte tussen opeenvolgende content cards op detailpagina's */
.detail-content .card+.card {
    margin-top: 40px;
    /* standaard 20px → nu 40px tussen blokken */
}

/* ==============================================
   SAMENWERKING / PARTNERS SLIDER
   ============================================== */

.partners-section {
    position: relative;
    padding: 50px 0 60px;
    background-color: var(--wit);
    overflow: hidden;
}

.partners-title {
    text-align: center;
    color: var(--paars);
    font-size: 1.6rem;
    margin: 0 0 30px;
    font-weight: 800;
}

/* Top/bottom schuine oranje accenten (optioneel) */
.partners-angle-top,
.partners-angle-bottom {
    position: absolute;
    left: -10%;
    right: -10%;
    height: 8px;
    background: var(--oranje);
    transform: skewY(-1.5deg);
    transform-origin: left;
    opacity: 0.9;
}

.partners-angle-top {
    top: 0;
}

.partners-angle-bottom {
    bottom: 0;
    transform: skewY(1.5deg);
}

/* Slider wrapper */
.partners-slider {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 1100px;
}

/* De bewegende rij */
.partners-track {
    display: flex;
    align-items: center;
    gap: 80px;
    /* Breedte virtueel maken door te herhalen */
    animation: partners-scroll 22s linear infinite;
    will-change: transform;
}

/* Losse logo's */
.partner-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 280px;
}

.partner-logo img {
    max-height: 120px;
    width: auto;
    filter: grayscale(0);
    opacity: 0.95;
    transition: transform 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
}

.partner-logo img:hover {
    transform: translateY(-3px);
    opacity: 1;
    filter: grayscale(0);
}

/* Scroll animatie */
@keyframes partners-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pauzeer animatie bij hover voor premium feel */
.partners-slider:hover .partners-track {
    animation-play-state: paused;
}

/* Mobile tweaks */
@media (max-width: 768px) {
    .partners-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .partners-track {
        gap: 40px;
        animation-duration: 26s;
    }

    .partner-logo img {
        max-height: 45px;
    }
}

.partner-logo a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.partner-logo a:hover {
    transform: translateY(-3px) scale(1.05);
}

/* Honest partners grid (no fake duplication) */
.partners-grid-honest {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 60px 80px;
    max-width: 700px;
    margin: 0 auto 32px;
    justify-items: center;
    align-items: center;
}

.partners-stat {
    text-align: center;
    font-size: 1.1rem;
    color: var(--tekstgrijs);
    font-weight: 600;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .partners-grid-honest {
        gap: 40px;
        max-width: 500px;
    }

    .partners-stat {
        font-size: 1rem;
    }
}


/* ==============================================
   PREMIUM MICRO-INTERACTIONS & POLISH
   ============================================== */

/* Smooth scroll snap for sections */
@media (min-width: 1024px) {
    section {
        scroll-margin-top: var(--nav-height);
    }
}

/* Selection styling */
::selection {
    background-color: var(--oranje);
    color: var(--wit);
}

::-moz-selection {
    background-color: var(--oranje);
    color: var(--wit);
}

/* Focus states for accessibility */
*:focus {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--oranje);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Smooth image loading */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Premium link underline effect for content links */
.section p a:not(.cta-button):not(.card-link) {
    position: relative;
    display: inline-block;
}

.section p a:not(.cta-button):not(.card-link)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--oranje-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--duration-base) var(--ease-smooth);
}

.section p a:not(.cta-button):not(.card-link):hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Card link enhanced hover */
.card-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--duration-base) var(--ease-smooth);
}

.card-link::after {
    content: '→';
    display: inline-block;
    transition: transform var(--duration-base) var(--ease-smooth);
}

.card-link:hover::after {
    transform: translateX(5px);
}

/* Premium shadow on hover for profile cards */
.profile-card {
    transition: all var(--duration-base) var(--ease-smooth);
}

.profile-card:hover {
    box-shadow: var(--schaduw-lg);
    transform: translateY(-2px);
}

.profile-image-round {
    transition: all var(--duration-base) var(--ease-smooth);
}

.profile-card:hover .profile-image-round {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Accordion enhanced interactions */
.accordion {
    transition: all var(--duration-base) var(--ease-smooth);
}

.accordion:hover {
    box-shadow: var(--schaduw-sm);
    transform: translateX(4px);
}

.accordion[open] {
    border-color: var(--oranje);
}

/* Step interactions enhanced */
.step {
    cursor: pointer;
}

.step:hover {
    border-color: var(--paars);
}

.step[aria-expanded="true"] {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* Badge animations */
.badge {
    transition: all var(--duration-base) var(--ease-smooth);
}

.badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Footer link hover effects */
.footer a {
    position: relative;
    transition: color var(--duration-base) var(--ease-smooth);
}

.footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--oranje);
    transition: width var(--duration-base) var(--ease-smooth);
}

.footer a:hover::after {
    width: 100%;
}

/* Premium gradient text effect for headings */
.gradient-text {
    background: var(--paars-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pulse animation for important elements */
@keyframes pulse-subtle {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.pulse {
    animation: pulse-subtle 2s ease-in-out infinite;
}

/* Floating animation for badges */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Smooth page transitions */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* MOBILE FIX: Respect user's motion preferences and optimize animations */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .fade-in {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Performance optimizations - Strategic will-change usage */
/* Only add will-change to frequently animated elements */
.card:hover,
.cta-button:hover,
.cta-button:active {
    will-change: transform;
}

/* Remove will-change after animation completes */
.fade-in.visible {
    will-change: auto;
}

/* Add content-visibility for off-screen sections */
.section {
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}

/* MOBILE FIX: Disable expensive hover effects on mobile */
@media (max-width: 768px) {
    .card:hover {
        transform: none;
        box-shadow: var(--schaduw-sm);
    }

    .card-link:hover::after {
        transform: translateX(0);
    }

    .profile-card:hover {
        transform: none;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    }

    .profile-card:hover .profile-image-round {
        transform: none;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }
}

/* ==============================================
   MOBILE OPTIMIZATIONS FOR EXTRA SMALL SCREENS
   iPhone SE (375px), standard mobile (360px)
   ============================================== */
@media (max-width: 480px) {

    /* Typography adjustments */
    body {
        font-size: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.65rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    p {
        font-size: 1rem;
        line-height: 1.7;
    }

    /* Hero section */
    .hero-content h1 {
        font-size: 2.1rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* Sections */
    .section {
        padding: 40px 16px;
    }

    .container {
        padding: 0 16px;
    }

    /* Buttons */
    .cta-button,
    .cta-button-outline {
        font-size: 1rem;
        padding: 14px 28px;
    }

    /* Cards */
    .card {
        padding: 20px 16px;
    }

    .card-white-bg {
        padding: 24px 16px;
    }

    /* Navigation */
    .nav-menu a {
        font-size: 1.2rem;
        padding: 14px 16px;
    }

    /* Training badges */
    .training-badge {
        font-size: 0.7rem;
        padding: 5px 12px;
    }

    /* SIA tabs */
    .sia-tab-label {
        padding: 12px 16px 10px;
        min-width: 100px;
        font-size: 0.95rem;
        gap: 8px;
    }

    .sia-step {
        width: 36px;
        height: 36px;
        font-size: 1.05rem;
    }

    .sia-panel {
        padding: 20px 16px;
    }
}

/* ==============================================
   BENEFIT CARDS - ENHANCED INTERACTIONS
   ============================================== */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.benefit-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--schaduw-sm);
    border: 1px solid var(--border-gray);
    border-left: 3px solid transparent;
    transition: all var(--duration-base) var(--ease-smooth);
    position: relative;
}

.benefit-card:hover {
    transform: translateX(6px);
    border-left-color: var(--oranje);
    background: linear-gradient(135deg, #fafbfc 0%, #ffffff 100%);
    box-shadow: var(--schaduw);
}

.benefit-card h3 {
    color: var(--paars);
    font-size: 1.25rem;
    margin-bottom: 12px;
    transition: color var(--duration-base) var(--ease-smooth);
}

.benefit-card:hover h3 {
    color: var(--oranje);
}

.benefit-card p {
    color: var(--tekstgrijs);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-card {
        padding: 24px 20px;
    }

    .benefit-card:hover {
        transform: none;
        border-left-width: 3px;
    }
}

/* ==============================================
   UTILITY CLASSES - Phase 2 Cleanup
   ============================================== */

/* Hero subtitle with emphasis */
.hero-subtitle-emphasis {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--oranje);
    margin-top: 30px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* CTA with top spacing */
.cta-spaced {
    margin-top: 20px;
}

/* Centered narrow container */
.container-narrow-center {
    max-width: 800px;
    text-align: center;
}

/* Typing headline - keep centered */
.typing-headline {
    color: var(--oranje);
    font-size: 2.25rem;
    height: 3rem;
    text-align: center;
}

/* Intro text block - left aligned */
.intro-text-large {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--tekstgrijs);
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

/* Intro paragraph emphasis */
.intro-para {
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--tekstgrijs);
    margin-bottom: 30px;
}

/* Paragraph spacing */
.para-spaced {
    margin-bottom: 1.2rem;
}

/* Quote box */
.quote-box {
    border-left: 4px solid var(--paars);
    padding-left: 1rem;
    margin: 1.8rem 0;
}

.quote-text {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.6;
    font-style: italic;
    color: var(--tekstgrijs);
}

/* Section heading center */
.section-heading-center {
    text-align: center;
}

/* CTA group centered with spacing */
.cta-group-centered {
    margin-top: 15px;
    justify-content: center;
}

/* Section heading center with orange */
.section-heading-center-orange {
    text-align: center;
    color: var(--oranje);
}

/* Text color utilities */
.text-purple {
    color: var(--paars);
}

.text-orange {
    color: var(--oranje);
}

/* Staggered animation delays */
.fade-in-delay-100 {
    transition-delay: 100ms;
}

.fade-in-delay-200 {
    transition-delay: 200ms;
}

.fade-in-delay-300 {
    transition-delay: 300ms;
}

.fade-in-delay-400 {
    transition: delay 400ms;
}

/* Mobile optimizations for utility classes */
@media (max-width: 768px) {
    .hero-subtitle-emphasis {
        font-size: 1.1rem;
        margin-top: 20px;
    }

    .typing-headline {
        font-size: 1.75rem;
        height: 2.5rem;
    }

    .intro-text-large {
        font-size: 1.1rem;
    }

    .quote-text {
        font-size: 1.1rem;
    }
}

/* =========================================== */
/* PAGE-SPECIFIC TEXT CENTERING                */
/* =========================================== */

/* Center all text on Academy and Amplify360 pages */
body.page-academy .container p,
body.page-academy .container h2,
body.page-academy .container h3,
body.page-academy .card p,
body.page-academy .card h3,
body.page-amplify360 .container p,
body.page-amplify360 .container h2,
body.page-amplify360 .container h3,
body.page-amplify360 .card p,
body.page-amplify360 .card h3 {
    text-align: center !important;
}

/* Override the left-aligned benefit card paragraphs for these pages */
body.page-academy .benefit-card-enhanced p,
body.page-amplify360 .benefit-card-enhanced p {
    text-align: center !important;
}

/* Center CTA buttons on these pages */
body.page-academy .cta-button,
body.page-amplify360 .cta-button {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}