:root {
    --pc-ink: #1b1f27;
    --pc-navy: #0f2d63;
    --pc-navy-dark: #0a2149;
    --pc-muted: #667085;
    --pc-line: #e4e8ef;
    --pc-radius: 18px;
    --ap-navy: #0f2d63;
    --ap-navy-light: #1a4590;
    --ap-navy-dark: #0a2149;
    --ap-gear-big: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -12 24 24'%3E%3Cpath fill-rule='evenodd' d='M-1.66 -8.03L-1.29 -10.92A11.0 11.0 0 0 1 1.29 -10.92L1.66 -8.03A8.2 8.2 0 0 1 4.5 -6.85L6.81 -8.64A11.0 11.0 0 0 1 8.64 -6.81L6.85 -4.5A8.2 8.2 0 0 1 8.03 -1.66L10.92 -1.29A11.0 11.0 0 0 1 10.92 1.29L8.03 1.66A8.2 8.2 0 0 1 6.85 4.5L8.64 6.81A11.0 11.0 0 0 1 6.81 8.64L4.5 6.85A8.2 8.2 0 0 1 1.66 8.03L1.29 10.92A11.0 11.0 0 0 1 -1.29 10.92L-1.66 8.03A8.2 8.2 0 0 1 -4.5 6.85L-6.81 8.64A11.0 11.0 0 0 1 -8.64 6.81L-6.85 4.5A8.2 8.2 0 0 1 -8.03 1.66L-10.92 1.29A11.0 11.0 0 0 1 -10.92 -1.29L-8.03 -1.66A8.2 8.2 0 0 1 -6.85 -4.5L-8.64 -6.81A11.0 11.0 0 0 1 -6.81 -8.64L-4.5 -6.85A8.2 8.2 0 0 1 -1.66 -8.03ZM3.4 0A3.4 3.4 0 1 0 -3.4 0A3.4 3.4 0 1 0 3.4 0Z'/%3E%3C/svg%3E");
    --ap-gear-small: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -12 24 24'%3E%3Cpath fill-rule='evenodd' d='M-2.04 -7.32L-1.72 -10.86A11.0 11.0 0 0 1 1.72 -10.86L2.04 -7.32A7.6 7.6 0 0 1 5.32 -5.43L8.55 -6.92A11.0 11.0 0 0 1 10.27 -3.94L7.36 -1.89A7.6 7.6 0 0 1 7.36 1.89L10.27 3.94A11.0 11.0 0 0 1 8.55 6.92L5.32 5.43A7.6 7.6 0 0 1 2.04 7.32L1.72 10.86A11.0 11.0 0 0 1 -1.72 10.86L-2.04 7.32A7.6 7.6 0 0 1 -5.32 5.43L-8.55 6.92A11.0 11.0 0 0 1 -10.27 3.94L-7.36 1.89A7.6 7.6 0 0 1 -7.36 -1.89L-10.27 -3.94A11.0 11.0 0 0 1 -8.55 -6.92L-5.32 -5.43A7.6 7.6 0 0 1 -2.04 -7.32ZM3.0 0A3.0 3.0 0 1 0 -3.0 0A3.0 3.0 0 1 0 3.0 0Z'/%3E%3C/svg%3E");
}

/*navbar latest 27 */
html {
    scroll-padding-top: 84px;
} /* section titles stop below the sticky bar */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/*custom css inside custom.css    */
.custom-shadow {
    border: 1px solid var(--pc-line);
    border-radius: var(--pc-radius);
    box-shadow: 0 1px 2px rgba(15, 45, 99, 0.04),
        0 12px 28px -22px rgba(15, 45, 99, 0.35);
    transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
        box-shadow 0.3s ease, border-color 0.3s ease;
}

/*custom css inside custom.css    */

