/*

16px = 1rem
18px = 1.125rem
20px = 1.25rem
22px = 1.375rem
24px = 1.5rem
26px = 1.625rem
28px = 1.75rem
30px = 1.875rem
32px = 2rem

sm (small devices)
@media (max-width: 575px) {}
@media (min-width: 576px) {}

md (medium devices)
@media (max-width: 767px) {}
@media (min-width: 768px) {}

lg (large devices)
@media (max-width: 991px) {}
@media (min-width: 992px) {}

xl (extra large devices)
@media (max-width: 1199px) {}
@media (min-width: 1200px) {}

xxl (extra extra large devices)
@media (max-width: 1399px) {}
@media (min-width: 1400px) {}
*/

.container {
    max-width: 1600px;
}

@font-face {
    font-family: 'Objectivity-Regular';
    src: url('../fonts/Objectivity-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'Objectivity-Bold';
    src: url('../fonts/Objectivity-Bold.otf') format('opentype');
}

body {
    font-family: "Objectivity-Regular", sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #555;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Objectivity-Bold", sans-serif;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.2;
    color: #00343f;
}

h1 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

main ul {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
}

main #content > :is(p, ul):last-child {
    margin-bottom: 0;
}

a {
    color: #b5d334;
    text-decoration: none;
}

    a:hover {
        color: #b5d334;
        text-decoration: underline;
    }

/* Links in page text: teal and underlined on every page (lime on white is too low-contrast to
   read), lime on a dark band. :where() keeps these weak, so buttons and component links
   (.cta-banner p a, .contact-links p a, ...) keep their own styles. Mirrored in editor.css. */
main :where(p, li, td) > a:where(:not(.btn)) {
    color: #00343f;
    text-decoration: underline;
    text-underline-offset: 3px;
}

    main :where(p, li, td) > a:where(:not(.btn)):hover {
        color: #005a6b;
    }

main :where(.band-dark) :where(p, li, td) > a:where(:not(.btn)),
main :where(.band-dark) :where(p, li, td) > a:where(:not(.btn)):hover {
    color: #b1f727;
}

td.noWrap {
    white-space: nowrap;
}

td.maxWidth {
    width: 100%;
}

td.valignMiddle {
    vertical-align: middle;
}

/* buttons */
.btn-primary {
    background-color: #b1f727 !important;
    border: 2px solid #b1f727 !important;
    color: #000 !important;
    border-radius: 0 !important;
}

    .btn-primary:hover, .btn-primary:active {
        background-color: #fff !important;
        border: 2px solid #fff !important;
        color: #000 !important;
        text-decoration: none !important;
    }

    .btn-primary.white {
        background-color: #fff !important;
        border: 2px solid #fff !important;
        color: #000 !important;
    }

        .btn-primary.white:hover {
            background-color: #b1f727 !important;
            border: 2px solid #b1f727 !important;
            color: #000 !important;
        }

/* Bootstrap Extension - Partially Disable Class image-responsive */
main .img-not-fluid {
    display: inline-block;
}

/* Bootstrap Extension - Reset Content Image Sizes */
@media (max-width: 991px) {
    main .img-fluid {
        width: auto !important;
        height: auto !important;
    }
}

/* Input */
.required-field {
    display: none;
}

.inputErr {
    background-color: #ffe5e5;
}

/* Input */
input[type=checkbox] {
    vertical-align: top;
    margin-top: 6px;
}
input[type=radio] + label,
input[type=checkbox] + label {
    margin-left: 4px;
    margin-right: 10px;
    margin-bottom: 0;
    display: inline-block;
}

.required-field {
    display: none;
}

/* Header */
header {
    height: 70vh;
    min-height: 600px; /* room for the hero panel below the fixed #top bar */
}

body.home header {
    height: 100vh;
}

header .vegas-content {
    height: 100%;
}

header video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* This is the key: covers the area, crops edges if needed, keeps aspect ratio */
    z-index: 0;
}

