/* =========================================================
   SERVICES HERO
========================================================= */

.services-page-hero {
    padding: 72px 0 82px;

    background: var(--navy);

    border-bottom: 3px solid var(--blue);
}


.services-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 20px;

    color: #718793;

    font-size: 9px;
}


.services-breadcrumb a {
    color: #718793;
}


.services-breadcrumb a:hover {
    color: var(--blue);
}


.services-page-hero h1 {
    max-width: 980px;

    color: #ffffff;

    font-size: clamp(36px, 4vw, 54px);

    font-weight: 800;

    line-height: 1.08;

    text-transform: uppercase;
}


.services-page-hero h1 span {
    color: var(--blue);
}


.services-page-hero p {
    max-width: 760px;

    margin-top: 18px;

    color: #b5c6ce;

    font-size: 13.12px;

    line-height: 21.648px;
}


.service-hero-title-wrap {
    display: flex;

    align-items: flex-start;

    gap: 18px;
}


.service-page-icon {
    width: 64px;
    height: 64px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    background: var(--blue);

    font-size: 30px;
}


/* =========================================================
   INDEX INTRO
========================================================= */

.services-page-intro {
    padding: 80px 0 50px;

    background: #ffffff;
}


.services-page-intro-inner {
    max-width: 800px;

    text-align: center;
}


.services-label,
.service-feature-label {
    color: var(--blue);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.8px;

    text-transform: uppercase;
}


.services-page-intro h2 {
    margin-top: 12px;

    color: var(--navy);

    font-size: clamp(28px, 3vw, 41px);

    line-height: 1.1;
}


.services-line {
    width: 45px;
    height: 3px;

    margin: 18px auto 24px;

    background: var(--blue);
}


.services-page-intro p {
    color: #617783;

    font-size: 13.12px;

    line-height: 21.648px;
}


/* =========================================================
   INDEX CARDS
========================================================= */

.services-list-section {
    padding: 15px 0 100px;

    background: #ffffff;
}


.services-page-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;
}


.services-page-card {
    display: grid;

    grid-template-columns:
        210px minmax(0, 1fr);

    min-height: 240px;

    background: #f1f5f7;

    border: 1px solid #dfe8ec;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.services-page-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 16px 32px rgba(5, 31, 45, .12);
}


.services-page-card-image {
    position: relative;

    min-height: 240px;

    overflow: hidden;
}


.services-page-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.services-page-card-icon {
    position: absolute;

    right: 14px;
    bottom: 14px;

    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    background: var(--blue);

    font-size: 23px;
}


.services-page-card-body {
    padding: 27px;

    display: flex;

    flex-direction: column;
}


.services-page-card-body > span {
    color: var(--blue);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 1.3px;
}


.services-page-card-body h3 {
    margin-top: 8px;

    color: var(--navy);

    font-size: 18px;

    line-height: 1.25;

    text-transform: uppercase;
}


.services-page-card-body p {
    margin-top: 12px;

    color: #617783;

    font-size: 12px;

    line-height: 1.7;
}


.services-page-card-link {
    margin-top: auto;

    padding-top: 20px;

    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--blue);

    font-size: 9px;

    font-weight: 700;

    text-transform: uppercase;
}


/* =========================================================
   DETAIL LAYOUT
========================================================= */

.service-detail-section {
    padding: 90px 0 110px;

    background: #ffffff;
}


.service-detail-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr) 330px;

    gap: 65px;

    align-items: start;
}


.service-detail-content {
    min-width: 0;
}


/* =========================================================
   FEATURE BOX
========================================================= */

.service-feature-box {
    display: grid;

    grid-template-columns: 1.1fr .9fr;

    margin-bottom: 45px;

    background: #f2f6f8;

    border: 1px solid #dfe8ec;

    overflow: hidden;
}


.service-feature-image,
.service-feature-image img {
    min-height: 330px;
}


.service-feature-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


