/* ==========================================================================
   Galaxy Industrial Equipments — Stylesheet
   Structure:
     1. Reset & base
     2. Design tokens
     3. Type scale (mobile-first, no clamp())
     4. Layout / shared components (container, eyebrow, section-head, buttons,
        corner-marks signature)
     5. Reveal / animation utilities
     6. Section 1 — Hero
     7. Section 2 — Overview & News
     8. Section 3 — Process-Centric Expertise
     9. Section 4 — Products
     10. Section 5 — Sectors
     11. Section 6 — Technology
     12. Section 7 — Blog
   ========================================================================== */

/* ---------- 1. Reset & base ---------- */

@font-face {
    font-family: 'Montserrat';
    src: url('../Montserrat/static/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../Montserrat/static/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../Montserrat/static/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../Montserrat/static/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../Montserrat/static/Montserrat-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #FFFFFF;
    color: #1E293B;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-smooth);
}

img {
    max-width: 100%;
    display: block;
}

/* ---------- 2. Design tokens ---------- */
:root {
    /* Brand blue family (kept close to the existing navbar/footer blue) */
    /* text-align: center; */
    --color-primary-blue: #1C64F2;
    --blue-deep: #0B2E7A;
    --blue-ink: #0B1F45;

    /* Neutral / ink family — replaces the assorted one-off pastels */
    --ink: #0E1729;
    --ink-soft: #16213A;
    --steel-50: #F5F7FA;
    --steel-100: #E9EEF5;
    --steel-300: #C7D1DF;
    --slate: #56637A;
    --slate-light: #8592A6;

    /* Accent lime family (kept close to the existing #c7ff4f / #d9f99d) */
    --lime: #B7FF30;
    --lime-soft: #D9F99D;
    --lime-deep: #8FE24A;
    --color-btn-primary: var(--color-primary-blue);
    --color-btn-secondary: var(--lime-soft);
    --color-btn-text-light: #FFFFFF;
    --color-btn-text-dark: #10192B;
    --gradient-border: linear-gradient(90deg, var(--color-primary-blue) 0%, var(--blue-deep) 55%, var(--lime) 100%);
    --gradient-brand-text: linear-gradient(90deg, var(--color-primary-blue), #4C8CF2);
    --color-text-desc: var(--slate);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-cinematic: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    --ease-reveal: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-dropdown: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-btn: 0 5px 15px rgba(28, 100, 242, 0.2);
    --shadow-floating-card: 0 30px 60px -15px rgba(0, 0, 0, 0.12), 0 20px 40px -20px rgb(0 0 0 / 45%);
    --shadow-card: 0 12px 32px rgba(28, 100, 242, 0.10), 0 2px 8px rgba(15, 23, 42, 0.05);
    --container-max: 1600px;
    --container-pad: 1.25rem;
}

@media (min-width: 768px) {
    :root {
        --container-pad: 2.5rem;
    }
}

@media (min-width: 1200px) {
    :root {
        --container-pad: 4rem;
    }
}

/* ---------- 3. Type scale (mobile-first) ---------- */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--ink);
}

/* Section title — used consistently by every section-head */
.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.15;
    color: var(--color-primary-blue);
}

.section-title-light {
    color: #FFFFFF;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 1.9rem;
    }
}

@media (min-width: 1200px) {
    .section-title {
        font-size: 2.35rem;
    }
}

/* Eyebrow — the "engineering drawing number" motif, used the same way
   above every section title so the whole page reads as one system. */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-primary-blue);
    margin-bottom: 0.75rem;
}

.eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--lime-deep);
    flex-shrink: 0;
}

.eyebrow-light {
    color: var(--lime);
}

@media (min-width: 768px) {
    .eyebrow {
        font-size: 0.78rem;
    }
}

/* ---------- 4. Layout / shared components ---------- */
.sec-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    width: 100%;
}

.section-head {
    margin-bottom: 2rem;
}

.section-head-center {
    text-align: center;
}

.section-head-center .eyebrow {
    justify-content: center;
}

.section-head-center .eyebrow::before {
    display: none;
}

/* ---------- Shared FAQ accordion ---------- */
.site-faq {
    width: min(100%, 900px);
    margin: 0 auto;
    display: grid;
    gap: 0.85rem;
}

.site-faq-item {
    overflow: hidden;
    border: 1px solid var(--steel-100);
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.045);
    transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth), transform var(--transition-smooth);
}

.site-faq-item:hover,
.site-faq-item.is-open {
    border-color: rgba(28, 100, 242, 0.35);
    box-shadow: 0 14px 34px rgba(28, 100, 242, 0.09);
}

.site-faq-item:hover {
    transform: translateY(-2px);
}

.site-faq-question {
    width: 100%;
    min-height: 68px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 0;
    background: #FFFFFF;
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.site-faq-question>span:first-child {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.5;
}

.site-faq-question:focus-visible {
    outline: 3px solid rgba(28, 100, 242, 0.4);
    outline-offset: -4px;
    border-radius: 14px;
}

.site-faq-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--steel-50);
    color: var(--color-primary-blue);
    transition: background var(--transition-smooth), color var(--transition-smooth), transform var(--transition-smooth);
}

.site-faq-icon svg {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-smooth);
}

.site-faq-item.is-open .site-faq-icon {
    background: var(--color-primary-blue);
    color: #FFFFFF;
}

.site-faq-item.is-open .site-faq-icon svg {
    transform: rotate(45deg);
}

.site-faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s var(--ease-reveal);
}

.site-faq-answer-inner {
    min-height: 0;
    overflow: hidden;
}