.nb {
    --nb-ink: #1b1f27;
    --nb-text: #455064;
    --nb-navy: #0f2d63;
    --nb-red: #d6322d;
    --nb-h: 68px;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(15, 45, 99, 0.08);
    transition: box-shadow 0.25s ease;
}
@supports (
    (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
    .nb {
        background: rgba(255, 255, 255, 0.72);
        -webkit-backdrop-filter: saturate(170%) blur(14px);
        backdrop-filter: saturate(170%) blur(14px);
    }
}
.nb.is-scrolled {
    box-shadow: 0 10px 30px -18px rgba(15, 45, 99, 0.4);
}

.nb-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 1240px;
    height: var(--nb-h);
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 32px);
}
.nb-brand {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--nb-navy);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-decoration: none;
}
.nb-mark {
    width: 1.5rem;
    height: 1.5rem;
}
.nb-menu {
    display: contents;
}
.nb-links {
    display: flex;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.nb-links li {
    margin: 0;
    padding: 0;
}
.nb-links a {
    display: block;
    padding: 0.55rem 0.95rem;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--nb-text);
    text-decoration: none;
    border-radius: 999px;
    transition: background-color 0.2s, color 0.2s;
}
.nb-links a:hover {
    background: rgba(15, 45, 99, 0.07);
    color: var(--nb-navy);
}
.nb-links a[aria-current] {
    background: rgba(15, 45, 99, 0.1);
    color: var(--nb-navy);
}
.nb-brand:focus-visible,
.nb-links a:focus-visible,
.nb-toggle:focus-visible {
    outline: 3px solid var(--nb-navy);
    outline-offset: 2px;
}
.nb-cta {
    justify-self: end;
    font-size: 0.95rem;
}
.nb-toggle {
    display: none;
}

