/* Reference-style service detail pages */
.service-detail-banner,
.service-detail-body {
    font-family: "Mulish", sans-serif;
}

.service-detail-banner :is(h1, h2, h3, a, strong),
.service-detail-body :is(h1, h2, h3, h4, a, strong) {
    font-family: "Karla", sans-serif;
}

.service-detail-banner {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: end;
    padding: 145px 0 66px;
    overflow: hidden;
    isolation: isolate;
    background: #061725;
    color: #fff;
}

.service-banner-media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-position: center;
    background-size: cover;
    transform: scale(1.04);
}

.service-detail-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(3, 18, 30, .94), rgba(5, 35, 53, .72) 54%, rgba(5, 35, 53, .42)),
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: auto, 48px 48px, 48px 48px;
}

.service-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, .58);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.service-breadcrumb a {
    color: rgba(255, 255, 255, .78);
}

.service-breadcrumb a:hover,
.service-breadcrumb strong {
    color: #f18219;
}

.service-detail-banner h1 {
    max-width: 880px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.55rem, 5.4vw, 4rem);
    font-weight: 600;
    line-height: .98;
    letter-spacing: 0;
    text-transform: capitalize;
    text-shadow: 0 18px 46px rgba(0, 0, 0, .34);
}

.service-detail-body {
    padding: 55px 0 92px;
    background: #fff;
}

.service-image-carousel {
    overflow: hidden;
    border: 1px solid #dce7ed;
    border-radius: 2px;
    background: #eef5f8;
    box-shadow: 0 18px 42px rgba(7, 52, 75, .12);
}

.service-image-carousel .carousel-item {
    height: clamp(255px, 34vw, 425px);
}

.service-image-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-image-carousel .carousel-control-prev,
.service-image-carousel .carousel-control-next {
    width: 56px;
    opacity: 1;
}

.service-image-carousel .carousel-control-prev-icon,
.service-image-carousel .carousel-control-next-icon {
    width: 42px;
    height: 42px;
    border-radius: 0;
    background-color: rgba(5, 31, 48, .82);
    background-size: 46%;
}

.service-content-layout {
    display: grid;
    grid-template-columns: minmax(245px, 300px) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
    margin-top: 46px;
}

.service-side-panel {
    position: sticky;
    top: 112px;
    border: 1px solid #dfe9ee;
    background: #f7fafc;
}

.service-side-panel h2 {
    margin: 0;
    padding: 19px 21px;
    background: #0b4c70;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.service-side-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-side-panel li + li {
    border-top: 1px solid #dfe9ee;
}

.service-side-panel a {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 11px;
    align-items: center;
    min-height: 54px;
    padding: 13px 16px;
    color: #23465b;
    font-size: .82rem;
    font-weight: 850;
    line-height: 1.35;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .22s ease, color .22s ease, padding .22s ease;
}

.service-side-panel a i {
    color: #e97e1e;
    font-size: 1rem;
}

.service-side-panel a:hover,
.service-side-panel a.active {
    padding-left: 20px;
    background: #fff;
    color: #0b6f9f;
}

.service-side-panel a.active {
    box-shadow: inset 4px 0 0 #e97e1e;
}

.service-article {
    min-width: 0;
}

.service-article-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #e97e1e;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.service-article h2 {
    margin: 0 0 18px;
    color: #082f49;
    font-size: clamp(2rem, 3.2vw, 3rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: 0;
    text-transform: capitalize;
}

.service-article h3 {
    margin: 0 0 15px;
    color: #123d56;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: 0;
}

.service-article p {
    margin: 0 0 17px;
    color: #5b6f7a;
    font-size: 1rem;
    line-height: 1.82;
    text-align: justify;
}

.service-article-divider {
    width: 100%;
    height: 1px;
    margin: 31px 0;
    background: linear-gradient(90deg, #dce8ee, transparent);
}

.service-scope-grid {
    display: grid;
    gap: 22px;
    margin-top: 27px;
}

.service-scope-block {
    padding-bottom: 23px;
    border-bottom: 1px solid #e2ebf0;
}

.service-scope-block h4 {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 12px;
    color: #092d49;
    font-size: 1.16rem;
    font-weight: 900;
    letter-spacing: 0;
}

.service-scope-block h4 i {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    background: #0b75a8;
    color: #fff;
    font-size: .98rem;
}

.service-scope-block ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-scope-block li {
    position: relative;
    padding-left: 24px;
    color: #506873;
    font-size: .96rem;
    line-height: 1.7;
}

.service-scope-block li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 8px;
    height: 8px;
    border: 2px solid #e97e1e;
    background: #fff;
}

.service-case-study {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 40px;
    padding: 25px 28px;
    border-left: 5px solid #e97e1e;
    background: #eef6fb;
}

.service-case-study span {
    display: block;
    margin-bottom: 7px;
    color: #e97e1e;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.service-case-study h3 {
    max-width: 740px;
    margin: 0;
    color: #092d49;
    font-size: 1.22rem;
    line-height: 1.42;
}

.service-case-study a {
    display: grid;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    place-items: center;
    background: #0b4c70;
    color: #fff;
    font-size: 1.1rem;
    transition: background .22s ease, transform .22s ease;
}

.service-case-study a:hover {
    background: #e97e1e;
    color: #fff;
    transform: translateX(3px);
}

@media(max-width:991.98px) {
    .service-detail-banner {
        min-height: 370px;
        padding: 128px 0 54px;
    }

    .service-content-layout {
        grid-template-columns: 1fr;
    }

    .service-side-panel {
        position: static;
    }

    .service-side-panel ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-side-panel li + li {
        border-top: 0;
    }

    .service-side-panel li {
        border-top: 1px solid #dfe9ee;
    }

    .service-side-panel li:nth-child(odd) {
        border-right: 1px solid #dfe9ee;
    }
}

@media(max-width:575.98px) {
    .service-detail-banner {
        min-height: 330px;
        padding: 116px 0 45px;
    }

    .service-breadcrumb {
        gap: 7px;
        font-size: .66rem;
    }

    .service-detail-body {
        padding: 38px 0 68px;
    }

    .service-content-layout {
        margin-top: 32px;
    }

    .service-side-panel ul {
        grid-template-columns: 1fr;
    }

    .service-side-panel li:nth-child(odd) {
        border-right: 0;
    }

    .service-article p {
        text-align: left;
    }

    .service-case-study {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
    }
}

@media(prefers-reduced-motion:reduce) {
    .service-side-panel a,
    .service-case-study a {
        transition: none;
    }
}
