/* ===== Base reset ===== */
* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f7f9fb;

    /* Sticky footer layout */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===== Navigation bar ===== */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
}

.navbar-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo img {
    height: 50px;
}

.navbar-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.navbar-menu a {
    font-weight: 600;
    color: #003366;
    text-decoration: none;
}

.navbar-menu a:hover {
    color: #0066cc;
}

/* ===== Headings ===== */
h2 {
    margin: 1.5rem;
    color: #003366;
}

/* ===== Links ===== */
a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ===== Footer ===== */
.footer {
    margin-top: auto;   /* pushes footer to bottom */
    font-size: 0.9rem;
    color: #ffffff;
}

/* Top footer with background image */
.footer-top {
    position: relative;
    background-image: url("https://dto-bioflow.eu/themes/custom/skeleton/images/bg-footer.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dark overlay */
.footer-top::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 32, 64, 0.75);
}

/* Footer content above overlay */
.footer-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-left img {
    max-height: 46px;
}

/* Bottom footer */
.footer-bottom {
    background-color: #001a33;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
}
/* Center content block */
.page-content {
    width: 100%;
    max-width: 100ch;      /* max line length */
    margin: 2rem auto;    /* centers horizontally */
    padding: 0 2rem;      /* minimum space on left/right */
    text-align: left;
}
.mermaid {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}