/* top */
#top {
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: rgba(0,0,0,0.9);
    border-bottom: 1px solid;
    z-index: 9999;
}

    #top .logo {
        height: 80px;
        transition: all ease-in 250ms;
    }

body.scroll #top .logo {
    height: 50px;
}

#visual {
    position: relative;
}

            /* NAV */
            .nav-open {
                position: absolute;
                right: 15px;
                top: 20px;
            }

            body.scroll .nav-open {
                top: 10px;
            }

            a.nav-open {
                color: #fff;
                font-size: 3rem;
                transition: all ease-in 250ms;
            }

            body.scroll a.nav-open {
                font-size: 2rem;
            }

            a.nav-open:hover {
                color: #b5d334;
            }

            .sidenav {
                position: fixed;
                right: 0;
                top: 0;
                width: 420px;
                height: 100%;
                padding-top: 80px;
                padding-left: 40px;
                padding-right: 30px;
                background-color: rgba(0, 52, 63, 0.95);
                z-index: 9999;
                overflow-x: hidden;
                transition: 0.5s;
                left: 100vw;
            }

                .sidenav ul {
                    list-style: none;
                    padding-left: 0;
                    margin: 0;
                }

                .sidenav li {
                    position: relative;
                }
                /* ==================== MENU ROW ==================== */
                .sidenav .menu-row {
                    display: flex;
                    align-items: center;
                    width: 100%;
                    position: relative;
                }

                    .sidenav .menu-row .arrow {
                        margin-left: auto;
                        order: 2;
                    }
                /* ===================== ALL NAV LINKS ===================== */
                .sidenav .nav-link {
                    color: #fff;
                    text-decoration: none;
                    white-space: nowrap;
                    flex: 1;
                    order: 1;
                }
                /* Top Level */
                .sidenav > ul > li.nav-item .nav-link {
                    padding: 8px 15px 8px 30px;
                    font-size: 1.5rem;
                    font-weight: 600;
                }
                /* Sub Level (Level 2) */
                .sidenav .sub-menu > li.subnav-item .nav-link {
                    padding: 6px 15px 6px 35px;
                    font-size: 1.05rem;
                    font-weight: 500;
                }
                /* Sub-Sub Level (Level 3+) */
                .sidenav .sub-menu .sub-menu .nav-link {
                    padding: 5px 15px 5px 45px;
                    font-size: 0.9rem;
                    font-weight: 400;
                    color: #ddd;
                }
                /* ===================== HOVER + ACTIVE (All levels) ===================== */
                .sidenav a.nav-link:hover,
                .sidenav a.nav-link.active {
                    color: #b1f727 !important;
                }
                /* ===================== OPEN STATE (Only Top & Sub) ===================== */
                /* Top Level: highlight when open */
                .sidenav > ul > li.nav-item.open > .menu-row .nav-link {
                    color: #b1f727 !important;
                }
                /* Sub Level (Level 2 only): highlight when open */
                .sidenav .sub-menu > li.subnav-item.open > .menu-row .nav-link {
                    color: #b1f727 !important;
                }
                /* ===================== ARROWS - Same behavior as text ===================== */
                /* Default arrow color */
                .sidenav a.arrow {
                    padding: 8px 12px;
                    font-size: 1.4rem;
                    color: #fff;
                    transition: transform 0.3s ease, color 0.2s ease;
                    cursor: pointer;
                    flex-shrink: 0;
                    margin-right: 5px;
                }

                .sidenav .sub-menu a.arrow {
                    font-size: 1.15rem;
                    padding: 5px 10px;
                }
                /* Arrow on hover */
                .sidenav a.arrow:hover {
                    color: #b1f727;
                }
                /* Arrow when parent is open (Top & Sub levels) */
                .sidenav > ul > li.nav-item.open > .menu-row .arrow,
                .sidenav .sub-menu > li.subnav-item.open > .menu-row .arrow {
                    color: #b1f727;
                }
                /* Arrow when the item itself is active */
                .sidenav li.open > .menu-row .arrow,
                .sidenav a.nav-link.active + .arrow,
                .sidenav .menu-row .arrow.open {
                    color: #b1f727;
                }

                .sidenav a.arrow.open {
                    transform: rotate(90deg);
                }
                /* Submenu Container */
                .sidenav ul.sub-menu {
                    padding-left: 20px;
                    margin-top: -4px;
                    display: none;
                }
                /* Show submenus */
                .sidenav li.open > ul.sub-menu,
                .sidenav .sub-menu li.open > ul.sub-menu {
                    display: block !important;
                }
                /* Nav Close */
                .sidenav .nav-close {
                    position: absolute;
                    top: 15px;
                    right: 25px;
                    font-size: 4rem;
                    color: #fff;
                }
            /* Content */
            main {
                margin-top: 40px;
                margin-bottom: 40px;
            }
            /* special */
            .block {
                background-color: #293150;
                padding: 15px;
                color: #fff;
            }

                .block h3 {
                    color: #fff;
                }

                .block p:last-of-type {
                    margin-bottom: 0;
                }
            /* =============== PARALLAX =============== */
            .parallax-container {
                position: relative;
                overflow: hidden;
                height: 50vh; /* Try 45vh ~ 55vh */
                min-height: 380px;
                background: #111;
            }

            .parallax-background {
                position: absolute;
                top: -35%;
                left: 0;
                width: 100%;
                height: 170%; /* Increased a bit because container is shorter */
                will-change: transform;
                transform: translateY(0);
                z-index: 1;
            }

                .parallax-background img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    display: block;
                }

            .parallax-content {
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                height: 100%;
                z-index: 9999;
            }
            /* Media */
            .item {
                margin-bottom: 30px;
                transition: all 200ms ease-in;
            }

                .item.animation .item-wrapper {
                    margin-top: 50px;
                    opacity: 0.25;
                }

                .item.animation.in-view .item-wrapper {
                    margin-top: 0;
                    opacity: 1;
                    transition: all 200ms ease-in;
                }

            .item-wrapper {
                position: relative;
                border: 1px solid #ccc;
                height: 100%;
                margin-bottom: 24px;
                transition: all 200ms ease-in;
            }

                .item-wrapper:hover {
                    transform: scale(1.05);
                    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
                }

            .item-content {
                padding: 0 15px 15px 15px;
            }

            .item .date {
                padding: 10px;
                background-color: RGBA(0,0,0, 0.8);
                font-weight: bold;
                color: #fff;
                text-align: right;
            }

                .item .date img.logo {
                    height: 20px;
                    float: left;
                    border: none;
                }

            .item h4 {
                margin-top: 15px;
            }

            .item .link {
                position: absolute;
                left: 15px;
                bottom: 15px;
            }

            a.item:hover {
                text-decoration: none;
            }
            /* Content - Pagination */
            .pagination .page-item .page-link {
                border-color: #ccc;
                color: #1b98cc;
                text-decoration: none;
            }

                .pagination .page-item .page-link:hover {
                    background-color: #1b98cc;
                    color: #fff;
                }

            .pagination .page-item.disabled .page-link {
                color: #ccc;
            }

            .pagination .page-item.active .page-link {
                background-color: #d01d30;
                color: #fff;
            }

            #parallax {
                position: relative;
                overflow: hidden;
                height: 30vh;
                min-height: 380px;
                background: #111;
            }

                #parallax video {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    object-fit: cover; /* This is the key: covers the area, crops edges if needed, keeps aspect ratio */
                    z-index: 0;
                }
            /* Footer */
            footer {
                padding: 40px 0 40px 0;
                background-color: #000;
                color: #fff;
            }

                footer h3 {
                    color: #fff;
                }

                footer a {
                    color: #fff;
                }

                    footer a:hover {
                        color: #fff;
                        text-decoration: underline;
                    }

                footer div.logo {
                    display: flex;
                    flex-direction: row;
                }

                    footer div.logo img {
                        height: 50px;
                        margin-right: 20px;
                    }
                /* Custom styling for text inputs */
                footer .form-control {
                    background-color: #000 !important;
                    color: #fff !important;
                    border: none !important;
                    border-top: 2px solid #fff !important;
                    border-radius: 0 !important;
                    padding: 0.5rem 0.75rem;
                    transition: border-bottom-color 0.3s ease;
                }

                    footer .form-control::placeholder {
                        color: #ccc;
                        opacity: 1;
                    }

                    footer .form-control:focus {
                        background-color: #000;
                        color: #fff;
                        border-top: 2px solid #0d6efd; /* Bootstrap primary blue, or change to #fff */
                        box-shadow: none !important;
                        outline: none;
                    }
            /* Special */
            .align-bottom {
                display: flex;
                flex-direction: column;
                justify-content: flex-end;
            }

                /* flush to the bottom, e.g. a photo standing on the band below it */
                .align-bottom > p:last-child {
                    margin-bottom: 0;
                }
            /* Overlay */
            #overlay {
                position: fixed;
                left: 0;
                right: 0;
                top: 0;
                bottom: 0;
                background: rgba(0,0,0,0.6);
                display: none;
            }
            /* Loader */
            #loader {
                position: fixed;
                left: 0;
                right: 0;
                top: 0;
                bottom: 0;
                background: url('/images/ajax-loader.gif') center center no-repeat rgba(255,255,255,0.9);
            }
            /* Cookie Alert */
            #cookie-alert {
                position: fixed;
                bottom: 0;
                padding: 20px;
                width: 100%;
                background-color: #eee;
                text-align: center;
            }

            @media (max-width: 991px) {
                #cookie-alert {
                    padding-bottom: 50px;
                }
            }

            .slide-in-blurred-top {
                -webkit-animation: slide-in-blurred-top 0.6s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
                animation: slide-in-blurred-top 0.6s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
            }
            /* ----------------------------------------------
 * Generated by Animista on 2026-5-14 9:50:2
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */
            /**
 * ----------------------------------------
 * animation slide-in-blurred-top
 * ----------------------------------------
 */
            @-webkit-keyframes slide-in-blurred-top {
                0% {
                    -webkit-transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
                    transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
                    -webkit-transform-origin: 50% 0%;
                    transform-origin: 50% 0%;
                    -webkit-filter: blur(40px);
                    filter: blur(40px);
                    opacity: 0;
                }

                100% {
                    -webkit-transform: translateY(0) scaleY(1) scaleX(1);
                    transform: translateY(0) scaleY(1) scaleX(1);
                    -webkit-transform-origin: 50% 50%;
                    transform-origin: 50% 50%;
                    -webkit-filter: blur(0);
                    filter: blur(0);
                    opacity: 1;
                }
            }

            @keyframes slide-in-blurred-top {
                0% {
                    -webkit-transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
                    transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
                    -webkit-transform-origin: 50% 0%;
                    transform-origin: 50% 0%;
                    -webkit-filter: blur(40px);
                    filter: blur(40px);
                    opacity: 0;
                }

                100% {
                    -webkit-transform: translateY(0) scaleY(1) scaleX(1);
                    transform: translateY(0) scaleY(1) scaleX(1);
                    -webkit-transform-origin: 50% 50%;
                    transform-origin: 50% 50%;
                    -webkit-filter: blur(0);
                    filter: blur(0);
                    opacity: 1;
                }
            }

