/* ==========================================================================
   Parishudh Fibres Private Limited - Complete Master Responsive & Layout Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. GLOBAL RESET, BOX-SIZING & BASE TYPOGRAPHY
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden !important;
    width: 100%;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #334155;
    background-color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

#wrapper {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* Force visibility on animated elements to prevent stuck blank sections */
.wpb_animate_when_almost_visible,
.stm_owl__glitches,
.wpb_appear,
.wpb_lightSpeedIn,
.wpb_fadeIn {
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    transform: none !important;
}

/* Hide empty boxes & legacy glitches */
.stm_partners__single:empty,
.stm_partners__single:has(.stm_partners__image:empty),
.stm_services_text_carousel .owl-dots:empty {
    display: none !important;
}

/* --------------------------------------------------------------------------
   2. HEADING RESET & TYPOGRAPHIC CONSISTENCY
   CRITICAL: Headings tags (h1, h2, h3, h4, h5, h6) and texts are PRESERVED!
   This section removes all legacy pseudo-element lines/bars and sets clean design.
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.vc_custom_heading {
    font-family: 'Montserrat', sans-serif !important;
    color: #122a4c !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.015em !important;
    text-transform: none;
    margin-top: 0;
    position: relative;
}

/* Strip all legacy theme underline & before/after block artifacts */
h1::before, h1::after,
h2::before, h2::after,
h3::before, h3::after,
h4::before, h4::after,
h5::before, h5::after,
h6::before, h6::after,
.h1::before, .h1::after,
.h2::before, .h2::after,
.h3::before, .h3::after,
.h4::before, .h4::after,
.h5::before, .h5::after,
.h6::before, .h6::after,
.vc_custom_heading::before, .vc_custom_heading::after,
.stm_custom_heading__side_line,
.stm_headings_line::before,
.stm_headings_line::after,
.stm_headings_line_top::before,
.stm_headings_line_top::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
}

h1, .h1 {
    font-size: clamp(26px, 3.4vw, 36px) !important;
    font-weight: 800 !important;
    margin-bottom: 16px !important;
}

h2, .h2 {
    font-size: clamp(22px, 2.8vw, 30px) !important;
    font-weight: 800 !important;
    margin-bottom: 14px !important;
}

h3, .h3 {
    font-size: clamp(19px, 2.2vw, 24px) !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
}

h4, .h4 {
    font-size: clamp(17px, 1.8vw, 20px) !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
}

h5, .h5 {
    font-size: clamp(15px, 1.5vw, 18px) !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
}

h6, .h6 {
    font-size: clamp(14px, 1.2vw, 16px) !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
}

p {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.65;
    color: #475569;
}

strong, b {
    font-weight: 600;
    color: #1e293b;
}