.site-faq-answer-inner p {
    padding: 0 1.25rem 1.2rem;
    color: var(--slate);
    font-size: 0.88rem;
    line-height: 1.75;
}

.site-faq-item.is-open .site-faq-answer {
    grid-template-rows: 1fr;
}

@media (min-width: 768px) {
    .section-head {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .site-faq {
        gap: 0.7rem;
    }

    .site-faq-item {
        border-radius: 13px;
    }

    .site-faq-question {
        min-height: 62px;
        padding: 0.9rem 1rem;
    }

    .site-faq-question>span:first-child {
        font-size: 0.86rem;
    }

    .site-faq-answer-inner p {
        padding: 0 1rem 1rem;
        font-size: 0.83rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 99px;
    transition: all var(--transition-smooth);
    border: none;
    cursor: pointer;
    margin: 0.4rem 0.5rem 0.4rem 0;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--color-btn-primary);
    color: var(--color-btn-text-light);
}

.btn-primary:hover {
    background-color: var(--blue-deep);
    transform: translateY(-2px);
    box-shadow: var(--shadow-btn);
}

.btn-secondary {
    background-color: var(--color-btn-secondary);
    color: var(--color-btn-text-dark);
}

.btn-secondary:hover {
    background-color: var(--lime-deep);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(143, 226, 74, 0.35);
}

/* Corner-marks — the page's one signature device: blueprint-style
   alignment brackets, reused on the hero visual and every card family
   (products / expertise / technology) to tie the sections together. */
.corner-marks {
    position: relative;
}

.corner-marks::before,
.corner-marks::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    pointer-events: none;
    z-index: 4;
}

.corner-marks::before {
    top: 8px;
    left: 8px;
    border-top: 2px solid var(--lime);
    border-left: 2px solid var(--lime);
}

.corner-marks::after {
    bottom: 8px;
    right: 8px;
    border-bottom: 2px solid var(--lime);
    border-right: 2px solid var(--lime);
}

.desktop-break {
    display: inline;
}

@media (max-width: 768px) {
    .desktop-break {
        display: none;
    }
}

/* ---------- 5. Reveal / animation utilities ---------- */
/* One shared entrance system used by every section instead of bespoke
   per-section observers: the wrapper gets [data-reveal], its immediate
   .reveal-item children fade + rise with a small stagger driven by the
   --i custom property set in page_animations.js. */
.reveal-item {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.75s var(--ease-reveal), transform 0.75s var(--ease-reveal);
    transition-delay: calc(var(--i, 0) * 0.1s);
}

[data-reveal].in-view .reveal-item {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

    .reveal-item,
    .staggered-entrance,
    .product-tile,
    .pce-card-inner,
    .tech-heading,
    .tech-card {
        transition: none !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ==========================================================================
   6. Section 1 — Hero
   ========================================================================== */
.hero-slider-section {
    position: relative;
    min-height: 560px;
    height: 92vh;
    overflow: hidden;
    background-color: var(--steel-50);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.slider-container.is-dragging {
    cursor: grabbing;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(0);
    transition: transform 0.65s cubic-bezier(0.65, 0, 0.35, 1),
        opacity 0.5s ease,
        visibility 0s linear 0.65s;
    overflow: hidden;
    z-index: 1;
    will-change: transform, opacity;
}

.slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 2;
    transition: transform 0.65s cubic-bezier(0.65, 0, 0.35, 1),
        opacity 0.5s ease,
        visibility 0s linear 0s;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-primary-blue);
    margin-bottom: 1rem;
}

.hero-eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--lime-deep);
}

.hero-eyebrow-light {
    color: var(--lime);
}

.hero-heading {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.18;
    color: var(--ink);
    margin-bottom: 1rem;
}

.h1-slide-1 .profit-story {
    font-style: italic;
    color: var(--color-primary-blue);
}

.hero-subtext {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--slate);
    max-width: 460px;
    margin-bottom: 1.5rem;
}

.slide-buttons {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 1.75rem -0.5rem;
}

.hero-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--steel-300);
    max-width: 480px;
}

.hero-spec dt {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-primary-blue);
    line-height: 1;
}

.hero-spec dd {
    margin-top: 0.35rem;
    font-size: 0.7rem;
    color: var(--slate);
    letter-spacing: 0.02em;
}

.slide-content-split {
    display: flex;
    flex-direction: column-reverse;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    gap: 2rem;
    justify-content: center;
}

.slide-right-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.slide-left-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    margin-top: 1.5rem;
}

.cubie-frame {
    position: relative;
    width: 100%;
    /* background: #FFFFFF; */
    border-radius: 12px;
    /* box-shadow: var(--shadow-card); */
    padding: 0.6rem;
}

.cubie-frame-tag {
    position: absolute;
    top: -0.6rem;
    left: 1.5rem;
    background: var(--ink);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    z-index: 5;
}

.cubie-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--cols, 6), 1fr);
    grid-template-rows: repeat(var(--rows, 4), 1fr);
    width: 100%;
    aspect-ratio: 4 / 3;
    opacity: 0;
    transition: opacity 0.6s ease;
    overflow: hidden;
    border-radius: 6px;
    transform-style: preserve-3d;
}

.slide.slide-1.active .cubie-grid {
    opacity: 1;
}

.cubie-item {
    position: relative;
    background-image: url('../images/slide1.png');
    background-size: calc(var(--cols, 6) * 100%) calc(var(--rows, 4) * 100%);
    opacity: 0;
    backface-visibility: hidden;
    will-change: transform, opacity, filter;
}

