/* Base typography */
body {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: #434343;
}

.banner-sec h1 {
    color: #fff;
}

.banner-sec h2 {
    color: #fff;
}

p {
    color: #4E4E4E;
}

.banner-sec p {
    color: #fff;
}

/* Mobile menu trigger */
#menu-btn.active .line1 {
    transform: translateY(8px) rotate(45deg);
}

#menu-btn.active .line2 {
    opacity: 0;
}

#menu-btn.active .line3 {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero and banner helpers */
.ban-timi h2 {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
}

.bluebg {
    background-color: rgb(29 78 216 / 0.5);
}

.sitebtn {
    background-color: #3E48CC;
}

.whogradient-sec {
    z-index: 1;
}

.whogradient {
    position: absolute;
    top: 35%;
    right: 0;
    height: 200px;
    z-index: -1;
    width: 0;
    overflow: hidden;
    transition: width 1.7s ease-in-out;
}

.whogradient.active {
    width: 60%;
}

/* Slider and section helpers */
.industrySlider h3 {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 30px;
}

.why-choose-wrapper {
    position: relative;
}

.why-choose-wrapper::before {
    content: "";
    position: absolute;
    top: -22px;
    left: 12px;
    width: 100%;
    height: 100%;
    background: #EDF2F6;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    z-index: 0;
}

.indus-section h2 {
    color: #fff;
}

/* Footer */
footer h3 {
    color: #fff;
    font-size: 22px;
}

footer p {
    color: #fff;
    font-size: 14px;
    line-height: 26px;
}

.fotgst p {
    margin-top: 4px;
}

.foot-icon img {
    filter: brightness(0) invert(1);
}

.linkin img {
    filter: brightness(0) invert(1);
    height: 25px;
    object-fit: contain;
}

/* Header and navigation */
#mobile-menu {
    max-height: calc(100dvh - 64px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    animation: slideDown 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

body.nav-fixed {
    padding-top: 64px;
    /* nav height */
}

body .text-white h1,
body .text-white h2,
body .text-white h3,
body .text-white h4,
body .text-white p {
    color: #fff;
}

h1.text-white,
h2.text-white,
h3.text-white,
h4.text-white,
h5.text-white,
h6.text-white,
p.text-white {
    color: #fff;
}

.quality-hid {
    overflow: hidden;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}


/* Legacy responsive overrides */
@media (max-width:767px) {
    .product-arrow {
        top: 133% !important;
    }

    .ban-timi {
        position: static !important;
    }

    .why-choose-wrapper::before {
        left: 0px;
    }

    .brands-sec {
        top: 133% !important;
    }

    .valu-sec {
        top: 115% !important;
    }

}

/* Project custom rules */

/* Global behavior */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
    width: 0;
}