/* SCAN - form card (Pages/Scan.cshtml), placed in the CMS content via {form} */
.scan-card {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding: 2.25rem;
    background-color: #00343f;
    border-radius: 20px;
    color: #fff;
}

    .scan-card-title {
        font-family: "Objectivity-Bold", sans-serif;
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .scan-card-sub {
        margin: -0.6rem 0 0.25rem;
        color: #b9cdd1;
    }

    .scan-card .scan-field {
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
    }

    .scan-card label {
        font-family: "Objectivity-Bold", sans-serif;
        font-size: 0.9rem;
    }

    .scan-card .form-control {
        height: 48px;
        padding: 0 1rem;
        border: 1px solid #fff;
        border-radius: 10px;
        color: #00343f;
    }

        .scan-card textarea.form-control {
            height: 130px;
            padding: 12px 16px;
            resize: vertical;
        }

        .scan-card .form-control.scan-url {
            height: 52px;
            border: 2px solid #b1f727;
        }

        .scan-card .form-control:focus {
            border-color: #b1f727;
            box-shadow: 0 0 0 3px rgba(177, 247, 39, 0.45);
        }

        .scan-card .form-control.inputErr {
            background-color: #ffe5e5;
        }

    .scan-card .btn-primary {
        margin-top: 0.5rem;
        height: 56px;
        border-radius: 10px;
        font-family: "Objectivity-Bold", sans-serif;
        font-size: 1.05rem;
        color: #00343f !important;
    }

@media (max-width: 991.98px) {
    .scan-card {
        margin-top: 1.5rem;
        padding: 1.5rem;
    }
}

/* INTRO BLOCK - set "intro-block" as a column's CSS class in the CMS (first used on the Scan
   page). A plain bullet list inside it becomes a checklist - bold text at the start of an
   item is its title. */
.intro-block ul {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

    .intro-block ul li {
        position: relative;
        min-height: 44px;
        padding-left: 64px;
        line-height: 1.5;
        color: #2c5159;
    }

        .intro-block ul li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: #00343f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b1f727' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 22px no-repeat;
        }

        .intro-block ul li strong,
        .intro-block ul li b {
            display: block;
            margin-bottom: 0.15rem;
            font-family: "Objectivity-Bold", sans-serif;
            font-weight: normal;
            font-size: 1.05rem;
            color: #00343f;
        }

/* HOME HERO - teal text panel over the left of the header video (_Layout.cshtml, home only) */
.hero-dim {
    position: absolute;
    inset: 0;
    background: rgba(0, 20, 25, 0.25);
    z-index: 1;
}

.hero-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(620px, 50%);
    box-sizing: border-box;
    padding: 101px 64px 0; /* clears the fixed #top bar */
    background: rgba(0, 52, 63, 0.92);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    z-index: 2;
}

    .hero-panel p {
        margin: 0;
    }

    .hero-panel .hero-eyebrow {
        font-family: "Objectivity-Bold", sans-serif;
        font-size: 0.8rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: #b1f727;
    }

    .hero-panel .hero-title {
        margin: 0;
        font-size: 4.25rem;
        line-height: 1.02;
        letter-spacing: -0.02em;
        color: #fff;
    }

        .hero-panel .hero-title span {
            color: #b1f727;
        }

    .hero-panel .hero-lead {
        max-width: 460px;
        font-size: 1.2rem;
        line-height: 1.6;
        color: #c8d9dc;
    }

    .hero-panel .hero-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 0.5rem;
    }

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    height: 56px;
    padding: 0 28px;
    border: 2px solid #b1f727;
    border-radius: 10px;
    background: #b1f727;
    color: #00343f;
    font-family: "Objectivity-Bold", sans-serif;
    font-size: 1rem;
}

    .hero-btn:hover {
        background: #fff;
        border-color: #fff;
        color: #00343f;
        text-decoration: none;
    }

    .hero-btn.outline {
        background: transparent;
        border-color: #fff;
        color: #fff;
    }

        .hero-btn.outline:hover {
            background: #fff;
            color: #00343f;
        }