@keyframes cubieJoinReveal {
    0% {
        opacity: 0;
        transform: translate3d(var(--start-x, 60vw), var(--start-y, -60vh), 0) rotateX(var(--start-rx, 40deg)) rotateY(var(--start-ry, -40deg)) rotateZ(var(--start-rz, 180deg)) scale(var(--start-scale, 0.3));
        filter: blur(6px);
    }

    55% {
        opacity: 1;
        filter: blur(0);
    }

    75% {
        transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotateZ(-6deg) scale(1.06);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1);
        filter: blur(0);
    }
}

.grid-shine {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0.55) 50%,
            rgba(255, 255, 255, 0) 60%);
    transform: translateX(-120%);
    opacity: 0;
    z-index: 5;
}

@keyframes gridShineSweep {
    0% {
        transform: translateX(-120%);
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    100% {
        transform: translateX(120%);
        opacity: 0;
    }
}

.slide-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.15);
    z-index: 0;
}

@keyframes slide2KenBurns {
    0% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

.slide.slide-2.active .slide-bg-layer {
    animation: slide2KenBurns 6.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 9, 20, 0.62);
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: circle(0% at 50% 50%);
    transition: clip-path 1.1s cubic-bezier(0.65, 0, 0.35, 1) 0.05s;
    z-index: 1;
}

.slide.slide-2.active .slide-overlay {
    clip-path: circle(150% at 50% 50%);
}

.slide-text-overlay {
    text-align: center;
    max-width: 900px;
    padding: 0 1.25rem;
    position: relative;
    z-index: 1;
}

.h1-slide-2 {
    color: #FFFFFF;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.h1-slide-2 .line-mask {
    display: block;
    overflow: hidden;
}

.h1-slide-2 .line-inner {
    display: block;
    transform: translateY(115%);
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide.slide-2.active .line-inner {
    transform: translateY(0);
}

.h1-slide-2 .line-mask:nth-child(2) .line-inner {
    transition-delay: 0.12s;
}

.staggered-entrance {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-cinematic);
}

.slide.active .staggered-entrance {
    opacity: 1;
    transform: translateY(0);
}

.slider-pagination {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 10;
}

.pagination-dot {
    position: relative;
    width: 30px;
    height: 6px;
    padding: 0;
    border: none;
    border-radius: 99px;
    background: rgba(30, 41, 59, 0.28);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.75), 0 1px 4px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    cursor: pointer;
    transition: width var(--transition-smooth), background var(--transition-smooth), transform var(--transition-smooth);
}

.pagination-dot:hover {
    transform: translateY(-1px);
    background: rgba(30, 41, 59, 0.4);
}

.pagination-dot .dot-fill {
    position: absolute;
    inset: 0;
    width: 0%;
    background: var(--gradient-border);
    border-radius: inherit;
}

.pagination-dot.active {
    width: 44px;
}

.pagination-dot.active .dot-fill {
    animation: dotFill 5s linear forwards;
}

