:root {
    --primary-blue: #2f87ee;
    /* Matched to logo */
    --primary-blue-dark: #1b65b8;
    --text-light: #ffffff;
    --text-dark: #222222;
    --bg-light: #f8f9fa;
    --font-main: 'Montserrat', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar styles */
.navbar {
    background-color: var(--primary-blue);
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
}

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

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-logo-img {
    height: 60px;
}

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

.nav-item {
    padding: 0 1.2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: var(--text-light);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
    border-radius: 2px;
}

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


.nav-toggle {
    display: none;
    z-index: 1000;
}

.nav-toggle .bar {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-light);
    border-radius: 2px;
}

/* Hero Sections */
.hero {
    background-color: #0a1f3a;
    height: 100vh;
    min-height: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
    transform: scale(1.05);
    animation: heroZoom 7s ease-in-out infinite alternate;
}

.hero-slide.active { opacity: 1; }

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to   { transform: scale(1.00); }
}

/* Sub-page layouts (Gallery, Contact) */
.sub-page-section {
    padding-top: 150px;
    min-height: 80vh;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 50, 95, 0.9) 0%, rgba(27, 101, 184, 0.75) 100%);
    pointer-events: none;
}

.hero-content {
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

@keyframes float {

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

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

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 45px;
    font-weight: 400;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-size: 1.05rem;
    line-height: 1;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--text-light);
    color: var(--primary-blue);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
    background-color: var(--bg-light);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.35);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 2px solid var(--text-light);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.15);
}

.btn-solid {
    background-color: var(--primary-blue);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(47, 135, 238, 0.3);
}

.btn-solid:hover {
    background-color: var(--primary-blue-dark);
    color: var(--text-light);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(47, 135, 238, 0.4);
}

.btn-round {
    border-radius: 12px !important;
    padding: 12px 30px !important;
}

.btn-white {
    background-color: var(--bg-light);
    color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-white:hover {
    background-color: #f0f0f0;
    color: var(--primary-blue-dark);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

/* Specific override for navbar button - Moved here to ensure precedence over .btn-round */
.btn-nav {
    margin-left: 0;
    font-size: 0.85rem !important;
    padding: 6px 16px !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.btn-nav:hover {
    transform: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Sections General */
.section {
    padding: 100px 0;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary-blue-dark);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), #00c9ff);
    border-radius: 2px;
    margin: 12px auto 0;
}

.section-title.left-align {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.section-title.left-align::after {
    margin: 12px 0 0;
}

.section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-body);
    margin-top: 0;
    line-height: 1.6;
}

/* --- Team Sectie --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    justify-content: center;
    gap: 3rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
}

.team-avatar-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #e0e0e0;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    background-image: linear-gradient(135deg, #eee 25%, transparent 25%, transparent 50%, #eee 50%, #eee 75%, transparent 75%, transparent);
    background-size: 20px 20px;
    border: 4px solid white;
}

.team-quote {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-blue);
    line-height: 1.4;
    margin-bottom: 0.8rem;
    font-style: italic;
}

.team-info {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

@media (max-width: 768px) {
    .team-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1.5rem;
        padding: 1rem 0 3rem;
        margin: 0;
        /* Pull out to edges */
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        /* Reset for flex */
    }

    .team-grid::-webkit-scrollbar {
        display: none;
    }

    .team-card {
        flex: 0 0 100%;
        /* Show exactly one card */
        scroll-snap-align: center;
        background: white;
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }
}

/* Carousel Indicators */
.carousel-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .carousel-dots {
        display: flex;
    }
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dde4f0;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-blue);
    width: 20px;
    border-radius: 4px;
}

/* Over Ons Sectie */
.overons-section {
    background: #f0f5ff;
    position: relative;
}

.overons-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.overons-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.85;
    font-family: var(--font-body);
}

.overons-lead {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: var(--primary-blue-dark) !important;
    border-left: 4px solid var(--primary-blue);
    padding-left: 16px;
    line-height: 1.7 !important;
    font-family: var(--font-body) !important;
}

.overons-subtitle {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 1.35rem;
    color: var(--text-dark);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.overons-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.overons-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: white;
    padding: 16px 20px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 2;
    transition: transform 0.3s ease;
}

.overons-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(47, 135, 238, 0.2);
}

.badge-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 8px;
}

.overons-badge h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.overons-badge p {
    display: none;
}

/* Trainingen / Diensten Grid */
.diensten-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.dienst-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 40px 32px 32px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.dienst-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), #00c9ff);
    border-radius: 16px 16px 0 0;
}

