/* VINspector homepage */

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    overflow-x: hidden;
    font-family: "Roboto Slab", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    color: #212529;
}

p {
    line-height: 1.75;
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    color: #f7bf25;
    text-decoration: none;
}

a:hover { color: #fec503; }

img { max-width: 100%; height: auto; border: 0; }

::selection { background: #f7bf25; text-shadow: none; }
img::selection { background: transparent; }

.text-primary { color: #f7bf25 !important; }
.text-muted { color: #6c757d !important; }
.text-white { color: #fff !important; }
.text-black { color: #212529 !important; }
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-uppercase { text-transform: uppercase !important; }

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.bg-light { background-color: #f8f9fa !important; }
.bg-dark { background-color: #212529 !important; }

.img-fluid { max-width: 100%; height: auto; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.d-block { display: block !important; }
.rounded-circle { border-radius: 50% !important; }

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container { max-width: 540px; }
}

@media (min-width: 768px) {
    .container { max-width: 720px; }
}

@media (min-width: 992px) {
    .container { max-width: 960px; }
}

@media (min-width: 1200px) {
    .container { max-width: 1140px; }
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

[class*="col-"] {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-lg-12, .col-sm-12 { flex: 0 0 100%; max-width: 100%; }

@media (min-width: 576px) {
    .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
}

@media (min-width: 768px) {
    .col-md-3 { flex: 0 0 25%; max-width: 25%; }
    .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
}

.site-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    background-color: #000;
    padding: 14px 0;
    transition: padding-top 0.3s, padding-bottom 0.3s, background-color 0.3s;
}

.site-nav.is-transparent { background-color: transparent; }

.site-nav.is-shrink {
    padding-top: 0;
    padding-bottom: 0;
    background-color: #000;
}

.site-nav .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.site-nav .nav-brand {
    display: inline-block;
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    line-height: inherit;
}

.site-nav .nav-brand img {
    display: block;
    transition: all 0.3s;
}

.nav-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: #fff;
    background-color: #f7bf25;
    border: 0;
    padding: 14px;
    cursor: pointer;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.nav-toggle svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.nav-menu {
    display: none;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    text-transform: uppercase;
}

.nav-menu.is-open { display: flex; }

.nav-menu a {
    display: block;
    padding: 0.75em 0;
    font-size: 100%;
    font-weight: 500;
    letter-spacing: 1px;
    color: #fff;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.nav-menu a:hover,
.nav-menu a.is-active { color: #f7bf25; }

@media (min-width: 992px) {
    .site-nav {
        padding-top: 25px;
        padding-bottom: 25px;
        border: none;
    }

    .site-nav.is-transparent { background-color: transparent; }

    .site-nav.is-shrink {
        padding-top: 0;
        padding-bottom: 0;
        background-color: #000;
    }

    .nav-toggle { display: none; }

    .nav-menu {
        display: flex;
        flex-direction: row;
        width: auto;
        margin-left: auto;
    }

    .nav-menu a { padding: 1.1em 1em !important; }

    .site-nav.is-shrink .nav-brand img { padding: 12px 0; }
}

@media (max-width: 991.98px) {
    .nav-menu { order: 3; padding-top: 0.5rem; }
}

.masthead {
    text-align: center;
    color: #fff;
    background-image: url(../img/custom/inpsection-mobile.png);
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
}

.masthead .intro-text {
    padding-top: 150px;
    padding-bottom: 100px;
}

.masthead .intro-lead-in {
    font-size: 30px;
    font-style: normal;
    line-height: 30px;
    margin-bottom: 1em;
    font-weight: 400;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.masthead .intro-heading {
    font-size: 35px;
    font-weight: 700;
    line-height: 35px;
    margin-bottom: 15px;
    margin-top: 25px;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@media (min-width: 768px) {
    .masthead {
        background-image: url(../img/custom/vehicle_inpsection_with_VINspector.png);
    }

    .masthead .intro-text {
        padding-top: 300px;
        padding-bottom: 200px;
    }

    .masthead .intro-lead-in {
        font-size: 45px;
        line-height: 55px;
        margin-top: -150px;
        margin-bottom: 50px;
    }

    .masthead .intro-heading {
        font-size: 45px;
        line-height: 45px;
        margin-bottom: 35px;
        margin-top: 45px;
    }
}

.page-section {
    padding: 100px 0;
}

@media (min-width: 768px) {
    .page-section { padding: 150px 0; }
}

.page-section h2.section-heading {
    font-size: 35px;
    margin-top: 0;
    margin-bottom: 15px;
}

.page-section h3.section-subheading {
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 75px;
    text-transform: none;
    font-family: "Roboto Slab", Georgia, serif;
}

#team h4.section-subheading {
    font-weight: 400;
    font-style: normal;
    margin-bottom: 0;
    text-transform: none;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#benefits .col-md-4 {
    margin-bottom: 30px;
}

.benefit-icon {
    display: inline-block;
    position: relative;
    width: 2em;
    height: 2em;
    line-height: 2em;
    vertical-align: middle;
    font-size: 3em;
    margin-bottom: 0.25em;
}

.benefit-icon-circle {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    fill: #f7bf25;
}

.benefit-icon-symbol {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1em;
    height: 1em;
    margin-left: -0.5em;
    margin-top: -0.5em;
    fill: #fff;
}

.service-heading {
    margin: 15px 0;
    text-transform: none;
}

#portfolio .portfolio-item {
    right: 0;
    margin: 0 0 15px;
}

#portfolio .portfolio-item .portfolio-link {
    position: relative;
    display: block;
    max-width: 400px;
    margin: 0 auto;
    cursor: pointer;
}

#portfolio .portfolio-item .portfolio-caption {
    max-width: 600px;
    margin: 30px auto 0;
    padding: 25px;
    text-align: center;
    background-color: #fff;
}

#portfolio .portfolio-item .portfolio-caption h4 {
    margin: 0;
    text-transform: none;
}

#portfolio .portfolio-item .portfolio-caption p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@media (min-width: 767px) {
    #portfolio .portfolio-item { margin: 0 0 30px; }
}

#clients .col-md-3 {
    margin-bottom: 20px;
}

#clients .col-md-3:nth-child(n+8) {
    margin-top: 20px;
}

section#contact {
    background-color: #212529;
    background-image: url(../img/custom/map-image.png);
    background-repeat: no-repeat;
    background-position: center;
}

section#contact .section-heading {
    color: #fff;
}

section#contact h5.section-subheading {
    font-weight: 400;
    font-style: normal;
    margin-bottom: 0;
}

.footer {
    padding: 25px 0;
    text-align: center;
}

.footer span.copyright {
    font-size: 90%;
    line-height: 40px;
    text-transform: none;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.footer ul.quicklinks {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    font-size: 90%;
    line-height: 40px;
    text-transform: none;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.footer ul.quicklinks li {
    display: inline-block;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}

@media (min-width: 768px) {
    .footer { text-align: left; }
    .footer .col-md-4:last-child { text-align: right; }
    .footer ul.quicklinks { margin-bottom: 0; }
}

.legal-spacer {
    min-height: 150px;
    background-color: #000;
}

.legal-content h3.section-heading {
    margin-bottom: 2rem;
}

.legal-content h4 {
    color: #6c757d;
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content h5,
.legal-content h6 {
    color: #6c757d;
    font-weight: 700;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.legal-content h6 {
    font-size: 1rem;
}
