/* Algemene stijlen */
:root {
    /* Huisstijl kleuren */
    --primary-color: #061a40;
    --primary-dark: #051530;
    --secondary-color: #38b6ff;
    --dark: #333;
    --light: #f8f9fa;
    --text: #444;
    --border: #e9ecef;
    --shadow: rgba(0, 0, 0, 0.1);
    
    /* RGB versies voor rgba() */
    --primary-rgb: 6, 26, 64;
    --secondary-rgb: 56, 182, 255;
}

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

/* Verbeterde scroll-padding-top die scrollt */
html {
    scroll-behavior: smooth;
    /* Hoogte van de gescrollde header (logo 60px + padding 20px*2 = 100px) */
    scroll-padding-top: 100px; 
}

/* Voorkom dat AOS direct active wordt bij laden */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden; /* Voorkomt horizontale scroll */
    text-rendering: optimizeSpeed;
}

/* Voorkom horizontaal scrollen op mobiel */
html, body {
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 0.5em;
    color: var(--dark);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Verbeter consistentie in hover-effecten */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

section {
    padding: 100px 0;
    will-change: transform; /* Optimalisatie voor scroll performance */
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading p {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    color: var(--secondary-color);
}

.section-heading h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 15px auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: #ffffff;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    /* Verbeter klik-target voor mobiel */
    touch-action: manipulation;
}

/* Consistentie in knoppen */
.btn:hover {
    background-color: #2a9eff; /* Iets donkerder dan secundaire kleur */
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(var(--secondary-rgb), 0.4);
}

.btn-light {
    background-color: #ffffff;
    color: var(--primary-color);
    border-color: white;
}

.btn-light:hover {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
}

.btn-submit {
    width: 100%;
    cursor: pointer;
    background-color: var(--secondary-color);
    color: #ffffff;
}

/* Header & Navigatie */
#header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    background-color: transparent; /* Volledig doorzichtig in stilstand */
    transition: all 0.3s ease;
    padding: 20px 0;
    box-shadow: none; /* Geen schaduw in doorzichtige staat */
    will-change: transform, opacity; /* Optimalisatie voor scroll effect */
}

#header.scrolled {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Schaduw toevoegen bij scrollen */
}

/* Verberg header bij naar beneden scrollen op mobiel */
#header.nav-up {
    transform: translateY(-100%);
}

#header.scrolled .logo-img {
    height: 40px;
}

#header.scrolled .nav-links a {
    color: #ffffff;
    text-shadow: none;
}

#header.scrolled .burger div {
    background-color: var(--dark);
    box-shadow: none;
}

#header.scrolled .burger .line1,
#header.scrolled .burger .line2,
#header.scrolled .burger .line3 {
    background-color: #ffffff;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    transition: all 0.3s ease;
    transform: translateZ(0); /* Hardware acceleration voor betere animaties */
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
    display: flex;
    align-items: center;
}

/* Nav-links aanpassen voor doorzichtige header */
.nav-links a {
    color: white; /* Witte tekst op doorzichtige achtergrond */
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); /* Tekstschaduw voor betere leesbaarheid */
    display: flex;
    align-items: center;
}

.nav-links a:hover {
    color: var(--light);
}

/* Nav-links hovers aanpassen naar nieuwe kleuren */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
    will-change: width; /* Optimalisatie voor hover animatie */
}

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

/* Dropdown Menu Styling */
.dropdown {
    position: relative;
}

