/* Aangepaste kleuren en Fonts (conform nieuwe specificaties: #58a82e en #fc1d26) */
:root {
    --color-primary: #58a82e; /* Nieuw Groen, Duurzaamheid & Kracht */
    --color-accent: #fc1d26; /* Nieuw Rood, Sociaal & Actie */
    --color-primary-light: #f5fcf2; /* Zeer lichtgroen voor rustige achtergronden */
    --color-text-dark: #1F2937; /* Diepe grijze tekst voor koppen */
    --color-body-text: #374151; /* Donkerdere bodytekst voor A11y contrast */
}

/* Native smooth scrolling voor betere prestaties */
html {
    scroll-behavior: smooth;
}

/* Optimaliseer rendering voor betere scroll prestaties */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Optimaliseer scroll prestaties */
body {
    margin: 0;
    overflow-x: hidden; /* Voorkom horizontaal scrollen */
}

/* Cursor styling voor links en buttons */
a,
button,
input[type="submit"],
input[type="button"] {
    cursor: pointer;
}

a[disabled],
button[disabled] {
    cursor: not-allowed;
}

/* Verwijder underline van alle links standaard */
a {
    text-decoration: none;
}

/* Verwijder underline van links in content secties op home pagina */
section a,
article a,
p a,
.content a,
.entry-content a,
.post-content a,
#nieuws a,
.news-card a,
.card-hover a,

/* Verwijder underline van alle link states */
a:hover,
a:focus,
a:visited,
a:active {
    text-decoration: none;
}

/* Specifiek voor content links - verwijder underline */
section a:hover,
section a:focus,
section a:visited,
section a:active,
article a:hover,
article a:focus,
article a:visited,
article a:active,
p a:hover,
p a:focus,
p a:visited,
p a:active {
    text-decoration: none !important;
}

/* Skip to content link voor accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
    border-radius: 0 0 4px 0;
    font-weight: 600;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* Hardware acceleration voor betere prestaties */
.card-hover,
.modern-card,
.speerpunt-card {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}
.text-primary { color: var(--color-primary); }
.bg-primary { background-color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.bg-accent { background-color: var(--color-accent); }

/* Poppins voor de body (geoptimaliseerd voor leesbaarheid) */
body {
    margin: 0;
    font-family: 'poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    color: var(--color-body-text);
}
/* Bree font hiërarchie voor prachtige typografie */
h1 {
    font-family: 'bree', serif;
    font-weight: 800; /* Extrabold voor hoofdtitels */
    color: var(--color-text-dark);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

h2 {
    font-family: 'bree', serif;
    font-weight: 700; /* Bold voor sectietels */
    color: var(--color-text-dark);
    letter-spacing: -0.025em;
    line-height: 1.15;
}

h3 {
    font-family: 'bree', serif;
    font-weight: 700; /* Bold fallback (600 bestaat niet) */
    color: var(--color-text-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h4 {
    font-family: 'bree', serif;
    font-weight: 400; /* Regular (500 bestaat niet voor Bree) */
    color: var(--color-text-dark);
    letter-spacing: -0.015em;
    line-height: 1.25;
}

/* Speciale Bree stijlen voor accenten */

.bree-regular {
    font-family: 'bree', serif;
    font-weight: 400;
    letter-spacing: 0.005em;
}

.bree-semibold {
    font-family: 'bree', serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.bree-bold {
    font-family: 'bree', serif;
    font-weight: 700;
    letter-spacing: -0.015em;
}

/* Professionele Button Styling - Stabiel en Vertrouwenwekkend */
.btn-primary {
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 12px rgba(88, 168, 46, 0.2);
    outline: none;
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #4a9a3f;
    box-shadow: 0 6px 16px rgba(88, 168, 46, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-primary:active {
    transform: translateY(0);
    transition: all 0.15s ease;
}




/* Rustige CTA stijlen */

/* Senior-level kaart hover effecten - subtieler en professioneler */
.card-hover {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Vereenvoudigde transitions voor betere prestaties */
    transform: translateZ(0);
    will-change: transform, box-shadow;
}

.card-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card-hover:hover {
    transform: translateY(-2px); /* Verwijder scale voor betere prestaties */
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.12), 0 4px 8px -4px rgba(0, 0, 0, 0.04);
}

.card-hover:hover::before {
    opacity: 1;
}

.card-hover:active { transform: translateY(-1px); transition: all 0.15s ease; }

/* Senior-level Social Media Icons */
.social-icons a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateZ(0);
    will-change: transform, background-color, box-shadow;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.social-icons a:hover {
    background-color: var(--color-primary);
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 6px 16px rgba(88, 168, 46, 0.32);
}

.social-icons a:hover::before {
    width: 100px;
    height: 100px;
}

.social-icons a svg {
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateZ(0);
}

.social-icons a:hover svg { color: white; transform: scale(1.05); }

/* Senior-level Scroll Animaties */
.fade-in {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-60px) rotateY(15deg);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0) rotateY(0deg);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(60px) rotateY(-15deg);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0) rotateY(0deg);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8) rotateX(10deg);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1) rotateX(0deg);
}

/* Staggered animaties voor kaarten */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Floating animatie voor hero sectie */

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Subtiele pulse animatie voor CTA buttons */

@keyframes pulse-gentle {
    0%, 100% { box-shadow: 0 0 0 0 rgba(88, 168, 46, 0.3); }
    50% { box-shadow: 0 0 0 10px rgba(88, 168, 46, 0); }
}

/* Parallax effect voor achtergronden - UITGESCHAKELD voor betere scroll prestaties */

/* Multi-line Typewriter animatie */

/* ===== HERO SECTIE - VERBETERDE DESIGN ===== */
.hero-section-enhanced {
    padding-top: 140px !important; /* Compensate for fixed header - home pagina */
}

.hero-section {
    padding-top: 180px !important; /* Compensate for fixed header - deelpagina's met extra ruimte */
}

.hero-section-enhanced {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    box-sizing: border-box;
    /* z-index removed - was causing stacking context issues with mobile menu */
}

/* Aanpassing wanneer top bar niet zichtbaar is */
body.no-top-bar .hero-section-enhanced {
    padding-top: 92px !important; /* Smaller padding when no top bar - home pagina */
}

body.no-top-bar .hero-section {
    padding-top: 132px !important; /* Smaller padding when no top bar - deelpagina's met extra ruimte */
}

/* Moderne achtergrond layers - Verbeterd */
.hero-bg-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
	/* background-image is injected dynamically via PHP */
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Geen fixed attachment voor betere scroll prestaties */
    opacity: 0.85;
    filter: brightness(0.5) contrast(1.2) saturate(0.8) blur(3px); /* Verlaagd van 8px naar 3px voor minder blur */
    -webkit-filter: brightness(0.5) contrast(1.2) saturate(0.8) blur(3px);
    will-change: transform; /* Optimaliseer voor GPU rendering */
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    /* Background gradients verwijderd - inline style vanuit PHP overschrijft dit */
    /* Geen default gradients meer om witte glow op hoeken te voorkomen */
    background: transparent;
    z-index: 2;
    /* opacity wordt via inline style bepaald */
}

/* Video Background Support */
.hero-video-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(3px); /* Verlaagd van 8px naar 3px voor minder blur */
    -webkit-filter: blur(3px);
}

.hero-video-bg {
    background: #000; /* Fallback for video loading */
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    /* Witte radial gradients verwijderd om glow effect op hoeken te elimineren */
    background-image: radial-gradient(circle at 50% 50%, rgba(88, 168, 46, 0.008) 0%, transparent 80%),
                      radial-gradient(circle at 70% 30%, rgba(252, 29, 38, 0.005) 0%, transparent 70%);
    opacity: 0.1; /* Verder verlaagd */
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    /* Linear gradients verwijderd om glow effect op hoeken te elimineren */
    background-image: none;
    opacity: 0; /* Volledig transparant gemaakt */
}

/* Content styling - Verbeterde layout */
.hero-content-enhanced {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
    box-sizing: border-box;
    /* Zorg dat container echt gecentreerd is binnen flex parent */
    flex-shrink: 0;
    align-self: center;
    min-height: 100%;
}

.hero-main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    text-align: center;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .hero-main-content {
        gap: 0.75rem;
        padding: 0.5rem 0;
        align-items: center;
        text-align: center;
    }
}

/* Oude hero-inner-enhanced class verwijderd - vervangen door hero-main-content */

/* Badge styling - Glasmorphism effect */
.hero-badge-enhanced {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    backdrop-filter: blur(5px);
    box-shadow: none;
    opacity: 0;
    animation: slideInDown 0.8s ease-out 0.2s forwards;
    transition: all 0.3s ease;
}

.hero-badge-enhanced:hover {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: white;
}

/* Hoofdtitel styling - Verbeterd */
.hero-title-enhanced {
    font-family: 'bree';
    font-size: clamp(2.5rem, 6.5vw, 4.5rem);
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.15;
    opacity: 0;
    animation: titleSlideIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards;
    margin: 0;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0;
    padding-bottom: 0.2em;
    white-space: normal;
    color: white !important;
    display: block;
    text-align: center !important;
    width: 100%;
    box-sizing: border-box;
}

