:root {
    --primary-red: #F2050B;
    --bg-dark: #031E27;
    --accent-teal: #7BF0CC;
    --text-white: #FFFFFF;
    --max-width: 1080px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    margin: 0;
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
}

.content-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.main-nav {
    width: 100%;
    position: fixed;
    top: 30px;
    z-index: 1000;
}

.main-nav .content-wrapper {
    max-width: 1320px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 5px;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    height: 128px;
}

.logo-box {
    background-color: white;
    padding: 20px 75px 28px 30px;
    border-radius: 12px 0 0 12px;
    clip-path: polygon(0 0, 80% 0%, 100% 100%, 0% 100%);
    max-height : 128px!important;
}

.logo-box img {
    height: 80px;
}

.menu-items {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 0px 34px 0px 0px;
}

.menu-items a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
}

.hero-section {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 0% 0%, var(--primary-red) -30%, transparent 45%);
}

.hero-text-container {
    position: relative;
    max-width: 858px;
    text-align: center;
    margin: 0 auto;
}

.hero-text-container p {
    font-size: 24px;
    line-height: 42px;
    margin: 0;
}

.text-base {
    color: rgba(255, 255, 255, 0.1);
}

.text-reveal {
    color: var(--text-white);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.text-reveal span {
    opacity: 0.1;
}

.knowledge-section {
    width: 100%;
    position: relative;
    margin-top: -48vh;
}

.knowledge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    height: 100vh;
    align-items: flex-start;
    padding: 180px 0px 0 0px;
    margin: 0 auto;
    max-width: var(--max-width);
}

.knowledge-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 3rem;
}

.text-block {
    margin-bottom: 20px;
}

.text-block h2 {
    color: var(--accent-teal);
    font-size: 50px;
    font-weight: 800;
    opacity: 0.2;
    transition: opacity 0.5s ease;
    margin: 0;
    text-align: left;
}

.text-block.active h2 {
    opacity: 1;
}

.description {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s ease, margin 0.5s ease;
}

.text-block.active .description {
    grid-template-rows: 1fr;
    margin-top: 15px;
}

.description p {
    overflow: hidden;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
}

.knowledge-image-container {
    position: relative;
    width: 100%;
    height: 550px;
    border-radius: 20px;
    overflow: hidden;
}

.k-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 0.8s ease, transform 1.2s ease;
}

.k-img.active {
    opacity: 1;
    transform: scale(1);
}

.bedrijven-section {
    width: 100%;
    position: relative;
    padding-bottom: 100px;
    padding-top: 50px;
    overflow: hidden;
}

.bedrijven-title-watermark {
    position: relative;
    font-size: 110px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    pointer-events: none;
    text-align: end;
    right: 40px;
    margin: 0 0 100px 0;
    line-height: 1;
    transform: translateX(100%);
}

.bedrijven-grid {
    display: grid;
    grid-template-columns: repeat(3, 340px);
    gap: 30px;
    justify-content: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
    margin-top: 0;
}

.bedrijf-card {
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    height: 100%;
}

