/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap');

/* Skip Link - hidden until focused via keyboard */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 10000;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
    width: auto;
    height: auto;
    overflow: visible;
    background: var(--bg-dark);
    color: var(--accent-primary);
    padding: 8px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    text-decoration: none;
    border: 2px solid var(--accent-primary);
}

.nowrap {
    white-space: nowrap;
}

/* CSS Variables / Design Tokens */
:root {
    /* Actual Elementor Colors */
    --raisin-black: #242124;
    --rajah: #F6B24B;
    --ivory: #FFFFF0;
    --verdigris: #40A8A0;

    /* Semantic naming */
    --bg-dark: #242124;
    --accent-primary: #F6B24B;
    --text-light: #FFFFFF;
    --accent-secondary: #40A8A0;

    /* Typography */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    /* Legacy colors (kept for other pages) */
    --contrast: #222222;
    --contrast-2: #575760;
    --contrast-3: #b2b2be;
    --base: #f0f0f0;
    --base-2: #f7f8f9;
    --base-3: #ffffff;
    --accent: #1e73be;
    --top-bar-bg: #636363;
    --button-default: #55555e;
    --button-hover: #3f4047;

    /* Breakpoint Design Tokens */
    --breakpoint-xs: 375px;   /* Small mobile */
    --breakpoint-sm: 640px;   /* Mobile */
    --breakpoint-md: 768px;   /* Tablet portrait */
    --breakpoint-lg: 1024px;  /* Tablet landscape */
    --breakpoint-xl: 1280px;  /* Desktop */
    --breakpoint-2xl: 1440px; /* Large desktop */

    /* Container widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1440px;

    --font-small: 13px;
    --font-medium: 20px;
    --font-large: 36px;
    --font-xlarge: 42px;

    --spacing-20: 0.44rem;
    --spacing-30: 0.67rem;
    --spacing-40: 1rem;
    --spacing-50: 1.5rem;
    --spacing-60: 2.25rem;
    --spacing-70: 3.38rem;
    --spacing-80: 5.06rem;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--contrast);
    background-color: var(--base-3);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Focus Indicators for Accessibility */
a, button, input, textarea, select {
    outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Subtle section entrance animations */
@keyframes section-fade-up {
    from {
        opacity: 0;
        transform: translate3d(0, 14px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes section-fade-down {
    from {
        opacity: 0;
        transform: translate3d(0, -10px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes section-fade-left {
    from {
        opacity: 0;
        transform: translate3d(-14px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes section-fade-right {
    from {
        opacity: 0;
        transform: translate3d(14px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes section-fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 16px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d99a3e;
}

html {
    scrollbar-color: var(--accent-primary) var(--bg-dark);
    scrollbar-width: auto;
}

@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 8px;
    }

    html {
        scrollbar-width: thin;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--accent-primary);
    color: var(--contrast);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: background 0.3s, transform 0.2s;
}

.back-to-top.visible {
    display: flex;
}

.back-to-top:hover {
    background: #e5a33a;
    transform: scale(1.08);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
}

h2 {
    font-size: 35px;
}

.grid-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px;
}

@media (max-width: 768px) {
    .grid-container {
        padding: 30px;
    }
}

/* Header & Navigation */
#header {
    position: sticky;
    top: 0;
    z-index: 999;
}

.site-header {
    background-color: var(--bg-dark);
}

.main-navigation {
    background-color: var(--bg-dark);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-identity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo img {
    height: 50px;
}

.site-branding {
    text-decoration: none;
}

.site-branding h2 {
    font-family: var(--font-heading);
    color: var(--accent-primary);
    font-size: 20px;
    text-transform: uppercase;
    margin: 0;
}

.main-nav {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: var(--base-3);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle:focus-visible {
    outline: none;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
}

.main-nav li a {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 400;
    color: var(--base-3);
    text-decoration: none;
    padding: 15px;
    line-height: 16px;
    transition: opacity 0.3s;
    border-top: 3px solid transparent;
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
}

.main-nav li a:hover {
    opacity: 0.8;
}

.main-nav li a.active {
    color: var(--accent-primary);
    border-top-color: var(--accent-primary);
}

/* Dropdown Navigation */
.main-nav li.has-dropdown {
    position: relative;
}

.main-nav li.has-dropdown > a::after {
    content: ' \f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 12px;
    margin-left: 4px;
}

.main-nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-dark);
    list-style: none;
    min-width: 180px;
    padding: 0;
    z-index: 1000;
    border-top: 2px solid var(--accent-primary);
}

.main-nav li.has-dropdown:hover .dropdown-menu {
    display: block;
}

.main-nav .dropdown-menu li {
    display: block;
}

.main-nav .dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    border-top: none;
    white-space: nowrap;
}

.main-nav .dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    opacity: 1;
    color: var(--accent-primary);
}

/* Hero Header (Home Page Only) */
#header-home {
    position: relative;
    z-index: 1;
}

.hero-header {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    background: url('../images/home-hero-background.jpg') center center / cover no-repeat;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-header > * {
    position: relative;
    z-index: 2;
}

.hero-header .main-navigation {
    background-color: transparent;
}

/* Hero Content (Slider + Welcome) */
.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 40px;
    gap: 40px;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    position: relative;
}

/* Slider Area (Left Side) */
.slider-area {
    flex: 0 0 55%;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 380px;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 60px 40px 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.slide-subtitle {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    color: var(--accent-primary);
    margin-bottom: 8px;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: 35px;
    font-weight: 400;
    color: var(--ivory);
    text-transform: uppercase;
    margin-bottom: 18px;
}

.slide-desc {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    color: var(--ivory);
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 560px;
}

.slide-btn {
    display: inline-block;
    width: fit-content;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--contrast);
    background: var(--accent-primary);
    padding: 13px 37px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    letter-spacing: 0.5px;
}

.slide-btn:hover {
    background: #e5a33a;
}

/* Slider Arrows */
.slider-arrows {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 10;
}

.slider-prev,
.slider-next {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: var(--accent-primary);
    color: var(--contrast);
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.2s;
}

.slider-prev:hover,
.slider-next:hover {
    background: #e5a33a;
    transform: scale(1.08);
}

/* Welcome Area (Right Side) */
.welcome-area {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hero-logo {
    width: 260px;
    height: auto;
    margin-bottom: 10px;
}

.welcome-label {
    font-family: var(--font-heading);
    font-size: 35px;
    font-weight: 400;
    color: var(--accent-primary);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.welcome-company {
    font-family: var(--font-heading);
    font-size: 35px;
    font-weight: 400;
    color: var(--ivory);
    text-transform: uppercase;
    margin-bottom: 15px;
    line-height: 1.2;
}

.welcome-tagline {
    font-family: var(--font-heading);
    font-size: 35px;
    font-weight: 400;
    color: var(--accent-primary);
    text-transform: uppercase;
}

/* Bounce Scroll Arrow */
.bounce-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--accent-primary);
    color: var(--contrast);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    text-decoration: none;
    z-index: 10;
    animation: bounce 2s infinite;
    transition: background 0.3s;
}

.bounce-arrow:hover {
    background: #e5a33a;
}

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

/* Services Section */
.services {
    padding: 4rem 0;
    background-color: var(--base-2);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 40px;
}

.service-card {
    background: var(--base-3);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.service-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--contrast-2);
    margin-bottom: 1rem;
}

/* Features Section */
.features {
    padding: 4rem 0;
}

.features h2 {
    text-align: center;
    font-size: var(--font-large);
    margin-bottom: 3rem;
    color: var(--contrast);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 40px;
}

.feature-list article h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.feature-list article p {
    color: var(--contrast-2);
}

/* CTA Section */
.cta {
    background-color: var(--accent);
    color: var(--base-3);
    text-align: center;
    padding: 4rem 2rem;
}

.cta h2 {
    font-size: var(--font-large);
    margin-bottom: 1rem;
}

.cta p {
    font-size: var(--font-medium);
    margin-bottom: 2rem;
}

.button {
    display: inline-block;
    background-color: var(--button-default);
    color: var(--base-3);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: var(--button-hover);
}

/* Footer */
.site-footer {
    background-color: #000000;
    color: var(--base-3);
    text-align: center;
    padding: 2rem;
    font-family: var(--font-heading);
    font-size: 17px;
    line-height: 25.5px;
}

.site-footer a {
    color: var(--accent-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    line-height: 25.5px;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* Page Content */
.page-content {
    max-width: 1140px;
    margin: 0 auto;
    padding: 3rem 40px;
}

.page-title {
    font-size: var(--font-xlarge);
    margin-bottom: 2rem;
    color: var(--contrast);
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    color: var(--accent);
    font-size: var(--font-large);
    margin-bottom: 1rem;
}

.content-section h3 {
    color: var(--contrast);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.content-section p {
    color: var(--contrast-2);
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Over Ons Page - Dark Theme */
body.over-ons-page {
    background-color: var(--bg-dark);
}

.over-ons-page .page-content {
    background-color: var(--bg-dark);
    padding-left: 10px;
    padding-right: 10px;
}

.over-ons-page .page-title {
    color: var(--accent-primary);
    text-transform: uppercase;
    font-size: 35px;
    line-height: 35px;
    margin-bottom: 0;
    padding-top: 0;
    position: relative;
}

.over-ons-page .page-title::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: -20px;
    width: 80px;
    height: 3px;
    background-color: var(--accent-primary);
}

.over-ons-page .content-section h2 {
    color: var(--accent-primary);
    text-transform: uppercase;
    font-size: 35px;
    line-height: 35px;
    margin-bottom: 20px;
    position: relative;
    padding-top: 0;
}

.over-ons-page .content-section h2::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: -20px;
    width: 60px;
    height: 3px;
    background-color: var(--accent-primary);
}

.over-ons-page .centered-section {
    text-align: center;
}

.over-ons-page .centered-section h2 {
    display: inline-block;
}

.over-ons-page .centered-section h2::before {
    left: 50%;
    transform: translateX(-50%);
}

.over-ons-page .centered-section p {
    text-align: left;
}

.over-ons-page .content-section p {
    color: var(--ivory);
    line-height: 25.5px;
    margin-bottom: 25.5px;
    font-size: 17px;
}

.over-ons-page .content-section {
    margin-bottom: 95px;
}

.over-ons-page .page-title + .content-section {
    margin-top: 50px;
}

.over-ons-page .page-title + .content-section h2 {
    text-transform: none;
}

/* Two-column layout for Missie/Visie */
.over-ons-page .two-column-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 95px;
}

.over-ons-page .two-column-section .content-section {
    margin-bottom: 0;
}

/* Diensten Page - Dark Theme */
body.diensten-page {
    background-color: var(--bg-dark);
}

.diensten-page .page-content {
    background-color: var(--bg-dark);
    padding-left: 10px;
    padding-right: 10px;
}

.diensten-page .page-title {
    color: var(--accent-primary);
    text-transform: uppercase;
    font-size: 35px;
    line-height: 35px;
    margin-bottom: 0;
    padding-top: 0;
    position: relative;
}

.diensten-page .page-title::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: -20px;
    width: 80px;
    height: 3px;
    background-color: var(--accent-primary);
}

.diensten-page .content-section h2 {
    color: var(--accent-primary);
    text-transform: uppercase;
    font-size: 35px;
    line-height: 35px;
    margin-bottom: 20px;
    position: relative;
    padding-top: 0;
}

.diensten-page .content-section h2::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: -20px;
    width: 50px;
    height: 3px;
    background-color: var(--accent-primary);
}

.diensten-page .content-section p {
    color: var(--text-light);
    line-height: 25.5px;
    margin-bottom: 25.5px;
    font-size: 17px;
}

.diensten-page .content-section {
    margin-bottom: 95px;
}

.diensten-page .page-title + .content-section {
    margin-top: 50px;
}

/* Contact Page - Dark Theme */
body.contact-page {
    background-color: var(--bg-dark);
}

.contact-page .page-content {
    background-color: var(--bg-dark);
    padding-left: 10px;
    padding-right: 10px;
}

.contact-page .page-title {
    color: var(--accent-primary);
    text-transform: uppercase;
    font-size: 35px;
    line-height: 35px;
    margin-bottom: 0;
    padding-top: 0;
    position: relative;
}

.contact-page .page-title::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: -20px;
    width: 80px;
    height: 3px;
    background-color: var(--accent-primary);
}

.contact-page .contact-top {
    display: grid;
    grid-template-columns: 740px 360px;
    gap: 20px;
    margin-top: 0;
    margin-bottom: 25px;
}

.contact-page .contact-main h3,
.contact-page .contact-hours h3 {
    color: var(--ivory);
    text-transform: none;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 29px;
    line-height: 29px;
    margin-bottom: 15px;
}

.contact-page .contact-form {
    background-color: transparent;
    border: none;
    padding: 0;
}

.contact-page .contact-form .form-row {
    display: flex;
    gap: 10px;
}

.contact-page .contact-form .form-row input {
    flex: 1;
}

.contact-page .contact-form input,
.contact-page .contact-form textarea {
    background-color: var(--ivory);
    border: 1px solid var(--base);
    color: var(--contrast);
    padding: 4px 10px;
    margin-bottom: 10px;
    width: 100%;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 17px;
    line-height: 25.5px;
}

.contact-page .contact-form textarea {
    height: 100px;
}

.contact-page .contact-form input::placeholder,
.contact-page .contact-form textarea::placeholder {
    color: rgba(34, 34, 34, 0.5);
}

.contact-page .contact-form button {
    background-color: var(--accent-primary);
    color: #000000;
    padding: 11px 20px;
    border: 1px solid rgba(0, 0, 0, 0);
    cursor: pointer;
    text-transform: none;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 400;
    line-height: 25.5px;
    width: 100%;
}

.contact-page .contact-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-page .contact-logo img {
    width: 220px;
    height: auto;
}

.contact-page .contact-hours {
    width: 740px;
    margin-bottom: 25px;
}

.contact-page .hours-list {
    display: grid;
    row-gap: 0;
}

.contact-page .hours-row {
    display: flex;
    justify-content: space-between;
    color: var(--ivory);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 25.5px;
}

.contact-page .contact-map {
    margin-bottom: 35px;
}

.contact-page .contact-map iframe {
    width: 100%;
    height: 300px;
    border: 0;
}

.contact-page .contact-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 45px;
}

.contact-page .detail-card h2 {
    color: var(--accent-primary);
    text-transform: uppercase;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 35px;
    line-height: 35px;
    margin: 0;
    position: relative;
}

.contact-page .detail-card h2::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: -20px;
    width: 60px;
    height: 3px;
    background-color: var(--accent-primary);
}

.contact-page .detail-card ul {
    list-style: none;
    margin: 35px 0 0;
    padding: 0;
}

.contact-page .detail-card li {
    color: var(--ivory);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 25.5px;
    margin-bottom: 8px;
}

.contact-page .detail-card a {
    color: var(--ivory);
    text-decoration: none;
}

.contact-page .contact-form button:hover {
    opacity: 0.9;
}

/* Nieuws Page - Dark Theme */
body.nieuws-page {
    background-color: var(--bg-dark);
}

.nieuws-page .page-content {
    background-color: var(--bg-dark);
    padding-left: 10px;
    padding-right: 10px;
}

.nieuws-page .page-title {
    color: var(--accent-primary);
    text-transform: uppercase;
    font-size: 35px;
    line-height: 35px;
    margin-bottom: 0;
    padding-top: 0;
    position: relative;
}

.nieuws-page .page-title::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: -20px;
    width: 80px;
    height: 3px;
    background-color: var(--accent-primary);
}

