/*
 * STheme4 signature UI layer.
 * Loaded after the legacy theme styles so these components keep their own
 * visual identity without changing Admin-managed content contracts.
 */

/* Header: preserve the white/red identity while improving navigation clarity. */
.header-area-v1 .header-navigation,
.header-area-v1 .main-menu > ul > li > a,
.header-area-v1 .brand-logo img,
.header-area-v1 .header-navigation .nav-tools .icon {
    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        padding 220ms ease,
        width 220ms ease,
        height 220ms ease,
        max-width 220ms ease;
}

.header-area-v1 .site-branding,
.header-area-v1 .brand-logo,
.header-area-v1 .brand-logo > a {
    display: flex;
    align-items: center;
}

.header-area-v1 .brand-logo > a,
.header-area-v1 .main-menu a,
.header-area-v1 button {
    -webkit-tap-highlight-color: transparent;
}

.header-area-v1 .brand-logo > a:focus-visible,
.header-area-v1 .main-menu a:focus-visible,
.header-area-v1 button:focus-visible {
    z-index: 3;
    outline: 3px solid rgba(208, 11, 43, 0.28);
    outline-offset: 3px;
}

.header-area-v1 .main-menu > ul > li > a {
    position: relative;
    letter-spacing: -0.01em;
}

.header-area-v1 .main-menu > ul > li > a::before {
    position: absolute;
    right: clamp(7px, 0.7vw, 11px);
    bottom: 17px;
    left: clamp(7px, 0.7vw, 11px);
    height: 3px;
    content: "";
    background: #d00b2b;
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

.header-area-v1 .main-menu > ul > li:hover > a,
.header-area-v1 .main-menu > ul > li:focus-within > a,
.header-area-v1 .main-menu > ul > li > a.active {
    color: #d00b2b;
}

.header-area-v1 .main-menu > ul > li:hover > a::before,
.header-area-v1 .main-menu > ul > li:focus-within > a::before,
.header-area-v1 .main-menu > ul > li > a.active::before {
    transform: scaleX(1);
}

.header-area-v1 .main-menu > ul > li.menu-item-has-children > a::after {
    color: currentColor;
    transition: color 180ms ease, transform 180ms ease;
}

.header-area-v1 .main-menu > ul > li.menu-item-has-children:hover > a::after,
.header-area-v1 .main-menu > ul > li.menu-item-has-children:focus-within > a::after {
    color: #d00b2b;
    transform: rotate(180deg);
}

.header-area-v1 .mobile-menu-heading {
    display: none;
}

.header-area-v1 .offcanvas-panel {
    background-color: rgba(4, 28, 24, 0.64);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.header-area-v1 .offcanvas-panel .offcanvas-panel-inner {
    width: min(420px, 100%);
    max-width: 420px;
    padding: 34px clamp(24px, 3vw, 40px) 42px;
    background:
        linear-gradient(180deg, rgba(208, 11, 43, 0.035), transparent 180px),
        #fff;
    box-shadow: -18px 0 50px rgba(4, 28, 24, 0.2);
    scrollbar-width: thin;
}

.header-area-v1 .offcanvas-panel .panel-logo {
    padding-right: 58px;
}

.header-area-v1 .offcanvas-panel .panel-logo img {
    width: auto;
    max-width: 200px;
    max-height: 58px;
    object-fit: contain;
}

.header-area-v1 .offcanvas-panel .panel-widget-title {
    border-bottom-width: 1px;
}

.header-area-v1 .offcanvas-panel .panel-widget-title::after {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 52px;
    height: 3px;
    content: "";
    background: #d00b2b;
    border-radius: 999px;
}

.header-area-v1 .offcanvas-panel .about-us p,
.header-area-v1 .offcanvas-panel .contact-us li,
.header-area-v1 .offcanvas-panel .contact-us a {
    color: #4b5c56;
}

.header-area-v1 .offcanvas-panel .contact-us a {
    overflow-wrap: anywhere;
}

.header-area-v1 .offcanvas-panel .contact-us ul li {
    min-height: 42px;
    padding-left: 56px;
}

.header-area-v1 .offcanvas-panel .contact-us ul li i {
    background: #d00b2b;
    box-shadow: 0 8px 20px rgba(208, 11, 43, 0.2);
}

.header-area-v1 .offcanvas-panel .panel-close {
    top: 18px;
    right: clamp(18px, 2.5vw, 30px);
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    color: #b30925;
    background: #fff0f3 !important;
    border: 1px solid rgba(208, 11, 43, 0.14) !important;
    border-radius: 13px;
    font-size: 20px;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.header-area-v1 .offcanvas-panel .panel-close:hover {
    color: #fff;
    background: #d00b2b !important;
    transform: rotate(4deg);
}

@media (min-width: 1400px) {
    .header-area-v1 .main-menu > ul > li > a {
        font-size: clamp(14px, 0.98vw, 15px);
    }

    .header-area-v1 .main-menu > ul > li > .sub-menu {
        top: calc(100% + 10px);
        width: 230px;
        padding: 8px;
        overflow: hidden;
        background: #fff;
        border: 1px solid rgba(27, 50, 85, 0.1);
        border-top: 3px solid #d00b2b;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 20px 45px rgba(27, 50, 85, 0.16);
        transform: translateY(8px);
        transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
    }

    .header-area-v1 .main-menu > ul > li:hover > .sub-menu,
    .header-area-v1 .main-menu > ul > li:focus-within > .sub-menu {
        top: 100%;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .header-area-v1 .main-menu > ul > li > .sub-menu li a {
        display: flex;
        min-height: 43px;
        padding: 10px 12px;
        align-items: center;
        color: #263a34;
        background: transparent;
        border: 0;
        border-radius: 9px;
        line-height: 1.4;
    }

    .header-area-v1 .main-menu > ul > li > .sub-menu li a:hover,
    .header-area-v1 .main-menu > ul > li > .sub-menu li a:focus-visible,
    .header-area-v1 .main-menu > ul > li > .sub-menu li a.active {
        padding-left: 16px;
        color: #b30925;
        background: #fff0f3;
    }

    .header-area-v1 .header-navigation.sticky .main-menu > ul > li > a {
        padding-top: 27px;
        padding-bottom: 27px;
    }

    .header-area-v1 .header-navigation.sticky .main-menu > ul > li > a::before {
        bottom: 11px;
    }

    .header-area-v1 .header-navigation.sticky .brand-logo img {
        max-width: 180px;
        max-height: 50px;
    }

    .header-area-v1 .header-navigation.sticky .nav-tools .icon {
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 1399.98px) {
    .header-area-v1 .header-navigation {
        padding: 12px 0;
    }

    .header-area-v1 .header-navigation > .container-fluid > .row {
        flex-wrap: nowrap;
    }

    .header-area-v1 .header-logo-column {
        flex: 0 0 50%;
        width: 50%;
        padding-right: 8px;
    }

    .header-area-v1 .header-menu-column {
        flex: 0 0 50%;
        width: 50%;
    }

    .header-area-v1 .header-tools-column {
        display: none !important;
    }

    .header-area-v1 .brand-logo img {
        max-width: min(195px, 47vw);
        max-height: 52px;
    }

    .header-area-v1 .header-navigation .navbar-toggler {
        display: flex;
        width: 46px;
        height: 46px;
        margin-left: auto;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        background: #f7f9f8;
        border: 1px solid rgba(27, 50, 85, 0.1);
        border-radius: 14px;
        transition: opacity 180ms ease, background-color 180ms ease, border-color 180ms ease;
    }

    .header-area-v1 .header-navigation .navbar-toggler:hover,
    .header-area-v1 .header-navigation .navbar-toggler:focus-visible {
        background: #fff0f3;
        border-color: rgba(208, 11, 43, 0.2);
    }

    .header-area-v1 .header-navigation .navbar-toggler.active {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .header-area-v1 .header-navigation .navbar-toggler span {
        width: 25px;
        height: 3px;
        margin-top: 4px;
        background: #172a24;
    }

    .header-area-v1 .header-navigation .navbar-toggler span:first-child {
        margin-top: 0;
    }

    .header-area-v1 .header-navigation.breakpoint-on .nav-menu {
        left: 0;
        width: min(340px, 90vw);
        padding-top: 66px;
        overflow-x: hidden;
        overflow-y: auto;
        background: #fff;
        border-radius: 0 18px 18px 0;
        box-shadow: none;
        transform: translateX(-105%);
        transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 200ms ease;
        scrollbar-width: thin;
    }

    .header-area-v1 .header-navigation.breakpoint-on .nav-menu.menu-on {
        left: 0;
        box-shadow:
            18px 0 42px rgba(4, 28, 24, 0.22),
            100vw 0 0 100vw rgba(4, 28, 24, 0.54);
        transform: translateX(0);
    }

    .header-area-v1 .mobile-menu-heading {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        display: flex;
        height: 66px;
        padding: 0 76px 0 20px;
        align-items: center;
        color: #172a24;
        background: linear-gradient(90deg, #fff, #fff7f8);
        border-bottom: 1px solid rgba(27, 50, 85, 0.08);
        font-size: 18px;
        font-weight: 700;
        letter-spacing: -0.01em;
    }

    .header-area-v1 .mobile-menu-heading::before {
        width: 4px;
        height: 22px;
        margin-right: 10px;
        content: "";
        background: #d00b2b;
        border-radius: 999px;
    }

    .header-area-v1 .header-navigation .navbar-close {
        top: 10px;
        right: 10px;
        display: grid;
        width: 46px;
        height: 46px;
        padding: 0;
        place-items: center;
        background: #d00b2b;
        border-radius: 13px;
        box-shadow: 0 9px 22px rgba(208, 11, 43, 0.2);
    }

    .header-area-v1 .header-navigation .navbar-close .cross-wrap {
        width: 25px;
        height: 25px;
    }

    .header-area-v1 .header-navigation .navbar-close .cross-wrap span.top {
        top: 12px;
    }

    .header-area-v1 .header-navigation .navbar-close .cross-wrap span.bottom {
        bottom: 11px;
    }

    .header-area-v1 .header-navigation.breakpoint-on .main-menu > ul {
        display: block;
        width: 100%;
        padding: 8px 10px 30px;
    }

    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li {
        width: 100%;
        margin: 3px 0;
        overflow: hidden;
        border: 0;
        border-radius: 11px;
    }

    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li > a {
        display: flex;
        min-height: 50px;
        padding: 13px 52px 13px 16px;
        align-items: center;
        color: #172a24 !important;
        background: transparent;
        border: 0;
        border-radius: 10px;
        font-size: 15px;
        line-height: 1.35;
    }

    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li > a::before,
    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li > a::after {
        display: none;
    }

    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li > a:hover,
    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li > a:focus-visible,
    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li > a.active {
        color: #b30925 !important;
        background: #fff0f3;
        box-shadow: inset 4px 0 #d00b2b;
    }

    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li > .dd-trigger {
        top: 0;
        right: 0;
        display: grid;
        width: 50px;
        height: 50px;
        place-items: center;
        color: #172a24;
        border: 0;
        border-radius: 10px;
        line-height: 1;
    }

    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li > .dd-trigger i {
        transition: transform 180ms ease;
    }

    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li.active > .dd-trigger {
        color: #b30925;
        background: rgba(208, 11, 43, 0.07);
    }

    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li.active > .dd-trigger i {
        transform: rotate(180deg);
    }

    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li > .sub-menu {
        width: auto;
        margin: 0 8px 8px;
        padding: 5px;
        overflow: hidden;
        background: #f7f9f8;
        border-left: 3px solid rgba(208, 11, 43, 0.48);
        border-radius: 9px;
    }

    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li > .sub-menu li {
        overflow: hidden;
        border: 0;
        border-radius: 7px;
    }

    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li > .sub-menu li a {
        display: flex;
        min-height: 44px;
        padding: 10px 13px 10px 17px;
        align-items: center;
        color: #455650;
        border: 0;
        border-radius: 7px;
        line-height: 1.35 !important;
    }

    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li > .sub-menu li a:hover,
    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li > .sub-menu li a:focus-visible,
    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li > .sub-menu li a.active {
        color: #b30925;
        background: #fff;
    }
}

@media (max-width: 479.98px) {
    .header-area-v1 .offcanvas-panel .offcanvas-panel-inner {
        padding-right: 22px;
        padding-left: 22px;
    }
}

/* Homepage banners: one Admin-provided image variant per viewport. */
.responsive-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #eaf1ef;
}

.responsive-banner .responsive-banner__slider {
    width: 100%;
    margin: 0;
    box-shadow: none;
}

.responsive-banner .responsive-banner__slider--desktop {
    display: block;
}

.responsive-banner .responsive-banner__slider--mobile {
    display: none;
}

.responsive-banner .nivo-main-image {
    width: 100% !important;
    height: auto !important;
}

.responsive-banner .nivo-directionNav button,
.responsive-banner .nivo-directionNav a {
    position: absolute;
    top: 50%;
    display: block;
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: #fff;
    background-color: rgba(6, 61, 52, 0.92);
    background-image: none !important;
    background-position: center !important;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    box-shadow: 0 5px 18px rgba(2, 28, 24, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    opacity: 0;
    outline: 0;
    font-size: 0;
    line-height: 0;
    text-indent: 0 !important;
    transform: translateY(-50%);
    transition: opacity 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
    -webkit-appearance: none;
    appearance: none;
}

.responsive-banner .nivo-prevNav {
    left: 18px;
}

.responsive-banner .nivo-nextNav {
    right: 18px;
}

.responsive-banner .nivoSlider:hover .nivo-directionNav button,
.responsive-banner .nivoSlider:hover .nivo-directionNav a,
.responsive-banner .nivoSlider:focus-within .nivo-directionNav button,
.responsive-banner .nivoSlider:focus-within .nivo-directionNav a,
.responsive-banner .nivo-directionNav button:focus-visible,
.responsive-banner .nivo-directionNav a:focus-visible {
    opacity: 1;
}

.responsive-banner .nivo-directionNav button:hover,
.responsive-banner .nivo-directionNav a:hover,
.responsive-banner .nivo-directionNav button:focus-visible,
.responsive-banner .nivo-directionNav a:focus-visible {
    color: #fff;
    background-color: #b30925;
    border-color: #fff;
    box-shadow: 0 6px 20px rgba(2, 28, 24, 0.38), 0 0 0 4px rgba(242, 201, 76, 0.32);
}

.responsive-banner .nivo-directionNav button:focus-visible,
.responsive-banner .nivo-directionNav a:focus-visible {
    outline: 3px solid #f2c94c;
    outline-offset: 3px;
}

.responsive-banner .nivo-directionNav button::before,
.responsive-banner .nivo-directionNav a::before {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 11px;
    height: 14px;
    content: "";
    background: currentColor;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transform-origin: center;
}

.responsive-banner .nivo-prevNav::before {
    clip-path: polygon(100% 0, 0 50%, 100% 100%, 100% 72%, 44% 50%, 100% 28%);
}

.responsive-banner .nivo-nextNav::before {
    clip-path: polygon(0 0, 100% 50%, 0 100%, 0 72%, 56% 50%, 0 28%);
}

@media (max-width: 767.98px) {
    .responsive-banner .responsive-banner__slider--desktop {
        display: none;
    }

    .responsive-banner .responsive-banner__slider--mobile {
        display: block;
    }

    .responsive-banner .nivo-directionNav button,
    .responsive-banner .nivo-directionNav a {
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        opacity: 1;
    }

    .responsive-banner .nivo-prevNav {
        left: 10px;
    }

    .responsive-banner .nivo-nextNav {
        right: 10px;
    }
}

@media (hover: none), (pointer: coarse) {
    .responsive-banner .nivo-directionNav button,
    .responsive-banner .nivo-directionNav a {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .responsive-banner .nivo-directionNav button,
    .responsive-banner .nivo-directionNav a {
        transition: none;
    }
}

/*
 * Image Gallery / Album
 * Keep Admin-managed media responsive while presenting every gallery image
 * in a consistent square frame on desktop and mobile.
 */
.innerpage-main-wrapper .hvr-glow.border-light img.imageheight270,
.innerpage-main-wrapper .hvr-glow.border-light img.imageheight270-135 {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1 / 1;
    object-fit: cover !important;
    object-position: center !important;
}

/* Inner pages: asymmetric editorial banner with resilient long-title wrapping. */
.banner-area {
    position: relative;
    display: flex;
    min-height: clamp(238px, 19vw, 282px) !important;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    background-color: #063d34;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    border-bottom: 6px solid #f2c94c;
    box-shadow: 0 18px 48px rgba(5, 54, 46, 0.13);
}

.banner-area::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    content: "";
    background:
        radial-gradient(circle at 82% 18%, rgba(242, 201, 76, 0.28), transparent 22rem),
        linear-gradient(
            105deg,
            rgba(3, 37, 32, 0.98) 0%,
            rgba(4, 62, 52, 0.95) 42%,
            rgba(8, 127, 105, 0.8) 73%,
            rgba(4, 53, 45, 0.88) 100%
        );
    pointer-events: none;
}

.banner-area::after {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(46%, 650px);
    height: auto;
    content: "";
    opacity: 0.72;
    background:
        radial-gradient(circle at 76% 48%, rgba(242, 201, 76, 0.22) 0 8px, transparent 9px),
        radial-gradient(circle at 76% 48%, transparent 0 68px, rgba(255, 255, 255, 0.1) 69px 70px, transparent 71px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 42px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 42px);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
    pointer-events: none;
}

.banner-area .banner-text {
    position: relative !important;
    z-index: 2 !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: clamp(48px, 5.4vw, 70px) 0;
    transform: none !important;
}

.banner-area .banner-text .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
}

.banner-area .banner-heading {
    width: min(820px, 74vw);
    max-width: 100%;
    padding: 0 0 0 clamp(22px, 2.3vw, 32px) !important;
    border-left: clamp(4px, 0.4vw, 6px) solid #f2c94c;
    text-align: left !important;
}

.banner-area .banner-heading::before {
    display: block;
    width: 60px;
    height: 5px;
    margin-bottom: 16px;
    content: "";
    background:
        linear-gradient(
            90deg,
            #f2c94c 0 62%,
            rgba(255, 255, 255, 0.34) 62% 74%,
            rgba(255, 255, 255, 0.16) 74% 100%
        );
    border-radius: 999px;
}

.banner-area .banner-title {
    max-width: 820px;
    margin: 0 0 18px;
    overflow-wrap: anywhere;
    color: #fff !important;
    font-size: clamp(38px, 4.6vw, 62px) !important;
    font-weight: 700 !important;
    line-height: 1.06 !important;
    letter-spacing: -0.045em;
    text-align: left;
    text-shadow: 0 8px 30px rgba(2, 29, 25, 0.24);
    text-transform: none !important;
    text-wrap: balance;
}

.banner-area .breadcrumb {
    display: flex;
    width: fit-content;
    max-width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 9px 14px !important;
    align-items: center;
    justify-content: flex-start !important;
    flex-wrap: wrap;
    gap: 2px 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    line-height: 1.35;
    text-transform: none !important;
}

.banner-area .breadcrumb li a,
.banner-area .breadcrumb .breadcrumb-item,
.banner-area .breadcrumb li a:focus,
.banner-area .breadcrumb li a:hover {
    color: rgba(255, 255, 255, 0.84) !important;
}

.banner-area .breadcrumb .breadcrumb-item.active {
    color: #fff !important;
}

.banner-area .breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    padding-right: 8px;
    color: #f2c94c !important;
    content: "›";
    font-weight: 700;
}

.banner-area .breadcrumb li a {
    text-decoration: none;
    text-underline-offset: 4px;
}

.banner-area .breadcrumb li a:hover {
    color: #fff !important;
    text-decoration: underline;
}

.banner-area .breadcrumb li a:focus-visible {
    outline: 2px solid #f2c94c;
    outline-offset: 3px;
    border-radius: 3px;
}

@media (max-width: 767.98px) {
    .banner-area {
        min-height: 194px !important;
        border-bottom-width: 4px;
        box-shadow: 0 12px 32px rgba(5, 54, 46, 0.11);
    }

    .banner-area::before {
        background:
            radial-gradient(circle at 90% 18%, rgba(242, 201, 76, 0.23), transparent 14rem),
            linear-gradient(112deg, rgba(3, 37, 32, 0.98), rgba(7, 104, 87, 0.9));
    }

    .banner-area::after {
        width: 58%;
        opacity: 0.48;
        clip-path: polygon(40% 0, 100% 0, 100% 100%, 8% 100%);
    }

    .banner-area .banner-text {
        padding: 40px 0 42px;
    }

    .banner-area .banner-text .container {
        padding-right: 20px;
        padding-left: 20px;
    }

    .banner-area .banner-heading {
        width: 100%;
        padding-left: 18px !important;
        border-left-width: 4px;
    }

    .banner-area .banner-heading::before {
        width: 46px;
        height: 4px;
        margin-bottom: 12px;
    }

    .banner-area .banner-title {
        margin-bottom: 14px;
        font-size: clamp(30px, 9vw, 42px) !important;
        line-height: 1.1 !important;
        letter-spacing: -0.035em;
    }

    .banner-area .breadcrumb {
        min-height: 38px;
        padding: 8px 11px !important;
        border-radius: 16px;
        font-size: 11.5px !important;
    }
}

/* Statistics: compact, fitted icon tiles instead of the legacy circle motif. */
.stheme4-home .stheme4-statistics {
    padding: clamp(24px, 4vw, 48px) 0 clamp(72px, 8vw, 104px);
}

.stheme4-home .stheme4-statistics .fact-bg {
    position: relative;
    padding: 14px !important;
    overflow: hidden;
    background:
        radial-gradient(circle at 94% 0, rgba(242, 201, 76, 0.18), transparent 21rem),
        linear-gradient(120deg, #073e35, #0a6f5d) !important;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 30px;
    box-shadow: 0 28px 70px rgba(6, 61, 51, 0.2);
}

.stheme4-home .stheme4-statistics .fact-bg::before {
    position: absolute;
    width: 260px;
    height: 260px;
    top: -175px;
    right: -70px;
    content: "";
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    box-shadow:
        0 0 0 42px rgba(255, 255, 255, 0.03),
        0 0 0 84px rgba(255, 255, 255, 0.02);
    pointer-events: none;
}

.stheme4-home .stheme4-statistics .fact-bg > .row {
    position: relative;
    z-index: 1;
    margin: 0;
    row-gap: 0;
}

.stheme4-home .stheme4-statistics .fact-bg > .row > [class*="col-"] {
    padding: 0;
}

.stheme4-home .stheme4-statistics .counter {
    position: relative;
    z-index: 1;
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 138px;
    margin: 0;
    padding: 26px 22px;
    align-content: center;
    align-items: center;
    grid-template-areas:
        "icon value"
        "icon title";
    grid-template-columns: 58px minmax(0, 1fr);
    column-gap: 16px;
    overflow: visible;
    color: #fff;
    background: transparent;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    font-family: inherit;
    text-align: left;
}

.stheme4-home .stheme4-statistics .fact-bg > .row > [class*="col-"]:last-child .counter {
    border-right: 0;
}

.stheme4-home .stheme4-statistics .counter::before,
.stheme4-home .stheme4-statistics .counter::after {
    display: none !important;
    content: none !important;
}

.stheme4-home .stheme4-statistics .counter .counter-icon {
    position: static;
    display: grid;
    width: 52px;
    height: 52px;
    margin: 0;
    padding: 0;
    place-items: center;
    grid-area: icon;
    overflow: hidden;
    color: #093b33;
    background: #f2c94c;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(3, 33, 28, 0.2);
    font-size: 0 !important;
    line-height: 1 !important;
    text-shadow: none !important;
    transform: none;
}

.stheme4-home .stheme4-statistics .counter:hover .counter-icon {
    transform: translateY(-2px);
}

.stheme4-home .stheme4-statistics .counter .counter-icon i {
    display: block;
    width: auto;
    max-width: 24px;
    height: auto;
    max-height: 24px;
    color: #093b33;
    font-size: 21px !important;
    line-height: 1 !important;
    text-shadow: none !important;
}

.stheme4-home .stheme4-statistics .counter .counter-value-wrap {
    display: block;
    margin: 0 0 5px;
    grid-area: value;
    color: #fff;
    font-size: clamp(28px, 2.6vw, 38px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.stheme4-home .stheme4-statistics .counter h3 {
    margin: 0;
    padding: 0;
    grid-area: title;
    color: #cfe0dc;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.08em;
    text-align: left;
    text-transform: uppercase;
}

/* Services: an image-led showcase with a real bottom action. */
.stheme4-home .stheme4-services-showcase {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(8, 127, 105, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 127, 105, 0.035) 1px, transparent 1px),
        #f8fbfa;
    background-size: 34px 34px;
}

.stheme4-home .stheme4-services-showcase::before {
    position: absolute;
    width: 310px;
    height: 310px;
    right: -165px;
    bottom: -155px;
    content: "";
    background: #f2c94c;
    border-radius: 50%;
    opacity: 0.17;
    pointer-events: none;
}

.stheme4-home .stheme4-services-showcase .container {
    position: relative;
    z-index: 1;
}

.stheme4-home .stheme4-services-showcase .owl-stage-outer {
    padding: 14px 3px 28px;
}

.stheme4-home .stheme4-service-card {
    height: 100%;
    transform: none;
}

.stheme4-home .stheme4-service-card:hover {
    transform: translateY(-7px);
}

.stheme4-home .stheme4-service-card .tpservices__item {
    position: relative;
    height: 100%;
    margin-bottom: 0 !important;
    overflow: hidden;
    background: #fff;
    border: 0;
    border-radius: 28px 28px 28px 7px;
    box-shadow: 0 16px 44px rgba(15, 55, 48, 0.11);
}

.stheme4-home .stheme4-service-card .tpservices__item::after {
    position: absolute;
    width: 4px;
    height: 64px;
    right: 0;
    bottom: 28px;
    content: "";
    background: #f2c94c;
    border-radius: 6px 0 0 6px;
}

.stheme4-home .stheme4-service-card .tpservices__thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #dceae6;
    border-radius: 28px 28px 70px 0;
}

.stheme4-home .stheme4-service-card .tpservices__thumb::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 48%, rgba(4, 45, 38, 0.3));
    pointer-events: none;
}

.stheme4-home .stheme4-service-card .tpservices__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.stheme4-home .stheme4-service-card:hover .tpservices__thumb img {
    transform: scale(1.055);
}

.stheme4-home .stheme4-service-card .tpservices__content {
    position: relative;
    display: flex;
    min-height: 255px;
    padding: 27px 26px 26px;
    flex: 1;
    flex-direction: column;
    background: #fff;
}

.stheme4-home .stheme4-service-card .tpservices__content::before {
    display: block;
    width: 42px;
    height: 4px;
    margin-bottom: 17px;
    content: "";
    background: #f2c94c;
    border-radius: 99px;
}

.stheme4-home .stheme4-service-card .tpservices__title {
    margin: 0 0 11px;
    font-size: clamp(20px, 2vw, 24px);
    line-height: 1.25;
}

.stheme4-home .stheme4-service-card .tpservices__summary {
    margin: 0 0 22px;
    color: #596b66;
    font-size: 14px;
    line-height: 1.7;
}

.stheme4-home .stheme4-service-card__button {
    display: inline-flex;
    min-height: 46px;
    margin-top: auto;
    padding: 11px 20px;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    color: #fff;
    background: #0a6555;
    border: 1px solid #0a6555;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.stheme4-home .stheme4-service-card__button:hover,
.stheme4-home .stheme4-service-card__button:focus-visible {
    color: #0b3d34;
    background: #f2c94c;
    border-color: #f2c94c;
}

/* Testimonials: solid contrast, editorial quote cards, and real profiles. */
.stheme4-home .stheme4-testimonials {
    position: relative;
    isolation: isolate;
    padding-top: clamp(76px, 8vw, 106px) !important;
    padding-bottom: clamp(92px, 9vw, 126px) !important;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(242, 201, 76, 0.2), transparent 22rem),
        linear-gradient(130deg, #062d27, #0a6656) !important;
}

.stheme4-home .stheme4-testimonials::before {
    position: absolute;
    z-index: -1;
    right: clamp(16px, 6vw, 90px);
    bottom: -130px;
    content: "“";
    color: rgba(255, 255, 255, 0.055);
    font-family: Georgia, serif;
    font-size: clamp(340px, 42vw, 620px);
    font-weight: 700;
    line-height: 0.8;
    pointer-events: none;
}

.stheme4-home .stheme4-testimonials .container {
    position: relative;
    z-index: 1;
}

.stheme4-home .stheme4-testimonials .tp-section-subtitle {
    color: #f2c94c;
}

.stheme4-home .stheme4-testimonials .tp-section-title {
    color: #fff !important;
}

.stheme4-home .stheme4-testimonials .owl-stage-outer {
    padding: 12px 3px 25px;
}

.stheme4-home .stheme4-testimonial-card {
    position: relative;
    display: flex;
    min-height: 100%;
    padding: 34px 34px 30px;
    flex-direction: column;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(242, 249, 247, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 30px 30px 30px 8px;
    box-shadow: 0 24px 60px rgba(1, 30, 25, 0.25);
}

.stheme4-home .stheme4-testimonial-card::before {
    position: absolute;
    width: 5px;
    height: 90px;
    left: 0;
    top: 34px;
    content: "";
    background: #f2c94c;
    border-radius: 0 8px 8px 0;
}

.stheme4-home .stheme4-testimonial-card .tptestimonial__info {
    display: flex;
    padding: 0;
    flex: 1;
    flex-direction: column;
    background: transparent;
    order: 1;
}

.stheme4-home .stheme4-testimonial-card .testimonial-quote-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin: 0 0 20px;
    place-items: center;
    color: #0a5f50;
    background: #f2c94c;
    border-radius: 15px;
    font-size: 20px;
    box-shadow: 0 9px 22px rgba(242, 201, 76, 0.26);
}

.stheme4-home .stheme4-testimonial-card .tptestimonial__info p {
    margin: 0;
    color: #344d47;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(17px, 1.5vw, 20px);
    font-style: italic;
    line-height: 1.72;
}

.stheme4-home .stheme4-testimonial-card .tptestimonial__avatar {
    position: static;
    display: flex;
    margin-top: 27px;
    padding: 22px 0 0;
    align-items: center;
    gap: 14px;
    border-top: 1px solid #dce9e5;
    order: 2;
}

.stheme4-home .stheme4-testimonial-card__profile {
    display: grid;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    place-items: center;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(145deg, #0a7f69, #07483e);
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(10, 91, 76, 0.18);
}

.stheme4-home .stheme4-testimonial-card__profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stheme4-home .stheme4-testimonial-card__profile i {
    font-size: 19px;
}

.stheme4-home .stheme4-testimonial-card .tptestimonial__designation {
    min-width: 0;
}

.stheme4-home .stheme4-testimonial-card .tptestimonial__meta {
    display: block;
    padding: 0;
    background: transparent;
    border: 0;
}

.stheme4-home .stheme4-testimonial-card .reviewer-name {
    margin: 0 0 3px;
    color: #123d35;
    font-size: 17px;
    line-height: 1.25;
}

.stheme4-home .stheme4-testimonial-card .reviewer-position {
    color: #71817d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.stheme4-home .stheme4-testimonials .owl-dots {
    display: flex;
    margin-top: 14px;
    justify-content: center;
    gap: 7px;
}

.stheme4-home .stheme4-testimonials .owl-dot span {
    display: block;
    width: 9px;
    height: 9px;
    margin: 0;
    background: rgba(255, 255, 255, 0.42);
    border-radius: 99px;
    transition: width 0.2s ease, background-color 0.2s ease;
}

.stheme4-home .stheme4-testimonials .owl-dot.active span {
    width: 28px;
    background: #f2c94c;
}

/* Albums: clean editorial cards with restrained collection accents. */
.stheme4-home .homepage-gallery-feed {
    background:
        radial-gradient(circle at 7% 13%, rgba(8, 127, 105, 0.1), transparent 23rem),
        radial-gradient(circle at 93% 86%, rgba(204, 35, 61, 0.055), transparent 21rem),
        linear-gradient(180deg, #f4f8f7, #edf5f2);
}

.stheme4-home .homepage-gallery-feed .tp-section-subtitle {
    color: #087f69;
}

.stheme4-home .stheme4-album-grid {
    padding: 7px 9px 16px;
}

.stheme4-home .stheme4-album-card {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    min-height: 100%;
    padding: 10px 10px 0;
    flex-direction: column;
    background: #fff;
    border: 1px solid #dbe7e3;
    border-radius: 24px;
    box-shadow: 0 18px 44px rgba(15, 55, 48, 0.11);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.stheme4-home .stheme4-album-card::before {
    position: absolute;
    z-index: -1;
    width: auto;
    height: 7px;
    inset: auto 24px -7px;
    content: "";
    background: linear-gradient(90deg, #087f69 0%, #0a6657 72%, #c9243f 100%);
    border-radius: 0 0 99px 99px;
}

.stheme4-home .stheme4-album-card:hover {
    box-shadow: 0 26px 62px rgba(15, 55, 48, 0.18);
    transform: translateY(-7px);
}

.stheme4-home .stheme4-album-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #dfece8;
    border-radius: 18px 18px 8px 8px;
}

.stheme4-home .stheme4-album-card__media::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 48%, rgba(4, 40, 34, 0.52));
    pointer-events: none;
}

.stheme4-home .stheme4-album-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.stheme4-home .stheme4-album-card:hover .stheme4-album-card__media img {
    transform: scale(1.055);
}

.stheme4-home .stheme4-album-card__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #0a6d5b;
    background: linear-gradient(145deg, #edf7f4, #cfe5df);
    font-size: 52px;
}

.stheme4-home .stheme4-album-card__badge {
    position: absolute;
    z-index: 1;
    display: inline-flex;
    max-width: calc(100% - 84px);
    min-height: 30px;
    left: 15px;
    bottom: 14px;
    padding: 6px 11px;
    align-items: center;
    gap: 7px;
    overflow: hidden;
    color: #fff;
    background: rgba(5, 52, 44, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 99px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.stheme4-service-list-card .tpservices__content {
    padding-top: 26px;
}

.stheme4-service-list-card .tpservices__summary {
    margin-bottom: 22px;
}

.stheme4-service-list-card__button {
    display: inline-flex;
    min-height: 44px;
    margin-top: auto;
    padding: 11px 22px;
    align-items: center;
    align-self: flex-start;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #0b8d77 0%, #075f51 100%);
    border: 1px solid rgba(5, 77, 65, 0.18);
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(7, 95, 81, 0.18);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.stheme4-service-list-card__button:hover,
.stheme4-service-list-card__button:focus-visible {
    color: #063b33;
    background: #f2c94c;
    box-shadow: 0 12px 26px rgba(7, 95, 81, 0.24);
    transform: translateY(-2px);
}

.stheme4-service-list-card__button:focus-visible {
    outline: 3px solid rgba(242, 201, 76, 0.42);
    outline-offset: 3px;
}

button#ChatWidgetDiv {
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    -webkit-appearance: none;
    appearance: none;
    font: inherit;
    line-height: 1;
}

button#ChatWidgetDiv:focus-visible {
    outline: 3px solid #f2c94c;
    outline-offset: 3px;
}

.stheme4-home .stheme4-album-card__number {
    position: absolute;
    z-index: 2;
    display: grid;
    width: 44px;
    height: 44px;
    top: 14px;
    right: 14px;
    place-items: center;
    color: #0a3f35;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.88);
    border-radius: 14px;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 8px 22px rgba(3, 38, 32, 0.22);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.stheme4-home .stheme4-album-card__body {
    display: flex;
    min-width: 0;
    padding: 23px 13px 26px;
    flex: 1;
    flex-direction: column;
}

.stheme4-home .stheme4-album-card__body h3 {
    margin: 0 0 10px;
    font-size: clamp(21px, 2vw, 25px);
    line-height: 1.25;
}

.stheme4-home .stheme4-album-card__body h3 a {
    color: #123d35;
}

.stheme4-home .stheme4-album-card__body h3 a:hover {
    color: #087f69;
}

.stheme4-home .stheme4-album-card__body p {
    margin: 0 0 20px;
    color: #60716d;
    font-size: 14px;
    line-height: 1.68;
}

.stheme4-home .stheme4-album-card__link {
    display: inline-flex;
    margin-top: auto;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #0a6253;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.02em;
}

.stheme4-home .stheme4-album-card__link span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: #fff;
    background: #0a6253;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.stheme4-home .stheme4-album-card__link:hover span {
    color: #fff;
    background: #c9243f;
    transform: rotate(90deg);
}

/* Blogs: a horizontal editorial layout, intentionally unlike the album cards. */
.stheme4-home .homepage-blog-feed {
    background:
        linear-gradient(120deg, rgba(242, 201, 76, 0.08), transparent 36%),
        #fff;
}

.stheme4-home .stheme4-blog-grid {
    row-gap: 28px !important;
}

.stheme4-home .stheme4-blog-card {
    display: grid;
    width: 100%;
    min-height: 330px;
    overflow: hidden;
    grid-template-columns: minmax(190px, 42%) minmax(0, 1fr);
    background: #fff;
    border: 1px solid #dce7e4;
    border-left: 5px solid #0a6f5d;
    border-radius: 4px 24px 24px 4px;
    box-shadow: 0 16px 42px rgba(15, 55, 48, 0.1);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.stheme4-home .stheme4-blog-card:hover {
    border-left-color: #f2c94c;
    box-shadow: 0 24px 56px rgba(15, 55, 48, 0.16);
    transform: translateY(-5px);
}

.stheme4-home .stheme4-blog-card__media {
    position: relative;
    display: block;
    min-height: 100%;
    overflow: hidden;
    background: #dfece8;
}

.stheme4-home .stheme4-blog-card__media::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 48%, rgba(4, 39, 33, 0.44));
    pointer-events: none;
}

.stheme4-home .stheme4-blog-card__media img {
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.stheme4-home .stheme4-blog-card:hover .stheme4-blog-card__media img {
    transform: scale(1.055);
}

.stheme4-home .stheme4-blog-card__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 330px;
    place-items: center;
    color: #0a6b59;
    background: linear-gradient(145deg, #edf7f4, #cfe6df);
    font-size: 56px;
}

.stheme4-home .stheme4-blog-card__category {
    position: absolute;
    z-index: 1;
    max-width: calc(100% - 26px);
    left: 13px;
    bottom: 14px;
    padding: 7px 11px;
    overflow: hidden;
    color: #0b3d34;
    background: #f2c94c;
    border-radius: 5px 12px 5px 12px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.stheme4-home .stheme4-blog-card__body {
    display: flex;
    min-width: 0;
    padding: 27px 28px 28px;
    flex-direction: column;
}

.stheme4-home .stheme4-blog-card__meta {
    display: flex;
    margin-bottom: 18px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.stheme4-home .stheme4-blog-card__meta time {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    color: #0b4037;
    background: #f9eaa7;
    border-radius: 5px 13px 5px 13px;
    overflow: hidden;
}

.stheme4-home .stheme4-blog-card__meta time strong {
    display: grid;
    width: 46px;
    align-self: stretch;
    place-items: center;
    color: #fff;
    background: #0a6756;
    font-size: 20px;
    line-height: 1;
}

.stheme4-home .stheme4-blog-card__meta time span {
    padding: 0 12px;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.stheme4-home .stheme4-blog-card__author {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    color: #6d7d79;
    font-size: 11px;
    font-weight: 750;
}

.stheme4-home .stheme4-blog-card__author i {
    color: #0a6f5d;
}

.stheme4-home .stheme4-blog-card__body h3 {
    margin: 0 0 11px;
    font-size: clamp(21px, 2vw, 26px);
    line-height: 1.25;
}

.stheme4-home .stheme4-blog-card__body h3 a {
    color: #123d35;
}

.stheme4-home .stheme4-blog-card__body h3 a:hover {
    color: #087f69;
}

.stheme4-home .stheme4-blog-card__body > p {
    margin: 0 0 22px;
    color: #60706c;
    font-size: 14px;
    line-height: 1.7;
}

.stheme4-home .stheme4-blog-card__link {
    display: inline-flex;
    margin-top: auto;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #0a6656;
    font-size: 13px;
    font-weight: 850;
}

.stheme4-home .stheme4-blog-card__link span {
    font-size: 19px;
    transition: transform 0.2s ease;
}

.stheme4-home .stheme4-blog-card__link:hover span {
    transform: translateX(4px);
}

/* Contact CAPTCHA: compact, accessible security panel. */
.contact-page .contact-captcha {
    display: block;
    padding: 18px;
    background: linear-gradient(145deg, #f2f8f6, #fbfdfc);
    border: 1px solid #cee1dc;
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.contact-page .contact-captcha__heading {
    display: flex;
    margin-bottom: 14px;
    align-items: center;
    gap: 11px;
}

.contact-page .contact-captcha__icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #0a806b, #075d50);
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(8, 95, 80, 0.18);
}

.contact-page .contact-captcha__icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.contact-page .contact-captcha__copy {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.contact-page .contact-captcha__copy strong {
    color: #153f37;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.25;
}

.contact-page .contact-captcha__copy small {
    color: #657771;
    font-size: 12px;
    line-height: 1.4;
}

.contact-page .contact-captcha__controls {
    display: grid;
    grid-template-columns: 144px 46px minmax(0, 1fr);
    align-items: end;
    gap: 10px;
}

.contact-page .contact-captcha__question {
    display: grid;
    min-height: 52px;
    padding: 5px;
    place-items: center;
    background: #fff;
    border-color: #c8ddd7;
    border-radius: 11px;
}

.contact-page .contact-captcha__question img {
    display: block;
    width: 132px;
    max-width: 100%;
    height: 40px;
    border-radius: 7px;
}

.contact-page .contact-captcha__refresh {
    display: grid;
    width: 46px;
    min-height: 52px;
    padding: 0;
    place-items: center;
    color: #087f69;
    background: #e7f3ef;
    border: 1px solid #c8ddd7;
    border-radius: 11px;
    font-size: 15px;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.contact-page .contact-captcha__refresh:hover,
.contact-page .contact-captcha__refresh:focus-visible {
    color: #fff;
    background: #087f69;
    border-color: #087f69;
}

.contact-page .contact-captcha__refresh:focus-visible {
    outline: 3px solid rgba(8, 127, 105, 0.2);
    outline-offset: 2px;
}

.contact-page .contact-captcha__refresh:hover .contact-captcha__refresh-icon,
.contact-page .contact-captcha__refresh.is-refreshing .contact-captcha__refresh-icon {
    transform: rotate(90deg);
}

.contact-page .contact-captcha__refresh-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    transition: transform 0.2s ease;
}

.contact-page .contact-captcha__answer {
    display: grid;
    min-width: 0;
    gap: 5px;
}

.contact-page .contact-captcha__answer label {
    margin: 0;
    color: #3f5b55;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.055em;
    line-height: 1.2;
    text-transform: uppercase;
}

.contact-page .contact-captcha__answer .form-control {
    min-width: 0;
    min-height: 52px;
}

/* Requested edge-to-edge card imagery on the two catalogue pages. */
.content-category-page .content-block-card .resource-card__media,
.products-page .product-category-card__media {
    background: #e7efed;
}

.content-category-page .content-block-card .resource-card__media img,
.products-page .product-category-card__media img {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
}

.products-page .product-category-card__media {
    aspect-ratio: 4 / 3;
}

@media (max-width: 575.98px) {
    .contact-page .contact-captcha {
        padding: 16px;
    }

    .contact-page .contact-captcha__controls {
        grid-template-columns: minmax(0, 1fr) 46px;
    }

    .contact-page .contact-captcha__answer {
        grid-column: 1 / -1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-page .contact-captcha__refresh,
    .contact-page .contact-captcha__refresh-icon {
        transition: none;
    }
}

/* Footer: guaranteed dark surface and high-contrast text on every page. */
.stheme4-footer {
    position: relative;
    isolation: isolate;
    color: #eaf4f1;
    background:
        radial-gradient(circle at 84% 14%, rgba(242, 201, 76, 0.12), transparent 26rem),
        linear-gradient(135deg, #062c26, #0a4d41) !important;
    background-image:
        radial-gradient(circle at 84% 14%, rgba(242, 201, 76, 0.12), transparent 26rem),
        linear-gradient(135deg, #062c26, #0a4d41) !important;
}

.stheme4-footer .footer__top {
    position: relative;
    z-index: 1;
    padding-top: clamp(66px, 7vw, 92px) !important;
    padding-bottom: clamp(42px, 5vw, 62px) !important;
    background: transparent !important;
}

.stheme4-footer .footer__top::before {
    display: none !important;
    content: none !important;
}

.stheme4-footer .footer__top .row {
    row-gap: 24px;
}

.stheme4-footer .footer__widget {
    height: 100%;
    padding: clamp(22px, 2.5vw, 30px) !important;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    box-shadow: 0 16px 38px rgba(1, 27, 22, 0.17);
}

.stheme4-footer .footer__logo {
    margin: 0 0 21px;
}

.stheme4-footer .footer__logo .logo > a {
    display: inline-flex;
    padding: 9px 13px;
    align-items: center;
    background: #fff;
    border-radius: 11px;
    box-shadow: 0 8px 22px rgba(0, 28, 23, 0.2);
}

.stheme4-footer .footer-logo {
    width: auto;
    max-width: 190px;
    max-height: 68px;
    object-fit: contain;
}

.stheme4-footer .footer__widget-title {
    position: relative;
    margin: 0 0 25px;
    padding-bottom: 13px;
    color: #fff !important;
    font-size: 20px;
    font-weight: 800;
}

.stheme4-footer .footer__widget-title::after {
    position: absolute;
    width: 42px;
    height: 4px;
    left: 0;
    bottom: 0;
    content: "";
    background: #f2c94c;
    border-radius: 99px;
}

.stheme4-footer .footer-about,
.stheme4-footer .footer-about p,
.stheme4-footer .footer__widget-info p,
.stheme4-footer .footer__subscribe p,
.stheme4-footer .footer__contact-info ul li,
.stheme4-footer .footer__contact-info ul li a {
    color: #dcebe7 !important;
    font-size: 15px;
    line-height: 1.78;
}

.stheme4-footer .footer-about p {
    margin-bottom: 21px;
}

.stheme4-footer .footer__contact-info ul li {
    position: relative;
    min-height: 30px;
    margin-bottom: 14px;
    padding-left: 36px;
}

.stheme4-footer .footer__contact-info ul li span {
    position: absolute;
    display: grid;
    width: 27px;
    height: 27px;
    left: 0;
    top: 1px;
    place-items: center;
    color: #0a463b;
    background: #f2c94c;
    border-radius: 8px;
}

.stheme4-footer .footer__contact-info ul li span i {
    font-size: 12px;
}

.stheme4-footer .footer__contact-info ul li a:hover {
    color: #f2c94c !important;
}

.stheme4-footer .footer__social ul {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.stheme4-footer .footer__social ul li {
    margin: 0;
}

.stheme4-footer .footer__social ul li a {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
}

.stheme4-footer .footer__social ul li a:hover {
    color: #0a4036;
    background: #f2c94c;
    border-color: #f2c94c;
    transform: translateY(-2px);
}

.stheme4-footer .footer__subscribe iframe {
    display: block;
    width: 100% !important;
    min-height: 220px;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(1, 29, 24, 0.2);
}

.stheme4-footer .footer-map-fallback {
    color: #dcebe7;
}

.stheme4-footer .footer-map-fallback a {
    color: #f2c94c;
}

.stheme4-footer .footer__bottom {
    position: relative;
    z-index: 1;
    padding-top: 19px !important;
    padding-bottom: 19px !important;
    background: #031c18 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.stheme4-footer .footer__copyright p {
    margin: 0;
    color: #d6e6e2 !important;
    font-size: 14px;
    line-height: 1.65;
}

.stheme4-footer .footer__copyright a {
    color: #f2c94c !important;
    font-weight: 800;
}

.stheme4-footer .footer__copyright a:hover {
    color: #fff !important;
}

@media (max-width: 1199.98px) {
    .stheme4-home .stheme4-statistics .counter {
        border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    }

    .stheme4-home .stheme4-statistics .fact-bg > .row > [class*="col-"]:nth-child(2n) .counter {
        border-right: 0;
    }

    .stheme4-home .stheme4-statistics .fact-bg > .row > [class*="col-"]:nth-last-child(-n + 2) .counter {
        border-bottom: 0;
    }

    .stheme4-home .stheme4-blog-card {
        min-height: 310px;
    }

    .stheme4-home .stheme4-blog-card__media img,
    .stheme4-home .stheme4-blog-card__placeholder {
        min-height: 310px;
    }
}

@media (max-width: 767.98px) {
    .stheme4-home .stheme4-statistics {
        padding-top: 18px;
        padding-bottom: 68px;
    }

    .stheme4-home .stheme4-statistics .fact-bg {
        padding: 10px !important;
        border-radius: 22px;
    }

    .stheme4-home .stheme4-statistics .counter {
        min-height: 112px;
        padding: 20px 18px;
        grid-template-columns: 52px minmax(0, 1fr);
        column-gap: 14px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    }

    .stheme4-home .stheme4-statistics .fact-bg > .row > [class*="col-"]:nth-last-child(-n + 2) .counter {
        border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    }

    .stheme4-home .stheme4-statistics .fact-bg > .row > [class*="col-"]:last-child .counter {
        border-bottom: 0;
    }

    .stheme4-home .stheme4-statistics .counter .counter-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .stheme4-home .stheme4-statistics .counter .counter-value-wrap {
        font-size: 28px;
    }

    .stheme4-home .stheme4-services-showcase .owl-stage-outer,
    .stheme4-home .stheme4-testimonials .owl-stage-outer {
        padding-right: 2px;
        padding-left: 2px;
    }

    .stheme4-home .stheme4-service-card .tpservices__content {
        min-height: 230px;
        padding: 24px 22px;
    }

    .stheme4-home .stheme4-testimonial-card {
        padding: 28px 24px 25px;
        border-radius: 24px 24px 24px 7px;
    }

    .stheme4-home .stheme4-testimonial-card .tptestimonial__info {
        padding: 0;
    }

    .stheme4-home .stheme4-testimonial-card .tptestimonial__avatar {
        padding: 20px 0 0;
    }

    .stheme4-home .stheme4-album-grid {
        padding-right: 7px;
        padding-left: 7px;
    }

    .stheme4-home .stheme4-blog-card {
        min-height: 0;
        grid-template-columns: 1fr;
        border-top: 5px solid #0a6f5d;
        border-left-width: 1px;
        border-radius: 5px 5px 22px 22px;
    }

    .stheme4-home .stheme4-blog-card:hover {
        border-top-color: #f2c94c;
        border-left-color: #dce7e4;
    }

    .stheme4-home .stheme4-blog-card__media {
        aspect-ratio: 16 / 10;
        min-height: 0;
    }

    .stheme4-home .stheme4-blog-card__media img,
    .stheme4-home .stheme4-blog-card__placeholder {
        min-height: 0;
    }

    .stheme4-home .stheme4-blog-card__body {
        padding: 24px 22px 25px;
    }

    .stheme4-footer .footer__widget {
        padding: 22px !important;
        border-radius: 18px;
    }
}

@media (max-width: 575.98px) {
    .stheme4-home .stheme4-testimonials .tp-section-title {
        font-size: clamp(30px, 10vw, 42px);
    }

    .stheme4-home .stheme4-album-card__body,
    .stheme4-home .stheme4-blog-card__body {
        padding-right: 20px;
        padding-left: 20px;
    }

    .stheme4-home .stheme4-blog-card__meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .stheme4-footer .footer__top {
        padding-top: 56px !important;
        padding-bottom: 34px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stheme4-home .stheme4-service-card,
    .stheme4-home .stheme4-service-card .tpservices__thumb img,
    .stheme4-home .stheme4-album-card,
    .stheme4-home .stheme4-album-card__media img,
    .stheme4-home .stheme4-album-card__link span,
    .stheme4-home .stheme4-blog-card,
    .stheme4-home .stheme4-blog-card__media img,
    .stheme4-home .stheme4-blog-card__link span {
        transition-duration: 0.01ms !important;
    }
}

/* Restrained, content-first reveal motion. Header and navigation are excluded. */
html.nsp-motion-ready .nsp-reveal-target {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition:
        opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 580ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--nsp-reveal-delay, 0ms);
    will-change: opacity, transform;
}

html.nsp-motion-ready .nsp-reveal-target.stheme4-service-card,
html.nsp-motion-ready .nsp-reveal-target.stheme4-service-list-card,
html.nsp-motion-ready .nsp-reveal-target.stheme4-testimonial-card,
html.nsp-motion-ready .nsp-reveal-target.stheme4-album-card,
html.nsp-motion-ready .nsp-reveal-target.stheme4-blog-card,
html.nsp-motion-ready .nsp-reveal-target.blog-list-card,
html.nsp-motion-ready .nsp-reveal-target.product-category-card,
html.nsp-motion-ready .nsp-reveal-target.product-card,
html.nsp-motion-ready .nsp-reveal-target.resource-card,
html.nsp-motion-ready .nsp-reveal-target.job-opening-card,
html.nsp-motion-ready .nsp-reveal-target.brochure-card {
    transform: translate3d(0, 16px, 0) scale(0.985);
}

html.nsp-motion-ready .nsp-reveal-target.is-visible {
    opacity: 1;
    transform: none;
}

@media (hover: hover) and (pointer: fine) {
    .nsp-motion-enhanced .counter .counter-icon,
    .nsp-motion-enhanced .stheme4-service-card__button i,
    .nsp-motion-enhanced .stheme4-service-list-card__button i {
        transition: transform 180ms ease;
    }

    .nsp-motion-enhanced .counter:hover .counter-icon {
        transform: translate3d(0, -3px, 0);
    }

    .nsp-motion-enhanced .stheme4-service-card__button:hover i,
    .nsp-motion-enhanced .stheme4-service-card__button:focus-visible i,
    .nsp-motion-enhanced .stheme4-service-list-card__button:hover i,
    .nsp-motion-enhanced .stheme4-service-list-card__button:focus-visible i {
        transform: translate3d(3px, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    html.nsp-motion-ready .nsp-reveal-target,
    html.nsp-motion-ready .nsp-reveal-target.is-visible {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .nsp-motion-enhanced .counter .counter-icon,
    .nsp-motion-enhanced .stheme4-service-card__button i,
    .nsp-motion-enhanced .stheme4-service-list-card__button i {
        transform: none !important;
        transition: none !important;
    }
}

/*
 * JSSEPL manufacturing brand layer.
 * This is presentation-only: every heading, image, link, card and metric
 * continues to come from the Admin Panel records rendered by the PHP views.
 */
:root {
    --jssepl-navy: #0b3652;
    --jssepl-navy-deep: #07283d;
    --jssepl-steel: #546b79;
    --jssepl-logo-blue: #078aa8;
    --jssepl-logo-blue-rgb: 7, 138, 168;
    --jssepl-logo-blue-surface: #02728e;
    --jssepl-logo-blue-surface-rgb: 2, 114, 142;
    --jssepl-teal: var(--jssepl-logo-blue);
    --jssepl-teal-dark: #00627f;
    --jssepl-sky: #58b7d1;
    --jssepl-gold: #f4bf22;
    --jssepl-orange: #f07424;
    --jssepl-surface: #f3f8fa;
    --jssepl-line: #d7e5eb;
    --tp-heading-primary: var(--jssepl-navy);
    --tp-text-body: var(--jssepl-steel);
    --tp-theme-1: var(--jssepl-teal);
    --tp-theme-2: var(--jssepl-gold);
    --tp-theme-3: var(--jssepl-navy);
    --tp-border-primary: var(--jssepl-teal);
    --nsp-surface-soft: var(--jssepl-surface);
    --nsp-border: var(--jssepl-line);
    --nsp-heading: var(--jssepl-navy);
    --nsp-text: var(--jssepl-steel);
    --nsp-muted: #718490;
    --nsp-primary: var(--jssepl-teal);
    --nsp-primary-dark: var(--jssepl-teal-dark);
    --nsp-accent: var(--jssepl-gold);
    --nsp-shadow-sm: 0 8px 24px rgba(7, 40, 61, 0.09);
    --nsp-shadow-md: 0 20px 52px rgba(7, 40, 61, 0.16);
    --bs-blue: var(--jssepl-logo-blue-surface);
    --bs-primary: var(--jssepl-logo-blue-surface);
    --bs-primary-rgb: var(--jssepl-logo-blue-surface-rgb);
    --bs-link-color: var(--jssepl-logo-blue-surface);
    --bs-link-color-rgb: var(--jssepl-logo-blue-surface-rgb);
    --bs-link-hover-color: #035a79;
    --bs-link-hover-color-rgb: 3, 90, 121;
    --bs-primary-text-emphasis: #035a79;
    --bs-primary-bg-subtle: #e1f3f7;
    --bs-primary-border-subtle: #8acbd9;
    --bs-focus-ring-color: rgba(var(--jssepl-logo-blue-rgb), 0.3);
}

/*
 * Bridge Bootstrap's generic blue utilities to the logo-derived blue system.
 * Admin-authored content can safely use standard Bootstrap classes without
 * introducing the framework's default royal blue into the public website.
 */
.nsp-bs5-block,
.nsp-bs5-block.nsp-variant-primary {
    --nsp-primary: var(--jssepl-logo-blue);
    --nsp-accent: var(--jssepl-logo-blue);
    --nsp-accent-rgb: var(--jssepl-logo-blue-rgb);
    --nsp-accent-end: var(--jssepl-teal-dark);
    --nsp-accent-contrast: #fff;
}

.text-primary,
.link-primary {
    color: var(--jssepl-teal-dark) !important;
}

.border-primary {
    border-color: var(--jssepl-logo-blue) !important;
}

.bg-primary,
.text-bg-primary {
    color: #fff !important;
    background: linear-gradient(
        135deg,
        var(--jssepl-logo-blue-surface),
        var(--jssepl-teal-dark)
    ) !important;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--jssepl-logo-blue-surface);
    --bs-btn-border-color: var(--jssepl-logo-blue-surface);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #035a79;
    --bs-btn-hover-border-color: #035a79;
    --bs-btn-focus-shadow-rgb: var(--jssepl-logo-blue-surface-rgb);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #035a79;
    --bs-btn-active-border-color: #035a79;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--jssepl-logo-blue-surface);
    --bs-btn-disabled-border-color: var(--jssepl-logo-blue-surface);
    color: #fff;
    background-color: var(--jssepl-logo-blue-surface);
    border-color: var(--jssepl-logo-blue-surface);
}

.btn-primary:hover,
.btn-primary:focus-visible,
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #035a79;
    border-color: #035a79;
}

.btn-outline-primary {
    --bs-btn-color: var(--jssepl-teal-dark);
    --bs-btn-border-color: var(--jssepl-logo-blue);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--jssepl-logo-blue-surface);
    --bs-btn-hover-border-color: var(--jssepl-logo-blue-surface);
    --bs-btn-focus-shadow-rgb: var(--jssepl-logo-blue-surface-rgb);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--jssepl-logo-blue-surface);
    --bs-btn-active-border-color: var(--jssepl-logo-blue-surface);
    color: var(--jssepl-teal-dark);
    border-color: var(--jssepl-logo-blue);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus-visible,
.btn-outline-primary:active,
.btn-outline-primary.active {
    color: #fff;
    background-color: var(--jssepl-logo-blue-surface);
    border-color: var(--jssepl-logo-blue-surface);
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus,
.page-link:focus,
.nsp-public-form .form-control:focus,
.nsp-public-form .form-select:focus {
    border-color: var(--jssepl-sky);
    box-shadow: 0 0 0 0.25rem rgba(var(--jssepl-logo-blue-rgb), 0.22);
}

.form-check-input:checked,
.form-check-input[type="checkbox"]:indeterminate,
.page-item.active .page-link,
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link,
.dropdown-item.active,
.dropdown-item:active {
    color: #fff;
    background-color: var(--jssepl-logo-blue-surface);
    border-color: var(--jssepl-logo-blue-surface);
}

.nsp-bs5-block .nsp-card-icon {
    background: rgba(var(--jssepl-logo-blue-rgb), 0.1);
}

.nsp-bs5-block.nsp-hero-variant-primary {
    --nsp-hero-rgb: var(--jssepl-logo-blue-surface-rgb);
    --nsp-hero-end-rgb: 0, 98, 127;
}

.nsp-bs5-block.nsp-variant-info,
.nsp-bs5-block.nsp-hero-variant-info {
    --nsp-accent-end: var(--jssepl-logo-blue);
    --nsp-hero-end-rgb: var(--jssepl-logo-blue-rgb);
}

/* Restore readable supporting copy on branded and dark surfaces. */
.bg-primary .text-white-50,
.text-bg-primary .text-white-50,
.bg-dark .text-white-50,
.nsp-bg-gradient.text-white .text-white-50,
.nsp-bs5-block.text-white .text-white-50 {
    color: rgba(255, 255, 255, 0.92) !important;
    font-weight: 500;
}

body {
    max-width: 100%;
    overflow-x: clip !important;
    overflow-y: visible;
    color: var(--jssepl-steel);
    background: #fff;
}

body.offcanvas-open {
    overflow: hidden !important;
}

html {
    max-width: 100%;
    overflow-x: clip;
}

.owl-carousel,
.owl-stage-outer {
    max-width: 100%;
}

.owl-stage-outer {
    overflow: hidden !important;
    contain: paint;
}

::selection {
    color: #fff;
    background: var(--jssepl-teal-dark);
}

h1,
h2,
h3,
h4,
h5,
h6,
.tp-section-title {
    color: var(--jssepl-navy);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
.header-area-v1 .brand-logo > a:focus-visible,
.header-area-v1 .main-menu a:focus-visible,
.header-area-v1 button:focus-visible {
    outline-color: rgba(7, 138, 168, 0.42);
}

/* Precision header and navigation. */
.header-area-v1.transparent-header {
    position: sticky !important;
    top: 0;
    z-index: 1200;
}

.header-area-v1 .header-navigation {
    position: relative;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(11, 54, 82, 0.09);
    box-shadow: 0 8px 30px rgba(7, 40, 61, 0.08);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.header-area-v1 .header-navigation.sticky {
    box-shadow: 0 12px 34px rgba(7, 40, 61, 0.15);
}

.header-area-v1 .header-navigation::before {
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    content: "";
    background: linear-gradient(
        90deg,
        var(--jssepl-navy-deep) 0 26%,
        var(--jssepl-teal) 26% 68%,
        var(--jssepl-gold) 68% 84%,
        var(--jssepl-orange) 84% 100%
    );
    pointer-events: none;
}

.header-area-v1 .brand-logo img,
.header-area-v1 .offcanvas-panel .panel-logo img {
    width: auto;
    max-width: 215px;
    max-height: 64px;
    object-fit: contain;
}

.header-area-v1 .main-menu > ul > li > a {
    color: #203e51;
    font-weight: 700;
}

.header-area-v1 .main-menu > ul > li > a::before {
    height: 3px;
    background: linear-gradient(90deg, var(--jssepl-teal), var(--jssepl-sky));
}

.header-area-v1 .main-menu > ul > li:hover > a,
.header-area-v1 .main-menu > ul > li:focus-within > a,
.header-area-v1 .main-menu > ul > li > a.active,
.header-area-v1 .main-menu > ul > li.menu-item-has-children:hover > a::after,
.header-area-v1 .main-menu > ul > li.menu-item-has-children:focus-within > a::after {
    color: var(--jssepl-teal-dark) !important;
}

.header-area-v1 .header-navigation .nav-tools .icon,
.header-area-v1 .header-navigation .navbar-toggler {
    color: #fff;
    background: linear-gradient(145deg, var(--jssepl-teal), var(--jssepl-teal-dark));
    border-color: rgba(0, 98, 127, 0.28);
    box-shadow: 0 10px 24px rgba(0, 98, 127, 0.22);
}

.header-area-v1 .header-navigation .nav-tools .icon span,
.header-area-v1 .header-navigation .navbar-toggler span {
    background: #fff;
}

.header-area-v1 .header-navigation .nav-tools .icon:hover,
.header-area-v1 .header-navigation .nav-tools .icon:focus-visible,
.header-area-v1 .header-navigation .navbar-toggler:hover,
.header-area-v1 .header-navigation .navbar-toggler:focus-visible {
    background: linear-gradient(145deg, var(--jssepl-orange), #d95b13);
    border-color: rgba(240, 116, 36, 0.34);
}

.header-area-v1 .offcanvas-panel {
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background-color: rgba(7, 40, 61, 0.67);
}

.header-area-v1 .offcanvas-panel .offcanvas-panel-inner {
    box-sizing: border-box;
    width: min(420px, 100%);
    max-width: 420px;
    height: 100%;
    max-height: 100dvh;
    padding: clamp(28px, 4vw, 40px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
        linear-gradient(180deg, rgba(7, 138, 168, 0.07), transparent 190px),
        #fff;
    box-shadow: -18px 0 54px rgba(7, 40, 61, 0.28);
}

.header-area-v1 .offcanvas-panel .panel-widget-title::after,
.header-area-v1 .offcanvas-panel .contact-us ul li i {
    background: var(--jssepl-teal);
}

.header-area-v1 .offcanvas-panel .contact-us ul li i {
    box-shadow: 0 8px 20px rgba(7, 138, 168, 0.22);
}

.header-area-v1 .offcanvas-panel .panel-close {
    color: var(--jssepl-teal-dark);
    background: #e9f7fa !important;
    border-color: rgba(7, 138, 168, 0.18) !important;
}

.header-area-v1 .offcanvas-panel .panel-close:hover {
    color: #fff;
    background: var(--jssepl-orange) !important;
}

@media (min-width: 1400px) {
    .header-area-v1 .main-menu > ul > li.menu-item-has-children > a::after {
        display: inline-block;
        width: 8px;
        height: 8px;
        margin: 0 0 3px 8px;
        float: none;
        content: "" !important;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        font-family: inherit;
        transform: rotate(45deg);
        transition: color 180ms ease, transform 180ms ease;
    }

    .header-area-v1 .main-menu > ul > li.menu-item-has-children:hover > a::after,
    .header-area-v1 .main-menu > ul > li.menu-item-has-children:focus-within > a::after {
        transform: rotate(225deg);
    }

    .header-area-v1 .main-menu > ul > li > .sub-menu {
        border-color: rgba(11, 54, 82, 0.11);
        border-top-color: var(--jssepl-teal);
        box-shadow: 0 22px 48px rgba(7, 40, 61, 0.17);
    }

    .header-area-v1 .main-menu > ul > li > .sub-menu li a {
        color: #29495d;
    }

    .header-area-v1 .main-menu > ul > li > .sub-menu li a:hover,
    .header-area-v1 .main-menu > ul > li > .sub-menu li a:focus-visible,
    .header-area-v1 .main-menu > ul > li > .sub-menu li a.active {
        color: var(--jssepl-teal-dark);
        background: #eaf7fa;
    }
}

@media (max-width: 1399.98px) {
    .header-area-v1 .header-navigation {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .header-area-v1 .brand-logo img {
        max-width: min(200px, 50vw);
        max-height: 58px;
    }

    .header-area-v1 .header-navigation.breakpoint-on .nav-menu {
        top: 0;
        bottom: auto;
        display: flex;
        width: min(380px, calc(100vw - 24px));
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        max-height: 100dvh;
        padding-top: 0;
        overflow: hidden;
        flex-direction: column;
        border-right: 1px solid rgba(11, 54, 82, 0.1);
        border-radius: 0 20px 20px 0;
    }

    .header-area-v1 .header-navigation.breakpoint-on .nav-menu.menu-on {
        box-shadow:
            18px 0 44px rgba(7, 40, 61, 0.25),
            100vw 0 0 100vw rgba(7, 40, 61, 0.6);
    }

    .header-area-v1 .mobile-menu-heading {
        position: relative;
        z-index: 2;
        flex: 0 0 66px;
        color: var(--jssepl-navy);
        background: linear-gradient(90deg, #fff, #eef8fb);
        border-bottom-color: rgba(11, 54, 82, 0.1);
    }

    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu {
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        flex: 1 1 auto;
        overscroll-behavior: contain;
        scrollbar-color: rgba(7, 138, 168, 0.45) transparent;
        scrollbar-width: thin;
    }

    .header-area-v1 .mobile-menu-heading::before,
    .header-area-v1 .header-navigation .navbar-close {
        background: var(--jssepl-teal);
    }

    .header-area-v1 .header-navigation .navbar-close {
        box-shadow: 0 9px 22px rgba(7, 138, 168, 0.24);
    }

    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li:hover > a,
    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li:focus-within > a,
    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li > a.active {
        color: var(--jssepl-teal-dark) !important;
        background: #eaf7fa;
        box-shadow: inset 4px 0 var(--jssepl-teal);
    }

    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li.active > .dd-trigger,
    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li > .sub-menu li a:hover,
    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li > .sub-menu li a:focus-visible,
    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li > .sub-menu li a.active {
        color: var(--jssepl-teal-dark);
    }

    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li.active > .dd-trigger {
        background: rgba(7, 138, 168, 0.09);
    }

    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li > .dd-trigger i {
        display: block;
        width: 9px;
        height: 9px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        font-family: inherit;
        font-size: 0 !important;
        transform: rotate(45deg);
        transition: transform 180ms ease;
    }

    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li > .dd-trigger i::before {
        content: none !important;
    }

    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li.active > .dd-trigger i {
        transform: rotate(225deg);
    }

    .header-area-v1 .header-navigation.breakpoint-on .nav-menu .main-menu > ul > li > .sub-menu {
        background: #f2f8fa;
        border-left-color: rgba(7, 138, 168, 0.52);
    }
}

/* Admin-managed banners with a precise industrial frame. */
.responsive-banner {
    position: relative;
    background: var(--jssepl-navy-deep);
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(90deg, var(--jssepl-teal), var(--jssepl-gold), var(--jssepl-orange)) 1;
}

.responsive-banner .nivo-directionNav a:hover,
.responsive-banner .nivo-directionNav a:focus-visible {
    color: #fff;
    background-color: var(--jssepl-teal-dark);
    border-color: #fff;
    box-shadow: 0 8px 22px rgba(7, 40, 61, 0.4), 0 0 0 4px rgba(244, 191, 34, 0.32);
}

.banner-area {
    background-color: var(--jssepl-navy-deep);
}

.banner-area::before {
    background:
        linear-gradient(105deg, rgba(7, 40, 61, 0.96), rgba(0, 98, 127, 0.82)),
        linear-gradient(90deg, transparent 0 82%, rgba(244, 191, 34, 0.18) 82% 84%, transparent 84%);
}

.banner-area::after {
    right: clamp(-90px, -5vw, -28px);
    bottom: clamp(-190px, -14vw, -110px);
    width: clamp(300px, 34vw, 480px);
    height: clamp(300px, 34vw, 480px);
    background: repeating-conic-gradient(
        from 0deg,
        rgba(255, 255, 255, 0.1) 0 5deg,
        transparent 5deg 15deg
    );
    border: 0;
    border-radius: 50%;
    box-shadow: none;
    -webkit-mask: radial-gradient(circle, transparent 0 34%, #000 35% 51%, transparent 52%);
    mask: radial-gradient(circle, transparent 0 34%, #000 35% 51%, transparent 52%);
    opacity: 0.8;
}

.banner-title {
    text-shadow: 0 6px 22px rgba(7, 40, 61, 0.3);
}

.breadcrumb li a:hover {
    color: var(--jssepl-gold) !important;
}

/* Shared industrial typography, actions and Admin content. */
.tp-section-subtitle {
    color: var(--jssepl-teal-dark);
    letter-spacing: 0.15em;
}

.tp-section-subtitle::before,
.tp-section-subtitle::after {
    border-color: var(--jssepl-gold);
}

.innerpage-main-wrapper,
.about-one,
.nsp-home-page-content {
    background:
        linear-gradient(rgba(7, 138, 168, 0.024) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 138, 168, 0.024) 1px, transparent 1px),
        #fff;
    background-size: 38px 38px;
}

/* Reusable Admin-managed Product detail rhythm and card presentation. */
.innerpage-main-wrapper.product-detail-page {
    padding-top: clamp(32px, 3.75vw, 48px) !important;
    padding-bottom: clamp(32px, 3vw, 42px) !important;
}

.product-detail-page > .PageContent.nsp-page-content--sectioned {
    padding-bottom: clamp(28px, 2.5vw, 32px) !important;
}

.product-detail-page > .PageContent.nsp-page-content--sectioned > .nsp-bs5-block.nsp-custom-grid {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.product-detail-page > .PageContent > .nsp-custom-grid > .container > .row.g-4.align-items-stretch > .col-12 > .nsp-grid-cell > .py-3.py-lg-4 {
    padding-top: clamp(24px, 2.5vw, 34px) !important;
    padding-bottom: 0 !important;
}

.product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.justify-content-center.text-center:first-child {
    margin-bottom: clamp(24px, 2.8vw, 34px) !important;
}

.product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.justify-content-center.text-center:first-child .col-12 {
    max-width: 820px;
}

.product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.justify-content-center.text-center:first-child p.text-uppercase {
    margin-bottom: 7px !important;
    color: var(--jssepl-teal-dark) !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    letter-spacing: 0.095em;
}

.product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.justify-content-center.text-center:first-child h2.display-6 {
    margin-bottom: 11px !important;
    font-size: clamp(1.55rem, 2.25vw, 2.05rem) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.022em;
}

.product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.justify-content-center.text-center:first-child p.lead {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(0.96rem, 1.25vw, 1.08rem) !important;
    line-height: 1.65 !important;
}

.product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.g-4 {
    --bs-gutter-x: clamp(18px, 2vw, 24px);
    --bs-gutter-y: clamp(18px, 2vw, 24px);
}

.product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.g-4 article.card {
    background: #fff;
    border-right: 1px solid rgba(7, 40, 61, 0.09) !important;
    border-bottom: 1px solid rgba(7, 40, 61, 0.09) !important;
    border-left: 1px solid rgba(7, 40, 61, 0.09) !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 30px rgba(7, 40, 61, 0.08) !important;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.g-4 article.card:hover {
    border-color: rgba(7, 138, 168, 0.28) !important;
    box-shadow: 0 18px 38px rgba(7, 40, 61, 0.13) !important;
    transform: translateY(-5px);
}

.product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.g-4 article.card > img.card-img-top {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    padding: clamp(10px, 1.25vw, 15px);
    object-fit: contain;
    background: linear-gradient(145deg, #eff8fb, #fff 70%);
    border-radius: 0 !important;
    transition: transform 0.35s ease;
}

.product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.g-4 article.card:hover > img.card-img-top {
    transform: scale(1.025);
}

.product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.g-4 article.card > .card-body {
    padding: clamp(17px, 1.7vw, 21px) !important;
}

.product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.g-4 article.card .card-body > p.text-uppercase {
    margin-bottom: 6px !important;
    font-size: 10.5px !important;
    line-height: 1.4 !important;
    letter-spacing: 0.08em;
}

.product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.g-4 article.card h3 {
    margin-bottom: 14px !important;
    font-size: clamp(1rem, 1.35vw, 1.12rem) !important;
    line-height: 1.35 !important;
}

.product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.g-4 article.card dl {
    padding-top: 13px !important;
    color: #425e6d;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
}

.product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.mt-5 {
    margin-top: clamp(28px, 3vw, 40px) !important;
}

.product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.mt-5 .card {
    position: relative;
    background:
        linear-gradient(110deg, rgba(255, 255, 255, 0.055) 0 11%, transparent 11% 22%, rgba(255, 255, 255, 0.04) 22% 33%, transparent 33%) 0 0 / 92px 100%,
        linear-gradient(125deg, var(--jssepl-navy-deep) 0%, var(--jssepl-teal-dark) 58%, var(--jssepl-teal) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 24px 7px 24px 7px !important;
    box-shadow: 0 22px 48px rgba(7, 40, 61, 0.2) !important;
    isolation: isolate;
    overflow: hidden;
}

.product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.mt-5 .card::before {
    position: absolute;
    z-index: 0;
    width: 5px;
    top: 0;
    bottom: 0;
    left: 0;
    content: "";
    background: linear-gradient(180deg, var(--jssepl-gold), var(--jssepl-orange));
}

.product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.mt-5 .card::after {
    position: absolute;
    z-index: 0;
    width: clamp(170px, 19vw, 250px);
    aspect-ratio: 1;
    top: 50%;
    right: clamp(-96px, -6vw, -52px);
    content: "";
    background: repeating-conic-gradient(
        from 0deg,
        rgba(255, 255, 255, 0.11) 0 6deg,
        transparent 6deg 17deg
    );
    border-radius: 50%;
    opacity: 0.75;
    pointer-events: none;
    transform: translateY(-50%);
    -webkit-mask: radial-gradient(circle, transparent 0 36%, #000 37% 50%, transparent 51%);
    mask: radial-gradient(circle, transparent 0 36%, #000 37% 50%, transparent 51%);
}

.product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.mt-5 .card-body {
    position: relative;
    z-index: 1;
    display: grid;
    padding: clamp(30px, 4vw, 46px) clamp(28px, 4.5vw, 56px) !important;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "title action"
        "copy action";
    align-items: center;
    column-gap: clamp(30px, 5vw, 72px);
    row-gap: 8px;
    text-align: left !important;
}

.product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.mt-5 h2 {
    min-width: 0;
    margin: 0 !important;
    grid-area: title;
    color: #fff !important;
    font-size: clamp(1.5rem, 2.3vw, 2.05rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.025em;
}

.product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.mt-5 p {
    min-width: 0;
    max-width: 760px;
    margin: 0 !important;
    grid-area: copy;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: clamp(0.94rem, 1.2vw, 1.04rem);
    line-height: 1.65 !important;
}

.product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.mt-5 .btn {
    display: inline-flex !important;
    min-width: 174px;
    min-height: 50px;
    padding: 0.75rem 1.35rem !important;
    grid-area: action;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--jssepl-navy-deep) !important;
    background: linear-gradient(135deg, var(--jssepl-gold), #ffd95a) !important;
    border: 1px solid var(--jssepl-gold) !important;
    border-radius: 11px !important;
    box-shadow: 0 12px 26px rgba(7, 40, 61, 0.28) !important;
    font-size: 14px !important;
    font-weight: 800;
    line-height: 1.2 !important;
    text-decoration: none;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.mt-5 .btn::after {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    content: "";
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}

.product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.mt-5 .btn:hover {
    color: #fff !important;
    background: linear-gradient(135deg, var(--jssepl-orange), #f58b2c) !important;
    border-color: var(--jssepl-orange) !important;
    box-shadow: 0 16px 32px rgba(7, 40, 61, 0.34) !important;
    transform: translateY(-2px);
}

.product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.mt-5 .btn:hover::after {
    transform: translateX(3px) rotate(45deg);
}

.product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.mt-5 .btn:focus-visible {
    outline: 3px solid rgba(255, 217, 90, 0.65);
    outline-offset: 4px;
}

@media (max-width: 767.98px) {
    .product-detail-page > .PageContent > .nsp-custom-grid > .container > .row.g-4.align-items-stretch > .col-12 > .nsp-grid-cell > .py-3.py-lg-4 {
        padding-top: 24px !important;
    }

    .product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.justify-content-center.text-center:first-child {
        margin-bottom: 22px !important;
    }

    .product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.g-4 article.card > .card-body {
        padding: 18px !important;
    }

    .product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.mt-5 .card {
        border-radius: 18px 5px 18px 5px !important;
    }

    .product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.mt-5 .card::after {
        width: 180px;
        right: -76px;
        opacity: 0.48;
    }

    .product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.mt-5 .card-body {
        padding: 28px 22px !important;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "title"
            "copy"
            "action";
        row-gap: 12px;
        text-align: center !important;
    }

    .product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.mt-5 .btn {
        min-width: 166px;
        margin-top: 5px;
        justify-self: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.g-4 article.card,
    .product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.g-4 article.card > img.card-img-top {
        transition: none;
    }

    .product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.g-4 article.card:hover,
    .product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.g-4 article.card:hover > img.card-img-top {
        transform: none;
    }

    .product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.mt-5 .btn,
    .product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.mt-5 .btn::after {
        transition: none;
    }

    .product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.mt-5 .btn:hover,
    .product-detail-page .nsp-grid-cell > .py-3.py-lg-4 > .row.mt-5 .btn:hover::after {
        transform: none;
    }
}

.PageContent a:not(.btn):not(.nav-link):not(.button1) {
    color: var(--jssepl-teal-dark);
    text-decoration-color: rgba(7, 138, 168, 0.34);
}

.PageContent a:not(.btn):not(.nav-link):not(.button1):hover {
    color: var(--jssepl-orange);
}

.PageContent blockquote {
    color: #29495d;
    background: #eef7fa;
    border-left-color: var(--jssepl-teal);
}

.PageContent .button1,
.nsp-bs5-block.nsp-cta .nsp-cta-action,
.homepage-feed-section__action a,
.job-primary-action,
.content-search-form button,
.nsp-download-btn {
    color: #fff;
    background: linear-gradient(135deg, var(--jssepl-teal), var(--jssepl-teal-dark));
    border-color: var(--jssepl-teal-dark);
    box-shadow: 0 11px 26px rgba(0, 98, 127, 0.22);
}

.PageContent .button1:hover,
.nsp-bs5-block.nsp-cta .nsp-cta-action:hover,
.homepage-feed-section__action a:hover,
.job-primary-action:hover,
.content-search-form button:hover,
.nsp-download-btn:hover {
    color: var(--jssepl-navy-deep);
    background: var(--jssepl-gold);
    border-color: var(--jssepl-gold);
    box-shadow: 0 13px 30px rgba(240, 116, 36, 0.2);
}

.nsp-bs5-block.nsp-cta.nsp-variant-primary {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.08) 0 12%, transparent 12% 24%, rgba(255, 255, 255, 0.08) 24% 36%, transparent 36%) 0 0 / 72px 100%,
        linear-gradient(120deg, var(--jssepl-teal), var(--jssepl-navy-deep)) !important;
}

/* Full-width Admin-managed CTA rendered immediately before the site footer. */
body > .nsp-bs5-block.nsp-cta.nsp-variant-secondary {
    position: relative;
    padding: clamp(44px, 5vw, 66px) 0 !important;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(112deg, rgba(255, 255, 255, 0.05) 0 10%, transparent 10% 21%, rgba(255, 255, 255, 0.035) 21% 31%, transparent 31%) 0 0 / 104px 100%,
        linear-gradient(118deg, var(--jssepl-teal-dark) 0%, var(--jssepl-navy-deep) 72%) !important;
    border-top: 4px solid var(--jssepl-gold);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
    isolation: isolate;
}

body > .nsp-bs5-block.nsp-cta.nsp-variant-secondary::before {
    position: absolute;
    z-index: 0;
    width: min(42vw, 560px);
    top: 0;
    right: 13%;
    bottom: 0;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(7, 138, 168, 0.18), transparent);
    clip-path: polygon(26% 0, 100% 0, 74% 100%, 0 100%);
    pointer-events: none;
}

body > .nsp-bs5-block.nsp-cta.nsp-variant-secondary::after {
    position: absolute;
    z-index: 0;
    width: clamp(240px, 25vw, 360px);
    aspect-ratio: 1;
    right: clamp(-142px, -8vw, -76px);
    bottom: clamp(-170px, -11vw, -104px);
    content: "";
    background: repeating-conic-gradient(
        from 0deg,
        rgba(255, 255, 255, 0.1) 0 6deg,
        transparent 6deg 17deg
    );
    border-radius: 50%;
    opacity: 0.72;
    pointer-events: none;
    -webkit-mask: radial-gradient(circle, transparent 0 36%, #000 37% 50%, transparent 51%);
    mask: radial-gradient(circle, transparent 0 36%, #000 37% 50%, transparent 51%);
}

body.nsp-motion-enhanced > .nsp-bs5-block.nsp-cta.nsp-variant-secondary::after {
    animation: jssepl-gear-turn 56s linear infinite;
}

body > .nsp-bs5-block.nsp-cta.nsp-variant-secondary > .container {
    position: relative;
    z-index: 1;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(30px, 5vw, 72px) !important;
}

body > .nsp-bs5-block.nsp-cta.nsp-variant-secondary > .container > div:first-child {
    min-width: 0;
    max-width: 860px;
}

body > .nsp-bs5-block.nsp-cta.nsp-variant-secondary h2 {
    margin: 0 0 12px !important;
    color: #fff !important;
    font-size: clamp(1.8rem, 3vw, 2.65rem) !important;
    line-height: 1.16 !important;
    letter-spacing: -0.035em;
}

body > .nsp-bs5-block.nsp-cta.nsp-variant-secondary h2::after {
    display: block;
    width: 68px;
    height: 4px;
    margin-top: 16px;
    content: "";
    background: linear-gradient(90deg, var(--jssepl-gold), var(--jssepl-orange));
    border-radius: 999px;
}

body > .nsp-bs5-block.nsp-cta.nsp-variant-secondary .lead,
body > .nsp-bs5-block.nsp-cta.nsp-variant-secondary .lead p {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: clamp(1rem, 1.35vw, 1.15rem) !important;
    line-height: 1.7 !important;
}

body > .nsp-bs5-block.nsp-cta.nsp-variant-secondary .nsp-cta-action {
    display: inline-flex !important;
    min-width: 174px;
    min-height: 52px;
    padding: 0.8rem 1.45rem !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--jssepl-navy-deep) !important;
    background: linear-gradient(135deg, var(--jssepl-gold), #ffd95a) !important;
    border: 1px solid var(--jssepl-gold) !important;
    border-radius: 11px !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24) !important;
    font-size: 15px !important;
    font-weight: 800;
    line-height: 1.2 !important;
    text-decoration: none;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

body > .nsp-bs5-block.nsp-cta.nsp-variant-secondary .nsp-cta-action::before {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    order: 2;
    content: "";
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}

body > .nsp-bs5-block.nsp-cta.nsp-variant-secondary .nsp-cta-action:hover {
    color: #fff !important;
    background: linear-gradient(135deg, var(--jssepl-orange), #f58b2c) !important;
    border-color: var(--jssepl-orange) !important;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3) !important;
    transform: translateY(-3px);
}

body > .nsp-bs5-block.nsp-cta.nsp-variant-secondary .nsp-cta-action:hover::before {
    transform: translateX(3px) rotate(45deg);
}

body > .nsp-bs5-block.nsp-cta.nsp-variant-secondary .nsp-cta-action:focus-visible {
    outline: 3px solid rgba(255, 217, 90, 0.68);
    outline-offset: 4px;
}

@media (max-width: 991.98px) {
    body > .nsp-bs5-block.nsp-cta.nsp-variant-secondary {
        padding: 42px 0 !important;
    }

    body > .nsp-bs5-block.nsp-cta.nsp-variant-secondary > .container {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        gap: 24px !important;
        text-align: center;
    }

    body > .nsp-bs5-block.nsp-cta.nsp-variant-secondary > .container > div:first-child {
        max-width: 720px;
    }

    body > .nsp-bs5-block.nsp-cta.nsp-variant-secondary h2 {
        font-size: clamp(1.65rem, 6.2vw, 2.2rem) !important;
    }

    body > .nsp-bs5-block.nsp-cta.nsp-variant-secondary h2::after {
        margin-right: auto;
        margin-left: auto;
    }

    body > .nsp-bs5-block.nsp-cta.nsp-variant-secondary::before {
        width: 86vw;
        right: -20%;
    }

    body > .nsp-bs5-block.nsp-cta.nsp-variant-secondary::after {
        width: 250px;
        right: -112px;
        bottom: -132px;
        opacity: 0.5;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.nsp-motion-enhanced > .nsp-bs5-block.nsp-cta.nsp-variant-secondary::after {
        animation: none !important;
    }

    body > .nsp-bs5-block.nsp-cta.nsp-variant-secondary .nsp-cta-action,
    body > .nsp-bs5-block.nsp-cta.nsp-variant-secondary .nsp-cta-action::before {
        transition: none;
    }

    body > .nsp-bs5-block.nsp-cta.nsp-variant-secondary .nsp-cta-action:hover,
    body > .nsp-bs5-block.nsp-cta.nsp-variant-secondary .nsp-cta-action:hover::before {
        transform: none;
    }
}

.nsp-public-form,
#job-application-form,
.content-search-panel,
.blog-detail-card,
.job-detail-card,
.product-detail-layout,
.resource-detail-card,
.brochure-reader-shell,
.error-page-card {
    border-color: var(--jssepl-line);
    box-shadow: 0 18px 46px rgba(7, 40, 61, 0.1);
}

.nsp-public-form input:focus,
.nsp-public-form select:focus,
.nsp-public-form textarea:focus,
#job-application-form input:focus,
#job-application-form select:focus,
#job-application-form textarea:focus {
    border-color: var(--jssepl-teal);
    box-shadow: 0 0 0 4px rgba(7, 138, 168, 0.12);
}

.nsp-public-form .form-control,
.nsp-public-form .form-select,
#job-application-form .form-control,
#job-application-form .form-select {
    color: #29495d;
    background-color: #fbfdfe;
    border-color: #cfdfe6;
}

.contact-page .contact-captcha {
    background: linear-gradient(145deg, #eef8fb, #fbfdfe);
    border-color: #cfe3eb;
}

.contact-page .contact-captcha__icon {
    background: linear-gradient(135deg, var(--jssepl-teal), var(--jssepl-teal-dark));
    box-shadow: 0 8px 18px rgba(0, 98, 127, 0.2);
}

.contact-page .contact-captcha__copy strong {
    color: var(--jssepl-navy);
}

.contact-page .contact-captcha__copy small,
.contact-page .contact-captcha__answer label {
    color: var(--jssepl-steel);
}

.contact-page .contact-captcha__question,
.contact-page .contact-captcha__refresh {
    border-color: #c8dfe8;
}

.contact-page .contact-captcha__refresh {
    color: var(--jssepl-teal-dark);
    background: #e5f5f9;
}

.contact-page .contact-captcha__refresh:hover,
.contact-page .contact-captcha__refresh:focus-visible {
    color: #fff;
    background: var(--jssepl-teal);
    border-color: var(--jssepl-teal);
}

/* Manufacturing statistics: a conveyor panel with slow-moving gear hubs. */
.stheme4-home .stheme4-statistics {
    background: linear-gradient(180deg, #fff, #f6fafc);
}

.stheme4-home .stheme4-statistics .fact-bg {
    background:
        linear-gradient(135deg, transparent 0 46%, rgba(255, 255, 255, 0.045) 46% 50%, transparent 50% 96%, rgba(255, 255, 255, 0.045) 96%) 0 0 / 52px 52px,
        radial-gradient(circle at 94% 0, rgba(244, 191, 34, 0.22), transparent 21rem),
        linear-gradient(120deg, var(--jssepl-navy-deep), var(--jssepl-teal-dark)) !important;
    border-color: rgba(88, 183, 209, 0.3);
    box-shadow: 0 30px 72px rgba(7, 40, 61, 0.23);
}

.stheme4-home .stheme4-statistics .fact-bg::before {
    border-color: rgba(88, 183, 209, 0.24);
    box-shadow:
        0 0 0 42px rgba(88, 183, 209, 0.045),
        0 0 0 84px rgba(244, 191, 34, 0.035);
}

.stheme4-home .stheme4-statistics .counter .counter-icon {
    position: relative;
    z-index: 1;
    overflow: visible;
    isolation: isolate;
    color: var(--jssepl-navy-deep);
    background: linear-gradient(145deg, #ffd74b, var(--jssepl-gold));
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 9px 24px rgba(7, 40, 61, 0.28);
}

.stheme4-home .stheme4-statistics .counter .counter-icon::before {
    position: absolute;
    z-index: -1;
    inset: -6px;
    content: "";
    background: repeating-conic-gradient(
        from 0deg,
        var(--jssepl-gold) 0 7deg,
        transparent 7deg 15deg
    );
    border-radius: 50%;
}

.stheme4-home .stheme4-statistics .counter .counter-icon i {
    color: var(--jssepl-navy-deep);
}

.stheme4-home .stheme4-statistics .counter h3 {
    color: #cde6ef;
}

/* Service cards: blueprint grid and inspection scan on interaction. */
.stheme4-home .stheme4-services-showcase {
    background:
        linear-gradient(rgba(7, 138, 168, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 138, 168, 0.045) 1px, transparent 1px),
        var(--jssepl-surface);
    background-size: 34px 34px;
}

.stheme4-home .stheme4-services-showcase::before {
    background: var(--jssepl-gold);
    opacity: 0.15;
}

.stheme4-home .stheme4-service-card .tpservices__item {
    border: 1px solid var(--jssepl-line);
    border-top: 4px solid var(--jssepl-teal);
    box-shadow: 0 18px 46px rgba(7, 40, 61, 0.12);
}

.stheme4-home .stheme4-service-card:hover .tpservices__item,
.stheme4-home .stheme4-service-card:focus-within .tpservices__item {
    border-top-color: var(--jssepl-orange);
    box-shadow: 0 28px 64px rgba(7, 40, 61, 0.18);
}

.stheme4-home .stheme4-service-card .tpservices__item::after,
.stheme4-home .stheme4-service-card .tpservices__content::before {
    background: linear-gradient(180deg, var(--jssepl-gold), var(--jssepl-orange));
}

.stheme4-home .stheme4-service-card .tpservices__thumb {
    background: #dcebf1;
}

.stheme4-home .stheme4-service-card .tpservices__thumb::after {
    background: linear-gradient(180deg, transparent 48%, rgba(7, 40, 61, 0.46));
}

.stheme4-home .stheme4-service-card .tpservices__thumb::before {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: -42%;
    width: 28%;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(88, 183, 209, 0.68), transparent);
    opacity: 0;
    pointer-events: none;
    transform: skewX(-14deg);
    transition: opacity 180ms ease, transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.stheme4-home .stheme4-service-card:hover .tpservices__thumb::before,
.stheme4-home .stheme4-service-card:focus-within .tpservices__thumb::before {
    opacity: 0.8;
    transform: translateX(560%) skewX(-14deg);
}

.stheme4-home .stheme4-service-card .tpservices__summary {
    color: var(--jssepl-steel);
}

.stheme4-home .stheme4-service-card__button,
.stheme4-service-list-card__button {
    color: #fff;
    background: linear-gradient(135deg, var(--jssepl-teal), var(--jssepl-teal-dark));
    border-color: var(--jssepl-teal-dark);
    box-shadow: 0 10px 24px rgba(0, 98, 127, 0.19);
}

.stheme4-home .stheme4-service-card__button:hover,
.stheme4-home .stheme4-service-card__button:focus-visible,
.stheme4-service-list-card__button:hover,
.stheme4-service-list-card__button:focus-visible {
    color: var(--jssepl-navy-deep);
    background: var(--jssepl-gold);
    border-color: var(--jssepl-gold);
}

/* Testimonials use a dark forged-steel surface and an ambient cog outline. */
.stheme4-home .stheme4-testimonials {
    background:
        radial-gradient(circle at 12% 18%, rgba(244, 191, 34, 0.18), transparent 22rem),
        linear-gradient(130deg, var(--jssepl-navy-deep), var(--jssepl-teal-dark)) !important;
}

.stheme4-home .stheme4-testimonials::before {
    z-index: -1;
    right: clamp(-130px, -7vw, -60px);
    bottom: clamp(-170px, -10vw, -90px);
    width: clamp(360px, 38vw, 570px);
    height: clamp(360px, 38vw, 570px);
    content: "";
    background: repeating-conic-gradient(
        from 0deg,
        rgba(255, 255, 255, 0.11) 0 5deg,
        transparent 5deg 14deg
    );
    border-radius: 50%;
    -webkit-mask: radial-gradient(circle, transparent 0 34%, #000 35% 50%, transparent 51%);
    mask: radial-gradient(circle, transparent 0 34%, #000 35% 50%, transparent 51%);
    opacity: 0.6;
}

.stheme4-home .stheme4-testimonials .tp-section-subtitle {
    color: var(--jssepl-gold);
}

.stheme4-home .stheme4-testimonials .owl-dot span {
    background: rgba(255, 255, 255, 0.34);
}

.stheme4-home .stheme4-testimonials .owl-dot.active span {
    background: var(--jssepl-gold);
}

/* Gallery and editorial cards retain Admin images with brand-matched framing. */
.stheme4-home .homepage-gallery-feed {
    background:
        radial-gradient(circle at 7% 13%, rgba(7, 138, 168, 0.11), transparent 23rem),
        radial-gradient(circle at 93% 86%, rgba(240, 116, 36, 0.06), transparent 21rem),
        linear-gradient(180deg, #f4f9fb, #edf5f8);
}

.stheme4-home .homepage-gallery-feed .tp-section-subtitle {
    color: var(--jssepl-teal-dark);
}

.stheme4-home .stheme4-album-card,
.stheme4-home .stheme4-blog-card {
    border-color: var(--jssepl-line);
    box-shadow: 0 18px 46px rgba(7, 40, 61, 0.11);
}

.stheme4-home .stheme4-album-card::before {
    background: linear-gradient(90deg, var(--jssepl-teal) 0 62%, var(--jssepl-gold) 62% 82%, var(--jssepl-orange) 82% 100%);
}

.stheme4-home .stheme4-album-card:hover,
.stheme4-home .stheme4-blog-card:hover {
    box-shadow: 0 28px 64px rgba(7, 40, 61, 0.17);
}

.stheme4-home .stheme4-album-card__media,
.stheme4-home .stheme4-blog-card__media {
    background: #dcebf1;
}

.stheme4-home .stheme4-album-card__media::after,
.stheme4-home .stheme4-blog-card__media::after {
    background: linear-gradient(180deg, transparent 48%, rgba(7, 40, 61, 0.55));
}

.stheme4-home .stheme4-album-card__placeholder,
.stheme4-home .stheme4-blog-card__placeholder {
    color: var(--jssepl-teal-dark);
    background: linear-gradient(145deg, #edf8fb, #cfe8f1);
}

.stheme4-home .stheme4-album-card__badge {
    background: rgba(7, 40, 61, 0.88);
}

.stheme4-home .stheme4-album-card__number {
    color: var(--jssepl-navy);
}

.stheme4-home .stheme4-album-card__body h3 a,
.stheme4-home .stheme4-blog-card__body h3 a {
    color: var(--jssepl-navy);
}

.stheme4-home .stheme4-album-card__body h3 a:hover,
.stheme4-home .stheme4-blog-card__body h3 a:hover {
    color: var(--jssepl-teal-dark);
}

.stheme4-home .stheme4-album-card__body p,
.stheme4-home .stheme4-blog-card__body > p,
.stheme4-home .stheme4-blog-card__author {
    color: var(--jssepl-steel);
}

.stheme4-home .stheme4-album-card__link,
.stheme4-home .stheme4-blog-card__link {
    color: var(--jssepl-teal-dark);
}

.stheme4-home .stheme4-album-card__link span {
    background: var(--jssepl-teal-dark);
}

.stheme4-home .stheme4-album-card__link:hover span {
    background: var(--jssepl-orange);
}

.stheme4-home .homepage-blog-feed {
    background:
        linear-gradient(120deg, rgba(244, 191, 34, 0.09), transparent 36%),
        #fff;
}

.stheme4-home .stheme4-blog-card {
    border-left-color: var(--jssepl-teal);
}

.stheme4-home .stheme4-blog-card:hover {
    border-left-color: var(--jssepl-orange);
}

.stheme4-home .stheme4-blog-card__category {
    color: var(--jssepl-navy-deep);
    background: var(--jssepl-gold);
}

.stheme4-home .stheme4-blog-card__meta time {
    color: var(--jssepl-navy);
    background: #fff0ba;
}

.stheme4-home .stheme4-blog-card__meta time strong {
    background: var(--jssepl-teal-dark);
}

.stheme4-home .stheme4-blog-card__author i {
    color: var(--jssepl-teal);
}

/* Inner-page cards inherit the same precise industrial edge. */
.stheme4-service-list-card .tpservices__item,
.product-category-card,
.product-card,
.blog-list-card,
.resource-card,
.job-opening-card,
.brochure-card,
.our-client-card,
.testimonial-list-item,
.content-category-card,
.content-card,
.news-card,
.event-card,
.team-card {
    border-color: var(--jssepl-line);
    border-top-color: var(--jssepl-teal);
    box-shadow: 0 16px 42px rgba(7, 40, 61, 0.1);
}

.stheme4-service-list-card:hover .tpservices__item,
.product-category-card:hover,
.product-card:hover,
.blog-list-card:hover,
.resource-card:hover,
.job-opening-card:hover,
.brochure-card:hover,
.our-client-card:hover,
.testimonial-list-item:hover,
.content-category-card:hover,
.content-card:hover,
.news-card:hover,
.event-card:hover,
.team-card:hover {
    border-top-color: var(--jssepl-orange);
    box-shadow: 0 24px 56px rgba(7, 40, 61, 0.16);
}

/* Dark navy footer with safety-color contact markers. */
.stheme4-footer {
    color: #e6f2f6;
    background:
        linear-gradient(rgba(88, 183, 209, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(88, 183, 209, 0.035) 1px, transparent 1px),
        radial-gradient(circle at 84% 14%, rgba(244, 191, 34, 0.13), transparent 26rem),
        linear-gradient(135deg, var(--jssepl-navy-deep), #0a4966) !important;
    background-image:
        linear-gradient(rgba(88, 183, 209, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(88, 183, 209, 0.035) 1px, transparent 1px),
        radial-gradient(circle at 84% 14%, rgba(244, 191, 34, 0.13), transparent 26rem),
        linear-gradient(135deg, var(--jssepl-navy-deep), #0a4966) !important;
    background-size: 42px 42px, 42px 42px, auto, auto;
}

.stheme4-footer .footer__widget {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(88, 183, 209, 0.18);
    box-shadow: 0 17px 40px rgba(5, 29, 45, 0.22);
}

.stheme4-footer .footer__widget-title::after {
    background: linear-gradient(90deg, var(--jssepl-gold), var(--jssepl-orange));
}

.stheme4-footer .footer-about,
.stheme4-footer .footer-about p,
.stheme4-footer .footer__widget-info p,
.stheme4-footer .footer__subscribe p,
.stheme4-footer .footer__contact-info ul li,
.stheme4-footer .footer__contact-info ul li a,
.stheme4-footer .footer-map-fallback {
    color: #d7e9f0 !important;
}

.stheme4-footer .footer__contact-info ul li span {
    color: var(--jssepl-navy-deep);
    background: var(--jssepl-gold);
}

.stheme4-footer .footer__contact-info ul li a:hover,
.stheme4-footer .footer-map-fallback a,
.stheme4-footer .footer__copyright a {
    color: var(--jssepl-gold) !important;
}

.stheme4-footer .footer__social ul li a:hover {
    color: var(--jssepl-navy-deep);
    background: var(--jssepl-gold);
    border-color: var(--jssepl-gold);
}

.stheme4-footer .footer__bottom {
    background: #041e2e !important;
    border-top-color: rgba(88, 183, 209, 0.16);
}

.stheme4-footer .footer__copyright p {
    color: #d8e9ef !important;
}

button#ChatWidgetDiv {
    color: #fff;
    background: linear-gradient(145deg, var(--jssepl-teal), var(--jssepl-teal-dark)) !important;
    border: 3px solid #fff !important;
    box-shadow: 0 12px 28px rgba(7, 40, 61, 0.28);
    animation: none !important;
    transform: none;
}

button#ChatWidgetDiv:hover,
button#ChatWidgetDiv:focus-visible {
    color: var(--jssepl-navy-deep);
    background: var(--jssepl-gold) !important;
}

body.offcanvas-open .nsp-cp-style1 {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Motion language: rotating tooling, conveyor shift and inspection scan. */
@keyframes jssepl-gear-turn {
    to {
        transform: rotate(1turn);
    }
}

@keyframes jssepl-conveyor-shift {
    to {
        background-position: 52px 0, 0 0, 0 0;
    }
}

@keyframes jssepl-precision-rail {
    to {
        background-position: 200% 0;
    }
}

@keyframes jssepl-inspection-pass {
    0%, 14% {
        opacity: 0;
        transform: translate3d(0, -20%, 0);
    }

    20% {
        opacity: 0.52;
    }

    54% {
        opacity: 0.3;
        transform: translate3d(0, 590%, 0);
    }

    60%, 100% {
        opacity: 0;
        transform: translate3d(0, 590%, 0);
    }
}

@keyframes jssepl-calibration-pulse {
    0%, 100% {
        opacity: 0.38;
        filter: drop-shadow(0 0 0 rgba(244, 191, 34, 0));
    }

    50% {
        opacity: 0.78;
        filter: drop-shadow(0 0 7px rgba(244, 191, 34, 0.34));
    }
}

@keyframes jssepl-blueprint-drift {
    to {
        background-position: 34px 34px, 34px 34px, 0 0;
    }
}

@keyframes jssepl-machine-status {
    0%, 100% {
        opacity: 0.58;
        transform: scaleY(0.58);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes jssepl-metal-sheen {
    0%, 18% {
        opacity: 0;
        transform: translate3d(-170%, 0, 0) skewX(-18deg);
    }

    25% {
        opacity: 0.65;
    }

    48% {
        opacity: 0;
        transform: translate3d(620%, 0, 0) skewX(-18deg);
    }

    100% {
        opacity: 0;
        transform: translate3d(620%, 0, 0) skewX(-18deg);
    }
}

body.nsp-motion-enhanced .header-area-v1 .header-navigation::before {
    background: linear-gradient(
        90deg,
        var(--jssepl-navy-deep) 0 13%,
        var(--jssepl-teal) 13% 34%,
        var(--jssepl-gold) 34% 42%,
        var(--jssepl-orange) 42% 50%,
        var(--jssepl-navy-deep) 50% 63%,
        var(--jssepl-teal) 63% 84%,
        var(--jssepl-gold) 84% 92%,
        var(--jssepl-orange) 92% 100%
    );
    background-size: 200% 100%;
    animation: jssepl-precision-rail 9s linear infinite;
}

.responsive-banner {
    isolation: isolate;
    overflow: hidden;
}

.responsive-banner::before,
.responsive-banner::after {
    position: absolute;
    z-index: 6;
    content: "";
    pointer-events: none;
}

.responsive-banner::before {
    top: -20%;
    right: 0;
    left: 0;
    height: 20%;
    background: linear-gradient(
        180deg,
        transparent,
        rgba(88, 183, 209, 0.14) 28%,
        rgba(244, 191, 34, 0.32) 50%,
        rgba(88, 183, 209, 0.14) 72%,
        transparent
    );
    mix-blend-mode: screen;
    opacity: 0;
    will-change: opacity, transform;
}

.responsive-banner::after {
    inset: clamp(10px, 1.35vw, 20px);
    background:
        linear-gradient(var(--jssepl-gold), var(--jssepl-gold)) left top / 48px 2px no-repeat,
        linear-gradient(var(--jssepl-gold), var(--jssepl-gold)) left top / 2px 48px no-repeat,
        linear-gradient(var(--jssepl-teal), var(--jssepl-teal)) right top / 48px 2px no-repeat,
        linear-gradient(var(--jssepl-teal), var(--jssepl-teal)) right top / 2px 48px no-repeat,
        linear-gradient(var(--jssepl-teal), var(--jssepl-teal)) left bottom / 48px 2px no-repeat,
        linear-gradient(var(--jssepl-teal), var(--jssepl-teal)) left bottom / 2px 48px no-repeat,
        linear-gradient(var(--jssepl-orange), var(--jssepl-orange)) right bottom / 48px 2px no-repeat,
        linear-gradient(var(--jssepl-orange), var(--jssepl-orange)) right bottom / 2px 48px no-repeat;
    opacity: 0.5;
}

body.nsp-motion-enhanced .responsive-banner::before {
    animation: jssepl-inspection-pass 9.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

body.nsp-motion-enhanced .responsive-banner::after {
    animation: jssepl-calibration-pulse 4.8s ease-in-out infinite;
}

body.nsp-motion-enhanced .stheme4-services-showcase {
    animation: jssepl-blueprint-drift 24s linear infinite;
}

body.nsp-motion-enhanced .tp-section-subtitle::before,
body.nsp-motion-enhanced .tp-section-subtitle::after {
    animation: jssepl-calibration-pulse 3.8s ease-in-out infinite;
}

body.nsp-motion-enhanced .stheme4-service-card .tpservices__item::after {
    transform-origin: center;
    animation: jssepl-machine-status 3.2s ease-in-out infinite;
}

body.nsp-motion-enhanced .stheme4-statistics .fact-bg > .row > [class*="col-"]:nth-child(even) .counter-icon::before {
    animation-direction: reverse;
}

html.nsp-motion-ready .nsp-reveal-target.tp-section-title,
html.nsp-motion-ready .nsp-reveal-target.banner-heading {
    clip-path: inset(0 100% 0 0);
    transition:
        opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 580ms cubic-bezier(0.22, 1, 0.36, 1),
        clip-path 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

html.nsp-motion-ready .nsp-reveal-target.tp-section-title.is-visible,
html.nsp-motion-ready .nsp-reveal-target.banner-heading.is-visible {
    clip-path: inset(0);
}

.stheme4-home .stheme4-service-card__button,
.stheme4-service-list-card__button,
.nsp-bs5-block.nsp-cta .nsp-cta-action,
.homepage-feed-section__action a {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.stheme4-home .stheme4-service-card__button::after,
.stheme4-service-list-card__button::after,
.nsp-bs5-block.nsp-cta .nsp-cta-action::after,
.homepage-feed-section__action a::after {
    position: absolute;
    z-index: 1;
    top: -120%;
    bottom: -120%;
    left: -32%;
    width: 24%;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
    opacity: 0;
    pointer-events: none;
    transform: translate3d(-170%, 0, 0) skewX(-18deg);
}

body.nsp-motion-enhanced .nsp-bs5-block.nsp-cta .nsp-cta-action::after {
    animation: jssepl-metal-sheen 6.5s ease-in-out infinite;
}

@media (hover: hover) and (pointer: fine) {
    .stheme4-home .stheme4-service-card {
        transform-origin: center 70%;
        transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .stheme4-home .stheme4-service-card:hover,
    .stheme4-home .stheme4-service-card:focus-within {
        transform: translate3d(0, -10px, 0) rotateX(1.2deg) rotateY(-0.7deg);
    }

    .stheme4-home .stheme4-service-card__button:hover::after,
    .stheme4-home .stheme4-service-card__button:focus-visible::after,
    .stheme4-service-list-card__button:hover::after,
    .stheme4-service-list-card__button:focus-visible::after,
    .homepage-feed-section__action a:hover::after,
    .homepage-feed-section__action a:focus-visible::after {
        opacity: 0.72;
        transform: translate3d(620%, 0, 0) skewX(-18deg);
        transition: opacity 160ms ease, transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
    }
}

body.nsp-motion-enhanced .stheme4-statistics .counter .counter-icon::before {
    animation: jssepl-gear-turn 18s linear infinite;
}

body.nsp-motion-enhanced .stheme4-testimonials::before,
body.nsp-motion-enhanced .banner-area::after {
    animation: jssepl-gear-turn 48s linear infinite;
}

body.nsp-motion-enhanced .stheme4-statistics .fact-bg,
body.nsp-motion-enhanced .nsp-bs5-block.nsp-cta.nsp-variant-primary {
    animation: jssepl-conveyor-shift 20s linear infinite;
}

@media (max-width: 575.98px) {
    .header-area-v1 .brand-logo img {
        max-width: min(175px, 52vw);
        max-height: 52px;
    }

    .stheme4-home .stheme4-service-card .tpservices__item {
        border-top-width: 3px;
    }

    .responsive-banner::after {
        inset: 8px;
        background-size: 26px 2px, 2px 26px, 26px 2px, 2px 26px, 26px 2px, 2px 26px, 26px 2px, 2px 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.nsp-motion-enhanced .stheme4-statistics .counter .counter-icon::before,
    body.nsp-motion-enhanced .stheme4-testimonials::before,
    body.nsp-motion-enhanced .banner-area::after,
    body.nsp-motion-enhanced .stheme4-statistics .fact-bg,
    body.nsp-motion-enhanced .nsp-bs5-block.nsp-cta.nsp-variant-primary,
    body.nsp-motion-enhanced .header-area-v1 .header-navigation::before,
    body.nsp-motion-enhanced .responsive-banner::before,
    body.nsp-motion-enhanced .responsive-banner::after,
    body.nsp-motion-enhanced .stheme4-services-showcase,
    body.nsp-motion-enhanced .tp-section-subtitle::before,
    body.nsp-motion-enhanced .tp-section-subtitle::after,
    body.nsp-motion-enhanced .stheme4-service-card .tpservices__item::after,
    body.nsp-motion-enhanced .nsp-bs5-block.nsp-cta .nsp-cta-action::after {
        animation: none !important;
    }

    .stheme4-home .stheme4-service-card .tpservices__thumb::before {
        display: none !important;
    }

    .responsive-banner::before {
        display: none !important;
    }

    .responsive-banner::after {
        opacity: 0.48 !important;
        filter: none !important;
    }

    html.nsp-motion-ready .nsp-reveal-target.tp-section-title,
    html.nsp-motion-ready .nsp-reveal-target.banner-heading,
    html.nsp-motion-ready .nsp-reveal-target.tp-section-title.is-visible,
    html.nsp-motion-ready .nsp-reveal-target.banner-heading.is-visible {
        clip-path: none !important;
    }

    .stheme4-home .stheme4-service-card__button::after,
    .stheme4-service-list-card__button::after,
    .nsp-bs5-block.nsp-cta .nsp-cta-action::after,
    .homepage-feed-section__action a::after {
        display: none !important;
    }
}

/* Off-canvas panel trigger: use the familiar three-bar menu affordance. */
.header-area-v1 .header-navigation .nav-tools .icon.off-menu {
    position: relative;
    display: flex;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.header-area-v1 .header-navigation .nav-tools .icon.off-menu span {
    display: block !important;
    width: 24px;
    height: 2px;
    margin: 0;
    border-radius: 999px;
    transform: translateX(0);
    transition: transform 180ms ease, width 180ms ease, background-color 180ms ease;
}

.header-area-v1 .header-navigation .nav-tools .icon.off-menu::before {
    content: none;
}

.header-area-v1 .header-navigation .nav-tools .icon.off-menu:hover span:first-child,
.header-area-v1 .header-navigation .nav-tools .icon.off-menu:focus-visible span:first-child {
    transform: translateX(2px);
}

.header-area-v1 .header-navigation .nav-tools .icon.off-menu:hover span:nth-child(2),
.header-area-v1 .header-navigation .nav-tools .icon.off-menu:focus-visible span:nth-child(2) {
    width: 18px;
    transform: translateX(-3px);
}

.header-area-v1 .header-navigation .nav-tools .icon.off-menu:hover span:last-child,
.header-area-v1 .header-navigation .nav-tools .icon.off-menu:focus-visible span:last-child {
    transform: translateX(2px);
}

/* Use the full navigation on laptop widths only when the live menu actually fits. */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .header-area-v1 .header-navigation.adaptive-desktop {
        padding: 0;
    }

    .header-area-v1 .header-navigation.adaptive-desktop .container-fluid {
        padding-right: 20px;
        padding-left: 20px;
    }

    .header-area-v1 .header-navigation.adaptive-desktop > .container-fluid > .row {
        flex-wrap: nowrap;
    }

    .header-area-v1 .header-navigation.adaptive-desktop .header-logo-column {
        width: auto;
        padding-right: 14px;
        flex: 0 0 auto;
    }

    .header-area-v1 .header-navigation.adaptive-desktop .header-menu-column {
        width: auto;
        flex: 1 1 auto;
    }

    .header-area-v1 .header-navigation.adaptive-desktop .header-tools-column {
        display: block !important;
        width: auto;
        padding-left: 12px;
        flex: 0 0 auto;
    }

    .header-area-v1 .header-navigation.adaptive-desktop .brand-logo img {
        max-width: 168px;
        max-height: 52px;
    }

    .header-area-v1 .header-navigation.adaptive-desktop .navbar-toggler,
    .header-area-v1 .header-navigation.adaptive-desktop .navbar-close,
    .header-area-v1 .header-navigation.adaptive-desktop .mobile-menu-heading,
    .header-area-v1 .header-navigation.adaptive-desktop .dd-trigger {
        display: none !important;
    }

    .header-area-v1 .header-navigation.adaptive-desktop .nav-menu {
        position: static;
        width: 100%;
        height: auto;
        padding: 0;
        overflow: visible;
        text-align: center;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .header-area-v1 .header-navigation.adaptive-desktop .main-menu > ul {
        display: flex;
        width: 100%;
        padding: 0;
        align-items: stretch;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .header-area-v1 .header-navigation.adaptive-desktop .main-menu > ul > li {
        display: inline-block;
        width: auto;
        margin: 0;
        overflow: visible;
        border: 0;
        border-radius: 0;
    }

    .header-area-v1 .header-navigation.adaptive-desktop .main-menu > ul > li > a {
        display: block;
        min-height: 0;
        padding: 28px 5px;
        color: #203e51 !important;
        background: transparent;
        border: 0;
        border-radius: 0;
        font-size: 12.5px;
        line-height: inherit;
        white-space: nowrap;
        box-shadow: none;
    }

    .header-area-v1 .header-navigation.adaptive-desktop .main-menu > ul > li > a::before {
        right: 5px;
        bottom: 12px;
        left: 5px;
        display: block;
    }

    .header-area-v1 .header-navigation.adaptive-desktop .main-menu > ul > li.menu-item-has-children > a::after {
        display: inline-block;
        width: 7px;
        height: 7px;
        margin: 0 0 3px 6px;
        float: none;
        content: "" !important;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        font-family: inherit;
        transform: rotate(45deg);
        transition: color 180ms ease, transform 180ms ease;
    }

    .header-area-v1 .header-navigation.adaptive-desktop .main-menu > ul > li.menu-item-has-children:hover > a::after,
    .header-area-v1 .header-navigation.adaptive-desktop .main-menu > ul > li.menu-item-has-children:focus-within > a::after {
        transform: rotate(225deg);
    }

    .header-area-v1 .header-navigation.adaptive-desktop .main-menu > ul > li > .sub-menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        display: block;
        width: 220px;
        margin: 0;
        padding: 8px;
        overflow: hidden;
        background: #fff;
        border: 1px solid rgba(11, 54, 82, 0.11);
        border-top: 3px solid var(--jssepl-teal);
        border-radius: 0 0 12px 12px;
        box-shadow: 0 22px 48px rgba(7, 40, 61, 0.17);
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
    }

    .header-area-v1 .header-navigation.adaptive-desktop .main-menu > ul > li:hover > .sub-menu,
    .header-area-v1 .header-navigation.adaptive-desktop .main-menu > ul > li:focus-within > .sub-menu {
        top: 100%;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .header-area-v1 .header-navigation.adaptive-desktop .main-menu > ul > li > .sub-menu li {
        display: block;
        width: 100%;
        margin: 0;
        overflow: hidden;
        border: 0;
        border-radius: 8px;
    }

    .header-area-v1 .header-navigation.adaptive-desktop .main-menu > ul > li > .sub-menu li a {
        display: flex;
        min-height: 42px;
        padding: 9px 11px;
        align-items: center;
        color: #29495d;
        background: transparent;
        border: 0;
        border-radius: 8px;
        line-height: 1.4 !important;
    }

    .header-area-v1 .header-navigation.adaptive-desktop .main-menu > ul > li > .sub-menu li a:hover,
    .header-area-v1 .header-navigation.adaptive-desktop .main-menu > ul > li > .sub-menu li a:focus-visible,
    .header-area-v1 .header-navigation.adaptive-desktop .main-menu > ul > li > .sub-menu li a.active {
        padding-left: 15px;
        color: var(--jssepl-teal-dark);
        background: #eaf7fa;
    }

    .header-area-v1 .header-navigation.adaptive-desktop .main-menu > ul > li:last-child > .sub-menu {
        right: 0;
        left: auto;
    }
}

/* Keep the mobile contact control clear of device chrome and page actions. */
@media (max-width: 767.98px) {
    .nsp-cp-style1.nsp-cp-right-bottom {
        right: max(14px, env(safe-area-inset-right, 0px));
        bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 12px));
    }

    .nsp-cp-style1 #ChatWidgetDiv {
        width: 50px;
        height: 50px;
        padding: 6px;
        border-width: 2px !important;
        box-shadow: 0 9px 22px rgba(7, 40, 61, 0.24);
    }

    .nsp-cp-style1 #ChatWidgetDiv i {
        font-size: 20px;
    }

    .nsp-cp-style1 .nsp-cp-panel {
        width: min(290px, calc(100vw - 32px));
        max-height: calc(100vh - 100px);
        max-height: calc(100dvh - 100px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}

/* IntersectionObserver applies this only to exact off-screen motion owners. */
body.nsp-motion-enhanced .nsp-motion-paused,
body.nsp-motion-enhanced .nsp-motion-paused::before,
body.nsp-motion-enhanced .nsp-motion-paused::after {
    animation-play-state: paused !important;
}

/*
 * Shared Services system
 * Keep the Admin-driven Services index and both homepage service carousels on
 * the same image geometry, card hierarchy and manufacturing motion language.
 */
body.stheme4-services-index .innerpage-main-wrapper {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        linear-gradient(rgba(7, 138, 168, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 138, 168, 0.045) 1px, transparent 1px),
        radial-gradient(circle at 92% 12%, rgba(244, 191, 34, 0.12), transparent 24rem),
        var(--jssepl-surface);
    background-size: 34px 34px, 34px 34px, auto, auto;
}

body.stheme4-services-index .innerpage-main-wrapper::before {
    position: absolute;
    z-index: 0;
    top: clamp(52px, 8vw, 118px);
    right: clamp(-190px, -11vw, -118px);
    width: clamp(280px, 28vw, 430px);
    height: clamp(280px, 28vw, 430px);
    content: "";
    border: 2px dashed rgba(7, 138, 168, 0.18);
    border-radius: 50%;
    box-shadow:
        0 0 0 28px rgba(7, 138, 168, 0.035),
        0 0 0 58px rgba(244, 191, 34, 0.025);
    pointer-events: none;
}

body.stheme4-services-index .innerpage-main-wrapper > * {
    position: relative;
    z-index: 1;
}

.stheme4-home .services-blocks-area.stheme4-services-blocks-showcase {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        linear-gradient(rgba(7, 138, 168, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 138, 168, 0.045) 1px, transparent 1px),
        radial-gradient(circle at 8% 18%, rgba(88, 183, 209, 0.1), transparent 23rem),
        var(--jssepl-surface) !important;
    background-size: 34px 34px, 34px 34px, auto, auto !important;
}

.stheme4-home .services-blocks-area.stheme4-services-blocks-showcase::before {
    z-index: 0;
    top: clamp(64px, 8vw, 118px);
    right: clamp(-180px, -10vw, -110px);
    bottom: auto;
    width: clamp(280px, 27vw, 410px);
    height: clamp(280px, 27vw, 410px);
    background: transparent;
    border: 2px dashed rgba(7, 138, 168, 0.2);
    box-shadow:
        0 0 0 26px rgba(7, 138, 168, 0.035),
        0 0 0 54px rgba(244, 191, 34, 0.028);
    opacity: 1;
}

.stheme4-service-list-card {
    height: 100%;
    transform: none;
}

.stheme4-service-list-card .tpservices__item {
    position: relative;
    height: 100%;
    margin-bottom: 0 !important;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--jssepl-line);
    border-top: 4px solid var(--jssepl-teal);
    border-radius: 28px 28px 28px 7px;
    box-shadow: 0 18px 46px rgba(7, 40, 61, 0.12);
    transition: border-color 240ms ease, box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.stheme4-service-list-card .tpservices__item::after {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 28px;
    width: 4px;
    height: 64px;
    content: "";
    background: linear-gradient(180deg, var(--jssepl-gold), var(--jssepl-orange));
    border-radius: 6px 0 0 6px;
    transform-origin: center;
}

.stheme4-service-list-card .tpservices__thumb {
    position: relative;
    min-height: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    flex: 0 0 auto;
    background: #dcebf1;
    border-radius: 24px 24px 70px 0;
}

.stheme4-service-list-card .tpservices__thumb::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 48%, rgba(7, 40, 61, 0.46));
    pointer-events: none;
}

.stheme4-service-list-card .tpservices__thumb::before {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: -42%;
    width: 18%;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(244, 191, 34, 0.68), rgba(88, 183, 209, 0.42), transparent);
    opacity: 0;
    visibility: visible;
    pointer-events: none;
    transform: skewX(-14deg);
    transition: opacity 180ms ease, transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.stheme4-service-list-card .tpservices__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
}

.stheme4-service-list-card .tpservices__placeholder {
    height: 100%;
}

.stheme4-service-list-card .tpservices__content {
    position: relative;
    display: flex;
    min-height: 255px;
    padding: 27px 26px 26px;
    flex: 1 1 auto;
    flex-direction: column;
    background: #fff;
}

.stheme4-service-list-card .tpservices__content::before {
    display: block;
    width: 42px;
    height: 4px;
    margin-bottom: 17px;
    content: "";
    background: linear-gradient(90deg, var(--jssepl-gold), var(--jssepl-orange));
    border-radius: 99px;
    transition: width 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.stheme4-service-list-card .tpservices__title {
    margin: 0 0 11px;
    font-size: clamp(20px, 2vw, 24px);
    line-height: 1.25;
}

.stheme4-service-list-card .tpservices__title a {
    color: var(--jssepl-navy);
    transition: color 180ms ease;
}

.stheme4-service-list-card .tpservices__summary {
    margin: 0 0 22px;
    color: var(--jssepl-steel);
    font-size: 14px;
    line-height: 1.7;
}

.stheme4-service-list-card__button {
    display: inline-flex;
    min-height: 46px;
    margin-top: auto;
    padding: 11px 20px;
    align-items: center;
    align-self: stretch;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--jssepl-teal), var(--jssepl-teal-dark));
    border: 1px solid var(--jssepl-teal-dark);
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0, 98, 127, 0.19);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.stheme4-service-list-card:hover .tpservices__item,
.stheme4-service-list-card:focus-within .tpservices__item {
    border-top-color: var(--jssepl-orange);
    box-shadow: 0 28px 64px rgba(7, 40, 61, 0.18);
}

.stheme4-service-list-card:hover .tpservices__title a,
.stheme4-service-list-card:focus-within .tpservices__title a {
    color: var(--jssepl-teal-dark);
}

.stheme4-service-list-card:hover .tpservices__thumb img,
.stheme4-service-list-card:focus-within .tpservices__thumb img {
    transform: scale(1.055);
}

.stheme4-service-list-card:hover .tpservices__thumb::before,
.stheme4-service-list-card:focus-within .tpservices__thumb::before {
    opacity: 0.8;
    transform: translateX(560%) skewX(-14deg);
}

.stheme4-service-list-card:hover .tpservices__content::before,
.stheme4-service-list-card:focus-within .tpservices__content::before {
    width: 64px;
}

/*
 * Loader-aware service assembly. The card remains ordinary content when JS
 * or motion APIs are unavailable; only explicitly armed cards are staged.
 */
body.nsp-motion-enhanced.stheme4-services-index.jssepl-services-motion-armed
    .stheme4-service-list-card.jssepl-service-motion-pending .tpservices__item {
    opacity: 0;
    clip-path: inset(0 0 22% 0 round 28px 28px 28px 7px);
    transform: translate3d(0, 22px, 0) scale(0.985);
}

body.nsp-motion-enhanced.stheme4-services-index.jssepl-services-motion-armed
    .stheme4-service-list-card.jssepl-service-motion-pending.is-assembling .tpservices__item {
    animation: jssepl-service-index-assemble 840ms cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--jssepl-service-order, 0) * 90ms);
}

body.nsp-motion-enhanced.stheme4-services-index.jssepl-services-motion-armed
    .stheme4-service-list-card.jssepl-service-motion-pending .tpservices__item::before {
    position: absolute;
    z-index: 5;
    top: 0;
    bottom: 0;
    left: 0;
    width: 30%;
    content: "";
    background: linear-gradient(
        90deg,
        transparent,
        rgba(244, 191, 34, 0.58) 42%,
        rgba(88, 183, 209, 0.62) 56%,
        transparent
    );
    mix-blend-mode: screen;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(-135%, 0, 0) skewX(-12deg);
}

body.nsp-motion-enhanced.stheme4-services-index.jssepl-services-motion-armed
    .stheme4-service-list-card.jssepl-service-motion-pending.is-assembling .tpservices__item::before {
    animation: jssepl-service-calibration-pass 880ms cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(90ms + (var(--jssepl-service-order, 0) * 90ms));
}

@keyframes jssepl-service-assembly-in {
    0% {
        opacity: 0.42;
        clip-path: inset(0 0 18% 0 round 28px 28px 28px 7px);
        transform: translate3d(0, 20px, 0) scale(0.985);
    }

    100% {
        opacity: 1;
        clip-path: inset(0 round 28px 28px 28px 7px);
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes jssepl-service-index-assemble {
    0% {
        opacity: 0;
        clip-path: inset(0 0 22% 0 round 28px 28px 28px 7px);
        transform: translate3d(0, 22px, 0) scale(0.985);
    }

    48% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        clip-path: inset(0 round 28px 28px 28px 7px);
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes jssepl-service-calibration-pass {
    0%, 8% {
        opacity: 0;
        transform: translate3d(-135%, 0, 0) skewX(-12deg);
    }

    28% {
        opacity: 0.72;
    }

    72% {
        opacity: 0.38;
    }

    100% {
        opacity: 0;
        transform: translate3d(470%, 0, 0) skewX(-12deg);
    }
}

body.nsp-motion-enhanced .stheme4-service-list-card .tpservices__item::after {
    animation: jssepl-machine-status 4.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

body.nsp-motion-enhanced.stheme4-services-index .innerpage-main-wrapper,
body.nsp-motion-enhanced .services-blocks-area.stheme4-services-blocks-showcase {
    animation: jssepl-blueprint-drift 24s linear infinite;
}

body.nsp-motion-enhanced .services-blocks-area.stheme4-services-blocks-showcase::before {
    animation: jssepl-gear-turn 42s linear infinite;
}

body.nsp-motion-enhanced #page-services-carousel .owl-item.active .tpservices__item,
body.nsp-motion-enhanced #services-carousel .owl-item.active .tpservices__item {
    animation: jssepl-service-assembly-in 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.nsp-motion-enhanced #page-services-carousel .owl-item.active:nth-child(3n + 2) .tpservices__item,
body.nsp-motion-enhanced #services-carousel .owl-item.active:nth-child(3n + 2) .tpservices__item {
    animation-delay: 70ms;
}

body.nsp-motion-enhanced #page-services-carousel .owl-item.active:nth-child(3n) .tpservices__item,
body.nsp-motion-enhanced #services-carousel .owl-item.active:nth-child(3n) .tpservices__item {
    animation-delay: 140ms;
}

@media (hover: hover) and (pointer: fine) {
    .stheme4-service-list-card {
        transform-origin: center 70%;
        transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .stheme4-service-list-card:hover,
    .stheme4-service-list-card:focus-within {
        transform: translate3d(0, -8px, 0) scale(1.006);
    }
}

@media (max-width: 575.98px) {
    .stheme4-service-list-card .tpservices__item {
        border-top-width: 3px;
    }

    .stheme4-service-list-card .tpservices__content {
        min-height: 230px;
        padding: 24px 22px;
    }

    body.stheme4-services-index .innerpage-main-wrapper::before,
    .stheme4-home .services-blocks-area.stheme4-services-blocks-showcase::before {
        width: 240px;
        height: 240px;
        right: -150px;
        opacity: 0.72;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stheme4-service-list-card,
    .stheme4-service-list-card .tpservices__item,
    .stheme4-service-list-card .tpservices__item::before,
    .stheme4-service-list-card .tpservices__thumb img,
    .stheme4-service-list-card .tpservices__thumb::before {
        animation: none !important;
        transform: none !important;
        transition: none !important;
    }

    .stheme4-service-list-card .tpservices__thumb::before {
        display: none !important;
    }

    body.nsp-motion-enhanced.stheme4-services-index .innerpage-main-wrapper,
    body.nsp-motion-enhanced .services-blocks-area.stheme4-services-blocks-showcase,
    body.nsp-motion-enhanced .services-blocks-area.stheme4-services-blocks-showcase::before,
    body.nsp-motion-enhanced #page-services-carousel .owl-item.active .tpservices__item,
    body.nsp-motion-enhanced #services-carousel .owl-item.active .tpservices__item {
        animation: none !important;
    }
}