.sdo-hero-badge {
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Hero spacing fine-tuning: tighten badge/title gap */
.hero-section .sdo-hero-badge {
    margin-bottom: 0.35rem !important;
}

.hero-section .sdo-hero-title {
    margin-top: 0 !important;
    margin-bottom: 0.45rem !important;
    padding-top: 10px;
    padding-bottom: 20px;
}

.hero-section .sdo-hero-subtitle {
    margin-top: 0.45rem !important;
}

.home-news-excerpt {
    text-align: justify;
    text-justify: inter-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 2rem;
}

@media (max-width: 767px) {
    .home-news-excerpt {
        text-align: justify !important;
        text-justify: inter-word;
    }
    .speerpunt-description {
        text-align: justify !important;
        text-justify: inter-word;
    }

    /* Buttons on home - consistent sizing/centering */
    .hero-cta-enhanced {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-cta-enhanced a,
    .btn-primary-new,
    .cta-primary-enhanced,
    .cta-secondary-enhanced,
    .cta-green-button,
    #nieuws .text-center a.inline-flex,
    #team .text-center a.inline-flex {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 0.75rem 1.35rem;
        font-size: 0.95rem;
        line-height: 1.2;
    }

    /* Nieuws CTA button sizing/centering on mobile */
    #nieuws .text-center a.inline-flex {
        margin-left: auto;
        margin-right: auto;
        padding: 0.75rem 1.35rem;
    }
}

.home-news-title {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.news-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio (1920x1080) */
    overflow: hidden;
}