@keyframes dotFill {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

@media (min-width: 700px) {

    .slide-content-split {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
    }

    .slide-right-text {
        flex: 1 1 48%;
        min-width: 0;
        padding-right: 1.5rem;
    }

    .slide-left-visual {
        flex: 1 1 52%;
        min-width: 0;
        padding: 1.5rem 0;

    }

    .hero-heading {
        font-size: 2.2rem;
    }

    .hero-subtext {
        font-size: 1rem;
    }

    .h1-slide-2 {
        font-size: 2.5rem;
    }
}

@media (min-width: 992px) {
    .hero-slider-section {
        min-height: 600px;
        height: 78vh;
        /* padding: 0.5rem 0; */
        /* margin: 5rem 0; */
    }

    .hero-heading {
        font-size: 2.75rem;
    }

    .h1-slide-2 {
        font-size: 3.2rem;
    }
}

@media (min-width: 1200px) {
    .hero-heading {
        font-size: 3.1rem;
    }

    .h1-slide-2 {
        font-size: 3.6rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .slide,
    .staggered-entrance,
    .cubie-item,
    .grid-shine,
    .slide-bg-layer,
    .slide-overlay,
    .line-inner,
    .pagination-dot .dot-fill {
        animation: none !important;
        transition: none !important;
    }

    .cubie-item {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

/* ==========================================================================
   7. Section 2 — Overview & News
   ========================================================================== */
.overview-news-section {
    position: relative;
    padding: 4rem 0;
    /* background-color: var(--steel-50); */
    background-color: #dce0e5;
    z-index: 5;
    overflow: hidden;
}

.sec2-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.info-column-text {
    min-width: 0;
}

.company-desc {
    color: var(--color-text-desc);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.75;
    max-width: 640px;
    margin-top: 1rem;
}

.news-column-card {
    min-width: 0;
    position: relative;
}

.news-floating-card {
    position: relative;
    background-color: var(--lime);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: var(--shadow-floating-card);
    transition: transform 0.5s var(--ease-reveal), box-shadow 0.5s var(--ease-reveal);
    border-bottom-right-radius: 0;
}

.news-floating-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 40px 80px -18px rgba(0, 0, 0, 0.16);
}

.news-inner-flex {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}

.latest-news-title {
    color: var(--ink);
    font-size: 1.4rem;
    font-weight: 800;
    font-style: italic;
    line-height: 1.15;
}

.news-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
}

.news-item-link {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.55;
}

.news-item-link:hover {
    color: var(--blue-deep);
}

.news-arrow-icon {
    flex-shrink: 0;
    margin-right: 0.7rem;
    margin-top: 0.3rem;
    color: var(--blue-deep);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.news-item-link:hover .news-arrow-icon {
    transform: translate(3px, -3px);
}

@media (min-width: 992px) {
    .overview-news-section {
        padding: 6.5rem 0;
    }

    .sec2-grid {
        flex-direction: row;
        align-items: start;
        gap: 4.5rem;
    }

    .info-column-text {
        flex: 1 1 38%;
    }

    .news-column-card {
        flex: 1 1 44%;
    }

    .news-floating-card {
        padding: 2.75rem;
        border-radius: 24px;
    }

    .news-inner-flex {
        flex-direction: column;
        align-items: center;
        gap: 2.25rem;
    }

    .latest-news-title {
        font-size: 1.7rem;
        flex-shrink: 0;
    }
}

/* ==========================================================================
   8. Section 3 — Process-Centric Expertise
   ========================================================================== */
.pce-section {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    background: var(--ink);
}

.pce-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    justify-content: center;
    align-items: center;
}

.pce-card:nth-child(1) {
    --i: 0;
}

.pce-card:nth-child(2) {
    --i: 1;
}

.pce-card:nth-child(3) {
    --i: 2;
}

.pce-card:nth-child(4) {
    --i: 3;
}

.pce-card {
    perspective: 1342px;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.pce-card-inner {
    position: relative;
    height: 100%;
    padding: 1.1rem;
    border-radius: 18px;
    background: linear-gradient(160deg, #FFFFFF 0%, var(--steel-100) 100%);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transform-style: preserve-3d;
    opacity: 0;
    transform: translateY(24px);
    transition: transform 0.75s var(--ease-reveal), opacity 0.5s ease, box-shadow 0.35s ease;
    transition-delay: calc(var(--i) * 0.12s);
}

.pce-section.in-view .pce-card-inner {
    opacity: 1;
    transform: translateY(0);
}

.pce-card-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(28, 100, 242, 0.16), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 1;
}

.pce-card-inner:hover::after {
    opacity: 1;
}

.pce-card-inner:hover {
    box-shadow: 0 20px 40px rgba(28, 100, 242, 0.18), 0 4px 12px rgba(15, 23, 42, 0.08);
}

.pce-shine {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.65) 50%, rgba(255, 255, 255, 0) 65%);
    transform: translateX(-130%);
    z-index: 2;
}

.pce-card-inner:hover .pce-shine {
    animation: pceShineSweep 0.9s ease forwards;
}

@keyframes pceShineSweep {
    to {
        transform: translateX(130%);
    }
}

.pce-icon-wrap,
.pce-divider,
.pce-title,
.pce-text {
    position: relative;
    z-index: 3;
}

.pce-icon-wrap {
    width: 100%;
    height: 6rem;
    border-radius: 14px;
    background: rgba(28, 100, 242, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.6rem;
}

.pce-section.in-view .pce-icon-wrap {
    animation: pceIconFloat 3.6s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.12s + 1.2s);
}

@keyframes pceIconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.pce-icon {
    width: 34px;
    height: 46px;
    object-fit: contain;
}

.pce-divider {
    width: 100%;
    height: 0.12rem;
    margin-bottom: 0.4rem;
    background: linear-gradient(90deg, var(--color-primary-blue) 0%, var(--lime-deep) 100%);
    border-radius: 2px;
}

.pce-title {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary-blue);
    margin-bottom: 0.35rem;
    text-align: center;
}

.pce-text {
    font-size: 0.68rem;
    line-height: 1.55;
    color: var(--slate);
    text-align: center;
}

@media (min-width: 700px) {
    .pce-icon-wrap {
        height: 96px;
    }

    .pce-icon {
        width: fit-content;
        height: 70px;
    }

    .pce-title {
        font-size: 1rem;
    }

    .pce-text {
        font-size: 0.75rem;
    }
}

@media (min-width: 992px) {
    .pce-section {
        padding: 6rem 0;
    }

    .pce-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.75rem;
    }

    .pce-card-inner {
        padding: 1.5rem;
    }

    .pce-title {
        font-size: 1.1rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .pce-card-inner,
    .pce-icon-wrap,
    .pce-shine {
        transition: none !important;
        animation: none !important;
    }

    .pce-section.in-view .pce-card-inner {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   9. Section 4 — Products (spec-sheet mosaic)
   A CSS Grid mosaic replaces the old absolute-positioned/JS-scaled stage,
   so it is natively fluid at every width without any transform scaling.
   ========================================================================== */
.products-section {
    position: relative;
    padding: 4rem 0;
    background: #FFFFFF;
    overflow: hidden;
}

.products-mosaic {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
}

.product-tile {
    --i: 0;
}

.product-tile:nth-child(1) {
    --i: 0;
}

.product-tile:nth-child(2) {
    --i: 1;
}

.product-tile:nth-child(3) {
    --i: 2;
}

.product-tile:nth-child(4) {
    --i: 3;
}

.product-flip {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 260px;
    perspective: 1500px;
    cursor: pointer;
}

.product-tile--feature .product-flip {
    min-height: 340px;
}

.product-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-card);
}

@media (hover: hover) and (pointer: fine) {
    .product-flip:hover .product-flip-inner {
        transform: rotateY(180deg);
    }
}

.product-flip.flipped .product-flip-inner {
    transform: rotateY(180deg);
}

.product-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
}

.product-face--front {
    background: var(--steel-50);
    display: flex;
    flex-direction: column;
}

.product-code {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--ink);
    background: var(--lime);
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
}

.product-img {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2.5rem 1.5rem 0.5rem;
    filter: drop-shadow(0 12px 18px rgba(15, 23, 42, 0.15));
}

.product-face-footer {
    padding: 0.9rem 1.25rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border-top: 1px solid var(--steel-300);
    background: #FFFFFF;
}

.product-name {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.product-tap-hint {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--slate-light);
    white-space: nowrap;
}

