body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 100px 40px 60px;
    color: #333;
}

html {
  scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 30px;
}

.text-content {
    max-width: 100%;
    min-width: 280px;
}

h1 {
    font-size: 2.8em;
    font-weight: 600;
    margin-bottom: 0.4em;
}

p {
    font-size: 1.1em;
    margin-bottom: 2em;
    line-height: 1.6;
}

a {
    font-size: 1.05em;
    color: #0056b3;
    text-decoration: none;
    margin-bottom: 1em;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

a:hover {
    color: #003d80;
    border-bottom: 2px solid #003d80;
}

a.active,
nav .nav-links a.active {
    color: #003d80;
    border-bottom: 2px solid #003d80;
    font-weight: bold; 
}

.logo {
    max-width: 420px;
    margin-left: 40px;
}

img {
    width: 100%;
    height: auto;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

nav .nav-logo img {
    height: 40px;
}

nav .nav-logo {
    display: inline-block
}

.nav-toggle {
    padding: 6px 10px;
    height: 40px;
    line-height: 1;
    background: transparent;
}

.hamburger {
    display: inline-block;
    font-size: 1.2rem;
    line-height: 1;
}

nav .nav-links {
    display: flex;
    gap: 20px;
}

/* Nav toggle button (hidden on desktop) */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    margin-left: auto; /* push to the right */
}

.nav-toggle:focus {
    outline: 2px solid #0056b3;
    outline-offset: 3px;
}

nav .nav-links a {
    font-size: 1em;
    color: #0056b3;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

nav .nav-links a:hover {
    color: #003d80;
    border-bottom: 2px solid #003d80;
}

ul {
    list-style-type: none; /* Removes default bullet points */
    padding: 0;
    margin: 0;
    font-family: 'Inter', sans-serif;
    width: 50%;
    float: left;
}

ul li {
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0; /* Adds a subtle border between items */
    line-height: 1.5;
}

ul li:last-child {
    border-bottom: none; /* Removes the border from the last item */
}

/* Link styles */
ul li a {
    text-decoration: none; /* Removes the default underline */
    color: inherit; /* Inherit color from list item for styling consistency */
    display: block; /* Makes the entire list item clickable */
}

ul li a:hover {
    background-color: #f4f4f4; /* Adds a hover effect */
    color: #003d80; /* Changes text color on hover */
}

ul li a strong {
    font-size: 1.1em;
    color: #0056b3; /* Makes the names stand out */
}

ul li a span {
    font-style: italic;
    color: #555; /* Lighter color for the role description */
}

ul li a:hover strong {
    color: #003d80; /* Changes the name color on hover */
}

ul li a:hover span {
    color: #666; /* Darker color for the role description on hover */
}

.image {
    float:right;
    max-width: 320px;
    height: auto;
    margin-left: 100px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 2px rgba(0,0,0,0.1);
    padding: 2px;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 20px;
    }

    h1 {
        margin-top: 0;
        font-size: 2.2em;
    }

    /* make nav a consistent row with centered items */
    nav {
        padding: 10px;
        min-height: 56px;
        flex-direction: row;
        padding-right: 20px;
    }

    .hamburger {
        font-size: 1.8em;
    }

    /* show hamburger and hide links by default on mobile */
    .nav-toggle {
        display: block;
    }

    /* position the mobile menu below the fixed nav (overlay) */
    #nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 6px 18px rgba(16,24,40,0.08);
        border-top: 1px solid #f0f0f0;
        padding: 12px 20px;
        z-index: 999;
    }

    #nav-menu.open {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }


    .nav-logo { order: 1; }
    .nav-toggle { order: 2; }
    #nav-menu { order: 3; }

    nav .nav-links {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
        width: 100%;
    }

    nav .nav-links a {
        padding: 8px 0;
        display: block;
        width: 90%;
    }

    .logo {
        margin-left: 0;
        margin-top: 40px;
        max-width: 200px;
    }

    nav .nav-links {
        flex-direction: column;
        gap: 10px;
        margin-top: 0px;
    }

    ul {
        width: 100%;
        float: none;
        margin-bottom: 20px;
    }

    .image {
        float: none;
        display: block;
        margin: 0 auto 15px auto;
    }
}