.dienst-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(47, 135, 238, 0.04) 0%, transparent 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.dienst-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 48px rgba(47, 135, 238, 0.14);
    border-color: rgba(47, 135, 238, 0.12);
}

.dienst-card:hover::after {
    opacity: 1;
}

.dienst-icon {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f0f7ff, #e0eeff);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 4px 10px rgba(47, 135, 238, 0.15));
}

.dienst-card:hover .dienst-icon {
    transform: scale(1.1) translateY(-5px);
    color: var(--primary-blue-dark);
    background: linear-gradient(135deg, #ffffff, #f0f7ff);
    box-shadow: 0 10px 25px rgba(47, 135, 238, 0.2);
}

.dienst-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dienst-desc {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.75;
    font-family: var(--font-body);
}

/* Contact Page Styles */
.contact-section {
    padding-top: 40px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    margin-top: 20px;
    align-items: start;
}

@media screen and (max-width: 900px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    background: linear-gradient(160deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    padding: 40px;
    border-radius: 20px;
    color: var(--text-light);
    box-shadow: 0 20px 50px rgba(47, 135, 238, 0.3);
}

.contact-info-header h2 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 8px;
    color: white;
}

.contact-info-header p {
    margin-bottom: 45px !important;
    opacity: 0.9;
    line-height: 1.6;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    transition: background 0.3s ease;
}

.contact-info-card:hover {
    background: rgba(255, 255, 255, 0.18);
}

.info-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    color: var(--text-light);
    /* Ensure icons are white against the blue background */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    /* Give them a fixed width so text aligns perfectly */
}

.info-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.info-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.65;
    font-weight: 700;
}

.info-value {
    font-size: 0.95rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.5;
}

.info-value:hover {
    text-decoration: underline;
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Contact Form */
.contact-form {
    background-color: #fff;
    padding: 45px 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media screen and (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #555;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    background: #fafafa;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(47, 135, 238, 0.1);
    background: white;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none; /* Modern mobile fix */
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    position: relative;
    z-index: 1;
}

/* Ensure dropdown anchors correctly on mobile even inside transformed containers */
.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-up.visible {
    transform: none !important;
}

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


/* Footer Styles */
.footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #111111 100%);
    color: var(--text-light);
    padding: 70px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), #00c9ff, var(--primary-blue));
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer-description {
    color: #a0a0b0;
    font-size: 0.93rem;
    line-height: 1.9;
    max-width: 320px;
    font-family: var(--font-body);
    font-weight: 400;
}

.footer-heading {
    color: white;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-blue);
    border-radius: 2px;
}

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

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

.footer-links a {
    color: #a0a0b0;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    font-size: 0.93rem;
    font-family: var(--font-body);
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    content: '›';
    color: var(--primary-blue);
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

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

.footer-contact li {
    color: #a0a0b0;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.93rem;
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
}

.footer-contact li span:first-child {
    color: var(--primary-blue);
    font-size: 1rem;
    width: 20px;
    display: inline-flex;
    justify-content: center;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 20px 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: #9ca3af;
    font-size: 0.82rem;
}

.footer-bottom a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary-blue);
}


/* Mobile Responsiveness */
@media screen and (max-width: 900px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .overons-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .overons-image {
        min-height: 250px;
        padding: 40px 20px;
    }
}