/* ---- "Let’s Partner" handshake button ---- */
.hs-btn {
    --hs-ink: #1b1f27;
    --hs-accent: #0f2d63;
    --hs-cycle: 5s;
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    font: inherit;
    font-weight: 500;
    line-height: 1.25;
    text-decoration: none;
    color: var(--hs-ink);
    background: transparent;
    border: 1.5px solid var(--hs-ink);
    border-radius: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.3s ease,
        border-color 0.3s ease;
}
.hs-btn::before {
    content: "";
    position: absolute;
    inset: -1.5px;
    z-index: -1;
    border-radius: inherit;
    background: var(--hs-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hs-btn:hover,
.hs-btn:focus-visible {
    color: #fff;
    border-color: var(--hs-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -12px rgba(15, 45, 99, 0.6);
}
.hs-btn:hover::before,
.hs-btn:focus-visible::before {
    transform: scaleX(1);
}
.hs-btn:active {
    transform: translateY(0) scale(0.97);
}
.hs-btn:focus-visible {
    outline: 3px solid var(--hs-accent);
    outline-offset: 3px;
}
.hs-btn::after {
    content: "";
    position: absolute;
    inset: -1.5px;
    border-radius: inherit;
    pointer-events: none;
    border: 1.5px solid var(--hs-accent);
    opacity: 0;
    animation: hs-ring var(--hs-cycle) ease-out infinite;
    animation-delay: calc(var(--hs-cycle) * -0.36);
}
.hs-icon {
    flex: none;
    width: 1.4em;
    height: 1.4em;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: hs-pump var(--hs-cycle) ease-in-out infinite;
    animation-delay: calc(var(--hs-cycle) * -0.36);
}
.hs-icon g {
    transform-box: fill-box;
    transform-origin: center;
    animation-duration: var(--hs-cycle);
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-delay: calc(var(--hs-cycle) * -0.36);
}
.hs-left {
    animation-name: hs-left;
}
.hs-right {
    animation-name: hs-right;
}
.hs-btn:hover .hs-icon,
.hs-btn:focus-visible .hs-icon {
    animation: hs-shake 0.7s ease-in-out;
}
.hs-btn:hover .hs-icon g,
.hs-btn:focus-visible .hs-icon g {
    animation: none;
}
@keyframes hs-left {
    0%,
    64% {
        transform: translate(0, 0);
    }
    70% {
        transform: translate(-3.5px, 1px);
    }
    80% {
        transform: translate(1px, 0);
    }
    84%,
    100% {
        transform: translate(0, 0);
    }
}
@keyframes hs-right {
    0%,
    64% {
        transform: translate(0, 0);
    }
    70% {
        transform: translate(3.5px, -1px);
    }
    80% {
        transform: translate(-1px, 0);
    }
    84%,
    100% {
        transform: translate(0, 0);
    }
}
@keyframes hs-pump {
    0%,
    80% {
        transform: none;
    }
    84% {
        transform: rotate(-12deg) translateY(-1px);
    }
    88% {
        transform: rotate(9deg) translateY(1px);
    }
    92% {
        transform: rotate(-6deg);
    }
    96% {
        transform: rotate(3deg);
    }
    100% {
        transform: none;
    }
}
@keyframes hs-ring {
    0%,
    79% {
        opacity: 0;
        transform: scale(1);
    }
    80% {
        opacity: 0.55;
    }
    96%,
    100% {
        opacity: 0;
        transform: scale(1.1, 1.3);
    }
}
@keyframes hs-shake {
    0%,
    100% {
        transform: none;
    }
    20% {
        transform: rotate(-14deg) translateY(-1px);
    }
    40% {
        transform: rotate(10deg) translateY(1px);
    }
    60% {
        transform: rotate(-8deg);
    }
    80% {
        transform: rotate(4deg);
    }
}

/* ---- Mobile ---- */
@media (max-width: 980px) {
    .nb-inner {
        display: flex;
        justify-content: space-between;
    }
    .nb-toggle {
        display: block;
        position: relative;
        width: 44px;
        height: 44px;
        margin-right: -8px;
        padding: 0;
        background: none;
        border: 0;
        border-radius: 12px;
        cursor: pointer;
    }
    .nb-toggle span {
        position: absolute;
        left: 11px;
        width: 22px;
        height: 2px;
        background: var(--nb-ink);
        border-radius: 2px;
        transition: transform 0.25s ease, opacity 0.2s ease;
    }
    .nb-toggle span:nth-child(1) {
        top: 14px;
    }
    .nb-toggle span:nth-child(2) {
        top: 21px;
    }
    .nb-toggle span:nth-child(3) {
        top: 28px;
    }
    .nb.is-open .nb-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .nb.is-open .nb-toggle span:nth-child(2) {
        opacity: 0;
    }
    .nb.is-open .nb-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nb-menu {
        display: grid;
        gap: 0.75rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 0.5rem clamp(16px, 3vw, 32px) 1.25rem;
        background: #fff;
        border-bottom: 1px solid rgba(15, 45, 99, 0.08);
        box-shadow: 0 24px 40px -24px rgba(15, 45, 99, 0.35);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease,
            visibility 0s linear 0.2s;
    }
    .nb.is-open .nb-menu {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition-delay: 0s;
    }
    .nb-links {
        flex-direction: column;
        gap: 0.15rem;
    }
    .nb-links a {
        padding: 0.85rem 1rem;
        font-size: 1.05rem;
        border-radius: 12px;
    }
    .nb-cta {
        justify-self: stretch;
        justify-content: center;
        padding: 0.75rem 1rem;
    }

    /* no JavaScript: show the links as a normal block under the brand */
    .nb:not(.is-js) .nb-inner {
        flex-wrap: wrap;
        height: auto;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
    .nb:not(.is-js) .nb-toggle {
        display: none;
    }
    .nb:not(.is-js) .nb-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        flex-basis: 100%;
        padding: 0.5rem 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hs-btn::after {
        display: none;
    }
    .hs-icon,
    .hs-icon g,
    .hs-btn:hover .hs-icon {
        animation: none;
    }
    .hs-btn,
    .hs-btn::before,
    .nb-menu,
    .nb-toggle span {
        transition-duration: 0.01ms;
    }
}
/*navbar latest 27 */

/*hero section latest 2027*/

.hx {
    --hx-navy: #0f2d63;
    --hx-ink: #1b1f27;
    --hx-muted: #667085;
    --hx-red: #d6322d;
    --hx-w: clamp(150px, 14.5vw, 200px);
    --hx-gap: clamp(14px, 2vw, 28px);
    --hx-pad: clamp(16px, 6vw, 96px);
    position: relative;
    overflow: hidden;
    text-align: center;
    color: var(--hx-ink);
    padding: clamp(1.25rem, 3vw, 2.25rem) 0 1.5rem;
    background: radial-gradient(
            90% 70% at 85% 0%,
            #eceef3 0%,
            rgba(236, 238, 243, 0) 60%
        ),
        linear-gradient(180deg, #fff 0%, #f3f4f7 100%);
}
.hx-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem clamp(1.5rem, 5vw, 4rem);
    margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
    padding: 0 1rem;
}
.hx-logos img {
    display: block;
    width: auto;
    height: clamp(36px, 4.6vw, 58px);
}
.hx-title {
    margin: 0;
    font-size: clamp(2.3rem, 1.1rem + 4.4vw, 4.25rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--hx-navy);
}
.hx-sub {
    margin: 0.45rem 0 0;
    font-size: clamp(1.1rem, 0.8rem + 1.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.01em;
}
.hx-meta {
    margin: 0.35rem 0 0;
    font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.3rem);
    font-weight: 500;
    color: #2b3340;
}

/* slider */
.hx-stage {
    position: relative;
    margin-top: clamp(0.25rem, 1vw, 0.75rem);
}
.hx-viewport {
    overflow-x: auto;
    scrollbar-width: none;
} /* no-JS fallback: native scroll */
.hx-viewport::-webkit-scrollbar {
    display: none;
}
.hx.is-js .hx-viewport {
    overflow: hidden;
    touch-action: pan-y;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
}
.hx.is-js.is-dragging .hx-viewport {
    cursor: grabbing;
}
.hx-track {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: var(--hx-gap);
    width: max-content;
    margin: 0;
    padding: 1.25rem var(--hx-pad) 3.25rem;
    list-style: none;
    will-change: transform;
}
.hx-item {
    flex: none;
    width: var(--hx-w);
    margin: 0;
    padding: 0;
    transform: translateY(var(--dy, 0px))
        rotate(calc(var(--hx-tilt, 0deg) * var(--k, 1)));
}
.hx-item:nth-child(4n + 1) {
    width: calc(var(--hx-w) * 1.08);
}
.hx-item:nth-child(3n + 2) {
    --dy: 26px;
    --k: -1;
}
.hx-item:nth-child(3n + 3) {
    --dy: 10px;
}

.hx-card {
    display: block;
    padding: 0.8rem 0.8rem 1rem;
    text-align: left;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 1px 2px rgba(15, 45, 99, 0.06),
        0 18px 34px -22px rgba(15, 45, 99, 0.4);
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s;
    animation: hx-rise 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
    animation-delay: calc(var(--i, 0) * 60ms + 120ms);
    -webkit-user-drag: none;
}
.hx-card:hover,
.hx-card:focus-visible {
    transform: translateY(-10px);
    box-shadow: 0 2px 4px rgba(15, 45, 99, 0.08),
        0 28px 44px -22px rgba(15, 45, 99, 0.5);
}
.hx-card:focus-visible {
    outline: 3px solid var(--hx-navy);
    outline-offset: 3px;
}
.hx-img {
    display: grid;
    place-items: center;
    aspect-ratio: 6/5;
    margin-bottom: 0.7rem;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
}
.hx-img img {
    width: 177px;
    /*height: 300px;*/
    object-fit: contain;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hx-card:hover .hx-img img {
    transform: scale(1.07);
}
.hx-name {
    display: block;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--hx-navy);
}
.hx-type {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.8rem;
    color: var(--hx-muted);
}
.hx.is-dragging .hx-card {
    pointer-events: none;
}
@keyframes hx-rise {
    from {
        opacity: 0;
        transform: translateY(46px);
    }
}

/* "Drag" bubble that follows the mouse (mouse devices only) */
.hx-cursor {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s, transform 0.12s ease-out;
}
.hx-cursor span {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    margin: -34px 0 0 -34px;
    border-radius: 50%;
    background: var(--hx-navy);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: transform 0.2s;
}
.hx.is-dragging .hx-cursor span {
    transform: scale(0.8);
}
.hx-stage.has-cursor .hx-cursor {
    opacity: 1;
}
.hx.is-js .hx-stage.has-cursor .hx-viewport,
.hx.is-js.is-dragging .hx-stage.has-cursor .hx-viewport {
    cursor: none;
}
@media (hover: none), (pointer: coarse) {
    .hx-cursor {
        display: none;
    }
}

/* controls */
.hx-ui {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
}
.hx:not(.is-js) .hx-ui {
    display: none;
}
.hx-hint {
    flex: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--hx-muted);
}
.hx-bar {
    position: relative;
    flex: 1;
    height: 3px;
    overflow: hidden;
    background: #d5d9e1;
    border-radius: 3px;
}
.hx-bar i {
    position: absolute;
    left: 0;
    top: 0;
    width: 25%;
    height: 100%;
    background: var(--hx-red);
    border-radius: 3px;
    will-change: transform;
}
.hx-btns {
    display: flex;
    gap: 0.5rem;
}
.hx-btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--hx-navy);
    background: #fff;
    border: 1px solid #d5d9e1;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.hx-btn svg {
    width: 18px;
    height: 18px;
}
.hx-btn:hover:not(:disabled) {
    color: #fff;
    background: var(--hx-navy);
    border-color: var(--hx-navy);
}
.hx-btn:disabled {
    opacity: 0.4;
    cursor: default;
}
.hx-btn:focus-visible {
    outline: 3px solid var(--hx-navy);
    outline-offset: 2px;
}
@media (max-width: 560px) {
    .hx-hint {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hx-card {
        animation: none;
    }
    .hx-card,
    .hx-img img {
        transition: none;
    }
}

@media (min-width: 320px) {
    .hx-img img {
        width: 120px;
    }
}
/*hero section latest 2027
*/

/*product card latest */

/* 1) EVERY product image becomes the same square tile.
      Matched by file path, so it works whatever your card classes are.
      "contain" shows the whole product without cropping or stretching. */
img[src*="assets/products/"]:not(.hx img),
img[src*="assets/collections/"]:not(.hx img),
.card-img-top {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: clamp(0.6rem, 2vw, 1.1rem);
    object-fit: contain;
    background: #fff;
    border-radius: calc(var(--pc-radius) - 6px);
}

/* 2) The card itself (only cards that contain a product image) */
.card:has(img[src*="assets/products/"], img[src*="assets/collections/"]) {
    height: 100%; /* equal-height cards in each row */
    padding: 0.6rem;
    background: #fff;
    border: 1px solid var(--pc-line);
    border-radius: var(--pc-radius);
    box-shadow: 0 1px 2px rgba(15, 45, 99, 0.04),
        0 12px 28px -22px rgba(15, 45, 99, 0.35);
    transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
        box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:has(img[src*="assets/products/"], img[src*="assets/collections/"]):hover {
    transform: translateY(-6px);
    border-color: rgba(15, 45, 99, 0.2);
    box-shadow: 0 2px 4px rgba(15, 45, 99, 0.06),
        0 24px 40px -24px rgba(15, 45, 99, 0.45);
}

/* 3) Text and buttons inside those cards */
.card:has(img[src*="assets/products/"], img[src*="assets/collections/"])
    .card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 0.9rem 0.35rem 0.35rem;
}

.card:has(img[src*="assets/products/"], img[src*="assets/collections/"])
    :is(.card-title, h5) {
    min-height: 2.6em; /* keeps buttons level when a title wraps to two lines */
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--pc-navy);
}

.card:has(img[src*="assets/products/"], img[src*="assets/collections/"]) .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    color: #fff;
    background: var(--pc-navy);
    border: 1.5px solid var(--pc-navy);
    border-radius: 10px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.card:has(img[src*="assets/products/"], img[src*="assets/collections/"])
    .btn:hover {
    color: #fff;
    background: var(--pc-navy-dark);
    border-color: var(--pc-navy-dark);
    transform: translateY(-1px);
}

/* "Know More" (any button that is not the WhatsApp one) is the quieter outlined style */
.card:has(img[src*="assets/products/"], img[src*="assets/collections/"])
    .btn:not([href*="wa.me"]) {
    color: var(--pc-navy);
    background: transparent;
}

.card:has(img[src*="assets/products/"], img[src*="assets/collections/"])
    .btn:not([href*="wa.me"]):hover {
    color: #fff;
    background: var(--pc-navy);
}

.card:has(img[src*="assets/products/"], img[src*="assets/collections/"])
    .btn
    + .btn {
    margin: 0.5rem 0 0;
}

.card:has(img[src*="assets/products/"], img[src*="assets/collections/"])
    .btn:focus-visible {
    outline: 3px solid var(--pc-navy);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .card:has(img[src*="assets/products/"], img[src*="assets/collections/"]),
    .card:has(img[src*="assets/products/"], img[src*="assets/collections/"])
        .btn {
        transition: none;
    }
    .card:has(
            img[src*="assets/products/"],
            img[src*="assets/collections/"]
        ):hover {
        transform: none;
    }
}

/*product card latest */

/*product card button */

.card:has(img[src*="assets/products/"], img[src*="assets/collections/"])
    a[href*="wa.me"] {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1.25rem 0.72rem 3.1rem; /* left room for the gears */
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    color: #fff;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(
                105deg,
                transparent 38%,
                rgba(255, 255, 255, 0.3) 50%,
                transparent 62%
            ) -160% 0 / 55% 100% no-repeat,
        /* sheen */
            linear-gradient(180deg, var(--ap-navy-light), var(--ap-navy));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2),
        0 8px 16px -10px rgba(15, 45, 99, 0.8);
    transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1),
        box-shadow 0.25s ease, background-position 0.7s ease;

    /* the two gears (drawn with CSS masks, tinted by the text colour) */
    &::before,
    &::after {
        content: "";
        position: absolute;
        background: currentColor;
        -webkit-mask: var(--gear) center / contain no-repeat;
        mask: var(--gear) center / contain no-repeat;
        transition: transform 0.7s cubic-bezier(0.3, 0.7, 0.2, 1);
        pointer-events: none;
    }
    &::before {
        --gear: var(--ap-gear-big);
        left: 14px;
        top: 50%;
        width: 20px;
        height: 20px;
        margin-top: -10px;
    }
    &::after {
        --gear: var(--ap-gear-small);
        left: 30px;
        top: 50%;
        width: 12px;
        height: 12px;
        margin-top: -3px;
        opacity: 0.85;
    }

    /* hover / keyboard focus: gears turn against each other, light sweeps across */
    &:hover,
    &:focus-visible {
        color: #fff;
        transform: translateY(-2px);
        background: linear-gradient(
                    105deg,
                    transparent 38%,
                    rgba(255, 255, 255, 0.3) 50%,
                    transparent 62%
                )
                260% 0 / 55% 100% no-repeat,
            linear-gradient(180deg, #2a5bb8, var(--ap-navy-light));
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26),
            inset 0 -2px 0 rgba(0, 0, 0, 0.2),
            0 14px 22px -12px rgba(15, 45, 99, 0.9);
    }
    &:hover::before,
    &:focus-visible::before {
        transform: rotate(135deg);
    }
    &:hover::after,
    &:focus-visible::after {
        transform: rotate(-225deg);
    }

    /* press: sinks in like a push-button */
    &:active {
        transform: translateY(1px) scale(0.98);
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3),
            0 3px 6px -4px rgba(15, 45, 99, 0.8);
    }

    &:focus-visible {
        outline: 3px solid var(--ap-navy);
        outline-offset: 3px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .card:has(img[src*="assets/products/"], img[src*="assets/collections/"])
        a[href*="wa.me"],
    .card:has(img[src*="assets/products/"], img[src*="assets/collections/"])
        a[href*="wa.me"]::before,
    .card:has(img[src*="assets/products/"], img[src*="assets/collections/"])
        a[href*="wa.me"]::after {
        transition: none;
    }
}