.bedrijf-body {
    background: #FFFFFF;
    padding: 40px 40px 50px 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.bedrijf-logo {
    height: 60px;
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.bedrijf-logo img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

.prob-green-line {
    width: 50px;
    height: 4px;
    background: var(--accent-teal);
    border-radius: 2px;
    margin-bottom: 25px;
}

.bedrijf-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #1A1A1A;
    margin-bottom: 40px;
}

.bedrijf-website {
    color: #1A1A1A;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    border-bottom: 3px solid var(--accent-teal);
    padding-bottom: 3px;
    margin-top: auto;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.bedrijf-footer {
    background: #EAEAEA;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-icon-box {
    width: 50px;
    height: 50px;
    background: var(--bg-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-icon-box i {
    color: var(--accent-teal);
    font-size: 1.2rem;
}

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

.contact-info span {
    font-size: 0.9rem;
    color: #4A4A4A;
    line-height: 1.5;
}


.site-footer {
    width: 100%;
    background: var(--bg-dark);
    padding: 0;
    position: relative;
    background-image: radial-gradient(circle at 100% calc(100% + 500px), rgba(242, 5, 11, 0.4) 0%, transparent 60%);
    overflow: hidden;
}

.footer-inner {
    display: grid;
    grid-template-columns: 636px 1fr;
    max-width: 1320px;
    margin: 0 auto;
    margin-bottom: 165px;
}

.footer-image {
    position: relative;
    overflow: hidden;
}

.footer-image img {
    height: 1085px;
    width: auto;
    display: block;
}

.footer-content {
    padding: 280px 60px 0 80px;
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: var(--accent-teal);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
}

.footer-address {
    margin-bottom: 25px;
}

.footer-address p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

.site-footer .footer-email {
    color: #FFFFFF !important;
    text-decoration: none !important;
    border-bottom: 3px solid var(--accent-teal) !important;
    padding-bottom: 3px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 25px;
    transition: opacity 0.3s ease;
    display: inline-block !important;
    width: fit-content;
}

.footer-email:hover {
    opacity: 0.8;
}

.footer-details {
    margin-bottom: 30px;
}

.footer-details p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    margin: 0;
}

.footer-details strong {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 800;
}

.footer-iso {
    margin-bottom: 80px;
}

.footer-iso img {
    height: 90px;
    width: auto;
}

.footer-logo {
    margin-top: auto;
}

.footer-logo img {
    height: 80px;
    width: auto;
}

@media screen and (max-width: 900px) {

    :root {
        --max-width: 100%;
    }

    body {
        overflow-x: hidden;
    }

    .content-wrapper {
        padding: 0 20px;
        width: 100%;
    }

    .main-nav {
        top: 0;
        background: transparent;
        pointer-events: none;
    }

    .main-nav .content-wrapper {
        position: relative;
        z-index: 10;
        pointer-events: auto;
    }

    .nav-container {
        height: auto;
        flex-direction: column;
        padding: 10px 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .gradient-blur {
        position: absolute;
        z-index: -1;
        inset: 0 0 auto 0;
        height: 100%;
        min-height: 170px;
        pointer-events: none;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        mask: linear-gradient(to bottom,
                rgba(0, 0, 0, 1) 0%,
                rgba(0, 0, 0, 1) 70%,
                rgba(0, 0, 0, 0.9) 80%,
                rgba(0, 0, 0, 0.6) 85%,
                rgba(0, 0, 0, 0.3) 90%,
                rgba(0, 0, 0, 0) 100%);
        -webkit-mask: linear-gradient(to bottom,
                rgba(0, 0, 0, 1) 0%,
                rgba(0, 0, 0, 1) 70%,
                rgba(0, 0, 0, 0.9) 80%,
                rgba(0, 0, 0, 0.6) 85%,
                rgba(0, 0, 0, 0.3) 90%,
                rgba(0, 0, 0, 0) 100%);
        background: rgba(255, 255, 255, 0.02);
    }

    .gradient-blur>div,
    .gradient-blur::before,
    .gradient-blur::after {
        display: none;
        content: none;
    }

    .logo-box {
        width: 100%;
        border-radius: 5px;
        clip-path: none;
        background-color: transparent;
        padding: 10px;
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
        box-shadow: none;
        margin: 10px 0;
        width : 100%!important;
        background-color : #fff;
    }

    .logo-box img {
        height: 60px;
        filter: none;
    }

    .menu-items {
        width: 100%;
        justify-content: center;
        padding: 0 0 15px 0;
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-section {
        height: auto;
        min-height: 85vh;
        padding-top: 180px;
        padding-bottom: 60px;
        align-items: flex-start;
    }

    .hero-text-container {
        padding: 0;
    }

    .hero-text-container p {
        font-size: 1.25rem;
        line-height: 1.6;
    }

    .knowledge-section {
        margin-top: 0;
    }

    .knowledge-grid {
        grid-template-columns: 1fr;
        padding: 40px 0;
        gap: 40px;
        height: auto;
        min-height: 100vh;
        align-content: start;
    }

    .knowledge-image-container {
        height: 300px;
        order: -1;
        width: 100%;
    }

    .knowledge-text-wrapper {
        padding-top: 0;
    }

    .text-block h2 {
        font-size: 2rem;
    }

    .description p {
        font-size: 1rem;
    }

    .bedrijven-section {
        padding-top: 20px;
    }

    .bedrijven-title-watermark {
        font-size: 3rem;
        white-space: normal;
        text-align: center;
        right: auto;
        transform: none !important;
        margin: 0 0 40px 0;
        position: relative;
        width: 100%;
        padding: 0 20px;
    }

    .bedrijven-grid {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 40px;
    }

    .bedrijf-card {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        margin-bottom: 20px;
    }

    .footer-image {
        display: none;
    }

    .footer-content {
        padding: 60px 20px 40px 20px;
        text-align: center;
        align-items: center;
    }

    .footer-title {
        font-size: 2rem;
    }

    .footer-address,
    .footer-details {
        text-align: center;
    }

    .footer-logo {
        margin-top: 40px;
    }
}