/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-0jy8inwcyj] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-0jy8inwcyj] {
    flex: 1;
    min-width: 0;
}

.sidebar[b-0jy8inwcyj] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.sidebar-toggle[b-0jy8inwcyj] {
    display: none;
}

.top-row[b-0jy8inwcyj] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-0jy8inwcyj]  a, .top-row[b-0jy8inwcyj]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-0jy8inwcyj]  a:hover, .top-row[b-0jy8inwcyj]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-0jy8inwcyj]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 1023.98px) {
    .top-row[b-0jy8inwcyj] {
        justify-content: space-between;
    }

    .top-row[b-0jy8inwcyj]  a, .top-row[b-0jy8inwcyj]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 1024px) {
    .page[b-0jy8inwcyj] {
        flex-direction: row;
    }

    .sidebar[b-0jy8inwcyj] {
        width: 250px;
        min-width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        overflow: hidden;
        transition: width 0.25s ease, min-width 0.25s ease;
    }

    .page.sidebar-collapsed .sidebar[b-0jy8inwcyj] {
        width: 0;
        min-width: 0;
    }

    .sidebar-toggle[b-0jy8inwcyj] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0.75rem;
        left: 0.75rem;
        width: 2.25rem;
        height: 2.25rem;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(14, 68, 108, 0.72);
        color: #fff;
        border-radius: 4px;
        z-index: 1200;
        cursor: pointer;
        transition: left 0.25s ease;
    }

    .page:not(.sidebar-collapsed) .sidebar-toggle[b-0jy8inwcyj] {
        left: 212px;
    }

    .top-row[b-0jy8inwcyj] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-0jy8inwcyj]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-0jy8inwcyj], article[b-0jy8inwcyj] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .page.sidebar-collapsed main[b-0jy8inwcyj]  .dmx-hero-brand {
        display: inline-block;
    }
}

@media (min-width: 1024px) and (orientation: landscape) {
    .page.sidebar-collapsed main[b-0jy8inwcyj]  .iot-header-row {
        padding-left: 2.75rem; /* clears fixed hamburger */
    }
}

#blazor-error-ui[b-0jy8inwcyj] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-0jy8inwcyj] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-sgsoz31rm3] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    z-index: 1201; /* ensure clickable above .top-row */
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-sgsoz31rm3] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-sgsoz31rm3] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
    position: relative;
    padding-right: 4.25rem;
    padding-bottom: 0.25rem;
    z-index: 1;
}

.nav-top-inner[b-sgsoz31rm3] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end; /* was center */
    gap: 0.5rem;
    min-height: 3.0rem;    /* matches toggler visual baseline */
}

.navbar-brand[b-sgsoz31rm3] {
    font-size: 1.1rem;
    flex: 0 1 auto;
    max-width: calc(100% - 11rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 0.25rem;
}

.auth-actions[b-sgsoz31rm3] {
    margin-left: auto;
    display: flex;
    align-items: flex-end; /* was center */
    align-self: flex-end;
    gap: 0.5rem;
    white-space: nowrap;
    flex-wrap: nowrap;
    min-width: 0;
}

.top-row[b-sgsoz31rm3]  .auth-user {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    max-width: 34vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Side mode on mobile (drawer open): split into 2 rows */
.navbar-toggler:checked + .top-row .nav-top-inner[b-sgsoz31rm3] {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.2rem;
}

.navbar-toggler:checked + .top-row .navbar-brand[b-sgsoz31rm3] {
    flex: 1 1 100%;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
}

.navbar-toggler:checked + .top-row .auth-actions[b-sgsoz31rm3] {
    flex: 1 1 100%;
    display: grid;
    grid-template-columns: 1fr auto; /* user left, sign-out right */
    align-items: start;
    align-self: flex-end;
    column-gap: 0.5rem;
    white-space: normal;
}

.navbar-toggler:checked + .top-row[b-sgsoz31rm3]  .auth-user {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    text-align: left;
}

.navbar-toggler:checked + .top-row[b-sgsoz31rm3]  .auth-link {
    justify-self: end;
    text-align: right;
}

.bi[b-sgsoz31rm3] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-sgsoz31rm3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-sgsoz31rm3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-sgsoz31rm3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-sgsoz31rm3] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-sgsoz31rm3] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-sgsoz31rm3] {
        padding-bottom: 1rem;
    }

    .nav-item[b-sgsoz31rm3]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-sgsoz31rm3]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-sgsoz31rm3]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-sgsoz31rm3] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-sgsoz31rm3] {
    display: block;
}