.news-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-image-placeholder {
    background: linear-gradient(135deg, #e6f5e0 0%, #f3faf0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-text {
    text-align: justify;
    text-justify: inter-word;
}

.news-readmore-icon {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    color: var(--color-primary);
    transition: transform 0.2s ease, color 0.2s ease, opacity 0.2s ease;
    opacity: 0.9;
    font-size: 0.95rem;
}

.card-hover:hover .news-readmore-icon,
.group:hover .news-readmore-icon {
    transform: translate(2px, -2px);
    color: var(--color-primary);
    opacity: 1;
}

/* Hoofdtitel op 1 regel op desktop, goed verdeeld op mobile */
.hero-title-main {
    display: block;
    color: white;
    white-space: nowrap;
    width: 100%;
    max-width: 100%;
    line-height: 1.2;
    margin: 0;
    margin-bottom: 0.5rem;
    text-align: center !important;
    padding: 0;
    box-sizing: border-box;
}

/* Styling voor de gesplitste titel delen */
.hero-title-part1,
.hero-title-part2,
.hero-title-break-text {
    display: inline;
}

/* Desktop break: na "Voor een sociale" (voor "en") */
.hero-title-break-br-desktop {
    display: none; /* Verberg op mobile */
}

.hero-title-break-br-mobile {
    display: none; /* Verberg op desktop */
}

/* Als tekst te lang is voor container, laat het breken tussen de delen */
@media (max-width: 1500px) {
    .hero-title-main {
        white-space: normal;
    }
    
    /* Desktop: toon break na "Voor een sociale" (voor "en") */
    .hero-title-break-br-desktop {
        display: block;
    }
}

/* Mobile: break na "en" (voor "duurzame gemeente") */
@media (max-width: 768px) {
    .hero-title-break-br-desktop {
        display: none; /* Verberg desktop break op mobile */
    }
    
    .hero-title-break-br-mobile {
        display: block; /* Toon mobile break */
    }
}

/* Wrapper voor roterende tekst */
.hero-title-rotating-wrapper {
    display: block;
    width: 100%;
    min-height: 1.3em;
    margin: 0;
    margin-top: 0.25rem;
    text-align: center !important;
}

/* Handgeschreven font voor roterende tekst */
.handwritten-font {
    font-family: "shantell-sans-variable", sans-serif;
    font-variation-settings: "SPAC" 0, "BNCE" 0, "INFM" 0, "ital" 0, "wght" 300;
    font-size: 0.7em;
    letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
    .hero-title-enhanced {
        font-size: clamp(2rem, 5.5vw, 3.5rem);
        text-align: center;
    }
    
    .hero-title-main {
        white-space: normal;
        line-height: 1.25;
        text-align: center;
    }
    
    .hero-title-rotating-wrapper {
        text-align: center;
    }
    
    .handwritten-font {
        font-size: 0.65em;
    }
}

@media (max-width: 768px) {
    .hero-title-enhanced {
        font-size: clamp(1.75rem, 7vw, 2.75rem);
        line-height: 1.2;
        text-align: center;
    }
    
    .hero-title-main {
        white-space: normal;
        line-height: 1.3;
        text-align: center;
    }
    
    .hero-title-rotating-wrapper {
        text-align: center;
    }
    
    .handwritten-font {
        font-size: 0.6em;
    }
}

.title-highlight-enhanced {
    color: white !important;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
    padding-bottom: 0.1em;
    animation: highlightFadeIn 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s forwards;
    opacity: 0;
    transform: translateY(20px);
    white-space: nowrap;
    text-align: center;
    margin: 0 auto;
    width: 100%;
}

/* Onderstreping weggehaald voor simpelere uitstraling */

/* Subtitle styling - Verbeterd */
.hero-subtitle-enhanced {
    font-size: clamp(1.2rem, 2.8vw, 1.5rem);
    line-height: 1.6;
    max-width: 800px;
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.6s forwards;
    color: #444;
    font-weight: 400;
    margin-bottom: 2rem;
}

/* Highlight kleuren weggehaald - alleen bold styling behouden */

/* Features grid - Vereenvoudigd */









/* CTA styling - Verbeterd */
.hero-cta-enhanced {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.8s forwards;
}

@media (min-width: 640px) {
    .hero-cta-enhanced {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
}

.cta-primary-enhanced {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #fc1d26, #e01920);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 16px rgba(252, 29, 38, 0.25);
    border: 2px solid transparent;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
}

/* Shine effect removed - using standard hover like other buttons */

.cta-primary-enhanced:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #d0171e, #c0151a);
    box-shadow: 0 10px 25px rgba(252, 29, 38, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-secondary-enhanced {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: rgba(255, 255, 255, 0.15);
    color: white !important;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.cta-secondary-enhanced:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: white !important;
}

/* Groene styling voor "onze doelstellingen" knop in hero */
.cta-doelstellingen-green {
    background: linear-gradient(135deg, #58a82e, #4a9225) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
}

.cta-doelstellingen-green:hover {
    background: linear-gradient(135deg, #4a9225, #3d7a1e) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}



/* Scroll indicator - Terug naar originele stijl */
.hero-scroll-indicator-enhanced {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.2s forwards;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    pointer-events: auto;
}

.hero-scroll-indicator-enhanced:hover {
    transform: translateX(-50%) translateY(-3px);
}

.hero-scroll-indicator-enhanced:hover .scroll-arrow {
    animation-duration: 1s;
    transform: translateY(2px);
}


.scroll-arrow {
    animation: bounce 2s infinite;
    transition: all 0.3s ease;
    color: white;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleSlideIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    50% {
        opacity: 0.7;
        transform: translateY(10px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes highlightFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    60% {
        opacity: 0.8;
        transform: translateY(5px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}


/* Hero Overlay - Fixed positioning voor zichtbaarheid */
.hero-overlay {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    pointer-events: none !important;
    /* Background wordt via inline style gezet vanuit PHP */
}

/* Hero section met foto moet relative positioning hebben */
.hero-section.hero-with-photo {
    position: relative;
    overflow: hidden;
}

/* Zorg dat content boven overlay staat */
.hero-section.hero-with-photo .relative {
    position: relative;
    z-index: 2;
}

/* Text color options voor hero secties */
.hero-text-light,
.hero-text-light h1,
.hero-text-light h2,
.hero-text-light h3,
.hero-text-light p,
.hero-text-light span {
    color: white !important;
}

.hero-text-dark,
.hero-text-dark h1,
.hero-text-dark h2,
.hero-text-dark h3,
.hero-text-dark p,
.hero-text-dark span {
    color: #1a1a1a !important;
}

/* Pattern overlays */
.hero-overlay-dots {
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.hero-overlay-stripes {
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.05) 10px,
            rgba(255, 255, 255, 0.05) 20px
        );
}

.hero-overlay-grid {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Bewegende Overlay Animaties */
@keyframes heroGradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes heroPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.6; }
}

@keyframes heroWave {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes heroShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes heroBreathing {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.05); }
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.6; }
    50% { transform: translateY(-20px) translateX(10px); opacity: 0.3; }
}

.hero-overlay-animated-gradient {
    background-size: 200% 200% !important;
    animation: heroGradientFlow 8s ease infinite !important;
}

.hero-overlay-animated-pulse {
    animation: heroPulse 3s ease-in-out infinite !important;
}

.hero-overlay-animated-wave {
    background-size: 200% 200% !important;
    animation: heroWave 10s linear infinite !important;
}

.hero-overlay-animated-shimmer {
    background-size: 200% 100% !important;
    animation: heroShimmer 4s linear infinite !important;
}

.hero-overlay-animated-breathing {
    animation: heroBreathing 4s ease-in-out infinite !important;
}

.hero-overlay-animated-particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle, rgba(255,255,255,0.3) 2px, transparent 2px),
        radial-gradient(circle, rgba(255,255,255,0.2) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px;
    background-position: 0 0, 50px 50px;
    animation: particleFloat 6s ease-in-out infinite;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}


/* Tagline */


/* Hoofdtitel */

/* Carousel Container */





/* Carousel Indicators */
.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #fc1d26;
    transform: scale(1.2);
}

/* Description */


/* CTA Buttons */

@media (min-width: 640px) {
}

.btn-primary-new {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.75rem;
    background: #fc1d26;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 6px 16px rgba(252, 29, 38, 0.25);
    border: 2px solid transparent;
    letter-spacing: 0.01em;
}

.btn-primary-new:hover {
    background: #d0171e;
    box-shadow: 0 8px 20px rgba(252, 29, 38, 0.35);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.1);
}



.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-primary-new:hover .btn-icon {
    transform: translateX(4px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== MODERNE HEADER REDESIGN ===== */
.header-modern {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(88, 168, 46, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}

.header-modern.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

/* Top Bar */
.header-top-bar {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

/* Bredere container voor header op grote schermen */
@media (min-width: 1440px) {
    .header-main .container {
        max-width: 1400px;
        padding: 0 2rem;
    }
}

/* Contact Info Styling */
.header-top-bar a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-top-bar a:hover {
    color: white;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.header-top-bar i {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.header-top-bar a:hover i {
    color: white;
    transform: scale(1.1);
}

/* Social Icons */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Top Bar Responsive Spacing */
@media (max-width: 1024px) {
    .header-top-bar .hidden.md\:flex {
        gap: 1rem;
    }
    
    .header-top-bar a {
        font-size: 0.813rem;
    }
}

/* Main Navigation */
.header-main {
    background: white;
    position: relative;
    overflow: visible; /* Voorkom dat logo wordt afgesneden tijdens laden */
}

/* Header flex container: Logo | Nav | CTA */
.header-main .container > .flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: visible; /* Voorkom dat logo wordt afgesneden tijdens laden */
}

/* Header hoger op desktop */
@media (min-width: 1024px) {
    .header-main {
        min-height: 110px;
    }
    
    .header-main .container > .flex {
        min-height: 110px;
        padding-top: 0;
        padding-bottom: 0;
    }
}

.logo-container {
    flex-shrink: 0;
    overflow: visible; /* Voorkom dat logo wordt afgesneden tijdens laden */
    min-height: 65px; /* Zorg voor minimale hoogte tijdens laden */
    display: flex;
    align-items: center;
    padding: 4px 0; /* Extra padding boven en onder om afsnijding te voorkomen */
}

/* Header CTA (Doneer knop) */
.header-cta {
    flex-shrink: 0;
    display: none; /* Hidden on mobile */
}

.donate-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, #fc1d26 0%, #e01920 100%);
    color: white !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.donate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #e01920 0%, #c0151a 100%);
}

.donate-button i {
    font-size: 0.75rem;
}

.logo-image {
    max-height: 65px; /* Maximale hoogte, maar laat logo volledig zichtbaar */
    height: auto; /* Behoud aspect ratio */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
    margin: 0;
    object-fit: contain; /* Zorg dat logo volledig zichtbaar is zonder afsnijding */
}

.logo-image:hover {
    transform: scale(1.05);
}


/* Navigation Links */
.nav-link {
    position: relative;
    color: #374151;
    font-family: 'poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    white-space: nowrap; /* Prevent text wrapping */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #58a82e 0%, #4a9a3f 100%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #58a82e;
}

.nav-link:hover::after {
    width: 100%;
}

/* Current page styling */
.nav-link.current-page {
    color: #1a1a1a;
}

.nav-link.current-page::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #1a1a1a;
    transition: width 0.3s ease;
}

/* Dropdown */
.dropdown-container {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    color: #374151;
    font-family: 'poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    background: none;
    border: none;
    padding: 0.5rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dropdown-trigger:hover {
    color: #58a82e;
}

.dropdown-trigger:focus-visible {
    outline: 2px solid #58a82e;
    outline-offset: 2px;
    border-radius: 4px;
}

.dropdown-trigger:focus-visible:hover {
    color: #58a82e;
}

.dropdown-icon {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.dropdown-container:hover .dropdown-icon,
.dropdown-container.active .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 280px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                visibility 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10;
    padding: 0.5rem 0;
    border: 1px solid rgba(88, 168, 46, 0.1);
    pointer-events: none;
}

.dropdown-container:hover .dropdown-menu,
.dropdown-container.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: #374151;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s ease,
                color 0.2s ease,
                padding-left 0.2s ease;
}

.dropdown-item i {
    width: 20px;
    margin-right: 0.75rem;
    color: #58a82e;
    font-size: 0.875rem;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #58a82e;
    padding-left: 2rem;
}

.dropdown-item:focus-visible {
    outline: 2px solid #58a82e;
    outline-offset: -2px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #58a82e;
}

.dropdown-item:focus-visible:hover {
    padding-left: 2rem;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #fc1d26 0%, #e01920 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(252, 29, 38, 0.3);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(252, 29, 38, 0.4);
    background: linear-gradient(135deg, #e01920 0%, #c0151a 100%);
}

/* Mobile Menu Button - Transforms to Close Icon */
.header-main .mobile-menu-button {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    gap: 5px;
    z-index: 10001; /* Always above overlay and menu */
    position: relative;
    flex-shrink: 0;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: #1a1a1a; /* Darker for better contrast */
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55),
                opacity 0.2s ease,
                background 0.3s ease;
    transform-origin: center center;
}

.mobile-menu-button:hover .hamburger-line {
    background: #58a82e;
}

/* Active State (Close Icon) */
.mobile-menu-button.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: #1a1a1a;
}

.mobile-menu-button.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-button.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: #1a1a1a;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Lighter overlay */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 9999;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Container */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px; /* Slightly wider for better typography */
    height: 100vh;
    background: white;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10000;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
    scrollbar-color: #e5e7eb transparent;
}

.mobile-menu::-webkit-scrollbar {
    width: 6px;
}

.mobile-menu::-webkit-scrollbar-track {
    background: transparent;
}

.mobile-menu::-webkit-scrollbar-thumb {
    background-color: #e5e7eb;
    border-radius: 20px;
}

.mobile-menu.active {
    right: 0;
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    flex-shrink: 0;
}

.mobile-menu-logo img {
    height: 52px !important; /* Groter logo, fixed size, not affected by scroll state */
    width: auto !important;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.mobile-menu-logo:hover img {
    opacity: 1;
}

/* Mobile Menu Content */
.mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 2rem 3rem;
    display: flex;
    flex-direction: column;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 2.5rem;
}

/* Navigation Links Styling */
.mobile-nav-link {
    display: block;
    padding: 0.5rem 0 0.125rem 0;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem; /* Larger font size */
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-nav-link:hover {
    color: #58a82e;
    padding-left: 5px; /* Subtle movement */
}

/* Selected State (Green Color) */
.mobile-nav-link.current-page {
    color: #58a82e;
    font-weight: 600;
}

/* Remove separator from last menu item */
.mobile-nav > .mobile-nav-link:last-child,
.mobile-nav > .mobile-dropdown-container:last-child {
    border-bottom: none;
}

/* Mobile Dropdown */
.mobile-dropdown-container {
    margin-bottom: 0;
    padding-bottom: 0.375rem;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem 0 0.125rem 0;
    background: transparent;
    border: none;
    color: #374151;
    font-family: 'poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.mobile-dropdown-trigger:hover {
    color: #58a82e;
    padding-left: 5px;
}

.mobile-dropdown-trigger:focus-visible {
    outline: 2px solid #58a82e;
    outline-offset: 2px;
    border-radius: 4px;
    color: #58a82e;
}

.mobile-dropdown-trigger:focus-visible:hover {
    padding-left: 5px;
}

.mobile-dropdown-icon {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
    color: #9ca3af;
}

.mobile-dropdown-container.active .mobile-dropdown-icon {
    transform: rotate(180deg);
    color: #58a82e;
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                margin-top 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                margin-bottom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding-left: 1rem; /* Indent */
    margin-top: 0;
    border-left: 2px solid #f3f4f6; /* Guide line */
}

.mobile-dropdown-content.active {
    max-height: 1000px; /* Enough space */
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.mobile-dropdown-container.active .mobile-dropdown-content {
    max-height: 1000px;
}

.mobile-dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.6rem 0;
    color: #4b5563;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s ease,
                transform 0.2s ease;
}

.mobile-dropdown-item i {
    width: 24px;
    margin-right: 0.5rem;
    color: #9ca3af;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.mobile-dropdown-item:hover {
    color: #58a82e;
    transform: translateX(5px);
}

.mobile-dropdown-item:hover i {
    color: #58a82e;
}

.mobile-dropdown-item:focus-visible {
    outline: 2px solid #58a82e;
    outline-offset: -2px;
    border-radius: 4px;
    color: #58a82e;
}

.mobile-dropdown-item:focus-visible:hover {
    transform: translateX(5px);
}

.mobile-dropdown-item:focus-visible i {
    color: #58a82e;
}

/* Selected state in dropdown */
.mobile-dropdown-item.current-page {
    color: #58a82e;
    font-weight: 600;
}

.mobile-dropdown-item.current-page i {
    color: #58a82e;
}

/* Mobile CTA */
.mobile-cta {
    margin-top: auto;
    padding-top: 1.5rem;
}

.mobile-cta-button {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #fc1d26 0%, #e01920 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px; /* Pill shape */
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(252, 29, 38, 0.2);
}

.mobile-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(252, 29, 38, 0.3);
}

/* Landscape Orientation Support */
@media (max-height: 600px) and (orientation: landscape) {
    .mobile-menu {
        max-width: 100%;
        width: 100%;
    }
    
    .mobile-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .mobile-nav-link, .mobile-dropdown-trigger {
        padding: 0.5rem 0;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .header-main .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}


/* ==========================================================================
   RESPONSIVE NAVIGATION SYSTEM
   Breakpoints: 1024px (tablet/desktop switch) | 1280px (compact/full desktop)
   Mobile: < 1024px | Compact Desktop: 1024-1279px | Full Desktop: >= 1280px
   ========================================================================== */

/* Default (Mobile First): Show hamburger, hide desktop nav */
.header-main .desktop-nav {
    display: none !important;
}

.header-main .mobile-menu-button {
    display: flex !important;
}

.header-top-bar {
    display: none !important;
}

/* Compact Desktop mode: 1024px - 1279px */
@media (min-width: 1024px) and (max-width: 1279px) {
    .header-main .desktop-nav {
        display: flex !important;
        gap: 1.25rem;
    }
    
    .header-main .header-cta {
        display: block !important;
    }
    
    .header-main .mobile-menu-button {
        display: none !important;
    }
    
    .header-top-bar {
        display: block !important;
    }
    
    /* Compact navigation styling */
    .desktop-nav .nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0;
    }
    
    .desktop-nav .dropdown-trigger {
        font-size: 0.8rem;
        padding: 0.4rem 0;
    }
    
    .desktop-nav .dropdown-icon {
        font-size: 0.65rem;
        margin-left: 0.35rem;
    }
    
    /* Smaller logo & donate */
    .logo-image {
        max-height: 55px;
        height: auto;
        width: auto;
        margin: 0;
        object-fit: contain;
    }
    
    .donate-button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* Full Desktop mode: 1280px and above */
@media (min-width: 1280px) {
    .header-main .desktop-nav {
        display: flex !important;
        gap: 1.75rem;
    }
    
    .header-main .header-cta {
        display: block !important;
    }
    
    .header-main .mobile-menu-button {
        display: none !important;
    }
    
    .header-top-bar {
        display: block !important;
    }
    
    /* Full navigation styling */
    .desktop-nav .nav-link {
        font-size: 0.875rem;
    }
    
    .desktop-nav .dropdown-trigger {
        font-size: 0.875rem;
    }
}

/* Extra Large Desktop mode: 1440px and above */
@media (min-width: 1440px) {
    .header-main .desktop-nav {
        gap: 2.25rem;
    }
    
    .desktop-nav .nav-link {
        font-size: 0.95rem;
    }
    
    .desktop-nav .dropdown-trigger {
        font-size: 0.95rem;
    }
}

/* Mobile mode: Below 1024px */
@media (max-width: 1023px) {
    .header-top-bar {
        display: none !important;
    }
    
    .header-modern {
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .header-modern.scrolled {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
    
    .logo-image {
        max-height: 52px !important;
        height: auto !important;
        width: auto !important;
        margin: 0 !important;
        max-width: calc(100vw - 120px); /* Laat ruimte voor hamburger + padding */
        object-fit: contain !important;
    }
    
    .header-main .mobile-menu-button {
        display: flex !important;
    }
    
    .header-main .desktop-nav,
    .header-main .header-cta {
        display: none !important;
    }
    
    .logo-container {
        flex-shrink: 0;
    }
    
    .header-main .mobile-menu-button {
        flex-shrink: 0;
        margin-right: 0;
        min-width: 48px;
    }
    
    .header-main .container {
        padding-left: 1rem;
        padding-right: 1rem; /* Verkleind van 1.5rem naar 1rem zodat hamburger button binnen viewport blijft */
    }
    
    /* Verklein alle buttons op mobile voor betere UX */
    .btn-primary-new,
    
    .cta-green-button {
        padding: 0.25rem 0.875rem !important; /* Verkleind voor compactere mobile buttons */
        font-size: 0.875rem !important;
    }
    
    .donate-button {
        padding: 0.1875rem 0.625rem !important; /* Veel kleiner voor mobile - compacte Doneer knop */
        font-size: 0.75rem !important;
    }
    
    .donate-button i {
        font-size: 0.7rem !important; /* Icoon ook kleiner op mobile */
    }
    
    .mobile-cta-button {
        width: auto !important;
        justify-content: flex-start !important;
        padding: 0.25rem 0.875rem !important;
        font-size: 0.875rem !important;
    }
}

/* Extra small screens logo sizing */
@media (max-width: 480px) {
    .logo-image {
        max-height: 48px;
        height: auto;
        width: auto;
        margin: 0;
        object-fit: contain;
    }
}

/* Verbeterde focus states voor alle interactieve elementen */
a:focus-visible,
button:focus-visible,
.card-hover:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(88, 168, 46, 0.4);
    border-radius: 8px;
}

.btn-primary-new:focus-visible,

/* Skip to content link voor screenreaders */
.skip-link {
    position: absolute;
    top: -100px;
    left: 6px;
    background: var(--color-primary);
    color: white;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: top 0.2s ease, opacity 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
    top: 6px;
    opacity: 1;
    pointer-events: auto;
}

.icon { width: 1em; height: 1em; }
/* Posities voor 3 zichtbare regels (onderste is actief/nieuwste) */
.typewriter-line.pos-1 { /* oudste zichtbaar */
    opacity: 0.25;
    transform: translateY(-24px) scale(0.96);
}
.typewriter-line.pos-2 {
    opacity: 0.6;
    transform: translateY(0px) scale(1.0);
}
.typewriter-line.pos-3 { /* actief */
    opacity: 1;
    transform: translateY(24px) scale(1.02);
}


.typewriter-line.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.typewriter-line.typing {
    opacity: 1;
    transform: translateY(0);
}


@keyframes blink {
    0%, 50% { border-color: #fc1d26; }
    51%, 100% { border-color: transparent; }
}

/* ================================
   DOE-MEE SECTIE KNOPPEN
   ================================ */

/* Maak knoppen smaller en verwijder underline */
#doe-mee .grid > div > a {
    display: inline-block !important;
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    text-decoration: none !important;
}

/* Verwijder underline van alle states */
#doe-mee a:hover,
#doe-mee a:focus,
#doe-mee a:visited,
#doe-mee a:active,
#doe-mee a {
    text-decoration: none !important;
}

/* Responsive typewriter */
@media (max-width: 768px) {
    
}

@media (max-width: 640px) {
    
}

/* Mobile responsive verbeteringen */
@media (max-width: 768px) {
    /* Links uitgelijnde tekst in secties op mobiel */
    section p {
        text-align: left !important;
    }
    
    section .text-center {
        text-align: left !important;
    }
    
    /* Verberg doelstellingen sectie en onderste CTA sectie op mobiel */
    #doelstellingen {
        display: none;
    }
    
    #doe-mee {
        display: none;
    }
    
    /* Verbeterde hero sectie mobile optimalisatie */
    .hero-section-enhanced {
        min-height: 100vh;
        padding: 0;
        margin: 0;
        position: relative;
    }
    
    .hero-content-enhanced {
        gap: 1rem;
        padding: 7rem 1.5rem 2rem 1.5rem;
        justify-content: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    
    
    .hero-main-content {
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .hero-title-enhanced {
        font-size: clamp(2.5rem, 8.5vw, 3.5rem); /* Groter gemaakt: van 2rem naar 2.5rem minimum, van 7vw naar 8.5vw, van 3rem naar 3.5rem maximum */
        line-height: 1.2;
        white-space: normal;
        margin: 0;
        margin-bottom: 0.75rem;
        text-align: left !important; /* Overschrijf !important uit basis CSS */
        letter-spacing: 0;
        color: white;
        width: 100%;
        display: block;
    }
    
    .hero-title-main {
        text-align: left !important; /* Overschrijf !important uit basis CSS */
        white-space: normal;
        width: 100%;
        margin: 0;
    }
    
    .hero-title-rotating-wrapper {
        text-align: left;
        width: 100%;
        margin: 0;
    }
    
    .title-highlight-enhanced {
        font-size: clamp(1.4rem, 5vw, 2rem);
        white-space: nowrap; /* Voorkom line breaks */
        display: block;
        margin-top: 0.25rem;
        line-height: 1.3;
        text-align: left;
        min-height: 1.5em;
        letter-spacing: 0;
        color: white;
        margin: 0;
        width: 100%;
        overflow: visible; /* Geen ellipsis, volledig verbergen via JS */
        text-overflow: clip; /* Geen ellipsis */
        max-width: 100%;
    }
    
    
    .hero-subtitle-enhanced {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
        text-align: left;
    }
    
    .hero-badge-enhanced {
        display: none !important; /* Verberg badge op mobile */
    }
    
    .hero-cta-enhanced {
        flex-direction: row; /* Buttons naast elkaar op mobile */
        gap: 0.5rem; /* Kleinere gap voor naast elkaar */
        width: 100%;
        margin-top: 1rem;
        margin-bottom: 1rem;
        align-items: center;
        justify-content: flex-start; /* Links uitgelijnd zoals de titel */
    }
    
    .cta-primary-enhanced,
    .cta-secondary-enhanced {
        width: auto;
        flex: 0 1 auto; /* Laat buttons hun natuurlijke breedte behouden */
        justify-content: center;
        padding: 0.25rem 0.875rem !important; /* Verkleind voor compactere mobile buttons */
        font-size: 0.875rem !important;
    }
    
    .hero-scroll-indicator-enhanced {
        padding: 0.5rem;
        margin-top: 0;
        bottom: 2.5rem; /* Meer padding vanaf onderkant op mobile */
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    
    
    
    
    /* CTA buttons mobile */
    
    .cta-primary-new,
    
    /* Mobile CTA button ook verkleinen */
    .mobile-cta-button {
        width: auto !important;
        justify-content: flex-start !important;
        padding: 0.25rem 0.875rem !important;
        font-size: 0.875rem !important;
    }
    
    /* Badge mobile */
    .hero-badge {
        padding: 0.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .badge-text {
        font-size: 0.75rem; /* iets kleiner op mobiel */
    }
    
    /* Scroll indicator mobile */
    .hero-scroll-indicator {
        bottom: 1rem;
    }
    
    /* Sectie spacing mobile */
    section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    }
    
    /* Moderne kaarten mobile optimalisatie - Rustiger */
    .modern-card {
        min-height: 200px;
    }
    
    .card-container {
        padding: 2rem 1rem 1rem 1rem;
        border-radius: 16px;
    }
    
    .card-icon {
        width: 56px;
        height: 56px;
        top: -20px;
        left: 1rem;
        font-size: 1.5rem;
    }
    
    .card-content {
        margin-top: 0.75rem;
    }
    
    .card-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .card-description {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
        text-align: justify;
        text-justify: inter-word;
        word-wrap: break-word;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        /* Removed line-clamp to allow full text display */
    }
    
    .card-arrow {
        width: 35px;
        height: 35px;
    }
    
    .card-arrow svg {
        width: 18px;
        height: 18px;
    }
    
    /* Speerpunten mobile optimalisatie */
    .speerpunt-card {
        padding: 1.5rem 1.25rem;
        border-radius: 20px;
    }
    
    .speerpunt-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        margin-bottom: 1.25rem;
    }
    
    .speerpunt-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .speerpunt-number {
        top: 1.25rem;
        right: 1.25rem;
        font-size: 1.25rem;
    }
    
    .speerpunt-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .speerpunt-description {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
    
    /* CTA sectie mobile */
    .grid.grid-cols-1.md\\:grid-cols-3 {
        gap: 1.5rem;
    }
    
    /* Touch-friendly targets */
    a, button, .card-hover {
        min-height: 44px;
        min-width: 44px;
    }
}

@media (max-width: 480px) {
    /* Extra kleine schermen */
    .hero-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .card-hover {
        padding: 1.25rem;
    }
    footer .max-w-7xl > .grid {
        grid-template-columns: 1fr !important;
        gap: 1.75rem;
    }
}

/* ===== MODERNE DOELSTELLINGEN KAARTEN - PREMIUM REDESIGN ===== */
.modern-card {
    position: relative;
    min-height: 280px; /* Changed from fixed height to min-height */
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    border-radius: 28px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .modern-card {
        min-height: 240px; /* Changed from fixed height to min-height */
    }
}

.card-container {
    position: relative;
    height: 100%;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    border-radius: 28px;
    padding: 2rem; /* Reduced from 2.5rem */
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(88, 168, 46, 0.05);
    border: 1px solid rgba(88, 168, 46, 0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-container::before {
    display: none;
}

.card-container::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(88, 168, 46, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

@media (max-width: 768px) {
    .card-container {
        padding: 1.5rem 1.25rem 3rem 1.25rem; /* Reduced bottom padding */
        border-radius: 24px;
    }
}

/* Icon styling - Premium en elegant */
.card-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #58a82e 0%, #4a9a3f 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 2rem;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 10px 25px rgba(88, 168, 46, 0.2),
        0 4px 10px rgba(88, 168, 46, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    font-size: 2rem;
    position: relative;
}

.card-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(88, 168, 46, 0.3) 0%, rgba(78, 154, 63, 0.3) 100%);
    border-radius: 26px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

@media (max-width: 768px) {
    .card-icon {
        width: 64px;
        height: 64px;
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
}

/* Content styling - Premium layout */
.card-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-family: 'bree', serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.25rem;
    text-align: left;
    line-height: 1.2;
    flex-shrink: 0;
    letter-spacing: -0.025em;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .card-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

.card-description {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.7;
    flex-grow: 1;
    text-align: justify;
    text-justify: inter-character;
    margin-bottom: 1.5rem; /* Reduced from 2rem */
    font-weight: 400;
    word-wrap: break-word;
    hyphens: auto;
    transition: transform 0.3s ease, color 0.3s ease;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    /* Removed line-clamp to allow full text display */
}

@media (max-width: 768px) {
    .card-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        text-align: justify;
        text-justify: inter-word;
        word-wrap: break-word;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        /* Removed line-clamp to allow full text display */
    }
}

.card-arrow {
    position: absolute;
    right: 0.75rem; /* Even closer to right edge */
    bottom: 0.5rem; /* Even closer to bottom edge */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px; /* Reduced from 48px */
    height: 36px; /* Reduced from 48px */
    background: rgba(88, 168, 46, 0.08);
    border: 2px solid rgba(88, 168, 46, 0.2);
    border-radius: 50%;
    color: #58a82e;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
    font-size: 0.9rem; /* Reduced from 1.1rem */
    box-shadow: 0 4px 12px rgba(88, 168, 46, 0.08);
    backdrop-filter: blur(4px);
}

@media (max-width: 768px) {
    .card-arrow {
        right: 0.75rem; /* Even closer to right edge on mobile */
        bottom: 0.5rem; /* Even closer to bottom edge on mobile */
        width: 32px; /* Reduced from 42px */
        height: 32px; /* Reduced from 42px */
        font-size: 0.8rem; /* Smaller icon on mobile */
    }
}

/* Hover effecten - Premium en smooth - Geoptimaliseerd voor prestaties */
.modern-card:hover {
    transform: translateY(-4px) !important;
}

.modern-card:hover .card-container {
    box-shadow: 
        0 20px 40px -8px rgba(0, 0, 0, 0.2),
        0 8px 16px -4px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(88, 168, 46, 0.12);
    border-color: rgba(88, 168, 46, 0.2);
}

.modern-card:hover .card-container::before {
    display: none;
}

.modern-card:hover .card-container::after {
    opacity: 0.5;
}

.modern-card:hover .card-icon {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 20px rgba(88, 168, 46, 0.25),
        0 4px 8px rgba(88, 168, 46, 0.1);
}

.modern-card:hover .card-icon::before {
    opacity: 0.5;
}

.modern-card:hover .card-title {
    transform: translateY(-2px);
}

.modern-card:hover .card-description {
    color: #334155;
    transform: translateY(-1px);
}

.modern-card:hover .card-arrow {
    background: linear-gradient(135deg, #58a82e 0%, #4a9a3f 100%);
    color: white;
    transform: translateX(4px);
    box-shadow: 
        0 4px 12px rgba(88, 168, 46, 0.25);
    border-color: #58a82e;
}

/* Horizontal card header layout */
.card-header-horizontal {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-header-horizontal .card-icon {
    flex-shrink: 0;
    margin-bottom: 0;
}

.card-header-horizontal .card-title {
    margin-bottom: 0;
    flex: 1;
}

/* Focus states voor accessibility */
.modern-card:focus-within .card-container {
    outline: 3px solid #58a82e;
    outline-offset: 3px;
}

/* Staggered animations */
.modern-card:nth-child(1) { animation-delay: 0.1s; }
.modern-card:nth-child(2) { animation-delay: 0.2s; }
.modern-card:nth-child(3) { animation-delay: 0.3s; }
.modern-card:nth-child(4) { animation-delay: 0.4s; }
.modern-card:nth-child(5) { animation-delay: 0.5s; }
.modern-card:nth-child(6) { animation-delay: 0.6s; }
.modern-card:nth-child(7) { animation-delay: 0.7s; }
.modern-card:nth-child(8) { animation-delay: 0.8s; }
.modern-card:nth-child(9) { animation-delay: 0.9s; }


/* Missie sectie card styling - minder ruimte tussen titel en subtitel */
#missie .card-hover {
    padding: 1.5rem !important;
    border-width: 1px;
}

#missie .card-hover h3 {
    margin-bottom: 0.25rem !important;
}

#missie .card-hover p.text-accent,
#missie .card-hover p.text-primary {
    margin-top: 0 !important;
}

#missie .card-hover > div.flex {
    margin-bottom: 1rem !important;
}

#missie .card-hover p.text-gray-700 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Missie sectie - originele slide-in animatie voor desktop en mobiel */
#missie .slide-in-left,
#missie .slide-in-right {
    opacity: 0;
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

#missie .slide-in-left {
    transform: translateX(-60px) rotateY(15deg);
}

#missie .slide-in-left.visible {
    opacity: 1;
    transform: translateX(0) rotateY(0deg);
}

#missie .slide-in-right {
    transform: translateX(60px) rotateY(-15deg);
}

#missie .slide-in-right.visible {
    opacity: 1;
    transform: translateX(0) rotateY(0deg);
}

/* Verbeterde hover effecten voor missie sectie cards */
#missie .card-hover {
    transition-property: transform, box-shadow, border-color, background;
    transition-duration: 0.22s;
    transition-timing-function: ease-out;
    will-change: transform, box-shadow, border-color, background;
    backface-visibility: hidden;
}

#missie .card-hover:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.14), 0 4px 10px -5px rgba(0, 0, 0, 0.08) !important;
}

