:root {
    --blue-bg: #EAEFF8;
    --blue-soft: #1A478B;
    --blue-heavy: #19478B;
    --blue-normal: #1A478B;
    --blue-link: #2c486b;
    --divider: #4e5859; /* Moet nog voor inactive headers */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--blue-bg);
    color: var(--blue-soft);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    padding: 0 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    border-bottom: 1px solid var(--divider);
}

h1, h2, h3 {
    font-family: "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 50px;
    font-weight: 300;
    color: var(--blue-heavy);
    margin-bottom: 30px;
    margin-top: 30px
}

.logo-container {
    margin-bottom: 10px;
}

.logo img {
    min-width: 150px;
    max-width: 25vw;
    height: 75px;
    object-fit: contain;
}

/* Navigation styles */
.nav-menu {
    display: flex;
    justify-content: space-between;
    height: 60px;
    width: 70%;
}

.nav-menu a {
    color: var(--divider);
    text-decoration: none;
    font-size: 16px;
    padding: 10px 0;
}

.nav-menu a.active {
    color: var(--blue-heavy);
}

/* Hamburger menu styles */
.hamburger-menu {
    display: none;
    cursor: pointer;
    z-index: 100;
    align-self: center;
}

.hamburger-icon {
    width: 30px;
    height: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--blue-heavy);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.divider {
    height: 1px;
    background-color: var(--divider);
    margin: 10px 0;
}

.vertical-divider {
    width: 1px;
    background-color: var(--divider);
    margin: 0 30px;
}

.content-section {
    display: flex;
    margin: 40px 0;
    position: relative;
}

.text-content {
    flex: 1;
    padding-right: 25px;
    padding-left: 25px;
}

.image-container img {
    max-width: 100%;
    height: 400px;
    width: 270px;
    display: block;
    margin: 10px auto 10px auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-content {
    flex: 1;
    text-align: center;
}

.image-container p {
    font-size: 14px;
}

.image-container p.image-caption {
    font-size: 12px;
    margin-right: 8px;
}

h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
    line-height: 1.5;
}

ul {
    margin-left: 15px;
    list-style-type: disc;
}

ul li {
    margin-bottom: 10px;
}

ul li:last-child {
    margin-bottom: 0;
}

.intro-text {
    margin-bottom: 60px;
    text-align: justify;
    padding: 10px;
    border-radius: 5px;
    margin-right: 250px;
}

footer {
    margin-top: 50px;
    padding: 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;

    border-top: 1px var(--divider) solid;
    border-bottom: 1px var(--divider) solid;
}

.footer-section {
    border-left: 1px var(--divider) solid;
    padding: 25px;
    flex: 1;
}


.footer-section:nth-child(1) {
    border-left: none;
}

.contact-info p {
    margin-bottom: 5px;
}

.footer-section .logo-img {
    text-align: center;
    vertical-align: middle;
}

.logo-img img {
    max-width: 250px;
    margin: auto;
}

a {
    color: var(--blue-link);
    text-decoration: underline;
    margin-bottom: 5px;
}

a.docs {
    display: block;
}

.contact-info a {
    text-decoration: none;
}

/* Media queries for responsiveness */
@media screen and (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        right: -25px;
        flex-direction: column;
        background-color: var(--blue-bg);
        padding: 20px;
        gap: 15px;
        width: 100%;
        max-width: 250px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 99;
        height: 400px;
    }

    .image-container:nth-child(2) {
        margin-top: 0;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .hamburger-icon.active span:nth-child(1) {
        transform: translateY(10.5px) rotate(45deg);
    }

    .hamburger-icon.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-icon.active span:nth-child(3) {
        transform: translateY(-10.5px) rotate(-45deg);
    }

    .content-section {
        flex-direction: column;
    }

    .intro-text {
        margin-right: 0;
    }

    .text-content {
        margin-bottom: 30px;
    }

    .vertical-divider {
        display: none;
    }

    .image-content {
        width: 100%;
    }

    .image-container img {
        max-width: 80%;
        margin: 0 auto 10px;
    }

    .logo img {
        max-width: 85vw;
    }

    .footer-content {
        flex-wrap: wrap;
    }

    .footer-section {
        flex: 1 0 40%;
        margin-bottom: 20px;
    }

    .footer-divider {
        display: none;
    }

    .section {
        margin-left: 0 !important;
    }
}

@media screen and (max-width: 480px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    .hamburger-menu {
        position: absolute;
        top: 30px;
        right: 0;
    }

    .nav-menu {
        margin-top: 20px;
        width: 100%;
        max-width: 100%;
    }

    .image-content {
        flex-direction: column;
    }

    .image-container {
        margin-bottom: 30px;
    }

    .image-content img {
        max-width: 100%;
    }

    .footer-section {
        flex: 1 0 100%;
    }
}

/* Collapse sections*/
.section {
    margin-bottom: 30px;
    margin-left: 250px;
    border-radius: 5px;
    overflow: hidden;
}

.section-title {
    color: #0e4f8f;
    padding: 15px;
    border-bottom: 1px solid var(--blue-heavy);
    margin: 0;
    cursor: pointer;
    position: relative;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    text-align: left;
}

.section-title:hover {
    background-color: #edf2f7;
}

.section-title::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.section-title.active::after {
    content: '−';
    transform: rotate(0deg);
}

.text-content {
    text-align: justify;
}

.section-content {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    text-align: justify;
}

.section-content.active {
    padding: 15px;
    max-height: 1000px;
}

.section p {
    line-height: 1.6;
    margin-bottom: 15px;
}

/** Contact **/
.contact-container {
    display: flex;
    margin: 40px 0;
}

.contact-info {
    flex: 1;
    padding-right: 20px;
}

.contact-image {
    flex: 1;
    text-align: center;
}

.contact-image img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form {
    flex: 1;
    padding: 30px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-left: 20px;
}

.contact-form h2 {
    color: #0e4f8f;
    margin-top: 0;
}

.contact-text {
    line-height: 1.6;
    margin-bottom: 15px;
}

.mail-button {
    display: inline-block;
    background-color: #0e4f8f;
    color: white;
    padding: 12px 24px;
    margin-top: 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.mail-button:hover {
    background-color: #0a3d6f;
}