@media (max-width: 991.98px) {
    .hero-panel {
        width: 100%;
        padding: 101px 20px 40px;
        background: rgba(0, 52, 63, 0.85);
    }

        .hero-panel .hero-title {
            font-size: 2.75rem;
        }
}

/* HOME SECTIONS - CSS classes for rows/columns in the CMS widget editor (first used on Home).
   Row classes: "section" (vertical spacing), "band-light" / "band-dark" (full-width
   background). Column classes: "section-head", "section-foot", "service-card" + "icon-websites" /
   "icon-webapps" / "icon-cms" / "icon-modules" / "icon-hosting", "cta-banner", "work-card", "contact-links".
   Mirrored in editor.css so the widget canvas shows them too - keep the two in step. */
/* A page whose content ends with a full-width band sits flush against the waves video */
main:has(#content .gmp-row:is(.band-light, .band-dark):last-child) {
    margin-bottom: 0;
}

.gmp-row.section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.gmp-row.band-light,
.gmp-row.band-dark {
    box-shadow: 0 0 0 100vmax var(--band-bg);
    clip-path: inset(0 -100vmax);
    background: var(--band-bg);
}

.gmp-row.band-light {
    --band-bg: #f3f6f6;
}

.gmp-row.band-dark {
    --band-bg: #00343f;
    color: #c8d9dc;
}

    .gmp-row.band-dark h1, .gmp-row.band-dark h2, .gmp-row.band-dark h3 {
        color: #fff;
    }