/* Subtiele icon animatie bij hover */
#missie .card-hover:hover .fa-heart,
#missie .card-hover:hover .fa-seedling {
    transform: scale(1.08) rotate(2deg);
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#missie .card-hover .fa-heart,
#missie .card-hover .fa-seedling {
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}

/* Verbeterde icon container hover effect */
#missie .card-hover:hover .w-16 {
    transform: scale(1.05);
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#missie .card-hover .w-16 {
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Subtiele background gradient shift bij hover - voor rood accent card */
#missie .card-hover[class*="border-accent"]:hover {
    background: linear-gradient(135deg, #ffffff 0%, rgba(252, 29, 38, 0.08) 100%) !important;
}

/* Subtiele background gradient shift bij hover - voor groen accent card */
#missie .card-hover[class*="border-primary"]:hover {
    background: linear-gradient(135deg, #ffffff 0%, rgba(88, 168, 46, 0.08) 100%) !important;
}

/* ===== COMPACTE DOELSTELLINGEN KAARTEN ===== */








/* Hover effects for compact cards */





/* Responsive adjustments for compact cards */
@media (max-width: 768px) {
    
    
    
    
    
}

/* ===== SPEERPUNTEN KAARTEN - DESIGNER'S REDESIGN ===== */
/* Grid container voor speerpunten - zorgt voor gelijke hoogte */
#speerpunten .grid {
    align-items: stretch;
}

