﻿html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.no-scroll {
    overflow: hidden;
    height: 100vh;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5I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I2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    z-index: 1100;
}

.navbar-fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
}

.navbar-collapse.show {
    position: fixed;
    top: 80px;
    right: 0;
    width: 100vw;
    height: calc(100vh - 80px);
    background-color: rgba(33, 37, 41, 0.98);
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    z-index: 1050;
    padding: 2rem;
    overflow-y: auto;
}

    .navbar-collapse.show ul.navbar-nav {
        flex-direction: column !important;
        gap: 1.5rem !important;
        text-align: right;
        width: 100%;
    }

    .navbar-collapse.show .nav-link {
        color: #fff !important;
        font-size: 1.5rem;
        padding: 0.75rem 0;
        text-align: right;
        width: 100%;
    }

.navbar-white {
    background-color: white !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1) !important;
}

    .navbar-white .nav-link {
        color: #3e3e3e !important;
    }

.navbar-dark {
    background-color: rgba(33, 37, 41, 1) !important;
}

    .navbar-dark .nav-link {
        color: white !important;
    }

.navbar-brand img {
    height: 60px;
    object-fit: contain;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.container.d-flex {
    justify-content: flex-start !important;
    gap: 1rem;
}

.nav-item {
    font-family: 'Encode Sans', sans-serif;
    font-size: .9em;
    font-weight: 400;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.d-flex.flex-grow-1 {
    width: 100%;
    margin-left: 4rem;
}

    .d-flex.flex-grow-1 > ul:first-child {
        justify-content: center;
        display: flex;
        gap: 1.5rem;
    }

    .d-flex.flex-grow-1 > ul:last-child {
        display: flex;
        justify-content: flex-end;
        flex-grow: 0;
        margin-left: auto;
        text-align: right !important;
        padding-right: 0px !important;
    }

.nav-link {
    justify-content: flex-end !important;
}

.navbar-nav .nav-link.custom-nav-link {
    display: flex;
    align-items: center;
    height: 100%;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.nav-link.custom-nav-link.active {
    background-color: transparent !important;
    pointer-events: none;
    color: inherit;
}

.nav-link.custom-nav-link:not(.active):hover {
    background-color: transparent !important;
    color: white;
    cursor: pointer;
    text-decoration: none;
}

.hb {
    width: 30px;
    height: 30px;
    display: block;
    margin: 0;
}

.navbar-toggler {
    background-color: transparent !important;
    border: 0px solid black !important;
}

    .navbar-toggler:focus {
        text-decoration: none !important;
        outline: 0 !important;
        box-shadow: 0 0 0 0 !important;
        background-color: transparent !important;
    }

.no-bg {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

@media (max-width: 991.98px) {
    .navbar {
        box-shadow: 0 2px 4px rgba(0, 0, 0, .1) !important;
        padding-top: 0px !important;
    }

    .navbar-collapse {
        display: none !important;
    }

    .navbar-toggler {
        display: block !important;
    }
}

@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
    }

    .navbar-toggler {
        display: none !important;
    }
}

/* HOME TITEL */
.col-md-6.d-flex.flex-column.justify-content-center {
    height: 100%;
}

.col-md-6.d-flex.justify-content-center.align-items-center {
    height: 100%;
}

.home-main-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    border-radius: 16px;
}

.home-main-title {
    font-size: 36px;
    font-family: "Encode Sans", sans-serif;
    font-weight: 400;
    color: #fff;
}

@media (max-width: 991px) {
    .home-main-title {
        font-size: 30px !important;
    }
}

.home-secondary-title {
    color: #8B8B8B;
    font-family: "Encode Sans", sans-serif;
    font-size: 16px;
}

.home-secondary2-title {
    color: #EA8025;
    font-family: "Encode Sans", sans-serif;
    font-size: 18px;
    text-decoration: none;
}

    .home-secondary2-title:hover {
        text-decoration: underline;
        color: white;
        cursor: default;
    }

.home-main-title,
.home-secondary-title,
.home-secondary2-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Home Service */
.service-title {
    font-size: 24px;
    color: #464646;
    font-family: "Encode Sans", sans-serif;
    font-weight: bold;
    margin-top: 50px !important;
}

.service-title-text {
    font-size: 16px;
    color: #8B8B8B;
    font-weight: 400;
}

.service-title-line {
    color: #EA8025 !important;
    opacity: 1 !important;
}

.service-secondary-title {
    color: #303030;
    font-size: 20px;
    font-family: "Encode Sans", sans-serif;
    font-weight: bold;
}

.hr-container {
    padding-left: 15px;
    padding-right: 15px;
}

.service-title-line2 {
    color: #8B8B8B;
    opacity: 1;
    margin-top: 16px !important;
    margin-left: 0;
    margin-right: 0;
}

.service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
}

    .service-header .icon-left {
        font-size: 14px;
        flex-shrink: 0;
    }

    .service-header .icon-right {
        font-size: 14px;
        color: #f3aa52;
        font-weight: 400;
        flex-shrink: 0;
    }