a {
    color: #fb743e;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

a:hover, a:focus {
    color: #e05e2b;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   3. DESKTOP HEADER & NAVIGATION (>= 1025px)
   -------------------------------------------------------------------------- */
@media (min-width: 1025px) {
    html body .stm_mobile__header,
    html body .pf-drawer-header,
    html body .pf-mobile-toggle,
    html body .stm-header__overlay {
        display: none !important;
    }

    html body .stm-header {
        position: relative !important;
        width: 100% !important;
        left: 0 !important;
        top: 0 !important;
        background-color: #122a4c !important;
        z-index: 1000 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12) !important;
    }

    /* Top Bar */
    html body .stm-header__row_color_top {
        background-color: #0b1a30 !important;
        padding: 9px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        color: #ffffff !important;
    }

    html body .stm-header__row_top {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    html body .stm-header__row_top .stm-header__cell,
    html body .stm-header__row_top .stm-header__element {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body .stm-offices {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        flex-wrap: wrap !important;
        gap: 15px !important;
    }

    /* Switcher Dropdown */
    .stm-switcher {
        position: relative;
        display: inline-block;
        cursor: pointer;
    }

    .stm-switcher__trigger {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 6px 14px !important;
        border-radius: 4px !important;
        background-color: #fb743e !important;
        color: #ffffff !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
        transition: background 0.2s ease !important;
    }

    .stm-switcher__trigger:hover {
        background-color: #e05e2b !important;
    }

    .stm-switcher__list {
        display: none !important;
        position: absolute !important;
        top: calc(100% + 5px) !important;
        left: 0 !important;
        min-width: 170px !important;
        background: #122a4c !important;
        z-index: 99999 !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35) !important;
        border-radius: 6px !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        overflow: hidden !important;
    }

    .stm-switcher__list.active {
        display: block !important;
    }

    .stm-switcher__option {
        padding: 10px 16px !important;
        color: #ffffff !important;
        font-size: 13.5px !important;
        cursor: pointer !important;
        transition: background 0.2s ease !important;
    }

    .stm-switcher__option:hover {
        background: #fb743e !important;
    }

    .js-switcher__hidden {
        display: none !important;
    }

    .js-switcher__active {
        display: inline-flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 20px !important;
    }

    html body .stm-offices .stm-icontext__info {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 0 !important;
        margin: 0 !important;
        color: #e2e8f0 !important;
        font-size: 13.5px !important;
        line-height: 1.4 !important;
        text-decoration: none !important;
        transition: color 0.2s ease !important;
    }

    html body .stm-offices .stm-icontext__info:hover {
        color: #fb743e !important;
    }

    html body .stm-offices .stm-icontext__icon {
        color: #fb743e !important;
        font-size: 15px !important;
        margin: 0 !important;
    }

    html body .stm-offices .stm-icontext__text {
        color: inherit !important;
    }

    /* Center Header Row (Logo + Main Nav + Socials) */
    html body .stm-header__row_color_center {
        background-color: #122a4c !important;
        padding: 12px 0 !important;
    }

    html body .stm-header__row_center {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
    }

    html body .stm-header__row_center .stm-header__cell_left {
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
    }

    html body .stm-header__row_center .stm-header__cell_right {
        flex: 1 1 auto !important;
        width: auto !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 24px !important;
    }

    html body .stm-header__row_center .stm-header__element {
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        display: flex !important;
        align-items: center !important;
    }

    html body .stm-logo a {
        display: inline-flex !important;
        align-items: center !important;
    }

    html body .stm-logo img {
        max-height: 52px !important;
        width: auto !important;
        display: block !important;
    }

    /* Main Desktop Navigation */
    html body .stm-navigation__default {
        line-height: 1.5 !important;
    }

    html body .stm-navigation__default > ul {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    html body .stm-navigation__default > ul > li {
        position: relative !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body .stm-navigation__default > ul > li > a {
        padding: 10px 16px !important;
        font-family: 'Montserrat', sans-serif !important;
        font-size: 14.5px !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
        color: #ffffff !important;
        display: inline-flex !important;
        align-items: center !important;
        border-radius: 4px !important;
        text-decoration: none !important;
        transition: color 0.2s ease, background 0.2s ease !important;
    }

    html body .stm-navigation__default > ul > li > a:hover,
    html body .stm-navigation__default > ul > li.current-menu-item > a {
        color: #fb743e !important;
    }

    /* Submenus & Dropdowns */
    html body .stm-navigation__default > ul > li > ul.sub-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        min-width: 250px !important;
        background: #ffffff !important;
        box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22) !important;
        border-top: 3px solid #fb743e !important;
        border-radius: 0 0 8px 8px !important;
        padding: 8px 0 !important;
        z-index: 99999 !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: opacity 0.22s ease, visibility 0.22s ease !important;
    }

    html body .stm-navigation__default > ul > li:hover > ul.sub-menu {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* Mega dropdown for Products (15 items) */
    html body #menu-item-1994 > ul.sub-menu {
        width: 580px !important;
        left: -140px !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 3px 10px !important;
        padding: 14px !important;
    }

    html body .stm-navigation__default > ul > li > ul.sub-menu > li {
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
    }

    html body .stm-navigation__default > ul > li > ul.sub-menu > li > a {
        padding: 9px 14px !important;
        font-family: 'Rubik', sans-serif !important;
        font-size: 13.5px !important;
        font-weight: 500 !important;
        line-height: 1.4 !important;
        color: #122a4c !important;
        background-color: transparent !important;
        display: flex !important;
        align-items: center !important;
        gap: 9px !important;
        border-radius: 6px !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
    }

    html body .stm-navigation__default > ul > li > ul.sub-menu > li > a i {
        color: #fb743e !important;
        font-size: 12px !important;
        transition: color 0.2s ease !important;
    }

    html body .stm-navigation__default > ul > li > ul.sub-menu > li:hover > a,
    html body .stm-navigation__default > ul > li > ul.sub-menu > li.current-menu-item > a {
        background-color: #fb743e !important;
        color: #ffffff !important;
    }

    html body .stm-navigation__default > ul > li > ul.sub-menu > li:hover > a i,
    html body .stm-navigation__default > ul > li > ul.sub-menu > li.current-menu-item > a i {
        color: #ffffff !important;
    }

    /* Social Icons in Desktop Header */
    html body .stm-socials {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    html body .stm-socials__icon {
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.1) !important;
        color: #ffffff !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        font-size: 15px !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
    }

    html body .stm-socials__icon:hover {
        background: #fb743e !important;
        color: #ffffff !important;
        transform: translateY(-2px);
    }
}

/* --------------------------------------------------------------------------
   4. MOBILE & TABLET HEADER + OFF-CANVAS DRAWER (<= 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    html body .stm_mobile__header {
        display: block !important;
        position: sticky !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background-color: #122a4c !important;
        padding: 12px 16px !important;
        z-index: 9990 !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28) !important;
    }

    html body .stm_mobile__header > .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    html body .stm_mobile__header .stm_flex {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    html body .stm_mobile__logo {
        max-width: 220px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body .stm_mobile__logo a {
        display: inline-flex !important;
        align-items: center !important;
    }

    html body .stm_mobile__logo img {
        max-height: 42px !important;
        width: auto !important;
        display: block !important;
    }

    /* Hamburger Toggle Button */
    html body .stm_mobile__switcher {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        flex: 0 0 42px !important;
        padding: 0 !important;
        margin: 0 0 0 auto !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1.5px solid #fb743e !important;
        border-radius: 6px !important;
        cursor: pointer !important;
        z-index: 10001 !important;
        position: relative !important;
        -webkit-tap-highlight-color: transparent;
    }

    html body .stm_mobile__switcher span {
        display: block !important;
        width: 20px !important;
        height: 2.5px !important;
        background-color: #fb743e !important;
        border-radius: 2px !important;
        margin: 0 !important;
        position: relative !important;
        transition: transform 0.3s ease, opacity 0.3s ease !important;
    }

    html body .stm_mobile__switcher.active span:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg) !important;
    }

    html body .stm_mobile__switcher.active span:nth-child(2) {
        opacity: 0 !important;
    }

    html body .stm_mobile__switcher.active span:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg) !important;
    }

    /* Backdrop Overlay */
    html body .stm-header__overlay {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(8, 18, 34, 0.72) !important;
        backdrop-filter: blur(3px) !important;
        z-index: 99990 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: opacity 0.3s ease, visibility 0.3s ease !important;
    }

    html body .stm-header__overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    /* Off-Canvas Drawer */
    html body .stm-header {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 320px !important;
        max-width: 86vw !important;
        height: 100vh !important;
        background-color: #0e223d !important;
        z-index: 99999 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 0 0 35px 0 !important;
        margin: 0 !important;
        box-shadow: 6px 0 35px rgba(0, 0, 0, 0.55) !important;
        transform: translateX(-105%) !important;
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    html body .stm-header.active {
        transform: translateX(0) !important;
        left: 0 !important;
    }

    /* Drawer Header */
    html body .pf-drawer-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 14px 18px !important;
        background: #081528 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        flex-shrink: 0 !important;
    }

    html body .pf-drawer-logo img {
        max-height: 38px !important;
        width: auto !important;
        display: block !important;
    }

    html body .pf-drawer-close {
        width: 36px !important;
        height: 36px !important;
        border-radius: 6px !important;
        background: rgba(251, 116, 62, 0.15) !important;
        border: 1.5px solid #fb743e !important;
        color: #fb743e !important;
        font-size: 22px !important;
        line-height: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        padding: 0 !important;
    }

    /* Hide desktop logo inside drawer */
    html body .stm-header .stm-header__element.object521 {
        display: none !important;
    }

    html body .stm-header .stm-header__row_color_center {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    html body .stm-header .stm-header__row_color_top {
        width: 100% !important;
        padding: 16px 18px 0 18px !important;
        margin: 10px 0 0 0 !important;
        background: transparent !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    html body .stm-header .container,
    html body .stm-header .stm-header__row,
    html body .stm-header .stm-header__cell,
    html body .stm-header .stm-header__element {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
    }

    /* Drawer Menu Links */
    html body .stm-header .stm-navigation {
        width: 100% !important;
    }

    html body .stm-header .stm-navigation > ul {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    html body .stm-header .stm-navigation > ul > li {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        position: relative !important;
    }

    html body .stm-header .stm-navigation > ul > li > a {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 14px 18px !important;
        color: #ffffff !important;
        font-family: 'Montserrat', sans-serif !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        width: 100% !important;
    }

    html body .stm-header .stm-navigation > ul > li.current-menu-item > a {
        color: #fb743e !important;
    }

    html body .pf-mobile-toggle {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(251, 116, 62, 0.16) !important;
        border: 1px solid rgba(251, 116, 62, 0.4) !important;
        border-radius: 4px !important;
        color: #fb743e !important;
        font-size: 14px !important;
        cursor: pointer !important;
        margin-left: auto !important;
    }

    /* Submenus in Drawer */
    html body .stm-header .stm-navigation > ul > li > ul.sub-menu {
        display: none !important;
        position: static !important;
        width: 100% !important;
        background: #081526 !important;
        box-shadow: none !important;
        padding: 4px 0 !important;
        margin: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    }

    html body .stm-header .stm-navigation > ul > li.mobile-open > ul.sub-menu {
        display: block !important;
    }

    html body .stm-header .stm-navigation > ul > li > ul.sub-menu > li {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    }

    html body .stm-header .stm-navigation > ul > li > ul.sub-menu > li > a {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 11px 18px 11px 26px !important;
        color: #cbd5e1 !important;
        font-size: 13.5px !important;
        font-weight: 400 !important;
        text-decoration: none !important;
    }

    html body .stm-header .stm-navigation > ul > li > ul.sub-menu > li > a i {
        color: #fb743e !important;
        font-size: 12px !important;
    }

    html body .stm-header .stm-navigation > ul > li > ul.sub-menu > li:hover > a,
    html body .stm-header .stm-navigation > ul > li > ul.sub-menu > li.current-menu-item > a {
        color: #ffffff !important;
        background-color: #fb743e !important;
    }

    /* Contact details inside mobile drawer */
    html body .stm-header .stm-offices {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        width: 100% !important;
    }

    html body .stm-header .stm-offices .js-switcher__active {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        width: 100% !important;
    }

    html body .stm-header .stm-offices .stm-icontext__info {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        color: #cbd5e1 !important;
        font-size: 13.5px !important;
        text-decoration: none !important;
    }

    html body .stm-header .stm-offices .stm-icontext__icon {
        color: #fb743e !important;
        width: 18px !important;
    }

    html body .stm-header .stm-socials {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 16px 18px 0 18px !important;
    }

    html body .stm-header .stm-socials__icon {
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.1) !important;
        color: #ffffff !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* --------------------------------------------------------------------------
   5. PAGE TITLE BOX (.stm_titlebox)
   -------------------------------------------------------------------------- */
html body .stm_titlebox {
    margin-top: 0 !important;
    padding: 44px 0 !important;
    background-color: #122a4c !important;
    background-size: cover !important;
    background-position: center center !important;
    position: relative !important;
}

html body .stm_titlebox__inner {
    width: 100% !important;
    text-align: left !important;
}

html body .stm_titlebox__title {
    margin: 0 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(24px, 3.5vw, 36px) !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: #ffffff !important;
}

html body .stm_page_bc:empty {
    display: none !important;
}

/* --------------------------------------------------------------------------
   6. HOMEPAGE HERO SLIDER (.pf-hero-slider)
   -------------------------------------------------------------------------- */
.pf-hero-slider {
    position: relative;
    width: 100%;
    height: 560px;
    overflow: hidden;
    background: #0d1f38;
}

.pf-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pf-hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 26, 48, 0.88) 0%, rgba(18, 42, 76, 0.5) 100%);
    z-index: 1;
}