.speerpunt-card {
    position: relative;
    background: white;
    border-radius: 24px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.speerpunt-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.speerpunt-icon svg {
    width: 28px;
    height: 28px;
}

.speerpunt-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: 'bree', serif;
    font-size: 1.5rem;
    font-weight: 800;
    opacity: 0.05;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.speerpunt-title {
    font-family: 'bree', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.speerpunt-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 0 1 auto;
    text-align: justify;
    text-justify: inter-word;
}

.speerpunt-cta {
    margin-top: auto;
    flex-shrink: 0;
}

.speerpunt-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: #58a82e;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.speerpunt-link:hover {
    color: #4a9a3f;
    transform: translateX(3px);
}

.speerpunt-link svg {
    transition: transform 0.3s ease;
}

.speerpunt-link:hover svg {
    transform: translateX(3px);
}

/* Unieke styling per speerpunt */
.speerpunt-wonen .speerpunt-icon {
    background: rgba(88, 168, 46, 0.1);
    color: #58a82e;
}

.speerpunt-wonen:hover .speerpunt-icon {
    background: rgba(88, 168, 46, 0.15);
}

.speerpunt-klimaat .speerpunt-icon {
    background: rgba(243, 156, 18, 0.1);
    color: #f39c12;
}

.speerpunt-klimaat:hover .speerpunt-icon {
    background: rgba(243, 156, 18, 0.15);
}

