:root {
    --bg-color: #fafeff;
    --txt-blue: #4cafdb;
    --txt-blue-2: #006aac;
    --txt-black: #252525;
    --footer-bg: #212121;
}

body {
    font-family: "Google Sans Flex", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    background-color: var(--bg-color);
    margin: 0;
    padding-top: 100px;
    font-size: 17px;
}

main {
    padding: 0 15px;
    max-width: 980px;
    margin: 0 auto;
}

.homepage-header {
    background-image: url('/img/gulsum.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 500px;
    display: flex;
    align-items: end;
    padding-left: 40px;
    padding-right: 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

.homepage-header h1 {
    color: #fff;
}

.homepage-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--txt-blue-2);
    opacity: 0.8;
    z-index: 0;
}

.homepage-header > * {
    position: relative;
}

.page-header-img {
    width: 100%;
    height: 500px;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
}

.home-badges-section {
    margin-top: 40px;
}

.home-badges-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 30px;
    align-items: stretch;
}

.home-badges-grid > .home-badge {
    grid-column: span 4;
}

.home-badges-grid > .home-badge:last-child:nth-child(3n + 1) {
    grid-column: 1 / -1;
}

.home-badges-grid > .home-badge:nth-last-child(2):nth-child(3n + 1),
.home-badges-grid > .home-badge:last-child:nth-child(3n + 2) {
    grid-column: span 6;
}

.home-badge {
    height: 100%;
    background-color: #f2f6f8;
    padding: 15px;
    box-sizing: border-box;
    box-shadow: 1px 2px 4px 1px rgba(0,0,0,.12);
}

.home-badge .badge-item {
    height: 100%;
}

.home-badge .badge-item strong:first-child {
    font-size: 21px;
}

/* Latest blogs grid */
.latest-blogs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    align-items: stretch;
    margin-top: 20px;
}

.latest-blogs > div {
    padding: 15px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .latest-blogs {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .home-badges-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .home-badges-grid > .home-badge {
        grid-column: 1 / -1;
    }
}

a,
.nav-logo,
h1 {
    color: var(--txt-blue-2);
}

h2 {
    font-weight: 600;
    font-size: 19px;
    margin-top: 80px;
    color: var(--txt-blue-2);
    border-left: 5px solid var(--txt-blue-2);
    border-radius: 18px;
    padding-left: 20px;
    height: 50px;
    display: flex;
    align-items: center;
}

a,
.nav-logo {
    text-decoration: none;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, .8);
    border-bottom: 1px solid var(--txt-blue);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1;
    height: 52px;
}

.header > div {
    max-width: 980px;
    margin: 0 auto;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links .nav-item a {
    color: var(--txt-black);
    font-weight: 700;
    font-size: 14px;
    padding: 16px 8px;
    text-decoration: none;
    text-transform: uppercase;
}

.nav-links.no-transition {
    transition: none !important;
}

.nav-toggle {
    width: 44px;
    height: 44px;
    position: absolute;
    right: 15px;
    border: 0;
    background: transparent;
    padding: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--txt-black);
    border-radius: 999px;
    transition: transform .15s ease-in-out, opacity .15s ease-in-out, background-color .15s ease-in-out;
}

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

.nav-toggle.is-open .bar:nth-child(2) {
    opacity: 0;
}

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

.nav-item.sub > a::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: currentColor;
    transform: translateY(1px);
    margin-left: 3px;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.nav-sub {
    position: absolute;
    top: 50px;
    min-width: 240px;
    border: 1px solid var(--txt-blue);
    border-top: 5px solid var(--txt-blue);
    background-color: #fff;
    overflow: hidden;
    padding: 10px 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease-in-out;
}

.nav-sub.show {
    opacity: 1;
    pointer-events: auto;
}

.nav-sub .nav-item {
    display: flex;
}

.nav-sub .nav-item a {
    width: 100%;
}

.nav-sub:hover {
    cursor: default;
}

ul li::marker {
    color: var(--txt-blue-2);   /* jouw gewenste kleur */
}

footer {
    background-color: var(--footer-bg);
    color: #ababab;
    font-size: 14px;
    padding: 40px 15px;
    margin-top: 80px;
}

footer p {
    margin-top: 0;
}

input,
textarea,
select {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    border: 1px solid #000;
    border-radius: 5px;
    font-size: 1rem;
    background-color: transparent;
    font-family: inherit;
}

input:focus,
textarea:focus,
select:focus,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: none;
    box-shadow: none;
}

input,
select {
    height: 40px;
    line-height: 40px;
}

textarea {
    min-height: 120px;
    resize: none;
}

select {
    padding-left: 15px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none;
}

input,
textarea {
    padding-left: 16px;
    padding-right: 16px;
}

.form-row {
    margin-bottom: 16px;
}

textarea {
    padding-top: 16px;
}

.btn {
    height: 40px;
    font-size: 17px;
    min-width: 80px;
}

.contact-form .form-row:last-child {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        transform: translateY(50%) translateX(-100%);
        transition: transform .15s ease-in-out;
        margin-top: -50px;
        background-color: #006aac;
        width: 100%;
        height: 100vh;
        left: 0;
        padding-top: 70px;
    }

    .nav-links.show {
        transform: translateY(50%) translateX(0);
    }

    .nav-item.sub {
        display: block;
    }

    .nav-item.sub > a::after {
        float: right;
        margin-top: 6px;
    }

    .nav-item.sub .nav-sub {
        position: static;
        top: auto;
        min-width: 0;
        border: 0;
        border-top: 0;
        background-color: transparent;
        padding: 0;
        overflow: hidden;
        display: none;
        opacity: 1;
        pointer-events: auto;
        transition: none;
        margin-bottom: 10px;
    }

    .nav-item.sub .nav-sub.show {
        display: block;
    }

    .nav-item.sub .nav-sub .nav-item {
        margin-left: 20px;
    }

    .nav-toggle.is-open .bar {
        background: #fff;
    }

    .nav-links .nav-item {
        min-height: 50px;
        margin-left: 20px;
    }

    .nav-links .nav-item a {
        color: #fff;
        text-transform: none;
        font-size: 18px;
    }

    .nav-item.sub > a::after {
        float: none;
    }

    .nav-logo {
        transition: color .15s ease-in-out;
    }

    .header > div:has(.nav-toggle.is-open) .nav-logo {
        color: #fff;
    }

    .logo,
    #toggle-navbar {
        z-index: 1;
    }

    footer {
        text-align: center;
    }
}

@media (min-width: 769px) {
    .nav-toggle,
    #toggle-navbar {
        display: none;
    }
    .nav-links {
        display: flex;
    }
    .nav-links .nav-item a {
        transition: background-color .15s ease-in-out, color .15s ease-in-out;
    }
    .nav-links .nav-item:hover > a {
        background-color: var(--txt-blue);
        color: #fff;
    }
    footer > div {
        max-width: 980px;
        margin: 0 auto;
    }
}