html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@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;
}


/* =========================================================
   Nexus Adaptive Solutions
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    color: #18202a;
    background: #ffffff;
}


/* ---------------------------------------------------------
   Navigation
   --------------------------------------------------------- */

.navbar {
    min-height: 82px;
    margin-bottom: 0 !important;
}

.nexus-logo {
    width: auto;
    height: 54px;
    max-width: 240px;
    object-fit: contain;
}

.navbar .nav-link {
    font-weight: 500;
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
}

.navbar .dropdown-menu {
    border: 0;
    border-radius: 0;
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.10);
    padding: 0.75rem 0;
}

.navbar .dropdown-item {
    padding: 0.65rem 1.25rem;
}


/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.nexus-hero {
    padding: 7rem 0;
    background: linear-gradient( 120deg, #f8f9fa 0%, #ffffff 55%, #eef1f4 100% );
}

.min-vh-75 {
    min-height: 70vh;
}

.nexus-hero h1 {
    max-width: 1000px;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.nexus-hero-copy {
    max-width: 850px;
}

.nexus-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}


/* ---------------------------------------------------------
   General sections
   --------------------------------------------------------- */

.nexus-section {
    padding: 6rem 0;
}

.nexus-section-intro {
    max-width: 800px;
}

.nexus-section h2 {
    letter-spacing: -0.025em;
}


/* ---------------------------------------------------------
   Platform cards
   --------------------------------------------------------- */

.nexus-platform-card {
    display: block;
    height: 100%;
    padding: 2rem;
    color: inherit;
    text-decoration: none;
    border: 1px solid #dee2e6;
    background: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .nexus-platform-card:hover {
        color: inherit;
        transform: translateY(-5px);
        border-color: #adb5bd;
        box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.08);
    }

    .nexus-platform-card h3 {
        font-size: 1.25rem;
        margin: 1rem 0;
    }

.platform-number,
.service-number {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}


/* ---------------------------------------------------------
   Services
   --------------------------------------------------------- */

.nexus-service-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .nexus-service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.12) !important;
    }

    .nexus-service-card a {
        font-weight: 600;
        color: #18202a;
        text-decoration: none;
    }


/* ---------------------------------------------------------
   Capability flow
   --------------------------------------------------------- */

.nexus-dark-section {
    background: #161b22;
    padding: 7rem 0;
}

.nexus-flow {
    max-width: 360px;
    margin: 0 auto;
    text-align: center;
}

    .nexus-flow div {
        padding: 0.9rem 1rem;
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: #ffffff;
        font-weight: 700;
        letter-spacing: 0.12em;
    }

    .nexus-flow span {
        display: block;
        color: rgba(255, 255, 255, 0.6);
        padding: 0.4rem 0;
    }


/* ---------------------------------------------------------
   Insights
   --------------------------------------------------------- */

.nexus-featured-insight,
.nexus-question-card {
    height: 100%;
    padding: 3rem;
    background: #f8f9fa;
}

.nexus-question-card {
    border: 1px solid #dee2e6;
    background: #ffffff;
}

    .nexus-question-card a {
        color: #18202a;
        font-weight: 600;
        text-decoration: none;
    }


/* ---------------------------------------------------------
   Final CTA
   --------------------------------------------------------- */

.nexus-cta {
    padding: 6rem 0;
    background: #161b22;
    color: #ffffff;
}


/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

.nexus-footer {
    background: #f8f9fa;
}

.nexus-footer-logo {
    height: 45px;
    width: auto;
    max-width: 220px;
}

.nexus-footer h6 {
    font-weight: 700;
}

.nexus-footer a {
    color: #495057;
    text-decoration: none;
}

    .nexus-footer a:hover {
        color: #000000;
    }


/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 991.98px) {

    .nexus-logo {
        height: 44px;
        max-width: 200px;
    }

    .nexus-hero {
        padding: 4rem 0;
    }

        .nexus-hero h1 {
            font-size: 2.8rem;
        }

    .min-vh-75 {
        min-height: auto;
    }

    .nexus-section,
    .nexus-dark-section,
    .nexus-cta {
        padding: 4rem 0;
    }

    .navbar-nav {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

@media (max-width: 575.98px) {

    .nexus-hero h1 {
        font-size: 2.3rem;
    }

    .nexus-featured-insight,
    .nexus-question-card {
        padding: 2rem;
    }
}