.speerpunt-zorg .speerpunt-icon {
    background: rgba(252, 29, 38, 0.1);
    color: #fc1d26;
}

.speerpunt-zorg:hover .speerpunt-icon {
    background: rgba(252, 29, 38, 0.15);
}

/* Hover effecten voor kaarten */
.speerpunt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.12), 0 4px 8px -2px rgba(0, 0, 0, 0.08);
}

.speerpunt-card:hover .speerpunt-number {
    opacity: 0.03;
}

/* Staggered animations voor speerpunten */
.speerpunt-card:nth-child(1) { 
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease-out 0.2s forwards;
}

.speerpunt-card:nth-child(2) { 
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease-out 0.4s forwards;
}

.speerpunt-card:nth-child(3) { 
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease-out 0.6s forwards;
}

/* Extra rustige stijlen en betere sectie spacing */

@media (min-width: 768px) {
}

/* Verbeterde sectie spacing voor hele website */
section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

@media (min-width: 768px) {
    section {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }
}

/* Groene CTA sectie styling */
.cta-green-section {
    background: linear-gradient(135deg, #58a82e 0%, #4a9a3f 100%);
}

/* CTA1 horizontale card layout */
.cta1-horizontal-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    /* Standaard: ingedrukt (was hover) */
    transform: translateY(0) scale(0.998);
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.15);
}

/* Scroll animatie voor CTA1 card */
.cta1-horizontal-card.fade-in {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
}

.cta1-horizontal-card.fade-in.visible {
    opacity: 1;
    transform: translateY(0) scale(0.998);
}

/* Hover animatie: popped out met schaduw (was normale state) */
.cta1-horizontal-card:hover {
    transform: translateY(-8px) scale(1.002);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.2);
}

.cta1-horizontal-card.fade-in.visible:hover {
    transform: translateY(-8px) scale(1.002);
}

.cta1-icon-wrapper {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta1-icon-wrapper i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Icon animatie - standaard normaal (was hover) */
.cta1-horizontal-card .cta1-icon-wrapper {
    transform: scale(1) rotate(0deg);
}

.cta1-horizontal-card .cta1-icon-wrapper i {
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.cta1-horizontal-card:hover .cta1-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.cta1-horizontal-card:hover .cta1-icon-wrapper i {
    color: rgba(255, 255, 255, 1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.cta1-content {
    flex: 1;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta1-content h2 {
    line-height: 1.2;
    margin-bottom: 1rem;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta1-content p {
    line-height: 1.6;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Content animatie - standaard gecentreerd (was hover), hover naar rechts */
.cta1-horizontal-card .cta1-content {
    transform: translateX(0);
}

.cta1-horizontal-card .cta1-content h2 {
    transform: translateX(0);
}

.cta1-horizontal-card .cta1-content p {
    transform: translateX(0);
}

.cta1-horizontal-card:hover .cta1-content {
    transform: translateX(8px);
}

.cta1-horizontal-card:hover .cta1-content h2 {
    transform: translateX(4px);
}

.cta1-horizontal-card:hover .cta1-content p {
    transform: translateX(4px);
}

.cta1-button-wrapper {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

@media (min-width: 1024px) {
    .cta1-horizontal-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 3rem;
        padding: 3.5rem 4rem;
    }
    
    .cta1-icon-wrapper {
        margin-right: 1rem;
    }
    
    .cta1-icon-wrapper i {
        font-size: 5rem;
    }
    
    .cta1-content {
        max-width: none;
        text-align: left;
    }
    
    .cta1-button-wrapper {
        flex-shrink: 0;
    }
}

@media (max-width: 1023px) {
    .cta1-horizontal-card {
        text-align: center;
        padding: 2.5rem 2rem;
    }
    
    .cta1-icon-wrapper {
        margin-bottom: 0.5rem;
    }
    
    .cta1-icon-wrapper i {
        font-size: 3.5rem;
    }
    
    .cta1-button-wrapper {
        justify-content: center;
    }
}

/* Achtergrond tinten voor secties */
.bg-primary\/5 {
    background-color: rgba(88, 168, 46, 0.05);
}

.bg-accent\/5 {
    background-color: rgba(252, 29, 38, 0.05);
}

.cta-green-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    background-color: #1a1a1a;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 2px solid transparent;
}

.cta-green-button:hover {
    background-color: #2d2d2d;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

/* CTA1 knop styling - Klassiek & Passend */
#cta1 .cta-green-button {
    padding: 0.75rem 2rem !important;
    font-size: 1rem !important;
    white-space: nowrap;
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    border-radius: 50px;
    box-shadow: none !important;
    backdrop-filter: none !important;
    transition: all 0.3s ease;
}

#cta1 .cta-green-button:hover {
    background-color: #ffffff !important;
    color: #4a9a3f !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

#cta1 .cta-green-button svg {
    transition: transform 0.3s ease;
}

#cta1 .cta-green-button:hover svg {
    transform: translateX(4px);
}

/* Button wrapper animatie - standaard gecentreerd (was hover), hover naar links */
.cta1-button-wrapper {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(0);
}

.cta1-horizontal-card:hover .cta1-button-wrapper {
    transform: translateX(-4px);
}

@media (max-width: 1023px) {
    #cta1 .cta-green-button {
        width: 100%;
        max-width: 320px;
    }
}



/* Hero sectie heeft andere spacing */
.hero-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .hero-section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

/* ==========================================================================
   CLUBCOLLECT IFRAME STYLING
   ========================================================================== */

.clubcollect-container {
    position: relative;
    min-height: 3000px;
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .clubcollect-container {
        margin: 0 -1rem;
        border-radius: 0;
    }
}

/* ========================================
   Instagram Feed Custom Styling
   Minimal styling - let plugin handle most styling
   ======================================== */

/* Sectie titels: geen margin-top */
section h2,
section .text-center h2 {
    margin-top: 0 !important;
}

/* Instagram sectie tekstkleuren: omgedraaid - witte tekst wordt zwart, zwarte tekst wordt wit */
/* Achtergrond wordt via de Section Backgrounds instellingen inline gezet. */
#instagram {
    color: white;
    --insta-follow-bg: transparent;
    --insta-follow-text: #ffffff;
    --insta-follow-border: #ffffff;
    --insta-follow-hover-bg: #ffffff;
    --insta-follow-hover-text: #4a9a3f;
    --insta-load-bg: #ffffff;
    --insta-load-text: #4a9a3f;
    --insta-load-border: #ffffff;
    --insta-load-hover-bg: #ffffff;
    --insta-load-hover-text: #4a9a3f;
}

#instagram h2,
#instagram h3,
#instagram h4,
#instagram .text-dark {
    color: white !important;
}

#instagram p,
#instagram .text-gray-600 {
    color: white !important;
}

/* Badge en andere spans */
#instagram > div span,
#instagram .text-center span {
    color: white !important;
}

/* Groene tekst (VOLG ONS badge en Instagram handle) wordt zwart */
#instagram .text-primary,
#instagram span.text-primary,
#instagram a.text-primary {
    color: #1A1A1A !important;
}

#instagram a.text-primary:hover {
    color: rgba(26, 26, 26, 0.8) !important;
}

/* Overige links wit maken */
#instagram a:not(.text-primary) {
    color: white !important;
}

#instagram a:not(.text-primary):hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Main Instagram feed container */
.instagram-feed-container {
    max-width: 100%;
    margin: 0 auto;
}

/* Afgeronde hoeken voor Instagram items (theme style) */
#sb_instagram .sbi_item {
    border-radius: 20px !important;
    overflow: hidden !important;
    transition: transform 0.4s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