.pf-hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.pf-hero-content {
    position: relative;
    z-index: 3;
    max-width: 1170px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

.pf-hero-box {
    background: rgba(18, 42, 76, 0.88);
    border-left: 5px solid #fb743e;
    padding: 36px 42px;
    max-width: 680px;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(5px);
}

.pf-hero-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(24px, 3.2vw, 38px) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 14px 0 !important;
    line-height: 1.25 !important;
}

.pf-hero-desc {
    font-family: 'Rubik', sans-serif;
    font-size: 15.5px;
    color: #e8eef5;
    margin: 0 0 24px 0;
    line-height: 1.6;
}

.pf-hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.pf-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 5px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.pf-hero-btn-primary {
    background: #fb743e;
    color: #ffffff !important;
    border: 2px solid #fb743e;
}

.pf-hero-btn-primary:hover {
    background: #e05e2b;
    border-color: #e05e2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(251, 116, 62, 0.35);
}

.pf-hero-btn-outline {
    background: transparent;
    color: #ffffff !important;
    border: 2px solid #ffffff;
}

.pf-hero-btn-outline:hover {
    background: #ffffff;
    color: #122a4c !important;
    transform: translateY(-2px);
}

.pf-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(18, 42, 76, 0.8);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.25s ease;
}

.pf-hero-arrow:hover {
    background: #fb743e;
    border-color: #fb743e;
}

.pf-hero-prev {
    left: 20px;
}

.pf-hero-next {
    right: 20px;
}

