/* ============================================================
   KB TRADERS — Global Industrial Modern Stylesheet
   Design System, Animations, Micro-interactions & UI Components
   Zero-Blue Policy • Clean Modernist Industrial Aesthetic
   ============================================================ */

/* ── Base Typography & Viewport Setup ── */
html, body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    scroll-behavior: smooth;
}

main {
    overflow: visible !important;
}

/* ── Mobile AOS Horizontal Animation Overflow Safeguard ── */
@media (max-width: 1024px) {
    [data-aos="fade-left"],
    [data-aos="fade-right"] {
        transform: translate3d(0, 20px, 0) !important;
    }
    [data-aos="fade-left"].aos-animate,
    [data-aos="fade-right"].aos-animate {
        transform: translate3d(0, 0, 0) !important;
    }
}

/* ── Mobile Grid Safety (Prevents 12-column gap inflation on mobile viewports) ── */
@media (max-width: 1023px) {
    .grid-cols-12 {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .grid-cols-12 > .col-span-12 {
        grid-column: 1 / -1 !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
}

body {
    background-color: #fbfcfb;
    color: #0e1a17;
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
    box-sizing: border-box;
}

img, video, canvas {
    max-width: 100%;
    height: auto;
}

/* ── Table & Horizontal Scroll Utilities ── */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Touch targets */
.mobile-nav-toggle {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
}

@media (max-width: 768px) {
    input, select, textarea {
        font-size: 16px !important;
    }
}

/* ── Headings & Display Typography ── */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', 'Space Grotesk', sans-serif;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
    letter-spacing: -0.02em;
    color: #0e1a17;
    font-weight: 700;
}

.font-display {
    font-family: 'Plus Jakarta Sans', 'Space Grotesk', sans-serif;
}

.font-data-mono {
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: 0.02em;
}

/* ── Material Symbols Icon Settings ── */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

.icon-fill {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ── Phosphor Icons Global Alignment ── */
.ph, [class^="ph-"], [class*=" ph-"] {
    display: inline-block;
    line-height: 1;
    vertical-align: -0.12em;
}


/* ── Brand Logo Styling ── */
.brand-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (min-width: 768px) {
    .brand-logo-img {
        height: 60px;
    }
}

.brand-logo-img:hover {
    transform: scale(1.04);
}

.brand-logo-footer {
    height: 56px;
    width: auto;
    object-fit: contain;
}

/* ── Accent Swatch Rail (Hidden per user request for clean modern header) ── */
.swatch-rail {
    display: none !important;
}

/* ── Hero Ambient Particle Canvas ── */
.hero-particle-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* ── Glassmorphic Card System ── */

/* Light glass panel — used inside content areas and overlays */
.glass-panel {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow:
        0 4px 24px -4px rgba(0, 88, 80, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Dark glass panel — used on dark-background sections */
.glass-panel-dark {
    background: rgba(14, 26, 23, 0.55);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 4px 24px -4px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Primary glassmorphic card — replaces all solid flat white cards */
.tactile-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow:
        0 4px 24px -6px rgba(0, 88, 80, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    position: relative;
    overflow: hidden;
}

/* Subtle gradient shimmer inside cards with Green & Orange brand accents */
.tactile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 88, 80, 0.35) 25%,
        rgba(234, 88, 12, 0.5) 50%,
        rgba(0, 88, 80, 0.35) 75%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.tactile-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(0, 88, 80, 0.22);
    box-shadow:
        0 20px 40px -12px rgba(0, 88, 80, 0.12),
        0 8px 16px -4px rgba(234, 88, 12, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 0 0 1px rgba(234, 88, 12, 0.12);
}

/* Glassmorphic card variant for darker section backgrounds */
.glass-card-dark {
    background: rgba(14, 26, 23, 0.45);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 4px 24px -6px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.glass-card-dark:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.2);
    box-shadow:
        0 20px 40px -12px rgba(0, 0, 0, 0.35),
        0 0 24px -8px rgba(245, 158, 11, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Soft mesh background for sections hosting glass cards — provides
   the translucent depth for backdrop-filter to shine against */
.glass-host-bg {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 88, 80, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(245, 158, 11, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(16, 185, 129, 0.03) 0%, transparent 50%),
        #f6f8f7;
}

/* Inner data panels inside glass cards (spec grids, parameters) */
.glass-inner-panel {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 88, 80, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Accent glow ring — optional for featured/highlighted cards */
.glass-glow {
    box-shadow:
        0 0 32px -8px rgba(0, 88, 80, 0.15),
        0 4px 24px -6px rgba(0, 88, 80, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* ── Button Styles ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #005850;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.03em;
    padding: 14px 28px;
    border-radius: 8px;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 14px rgba(0, 88, 80, 0.25);
    border: 1px solid transparent;
}

.btn-primary:hover {
    background-color: #00443e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 88, 80, 0.35);
    color: #ffffff;
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #ea580c;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.03em;
    padding: 14px 28px;
    border-radius: 8px;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.28);
    border: 1px solid transparent;
}

.btn-secondary:hover {
    background-color: #c2410c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.38);
    color: #ffffff;
}

.btn-secondary:active {
    transform: translateY(0) scale(0.98);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: transparent;
    color: #005850;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.03em;
    padding: 13px 26px;
    border-radius: 8px;
    border: 2px solid #005850;
    transition: all 0.25s ease;
}

.btn-outline:hover {
    background-color: #005850;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-outline:active {
    transform: translateY(0) scale(0.98);
}

@media (max-width: 640px) {
    .btn-primary, .btn-secondary, .btn-outline {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* ── Color Swatches ── */
.shade-plate {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0.08);
}

.shade-plate:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 16px 28px -6px rgba(0, 0, 0, 0.2);
    border-color: #005850;
}

.shade-plate.selected {
    outline: 3px solid #005850;
    outline-offset: 3px;
}

.shade-red-110  { background: radial-gradient(circle at 35% 35%, #b94827, #8a2e14); }
.shade-red-120  { background: radial-gradient(circle at 35% 35%, #ad3d1d, #7c240c); }
.shade-red-130  { background: radial-gradient(circle at 35% 35%, #9c3315, #6b1b06); }
.shade-red-180  { background: radial-gradient(circle at 35% 35%, #7e261a, #52140a); }

.shade-yellow-313 { background: radial-gradient(circle at 35% 35%, #f4ca5b, #c49622); }
.shade-yellow-311 { background: radial-gradient(circle at 35% 35%, #fadb6a, #d4a92c); }

.shade-green-835  { background: radial-gradient(circle at 35% 35%, #466e3b, #2b4923); }
.shade-green-5605 { background: radial-gradient(circle at 35% 35%, #385d30, #1f3b19); }

.shade-marigold-312 { background: radial-gradient(circle at 35% 35%, #e89e22, #b8750a); }
.shade-chestnut-688 { background: radial-gradient(circle at 35% 35%, #59351e, #361b0c); }

.shade-black-330 { background: radial-gradient(circle at 35% 35%, #2b2b2b, #111111); }
.shade-brown-686 { background: radial-gradient(circle at 35% 35%, #6e462a, #422612); }
.shade-orange-960{ background: radial-gradient(circle at 35% 35%, #df651a, #a64205); }
.shade-orange-962{ background: radial-gradient(circle at 35% 35%, #e97126, #b84c0c); }

/* ── Interactive Substrate Tint Studio ── */
.substrate-preview-box {
    position: relative;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.substrate-paver {
    background-image: 
        radial-gradient(rgba(0, 0, 0, 0.12) 15%, transparent 16%),
        radial-gradient(rgba(255, 255, 255, 0.15) 15%, transparent 16%);
    background-size: 8px 8px;
    background-position: 0 0, 4px 4px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

.substrate-stucco {
    background-image: 
        radial-gradient(rgba(0, 0, 0, 0.08) 20%, transparent 20%),
        radial-gradient(rgba(255, 255, 255, 0.1) 20%, transparent 20%);
    background-size: 4px 4px;
    background-position: 0 0, 2px 2px;
}

.substrate-epoxy {
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 60%),
                radial-gradient(ellipse at top left, rgba(255,255,255,0.4), transparent 70%);
    box-shadow: inset 0 0 40px rgba(255,255,255,0.25);
}

.substrate-tile {
    background-image: 
        linear-gradient(to right, rgba(0,0,0,0.15) 2px, transparent 2px),
        linear-gradient(to bottom, rgba(0,0,0,0.15) 2px, transparent 2px);
    background-size: 60px 60px;
}

/* ── Image Card Hover Zoom Effect ── */
.image-zoom-container {
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}

.image-zoom-container img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.image-zoom-container:hover img {
    transform: scale(1.06);
}

/* ── Scrolling Marquee Animation ── */
@keyframes scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-scroll {
    animation: scroll 32s linear infinite;
}

.marquee-scroll:hover {
    animation-play-state: paused;
}

/* ── Form Inputs ── */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    border: 1.5px solid #dbe5e1;
    background-color: #ffffff;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 15px;
    font-weight: 500;
    padding: 14px 18px;
    width: 100%;
    border-radius: 8px;
    outline: none;
    transition: all 0.2s ease;
    color: #0e1a17;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(0, 88, 80, 0.18);
    border-color: #005850;
}

label {
    display: block;
    margin-bottom: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #3f524d;
}

/* ── Mobile Navigation Drawer ── */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(14, 26, 23, 0.65);
    backdrop-filter: blur(6px);
    z-index: 60;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background-color: #fbfcfb;
    z-index: 70;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
    border-left: 1px solid #dbe5e1;
    box-shadow: -8px 0 28px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-nav-drawer.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav-drawer .nav-link {
    display: block;
    padding: 18px 28px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #0e1a17;
    border-bottom: 1px solid #eff3f1;
    transition: color 0.2s, background-color 0.2s, padding-left 0.2s;
}

.mobile-nav-drawer .nav-link:hover,
.mobile-nav-drawer .nav-link.active {
    color: #005850;
    background-color: #f4f7f5;
    padding-left: 34px;
}

.mobile-nav-drawer .nav-close {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    border-bottom: 1px solid #dbe5e1;
    background-color: #f4f7f5;
}

.mobile-nav-drawer .nav-cta {
    display: block;
    margin: 24px;
    padding: 16px 20px;
    background-color: #005850;
    color: #ffffff;
    text-align: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    letter-spacing: 0.03em;
    transition: background-color 0.2s, transform 0.2s;
}

.mobile-nav-drawer .nav-cta:hover {
    background-color: #00403a;
    transform: translateY(-2px);
}

/* ── Sticky Header Shadow & Glass ── */
.header-scrolled {
    background: rgba(251, 252, 251, 0.95) !important;
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0, 88, 80, 0.08);
    border-bottom-color: rgba(0, 88, 80, 0.12) !important;
}

/* ── Interactive Filter & Tab Buttons ── */
.filter-btn {
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 22px;
    border: 1.5px solid #dbe5e1;
    background-color: #ffffff;
    color: #3f524d;
    border-radius: 8px;
}

.filter-btn:hover {
    border-color: #005850;
    color: #005850;
    background-color: #f4f7f5;
}

.filter-btn.active {
    background-color: #005850;
    color: #ffffff;
    border-color: #005850;
    box-shadow: 0 4px 12px rgba(0, 88, 80, 0.25);
}

/* ── Hero Interactive Material Console Tabs ── */
.hero-material-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.65);
    color: #3f524d;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-material-btn:hover {
    color: #005850;
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 88, 80, 0.2);
}

.hero-material-btn.active {
    background: #005850 !important;
    color: #ffffff !important;
    border-color: #005850 !important;
    box-shadow: 0 4px 12px rgba(0, 88, 80, 0.25);
}

/* ── Floating WhatsApp Action Button ── */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #10b981;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 9999px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    border: 2px solid #ffffff;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.45);
    background-color: #059669;
}

@media (max-width: 640px) {
    .whatsapp-float span.whatsapp-text {
        display: none;
    }
    .whatsapp-float {
        padding: 14px;
        bottom: 20px;
        right: 20px;
    }
}

/* ── Interactive Modal for TDS / Shade Inspection ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(14, 26, 23, 0.7);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background-color: #ffffff;
    border: 1px solid #dbe5e1;
    border-radius: 16px;
    max-width: 620px;
    width: 100%;
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-box {
    transform: translateY(0) scale(1);
}

/* ── Badge Indicators ── */
.badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'IBM Plex Mono', monospace;
    background-color: rgba(16, 185, 129, 0.12);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.badge-orange {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'IBM Plex Mono', monospace;
    background-color: rgba(234, 88, 12, 0.12);
    color: #ea580c;
    border: 1px solid rgba(234, 88, 12, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.badge-amber {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'IBM Plex Mono', monospace;
    background-color: rgba(245, 158, 11, 0.12);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.badge-teal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'IBM Plex Mono', monospace;
    background-color: rgba(0, 88, 80, 0.1);
    color: #005850;
    border: 1px solid rgba(0, 88, 80, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

/* ── Viscosity Curve SVG Chart ── */
.curve-grid line {
    stroke: rgba(0, 88, 80, 0.08);
    stroke-dasharray: 4 4;
}

.curve-path-msp {
    stroke: #005850;
    stroke-width: 3.5;
    fill: none;
    stroke-linecap: round;
    transition: d 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.curve-area-msp {
    fill: url(#msp-gradient);
    transition: d 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Serving 70% Manufacturing Sectors Parallax Section ── */
.sectors-parallax-section {
    position: relative;
    background-color: #fbfcfb;
    overflow: hidden;
    clip-path: inset(0);
}

.sectors-parallax-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/manufacturing_sectors_bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.22;
    pointer-events: none;
    z-index: 1;
    transform: translateZ(0);
    will-change: transform;
}

.sectors-parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(251, 252, 251, 0.90) 0%,
        rgba(251, 252, 251, 0.68) 50%,
        rgba(251, 252, 251, 0.92) 100%
    );
    pointer-events: none;
    z-index: 2;
}

/* Enhanced tactile cards in parallax section for superior contrast and readability */
.sectors-parallax-section .tactile-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 88, 80, 0.14);
    box-shadow: 0 4px 20px -2px rgba(0, 88, 80, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sectors-parallax-section .tactile-card:hover {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(0, 88, 80, 0.35);
    box-shadow: 0 12px 30px -4px rgba(0, 88, 80, 0.12), 0 4px 12px -2px rgba(234, 88, 12, 0.08);
    transform: translateY(-4px);
}