@media screen and (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: -100%;
        flex-direction: column;
        background-color: var(--primary-blue);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 30px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 15px 0;
        width: 100%;
        padding: 0 2rem;
    }

    .nav-item .btn {
        margin-left: 0 !important;
        width: auto;
        display: inline-flex;
        margin-top: 15px;
    }

    .nav-toggle {
        display: block;
        cursor: pointer;
    }

    /* Hamburger animation */
    .nav-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

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

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

    .section-title {
        font-size: 2.2rem;
    }

    .diensten-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .hero-title {
        font-size: 2.2rem;
        word-wrap: break-word;
        letter-spacing: 1px;
    }

    .hero-section {
        padding-top: 100px;
        height: auto;
        min-height: 100vh;
    }

    .hero-content {
        padding: 0 20px;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    .hero-buttons .btn,
    .hero-buttons .btn-outline {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .cta-content {
        padding: 0 20px;
        text-align: center;
        justify-content: center;
    }

    .cta-buttons {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .cta-buttons .btn,
    .cta-buttons .btn-outline {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    /* Contact Page Refinements */
    .contact-info {
        padding: 30px 20px;
    }

    .contact-info-header .section-title {
        font-size: 1.7rem !important;
        margin-bottom: 10px;
    }

    .contact-info-header p {
        font-size: 0.95rem;
        margin-bottom: 40px !important;
    }

    .contact-info-card {
        padding: 12px 15px;
        gap: 12px;
    }

    .info-icon {
        font-size: 1.2rem;
    }

    .info-value {
        font-size: 0.95rem;
    }

    .contact-map {
        margin-top: 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: left;
    }

    /* Hide Snelle Links on mobile */
    .footer-section:nth-child(2) {
        display: none;
    }

    .footer-section {
        align-items: flex-start;
    }

    .footer-description {
        margin: 0 0 20px;
        max-width: 100%;
    }

    .footer-heading::after {
        left: 0;
        transform: none;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 15px;
        padding: 30px 1.5rem 110px; /* Extra bottom space for WhatsApp button */
    }

    .footer-sep {
        display: none;
    }

    .footer-rights {
        display: block;
        margin-top: 4px;
    }

    .footer-credits {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* Footer Socials */
.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(47, 135, 238, 0.3);
}


/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    padding: 80px 0;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-text h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    font-family: var(--font-body);
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-2px);
}

/* Gallery Styles */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 4/3;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    background: #eee;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.12);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(27, 101, 184, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Floating Widgets */
.floating-widgets {
    position: fixed;
    bottom: 25px;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    padding: 0 25px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.floating-widgets.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-float,
.scroll-top {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.whatsapp-float {
    background: #25D366;
    /* Standard WhatsApp Green */
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.whatsapp-float:hover {
    background: #20BA5A;
    /* Slightly darker green */
    transform: scale(1.05);
    /* Subtle scale only */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.scroll-top {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 123, 255, 0.2);
    color: var(--primary-blue);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
}

.scroll-top:hover {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.1) translateY(-5px);
}

.whatsapp-float i,
.scroll-top i {
    font-size: 1.75rem;
    /* Increased from default */
    display: block;
}

/* Ensure mobile spacing */
@media screen and (max-width: 768px) {
    .floating-widgets {
        bottom: 20px;
        padding: 0 20px;
    }

    .whatsapp-float,
    .scroll-top {
        width: 45px;
        height: 45px;
    }
}

/* ─── Cookie Banner ────────────────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 20px;
    right: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 123, 255, 0.1);
    border-radius: 16px;
    padding: 20px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    visibility: hidden;
    opacity: 0;
}

.cookie-banner.visible {
    bottom: 30px;
    visibility: visible;
    opacity: 1;
}

.cookie-content {
    flex: 1;
}

.cookie-content h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    color: #007BFF;
    font-weight: 700;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.cookie-content a {
    color: #007BFF;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
}

.cookie-btn-accept {
    background: #007BFF;
    color: white;
}

.cookie-btn-accept:hover {
    background: #0062cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.cookie-btn-secondary {
    background: #f0f4f8;
    color: #555;
}

.cookie-btn-secondary:hover {
    background: #e1e7ee;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 25px;
        gap: 20px;
        left: 15px;
        right: 15px;
        bottom: -200px;
    }

    .cookie-banner.visible {
        bottom: 15px;
    }

    .cookie-buttons {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
    }
}

/* ─── Privacy Modal ────────────────────────────────────────────── */
.privacy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 30000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.privacy-modal.active {
    visibility: visible;
    opacity: 1;
}

.privacy-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.privacy-modal-container {
    position: relative;
    background: white;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.privacy-modal.active .privacy-modal-container {
    transform: translateY(0);
}

.privacy-modal-header {
    padding: 24px 30px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.privacy-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #007BFF;
}

.privacy-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: #888;
    transition: color 0.2s ease;
}

.privacy-modal-close:hover {
    color: #007BFF;
}

.privacy-modal-body {
    padding: 30px;
    overflow-y: auto;
    font-family: inherit;
    line-height: 1.7;
    color: #444;
}

.privacy-modal-body h3 {
    margin: 24px 0 12px;
    font-size: 1.1rem;
    color: #333;
}

.privacy-modal-body h3:first-child {
    margin-top: 0;
}

.privacy-modal-body p {
    margin-bottom: 16px;
}

.privacy-modal-body ul {
    margin-bottom: 16px;
    padding-left: 20px;
}

.privacy-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #eee;
    text-align: right;
}

@media (max-width: 768px) {
    .privacy-modal-container {
        width: 95%;
        max-height: 90vh;
    }

    .privacy-modal-body {
        padding: 20px;
    }
}