.pf-hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.pf-hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid #ffffff;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}

.pf-hero-dot.active {
    background: #fb743e;
    border-color: #fb743e;
    transform: scale(1.25);
}

/* --------------------------------------------------------------------------
   7. "WHAT MAKES US SPECIAL" & "OUR ETHOS"
   -------------------------------------------------------------------------- */
html body .vc_custom_1621416623291 {
    padding: 55px 0 45px 0 !important;
}

/* Iconbox items */
html body .stm_iconbox.stm_iconbox_style_3 {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 16px !important;
    background: #ffffff !important;
    padding: 22px 20px !important;
    border-radius: 10px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
    margin-bottom: 24px !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

html body .stm_iconbox.stm_iconbox_style_3:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08) !important;
    border-color: #fb743e !important;
}

html body .stm_iconbox.stm_iconbox_style_3 .stm_iconbox__icon {
    flex: 0 0 52px !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 12px !important;
    background: rgba(251, 116, 62, 0.12) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    float: none !important;
}

html body .stm_iconbox.stm_iconbox_style_3 .stm_iconbox__icon i {
    font-size: 24px !important;
    color: #fb743e !important;
    line-height: 1 !important;
}

html body .stm_iconbox.stm_iconbox_style_3 .stm_iconbox__text {
    flex: 1 1 auto !important;
    overflow: visible !important;
}

/* Style the iconbox title cleanly across all tag variations */
html body .stm_iconbox.stm_iconbox_style_3 .stm_iconbox__text .no_line,
html body .stm_iconbox.stm_iconbox_style_3 .stm_iconbox__text span.mtc_b,
html body .stm_iconbox.stm_iconbox_style_3 .stm_iconbox__text h1,
html body .stm_iconbox.stm_iconbox_style_3 .stm_iconbox__text h2,
html body .stm_iconbox.stm_iconbox_style_3 .stm_iconbox__text h3,
html body .stm_iconbox.stm_iconbox_style_3 .stm_iconbox__text h4,
html body .stm_iconbox.stm_iconbox_style_3 .stm_iconbox__text h5,
html body .stm_iconbox.stm_iconbox_style_3 .stm_iconbox__text h6 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #122a4c !important;
    margin: 0 0 8px 0 !important;
    display: block !important;
}

html body .stm_iconbox.stm_iconbox_style_3 .stm_iconbox__dots {
    display: none !important;
}

html body .stm_iconbox.stm_iconbox_style_3 .stm_iconbox__desc p {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #475569 !important;
}

/* "Our Ethos" Showcase (Image + Content properly visible!) */
html body .vc-hoverbox-wrapper {
    width: 100% !important;
    margin: 0 !important;
}

html body .vc-hoverbox {
    width: 100% !important;
}

html body .vc-hoverbox-inner {
    width: 100% !important;
    min-height: 480px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

html body .vc-hoverbox-block {
    border-radius: 12px !important;
    padding: 30px !important;
}

html body .vc-hoverbox-front {
    background-size: cover !important;
    background-position: center center !important;
}

html body .vc-hoverbox-back {
    background-color: #f7be68 !important;
    color: #122a4c !important;
    overflow-y: auto !important;
}

html body .vc-hoverbox-back h2,
html body .vc-hoverbox-back div {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #122a4c !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

html body .vc-hoverbox-back p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #1e293b !important;
    margin-bottom: 14px !important;
}

/* --------------------------------------------------------------------------
   8. ACCREDITATIONS / PARTNER LOGOS (.stm_partners)
   -------------------------------------------------------------------------- */
html body .vc_custom_1621230469782 {
    padding: 45px 15px !important;
}

html body .stm_partners.stm_partners_style_3 {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    align-items: stretch !important;
    width: 100% !important;
    margin-top: 20px !important;
}

html body .stm_partners.stm_partners_style_3 .stm_partners__single {
    width: 100% !important;
    margin: 0 !important;
    padding: 18px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 110px !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

html body .stm_partners.stm_partners_style_3 .stm_partners__single:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08) !important;
    border-color: #fb743e !important;
}

html body .stm_partners.stm_partners_style_3 .stm_partners__single_plus {
    display: none !important;
}

html body .stm_partners.stm_partners_style_3 .stm_partners__image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

html body .stm_partners.stm_partners_style_3 .stm_partners__single img {
    max-height: 65px !important;
    max-width: 85% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: none !important;
}

/* --------------------------------------------------------------------------
   9. 3 ORANGE FEATURE BOXES (ISO / Technically Superior / 100% Satisfaction)
   -------------------------------------------------------------------------- */
html body .vc_custom_1494436354670,
html body .vc_custom_1494436357863,
html body .vc_custom_1494436363849 {
    padding: 40px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    background-color: #fb743e !important;
}

html body .vc_custom_1494436354670 .stm_icon,
html body .vc_custom_1494436357863 .stm_icon,
html body .vc_custom_1494436363849 .stm_icon {
    margin-bottom: 16px !important;
}

html body .vc_custom_1494436354670 .stm_icon i,
html body .vc_custom_1494436357863 .stm_icon i,
html body .vc_custom_1494436363849 .stm_icon i {
    color: #ffffff !important;
    font-size: 60px !important;
    line-height: 1 !important;
}

/* Match both h4 and div.vc_custom_heading inside feature boxes */
html body .vc_custom_1494436354670 .vc_custom_heading,
html body .vc_custom_1494436357863 .vc_custom_heading,
html body .vc_custom_1494436363849 .vc_custom_heading,
html body .vc_custom_1494436354670 h1, html body .vc_custom_1494436354670 h2, html body .vc_custom_1494436354670 h3, html body .vc_custom_1494436354670 h4,
html body .vc_custom_1494436357863 h1, html body .vc_custom_1494436357863 h2, html body .vc_custom_1494436357863 h3, html body .vc_custom_1494436357863 h4,
html body .vc_custom_1494436363849 h1, html body .vc_custom_1494436363849 h2, html body .vc_custom_1494436363849 h3, html body .vc_custom_1494436363849 h4 {
    margin: 0 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #ffffff !important;
    text-align: center !important;
}