/* Hover vergroten */
#sb_instagram .sbi_item:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
}

/* Afgeronde hoeken voor foto's */
#sb_instagram .sbi_photo {
    border-radius: 20px !important;
    overflow: hidden !important;
}

/* Button container - meer afstand van feed */
#sb_instagram #sbi_load {
    margin-top: 3rem !important;
    padding: 0 !important;
}

/* Instagram knoppen: zelfde stijl als CTA1 */
/* "Volg ons op Instagram" knop - zelfde als CTA1 (transparant met witte border) */
#sb_instagram .sbi_follow_btn a {
    padding: 0.75rem 2rem !important;
    font-size: 1rem !important;
    white-space: nowrap;
    background-color: var(--insta-follow-bg, transparent) !important;
    color: var(--insta-follow-text, #ffffff) !important;
    border: 2px solid var(--insta-follow-border, #ffffff) !important;
    border-radius: 50px !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    transition: all 0.3s ease !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Tekstkleuren binnen de "Volg ons op Instagram" knop - wit */
#sb_instagram .sbi_follow_btn a,
#sb_instagram .sbi_follow_btn a *,
#sb_instagram .sbi_follow_btn a span {
    color: var(--insta-follow-text, #ffffff) !important;
}

#sb_instagram .sbi_follow_btn a:hover {
    background-color: var(--insta-follow-hover-bg, #ffffff) !important;
    color: var(--insta-follow-hover-text, #4a9a3f) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Hover tekstkleur wordt groen */
#sb_instagram .sbi_follow_btn a:hover,
#sb_instagram .sbi_follow_btn a:hover *,
#sb_instagram .sbi_follow_btn a:hover span {
    color: var(--insta-follow-hover-text, #4a9a3f) !important;
}

/* "Laad meer" knop - zelfde als CTA1 hover state (witte achtergrond met groene tekst) */
#sb_instagram .sbi_load_btn {
    padding: 0.75rem 2rem !important;
    font-size: 1rem !important;
    white-space: nowrap;
    background-color: var(--insta-load-bg, #ffffff) !important;
    color: var(--insta-load-text, #4a9a3f) !important;
    border: 2px solid var(--insta-load-border, #ffffff) !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

/* Tekstkleuren binnen de "Laad meer" knop */
#sb_instagram .sbi_load_btn,
#sb_instagram .sbi_load_btn *,
#sb_instagram .sbi_load_btn .sbi_btn_text,
#sb_instagram .sbi_load_btn span {
    color: var(--insta-load-text, #4a9a3f) !important;
}

#sb_instagram .sbi_load_btn:hover {
    background-color: var(--insta-load-hover-bg, var(--insta-load-bg, #ffffff)) !important;
    color: var(--insta-load-hover-text, var(--insta-load-text, #4a9a3f)) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

/* Hover tekstkleur blijft groen */
#sb_instagram .sbi_load_btn:hover,
#sb_instagram .sbi_load_btn:hover *,
#sb_instagram .sbi_load_btn:hover .sbi_btn_text,
#sb_instagram .sbi_load_btn:hover span {
    color: var(--insta-load-hover-text, var(--insta-load-text, #4a9a3f)) !important;
}

/* ================================
   FOOTER LOGO
   ================================ */

.footer-logo {
    height: 60px;
    width: auto;
    /* Geen filter meer nodig - logo_footer.png heeft al transparante witte delen */
}

/* ================================
   FOOTER LISTS - Remove bullets
   ================================ */

footer ul {
    list-style: none;
    padding-left: 0;
}

footer li {
    list-style: none;
}

/* Footer grid custom column widths */
.footer-grid-custom {
    grid-template-columns: 1fr !important;
}

@media (min-width: 768px) {
    .footer-grid-custom {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (min-width: 1024px) {
    .footer-grid-custom {
        grid-template-columns: 1fr 0.60fr 1.4fr 1fr !important;
    }
}

/* Footer laatste berichten links */
footer ul.text-gray-300 a,
footer ul.text-gray-300 li a {
    color: white !important;
}

footer ul.text-gray-300 a:hover,
footer ul.text-gray-300 li a:hover {
    color: var(--color-primary) !important;
}

.footer-latest-posts a:hover {
    color: var(--color-primary) !important;
}

footer ul.text-gray-300 a:visited,
footer ul.text-gray-300 a:active,
footer ul.text-gray-300 a:focus,
footer ul.text-gray-300 li a:visited,
footer ul.text-gray-300 li a:active,
footer ul.text-gray-300 li a:focus {
    color: white !important;
}

/* Force hover color ook voor visited/focus states */
footer ul.text-gray-300 a:hover,
footer ul.text-gray-300 li a:hover,
footer ul.text-gray-300 a:visited:hover,
footer ul.text-gray-300 li a:visited:hover,
footer ul.text-gray-300 a:focus:hover,
footer ul.text-gray-300 li a:focus:hover {
    color: var(--color-primary) !important;
}

/* ================================
   FOOTER MOBILE STYLING
   ================================ */

@media (max-width: 768px) {
    /* Grotere tekst in footer op mobiel */
    footer h4 {
        font-size: 1.1rem !important;
    }
    
    footer p, footer li {
        font-size: 0.95rem !important;
    }
    
    /* Minder afstand tussen handige links op mobiel */
    .footer-handy-links li {
        margin-bottom: 0.25rem !important;
    }
    
    /* Newsletter e-mailveld niet te breed op mobiel */
    footer .wpcf7 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    footer .wpcf7-form {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    footer .wpcf7 input[type="email"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    footer .wpcf7 input[type="submit"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Footer handige links - iconen altijd groen */
.footer-handy-links a i {
    color: var(--color-primary) !important;
}

/* Footer handige links hover effect - tekst en iconen groen */
.footer-handy-links a:hover {
    color: var(--color-primary) !important;
}

.footer-handy-links a:hover i {
    color: var(--color-primary) !important;
}

/* Footer laatste berichten hover effect - tekst groen bij hover */
.footer-latest-posts a:hover {
    color: var(--color-primary) !important;
}

/* ================================
   FOOTER SOCIAL ICONS
   ================================ */

.footer-social-icons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-social-icon:hover {
    color: #58a82e;
    transform: translateY(-2px);
}

/* ================================
   NEWSLETTER FORM STYLING
   ================================ */

/* Newsletter form in footer and media pages */
footer .wpcf7,
.newsletter-signup .wpcf7 {
    margin: 0 !important;
}

/* Newsletter form wrapper */
footer .wpcf7-form,
.newsletter-signup .wpcf7-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
}

/* Newsletter email input */
footer .wpcf7 input[type="email"],
.newsletter-signup .wpcf7 input[type="email"] {
    width: 100% !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem !important;
    border: 1px solid #d1d5db !important;
    color: #1f2937 !important;
    font-family: 'poppins', sans-serif !important;
    font-size: 0.875rem !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

footer .wpcf7 input[type="email"]:focus,
.newsletter-signup .wpcf7 input[type="email"]:focus {
    outline: none !important;
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 3px rgba(88, 168, 46, 0.1) !important;
}

/* Newsletter submit button */
footer .wpcf7 input[type="submit"],
.newsletter-signup .wpcf7 input[type="submit"] {
    width: 100% !important;
    padding: 0.5rem 1rem !important;
    background-color: var(--color-accent) !important;
    color: white !important;
    border: none !important;
    border-radius: 0.5rem !important;
    font-family: 'poppins', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

footer .wpcf7 input[type="submit"]:hover,
.newsletter-signup .wpcf7 input[type="submit"]:hover {
    background-color: #dc1a22 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(252, 29, 38, 0.2) !important;
}

footer .wpcf7 input[type="submit"]:active,
.newsletter-signup .wpcf7 input[type="submit"]:active {
    transform: translateY(0) !important;
}

/* Newsletter validation messages */
footer .wpcf7-not-valid-tip,
.newsletter-signup .wpcf7-not-valid-tip {
    color: var(--color-accent) !important;
    font-size: 0.75rem !important;
    margin-top: 0.25rem !important;
    font-family: 'poppins', sans-serif !important;
}

/* Newsletter response messages */
footer .wpcf7-response-output,
.newsletter-signup .wpcf7-response-output {
    margin: 0.5rem 0 0 0 !important;
    padding: 0.5rem !important;
    border-radius: 0.375rem !important;
    font-size: 0.875rem !important;
    font-family: 'poppins', sans-serif !important;
}

footer .wpcf7-mail-sent-ok,
.newsletter-signup .wpcf7-mail-sent-ok {
    background-color: rgba(88, 168, 46, 0.1) !important;
    border: 1px solid var(--color-primary) !important;
    color: #1f2937 !important;
}

footer .wpcf7-validation-errors,
footer .wpcf7-mail-sent-ng,
.newsletter-signup .wpcf7-validation-errors,
.newsletter-signup .wpcf7-mail-sent-ng {
    background-color: rgba(252, 29, 38, 0.1) !important;
    border: 1px solid var(--color-accent) !important;
    color: #1f2937 !important;
}

/* Newsletter spinner */
footer .wpcf7-spinner,
.newsletter-signup .wpcf7-spinner {
    position: absolute !important;
    right: 1rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* In-content newsletter forms (zoals op In de Media pagina) */
.newsletter-signup .wpcf7-form {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.75rem !important;
    align-items: stretch !important;
}

.newsletter-signup .wpcf7 input[type="email"] {
    flex: 1 !important;
    padding: 0.75rem 1rem !important;
    border: 1px solid #d1d5db !important;
    border-radius: 0.375rem !important;
    background: #ffffff !important;
    font-size: 0.875rem !important;
    color: #1f2937 !important;
    transition: border-color 0.2s ease !important;
}

.newsletter-signup .wpcf7 input[type="email"]:focus {
    outline: none !important;
    border-color: var(--color-primary) !important;
}

.newsletter-signup .wpcf7 input[type="email"]::placeholder {
    color: #9ca3af !important;
}

.newsletter-signup .wpcf7 input[type="submit"] {
    width: auto !important;
    padding: 0.75rem 1.5rem !important;
    white-space: nowrap !important;
    background: var(--color-accent) !important;
    border: none !important;
    border-radius: 0.375rem !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}

.newsletter-signup .wpcf7 input[type="submit"]:hover {
    background: #dc1a22 !important;
}

/* Responsive aanpassingen voor newsletter formulieren */
@media (max-width: 640px) {
    .newsletter-signup .wpcf7-form {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    .newsletter-signup .wpcf7 input[type="submit"] {
        width: 100% !important;
    }
}

/* Hide CF7 default validation styles that conflict */
footer .wpcf7 input.wpcf7-not-valid,
.newsletter-signup .wpcf7 input.wpcf7-not-valid {
    border-color: var(--color-accent) !important;
}

/* Ensure proper spacing */
footer .wpcf7-form p,
.newsletter-signup .wpcf7-form p {
    margin: 0 !important;
}

/* ==========================================================================
   TEAM CARDS - REDESIGN MET GROTE FOTO'S
   ========================================================================== */

/* Team Card Container */
.team-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateZ(0);
    will-change: transform, box-shadow;
}

/* Large Photo Section */
.team-card-photo-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.team-card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1);
}

/* Gradient overlay op foto voor depth */
.team-card-photo-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Content Section - Minimalist */
.team-card-content {
    padding: 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Member Name - Groot en Bold */
.team-member-name {
    font-family: 'bree', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

/* Role Text Container - Horizontaal naast elkaar */
.team-role-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    justify-content: center;
    align-items: center;
}

/* Role Text Styling - Subtiel en Grijs */
.team-role-badge {
    display: inline-block;
    padding: 0.35rem 0.875rem;
    background: transparent;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Read More Button */
.team-read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, #4a9a3f 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 12px rgba(88, 168, 46, 0.2);
    margin-top: 0.5rem;
}

.team-read-more-btn i {
    transition: transform 0.3s ease;
}

/* Hover Effects */
.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px -12px rgba(0, 0, 0, 0.2),
        0 4px 8px -4px rgba(0, 0, 0, 0.08);
}

.team-card:hover .team-card-photo {
    transform: scale(1.05);
}

.team-card:hover .team-card-photo-container::after {
    opacity: 1;
}

.team-card:hover .team-member-name {
    color: var(--color-primary);
}

.team-card:hover .team-role-badge {
    border-color: #cbd5e1;
    color: #475569;
    background: #f8fafc;
}

.team-card:hover .team-read-more-btn {
    background: linear-gradient(135deg, #4a9a3f 0%, #58a82e 100%);
    box-shadow: 0 8px 20px rgba(88, 168, 46, 0.3);
    transform: translateY(-2px);
}

.team-card:hover .team-read-more-btn i {
    transform: translateX(3px);
}

/* Focus State voor Accessibility */
.team-card:focus-within {
    outline: 3px solid rgba(88, 168, 46, 0.4);
    outline-offset: 3px;
}

.team-read-more-btn:focus {
    outline: 3px solid rgba(88, 168, 46, 0.5);
    outline-offset: 2px;
}

/* Modal Details Styling */
.team-modal-details-section {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(88, 168, 46, 0.05) 0%, rgba(88, 168, 46, 0.02) 100%);
    border-radius: 12px;
    border: 1px solid rgba(88, 168, 46, 0.1);
}

.team-modal-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: #475569;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(88, 168, 46, 0.08);
}

.team-modal-detail-item:last-child {
    border-bottom: none;
}

.team-modal-detail-item i {
    color: var(--color-primary);
    font-size: 1.1rem;
    width: 24px;
    flex-shrink: 0;
}

.team-modal-detail-item span {
    flex: 1;
    text-align: left;
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-card-photo-container {
        height: 350px;
    }
    
    .team-card-content {
        padding: 1.5rem 1rem;
        gap: 0.75rem;
    }
    
    .team-member-name {
        font-size: 1.5rem;
    }
    
    .team-role-badge {
        font-size: 0.875rem;
    }
    
    .team-read-more-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }
    
    /* Hover effects minder prominent op mobile */
    .team-card:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 480px) {
    .team-card-photo-container {
        height: 300px;
    }
    
    .team-card-content {
        padding: 1.25rem 0.875rem;
    }
    
    .team-member-name {
        font-size: 1.35rem;
    }
    
    .team-role-container {
        gap: 0.25rem;
    }
    
    .team-role-badge {
        font-size: 0.85rem;
    }
}

/* Staggered Animations voor Card Grid */
.team-card:nth-child(1) { animation-delay: 0.1s; }
.team-card:nth-child(2) { animation-delay: 0.2s; }
.team-card:nth-child(3) { animation-delay: 0.3s; }
.team-card:nth-child(4) { animation-delay: 0.4s; }
.team-card:nth-child(5) { animation-delay: 0.5s; }
.team-card:nth-child(6) { animation-delay: 0.6s; }

/* ==========================================================================
   OPRICHTER FOTO - GROOT EN ROND
   ========================================================================== */

.founder-photo {
    width: 200px;
    height: 200px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.founder-photo:hover {
    transform: scale(1.05);
}

/* Responsive voor oprichter foto */
@media (max-width: 768px) {
    .founder-photo {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 480px) {
    .founder-photo {
        width: 140px;
        height: 140px;
    }
}

/* ==========================================================================
   HOMEPAGE TEAM CARDS - COMPACTE VARIANT
   ========================================================================== */

/* Homepage Team Card Container */
.team-card-home {
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateZ(0);
    will-change: transform, box-shadow;
}

/* Compact Photo Section - Grote foto voor homepage */
.team-card-home-photo-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.team-card-home-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1);
}

/* Gradient overlay op foto */
.team-card-home-photo-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Content Section - Extra Compact */
.team-card-home-content {
    padding: 1.25rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

/* Member Name - Compact */
.team-member-home-name {
    font-family: 'bree', serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

/* Role Text - Simple */
.team-role-home-text {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 400;
    margin: 0;
    transition: color 0.3s ease;
}

/* Hover Effects - Homepage Variant */
.team-card-home:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 16px 32px -10px rgba(0, 0, 0, 0.18),
        0 4px 8px -4px rgba(0, 0, 0, 0.08);
}

.team-card-home:hover .team-card-home-photo {
    transform: scale(1.05);
}

.team-card-home:hover .team-card-home-photo-container::after {
    opacity: 1;
}

.team-card-home:hover .team-member-home-name {
    color: var(--color-primary);
}

.team-card-home:hover .team-role-home-text {
    color: #475569;
}

/* Focus State */
.team-card-home:focus-within {
    outline: 3px solid rgba(88, 168, 46, 0.4);
    outline-offset: 3px;
}

/* Responsive Design - Homepage Variant */
@media (max-width: 768px) {
    .team-card-home-photo-container {
        height: 260px;
    }
    
    .team-card-home-content {
        padding: 1rem 0.875rem;
        gap: 0.375rem;
    }
    
    .team-member-home-name {
        font-size: 1rem;
    }
    
    .team-role-home-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .team-card-home-photo-container {
        height: 240px;
    }
    
    .team-card-home-content {
        padding: 0.875rem 0.75rem;
    }
    
    .team-member-home-name {
        font-size: 0.95rem;
    }
    
    .team-role-home-text {
        font-size: 0.75rem;
    }
}

/* ===================================
   Hero Photo Background Styling
   =================================== */

/* Hero with photo background */

/* Hero photo background layer */
.hero-photo-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Hero photo overlay layer */
.hero-photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* Ensure hero content stays on top */

/* For doelstelling pages - ensure gradient effects stay visible */

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-photo-bg {
        background-attachment: scroll;
    }
}

/* ===================================
   Section Background Textures & Patterns
   =================================== */

/* Texture: Paper */

/* Texture: Fabric */

/* Texture: Noise */

/* Texture: Dots */

/* Texture: Lines */

/* Texture: Grid */

/* Pattern: Diagonal */

/* Pattern: Waves */

/* Pattern: Dots */

/* Pattern: Grid */

/* Image Background Overlay */
.sdo-bg-image {
    position: relative;
    overflow: hidden;
}

/* Blurred background image using ::before pseudo-element */
.sdo-bg-image-blur {
    position: relative;
    overflow: hidden;
}

.sdo-bg-image-blur::before {
    content: '';
    position: absolute;
    top: calc(var(--image-blur, 0px) * -1);
    left: calc(var(--image-blur, 0px) * -1);
    right: calc(var(--image-blur, 0px) * -1);
    bottom: calc(var(--image-blur, 0px) * -1);
    width: calc(100% + var(--image-blur, 0px) * 2);
    height: calc(100% + var(--image-blur, 0px) * 2);
    background-image: var(--image-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(var(--image-blur, 0px));
    -webkit-filter: blur(var(--image-blur, 0px));
    z-index: 0;
}

.sdo-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0; /* Lower z-index to prevent stacking context conflicts with mobile menu */
    pointer-events: none;
}