@media (min-width: 1024px) {
    .navbar-toggler[b-sgsoz31rm3] {
        display: none;
    }

    .nav-scrollable[b-sgsoz31rm3] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }

    .top-row[b-sgsoz31rm3] {
        padding-right: 0.75rem;
    }

    .nav-top-inner[b-sgsoz31rm3] {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        flex-wrap: wrap;              /* desktop side mode: split */
        align-items: flex-start;
        gap: 0.2rem;
    }

    .navbar-brand[b-sgsoz31rm3] {
        flex: 1 1 100%;
        max-width: none;
        overflow: visible;
        text-overflow: clip;
    }

    .auth-actions[b-sgsoz31rm3] {
        flex: 1 1 100%;
        margin-left: 0;
        display: grid;
        grid-template-columns: 1fr auto; /* user left, sign-out under X area */
        align-items: start;
        align-self: flex-end;
        white-space: normal;
    }

    .top-row[b-sgsoz31rm3]  .auth-user {
        max-width: none;
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
        text-align: left;
/*        line-height: 1.1;*/
    }

    .top-row[b-sgsoz31rm3]  .auth-link {
        justify-self: end;
        text-align: right;
    }
}

.top-row[b-sgsoz31rm3]  .auth-link {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.8rem;
    font-weight: 500; /* less emphasis than 600 */
    text-decoration: none;
    white-space: nowrap;
}

.top-row[b-sgsoz31rm3]  .auth-link:hover {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none; /* keep subtle */
}
/* /Components/Pages/Home.razor.rz.scp.css */
.dmx-page[b-a1zl6dzaqc] {
    background: #ececee;
    color: #0f4671;
    position: relative;
    overflow-x: hidden;
}

/* Fixed/sticky hero stage */
.dmx-hero[b-a1zl6dzaqc] {
    --dmx-parallax-y: 0px;
    min-height: 72vh;
    position: sticky;
    top: 0;
    z-index: 0;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    isolation: isolate;
    padding-bottom: 2.0rem; /* banner floats above hero bottom */
}

/* Only image layer moves */
.dmx-hero[b-a1zl6dzaqc]::before {
    content: "";
    position: absolute;
    inset: -12% 0 -12% 0;
    background-image: url("/images/Hero_Iceland_Marc.JPG");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    transform: translate3d(0, var(--dmx-parallax-y), 0) scale(1.04);
    transform-origin: center bottom;
    will-change: transform;
    z-index: 0;
    pointer-events: none;
}

.dmx-hero-banner[b-a1zl6dzaqc] {
    width: 100%;
    text-align: center;
    background: rgba(244, 246, 248, 0.62);
    padding: 1rem 1rem 1.1rem;
    position: relative;
    z-index: 1;
}

.dmx-kicker[b-a1zl6dzaqc] {
    margin: 0 0 1rem 0; /* explicit gap below kicker */
    letter-spacing: 0.06em;
    font-size: clamp(1rem, 2vw, 1.8rem);
}

h1[b-a1zl6dzaqc], h2[b-a1zl6dzaqc] {
    font-weight: 400;
    margin: 0;
}

h1[b-a1zl6dzaqc] {
    font-size: clamp(2rem, 4.4vw, 4rem);
    line-height: 1.04;
}

h2[b-a1zl6dzaqc] {
    text-align: center;
    font-size: clamp(2rem, 3.4vw, 3.8rem);
    margin-bottom: 1.25rem;
}

/* Content overlays hero */
.dmx-content[b-a1zl6dzaqc] {
    background: #ececee;
    position: relative;
    z-index: 2;
}