.service-secondary-title {
    margin: 0 10px;
    flex-grow: 1;
    text-align: left;
}

/* Why We */
.puzzle-images {
    width: 100% !important;
    justify-content: center;
}

.puzzle-text {
    color: #8B8B8B;
    font-weight: 400;
    font-size: 16px;
    font-family: "Encode Sans", sans-serif;
}

/* Experience */
.experience-toggle .icon-right {
    font-size: 14px;
    color: #f3aa52;
    font-weight: 400;
    float: right;
}

.experience-title-toggle {
    font-weight: bold !important;
    margin-bottom: 0px !important;
    color: #EA8025;
    font-family: "Encode Sans", sans-serif;
    font-size: 14px;
    text-decoration: none;
}

    .experience-title-toggle:hover {
        text-decoration: underline;
        cursor: pointer;
    }

.entry {
    display: flex;
    align-items: flex-start;
    margin-bottom: 80px;
    position: relative;
}

    .entry:not(:last-child)::after {
        content: '';
        position: absolute;
        left: 33.5px;
        top: 77px;
        width: 2px;
        height: 80px;
        background-color: #8B8B8B;
        border-radius: 1px;
    }

.logo {
    flex-shrink: 0;
    width: 67px;
    height: 67px;
    margin-right: 20px;
    filter: grayscale(100%) brightness(40%);
}

.content {
    padding-top: 0px !important;
    flex-grow: 1;
}

.experience-title {
    font-size: 20px;
    color: #464646;
    font-family: "Encode Sans", sans-serif;
    font-weight: bold;
}

/* Footer */
.header-line {
    width: 100vw;
    height: 1px;
    background-color: #666;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.contact-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    text-align: center;
}

.contact-items-container {
    width: 100%;
    max-width: 300px;
    padding-left: 44px;
    position: relative;
}

.contact-box {
    background-color: white;
    border: 1px solid black;
    padding: 40px;
    max-width: 500px;
    margin: 0 auto;
    margin-top: 20px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    color: #8B8B8B;
    font-family: "Encode Sans", sans-serif;
    font-size: 16px;
    position: relative;
}

    .contact-item:last-child {
        margin-bottom: 0;
    }

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
    color: black !important;
    position: absolute;
    left: -44px;
}

    .contact-icon svg {
        width: 100%;
        height: 100%;
    }

.contact-text {
    flex: 1;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-left: 0;
    text-align: center;
}

    .contact-text a {
        color: #007bff;
        text-decoration: none;
    }

        .contact-text a:hover {
            text-decoration: underline;
        }

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding: 0 20px;
    font-size: 12px;
    color: #999;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
    color: #8B8B8B;
    font-family: "Encode Sans", sans-serif;
    font-size: 16px;
}

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

    .footer-links a {
        color: #999;
        text-decoration: none;
        color: #8B8B8B;
        font-family: "Encode Sans", sans-serif;
        font-size: 16px;
    }

        .footer-links a:hover {
            color: #666;
        }

@media (max-width: 768px) {
    .contact-box {
        margin: 0 20px;
        padding: 30px 20px;
    }

    .footer-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 0 20px;
    }
}

/* Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
}

    .popup-overlay.show {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

.popup {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    width: 100%;
    max-width: 1140px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin: 0 20px;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .popup {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .popup {
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    .popup {
        max-width: 540px;
    }
}

@media (max-width: 576px) {
    .popup {
        max-width: 100%;
        margin: 0 10px;
    }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

    .close-btn:hover {
        background-color: #f0f0f0;
        color: #333;
    }

.popup-title {
    color: #333;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    margin-right: 20px;
    line-height: 1.3;
}

.popup-text h3 {
    color: #333;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.popup-text p {
    margin-bottom: 15px;
}

.popup-text a {
    color: #007bff;
    text-decoration: none;
}

    .popup-text a:hover {
        text-decoration: underline;
    }