.dropdown-trigger {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    color: white;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.dropdown-trigger:hover {
    color: var(--light);
}

/* Verwijder underline voor dropdown trigger */
.dropdown-trigger::after {
    display: none;
}

.dropdown-icon {
    font-size: 0.7em;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 100;
    list-style: none;
    padding-left: 0;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--primary-color);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.dropdown-menu a {
    color: white !important;
    padding: 12px 20px;
    display: block;
    text-shadow: none;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white !important;
}

.dropdown-menu a::after {
    display: none;
}

/* CTA Button */
.cta-button {
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.btn-call {
    background-color: var(--secondary-color);
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(var(--secondary-rgb), 0.3);
    transition: all 0.3s ease !important;
    text-shadow: none !important;
    line-height: 1.5;
}

.btn-call i {
    font-size: 0.9em;
}

.btn-call:hover {
    background-color: #2a9eff;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(var(--secondary-rgb), 0.4);
}

.btn-call::after {
    display: none !important;
}

/* Burger menu op doorzichtige header */
.burger {
    display: none;
    cursor: pointer;
    z-index: 1001; /* Hogere z-index zodat het boven het menu blijft */
    position: relative;
    width: 35px;
    height: 30px;
}

.burger div {
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 5px auto;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    transform-origin: center;
    will-change: transform, opacity;
    transform: translateZ(0);
    position: absolute;
    left: 0;
}

.burger .line1 {
    top: 0;
}

.burger .line2 {
    top: 10px;
}

.burger .line3 {
    top: 20px;
}

/* Burger menu animatie */
.toggle .line1 {
    transform: translateY(10px) rotate(-45deg);
}

.toggle .line2 {
    opacity: 0;
    transform: translateX(20px);
}

.toggle .line3 {
    transform: translateY(-10px) rotate(45deg);
}

/* Scroll-down indicator bij hero section */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    opacity: 0.8;
    z-index: 5;
}

.scroll-down a {
    display: block;
    color: white;
    font-size: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.scroll-down a:hover {
    color: var(--secondary-color);
    transform: scale(1.2);
}

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

/* Hero Sectie - Verbeterde mobiele weergave */
.hero {
    height: 100vh;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/technovast-hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
}

.hero .container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.hero-content {
    max-width: 800px;
    text-align: left;
    padding: 40px;
    background: linear-gradient(135deg, rgba(6, 26, 64, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
    border-radius: 5px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-left: 4px solid rgba(56, 182, 255, 0.8);
}

.hero h1 {
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .tagline {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero .btn {
    box-shadow: 0 4px 12px rgba(56, 182, 255, 0.3);
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.hero .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(56, 182, 255, 0.4);
}

/* Over ons Sectie */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    box-shadow: 0 10px 30px var(--shadow);
    border-radius: 10px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

/* Kenmerken Sectie */
.features {
    background-color: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-icon i {
    color: var(--secondary-color);
}

/* Diensten Sectie */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.services-grid-4 {
    grid-template-columns: repeat(2, 1fr);
}

.service-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    margin-bottom: 15px;
}

.service-card ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.service-card ul li {
    margin-bottom: 8px;
}

.service-card ul li:last-child {
    margin-bottom: 0;
}

/* Responsive voor diensten */
@media (max-width: 992px) {
    .services-grid-4 {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background-color: var(--light);
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-icon i {
    color: var(--secondary-color);
}

.service-card ul {
    padding-left: 20px;
    margin-top: 15px;
}

.service-card li {
    margin-bottom: 10px;
}

/* Financiën Sectie */
.financials {
    background-color: var(--light);
}

.finance-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.finance-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.finance-step {
    display: flex;
    background: linear-gradient(to right, var(--secondary-color) 30%, #ffffff 30%);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.finance-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow);
}

.finance-step-number {
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    color: white;
    text-align: center;
}

.finance-step-number h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.finance-step-number .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    height: 60px;
    width: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.finance-step-content {
    flex: 0 0 70%;
    padding: 30px;
    background-color: #ffffff;
}

.finance-step-content p {
    margin-bottom: 10px;
    overflow-wrap: break-word;
}

.finance-step-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .finance-step {
        flex-direction: column;
        background: #ffffff;
    }
    
    .finance-step-number {
        flex: auto;
        padding: 20px;
        background-color: var(--secondary-color);
        flex-direction: row;
        gap: 15px;
    }
    
    .finance-step-number h3 {
        margin-bottom: 0;
    }
    
    .finance-step-number .icon {
        margin-bottom: 0;
    }
    
    .finance-step-content {
        flex: auto;
    }
}

/* Werkwijze Sectie */
.process-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-step {
    padding: 30px;
    background-color: var(--light);
    border-radius: 10px;
    margin-bottom: 40px;
    position: relative;
    box-shadow: 0 5px 15px var(--shadow);
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step::before {
    content: attr(data-step);
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

/* CTA Sectie */
.cta {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/cta-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 100px 0;
    background-color: var(--primary-color);
    color: #ffffff;
}

.cta h2 {
    color: white;
    margin-bottom: 20px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Contact Sectie */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 40px;
    height: 40px;
    background-color: rgba(0, 103, 179, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-icon i {
    color: var(--secondary-color);
}

/* Social icons aanpassen naar nieuwe kleuren */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input.is-invalid,
.form-group textarea.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: .25rem;
    font-size: .875em;
    color: #dc3545;
}

.form-group input.is-invalid ~ .invalid-feedback,
.form-group textarea.is-invalid ~ .invalid-feedback {
    display: block;
}

.form-status {
    margin-top: 15px;
    font-weight: 500;
}

.form-status.success {
    color: #28a745;
}

.form-status.error {
    color: #dc3545;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 70px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 45px;
    margin-bottom: 15px;
    /* Filter to make the logo white if the SVG has dark parts */
    filter: brightness(0) invert(1);
}

.tagline-footer {
    color: var(--secondary-color);
    font-style: italic;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
}

/* Terug naar boven knop */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

/* Back to top knop hover aanpassen */
.back-to-top:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

/* Responsief ontwerp */
@media screen and (max-width: 992px) {
    section {
        padding: 70px 0;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 768px) {
    .burger {
        display: block;
    }
    
    body::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    body.menu-open::after {
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 80%;
        max-width: 400px;
        flex-direction: column;
        align-items: flex-start;
        background-color: var(--primary-color);
        padding: 120px 40px 40px;
        transition: right 0.5s ease;
        z-index: 100;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 0 0 20px 0;
        width: 100%;
    }
    
    .nav-links .cta-button {
        margin: 20px 0 0 0;
        width: 100%;
    }
    
    .nav-links .btn-call {
        width: 100%;
        justify-content: center;
        padding: 12px;
        margin-top: 15px;
        box-shadow: 0 4px 10px rgba(var(--secondary-rgb), 0.3);
    }
    
    .nav-links .btn-call:hover {
        box-shadow: 0 6px 15px rgba(var(--secondary-rgb), 0.4);
    }
    
    .nav-links.active li {
        /* Geen animatie op individuele items */
    }
    
    /* Voeg de links styles toe die ontbreken */
    .nav-links a {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1.1rem;
        text-shadow: none;
        width: 100%;
        display: block;
        padding: 10px 0;
    }
    
    .nav-links a:hover {
        color: white;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    /* Dropdown menu op mobiel */
    .dropdown-menu {
        position: static;
        background: rgba(0, 0, 0, 0.2);
        box-shadow: none;
        padding: 5px 0;
        margin: 10px 0;
        border-radius: 5px;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: hidden;
        transform: none;
        transition: max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease, visibility 0s 0.3s;
    }
    
    .dropdown-menu::before {
        display: none;
    }
    
    .dropdown-menu li {
        margin: 0;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .dropdown-menu a {
        padding: 10px 20px;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 500px;
        visibility: visible;
        transition: max-height 0.5s ease, padding 0.3s ease, margin 0.3s ease;
    }
    
    .dropdown-trigger {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 10px 0;
    }
    
    .dropdown-icon {
        margin-left: auto;
    }
    
    .dropdown.active .dropdown-icon {
        transform: rotate(180deg);
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        width: 100%;
    }
    
    .process-step::before {
        left: 20px;
        width: 2px;
        height: 100%;
    }
    
    /* Mobiele optimalisaties voor hero section */
    .hero {
        background-position: center right;
        align-items: center;
        padding-top: 90px;
        text-align: left;
    }
    
    .hero .container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        text-align: left;
        padding: 30px;
        background: linear-gradient(135deg, rgba(6, 26, 64, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%);
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        text-align: left;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        text-align: left;
    }
    
    .hero .btn {
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .scroll-down {
        bottom: 20px;
    }
    
    /* Solid header op mobiel voor betere zichtbaarheid */
    #header {
        background-color: var(--primary-color);
        padding: 10px 0;
    }
    
    #header .logo-img {
        height: 50px;
        /* Removed filter for Technovast: filter: brightness(0) invert(1); */
    }
    
    #header .nav-links a,
    #header .dropdown-trigger {
        color: white;
        text-shadow: none;
    }
    
    /* Header verbergen bij naar beneden scrollen */
    #header.nav-up {
        transform: translateY(-100%);
    }
}

@media screen and (max-width: 576px) {
    section {
        padding: 50px 0;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        height: 100vh;
    }
}

/* Projects section - Swiper Carousel */
.projects {
    background-color: var(--light);
}

.projects .swiper-slide {
    height: auto;
    padding: 15px;
}

.project-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    padding: 20px;
    color: white;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.project-caption {
    text-align: left;
}

.project-caption h3 {
    color: white;
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.project-caption p {
    margin-bottom: 0;
    opacity: 0.9;
}

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

.projects .swiper-button-prev,
.projects .swiper-button-next {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.projects .swiper-button-prev:hover,
.projects .swiper-button-next:hover {
    background: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.projects .swiper-button-prev::after,
.projects .swiper-button-next::after {
    display: none;
}

.projects .swiper-button-prev i,
.projects .swiper-button-next i {
    font-size: 1.2rem;
    color: white;
}

.projects .swiper-button-prev {
    left: 10px;
}

.projects .swiper-button-next {
    right: 10px;
}

.projects .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.projects .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--secondary-color);
}

.projects .swiper-pagination {
    bottom: 0;
    padding-bottom: 10px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none; /* Start verborgen, wordt getoond met JS */
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cookie-text h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.cookie-text p {
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: var(--text);
}

.cookie-policy-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s ease;
    width: 160px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cookie-accept {
    background-color: var(--primary-color);
    color: #ffffff;
}

.cookie-accept:hover {
    background-color: var(--primary-dark);
}

.cookie-settings {
    background-color: var(--secondary-color);
    color: #ffffff;
}

.cookie-settings:hover {
    background-color: #2a9eff;
}

.cookie-reject {
    background-color: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.cookie-reject:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        align-items: center;
    }
    
    .cookie-text {
        flex: 3;
    }
    
    .cookie-actions {
        flex: 1;
    }
}

@media (max-width: 576px) {
    .cookie-actions {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        min-width: unset;
        display: block;
        text-align: center;
    }
}

/* Lazy Loading Image effecten */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([data-src]) {
    opacity: 1;
}