body {
    font-family: "Open Sans", sans-serif;
    color: #4E4E4E;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body h1,
body h2,
body h3 {
    font-family: "Montserrat", sans-serif;
}

body p {
    font-family: "Open Sans", sans-serif;
}

/* Buttons */
.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
    background: #3E48CC;
    padding: 16px 32px;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.btn-primary-sm {
    padding: 8px 16px;
}

.btn-primary-md {
    padding: 12px 20px;
}

.btn-primary__label {
    position: relative;
    z-index: 10;
}

.btn-primary__overlay {
    position: absolute;
    inset: 0;
    transform: scaleX(0);
    transform-origin: left;
    background: #335CF5;
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-primary__overlay {
    transform: scaleX(1);
}

/* Text helpers */
.section-heading {
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 32px;
    line-height: 1.2;
    color: #142319;
}

.section-copy {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 400;
    color: #4E4E4E;
}

.section-copy p:not(:last-child) {
    margin-bottom: 15px;
}

.hero-title {
    margin-right: auto;
    margin-left: auto;
    max-width: 72rem;
    text-align: center;
}

/* Animation helpers */
.char-anim .split-word {
    display: inline-block;
    white-space: nowrap;
}

/* .char-anim .split-word:not(:last-child) {
    margin-right: 0.28em;
} */

/* Hero banner image positioning */
.inner-banner-bg {
    object-position: center center;
}

.banner-align-left {
    object-position: 28% center;
}

/* Section and smooth-scroll support */
.indus-section {
    overflow: hidden;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Sticky navigation */
.site-nav-fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transform: none !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.site-nav-spacer {
    display: none;
}

.site-nav-spacer.is-active {
    display: block;
}

/* Mobile menu CTA */
.mobile-quote-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    padding: 0 22px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.mobile-quote-link:hover,
.mobile-quote-link:focus-visible {
    background: #ffffff;
    border-color: #ffffff;
    color: #335CF5;
    transform: translateY(-2px);
}

/* Image reveal and parallax helpers */
.cta-bg {
    will-change: transform;
}

.coverimg {
    display: flex;
    flex-direction: row;
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    pointer-events: none;
}

.coverimg_slice {
    height: 100%;
    flex-grow: 1;
    background: #ffffff;
}

/* Homepage stats */
.hero-stat-card {
    isolation: isolate;
    overflow: hidden;
    transition:
        background-color 0.35s ease,
        transform 0.35s ease;
}

.hero-stat-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

/* Industry cards */
.industry-card {
    transition: transform 0.4s ease;
}

.industry-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 0 0 rgba(20, 35, 25, 0);
    transition:
        box-shadow 0.45s ease,
        transform 0.45s ease;
}

.industry-card__media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 4px;
    background: #3E48CC;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.industry-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.65s ease,
        filter 0.45s ease;
}

.industry-card__title {
    min-height: 2.6em;
}

.industry-card:hover {
    transform: translateY(-5px);
}

.industry-card:hover .industry-card__media {
    box-shadow: 0 18px 35px rgba(20, 35, 25, 0.16);
}

.industry-card:hover .industry-card__media::after {
    transform: scaleX(1);
}

.industry-card:hover .industry-card__media img {
    transform: scale(1.06);
    filter: saturate(1.08) contrast(1.03);
}

/* List card animation helpers */
.animated-list-card {
    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.animated-list-card:hover {
    transform: translateY(-6px);
}

.animated-list-card img {
    will-change: transform;
}

/* Product cards */
.product-list-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    align-items: stretch;
}

.product-list-card__media {
    display: block !important;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background: #ffffff;
    border: 1px solid rgba(141, 154, 165, 0.45);
    box-shadow: 0 8px 22px rgba(20, 35, 25, 0.04);
}

.product-list-card__media img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
    display: block;
}

.product-range-media {
    border: 1px solid rgba(141, 154, 165, 0.45);
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(20, 35, 25, 0.04);
}

.product-list-card__title {
    min-height: 2.5em;
}

.product-list-card__description {
    min-height: 7.5em;
}

.product-list-card>a.inline-flex {
    display: inline-flex !important;
    align-self: flex-start !important;
    width: auto !important;
    min-width: 92px;
    margin-top: auto;
}

/* Utility animations */
.animate-float {
    animation: float 5s ease-in-out infinite;
    will-change: transform;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Responsive type scale */
@media (min-width: 768px) {
    .btn-primary {
        font-size: 16px;
        line-height: 1.5;
    }

    .btn-primary-sm {
        font-size: 14px;
        line-height: 1.5;
    }

    .section-heading {
        font-size: 40px;
    }

    .section-copy {
        font-size: 18px;
        line-height: 1.55;
    }
}

/* Desktop navigation spacing */
@media (min-width: 1280px) and (max-width: 1536px) {
    nav#mainNav ul li a {
        font-size: 14px;
    }

    nav#mainNav ul li a.px-12 {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

/* Desktop type scale */
@media (min-width: 1024px) {
    .section-heading {
        font-size: 48px;
    }

    .section-copy {
        font-size: 20px;
        line-height: 1.45;
    }
}

/* Mobile overrides */
@media (max-width: 767px) {
    .inner-banner-bg {
        object-position: center center;
    }

    .banner-align-left {
        object-position: left center;
    }

    .fancybox__slide {
        padding: 14px 8px !important;
    }

    .fancybox__content {
        max-width: calc(100vw - 16px) !important;
    }
}