.section-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

    .section-head h2 {
        margin: 0;
        font-size: 2.5rem;
    }

    .section-head p {
        margin: 0;
    }

    .section-head p a,
    .service-card p a,
    .work-card p a {
        color: #00343f;
        font-family: "Objectivity-Bold", sans-serif;
        text-decoration: underline;
        text-underline-offset: 4px;
    }

/* Cards keep the column gutter: the background sits on a pseudo-element inset by the column padding */
.service-card,
.cta-banner {
    position: relative;
    isolation: isolate;
}

    .service-card::before,
    .cta-banner::before {
        content: "";
        position: absolute;
        inset: 0 calc(var(--bs-gutter-x, 1.5rem) / 2);
        border-radius: 16px;
        z-index: -1;
    }

.service-card {
    padding: 2rem 2.5rem 1.75rem;
    margin-bottom: 1.5rem;
}

    .service-card::before {
        background: #fff;
    }

    .service-card h3 {
        margin-bottom: 0.75rem;
        font-size: 1.25rem;
    }

        .service-card h3::before {
            content: "";
            display: block;
            width: 48px;
            height: 48px;
            margin-bottom: 1rem;
            border-radius: 12px;
            background: #00343f center / 24px no-repeat;
        }

    .service-card p {
        margin-bottom: 1rem;
        font-size: 0.95rem;
        color: #2c5159;
    }

        .service-card p:last-child {
            margin-bottom: 0;
        }

    .service-card.icon-websites h3::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b1f727' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='13' rx='2'/%3E%3Cpath d='M8 21h8M12 17v4'/%3E%3C/svg%3E");
    }

    .service-card.icon-webapps h3::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b1f727' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 9l-4 3 4 3M16 9l4 3-4 3M13.5 6l-3 12'/%3E%3C/svg%3E");
    }

    .service-card.icon-cms h3::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b1f727' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19 9l-4-4L4 16z'/%3E%3Cpath d='M13.5 6.5l4 4'/%3E%3C/svg%3E");
    }

    .service-card.icon-hosting h3::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b1f727' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='6' rx='1.5'/%3E%3Crect x='3' y='14' width='18' height='6' rx='1.5'/%3E%3Cpath d='M7 7h.01M7 17h.01'/%3E%3C/svg%3E");
    }