.nieuws-page .news-grid {
    padding: 0 10px 3rem;
}

.nieuws-page .news-card {
    background-color: transparent;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.nieuws-page .news-card > a:last-child {
    margin-top: auto;
}

.nieuws-page .news-card h3 {
    color: var(--accent-primary);
    text-transform: none;
    margin-bottom: 30px;
    font-size: 29px;
    line-height: 34.8px;
}

.nieuws-page .news-card h3 a {
    color: inherit;
    text-decoration: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.nieuws-page .news-card h3 a:hover {
    text-decoration: underline;
}

.nieuws-page .news-card .date {
    color: rgb(219, 215, 210);
    opacity: 1;
    font-size: 17px;
    line-height: 25.5px;
    margin-bottom: 30px;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.nieuws-page .news-card p {
    color: var(--ivory);
    line-height: 25.5px;
    margin-bottom: 30px;
}

.nieuws-page .news-card a {
    display: inline-block;
    color: var(--accent-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 400;
    line-height: 25.5px;
    margin-bottom: 30px;
}

.nieuws-page .news-card a:hover {
    text-decoration: underline;
}

/* Article Pages - Dark Theme */
body.article-page {
    background-color: var(--bg-dark);
}

.article-page .article-header {
    background-color: var(--bg-dark);
    max-width: 1140px;
    margin: 0 auto;
    padding: 60px 10px 20px;
}

.article-page .article-title-link {
    text-decoration: none;
    color: inherit;
}

.article-page .article-title-link:hover {
    opacity: 0.9;
}

.article-page .article-title {
    color: var(--accent-primary);
    text-transform: uppercase;
    font-size: 35px;
    line-height: 35px;
    margin-bottom: 20px;
    position: relative;
    padding-top: 0;
}

.article-page .article-title::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: -20px;
    width: 80px;
    height: 3px;
    background-color: var(--accent-primary);
}

.article-page .article-meta {
    color: var(--accent-primary);
    opacity: 1;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 17px;
    line-height: 25.5px;
    margin: 0 0 20px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.article-page .article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-page .article-meta i {
    color: var(--accent-primary);
}

.article-page .article-content {
    background-color: var(--bg-dark);
    max-width: 1140px;
    padding: 0 10px;
}

.article-page .article-content p {
    color: var(--text-light);
    line-height: 25.5px;
    margin-bottom: 25.5px;
}

.article-page .article-content h3 {
    color: var(--accent-primary);
    text-transform: none;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-top: 1rem;
}

.article-page .article-content h3::before {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-primary);
    margin-bottom: 1rem;
}

.article-page .article-content ul {
    margin-bottom: 1.5rem;
    margin-left: 2rem;
}

.article-page .article-content li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 25.5px;
}

/* Home Page Sections (excluding hero) - Dark Theme */
.home-page .services {
    background-color: var(--bg-dark);
    padding: 60px 0 40px;
}

.home-page .services-grid {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.home-page .service-card {
    background-color: transparent;
    border: 1px solid var(--accent-primary);
    padding: 30px;
    flex: 0 0 550px;
    scroll-snap-align: start;
}

.home-page .service-card h4 {
    color: var(--ivory);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 25.5px;
    margin-bottom: 10px;
}

.home-page .service-card h3 {
    color: var(--text-light);
    text-transform: none;
    font-size: 35px;
    line-height: 42px;
    margin-bottom: 10px;
    position: relative;
    padding-top: 18px;
}

.home-page .service-card h3::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-primary);
}

.home-page .service-card p {
    color: var(--ivory);
    line-height: 25.5px;
    margin-bottom: 25.5px;
}

.home-page .service-card .details {
    color: var(--ivory);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 25.5px;
}

.home-page .features {
    background-color: #ffffff;
    padding: 20px 0;
}

.home-page .features h1 {
    color: var(--contrast);
    text-transform: uppercase;
    font-size: 42px;
    line-height: 42px;
    margin: 0 auto 35px;
    text-align: center;
    padding: 20px 10px 0;
    max-width: 1140px;
}

.home-page .features h1::before {
    display: none;
}

.home-page .feature-list {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.home-page .feature-list article {
    text-align: center;
}

.home-page .feature-list article .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #000000;
    margin-bottom: 20px;
}

.home-page .feature-list article .feature-icon i {
    color: var(--accent-primary);
    font-size: 50px;
}

.home-page .feature-list article h3 {
    color: var(--contrast);
    text-transform: none;
    font-size: 29px;
    line-height: 34.8px;
    margin-bottom: 20px;
    text-align: center;
}

.home-page .feature-list article h3::before {
    display: none;
}

.home-page .feature-list article p {
    color: var(--contrast);
    line-height: 25.5px;
    text-align: center;
}

/* CTA Home Section */
.home-page .cta-home {
    background-color: var(--bg-dark);
    text-align: center;
    padding: 80px 0;
}

.home-page .cta-home h2 {
    color: var(--accent-primary);
    text-transform: uppercase;
    font-size: 35px;
    line-height: 35px;
    margin-bottom: 20px;
}

.home-page .cta-home .cta-button {
    display: inline-block;
    background-color: var(--accent-primary);
    color: #000000;
    padding: 12px 24px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    border-radius: 0;
}

.home-page .cta-home .cta-button:hover {
    opacity: 0.9;
}

/* Page-level entrance animation mapping */
.home-page .services .service-card,
.home-page .features h1,
.home-page .features .feature-list article,
.home-page .cta-home h2,
.home-page .cta-home .cta-button,
.over-ons-page .page-title,
.over-ons-page .page-content > .content-section.centered-section,
.over-ons-page .two-column-section .content-section,
.diensten-page .page-title,
.diensten-page .page-content > .content-section,
.nieuws-page .page-title,
.nieuws-page .news-card,
.contact-page .page-title,
.contact-page .contact-top .contact-main,
.contact-page .contact-top .contact-logo,
.contact-page .contact-hours,
.contact-page .contact-map,
.contact-page .contact-details .detail-card,
.article-page .article-header,
.article-page .article-meta span,
.article-page .article-content {
    opacity: 0;
    animation-duration: 480ms;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    animation-fill-mode: forwards;
}

/* Home */
.home-page .services .service-card {
    animation-name: section-fade-up;
}

.home-page .services .service-card:nth-child(1) { animation-delay: 40ms; }
.home-page .services .service-card:nth-child(2) { animation-delay: 130ms; }
.home-page .services .service-card:nth-child(3) { animation-delay: 220ms; }
.home-page .services .service-card:nth-child(4) { animation-delay: 310ms; }

.home-page .features h1 {
    animation-name: section-fade;
    animation-duration: 420ms;
    animation-delay: 40ms;
}

.home-page .features .feature-list article {
    animation-name: section-fade-up;
}

.home-page .features .feature-list article:nth-child(1) { animation-delay: 80ms; }
.home-page .features .feature-list article:nth-child(2) { animation-delay: 170ms; }
.home-page .features .feature-list article:nth-child(3) { animation-delay: 260ms; }

.home-page .cta-home h2 {
    animation-name: section-fade-up;
    animation-delay: 60ms;
}

.home-page .cta-home .cta-button {
    animation-name: section-fade-up;
    animation-delay: 160ms;
}

/* Over Ons */
.over-ons-page .page-title {
    animation-name: section-fade-down;
    animation-duration: 440ms;
    animation-delay: 40ms;
}

.over-ons-page .page-content > .content-section.centered-section:first-of-type {
    animation-name: section-fade-up;
    animation-duration: 500ms;
    animation-delay: 90ms;
}

.over-ons-page .two-column-section .content-section:first-child {
    animation-name: section-fade-left;
    animation-duration: 500ms;
    animation-delay: 140ms;
}

.over-ons-page .two-column-section .content-section:last-child {
    animation-name: section-fade-right;
    animation-duration: 500ms;
    animation-delay: 190ms;
}

.over-ons-page .page-content > .content-section.centered-section:not(:first-of-type) {
    animation-name: section-fade-up;
    animation-duration: 500ms;
    animation-delay: 230ms;
}

/* Diensten */
.diensten-page .page-title {
    animation-name: section-fade-down;
    animation-duration: 440ms;
    animation-delay: 40ms;
}

.diensten-page .page-content > .content-section {
    animation-name: section-fade-up;
    animation-duration: 500ms;
}

.diensten-page .page-content > .content-section:nth-of-type(1) { animation-delay: 70ms; }
.diensten-page .page-content > .content-section:nth-of-type(2) { animation-delay: 150ms; }
.diensten-page .page-content > .content-section:nth-of-type(3) { animation-delay: 230ms; }
.diensten-page .page-content > .content-section:nth-of-type(4) { animation-delay: 310ms; }
.diensten-page .page-content > .content-section:nth-of-type(5) { animation-delay: 390ms; }
.diensten-page .page-content > .content-section:nth-of-type(6) { animation-delay: 470ms; }
.diensten-page .page-content > .content-section:nth-of-type(7) { animation-delay: 550ms; }
.diensten-page .page-content > .content-section:nth-of-type(8) { animation-delay: 630ms; }

/* Nieuws */
.nieuws-page .page-title {
    animation-name: section-fade-down;
    animation-duration: 440ms;
    animation-delay: 40ms;
}

.nieuws-page .news-card {
    animation-name: section-fade-up;
    animation-duration: 500ms;
}

.nieuws-page .news-card:nth-child(1) { animation-delay: 80ms; }
.nieuws-page .news-card:nth-child(2) { animation-delay: 170ms; }
.nieuws-page .news-card:nth-child(3) { animation-delay: 260ms; }

/* Contact */
.contact-page .page-title {
    animation-name: section-fade-down;
    animation-duration: 440ms;
    animation-delay: 40ms;
}

.contact-page .contact-top .contact-main {
    animation-name: section-fade-right;
    animation-duration: 500ms;
    animation-delay: 80ms;
}

.contact-page .contact-top .contact-logo {
    animation-name: section-fade-left;
    animation-duration: 500ms;
    animation-delay: 120ms;
}

.contact-page .contact-hours {
    animation-name: section-fade-up;
    animation-delay: 170ms;
}

.contact-page .contact-map {
    animation-name: section-fade-up;
    animation-duration: 520ms;
    animation-delay: 220ms;
}

.contact-page .contact-details .detail-card {
    animation-name: section-fade-up;
    animation-duration: 500ms;
}

.contact-page .contact-details .detail-card:nth-child(1) { animation-delay: 260ms; }
.contact-page .contact-details .detail-card:nth-child(2) { animation-delay: 340ms; }
.contact-page .contact-details .detail-card:nth-child(3) { animation-delay: 420ms; }

/* Articles */
.article-page .article-header {
    animation-name: section-fade-down;
    animation-duration: 460ms;
    animation-delay: 40ms;
}

.article-page .article-meta span {
    animation-name: section-fade;
    animation-duration: 380ms;
}

.article-page .article-meta span:nth-child(1) { animation-delay: 80ms; }
.article-page .article-meta span:nth-child(2) { animation-delay: 150ms; }
.article-page .article-meta span:nth-child(3) { animation-delay: 220ms; }

.article-page .article-content {
    animation-name: section-fade-up;
    animation-duration: 500ms;
    animation-delay: 120ms;
}

@media (prefers-reduced-motion: reduce) {
    .home-page .services .service-card,
    .home-page .features h1,
    .home-page .features .feature-list article,
    .home-page .cta-home h2,
    .home-page .cta-home .cta-button,
    .over-ons-page .page-title,
    .over-ons-page .page-content > .content-section.centered-section,
    .over-ons-page .two-column-section .content-section,
    .diensten-page .page-title,
    .diensten-page .page-content > .content-section,
    .nieuws-page .page-title,
    .nieuws-page .news-card,
    .contact-page .page-title,
    .contact-page .contact-top .contact-main,
    .contact-page .contact-top .contact-logo,
    .contact-page .contact-hours,
    .contact-page .contact-map,
    .contact-page .contact-details .detail-card,
    .article-page .article-header,
    .article-page .article-meta span,
    .article-page .article-content {
        opacity: 1;
        animation: none;
    }
}

/* Article Styles */
.article-header {
    text-align: center;
    padding: 3rem 0;
    background-color: var(--base-2);
}

.article-title {
    font-size: var(--font-xlarge);
    margin-bottom: 1rem;
}

.article-meta {
    color: var(--contrast-3);
    font-size: var(--font-small);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 40px;
}

.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.article-content h3 {
    color: var(--accent);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content ul {
    margin-bottom: 1.5rem;
    margin-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    color: var(--contrast-2);
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1140px;
    margin: 0 auto;
    padding: 3rem 40px;
}

.news-card {
    background: var(--base-3);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 2rem;
}

.news-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.news-card .date {
    color: var(--contrast-3);
    font-size: var(--font-small);
    margin-bottom: 1rem;
}

.news-card p {
    color: var(--contrast-2);
    margin-bottom: 1rem;
}

.news-card a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

/* Contact Page */
.contact-info {
    background-color: var(--base-2);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.contact-info h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: var(--contrast-2);
}

.contact-form {
    background: var(--base-3);
    padding: 2rem;
    border-radius: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid var(--contrast-3);
    border-radius: 4px;
}

.contact-form button {
    background-color: var(--accent);
    color: var(--base-3);
    padding: 1rem 2rem;
    border: none;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s;
}

.contact-form button:hover {
    opacity: 0.9;
}

/* ===== Ons Team Page - Dark Theme ===== */
body.ons-team-page {
    background-color: var(--bg-dark);
}

.ons-team-page .page-content {
    background-color: var(--bg-dark);
    padding-left: 10px;
    padding-right: 10px;
}

.ons-team-page .page-title {
    color: var(--accent-primary);
    text-transform: uppercase;
    font-size: 35px;
    line-height: 35px;
    margin-bottom: 0;
    padding-top: 0;
    position: relative;
}

.ons-team-page .page-title::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: -20px;
    width: 80px;
    height: 3px;
    background-color: var(--accent-primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.team-card {
    text-align: center;
}

.team-card .team-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin: 0 auto 20px;
    display: block;
    background-color: #ccc;
}

.team-card .team-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 400;
    color: var(--accent-primary);
    margin-bottom: 5px;
}

.team-card .team-role {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--ivory);
    margin-bottom: 15px;
}