.product-face--back {
    background: linear-gradient(160deg, var(--color-primary-blue) 0%, var(--blue-deep) 100%);
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.75rem;
    transform: rotateY(180deg);
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.15);
}

.product-code--dark {
    position: static;
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.16);
    color: var(--lime);
    margin-bottom: 0.75rem;
}

.product-name--dark {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.product-desc {
    font-size: 0.82rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 1rem;
}

.product-category {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--lime);
}

/* Mobile tap hint dot */
.product-flip::after {
    content: 'i';
    position: absolute;
    bottom: 0.6rem;
    right: 0.6rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(28, 100, 242, 0.9);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

@media (hover: none) {
    .product-flip::after {
        display: flex;
    }

    .product-flip.flipped::after {
        display: none;
    }
}

/* --- Bento layout: feature tile takes the lead, others fall in around it.
   This is the "unique / not-a-grid" structure requested for Products,
   built entirely with grid-template-areas across breakpoints — no JS
   positioning or scaling required. --- */
@media (min-width: 600px) {
    .products-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
            "feature feature"
            "a b"
            "c c";
    }

    .product-tile--feature {
        grid-area: feature;
    }

    .product-tile:nth-child(2) {
        grid-area: a;
    }

    .product-tile:nth-child(3) {
        grid-area: b;
    }

    .product-tile:nth-child(4) {
        grid-area: c;
    }
}

@media (min-width: 992px) {
    .products-mosaic {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, minmax(190px, auto));
        grid-template-areas:
            "feature feature a b"
            "feature feature c c";
        gap: 1.5rem;
    }

    .product-tile--feature .product-flip {
        min-height: 100%;
    }

    .product-flip {
        min-height: 100%;
    }
}

/* Staggered entrance for the mosaic tiles, reusing the shared reveal
   system's --i stagger index. */
.product-tile {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    transition: opacity 0.7s var(--ease-reveal), transform 0.7s var(--ease-reveal);
    transition-delay: calc(var(--i) * 0.12s);
}

.products-mosaic.in-view .product-tile {
    opacity: 1;
    transform: translateY(0) scale(1);
}

#products .product-range {
    margin-top: 3.5rem;
}

#products .product-range-heading {
    margin-bottom: 1.4rem;
}

#products .product-range-heading .eyebrow {
    margin-bottom: 0.55rem;
}

#products .product-range-title {
    margin: 0;
    color: var(--ink);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.3;
}

#products .product-range-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

#products .product-range-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
    padding: 1rem 1.1rem;
    border: 1px solid var(--steel-300);
    border-left: 3px solid var(--color-primary-blue);
    border-radius: 12px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFE 100%);
    box-shadow: 0 6px 18px rgba(15, 35, 75, 0.045);
    transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth), transform var(--transition-smooth);
}

#products .product-range-item strong {
    color: var(--blue-deep);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.4;
}

#products .product-range-item span {
    color: var(--slate);
    font-size: 0.83rem;
    line-height: 1.6;
}

@media (hover: hover) and (pointer: fine) {
    #products .product-range-item:hover {
        border-color: rgba(28, 100, 242, 0.38);
        border-left-color: var(--color-primary-blue);
        box-shadow: 0 12px 26px rgba(28, 100, 242, 0.1);
        transform: translateY(-2px);
    }
}

@media (min-width: 600px) {
    #products .product-range-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 992px) {
    #products .product-range-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #products .product-range-item {
        min-height: 122px;
        padding: 1.15rem 1.2rem;
    }
}

.agitator-choice-section {
    padding: 2.75rem 0;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(28, 100, 242, 0.1), transparent 34%),
        linear-gradient(135deg, #F2F6FC 0%, #FFFFFF 68%);
}

.agitator-choice-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem 1rem;
    margin-bottom: 1.25rem;
}

.agitator-choice-heading h2 {
    margin: 0;
    color: var(--blue-deep);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.25;
}

.agitator-choice-heading p {
    margin: 0;
    color: var(--slate);
    font-size: 0.88rem;
    line-height: 1.5;
}

.agitator-choice-steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: agitator-choice-step;
}

.agitator-choice-steps li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 0;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(28, 100, 242, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 16px rgba(15, 35, 75, 0.04);
    color: var(--ink);
    font-size: 0.84rem;
    line-height: 1.55;
    counter-increment: agitator-choice-step;
}

.agitator-choice-steps li::before {
    content: counter(agitator-choice-step, decimal-leading-zero);
    display: inline-flex;
    flex: 0 0 1.8rem;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background: var(--blue-deep);
    color: var(--lime);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
}

@media (min-width: 600px) {
    .agitator-choice-section {
        padding: 3rem 0;
    }

    .agitator-choice-heading {
        margin-bottom: 1.5rem;
    }

    .agitator-choice-heading h2 {
        font-size: 1.7rem;
    }

    .agitator-choice-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.8rem;
    }
}

@media (min-width: 992px) {
    .agitator-choice-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.9rem;
    }
}

/* ========================================================================== 
   10. Section 5 — Sectors (draggable 3D coverflow carousel)
   ========================================================================== */
.sectors-section {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    background: var(--steel-50);
}

.sectors-stage {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1600px;
    overflow: hidden;
}

.sectors-bar {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    transform: translateY(-50%);
    z-index: 0;
    background: linear-gradient(90deg, var(--color-primary-blue) 0%, rgba(28, 100, 242, 0) 20%, rgba(28, 100, 242, 0) 80%, var(--lime) 100%);
    pointer-events: none;
}

.sectors-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    z-index: 1;
}