/* CTA banner: heading + text on the left, the last paragraph (a link) as a button on the right */
.cta-banner {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 2.5rem;
    align-items: center;
    padding: 3rem 3.5rem;
    color: #00343f;
}

    .cta-banner::before {
        background: #b1f727;
        border-radius: 20px;
    }

    .cta-banner h2 {
        grid-column: 1;
        margin-bottom: 0.5rem;
        font-size: 1.75rem;
    }

    .cta-banner p {
        grid-column: 1;
        margin: 0;
    }

        .cta-banner p:last-child {
            grid-column: 2;
            grid-row: 1 / span 2;
        }

    .cta-banner p a {
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        height: 56px;
        padding: 0 28px;
        border-radius: 10px;
        background: #00343f;
        color: #fff;
        font-family: "Objectivity-Bold", sans-serif;
        white-space: nowrap;
    }

        .cta-banner p a:hover {
            background: #005a6b;
            color: #fff;
            text-decoration: none;
        }

.work-card {
    margin-bottom: 1.5rem;
}

    .work-card img {
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        border-radius: 16px;
        margin-bottom: 1rem;
    }

    .work-card h3 {
        margin-bottom: 0.25rem;
        font-size: 1.2rem;
    }

    .work-card p {
        margin-bottom: 0;
        color: #2c5159;
    }