.team-card .team-divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent-primary);
    margin: 0 auto 15px;
}

.team-card .team-desc {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--ivory);
    line-height: 1.6;
    margin-bottom: 15px;
}

.team-card .team-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.team-card .team-socials a {
    color: var(--ivory);
    font-size: 16px;
    transition: color 0.3s;
}

.team-card .team-socials a:hover {
    color: var(--accent-primary);
}

/* ===== Onze Klanten Page - Dark Theme ===== */
body.onze-klanten-page {
    background-color: var(--bg-dark);
}

.onze-klanten-page .page-content {
    background-color: var(--bg-dark);
    padding-left: 10px;
    padding-right: 10px;
}

.onze-klanten-page .page-title {
    color: var(--accent-primary);
    text-transform: uppercase;
    font-size: 35px;
    line-height: 35px;
    margin-bottom: 0;
    padding-top: 0;
    position: relative;
}

.onze-klanten-page .page-title::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: -20px;
    width: 80px;
    height: 3px;
    background-color: var(--accent-primary);
}

.clients-carousel {
    position: relative;
    margin-top: 50px;
    overflow: hidden;
}

.clients-track {
    display: flex;
    transition: transform 0.5s ease;
}

.client-slide {
    flex: 0 0 calc(100% / 3);
    padding: 0 5px;
    box-sizing: border-box;
}

