:root {
    --brand: #f7941d; /* Adjust to match your brand blue */
    --brand-accent: #57585b; /* Accent tone if needed */
    /* Header sizing */
    --logo-size-default: 91px;
    --logo-size-sticky: 50px;
    --nav-pad-default: 1rem;
    --nav-pad-sticky: .5rem;
    --bs-body-font-size: 1.1rem;
}

/* Smooth scroll everywhere */
html {
    scroll-behavior: smooth;
    /* Tell the browser to offset built-in anchor scrolling by header height */
    scroll-padding-top: var(--header-offset, 80px);
}

/* Optional: for browsers that support it, targets can define their own margin */
[id] {
    scroll-margin-top: var(--header-offset, 80px);
}

body {
    font-size: 16px;
    font-family: 'Arial';
}


.nav-link {
    font-family: PT Sans;
    display: block;
    padding: .5rem 1rem;
    color: #f7941d;
    text-decoration: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}
header .nav-link {
    color: #f7941d !important;
}
    header .nav-link:hover {
        color: #f7941d !important;
    }
.breadcrumbs a {
    font-family: PT Sans;
    padding: .5rem 0;
    color: #f7941d;
    text-decoration: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}
.breadcrumbs i {
    margin: 0 10px;
    font-size: 10px;
    position: relative;
    bottom: 1px;
    color: #57585b;
}
.breadcrumbs a:last-child {
    pointer-events: none;
}

.breadcrumbs a:last-child {
    opacity: .5;
    cursor: default;
    text-decoration: none;
    color: currentColor;
    pointer-events: none;
}

.hover-card-viper, .hover-card-apa {
    position: absolute;
    bottom: 152px;
    background: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    border: solid 1px #aaa;
    border-bottom: solid 3px #585857;
    border-radius: 5px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.25s ease;
}
.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
#cookieConsent {
    background-color: white;
    text-align: center;
    display: none;
    position: fixed;
    z-index: 65000;
    bottom: 0px;
    width: 100%;
    font-size: 14px;
    border-top: dashed 1px #ccc;
    padding-top: 6px;
    padding-bottom: 6px;
}
.hover-card-viper {
    left: 80px;
}
.hover-card-apa {
    left: 125px;
}
.member-logo img {
    max-height: 80px;
}
.arrow-down {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #585857;
    margin: 0 auto;
    position: relative;
    bottom: -28px;
    z-index: 1;
}
    @media (min-width: 1200px) {
        .h2, h2 {
            font-size: 24px;
            font-weight:600;
        }
    }

    @media (min-width: 768px) {
        html {
            font-size: 16px;
        }
    }

    .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;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

h1, h2, h3, h4, h5 {
    color: #f7941d;
}

.article-title{
    margin-bottom:1rem
}

.site-header {
    transition: box-shadow .25s ease;
    will-change: box-shadow;
    z-index: 1030; /* above content */
    background: #fff;
}

    .site-header .navbar {
        padding-block: var(--nav-pad-default);
        transition: padding .25s ease;
    }

    .site-header .navbar-brand img#site-logo {
        display: block;
        height: var(--logo-size-default);
        width: auto;
        transition: height .25s ease, transform .25s ease, filter .25s ease;
        transform-origin: left center;
    }

    .site-header.is-scrolled .navbar {
        padding-block: var(--nav-pad-sticky);
    }

    .site-header.is-scrolled {
        box-shadow: 0 6px 20px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.06);
    }

        .site-header.is-scrolled .navbar-brand img#site-logo {
            height: var(--logo-size-sticky);
            /* optional micro-scale compensation for subpixel jitter on some browsers */
            transform: translateZ(0);
        }
#hero {
    background: url("/img/NNASiteHeader.jpg") no-repeat 85% 50% / cover;
    position: relative;
    color: #fff;
    min-height: 350px;
}

    #hero.hero-overlay.gradient::before {
        content: "";
        position: absolute;
        inset: 0;
        /*background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.50) 38%, rgba(0,0,0,.28) 62%, rgba(0,0,0,0) 100%);*/
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.32) 38%, rgba(0, 0, 0, 0.18) 62%, rgba(0, 0, 0, 0) 100% );
        pointer-events: none;
    }
    #hero .display-5 {
        text-shadow: 0 2px 10px rgba(0,0,0,.65);
    }

    #hero .lead {
        text-shadow: 0 1px 6px rgba(0,0,0,.6);
    }
.counter-icon img {
    max-height: 80px;
    width: auto;
}
.vehicle-concept {
    max-height: 200px;
}
.header1 {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    background: #f7941d url('../img/pattern-1024x665-1.png');
    color: white;
    font-family: Oswald;
    font-size: 26px;
    font-weight: 400;
    font-style: normal;
}



.navbar .nav-link.active {
    color: var(--brand) !important;
    font-weight: 600;
}

.brand-mark {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: var(--brand-accent);
    display: inline-block;
    vertical-align: middle;
}

/* Counters */
.counter-card {
    background: rgba(255,255,255,0.12);
    border-radius: .75rem;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.15);
}

.counter-value {
    font-size: 1.75rem;
    line-height: 1;
}

.counter-label {
    opacity: .85;
    font-size: 1.75rem;
    margin-top: 12px;
    margin-bottom: 18px;
    color: #f7941d;
}

/* Member grid placeholders (swap with real logos later) */
.member-card {
    background: #fff;
    border-radius: .75rem;
    border: 1px solid #eee;
    position: relative;
}

    .member-card .stretched-link {
        position: relative;
        z-index: 1;
    }

.member-logo {
    display: grid;
    place-items: center;
    border-radius: .5rem;
    color: #6b7785;
    font-weight: 700;
    letter-spacing: .5px;
}

/* Utilities */
footer .brand-mark {
    background: var(--brand);
}

.btn-primary {
    background-color: var(--brand);
    border-color: var(--brand);
}

    .btn-primary:hover {
        filter: brightness(.95);
        color: #f7f7f7;
        border-color: #e08700;
        background-color: #e08700;
    }

.btn-secondary {
    background-color: var(--brand-accent);
    border: 0;
}

    .btn-secondary:hover {
        filter: brightness(.95);
        color: #f7f7f7;
        border-color: #e08700;
        background-color: #e08700;
        border-radius: 4px;
    }

.card-img-top {
    object-fit: cover;
    height: 180px;
}
@media (max-width: 1399px) {
    .hover-card-viper {
        left: 55px;
    }
    .hover-card-apa {
        left: 100px;
    }
}
@media (max-width: 1199px) {
    .hover-card-viper {
        left: 26px;
    }

    .hover-card-apa {
        left: 70px;
    }
}
@media (max-width: 991px) {
    .hover-card-viper {
        left: 0px;
        bottom: 140px;
    }

    .hover-card-apa {
        left: 25px;
        bottom: 140px;
    }

    #hero {
        background-position: 90% 50%;
    }
}
@media (max-width: 767px) {
    .hover-card-viper {
        left: 5px;
        bottom: 150px;
    }

    .hover-card-apa {
        left: 45px;
        bottom: 150px;
    }

    #hero {
        background-position: 67% 0%;
    }
}
@media (max-width: 350px) {
    .hover-card-viper {
        left: 5px;
        bottom: 135px;
    }

    .hover-card-apa {
        left: -15px;
        bottom: 135px;
    }
}