/*product card button */

/* ==========================================================
   Industries section
   All classes are prefixed .industry- so nothing clashes with
   your existing styles. Change colours and timing below.
   ========================================================== */

.industry-section {
    --ind-bg: #f2f4f7;
    --ind-ink: #14212f;
    --ind-muted: #566474;
    --ind-line: #cdd5de;
    --ind-accent: #0b5394; /* button + progress line: swap for your brand colour */
    --ind-accent-hover: #083d6f;
    --ind-interval: 6s; /* how long each slide stays on screen */

    padding: clamp(3rem, 7vw, 5.5rem) 1.25rem;
    background: var(--ind-bg);
    color: var(--ind-ink);

    /* Skips rendering work until the section is near the viewport */
    content-visibility: auto;
    contain-intrinsic-size: auto 620px;
}

.industry-inner {
    max-width: 1180px;
    margin: 0 auto;
}

/* ---------- Slides ---------- */
/* All slides share one grid cell, so the section height never jumps. */
.industry-slides {
    display: grid;
}

.industry-slide {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(1.5rem, 5vw, 4.5rem);

    opacity: 0;
    visibility: hidden; /* hides inactive slides from keyboard + screen readers */
    transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}

.industry-slide.is-active {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

/* ---------- Copy ---------- */
.industry-title {
    margin: 0 0 1rem;
    font-size: clamp(1.9rem, 1.1rem + 2.8vw, 3.1rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-wrap: balance;
    color: var(--ind-ink);
}

.industry-text {
    margin: 0 0 1.75rem;
    max-width: 34em;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    line-height: 1.6;
    color: var(--ind-muted);
}

.industry-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.5rem;
}

.industry-btn,
.industry-btn:hover,
.industry-btn:focus {
    color: #fff;
    text-decoration: none;
}

.industry-btn {
    display: inline-block;
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
    background: var(--ind-accent);
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.industry-btn:hover {
    background: var(--ind-accent-hover);
}

.industry-link {
    color: var(--ind-ink);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--ind-line);
    text-underline-offset: 4px;
    transition: text-decoration-color 0.2s ease;
}

.industry-link:hover {
    color: var(--ind-ink);
    text-decoration-color: currentColor;
}

/* ---------- Image ---------- */
.industry-media {
    margin: 0;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    border-radius: 16px;
    background: #dde3ea; /* shows while the image loads */
}

.industry-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Tabs (also the progress bar) ---------- */
.industry-tabs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: clamp(0.5rem, 2vw, 1.5rem);
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.industry-tab {
    position: relative;
    padding: 1rem 0.25rem 0.5rem;
    border: 0;
    background: none;
    font: inherit;
    font-weight: 600;
    text-align: left;
    color: var(--ind-muted);
    cursor: pointer;
    transition: color 0.2s ease;
}

.industry-tab:hover,
.industry-tab.is-active {
    color: var(--ind-ink);
}

/* grey track + coloured fill */
.industry-tab::before,
.industry-tab::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 3px;
}