.sector-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--card-w, 220px);
    height: var(--card-h, 300px);
    transform-style: preserve-3d;
    cursor: grab;
    transition: transform 0.65s var(--ease-reveal), opacity 0.5s ease, filter 0.5s ease;
    will-change: transform, opacity, filter;
}

.sectors-stage.is-dragging .sector-card {
    cursor: grabbing;
}

.sector-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: var(--ink);
    border: 2px solid transparent;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.sector-card.is-active .sector-card-inner {
    border-color: var(--color-primary-blue);
    box-shadow: 0 0 0 4px rgba(28, 100, 242, 0.18), 0 24px 48px rgba(28, 100, 242, 0.4);
}

.sector-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--ink-soft);
}

.sector-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.1rem 1.1rem 1.35rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 50%, rgba(0, 0, 0, 0.92) 100%);
}

.sector-title {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.3rem;
}

.sector-desc {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.76rem;
    line-height: 1.4;
}

.sectors-drag-hint {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--slate-light);
    text-transform: uppercase;
    user-select: none;
}

.hint-arrow {
    display: inline-block;
    color: var(--color-primary-blue);
    font-weight: 700;
}

@media (min-width: 992px) {
    .sectors-section {
        padding: 6rem 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sector-card {
        transition: opacity 0.3s ease !important;
    }
}

/* ==========================================================================
   11. Section 6 — Technology
   ========================================================================== */
.tech-section {
    background: #6da8f72e;
}

.tech-banner {
    position: relative;
    padding: 2rem 1.25rem;
    text-align: center;
    background-color: var(--blue-deep);
    background-image: url('../images/techbackground.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.tech-eyebrow {
    position: relative;
    z-index: 1;
    justify-content: center;
    opacity: 0;
    transform: translateY(-18px);
    transition: opacity 0.7s ease, transform 0.7s var(--ease-reveal);
}

.tech-eyebrow::before {
    display: none;
}

.tech-banner.in-view .tech-eyebrow {
    opacity: 1;
    transform: translateY(0);
}

.tech-heading {
    position: relative;
    z-index: 1;
    color: #FFFFFF;
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: 3px;
    opacity: 0;
    transform: translateY(-22px);
    transition: opacity 0.7s ease 0.08s, transform 0.7s var(--ease-reveal) 0.08s;
}

.tech-banner.in-view .tech-heading {
    opacity: 1;
    transform: translateY(0);
}

.tech-container {
    padding-top: 2.75rem;
    padding-bottom: 3.25rem;
}

.tech-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.tech-stage {
    position: relative;
    flex: 1 1 auto;
    max-width: 1100px;
    perspective: 1300px;
    overflow: hidden;
}

.tech-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.tech-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--card-w, 280px);
    height: var(--card-h, 260px);
    transform-style: preserve-3d;
    transition: transform 0.6s var(--ease-reveal), opacity 0.5s ease;
    will-change: transform, opacity;
}

.tech-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: var(--steel-100);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    transition: box-shadow 0.4s ease;
}

.tech-card.is-center .tech-card-inner {
    box-shadow: 0 24px 44px rgba(28, 100, 242, 0.35);
}

.tech-img {
    width: 100%;
    height: 74%;
    object-fit: cover;
    display: block;
    background: var(--steel-300);
}

.tech-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.85rem 1rem;
    text-align: center;
    background: rgba(15, 23, 42, 0.88);
    transition: background 0.4s ease, padding 0.35s ease;
}

.tech-label span {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1.3;
}

.tech-label .sub-text-label {
    display: block;
    max-width: 30ch;
    margin: 0.4rem auto 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.01em;
}

.tech-card.is-center .tech-label {
    background: var(--color-primary-blue);
    padding: 0.4rem 0.5rem;
}

.tech-nav {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--color-primary-blue);
    color: #FFFFFF;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(28, 100, 242, 0.3);
    transition: transform var(--transition-smooth), background var(--transition-smooth);
}

.tech-nav:hover {
    background: var(--blue-deep);
    transform: scale(1.08);
}

.tech-nav:active {
    transform: scale(0.95);
}

.tech-cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 2.25rem;
}

.tech-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    background: var(--lime);
    color: var(--blue-deep);
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), background var(--transition-smooth);
}

.tech-cta:hover {
    background: var(--lime-deep);
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .tech-banner {
        padding: 2.75rem 1.5rem;
    }

    .tech-heading {
        font-size: 3.4rem;
        letter-spacing: 5px;
    }

    .tech-container {
        padding-top: 3.5rem;
        padding-bottom: 4rem;
    }

    .tech-carousel {
        gap: 1rem;
    }

    .tech-nav {
        width: 46px;
        height: 46px;
        font-size: 1.1rem;
    }

    .tech-label span {
        font-size: 0.92rem;
    }

    .tech-cta {
        padding: 1rem 2.75rem;
        font-size: 1rem;
    }

    .tech-cta-wrap {
        margin-top: 3rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .tech-heading,
    .tech-eyebrow,
    .tech-card {
        transition: opacity 0.3s ease !important;
        transform: none !important;
    }
}

/* ==========================================================================
   12. Section 7 — Blog
   ========================================================================== */
#blog-section.premium-blog-section {
    width: 100%;
    overflow: hidden;
    padding-bottom: 3.5rem;
    background: #FFFFFF;
}

.blog-header-marquee {
    background-color: var(--ink);
    color: #FFFFFF;
    padding: 1.4rem 0;
    overflow: hidden;
    position: relative;
    margin-bottom: 2.5rem;
}

.blog-header-marquee::before,
.blog-header-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 90px;
    height: 100%;
    z-index: 2;
}

.blog-header-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--ink) 0%, rgba(14, 23, 41, 0) 100%);
}

.blog-header-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--ink) 0%, rgba(14, 23, 41, 0) 100%);
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
}