.dmx-panels[b-a1zl6dzaqc] {
    max-width: 1160px;
    margin: 0 auto;
    padding: 3rem 1.2rem;
    display: grid;
    gap: 1.4rem;
}

.dmx-panel[b-a1zl6dzaqc] {
    background: #0e446c;
    color: #e7f0f8;
    padding: 2rem 1.4rem;
}

.dmx-panel ul[b-a1zl6dzaqc],
.dmx-section ul[b-a1zl6dzaqc] {
    margin: 0 0 1.5rem 1.2rem;
    line-height: 1.4;
}

.dmx-section[b-a1zl6dzaqc] {
    padding: 3rem 1.4rem;
}

.dmx-section-light[b-a1zl6dzaqc] {
    background: #c9d9e7;
    color: #0f4671;
}

.dmx-section-dark[b-a1zl6dzaqc] {
    background: #0e446c;
    color: #dceaf6;
}

.dmx-section a[b-a1zl6dzaqc] {
    color: #b9d8ef;
}

.dmx-contact p[b-a1zl6dzaqc] {
    text-align: center;
    margin: 0.35rem 0;
}

.dmx-locations[b-a1zl6dzaqc] {
    margin-top: 1.25rem !important;
    margin-bottom: 1.25rem !important;
    line-height: 1.5;
}

.dmx-form[b-a1zl6dzaqc] {
    max-width: 640px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.dmx-form input[b-a1zl6dzaqc],
.dmx-form textarea[b-a1zl6dzaqc] {
    width: 100%;
    border: 1px solid #d2d2d2;
    padding: 0.8rem;
    font-size: 1.05rem;
    color: #4b4b4b;
    background: #f4f4f4;
}

.dmx-button[b-a1zl6dzaqc] {
    display: inline-block;
    border: none;
    background: #7fb0d6;
    color: #fff;
    text-decoration: none;
    padding: 0.65rem 2rem;
    font-size: 1.05rem;
    cursor: pointer;
}

.dmx-form .dmx-button[b-a1zl6dzaqc] {
    justify-self: end;
}

.dmx-button-dark[b-a1zl6dzaqc] {
    background: #0e446c;
}

.dmx-footer[b-a1zl6dzaqc] {
    text-align: center;
    margin-top: 7rem;
    font-size: 1.3rem;
    opacity: 0.96;
}

@media (min-width: 640px) {
    .dmx-panels[b-a1zl6dzaqc] {
        grid-template-columns: 1fr 1fr;
    }

    .dmx-section[b-a1zl6dzaqc] {
        padding-left: 10%;
        padding-right: 10%;
    }
}

.dmx-hero-brand[b-a1zl6dzaqc] {
    display: none; /* show only when sidebar is collapsed */
    position: absolute;
    top: 1.25rem;
    left: 1.5rem;
    z-index: 1;
    color: #e8f2fb;
    text-decoration: none;
    font-size: clamp(1.05rem, 1.2vw, 1.75rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.dmx-hero-brand:hover[b-a1zl6dzaqc] {
    color: #ffffff;
}

/* Hide programmatic focus ring on the hero H1 set by FocusOnNavigate */
.dmx-hero-banner h1[tabindex="-1"]:focus[b-a1zl6dzaqc],
.dmx-hero-banner h1[tabindex="-1"]:focus-visible[b-a1zl6dzaqc] {
    outline: none;
}

.dmx-divider[b-a1zl6dzaqc] {
    height: 4.5rem;
    position: relative;
    background: #0e446c;
}

.dmx-divider[b-a1zl6dzaqc]::before {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    top: 50%;
    height: 1px;
    transform: translateY(-50%);
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(220, 234, 246, 0.55) 20%,
        rgba(220, 234, 246, 0.55) 80%,
        transparent 100%
    );
}

#contact[b-a1zl6dzaqc] {
    border-top: 1px solid rgba(220, 234, 246, 0.35);
    margin-top: 2rem;
    padding-top: 4rem;
}