/* --------------------------------------------------------------------------
   10. "OUR PRODUCTS" SHOWCASE (Homepage & Inner Pages)
   -------------------------------------------------------------------------- */
html body .stm_services_text_carousel_style_1 > .row {
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
}

html body .stm_services_text_carousel_style_1 > .row > .col-lg-3,
html body .stm_services_text_carousel_style_1 > .row > .col-lg-9 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
}

html body .stm_services_text_carousel_style_1 > .row > .col-lg-3 {
    margin-bottom: 24px !important;
}

html body .stm_services_text_carousel_style_1 > .row > .col-lg-3 h1,
html body .stm_services_text_carousel_style_1 > .row > .col-lg-3 h2,
html body .stm_services_text_carousel_style_1 > .row > .col-lg-3 h3 {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    font-size: clamp(22px, 2.5vw, 28px) !important;
    color: #122a4c !important;
}

html body .stm_services_text_carousel_style_1 > .row > .col-lg-3 p {
    max-width: 850px !important;
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    color: #475569 !important;
}

html body .stm_services_carousel_wr {
    margin: 0 !important;
}

/* Grid layout for products */
html body .stm_services_carousel {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    width: 100% !important;
}

html body .stm_services_carousel .item {
    padding: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
    display: flex !important;
    flex-direction: column !important;
}

html body .stm_services_carousel .item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1) !important;
    border-color: #fb743e !important;
}

html body .stm_services_carousel .item_wr {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
}

html body .stm_services_carousel .item_thumbnail {
    width: 100% !important;
    height: 210px !important;
    overflow: hidden !important;
    background: #f1f5f9 !important;
    position: relative !important;
}

html body .stm_services_carousel .item_thumbnail a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

html body .stm_services_carousel .item_thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.4s ease !important;
}

html body .stm_services_carousel .item:hover .item_thumbnail img {
    transform: scale(1.06) !important;
}

html body .stm_services_carousel .content {
    padding: 20px !important;
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Card titles matching whatever heading tag the user chose */
html body .stm_services_carousel .content h1,
html body .stm_services_carousel .content h2,
html body .stm_services_carousel .content h3,
html body .stm_services_carousel .content h4,
html body .stm_services_carousel .content h5,
html body .stm_services_carousel .content h6 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 17.5px !important;
    font-weight: 700 !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.35 !important;
}

html body .stm_services_carousel .content a.ttc {
    color: #122a4c !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

html body .stm_services_carousel .content a.ttc:hover {
    color: #fb743e !important;
}

html body .stm_services_carousel .content .excerpt {
    font-size: 14px !important;
    color: #64748b !important;
    line-height: 1.6 !important;
    margin: 0 0 16px 0 !important;
    flex: 1 1 auto !important;
}

html body .stm_services_carousel .content .stm_read_more_link {
    margin-top: auto !important;
    margin-bottom: 0 !important;
    padding-top: 10px !important;
    border-top: 1px solid #f1f5f9 !important;
}

html body .stm_services_carousel .content .stm_read_more_link a {
    color: #fb743e !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    text-decoration: none !important;
}

html body .stm_services_carousel .content .stm_read_more_link a:hover {
    color: #122a4c !important;
}

/* --------------------------------------------------------------------------
   11. ALL PRODUCTS LISTING PAGE (products.html)
   -------------------------------------------------------------------------- */
html body .stm_services.stm_loop.stm_services_style_5 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 26px !important;
    margin-bottom: 45px !important;
    width: 100% !important;
}

html body .stm_services.stm_loop.stm_services_style_5 .stm_loop__single {
    width: 100% !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
    display: flex !important;
    flex-direction: column !important;
}

html body .stm_services.stm_loop.stm_services_style_5 .stm_loop__single:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1) !important;
    border-color: #fb743e !important;
}

html body .stm_services.stm_loop.stm_services_style_5 .stm_service__image {
    width: 100% !important;
    height: 220px !important;
    overflow: hidden !important;
    background: #f1f5f9 !important;
}

html body .stm_services.stm_loop.stm_services_style_5 .stm_service__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.4s ease !important;
}

html body .stm_services.stm_loop.stm_services_style_5 .stm_loop__single:hover .stm_service__image img {
    transform: scale(1.06) !important;
}

/* Hide awkward document icon on product listing cards */
html body .stm_services.stm_loop.stm_services_style_5 .stm_service_icon_single {
    display: none !important;
}

html body .stm_services.stm_loop.stm_services_style_5 .stm_post_type_list__content {
    padding: 18px 20px 8px 20px !important;
    background: #ffffff !important;
}

html body .stm_services.stm_loop.stm_services_style_5 .stm_post_type_list__content h1,
html body .stm_services.stm_loop.stm_services_style_5 .stm_post_type_list__content h2,
html body .stm_services.stm_loop.stm_services_style_5 .stm_post_type_list__content h3,
html body .stm_services.stm_loop.stm_services_style_5 .stm_post_type_list__content h4,
html body .stm_services.stm_loop.stm_services_style_5 .stm_post_type_list__content h5 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    line-height: 1.35 !important;
    color: #122a4c !important;
    transition: color 0.2s ease !important;
}

html body .stm_services.stm_loop.stm_services_style_5 .stm_loop__single:hover .stm_post_type_list__content h4,
html body .stm_services.stm_loop.stm_services_style_5 .stm_loop__single:hover .stm_post_type_list__content h3 {
    color: #fb743e !important;
}

html body .stm_services.stm_loop.stm_services_style_5 .stm_loop__single > p {
    padding: 0 20px 20px 20px !important;
    margin: 0 !important;
    font-size: 14px !important;
    color: #64748b !important;
    line-height: 1.6 !important;
    flex: 1 1 auto !important;
}

/* --------------------------------------------------------------------------
   12. CTA PARALLAX BANNER & 4 STAT COUNTERS
   -------------------------------------------------------------------------- */
html body .vc_custom_1621230744177 {
    padding: 60px 0 !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative !important;
}