.band-dark .btn-primary {
    border-radius: 10px !important;
    padding: 0.75rem 1.75rem;
}

.contact-links p {
    margin-bottom: 1rem;
}

.contact-links p a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid #2f5f68;
    border-radius: 16px;
    color: #fff;
    font-family: "Objectivity-Bold", sans-serif;
    font-size: 1.25rem;
}

    .contact-links p a:hover {
        border-color: #b1f727;
        color: #fff;
        text-decoration: none;
    }

    .contact-links p a::before {
        content: "";
        flex-shrink: 0;
        width: 26px;
        height: 26px;
        background: center / contain no-repeat;
    }

    .contact-links p a[href^="tel:"]::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b1f727' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E");
    }

    .contact-links p a[href^="mailto:"]::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b1f727' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E");
    }

@media (max-width: 991.98px) {
    .gmp-row.section {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .cta-banner {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

        .cta-banner p:last-child {
            grid-column: 1;
            grid-row: auto;
            margin-top: 1.25rem;
        }
}

/* Row "cta-row": a banner row that only needs space above (the next section adds its own) */
.gmp-row.cta-row {
    padding-top: 5rem;
}

.gmp-row.band-dark h2 {
    font-size: 2.5rem;
}

/* Service cards: the link in the last paragraph is a button, pinned to the bottom so the
   buttons line up across cards of different text lengths */
.service-card {
    display: flex;
    flex-direction: column;
}

    .gmp-row.section:not(.band-dark) .service-card p:last-child {
        margin-top: auto;
        padding-top: 0.5rem;
    }

        .gmp-row.section:not(.band-dark) .service-card p:last-child a {
            display: flex;
            justify-content: center;
            width: 100%;
            align-items: center;
            height: 48px;
            padding: 0 22px;
            border-radius: 10px;
            background: #00343f;
            color: #fff;
            font-family: "Objectivity-Bold", sans-serif;
            font-size: 0.95rem;
            text-decoration: none;
        }

            .gmp-row.section:not(.band-dark) .service-card p:last-child a:hover {
                background: #b1f727;
                color: #00343f;
                text-decoration: none;
            }

/* Column "section-foot": a closing link below a section's cards, as a centered outline button */
.section-foot {
    margin-top: 1rem;
    text-align: center;
}

    .section-foot p {
        margin: 0;
    }

    .gmp-row.section:not(.band-dark) .section-foot p a {
        display: inline-flex;
        align-items: center;
        height: 52px;
        padding: 0 28px;
        border: 2px solid #00343f;
        border-radius: 10px;
        color: #00343f;
        font-family: "Objectivity-Bold", sans-serif;
        text-decoration: none;
    }

        .gmp-row.section:not(.band-dark) .section-foot p a:hover {
            background: #00343f;
            color: #fff;
            text-decoration: none;
        }

/* Service cards: lift on hover (site only - not in editor.css, so columns don't move under the
   mouse in the widget editor) */
.service-card {
    transition: transform 250ms ease;
}

    .service-card::before {
        transition: box-shadow 250ms ease;
    }

    .service-card h3::before {
        transition: background-color 250ms ease;
    }

    .service-card:hover {
        transform: translateY(-6px);
    }

        .service-card:hover::before {
            box-shadow: 0 16px 32px rgba(0, 52, 63, 0.12);
        }

        .service-card:hover h3::before {
            background-color: #b1f727;
        }

    .service-card.icon-websites:hover h3::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300343f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='13' rx='2'/%3E%3Cpath d='M8 21h8M12 17v4'/%3E%3C/svg%3E");
    }

    .service-card.icon-webapps:hover h3::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300343f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 9l-4 3 4 3M16 9l4 3-4 3M13.5 6l-3 12'/%3E%3C/svg%3E");
    }

    .service-card.icon-cms:hover h3::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300343f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19 9l-4-4L4 16z'/%3E%3Cpath d='M13.5 6.5l4 4'/%3E%3C/svg%3E");
    }

    .service-card.icon-hosting:hover h3::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300343f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='6' rx='1.5'/%3E%3Crect x='3' y='14' width='18' height='6' rx='1.5'/%3E%3Cpath d='M7 7h.01M7 17h.01'/%3E%3C/svg%3E");
    }

