 @import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;600&display=swap'); 

html,
body {
    min-height: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif, Helvetica;
}

:root {
    --header-height: 130px;
}

* {
    box-sizing: border-box;
}

a {
    color: inherit;
}

body {
    background-image: none;
    background-color: white !important;
    color: #333;
    padding-top: var(--header-height);
}

.page-wrap {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

.page-wrap::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;   
}

.titlebar {
    border: 1px solid #FF8A00;
    height: 4px;
    max-width: 80px;
    background-color: #FF8A00;
    border-radius: 3px;
    margin: 10px 0;
}

.hero-overlay h1:last-of-type,
.contact-hero-content h1,
.updates-content h1 {
    font-family: Arial, sans-serif, Helvetica;
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.header-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: var(--header-height);
    width: 100%;
    z-index: 9999;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    padding: 0 30px;
    box-sizing: border-box;
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.header-left {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
}

.header-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    align-self: stretch;
    padding-top: 8px;
    gap: 10px;
}

.top-menu {
    display: flex;
    justify-content: flex-end;
}

.mobile-menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 6px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background: #393f4d;
    border-radius: 999px;
}

.top-menu ul {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
    font-weight: 700;
    align-items: center;
}

.top-menu a,
.top-menu span {
    color: #393f4d;
    text-decoration: none;
    display: inline-block;
    line-height: 20px;
}

.top-menu .has-submenu {
    position: relative;
}

.top-menu .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    padding: 10px 0;
    border-radius: 6px;
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    font-weight: 600;
}

.top-menu .submenu li {
    padding: 0;
    margin: 0;
}

.top-menu .submenu a {
    display: block;
    padding: 10px 20px;
    color: #393f4d;
    white-space: nowrap;
}

.top-menu .submenu a:hover {
    background: #f0f0f0;
}

.top-menu .has-submenu:hover .submenu {
    display: block;
}

.map-container {
    position: relative;
    width: 100%;
    text-align: center;
    margin: 40px 0;
}

.project-map {
    max-width: 93%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.20);
}

.map-title {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2A70D3;
    padding: 10px 20px;
    border-radius: 22px;
    font-size: 20px;
    font-weight: 100;
    color: #FFF;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.map-link {
    position: absolute;
    top: 20px;
    left: 70%;
    transform: translateX(-50%);
    background-color: #FF8A00;
    padding: 10px 20px;
    border-radius: 22px;
    font-size: 20px;
    font-weight: 100;
    color: #FFF;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.map-link a {
    color: black;
    text-decoration: none;
}

.north-direction {
    position: absolute;
    top: 20px;
    left: 14%;
    transform: translateX(-50%);
}

.site-footer {
    background-color: #3D5A80;
    color: #ffffff;
    padding: 50px 0;
    font-family: sans-serif;
    position: relative;
    overflow: hidden;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    text-align: center;
}

.footer-social,
.footer-center,
.footer-address {
    flex: 1;
}

.social-links {
    padding-top: 15px;
}

.social-links a {
    padding-right: 15px;
}

.footer-logo {
    width: 170px;
    margin-bottom: 16px;
    transition: opacity 0.25s ease;
}

.footer-links {
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.footer-links span {
    margin: 0 6px;
    opacity: 0.4;
}

.footer-address span {
    display: block;
    font-size: 1rem;
    line-height: 1.4;
}

.bigfix-logo {
    height: 120px;
    width: auto;
    display: block;
}

.mdot-logo {
    height: 30px;
    width: auto;
}

.footer-tagline,
.footer-handle {
    display: block;
    margin-top: 8px;
}

@media (max-width: 768px) {
    body {
        padding-top: 0;
    }

    .header-bar {
        position: sticky;
        top: 0;
        left: 0;
        height: auto;
        grid-template-columns: 1fr auto;
        padding: 10px 15px;
        gap: 8px;
        align-items: center;
    }

    .header-center {
        display: none;
    }

    .header-left {
        margin-right: 0;
        justify-content: flex-start;
        gap: 10px;
    }

    .header-left > a {
        display: flex;
        align-items: center;
    }

    .bigfix-logo {
        height: 42px;
        width: auto;
        max-width: 180px;
        object-fit: contain;
    }

    .header-right {
        display: contents;
    }

    .header-right .mdot-logo {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        align-self: center;
        height: 24px;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin: 0;
    }

    .top-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: max-content;
        max-width: calc(100vw - 30px);
        padding: 10px 15px 12px;
        background: #ffffff;
        border-top: 1px solid rgba(0,0,0,0.08);
        box-shadow: 0 10px 24px rgba(0,0,0,0.16);
        z-index: 10000;
    }

    .top-menu.mobile-open {
        display: block;
    }

    .top-menu ul {
        list-style: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 4px 0;
        margin: 0;
    }

    .top-menu > ul > li {
        width: auto;
    }

    .top-menu a,
    .top-menu span {
        font-size: 0.95rem;
        display: flex;
        align-items: center;
        padding: 6px 0;
    }

    .top-menu .submenu {
        display: block;
        position: static;
        min-width: 0;
        box-shadow: none;
        border-radius: 0;
        padding: 0 0 0 14px;
        margin-top: 2px;
        background: transparent;
    }

    .top-menu .submenu a {
        padding: 4px 0;
    }

    .map-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 0 12px;
    }

    .map-title,
    .map-link,
    .north-direction {
        position: static;
        transform: none;
    }

    .map-title,
    .map-link {
        width: auto;
        max-width: 100%;
        padding: 6px 10px;
        border-radius: 14px;
        font-size: 0.8rem;
        line-height: 1.15;
    }

    .project-map {
        max-width: 100%;
        border-radius: 16px;
    }

    .north-direction img {
        width: 32px;
        height: auto;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