.service-feature-content {
    padding: 38px 34px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.service-feature-icon {
    width: 56px;
    height: 56px;

    display: grid;
    place-items: center;

    margin-bottom: 18px;

    background: var(--blue);

    font-size: 27px;
}


.service-feature-title {
    margin: 10px 0 14px !important;

    padding: 0 !important;

    color: var(--navy);

    font-size: 27px !important;

    line-height: 1.2;

    text-transform: uppercase;
}


.service-feature-title::after {
    display: none !important;
}


.service-feature-text {
    margin: 0 !important;

    color: rgb(74, 98, 117);

    font-size: 13.12px;

    line-height: 21.648px;
}


/* =========================================================
   RICH CONTENT
========================================================= */

.service-detail-content h2 {
    position: relative;

    margin: 44px 0 20px;

    padding-bottom: 15px;

    color: var(--navy);

    font-size: 26px;

    line-height: 1.25;

    text-transform: uppercase;
}


.service-detail-content h2::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 42px;
    height: 3px;

    background: var(--blue);
}


.service-detail-content h3 {
    margin: 28px 0 12px;

    color: var(--navy);

    font-size: 18px;

    line-height: 1.35;
}


.service-detail-content h4 {
    margin: 22px 0 10px;

    color: #274655;

    font-size: 15px;
}


.service-detail-content p {
    margin-bottom: 17px;

    color: rgb(74, 98, 117);

    font-size: 13.12px;

    line-height: 21.648px;
}


.service-detail-content ul,
.service-detail-content ol {
    margin: 5px 0 28px;

    padding: 0;

    list-style: none;
}


.service-detail-content li {
    position: relative;

    margin-bottom: 10px;

    padding-left: 22px;

    color: rgb(74, 98, 117);

    font-size: 13.12px;

    line-height: 21.648px;
}


.service-detail-content ul li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 8px;

    width: 6px;
    height: 6px;

    background: var(--blue);
}


.service-detail-content strong {
    color: #263f4c;

    font-weight: 700;
}


.service-source {
    margin-top: 40px;

    padding-top: 30px;

    border-top: 1px solid #e1e8eb;
}


/* =========================================================
   SIDEBAR
========================================================= */

.service-sidebar {
    position: sticky;

    top: 105px;

    padding: 27px 25px;

    background: #edf3f6;

    border-top: 3px solid var(--blue);
}


.service-sidebar h3 {
    margin: 0 0 10px;

    color: var(--navy);

    font-size: 17px;

    text-transform: uppercase;
}


.service-sidebar > p {
    margin-bottom: 16px;

    color: #6a808a;

    font-size: 11px;

    line-height: 1.7;
}


.service-sidebar a {
    display: flex;

    align-items: center;

    gap: 11px;

    min-height: 58px;

    padding: 11px 0;

    border-bottom:
        1px solid #d8e2e6;

    color: #405b68;

    font-size: 11.5px;

    line-height: 1.45;

    transition: .2s ease;
}


.service-sidebar a:last-child {
    border-bottom: 0;
}


.service-sidebar a:hover {
    color: var(--blue);

    padding-left: 5px;
}


.service-sidebar a.active {
    color: var(--blue);

    font-weight: 700;
}


.service-sidebar-icon {
    width: 31px;
    height: 31px;

    flex-shrink: 0;

    display: grid;

    place-items: center;

    background: #ffffff;

    border: 1px solid #d8e2e6;

    font-size: 15px;
}


.service-sidebar-text {
    flex: 1;
}


/* =========================================================
   CTA
========================================================= */

.services-page-cta {
    padding: 65px 0;

    background: var(--navy);
}


.services-page-cta-inner {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;
}


.services-page-cta h2 {
    color: #ffffff;

    font-size: 27px;
}


.services-page-cta p {
    margin-top: 8px;

    color: #8fa5af;

    font-size: 12px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .services-page-grid {
        grid-template-columns: 1fr;
    }


    .service-detail-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .service-sidebar {
        position: static;
    }


    .service-feature-box {
        grid-template-columns: 1fr;
    }


    .services-page-cta-inner {
        flex-direction: column;

        align-items: flex-start;
    }

}


@media (max-width: 650px) {

    .services-page-hero {
        padding: 52px 0 60px;
    }


    .service-hero-title-wrap {
        flex-direction: column;
    }


    .services-page-card {
        grid-template-columns: 1fr;
    }


    .services-page-card-image {
        min-height: 220px;
    }


    .service-detail-section {
        padding: 55px 0 70px;
    }


    .service-feature-image,
    .service-feature-image img {
        min-height: 230px;
    }


    .service-feature-content {
        padding: 26px 20px;
    }


    .service-feature-title {
        font-size: 22px !important;
    }


    .service-detail-content h2 {
        font-size: 22px;
    }

}