@media (prefers-reduced-motion: reduce) {
    .service-card,
    .service-card::before,
    .service-card h3::before {
        transition: none;
    }

        .service-card:hover {
            transform: none;
        }
}


/* Portfolio page cards (Portfolio.cshtml) - the .work-card look from Home's "Recent werk". The
   project text and button sit in a teal overlay that fades in over the image on hover or
   keyboard focus; on touch screens (no hover) they show below the image instead. */
.portfolio-card {
    margin-bottom: 0;
}

    .portfolio-card h3 {
        margin: 0;
    }

.portfolio-media {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 1rem;
}

    .portfolio-media img {
        display: block;
        margin: 0;
        border-radius: 0;
        transition: transform 450ms ease;
    }

.portfolio-overlay {
    position: absolute;
    inset: 0;
    padding: 2rem;
    background: rgba(0, 52, 63, 0.92);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
    opacity: 0;
    transition: opacity 300ms ease;
}

    .portfolio-overlay > * {
        transform: translateY(12px);
        transition: transform 350ms ease;
    }

    .portfolio-overlay .work-card-text p {
        margin: 0;
    }

    .portfolio-overlay .work-card-button a {
        display: inline-flex;
        align-items: center;
        height: 48px;
        padding: 0 22px;
        border-radius: 10px;
        background: #b1f727;
        color: #00343f;
        font-family: "Objectivity-Bold", sans-serif;
        font-size: 0.95rem;
    }

        .portfolio-overlay .work-card-button a:hover {
            background: #fff;
            color: #00343f;
            text-decoration: none;
        }

.portfolio-card:hover .portfolio-overlay,
.portfolio-card:focus-within .portfolio-overlay {
    opacity: 1;
}

    .portfolio-card:hover .portfolio-overlay > *,
    .portfolio-card:focus-within .portfolio-overlay > * {
        transform: none;
    }

.portfolio-card:hover .portfolio-media img {
    transform: scale(1.06);
}

/* Touch screens: no hover, so the text and button go below the image */
@media (hover: none) {
    .portfolio-media img {
        border-radius: 16px;
    }

    .portfolio-overlay {
        position: static;
        opacity: 1;
        padding: 1rem 0 0;
        background: none;
        color: #2c5159;
        gap: 1rem;
        order: 2;
    }

        .portfolio-overlay > * {
            transform: none;
        }

        .portfolio-overlay .work-card-button a {
            background: #00343f;
            color: #fff;
        }

    .portfolio-card {
        display: flex;
        flex-direction: column;
    }

        .portfolio-card h3 {
            order: 1;
            margin-top: 1rem;
        }

    /* image, title and text become siblings, so the title can sit between image and text */
    .portfolio-media {
        display: contents;
    }
}

/* Home "Recent werk": the image lifts on hover */
.work-card:not(.portfolio-card) img {
    transition: transform 250ms ease, box-shadow 250ms ease;
}

.work-card:not(.portfolio-card):hover img {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 52, 63, 0.14);
}

@media (prefers-reduced-motion: reduce) {
    .work-card img,
    .portfolio-overlay,
    .portfolio-overlay > * {
        transition: none;
    }

    .work-card:not(.portfolio-card):hover img,
    .portfolio-card:hover .portfolio-media img {
        transform: none;
    }
}

/* Service card icon for "Modules" (four blocks) */
.service-card.icon-modules h3::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b1f727' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E");
}

.service-card.icon-modules:hover h3::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300343f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E");
}