html body .vc_custom_1621230744177 .stm_row-opacity {
    background-color: rgba(11, 26, 48, 0.78) !important;
}

html body .vc_custom_1621230744177 .row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
}

html body .vc_custom_1621230744177 .stm_custom_heading__side h1,
html body .vc_custom_1621230744177 .stm_custom_heading__side h2,
html body .vc_custom_1621230744177 .stm_custom_heading__side h3 {
    font-size: clamp(24px, 3vw, 36px) !important;
    line-height: 1.25 !important;
    color: #ffffff !important;
    margin: 0 0 10px 0 !important;
}

html body .vc_custom_1621230744177 .wpb_text_column p,
html body .vc_custom_1621230744177 .wpb_text_column span {
    color: #f1f5f9 !important;
    font-size: 16px !important;
    margin: 0 !important;
}

/* 4 Counter Boxes */
html body .vc_custom_1621167969991 {
    padding: 55px 0 !important;
    background-color: #fb743e !important;
}

html body .vc_custom_1621167969991 .row {
    display: flex !important;
    flex-wrap: wrap !important;
    row-gap: 20px !important;
}

html body .stm-counter.stm-counter_style_3 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    background: rgba(255, 255, 255, 0.16) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 12px !important;
    padding: 26px 18px !important;
    margin: 0 !important;
    height: 100% !important;
    transition: transform 0.25s ease !important;
}

html body .stm-counter.stm-counter_style_3:hover {
    transform: translateY(-4px) !important;
    background: rgba(255, 255, 255, 0.22) !important;
}

html body .stm-counter.stm-counter_style_3 .stm-counter__icon {
    display: block !important;
    width: 100% !important;
    margin: 0 0 10px 0 !important;
    font-size: 42px !important;
    line-height: 1 !important;
    color: #0b1a30 !important;
}

html body .stm-counter.stm-counter_style_3 .stm-counter__value {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 38px !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    color: #0b1a30 !important;
    display: inline-block !important;
}

html body .stm-counter.stm-counter_style_3 .stm-counter__prefix {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 22px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    color: #0b1a30 !important;
    margin-left: 4px !important;
    display: inline-block !important;
}

html body .stm-counter.stm-counter_style_3 .stm-counter__label {
    display: block !important;
    width: 100% !important;
    margin: 8px 0 0 0 !important;
    padding: 0 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    color: #0b1a30 !important;
}

/* --------------------------------------------------------------------------
   13. SINGLE PRODUCT PAGES & INNER LAYOUTS
   -------------------------------------------------------------------------- */

/* Applications Infobox (.stm_infobox_style_1) */
html body .stm_infobox.stm_infobox_style_1 {
    display: block !important;
    width: 100% !important;
    margin: 24px 0 !important;
    clear: both !important;
}

html body .stm_infobox.stm_infobox_style_1 .stm_infobox__image:empty {
    display: none !important;
}

html body .stm_infobox.stm_infobox_style_1 .stm_infobox__content {
    position: static !important;
    float: none !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 26px 28px !important;
    border-radius: 10px !important;
    background-color: #122a4c !important;
    border-left: 4px solid #fb743e !important;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

html body .stm_infobox.stm_infobox_style_1 .stm_infobox__content h1,
html body .stm_infobox.stm_infobox_style_1 .stm_infobox__content h2,
html body .stm_infobox.stm_infobox_style_1 .stm_infobox__content h3,
html body .stm_infobox.stm_infobox_style_1 .stm_infobox__content strong {
    color: #fb743e !important;
    margin-top: 0 !important;
}

html body .stm_infobox.stm_infobox_style_1 .stm_infobox__content ul {
    margin: 14px 0 0 0 !important;
    padding-left: 18px !important;
}

html body .stm_infobox.stm_infobox_style_1 .stm_infobox__content li {
    color: #f1f5f9 !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    margin-bottom: 6px !important;
}

/* Product Detail Page Image Carousel (.stm_carousel) */
.stm_carousel {
    position: relative;
    margin: 20px 0 30px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
}

.stm_carousel .stm_owl_navRight {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.stm_carousel .stm_carousel__single {
    display: none;
    width: 100%;
}

.stm_carousel .stm_carousel__single.active-slide {
    display: block !important;
}

.stm_carousel .stm_carousel__single img {
    width: 100% !important;
    height: 420px !important;
    max-height: 420px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
}

.pf-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(18, 42, 76, 0.82);
    color: #ffffff;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.pf-gallery-nav:hover {
    background: #fb743e;
    transform: translateY(-50%) scale(1.08);
}

.pf-gallery-prev {
    left: 14px;
}

.pf-gallery-next {
    right: 14px;
}

.pf-gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #ffffff;
}

.pf-gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.pf-gallery-dot.active {
    background: #fb743e;
    transform: scale(1.3);
}

/* Multi-card columns in products (e.g. vc_col-sm-1/5 in non-woven-filter-fabrics.html) */
.vc_row > .wpb_column.vc_col-sm-1\/5,
.vc_row > .wpb_column[class*="1/5"] {
    width: 20% !important;
    float: left !important;
    padding: 0 10px !important;
}

.vc_row > .wpb_column[class*="1/5"] .vc_column-inner,
.vc_row > .wpb_column.vc_col-sm-6 .vc_column-inner {
    height: 100% !important;
}