.industry-tab::before {
    background: var(--ind-line);
}

.industry-tab::after {
    background: var(--ind-accent);
    transform: scaleX(0);
    transform-origin: left;
}

.industry-tab.is-active::after {
    animation: industry-fill var(--ind-interval) linear forwards;
}

/* JS adds these two classes */
.industry-section.is-paused .industry-tab.is-active::after {
    animation-play-state: paused;
}

.industry-section.is-static .industry-tab.is-active::after {
    animation: none;
    transform: scaleX(1);
}

@keyframes industry-fill {
    to {
        transform: scaleX(1);
    }
}

/* ---------- Keyboard focus ---------- */
.industry-btn:focus-visible,
.industry-link:focus-visible,
.industry-tab:focus-visible {
    outline: 3px solid var(--ind-accent);
    outline-offset: 3px;
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
    .industry-slide {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .industry-media {
        order: -1; /* image first */
        aspect-ratio: 16 / 10; /* shorter, so the copy stays above the fold */
    }
}

@media (max-width: 480px) {
    .industry-tab {
        font-size: 0.875rem;
    }
}

/* ---------- Reduced motion: no auto-advance, no fade ---------- */
@media (prefers-reduced-motion: reduce) {
    .industry-slide {
        transition: none;
    }

    .industry-tab.is-active::after {
        animation: none;
        transform: scaleX(1);
    }
}