.marquee-group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 40px;
    padding-right: 40px;
}

.marquee-item {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 1.75rem;
    color: #FFFFFF;
}

.accent-x {
    color: var(--lime);
    font-size: 1.4rem;
    font-weight: 900;
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.blog-eyebrow {
    margin-bottom: 1.25rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.blog-card {
    background: #FFFFFF;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-reveal), transform 0.7s var(--ease-reveal), box-shadow 0.3s ease;
}

.blog-card:nth-child(1) {
    transition-delay: 0.05s;
}

.blog-card:nth-child(2) {
    transition-delay: 0.18s;
}

.blog-card:nth-child(3) {
    transition-delay: 0.31s;
}

#blog-section.blog-in-view .blog-card {
    opacity: 1;
    transform: translateY(0);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 34px rgba(15, 23, 42, 0.14);
}

#blog-section.blog-in-view .blog-card:hover {
    transform: translateY(-6px);
}

.blog-image-wrapper {
    position: relative;
    width: 100%;
    height: 210px;
    background-color: var(--steel-100);
    overflow: hidden;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.image-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.blog-content {
    padding: 1.4rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.4;
    margin-bottom: 0.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-excerpt {
    font-size: 0.85rem;
    color: var(--slate);
    line-height: 1.6;
    margin-bottom: 1.1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-btn {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.read-more-btn::after {
    content: '→';
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

.read-more-btn:hover {
    color: var(--blue-deep);
}

.read-more-btn:hover::after {
    transform: translateX(5px);
}

@media (min-width: 700px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .marquee-item {
        font-size: 1.6rem;
    }
}

@media (min-width: 1100px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
    }

    .blog-header-marquee {
        padding: 1.6rem 0;
        margin-bottom: 3.5rem;
    }

    .marquee-item {
        font-size: 1.9rem;
    }

    .accent-x {
        font-size: 2.1rem;
    }

    #blog-section.premium-blog-section {
        padding-bottom: 5rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    #blog-section .blog-header-marquee,
    #blog-section .blog-grid,
    #blog-section .blog-card {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Homepage-only styling for the Why Choose section. */
.home-why-choose {
    position: relative;
    overflow: hidden;
    padding: 7rem 0 3.5rem;
    background: var(--blue-deep);
}

.home-why-choose .why-choose-topstrip {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    left: 0;
    height: 3.5rem;
    background: #FFFFFF;
}

.home-why-choose .why-choose-bg,
.home-why-choose .why-choose-pattern {
    position: absolute;
    z-index: 0;
    inset: 3.5rem 0 0;
}

.home-why-choose .why-choose-bg {
    background-image:
        url("../images/topsectionbg.png");
    background-size: cover;
    background-position: center;
}

.home-why-choose .why-choose-pattern {
    pointer-events: none;
    opacity: 0.45;
    background-image:
        radial-gradient(circle at 12% 30%, rgba(255, 255, 255, 0.2) 0 2px, transparent 3px),
        radial-gradient(circle at 82% 60%, rgba(255, 255, 255, 0.18) 0 2px, transparent 3px),
        linear-gradient(115deg, transparent 48%, rgba(255, 255, 255, 0.08) 48% 49%, transparent 49%),
        linear-gradient(65deg, transparent 68%, rgba(255, 255, 255, 0.08) 68% 69%, transparent 69%);
}

.home-why-choose .why-choose-content {
    position: relative;
    z-index: 1;
}

.home-why-choose .section-head {
    max-width: 900px;
    margin: 0 auto;
}

.home-why-choose .why-choose-heading {
    margin-bottom: 0.9rem;
    color: #FFFFFF;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
}

.home-why-choose .agitator-section-lead {
    max-width: 820px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.95rem;
    line-height: 1.7;
}

.home-why-choose .why-choose-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.home-why-choose .why-choose-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    min-width: 0;
    padding: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 24px rgba(3, 19, 57, 0.12);
}

.home-why-choose .why-choose-item>div {
    min-width: 0;
}

.home-why-choose .why-choose-icon {
    display: flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--lime);
    color: var(--blue-deep);
}

.home-why-choose .why-choose-item-title {
    margin: 0 0 0.35rem;
    color: #FFFFFF;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.4;
}

.home-why-choose .why-choose-item-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
    line-height: 1.6;
}

@media (min-width: 700px) {
    .home-why-choose {
        padding: 8rem 0 4.5rem;
    }

    .home-why-choose .why-choose-topstrip {
        height: 5rem;
    }

    .home-why-choose .why-choose-bg,
    .home-why-choose .why-choose-pattern {
        top: 5rem;
    }

    .home-why-choose .why-choose-heading {
        font-size: 2.2rem;
    }

    .home-why-choose .why-choose-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
        margin-top: 2.5rem;
    }

    .home-why-choose .why-choose-item {
        padding: 1.35rem;
    }
}

@media (min-width: 1200px) {
    .home-why-choose .why-choose-heading {
        font-size: 2.5rem;
    }

    .home-why-choose .why-choose-grid {
        gap: 1.5rem;
    }
}

.home-quote-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, #EAF1FB 0%, #F4F7FC 52%, #FFFFFF 100%);
    box-shadow: inset 0 10px 18px -12px rgba(11, 31, 69, 0.24);
}

.home-quote-section .agitator-cta-band {
    position: relative;
    overflow: hidden;
    padding: 2.25rem 1.25rem;
    border-radius: 20px;
    background: linear-gradient(120deg, var(--color-primary-blue), var(--blue-deep));
    box-shadow: 0 18px 40px rgba(11, 46, 122, 0.18);
    text-align: center;
}

