:root {
    /* Brand Colors */
    --usws-orange: #f7931e;
    --usws-yellow: #fff200;
    --usws-blue: #00aeef;
    --usws-darkblue: #44546a;
    --usws-darkblueaccent: #627a99;
    --usws-darkbluebackground: #44546a55;
    /* Layout Palette */
    --bg-slate: #0f172a;
    --bg-panel: #f8fafc;
    --bg-light: #f7f7f7;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --radius: 12px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto light', sans-serif;
    color: var(--usws-darkblue);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    background: var(--usws-darkblue);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 4px solid var(--usws-orange);
}

header-subtitle {
    color: aliceblue;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-btn {
    background-color: var(--usws-blue);
    color: var(--white);
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius);
    font-weight: 500;
    transition: var(--transition);
}

    .nav-btn:hover {
        background-color: #009ad4;
        transform: translateY(-2px);
    }

.logo {
    color: var(--usws-orange);
}

    .logo span {
        padding-left: 5px;
        vertical-align: top;
        font-family: Roboto Light;
        font-weight: bold;
    }

svg.usws-logo {
    width: 50px;
}

span.rtm {
    font-size: .7rem;
    padding-left: 0px;
}

.tagline {
    font-size: 2rem;
    padding-left: 10px;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    align-items: center;
    padding: 4rem 2rem;
    overflow: hidden;
    isolation: isolate;
}

.summary {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    column-gap: 10rem;
}

.resource-summary {
    grid-template-columns: .8fr 1fr;
}

/* Position Background Graphic absolute to hero container */
.hero-bg-drawing {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Ensure Honeycomb and Cards floating smoothly above background */
.hero-left, .hero-right, summary-left, summary-right {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--bg-slate);
}

.hero p {
    color: var(--text-muted);
    margin: 0 auto;
}

.ecosystem-container {
    display: grid;
    grid-template-columns: 330px 1fr;
    min-height: 850px;
    border-top: 1px solid var(--border-color);
}

#solutions ol {
    list-style: none;
}



.sidebar {
    background-color: var(--bg-panel);
    border-right: 1px solid var(--border-color);
    padding: 2rem 1rem;
    max-height: calc(100vh - 70px);
    position: sticky;
    top: 70px;
    overflow-y: auto;
}

    .sidebar h2 {
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: var(--text-muted);
        margin-bottom: 1rem;
        padding-left: 0.5rem;
    }

.menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.menu-item {
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
}

    .menu-item:hover {
        background-color: rgba(0, 174, 239, 0.06);
        color: var(--usws-blue);
    }

    .menu-item.active {
        background-color: var(--usws-blue);
        color: var(--white);
        box-shadow: 0 4px 12px rgba(0, 174, 239, 0.15);
    }

    .menu-item .status-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background-color: #cbd5e1;
    }

    .menu-item.has-data .status-dot {
        background-color: var(--usws-orange);
    }

    .menu-item.active .status-dot {
        background-color: var(--usws-yellow);
    }

.content-pane {
    padding: 3.5rem 5%;
    background-color: var(--white);
}

/*section:nth-child(odd) {
    background-color: var(--border-color);
}
*/
section:nth-child(even) {
    background-color: #f4f4f4;
}


.value-prop {
    padding: 9rem 5%;
    text-align: center;
    background: var(--white);
}

footer {
    background: var(--usws-darkblue);
    color: var(--usws-blue);
    padding: 2.5rem 5%;
    text-align: center;
    font-size: 0.85rem;
    position: relative;
    top: 100px;
}

@media (max-width: 1024px) {
    .ecosystem-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: relative;
        max-height: auto;
        top: 0;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
}

.title {
    color: var(--usws-yellow);
    font-size: 0.8rem;
    font-variant: small-caps;
    font-family: segoe Script;
}

.timeline-steps {
    padding-top: 30px;
}

    .timeline-steps ul, .platform-steps ul {
        list-style: none;
        display: grid;
        gap: 10px;
        font-size: 1.4rem;
    }

.platform-steps {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    display: grid;
}

.timeline-steps ul {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.timeline-steps li, .platform-step {
    border-left: 5px solid var(--usws-blue);
    border-radius: 4px;
    background-color: var(--bg-panel);
    align-content: center;
}

    .timeline-steps li:nth-of-type(3n+1), .platform-step:nth-of-type(3n+1) {
        border-left: 5px solid var(--usws-orange);
    }

    .timeline-steps li:nth-of-type(3n+2), .platform-step:nth-of-type(3n+2) {
        border-left: 5px solid var(--usws-yellow);
    }

.platform-step {
    margin: 20px;
    padding: 10px;
}

    .platform-step svg {
        width: 50px;
        height: 50px;
    }

    .platform-step div:nth-child(2) {
        font-weight: bold;
        font-variant: small-caps;
        color: var(--usws-blue);
        padding: 10px
    }



.card-meta {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--usws-orange);
    margin-bottom: 0.5rem;
}

content {
    position: relative;
    top: 100px;
}

.bh-icon .path-1 {
    color: var(--usws-darkblueaccent);
    opacity: 1;
}

.bh-icon .path-2 {
    color: var(--usws-orange);
}

.link {
    transition: var(--transition);
    color: var(--usws-blue);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

    .link:hover {
        color: var(--usws-orange);
    }

[id] {
    scroll-margin-top: 120px;
}

.hidden {
    display: none;
}

.chart-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    padding: 28px;
    width: 100%;
    max-width: 850px;
    border: 1px solid #e2e8f0;
}

.chart-header {
    margin-bottom: 24px;
}

.chart-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px 0;
}

.chart-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.chart-container {
    position: relative;
    height: 420px;
    width: 100%;
}

.chart-footer {
    margin-top: 16px;
    font-size: 0.75rem;
    color: #94a3b8;
    text-align: right;
}


#map {
    height: 500px;
    border-radius: 10px;
}

/* Custom Leaflet Styling */
.leaflet-popup-content-wrapper {
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.leaflet-popup-content {
    margin: 0;
    width: 260px !important;
}

.leaflet-container a.leaflet-popup-close-button {
    top: 10px;
    right: 10px;
    color: #9ca3af;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.custom-pin {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
    cursor: pointer;
}

    .custom-pin:hover {
        transform: scale(1.2);
        background: #1d4ed8;
        z-index: 1000 !important;
    }

    .custom-pin span {
        font-size: 10px;
        font-weight: 700;
    }