.vc_row > .wpb_column[class*="1/5"] .wpb_wrapper > .vc_row,
.vc_row > .wpb_column.vc_col-sm-6 .wpb_wrapper > .vc_row {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 20px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Specifications Tables */
.wpb_text_column table {
    width: 100% !important;
    min-width: 580px;
    border-collapse: collapse !important;
    margin: 20px 0 !important;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    overflow: hidden;
}

.wpb_text_column table th,
.wpb_text_column table td {
    padding: 12px 16px !important;
    border: 1px solid #e2e8f0 !important;
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    color: #334155 !important;
}

.wpb_text_column table tr:first-child td,
.wpb_text_column table tr:first-child th {
    background-color: #122a4c !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-family: 'Montserrat', sans-serif !important;
}

.wpb_text_column table tr:first-child td b,
.wpb_text_column table tr:first-child th b {
    color: #ffffff !important;
}

.wpb_text_column table tr:nth-child(even) {
    background-color: #f8fafc;
}

.wpb_text_column table tr:hover td {
    background-color: #f1f5f9 !important;
}

/* Buttons Styling */
.btn.btn_solid.btn_primary {
    background-color: #fb743e !important;
    border-color: #fb743e !important;
    color: #ffffff !important;
    padding: 11px 22px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.25s ease !important;
}

.btn.btn_solid.btn_primary:hover {
    background-color: #122a4c !important;
    border-color: #122a4c !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(18, 42, 76, 0.25) !important;
}

.btn.btn_outline.btn_primary {
    background-color: transparent !important;
    border: 2px solid #fb743e !important;
    color: #fb743e !important;
    padding: 10px 20px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.25s ease !important;
}

.btn.btn_outline.btn_primary:hover {
    background-color: #fb743e !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

/* Sidebar Widgets */
aside.widget.stm_widget_pages,
.vc_wp_custommenu .widget {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 20px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
    margin-bottom: 24px !important;
}

aside.widget.stm_widget_pages ul,
.vc_wp_custommenu .widget ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

aside.widget.stm_widget_pages ul li,
.vc_wp_custommenu .widget ul li {
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 0 !important;
    margin: 0 !important;
}

aside.widget.stm_widget_pages ul li:last-child,
.vc_wp_custommenu .widget ul li:last-child {
    border-bottom: none !important;
}

aside.widget.stm_widget_pages ul li a,
.vc_wp_custommenu .widget ul li a {
    display: block !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #122a4c !important;
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
}

aside.widget.stm_widget_pages ul li.current_page_item a,
aside.widget.stm_widget_pages ul li:hover a,
.vc_wp_custommenu .widget ul li:hover a {
    background-color: #fb743e !important;
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   14. ABOUT PAGE POLISH
   -------------------------------------------------------------------------- */
/* Center logo image card on About page */
html body .wpb_single_image.vc_custom_1621016126977 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 30px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06) !important;
}

html body .wpb_single_image.vc_custom_1621016126977 img {
    max-width: 280px !important;
    height: auto !important;
}

/* Iconlist in About page */
html body .stm_iconlist ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

html body .stm_iconlist ul li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    margin-bottom: 16px !important;
    line-height: 1.6 !important;
}

html body .stm_iconlist ul li i {
    flex: 0 0 24px !important;
    font-size: 20px !important;
    color: #fb743e !important;
    margin-top: 3px !important;
}

/* Mission Statement Blockquote */
blockquote {
    border-left: 4px solid #fb743e !important;
    background: #f8fafc !important;
    padding: 18px 22px !important;
    border-radius: 0 8px 8px 0 !important;
    margin: 18px 0 !important;
}

blockquote p {
    margin-bottom: 10px !important;
    font-size: 15px !important;
    color: #1e293b !important;
}

blockquote p:last-child {
    margin-bottom: 0 !important;
}

/* --------------------------------------------------------------------------
   15. CONTACT PAGE & FORM STYLING
   -------------------------------------------------------------------------- */
.widget_contacts.widget_contacts_style_8 {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
}

.widget_contacts .stm-icontext {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
}

.widget_contacts .stm-icontext__icon {
    flex: 0 0 22px !important;
    color: #fb743e !important;
    font-size: 18px !important;
    margin-top: 2px !important;
}

.widget_contacts .stm-icontext__text {
    font-size: 14.5px !important;
    color: #334155 !important;
    line-height: 1.5 !important;
}

/* Contact Form Container */
.frm_forms {
    background: #ffffff;
    padding: 34px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.frm_fields_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.frm_form_field {
    display: flex;
    flex-direction: column;
}

.frm_full,
#frm_field_3_container,
#frm_field_5_container,
#frm_field_8_container,
.frm_submit {
    grid-column: 1 / -1;
}

#frm_field_9_container,
.frm_screen_reader {
    display: none !important;
}

.frm_opt_container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 16px;
    margin-top: 6px;
}

.frm_checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #334155;
    cursor: pointer;
}

.frm_primary_label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #122a4c;
    margin-bottom: 6px;
}