.client-slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    background-color: #ccc;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-primary);
    color: var(--contrast);
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s, transform 0.2s;
}

.carousel-arrow:hover {
    background: #e5a33a;
    transform: translateY(-50%) scale(1.08);
}

.carousel-arrow.prev {
    left: 10px;
}

.carousel-arrow.next {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    padding: 0;
}

.carousel-dot.active {
    background-color: var(--accent-primary);
}

/* ===== Vacatures Page - Dark Theme ===== */
body.vacatures-page {
    background-color: var(--bg-dark);
}

.vacatures-page .page-content {
    background-color: var(--bg-dark);
    padding-left: 10px;
    padding-right: 10px;
}

.vacatures-page .page-title {
    color: var(--accent-primary);
    text-transform: uppercase;
    font-size: 35px;
    line-height: 35px;
    margin-bottom: 0;
    padding-top: 0;
    position: relative;
}

.vacatures-page .page-title::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: -20px;
    width: 80px;
    height: 3px;
    background-color: var(--accent-primary);
}

/* Download Table */
.download-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    margin-bottom: 40px;
}

.download-table thead th {
    background-color: var(--accent-primary);
    color: #000;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 12px 15px;
    text-align: left;
}

.download-table tbody td {
    color: var(--ivory);
    font-family: var(--font-body);
    font-size: 15px;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.download-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.download-table .download-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.download-table .download-link:hover {
    text-decoration: underline;
}

.download-table td:nth-child(3),
.download-table th:nth-child(3) {
    text-align: center;
}

.download-table th:nth-child(4),
.download-table td:nth-child(4) {
    text-align: center;
}

/* Application Form */
.application-form {
    margin-top: 30px;
}

.application-form .form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.application-form input,
.application-form select,
.application-form textarea {
    background-color: var(--ivory);
    border: 1px solid var(--base);
    border-radius: 4px;
    color: var(--contrast);
    padding: 4px 10px;
    width: 100%;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 17px;
    line-height: 25.5px;
}

.application-form input::placeholder,
.application-form textarea::placeholder,
.application-form select::placeholder {
    color: rgba(34, 34, 34, 0.5);
}

.application-form input,
.application-form select {
    margin-bottom: 10px;
}

.application-form select {
    appearance: auto;
}

.application-form textarea {
    height: 100px;
    resize: vertical;
    margin-bottom: 10px;
}

.application-form .form-single {
    margin-bottom: 0;
}

/* CV Upload Area */
.cv-upload-section {
    margin-top: 25px;
    margin-bottom: 25px;
}

.cv-upload-section h3 {
    color: var(--ivory);
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cv-dropzone {
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
    position: relative;
}

.cv-dropzone:hover,
.cv-dropzone.dragover {
    border-color: var(--accent-primary);
    background: rgba(246, 178, 75, 0.05);
}

.cv-dropzone .drop-title {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--ivory);
    margin-bottom: 5px;
}

.cv-dropzone .drop-or {
    color: var(--ivory);
    font-size: 14px;
    margin-bottom: 5px;
}

.cv-dropzone .drop-browse {
    color: var(--accent-primary);
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
}

.cv-dropzone .drop-count {
    position: absolute;
    bottom: 8px;
    right: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

.cv-dropzone input[type="file"] {
    display: none;
}

.cv-file-list {
    margin-top: 10px;
}

.cv-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    margin-bottom: 5px;
    color: var(--ivory);
    font-size: 14px;
}

.cv-file-item .remove-file {
    color: #ff5555;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 16px;
}

/* Submit Button */
.application-form .submit-btn {
    background-color: var(--accent-primary);
    color: #000000;
    padding: 11px 20px;
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 9999px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 400;
    line-height: 25.5px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.3s;
}

.application-form .submit-btn:hover {
    opacity: 0.9;
}

/* ===== Entrance Animations for New Pages ===== */
.ons-team-page .page-title,
.ons-team-page .team-card,
.onze-klanten-page .page-title,
.onze-klanten-page .clients-carousel,
.vacatures-page .page-title,
.vacatures-page .download-table,
.vacatures-page .application-form {
    opacity: 0;
    animation-duration: 480ms;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    animation-fill-mode: forwards;
}

.ons-team-page .page-title {
    animation-name: section-fade-down;
    animation-duration: 440ms;
    animation-delay: 40ms;
}

.ons-team-page .team-card {
    animation-name: section-fade-up;
    animation-duration: 500ms;
}

.ons-team-page .team-card:nth-child(1) { animation-delay: 80ms; }
.ons-team-page .team-card:nth-child(2) { animation-delay: 170ms; }
.ons-team-page .team-card:nth-child(3) { animation-delay: 260ms; }

.onze-klanten-page .page-title {
    animation-name: section-fade-down;
    animation-duration: 440ms;
    animation-delay: 40ms;
}

.onze-klanten-page .clients-carousel {
    animation-name: section-fade-up;
    animation-duration: 500ms;
    animation-delay: 120ms;
}

.vacatures-page .page-title {
    animation-name: section-fade-down;
    animation-duration: 440ms;
    animation-delay: 40ms;
}

.vacatures-page .download-table {
    animation-name: section-fade-up;
    animation-duration: 500ms;
    animation-delay: 100ms;
}

.vacatures-page .application-form {
    animation-name: section-fade-up;
    animation-duration: 500ms;
    animation-delay: 200ms;
}

@media (prefers-reduced-motion: reduce) {
    .ons-team-page .page-title,
    .ons-team-page .team-card,
    .onze-klanten-page .page-title,
    .onze-klanten-page .clients-carousel,
    .vacatures-page .page-title,
    .vacatures-page .download-table,
    .vacatures-page .application-form {
        opacity: 1;
        animation: none;
    }
}

/* Responsive: New Pages */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .client-slide {
        flex: 0 0 100%;
    }

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

/* Responsive Foundation */
img,
video,
iframe {
    max-width: 100%;
}

body {
    overflow-x: hidden;
}

@media (max-width: 1100px) {
    .contact-page .contact-top {
        grid-template-columns: minmax(0, 1fr) 300px;
    }

    .contact-page .contact-hours {
        width: 100%;
    }

    .home-page .feature-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .nav-container {
        align-items: flex-start;
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .site-identity {
        width: calc(100% - 54px);
        min-width: 0;
    }

    .site-branding h2 {
        font-size: 16px;
        line-height: 1.2;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        border-top: 1px solid rgba(255, 255, 255, 0.16);
        margin-top: 6px;
        padding-top: 8px;
    }

    .main-nav.nav-open {
        display: flex;
    }

    .main-nav li a {
        display: block;
        padding: 12px 0;
        border-top: none;
        line-height: 1.3;
    }

    .main-nav li a.active {
        border-top-color: transparent;
    }

    .main-nav li.has-dropdown > a::after {
        float: right;
        margin-top: 2px;
    }

    .main-nav .dropdown-menu {
        position: static;
        border-top: none;
        min-width: 0;
        padding-left: 14px;
        background-color: transparent;
    }

    .main-nav li.has-dropdown:hover .dropdown-menu {
        display: none;
    }

    .main-nav li.has-dropdown.open .dropdown-menu {
        display: block;
    }

    /* Hero mobile stacking */
    .hero-header {
        height: auto;
        min-height: 100vh;
    }

    .hero-content {
        flex-direction: column;
        padding: 20px 20px 40px;
        gap: 0;
    }

    .slider-area {
        flex: none;
        width: 100%;
        order: 1;
    }

    .slider-track {
        height: auto;
    }

    .slide {
        position: relative;
        inset: auto;
        display: none;
    }

    .slide.active {
        display: flex;
    }

    .slider-arrows {
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: center;
        order: 2;
        padding: 15px 0;
    }

    .welcome-area {
        flex: none;
        width: 100%;
        padding: 20px 10px;
        order: 3;
    }

    .hero-logo {
        width: 180px;
    }

    .welcome-label,
    .welcome-company,
    .welcome-tagline {
        font-size: 26px;
    }

    .slide {
        padding: 20px 10px;
    }

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

    .slide-desc {
        font-size: 14px;
    }

    .bounce-arrow {
        bottom: 15px;
    }

    .page-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .over-ons-page .two-column-section {
        grid-template-columns: 1fr;
    }

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

    .contact-page .contact-logo {
        justify-content: flex-start;
    }

    .contact-page .contact-logo img {
        width: 180px;
    }

    .contact-page .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-page .contact-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page .services-grid {
        padding: 0 16px;
    }

    .home-page .service-card {
        flex: 0 0 min(100%, 420px);
    }

    .home-page .feature-list {
        grid-template-columns: 1fr;
    }

    .news-grid {
        padding: 2rem 16px;
    }

    .download-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .download-table {
        min-width: 640px;
    }

    .application-form .form-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-card .team-photo {
        width: min(220px, 100%);
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .client-slide img {
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 640px) {
    .site-logo img {
        height: 44px;
    }

    .site-branding h2 {
        font-size: 14px;
    }

    .page-title,
    .over-ons-page .page-title,
    .diensten-page .page-title,
    .contact-page .page-title,
    .nieuws-page .page-title,
    .ons-team-page .page-title,
    .onze-klanten-page .page-title,
    .vacatures-page .page-title,
    .article-page .article-title {
        font-size: 30px;
        line-height: 1.15;
    }

    .over-ons-page .content-section h2,
    .diensten-page .content-section h2,
    .home-page .service-card h3,
    .home-page .cta-home h2,
    .contact-page .detail-card h2 {
        font-size: 28px;
        line-height: 1.2;
    }

    .home-page .features h1 {
        font-size: 34px;
        line-height: 1.15;
    }

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

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

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

    .download-table {
        min-width: 560px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 20px;
        right: 16px;
        bottom: 16px;
    }

    .article-page .article-header {
        padding: 48px 14px 16px;
    }

    .article-page .article-content {
        padding: 0 14px;
    }
}