.home-quote-section .agitator-cta-title {
    margin-bottom: 0.75rem;
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.25;
}

.home-quote-section .agitator-cta-text {
    max-width: 760px;
    margin: 0 auto 1.4rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    line-height: 1.7;
}

.home-quote-section .agitator-cta-band .btn {
    display: inline-flex;
    justify-content: center;
    max-width: 100%;
    margin: 0;
    white-space: normal;
}

@media (min-width: 768px) {
    .home-quote-section {
        padding: 4rem 0;
    }

    .home-quote-section .agitator-cta-band {
        padding: 3rem 2rem;
        border-radius: 24px;
    }

    .home-quote-section .agitator-cta-title {
        font-size: 1.8rem;
    }
}

.home-industries-section {
    position: relative;
    overflow: hidden;
    padding: 3.5rem 0;
    background: #102b50;
    color: #FFFFFF;
}

.home-industries-section::after {
    position: absolute;
    right: -7rem;
    bottom: -11rem;
    width: 30rem;
    height: 30rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.home-industries-section .sec-container {
    position: relative;
    z-index: 1;
}

.home-industries-section .eyebrow {
    color: #C9E668;
}

.home-industries-section .section-title {
    margin-bottom: 0;
    color: #FFFFFF;
}

.home-industries-section .etp-mixer-applications-heading {
    max-width: 800px;
    margin-bottom: 2.2rem;
}

.home-industries-section .etp-mixer-stage-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.home-industries-section .etp-mixer-stage {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    align-items: start;
    gap: 1rem;
    min-width: 0;
    padding: 1.45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.home-industries-section .etp-mixer-stage-no {
    color: #C9E668;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.home-industries-section .etp-mixer-stage h3 {
    margin: 0 0 0.45rem;
    color: #FFFFFF;
    font-size: 1.08rem;
    line-height: 1.4;
}

.home-industries-section .etp-mixer-stage p {
    margin: 0;
    color: #D2DCE8;
    font-size: 0.88rem;
    line-height: 1.7;
}

.home-industries-section .etp-mixer-stage-tag {
    margin-top: 0.15rem;
    padding: 0.35rem 0.55rem;
    border: 1px solid rgba(201, 230, 104, 0.5);
    border-radius: 3px;
    color: #D9EE9C;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    white-space: nowrap;
}

.home-industries-section .etp-mixer-industries {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.home-industries-section .etp-mixer-industries h3 {
    margin: 0;
    color: #FFFFFF;
    font-size: 1rem;
    line-height: 1.5;
}

.home-industries-section .etp-mixer-industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.home-industries-section .etp-mixer-industry-tags span {
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #E5EBF2;
    font-size: 0.78rem;
    line-height: 1.4;
}

@media (max-width: 800px) {
    .home-industries-section .etp-mixer-stage-list {
        grid-template-columns: 1fr;
    }

    .home-industries-section .etp-mixer-industries {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 560px) {
    .home-industries-section .etp-mixer-stage {
        grid-template-columns: 2rem minmax(0, 1fr);
        gap: 0.75rem;
    }

    .home-industries-section .etp-mixer-stage-tag {
        grid-column: 2;
        justify-self: start;
        margin-top: -0.25rem;
    }
}

@media (min-width: 992px) {
    .home-industries-section {
        padding: 5rem 0;
    }
}

.home-etp-selection {
    position: relative;
    overflow: hidden;
    padding: 3.5rem 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(28, 100, 242, 0.08), transparent 48%),
        linear-gradient(180deg, #EAF1FB 0%, #F4F7FC 48%, #FFFFFF 52%, #F7F9FC 100%);
}

.home-etp-selection .sec-container {
    position: relative;
    z-index: 1;
}

.home-etp-selection .section-head {
    max-width: 760px;
    margin: 0 auto 2rem;
}

.home-etp-selection .agitator-section-lead {
    margin: 0.9rem auto 0;
    color: var(--slate);
    font-size: 1rem;
    line-height: 1.75;
}

.home-etp-selection .etp-mixer-impellers {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.1rem;
    max-width: 1080px;
    margin: 0 auto;
}

.home-etp-selection .agitator-check-card {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 112px;
    padding: 1.25rem 1.4rem;
    overflow: hidden;
    border: 1px solid rgba(28, 100, 242, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 24px rgba(15, 35, 75, 0.045);
    transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth), transform var(--transition-smooth);
}

.home-etp-selection .agitator-check-card::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--color-primary-blue), var(--lime-deep));
    content: "";
}

.home-etp-selection .agitator-check-text {
    min-width: 0;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.6;
}

.home-etp-selection .agitator-check-text strong {
    color: var(--blue-deep);
    font-weight: 800;
}

@media (hover: hover) and (pointer: fine) {

    .home-etp-selection .agitator-check-card:hover,
    .home-etp-selection [data-reveal].in-view .agitator-check-card:hover {
        border-color: rgba(28, 100, 242, 0.42);
        box-shadow: 0 14px 30px rgba(28, 100, 242, 0.12);
        transform: translateY(-4px);
    }
}

@media (min-width: 700px) {
    .home-etp-selection {
        padding: 4rem 0;
    }

    .home-etp-selection .etp-mixer-impellers {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.2rem;
    }
}

@media (min-width: 992px) {
    .home-etp-selection {
        padding: 5rem 0;
    }

    .home-etp-selection .etp-mixer-impellers {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.4rem;
    }
}

.agitator-section-lead {
    /* max-width: 900px; */
    margin-top: 0.9rem;
    margin-bottom: 0;
    color: var(--slate);
    /* color: white; */
    font-size: 1rem;
    line-height: 1.75;
}