.frm_description {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

.frm_required {
    color: #fb743e;
}

.frm_form_field input[type="text"],
.frm_form_field input[type="email"],
.frm_form_field input[type="tel"],
.frm_form_field textarea,
.frm_form_field select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14.5px;
    color: #1e293b;
    background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.frm_form_field input:focus,
.frm_form_field textarea:focus,
.frm_form_field select:focus {
    outline: none;
    border-color: #fb743e;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(251, 116, 62, 0.15);
}

.frm_button_submit {
    background: #fb743e !important;
    color: #ffffff !important;
    border: none !important;
    padding: 13px 32px !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14.5px;
    text-transform: uppercase;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
}

.frm_button_submit:hover {
    background: #122a4c !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(18, 42, 76, 0.25);
}

.pf-form-success {
    display: none;
    margin-top: 18px;
    padding: 15px 18px;
    background: #dcfce7;
    border-left: 4px solid #16a34a;
    color: #166534;
    font-weight: 500;
    border-radius: 4px;
}

/* Google Map Embed */
.wpb_map_wraper iframe {
    width: 100% !important;
    height: 400px !important;
    display: block !important;
    border: 0 !important;
    border-radius: 8px !important;
}

/* --------------------------------------------------------------------------
   16. FOOTER STYLING (.stm-footer)
   -------------------------------------------------------------------------- */
html body .stm-footer {
    padding: 0 !important;
    background-color: #0b1a30 !important;
    color: #cbd5e1 !important;
}

html body .stm-footer__bottom {
    padding: 22px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html body .stm_bottom_copyright {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    text-align: center !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: #cbd5e1 !important;
}

html body .stm_bottom_copyright a {
    color: #ffffff !important;
}

html body .stm_bottom_copyright a:hover {
    color: #fb743e !important;
}

html body .stm_bottom_copyright img {
    max-height: 22px !important;
    width: auto !important;
    vertical-align: middle !important;
    margin-left: 4px !important;
}

/* Back to Top Floating Button */
.pearl_arrow_top {
    position: fixed !important;
    right: 22px !important;
    bottom: 22px !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: #fb743e !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;
}

.pearl_arrow_top.pf-visible {
    opacity: 1 !important;
    visibility: visible !important;
}

.pearl_arrow_top:hover {
    background: #122a4c !important;
    transform: translateY(-3px) !important;
}

.pearl_arrow_top .arrow {
    border: solid #ffffff;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 4px;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

/* --------------------------------------------------------------------------
   17. RESPONSIVE BREAKPOINTS (TABLET & MOBILE)
   -------------------------------------------------------------------------- */

/* TABLET (<= 991px) */
@media (max-width: 991px) {
    /* Collapse excessive spacers */
    .stm_spacer > div {
        max-height: 25px !important;
    }

    /* Products grid on tablet */
    html body .stm_services_carousel,
    html body .stm_services.stm_loop.stm_services_style_5 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    /* 5-col cards on tablet */
    .vc_row > .wpb_column.vc_col-sm-1\/5,
    .vc_row > .wpb_column[class*="1/5"] {
        width: 50% !important;
        margin-bottom: 20px !important;
    }

    /* CTA Banner stacking */
    html body .vc_custom_1621230744177 .wpb_column {
        width: 100% !important;
        text-align: left !important;
    }

    html body .vc_custom_1621230744177 .stm-button {
        margin-top: 16px !important;
        text-align: left !important;
    }

    /* Show Ethos card without hover requirement on touch tablets */
    html body .vc_hidden-sm,
    html body .vc_hidden-xs {
        display: block !important;
    }

    html body .vc-hoverbox-inner {
        min-height: auto !important;
    }

    html body .vc-hoverbox-front {
        position: relative !important;
        height: 250px !important;
        border-radius: 10px 10px 0 0 !important;
        transform: none !important;
    }

    html body .vc-hoverbox-back {
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        border-radius: 0 0 10px 10px !important;
        min-height: auto !important;
    }
}

/* MOBILE (<= 767px) */
@media (max-width: 767px) {
    /* Container paddings */
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Hero Slider on Mobile */
    .pf-hero-slider {
        height: auto !important;
        min-height: 500px !important;
    }

    .pf-hero-slide {
        padding: 30px 0 60px 0 !important;
    }

    .pf-hero-content {
        padding: 0 16px !important;
    }

    .pf-hero-box {
        padding: 22px 18px !important;
        border-radius: 8px !important;
        max-width: 100% !important;
    }

    .pf-hero-title {
        font-size: 23px !important;
        margin-bottom: 10px !important;
    }

    .pf-hero-desc {
        font-size: 13.5px !important;
        line-height: 1.55 !important;
        margin-bottom: 18px !important;
    }

    .pf-hero-btns {
        gap: 10px !important;
        flex-direction: column !important;
    }

    .pf-hero-btn {
        width: 100% !important;
        padding: 11px 16px !important;
        font-size: 13px !important;
    }

    /* Slider Arrows on Mobile */
    .pf-hero-arrow {
        width: 38px !important;
        height: 38px !important;
        font-size: 14px !important;
    }

    .pf-hero-prev {
        left: 10px !important;
    }

    .pf-hero-next {
        right: 10px !important;
    }

    .pf-hero-dots {
        bottom: 14px !important;
    }

    /* Accreditations on Mobile: 2x2 Grid */
    html body .stm_partners.stm_partners_style_3 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    html body .stm_partners.stm_partners_style_3 .stm_partners__single {
        padding: 14px !important;
        min-height: 90px !important;
    }

    html body .stm_partners.stm_partners_style_3 .stm_partners__single img {
        max-height: 52px !important;
    }

    /* 3 Feature Boxes on Mobile */
    html body .vc_custom_1494436354670,
    html body .vc_custom_1494436357863,
    html body .vc_custom_1494436363849 {
        padding: 30px 18px !important;
    }

    /* 1-Column Product Grid on Mobile */
    html body .stm_services_carousel,
    html body .stm_services.stm_loop.stm_services_style_5 {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    /* 5-col cards on mobile */
    .vc_row > .wpb_column.vc_col-sm-1\/5,
    .vc_row > .wpb_column[class*="1/5"] {
        width: 100% !important;
        float: none !important;
        padding: 0 !important;
        margin-bottom: 18px !important;
    }

    /* 4 Counters on Mobile (2x2 Grid) */
    html body .vc_custom_1621167969991 {
        padding: 36px 0 !important;
    }

    html body .vc_custom_1621167969991 .wpb_column {
        width: 50% !important;
        float: left !important;
        padding: 0 6px !important;
    }

    html body .stm-counter.stm-counter_style_3 {
        padding: 18px 10px !important;
    }

    html body .stm-counter.stm-counter_style_3 .stm-counter__icon {
        font-size: 32px !important;
        margin-bottom: 6px !important;
    }

    html body .stm-counter.stm-counter_style_3 .stm-counter__value {
        font-size: 28px !important;
    }

    html body .stm-counter.stm-counter_style_3 .stm-counter__prefix {
        font-size: 16px !important;
    }

    html body .stm-counter.stm-counter_style_3 .stm-counter__label {
        font-size: 13px !important;
    }

    /* Product Page Gallery on Mobile */
    .stm_carousel .stm_carousel__single img {
        height: 240px !important;
        max-height: 240px !important;
    }

    .pf-gallery-nav {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
    }

    /* Contact Form on Mobile */
    .frm_forms {
        padding: 20px 16px !important;
    }

    .frm_fields_container,
    .frm_opt_container {
        grid-template-columns: 1fr !important;
    }

    .frm_button_submit {
        width: 100% !important;
    }

    /* Tables horizontal scrolling wrapper */
    .wpb_text_column {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
}

/* SMALL MOBILE (<= 420px) */
@media (max-width: 420px) {
    html body .vc_custom_1621167969991 .wpb_column {
        width: 100% !important;
        float: none !important;
        margin-bottom: 12px !important;
    }
}
