/* ==========================================================================

   KHAL INSTRUMENT & SCIENCE - MASTER DESIGN SYSTEM

   Authentic Brand Color Palette extracted directly from official KIS Logo:

   - Electric Cyan:   #00ADEF (Wordmark 'KHAL' & Atomic Orbital Nodes)

   - Corporate Blue:  #0065B3 (Subtext 'INSTRUMENT & SCIENCE' & 'KIS')

   - Cosmic Violet:   #473187 (Outer Dynamic Orbital Ring)

   - Calibrator Grey: #666666 (Inner Precision Caliper Arc)

   - Lab Clean White: #FFFFFF / #F0F7FD (Crisp Cleanroom Canvas)

   ========================================================================== */



/* Fonts loaded asynchronously via HTML <head> for zero render blocking */



:root {

    /* Brand Theme Colors (Direct from Official Logo) */

    --khal-cyan: #00ADEF;            /* Primary Vibrant Electric Cyan */

    --khal-blue: #0065B3;            /* Corporate Engineering Marine Blue */

    --khal-violet: #473187;          /* Cosmic Violet / Deep Scientific Indigo */

    --khal-slate: #666666;           /* Precision Calibrator Slate Grey */

    

    /* Functional Tone Derivatives */

    --khal-cyan-light: #E0F4FD;       /* Soft Cyan Highlight Tint */

    --khal-blue-light: #EBF4FC;       /* Soft Blue Tint */

    --khal-blue-soft: #F0F7FD;        /* Crisp Scientific Canvas Tint */

    --khal-blue-deep: #004D8C;        /* Dark Blue Hover State */

    --khal-violet-soft: #EDE9FE;      /* Lavender Accent Tint */

    --khal-navy: #0F1E36;             /* Primary Heading Deep Navy */

    --khal-dark: #0A0D1A;             /* CRT & Metrology Dark Ground */

    

    /* Contrast Pulse Accent */

    --khal-pulse: #00ADEF;

    --khal-pulse-bright: #38BDF8;

    --khal-pulse-glow: rgba(0, 173, 239, 0.40);



    /* Gradients derived from Logo Harmonies */

    --grad-brand: linear-gradient(135deg, #473187 0%, #0065B3 55%, #00ADEF 100%);

    --grad-hero: linear-gradient(135deg, #F0F7FD 0%, #F6FAFE 45%, #FFFFFF 100%);

    --grad-header: linear-gradient(135deg, #0A0D1A 0%, #160F2C 35%, #004F8C 75%, #00ADEF 100%);

    --grad-btn: linear-gradient(135deg, #0065B3 0%, #00ADEF 100%);

    --grad-blue-btn: linear-gradient(135deg, #005096 0%, #0065B3 100%);

    --grad-violet-btn: linear-gradient(135deg, #473187 0%, #0065B3 100%);



    /* Neutral & Backgrounds */

    --bg-main: #FAFCFF;

    --bg-white: #FFFFFF;

    --bg-surface: #F3F8FD;

    --text-primary: #0F1E36;

    --text-secondary: #475569;

    --text-muted: #666666;

    --border-light: #DCE8F7;

    --border-card: rgba(0, 101, 179, 0.18);



    /* Shadows & Radii */

    --shadow-sm: 0 2px 8px rgba(15, 30, 54, 0.05);

    --shadow-md: 0 8px 24px rgba(0, 101, 179, 0.12);

    --shadow-lg: 0 14px 36px rgba(15, 30, 54, 0.10);

    --shadow-pulse: 0 4px 18px rgba(0, 173, 239, 0.35);

    --radius-sm: 8px;

    --radius-md: 12px;

    --radius-lg: 18px;

    --radius-full: 9999px;

    --transition: all 0.24s cubic-bezier(0.4, 0, 0.2, 1);

}



/* Base Reset */

*, *::before, *::after {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



html, body, button, input, select, textarea, code, pre {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {

    scroll-behavior: smooth;

    font-size: 16px;

    scroll-padding-top: 74px;

}



body {

    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

    background-color: var(--bg-main);

    color: var(--text-primary);

    line-height: 1.6;

    overflow-x: hidden;

    position: relative;

    -webkit-font-smoothing: antialiased;

}



h1, h2, h3, h4, .font-heading {

    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

    font-weight: 700;

    color: var(--khal-navy);

    line-height: 1.25;

}



.font-mono {

    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

}



/* ==========================================================================

   INTERACTIVE CURSOR STYLES (Desktop Only, Subtle & Non-Intrusive)

   ========================================================================== */

@media (min-width: 993px) {

    body {

        cursor: default;

    }

    a, button, [role="button"], input, select, textarea {

        cursor: pointer;

    }

    .khal-cursor-dot {

        position: fixed;

        top: -3px;

        left: -3px;

        width: 6px;

        height: 6px;

        background-color: var(--khal-pulse);

        border-radius: 50%;

        pointer-events: none;

        z-index: 999999;

        transition: transform 0.04s ease-out, opacity 0.2s;

        box-shadow: 0 0 8px var(--khal-pulse-bright);

    }

    .khal-cursor-dot.hovering-dot {

        background-color: #FFFFFF;

        box-shadow: 0 0 10px #FFFFFF;

    }

    .khal-cursor-ring {

        position: fixed;

        top: -14px;

        left: -14px;

        width: 28px;

        height: 28px;

        border: 1.5px solid rgba(130, 170, 227, 0.7);

        border-radius: 50%;

        pointer-events: none;

        z-index: 999998;

        transform: translate3d(-100px, -100px, 0);

        transition: width 0.2s, height 0.2s, border-color 0.2s, background-color 0.2s, opacity 0.2s;

    }

    .khal-cursor-ring.hovering {

        border-color: var(--khal-pulse);

        background-color: rgba(2, 132, 199, 0.08);

        box-shadow: 0 0 14px rgba(2, 132, 199, 0.25);

    }

    .khal-cursor-ring.active-click {

        transform: scale(0.85);

        border-color: var(--khal-pulse-bright);

    }

    .khal-cursor-pulse {

        position: fixed;

        width: 8px;

        height: 8px;

        border: 2px solid var(--khal-pulse);

        border-radius: 50%;

        pointer-events: none;

        z-index: 999997;

        transform: translate(-50%, -50%);

        animation: pulseRipple 0.5s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;

    }

}



@keyframes pulseRipple {

    0% { width: 8px; height: 8px; opacity: 1; border-width: 2.5px; }

    100% { width: 70px; height: 70px; opacity: 0; border-width: 1px; }

}



/* ==========================================================================

   CONTAINER & BUTTON SYSTEM (PROPORTIONAL)

   ========================================================================== */

.container {

    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 24px;

}



.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    height: 42px;

    padding: 0 20px;

    border-radius: var(--radius-full);

    font-weight: 600;

    font-size: 0.88rem;

    text-decoration: none;

    transition: var(--transition);

    border: none;

    cursor: pointer;

    white-space: nowrap;

}



.btn-primary {

    background: var(--grad-btn);

    color: #FFFFFF;

    box-shadow: var(--shadow-pulse);

}

.btn-primary:hover {

    transform: translateY(-2px);

    box-shadow: 0 6px 20px rgba(29, 78, 216, 0.45);

}



.btn-blue {

    background: var(--grad-blue-btn);

    color: #FFFFFF;

    box-shadow: 0 3px 12px rgba(130, 170, 227, 0.35);

}

.btn-blue:hover {

    background: #6898DC;

    transform: translateY(-2px);

}



.btn-outline-blue {

    background: transparent;

    border: 1.5px solid var(--khal-blue);

    color: var(--khal-navy);

}

.btn-outline-blue:hover {

    background: var(--khal-blue-soft);

    border-color: var(--khal-blue);

}



.btn-outline-white {

    background: rgba(255, 255, 255, 0.12);

    border: 1.5px solid rgba(255, 255, 255, 0.5);

    color: #FFFFFF;

    backdrop-filter: blur(8px);

}

.btn-outline-white:hover {

    background: #FFFFFF;

    color: var(--khal-navy);

}



.badge-pulse {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 4px 12px;

    background: rgba(29, 78, 216, 0.08);

    border: 1px solid rgba(29, 78, 216, 0.22);

    color: var(--khal-pulse);

    border-radius: var(--radius-full);

    font-size: 0.78rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.6px;

}

.badge-pulse::before {

    content: '';

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: var(--khal-pulse);

    box-shadow: 0 0 6px var(--khal-pulse);

    animation: blinker 1.4s infinite ease-in-out;

}

@keyframes blinker {

    0%, 100% { opacity: 1; transform: scale(1); }

    50% { opacity: 0.3; transform: scale(0.8); }

}



.badge-blue {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 4px 12px;

    background: rgba(130, 170, 227, 0.14);

    border: 1px solid var(--khal-blue);

    color: var(--khal-navy);

    border-radius: var(--radius-full);

    font-size: 0.78rem;

    font-weight: 600;

}



/* ==========================================================================

   MAIN NAVBAR (FLOATING FROSTED GLASS OVER HERO)

   ========================================================================== */



/* Main Navbar */

.navbar {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    z-index: 1000;

    background: linear-gradient(135deg, rgba(15, 35, 65, 0.88) 0%, rgba(11, 25, 44, 0.82) 55%, rgba(0, 101, 179, 0.75) 100%);

    backdrop-filter: blur(14px);

    -webkit-backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.16);

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);

    transition: var(--transition);

}

.navbar.scrolled {

    background: rgba(15, 35, 65, 0.97);

    backdrop-filter: blur(16px);

    -webkit-backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(130, 170, 227, 0.3);

    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);

}

.navbar-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    height: 88px;

    transition: height 0.25s ease;

}

.navbar.scrolled .navbar-inner {

    height: 80px;

}



.brand-logo-container {

    display: inline-flex;

    align-items: center;

    text-decoration: none;

    flex-shrink: 0;

    padding: 6px 14px;

    border: 1px solid rgba(255, 255, 255, 0.65);

    border-radius: 8px;

    transition: var(--transition);

}

.brand-logo-container:hover {

    border-color: rgba(255, 255, 255, 0.92);

    background: rgba(255, 255, 255, 0.04);

}

.brand-logo-img {

    height: 48px;

    width: auto;

    display: block;

    object-fit: contain;

    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.25)) drop-shadow(0 2px 5px rgba(0, 0, 0, 0.4));

    transition: var(--transition);

}

.brand-logo-container:hover .brand-logo-img {

    transform: scale(1.02);

    filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, 0.4)) drop-shadow(0 0 8px rgba(0, 173, 239, 0.25));

}



/* ==========================================================================

   KIS PLANETARY ORBITAL TELEMETRY HUD (EMBLEM ATOMIC ORBIT + 3D FLIPPING KIS)

   ========================================================================== */

.orbit-hud-display {

    width: 100%;

    height: 84px;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    border-radius: 4px;

    overflow: visible;

    gap: 24px;

    user-select: none;

}



.orbit-hud-display::before {

    content: '';

    position: absolute;

    inset: 0;

    background: 

        radial-gradient(circle at center, rgba(0, 173, 239, 0.16) 0%, transparent 68%),

        radial-gradient(circle at center, transparent 38px, rgba(56, 189, 248, 0.15) 39px, transparent 40px),

        radial-gradient(circle at center, transparent 72px, rgba(56, 189, 248, 0.08) 73px, transparent 74px);

    pointer-events: none;

}



.orbit-hud-emblem {

    position: relative;

    height: 76px;

    width: 76px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    cursor: pointer;

    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);

}



.orbit-hud-emblem:hover {

    transform: scale(1.06);

}



.orbit-hud-aura {

    position: absolute;

    width: 52px;

    height: 52px;

    border-radius: 50%;

    background: radial-gradient(circle, rgba(0, 173, 239, 0.4) 0%, rgba(71, 49, 135, 0.22) 65%, transparent 100%);

    filter: blur(8px);

    animation: orbitAuraPulse 3s ease-in-out infinite alternate;

    pointer-events: none;

}



@keyframes orbitAuraPulse {

    0% { transform: scale(0.85); opacity: 0.55; }

    100% { transform: scale(1.25); opacity: 0.95; }

}



.orbit-hud-rings {

    position: relative;

    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

}



/* Outer Orbit with Large & Small Cyan Planet Dots - Rotating CLOCKWISE */

.orbit-hud-outer {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: contain;

    transform-origin: 50% 50%;

    animation: orbitClockwise 9s linear infinite;

    pointer-events: none;

    filter: drop-shadow(0 0 6px rgba(0, 173, 239, 0.55));

    will-change: transform;

}



/* Inner Orbit with 3 Cyan Planet Dots - Rotating COUNTER-CLOCKWISE */

.orbit-hud-inner {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: contain;

    transform-origin: 50% 50%;

    animation: orbitCounterClockwise 6s linear infinite;

    pointer-events: none;

    filter: drop-shadow(0 0 5px rgba(0, 173, 239, 0.45));

    will-change: transform;

}



/* Side Laboratory Metrology Gauges */

.orbit-hud-gauge {

    display: flex;

    flex-direction: column;

    gap: 3px;

    width: 120px;

    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

}



.orbit-hud-gauge.left {

    align-items: flex-end;

    text-align: right;

}



.orbit-hud-gauge.right {

    align-items: flex-start;

    text-align: left;

}



.orbit-gauge-title {

    font-size: 0.62rem;

    font-weight: 700;

    color: #64748B;

    letter-spacing: 0.6px;

    text-transform: uppercase;

}



.orbit-gauge-bar {

    width: 100%;

    height: 4px;

    background: rgba(30, 58, 138, 0.45);

    border-radius: 999px;

    overflow: hidden;

}



.orbit-gauge-fill {

    height: 100%;

    border-radius: 999px;

}



.orbit-gauge-fill.fill-1 {

    width: 78%;

    background: linear-gradient(90deg, #473187, #00ADEF);

    animation: gaugePulse1 2.4s ease-in-out infinite alternate;

}



.orbit-gauge-fill.fill-2 {

    width: 84%;

    background: linear-gradient(90deg, #00ADEF, #10B981);

    animation: gaugePulse2 2.8s ease-in-out infinite alternate;

}



.orbit-gauge-val {

    font-size: 0.68rem;

    font-weight: 700;

    color: #38BDF8;

    font-variant-numeric: tabular-nums;

}



@keyframes gaugePulse1 {

    0% { width: 62%; }

    100% { width: 90%; }

}



@keyframes gaugePulse2 {

    0% { width: 70%; }

    100% { width: 95%; }

}



/* Keyframes: Clockwise Rotation (Outer Planetary Orbit) */

@keyframes orbitClockwise {

    0% {

        transform: rotate(0deg);

    }

    100% {

        transform: rotate(360deg);

    }

}



/* Keyframes: Counter-Clockwise Rotation (Inner Planetary Orbit) */

@keyframes orbitCounterClockwise {

    0% {

        transform: rotate(0deg);

    }

    100% {

        transform: rotate(-360deg);

    }

}



/* Page Header Banner (Standalone Pages matching Index Hero tone) */

.page-header-banner {

    position: relative;

    padding: 135px 0 65px;

    background: linear-gradient(135deg, rgba(15, 35, 65, 0.88) 0%, rgba(130, 170, 227, 0.86) 60%, rgba(145, 216, 228, 0.8) 100%),

                url('https://images.unsplash.com/photo-1582719471384-894fbb16e074?auto=format&fit=crop&w=1920&q=85') center/cover no-repeat;

    color: #FFFFFF;

    text-align: center;

    overflow: hidden;

    border-bottom: 1px solid rgba(255, 255, 255, 0.16);

}

.page-header-banner::before {

    content: '';

    position: absolute;

    inset: 0;

    background: radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.25) 0%, transparent 60%);

    pointer-events: none;

}

.page-header-banner .container {

    position: relative;

    z-index: 2;

}

.page-header-banner h1 {

    font-size: clamp(1.8rem, 2.5vw + 0.5rem, 2.45rem);

    font-weight: 700;

    margin-top: 14px;

    margin-bottom: 12px;

    color: #FFFFFF;

    text-transform: uppercase;

    letter-spacing: 0.6px;

    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);

}

.page-header-banner p {

    max-width: 740px;

    margin: 0 auto;

    color: #E2E8F0;

    font-size: 1.05rem;

    line-height: 1.65;

    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);

}



/* Desktop Navigation (HORIZONTAL IN WHITE & CYAN) */

.desktop-nav {

    display: flex;

    align-items: center;

}

.nav-links {

    display: flex !important;

    flex-direction: row !important;

    align-items: center;

    gap: 24px;

    list-style: none;

    margin: 0;

    padding: 0;

}

.nav-links li {

    display: inline-flex;

    align-items: center;

}

.nav-link {

    text-decoration: none;

    color: #FFFFFF;

    font-weight: 600;

    font-size: 0.9rem;

    position: relative;

    padding: 8px 0;

    transition: var(--transition);

    white-space: nowrap;

    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);

}

.nav-link::after {

    content: '';

    position: absolute;

    bottom: 0;

    left: 0;

    width: 0%;

    height: 2.5px;

    background: #38BDF8;

    transition: width 0.22s ease;

}

.nav-link:hover, .nav-link.active {

    color: #38BDF8 !important;

}

.nav-link.active {

    font-weight: 700;

}

.nav-link:hover::after, .nav-link.active::after {

    width: 100% !important;

    background: #38BDF8;

    box-shadow: 0 0 8px rgba(56, 189, 248, 0.7);

}



.nav-actions {
    display: none !important;
}

/* Pill Button on Top Right (Permanently Removed for Clean Navigation) */
.btn-header-pill {
    display: none !important;
}



/* ==========================================================================

   CINEMATIC HERO SECTION (SMM REFERENCE STYLE + KHAL CONCEPT)

   ========================================================================== */

.hero-section {

    position: relative;

    min-height: 94vh;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 120px 0 100px;

    background: linear-gradient(180deg, rgba(10, 17, 31, 0.72) 0%, rgba(10, 17, 31, 0.45) 50%, rgba(10, 17, 31, 0.75) 100%),

                url('https://images.unsplash.com/photo-1582719471384-894fbb16e074?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;

    color: #FFFFFF;

    overflow: hidden;

}



.hero-center-box {

    max-width: 900px;

    margin: 0 auto;

    position: relative;

    z-index: 2;

}



.hero-section h1,

.hero-title {

    font-size: clamp(1.35rem, 1.8vw + 0.45rem, 2.05rem);

    font-weight: 700;

    color: #38BDF8;

    text-transform: uppercase;

    letter-spacing: 0.8px;

    line-height: 1.35;

    margin-bottom: 12px;

    min-height: 1.35em;

    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85), 0 0 16px rgba(56, 189, 248, 0.4);

}



.typing-cursor {

    display: inline-block;

    font-weight: 400;

    color: #38BDF8;

    margin-left: 4px;

    animation: blinkCursor 0.8s steps(2, start) infinite;

    text-shadow: 0 0 10px rgba(56, 189, 248, 0.8);

}

@keyframes blinkCursor {

    0%, 100% { opacity: 1; }

    50% { opacity: 0; }

}



.hero-sub-title {

    font-size: clamp(1.05rem, 1.15vw + 0.4rem, 1.25rem);

    font-weight: 600;

    color: #FFFFFF;

    margin-bottom: 12px;

    line-height: 1.45;

    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);

}



.hero-sub-desc {

    font-size: 0.96rem;

    color: #BAE6FD;

    max-width: 660px;

    margin: 0 auto 24px;

    line-height: 1.68;

    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);

}



.hero-cta-wrap {

    margin-bottom: 0;

}



/* White Pill Button in Reference Image */

.btn-white-pill {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    background: #FFFFFF;

    color: var(--khal-navy);

    font-weight: 700;

    font-size: 1rem;

    padding: 14px 38px;

    border-radius: var(--radius-full);

    text-decoration: none;

    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);

    transition: var(--transition);

}

.btn-white-pill:hover {

    transform: translateY(-3px) scale(1.02);

    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.45);

    background: #F0F6FD;

}



/* Integrated Telemetry HUD Card inside Hero */

.hero-hud-card {

    margin-top: 26px;

    background: rgba(10, 17, 31, 0.84);

    backdrop-filter: blur(16px);

    -webkit-backdrop-filter: blur(16px);

    border: 1px solid rgba(130, 170, 227, 0.45);

    border-radius: 18px;

    padding: 16px 20px;

    max-width: 580px;

    margin-left: auto;

    margin-right: auto;

    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.4);

    text-align: left;

}



.hud-tab-btn {

    background: transparent;

    border: none;

    color: #94A3B8;

    font-size: 0.72rem;

    font-weight: 700;

    padding: 4px 10px;

    border-radius: 6px;

    cursor: pointer;

    transition: all 0.2s ease;

}

.hud-tab-btn:hover {

    color: #FFFFFF;

}

.hud-tab-btn.active {

    background: #00ADEF !important;

    color: #FFFFFF !important;

    box-shadow: 0 0 12px rgba(0, 173, 239, 0.45);

}



/* Bottom Wave Curved Divider */

.hero-wave-divider {

    position: absolute;

    bottom: -1px;

    left: 0;

    width: 100%;

    line-height: 0;

    z-index: 3;

    pointer-events: none;

}

.hero-wave-divider svg {

    width: 100%;

    height: 56px;

    display: block;

}



/* ==========================================================================

   FLOATING WHATSAPP BUTTON (Bottom-Left from Reference Image)

   ========================================================================== */

.floating-whatsapp-btn {

    position: fixed;

    bottom: 26px;

    left: 26px;

    width: 56px;

    height: 56px;

    background: #25D366;

    color: #FFFFFF;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);

    z-index: 99990;

    transition: var(--transition);

    text-decoration: none;

}

.floating-whatsapp-btn:hover {

    transform: scale(1.1) translateY(-2px);

    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);

}

.floating-whatsapp-btn svg {

    width: 32px;

    height: 32px;

    fill: currentColor;

}

.floating-whatsapp-btn::before {

    content: '';

    position: absolute;

    width: 100%;

    height: 100%;

    border-radius: 50%;

    background: #25D366;

    opacity: 0.5;

    animation: waPulse 2s infinite ease-out;

    z-index: -1;

}

@keyframes waPulse {

    0% { transform: scale(1); opacity: 0.6; }

    100% { transform: scale(1.6); opacity: 0; }

}



/* ==========================================================================

   FLOATING GO-TO-TOP BUTTON (Bottom-Right matching WhatsApp Floating Icon)

   ========================================================================== */

.floating-top-btn {

    position: fixed;

    bottom: 26px;

    right: 26px;

    width: 56px;

    height: 56px;

    background: var(--grad-btn);

    color: #FFFFFF;

    border: 1.5px solid rgba(255, 255, 255, 0.45);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow: 0 6px 22px rgba(0, 101, 179, 0.45), 0 0 16px rgba(0, 173, 239, 0.35);

    z-index: 99990;

    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), 

                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 

                box-shadow 0.25s ease,

                background 0.25s ease;

    cursor: pointer;

    outline: none;

    opacity: 0;

    pointer-events: none;

    transform: translateY(18px) scale(0.85);

}



.floating-top-btn.visible {

    opacity: 1;

    pointer-events: auto;

    transform: translateY(0) scale(1);

}



.floating-top-btn:hover {

    transform: translateY(-4px) scale(1.08);

    box-shadow: 0 10px 28px rgba(0, 101, 179, 0.6), 0 0 24px rgba(0, 173, 239, 0.55);

    background: linear-gradient(135deg, #004D8C 0%, #00ADEF 100%);

}



.floating-top-btn svg {

    width: 28px;

    height: 28px;

    stroke: #FFFFFF;

    transition: transform 0.25s ease;

}



.floating-top-btn:hover svg {

    transform: translateY(-3px);

}



.floating-top-btn::before {

    content: '';

    position: absolute;

    width: 100%;

    height: 100%;

    border-radius: 50%;

    background: var(--khal-cyan);

    opacity: 0.4;

    animation: topPulse 2.4s infinite ease-out;

    z-index: -1;

}



@keyframes topPulse {

    0% { transform: scale(1); opacity: 0.5; }

    100% { transform: scale(1.6); opacity: 0; }

}



.hero-subtitle {

    font-size: 0.98rem;

    color: #475569;

    margin-bottom: 26px;

    max-width: 520px;

    line-height: 1.68;

}



.hero-cta-group {

    display: flex;

    gap: 14px;

    align-items: center;

    flex-wrap: wrap;

}



.hero-highlights {

    display: flex;

    gap: 28px;

    margin-top: 34px;

    padding-top: 22px;

    border-top: 1px solid rgba(130, 170, 227, 0.4);

}

.highlight-stat-num {

    font-size: 1.55rem;

    font-weight: 800;

    color: var(--khal-navy);

    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

    line-height: 1.1;

}

.highlight-stat-label {

    font-size: 0.78rem;

    color: #64748B;

    font-weight: 500;

    margin-top: 2px;

}



/* Hero Showcase Card */

.hero-visual {

    position: relative;

}

.hero-card {

    background: #FFFFFF;

    border: 1px solid var(--border-card);

    border-radius: var(--radius-lg);

    padding: 24px;

    box-shadow: var(--shadow-md);

    position: relative;

}

.hero-badge-float {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    background: rgba(15, 41, 77, 0.06);

    color: var(--khal-navy);

    padding: 4px 12px;

    border-radius: var(--radius-full);

    font-size: 0.76rem;

    font-weight: 700;

    margin-bottom: 14px;

}



/* Digital Phosphor Laboratory Oscilloscope Display */

.oscilloscope-screen {

    background: radial-gradient(ellipse at 50% 50%, #0d1a30 0%, #060b14 100%);

    border-radius: var(--radius-sm);

    padding: 10px 12px 8px;

    position: relative;

    overflow: hidden;

    margin-bottom: 12px;

    border: 1px solid rgba(56, 189, 248, 0.35);

    box-shadow: inset 0 0 25px rgba(2, 6, 14, 0.95), 0 0 18px rgba(56, 189, 248, 0.1);

}



.oscilloscope-canvas {

    width: 100%;

    height: 72px;

    display: block;

    border-radius: 4px;

}



/* Telemetry Dashboard Data */

.oscilloscope-telemetry {

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-size: 0.74rem;

    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

    margin-top: 6px;

    letter-spacing: 0.5px;

    padding-top: 6px;

    border-top: 1px solid rgba(30, 58, 138, 0.35);

}



.telemetry-item {

    display: inline-flex;

    align-items: center;

    gap: 4px;

}



.telemetry-label {

    color: #64748B;

    font-weight: 600;

}



.telemetry-val {

    color: #38BDF8;

    font-weight: 700;

    font-variant-numeric: tabular-nums;

}



.telemetry-led {

    display: inline-block;

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: #10B981;

    box-shadow: 0 0 8px #10B981;

    margin-right: 4px;

    animation: ledPulse 1.4s infinite ease-in-out;

}



@keyframes ledPulse {

    0%, 100% { opacity: 1; transform: scale(1); }

    50% { opacity: 0.35; transform: scale(0.85); }

}



.interactive-preview-box {

    background: var(--bg-surface);

    border-radius: var(--radius-sm);

    padding: 16px;

    border: 1px solid var(--border-light);

}



/* ==========================================================================

   ABOUT US SECTION (SECTION 2)

   ========================================================================== */

.about-grid {

    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    gap: 48px;

    align-items: center;

}

.about-metrics {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 14px;

    margin-top: 20px;

}

@media (max-width: 992px) {

    .about-grid {

        grid-template-columns: 1fr;

        gap: 36px;

    }

}

/* Who We Are & Dual Core Pillars */

.who-we-are-header {

    text-align: center;

    max-width: 760px;

    margin: 0 auto 36px;

}

.pillars-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 28px;

    margin-bottom: 54px;

}



/* Vision & Mission Standard Content Boxes (Box Biasa) */

.vm-box {

    background: #FFFFFF;

    border-radius: var(--radius-md, 16px);

    border: 1px solid rgba(130, 170, 227, 0.4);

    box-shadow: 0 4px 20px rgba(15, 41, 77, 0.05);

    padding: 32px 30px;

    display: flex;

    flex-direction: column;

    position: relative;

    overflow: hidden;

    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);

}



.vm-box::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 4px;

    background: linear-gradient(90deg, var(--khal-blue), var(--khal-pulse));

    opacity: 0.95;

}



.vm-box.vision::before {

    background: linear-gradient(90deg, #0065B3, #00ADEF);

}



.vm-box.mission::before {

    background: linear-gradient(90deg, #00ADEF, #10B981);

}



.vm-box:hover {

    transform: translateY(-4px);

    box-shadow: 0 16px 36px rgba(15, 41, 77, 0.09);

    border-color: rgba(0, 101, 179, 0.45);

}



.vm-box-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 18px;

}



.vm-title {

    font-size: 1.45rem;

    font-weight: 800;

    color: var(--khal-navy);

    margin-bottom: 4px;

    letter-spacing: -0.3px;

    line-height: 1.25;

}



.vm-tagline {

    font-size: 0.8rem;

    font-weight: 700;

    color: #0284C7;

    text-transform: uppercase;

    letter-spacing: 0.8px;

    margin-bottom: 14px;

    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

}



.vm-desc {

    font-size: 0.94rem;

    line-height: 1.75;

    color: #334E68;

    margin-bottom: 0;

    flex: 1;

}



.vm-highlights {

    margin-top: 22px;

    padding-top: 16px;

    border-top: 1px dashed rgba(130, 170, 227, 0.35);

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

}



.vm-tag {

    display: inline-flex;

    align-items: center;

    gap: 5px;

    padding: 4px 10px;

    background: rgba(0, 101, 179, 0.05);

    border: 1px solid rgba(130, 170, 227, 0.3);

    border-radius: 999px;

    font-size: 0.74rem;

    font-weight: 600;

    color: #0284C7;

    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

    letter-spacing: 0.2px;

}

/* Flipped Vision & Mission Cards (3D Interactive Flash Cards) */

.flip-card {

    background-color: transparent;

    perspective: 1200px;

    height: 335px;

}



.flip-card-inner {

    position: relative;

    width: 100%;

    height: 100%;

    text-align: left;

    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);

    transform-style: preserve-3d;

    border-radius: var(--radius-md);

    cursor: pointer;

}



.flip-card:hover .flip-card-inner,

.flip-card.flipped .flip-card-inner {

    transform: rotateY(180deg);

}



.flip-card-front,

.flip-card-back {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    -webkit-backface-visibility: hidden;

    backface-visibility: hidden;

    border-radius: var(--radius-md);

    background: #FFFFFF;

    border: 1px solid rgba(130, 170, 227, 0.4);

    box-shadow: 0 4px 18px rgba(15, 41, 77, 0.05);

    padding: 24px 26px;

    display: flex;

    flex-direction: column;

    overflow: hidden;

    transition: box-shadow var(--transition), border-color var(--transition);

}



.flip-card-front::before {

    content: '';

    position: absolute;

    top: 0; left: 0; right: 0;

    height: 4px;

    background: linear-gradient(90deg, var(--khal-blue), var(--khal-pulse));

    opacity: 0.9;

}



.flip-card-back {

    background: linear-gradient(150deg, #FFFFFF 0%, #F6F9FD 100%);

    border-color: rgba(56, 189, 248, 0.5);

    transform: rotateY(180deg);

}



.flip-card-back::before {

    content: '';

    position: absolute;

    top: 0; left: 0; right: 0;

    height: 4px;

    background: linear-gradient(90deg, var(--khal-violet), var(--khal-cyan));

    opacity: 0.95;

}



.flip-card:hover .flip-card-front,

.flip-card.flipped .flip-card-front {

    box-shadow: 0 14px 34px rgba(130, 170, 227, 0.22);

    border-color: var(--khal-blue);

}



.flip-card:hover .flip-card-back,

.flip-card.flipped .flip-card-back {

    box-shadow: 0 16px 38px rgba(56, 189, 248, 0.22);

}



.pillar-icon-box {

    width: 58px;

    height: 58px;

    border-radius: 14px;

    background: linear-gradient(135deg, rgba(130, 170, 227, 0.16) 0%, rgba(56, 189, 248, 0.22) 100%);

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 18px;

    color: var(--khal-pulse);

    border: 1px solid rgba(130, 170, 227, 0.35);

    box-shadow: 0 4px 12px rgba(130, 170, 227, 0.15);

    flex-shrink: 0;

}

.pillar-icon-box svg {

    width: 30px;

    height: 30px;

    stroke: currentColor;

}

.pillar-title {

    font-size: 1.4rem;

    font-weight: 800;

    color: var(--khal-navy);

    margin-bottom: 6px;

    letter-spacing: -0.3px;

    line-height: 1.25;

}

.pillar-tagline {

    font-size: 0.8rem;

    font-weight: 700;

    color: #0284C7;

    text-transform: uppercase;

    letter-spacing: 0.8px;

    margin-bottom: 14px;

    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

}



.flip-card-action {

    margin-top: auto;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    font-size: 0.82rem;

    font-weight: 700;

    color: #0284C7;

    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

    text-transform: uppercase;

    letter-spacing: 0.6px;

    padding-top: 14px;

    border-top: 1px dashed rgba(130, 170, 227, 0.4);

    width: 100%;

    transition: var(--transition);

}

.flip-card-action svg {

    transition: transform 0.25s ease;

}

.flip-card:hover .flip-card-action svg,

.flip-card.flipped .flip-card-action svg {

    transform: translateX(4px);

}



.pillar-back-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 10px;

    flex-shrink: 0;

}

.flip-back-indicator {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 26px;

    height: 26px;

    border-radius: 50%;

    background: rgba(56, 189, 248, 0.14);

    color: #0284C7;

}



.pillar-lead {

    font-size: 0.88rem;

    line-height: 1.68;

    color: #334E68;

    margin-bottom: 0;

}



.pillar-back-footer {

    margin-top: auto;

    display: flex;

    justify-content: flex-end;

    padding-top: 8px;

    border-top: 1px dashed rgba(130, 170, 227, 0.35);

    flex-shrink: 0;

}

.back-hint {

    font-size: 0.72rem;

    color: #64748B;

    font-weight: 600;

    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

    text-transform: uppercase;

    letter-spacing: 0.5px;

}



@media (max-width: 992px) {

    .pillars-grid {

        grid-template-columns: 1fr;

        gap: 22px;

    }

    .flip-card {

        height: 330px;

    }

}

@media (max-width: 576px) {

    .vm-box {

        padding: 24px 20px;

    }

    .vm-title {

        font-size: 1.3rem;

    }

    .vm-desc {

        font-size: 0.9rem;

        line-height: 1.7;

    }

    .flip-card {

        height: 380px;

    }

    .flip-card-front,

    .flip-card-back {

        padding: 24px 20px;

    }

    .pillar-lead {

        font-size: 0.85rem;

        line-height: 1.62;

    }

}



/* ==========================================================================

   PRODUCT CATALOG SECTION

   ========================================================================== */

.section {

    padding: 80px 0;

    position: relative;

}



.section-header {

    text-align: center;

    max-width: 640px;

    margin: 0 auto 40px;

}

.section-title {

    font-size: 2.1rem;

    margin: 10px 0 12px;

    color: var(--khal-navy);

}

.section-desc {

    color: var(--text-secondary);

    font-size: 0.98rem;

}



/* Filter Tabs */

.filter-tabs {

    display: flex;

    justify-content: center;

    gap: 8px;

    margin-bottom: 34px;

    flex-wrap: wrap;

}

.tab-btn {

    padding: 8px 18px;

    border-radius: var(--radius-full);

    border: 1.5px solid var(--border-light);

    background: #FFFFFF;

    color: var(--khal-navy);

    font-weight: 600;

    font-size: 0.85rem;

    transition: var(--transition);

    cursor: pointer;

}

.tab-btn:hover {

    border-color: var(--khal-blue);

    background: var(--khal-blue-soft);

}

.tab-btn.active {

    background: var(--khal-blue);

    color: #FFFFFF;

    border-color: var(--khal-blue);

    box-shadow: 0 4px 12px rgba(130, 170, 227, 0.4);

}



/* Product Cards Grid */

.product-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));

    gap: 24px;

}



.product-card {

    background: var(--bg-white);

    border-radius: var(--radius-md);

    border: 1px solid var(--border-card);

    overflow: hidden;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);

    display: flex;

    flex-direction: column;

    position: relative;

}

.product-card::before {

    content: '';

    position: absolute;

    top: 0; left: 0; right: 0;

    height: 3px;

    background: linear-gradient(90deg, var(--khal-blue), var(--khal-pulse));

    opacity: 0;

    transition: opacity 0.2s;

}

.product-card:hover {

    transform: translateY(-5px);

    box-shadow: var(--shadow-md);

    border-color: var(--khal-blue);

}

.product-card:hover::before {

    opacity: 1;

}



.flag-icon-svg {

    display: inline-block;

    vertical-align: middle;

    border-radius: 2px;

    box-shadow: 0 1px 3px rgba(15, 41, 77, 0.18);

    flex-shrink: 0;

}



.product-thumb {

    height: 180px;

    background: linear-gradient(135deg, #F8FAFC 0%, #EEF4FA 100%);

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    padding: 16px;

    overflow: hidden;

}

.product-thumb img {

    max-height: 140px;

    max-width: 86%;

    width: auto;

    height: auto;

    object-fit: contain;

    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    z-index: 1;

    filter: drop-shadow(0 3px 8px rgba(15, 41, 77, 0.08));

}

.product-card:hover .product-thumb img {

    transform: scale(1.06);

}



.product-model-code-pill {

    position: absolute;

    bottom: 10px;

    left: 12px;

    background: rgba(15, 41, 77, 0.9);

    backdrop-filter: blur(4px);

    color: #38BDF8;

    font-size: 0.72rem;

    font-weight: 700;

    padding: 2px 8px;

    border-radius: 6px;

    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

    z-index: 4;

    border: 1px solid rgba(56, 189, 248, 0.3);

    letter-spacing: 0.3px;

}



.product-badge {

    position: absolute;

    top: 12px;

    left: 12px;

    max-width: calc(100% - 128px);

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    background: rgba(15, 41, 77, 0.85);

    color: #FFFFFF;

    font-size: 0.72rem;

    font-weight: 700;

    padding: 3px 8px;

    border-radius: var(--radius-full);

}



.product-body {

    padding: 20px;

    display: flex;

    flex-direction: column;

    flex-grow: 1;

}

.product-cat {

    font-size: 0.74rem;

    text-transform: uppercase;

    font-weight: 700;

    color: var(--khal-blue);

    letter-spacing: 0.5px;

    margin-bottom: 4px;

}

.product-title {

    font-size: 1.08rem;

    color: var(--khal-navy);

    margin-bottom: 8px;

}

.product-specs {

    list-style: none;

    font-size: 0.82rem;

    color: var(--text-secondary);

    margin-bottom: 16px;

}

.product-specs li {

    padding: 3px 0;

    border-bottom: 1px dashed var(--border-light);

    display: flex;

    justify-content: space-between;

}

.product-specs li span.label {

    color: var(--text-muted);

}

.product-specs li span.val {

    font-weight: 600;

    color: var(--khal-navy);

}



/* Modern Clean Specs Box */

.product-specs-box {

    background: #F8FAFC;

    border: 1px solid #E2E8F0;

    border-radius: 8px;

    padding: 8px 12px;

    margin: 10px 0 14px 0;

    display: flex;

    flex-direction: column;

    gap: 6px;

}

.product-spec-row {

    display: flex;

    justify-content: space-between;

    align-items: baseline;

    font-size: 0.78rem;

    line-height: 1.35;

    gap: 8px;

    padding-bottom: 5px;

    border-bottom: 1px dashed #E2E8F0;

}

.product-spec-row:last-child {

    border-bottom: none;

    padding-bottom: 0;

}

.product-spec-label {

    color: #64748B;

    font-weight: 500;

    font-size: 0.76rem;

    flex-shrink: 0;

    max-width: 48%;

    font-family: inherit;

}

.product-spec-val {

    color: var(--khal-navy);

    font-weight: 700;

    font-size: 0.78rem;

    text-align: right;

    flex: 1;

    font-family: inherit;

    word-break: normal;

}



.product-footer {

    margin-top: auto;

    display: flex;

    gap: 8px;

}

.product-footer .btn {

    flex: 1;

    height: 38px;

    padding: 0 10px;

    font-size: 0.82rem;

}



/* ==========================================================================

   TECHNICAL SERVICES SECTION (DESKTOP GRID & MOBILE SWIPEABLE CAROUSEL)

   ========================================================================== */

.services-slider-container {

    position: relative;

    width: 100%;

    margin-bottom: 50px;

}



.services-track {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;

}



.service-card {

    background: #FFFFFF;

    border: 1px solid rgba(130, 170, 227, 0.4);

    border-radius: var(--radius-md);

    padding: 36px 30px;

    box-shadow: 0 4px 18px rgba(15, 41, 77, 0.05);

    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);

    position: relative;

    overflow: hidden;

    display: flex;

    flex-direction: column;

}



.service-card::before {

    content: '';

    position: absolute;

    top: 0; left: 0; right: 0;

    height: 4px;

    background: linear-gradient(90deg, var(--khal-blue), var(--khal-pulse));

    opacity: 0.85;

    transition: var(--transition);

}



.service-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 14px 34px rgba(130, 170, 227, 0.22);

    border-color: var(--khal-blue);

}



.service-card:hover::before {

    opacity: 1;

    background: linear-gradient(90deg, var(--khal-pulse), #38BDF8);

}



.service-card-title {

    font-size: 1.25rem;

    font-weight: 800;

    color: var(--khal-navy);

    margin-bottom: 12px;

    line-height: 1.32;

    letter-spacing: -0.2px;

}



.service-card-desc {

    font-size: 0.90rem;

    line-height: 1.72;

    color: #475569;

    margin: 0;

}



/* Mobile Horizontal Carousel & Dot Indicators */

.services-slider-indicator {

    display: none;

    flex-direction: column;

    align-items: center;

    gap: 12px;

    margin-top: 24px;

}



.services-slider-controls {

    display: flex;

    align-items: center;

    gap: 16px;

}



.services-slider-arrow {

    width: 36px;

    height: 36px;

    border-radius: 50%;

    background: #FFFFFF;

    border: 1.5px solid #CBD5E1;

    color: var(--khal-navy);

    display: inline-flex;

    align-items: center;

    justify-content: center;

    font-size: 1.4rem;

    font-weight: 700;

    line-height: 1;

    cursor: pointer;

    box-shadow: 0 2px 8px rgba(15, 41, 77, 0.08);

    transition: var(--transition);

}



.services-slider-arrow:hover,

.services-slider-arrow:active {

    background: var(--khal-blue);

    color: #FFFFFF;

    border-color: var(--khal-blue);

    transform: scale(1.08);

}



.swipe-hint-text {

    font-size: 0.78rem;

    color: #64748B;

    font-weight: 600;

    letter-spacing: 0.4px;

}



.slider-dots {

    display: flex;

    gap: 8px;

    align-items: center;

}



.slider-dots .dot {

    width: 10px;

    height: 10px;

    border-radius: 50%;

    background: rgba(130, 170, 227, 0.45);

    cursor: pointer;

    transition: var(--transition);

}



.slider-dots .dot.active {

    width: 26px;

    border-radius: 10px;

    background: var(--khal-pulse);

    box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);

}



@media (max-width: 992px) {

    .services-slider-container {

        overflow: visible;

        margin-left: -18px;

        margin-right: -18px;

        padding-left: 18px;

        padding-right: 18px;

        margin-bottom: 36px;

    }



    .services-track {

        display: flex !important;

        flex-direction: row;

        flex-wrap: nowrap;

        overflow-x: auto;

        scroll-snap-type: x mandatory;

        -webkit-overflow-scrolling: touch;

        gap: 16px;

        padding: 12px 10px 24px;

        scrollbar-width: none;

        cursor: grab;

        user-select: none;

    }



    .services-track::-webkit-scrollbar {

        display: none;

    }



    .services-track.active-drag {

        cursor: grabbing;

        scroll-snap-type: none;

    }



    .services-track .service-card {

        flex: 0 0 85% !important;

        max-width: 340px;

        min-width: 280px;

        scroll-snap-align: center;

        padding: 30px 24px !important;

        box-sizing: border-box;

    }



    .services-slider-indicator {

        display: flex;

    }

}



@media (max-width: 480px) {

    .services-slider-container {

        margin-left: -14px;

        margin-right: -14px;

        padding-left: 14px;

        padding-right: 14px;

    }



    .services-track {

        gap: 14px;

        padding: 10px 6px 20px;

    }



    .services-track .service-card {

        flex: 0 0 86% !important;

        max-width: 315px;

        min-width: 260px;

        padding: 26px 20px !important;

    }

}



/* ==========================================================================

   PORTFOLIO & GALLERY SHOWCASE

   ========================================================================== */

.gallery-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));

    gap: 24px;

}



.gallery-card {

    background: #FFFFFF;

    border-radius: var(--radius-md);

    overflow: hidden;

    border: 1px solid var(--border-card);

    box-shadow: var(--shadow-sm);

    transition: var(--transition);

}

.gallery-card:hover {

    transform: translateY(-4px);

    box-shadow: var(--shadow-md);

}



.gallery-img-wrap {

    height: 200px;

    background: #111D33;

    position: relative;

    overflow: hidden;

}

.gallery-img-wrap img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center 22%;

    transition: transform 0.4s ease;

}

.gallery-card:hover .gallery-img-wrap img {

    transform: scale(1.06);

}



.gallery-overlay-tag {

    position: absolute;

    bottom: 12px;

    left: 12px;

    background: rgba(15, 41, 77, 0.9);

    color: #FFFFFF;

    padding: 4px 10px;

    border-radius: var(--radius-full);

    font-size: 0.74rem;

    font-weight: 600;

    backdrop-filter: blur(6px);

    border: 1px solid rgba(130, 170, 227, 0.4);

}



.gallery-info {

    padding: 18px;

}

.gallery-client {

    font-size: 0.78rem;

    color: var(--khal-pulse);

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.5px;

}

.gallery-title {

    font-size: 1.05rem;

    color: var(--khal-navy);

    margin: 4px 0 8px;

}

.gallery-desc {

    font-size: 0.85rem;

    color: var(--text-secondary);

    line-height: 1.5;

}



.gallery-meta-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 10px;

    padding-top: 8px;

    border-top: 1px solid #F1F5F9;

}

.gallery-meta-pill {

    font-size: 0.72rem;

    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

    background: #F1F6FC;

    color: #334E68;

    padding: 2px 8px;

    border-radius: 4px;

    border: 1px solid rgba(130, 170, 227, 0.3);

}



/* Superadmin Gallery & Product Toolbar & Card Controls */

.gallery-admin-toolbar,

.product-admin-toolbar {

    background: #FFFFFF;

    border: 1.5px solid rgba(130, 170, 227, 0.5);

    border-left: 4px solid var(--khal-blue);

    border-radius: var(--radius-md);

    padding: 14px 20px;

    margin-bottom: 24px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;

    box-shadow: 0 4px 14px rgba(15, 41, 77, 0.05);

}

.admin-badge-indicator {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 0.86rem;

    font-weight: 700;

    color: var(--khal-navy);

}

.admin-pulse-dot {

    width: 10px;

    height: 10px;

    border-radius: 50%;

    background: #10B981;

    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);

    animation: adminPulse 2s infinite;

}

@keyframes adminPulse {

    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }

    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }

    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }

}



.admin-toolbar-actions {

    display: flex;

    align-items: center;

    gap: 10px;

    flex-wrap: wrap;

}



.gallery-card,

.product-card {

    position: relative;

}

.card-admin-actions {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.gallery-card:hover .card-admin-actions,

.product-card:hover .card-admin-actions {

    opacity: 1;

}

.btn-admin-pill {

    display: inline-flex;

    align-items: center;

    gap: 4px;

    padding: 4px 10px;

    border-radius: var(--radius-full);

    font-size: 0.74rem;

    font-weight: 700;

    border: none;

    cursor: pointer;

    backdrop-filter: blur(8px);

    transition: var(--transition);

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);

}

.btn-admin-edit {

    background: rgba(15, 41, 77, 0.88);

    color: #FFFFFF;

    border: 1px solid rgba(130, 170, 227, 0.6);

}

.btn-admin-edit:hover {

    background: var(--khal-navy);

    color: var(--khal-pulse);

    transform: translateY(-1px);

}

.btn-admin-delete {

    background: rgba(220, 38, 38, 0.88);

    color: #FFFFFF;

    border: 1px solid rgba(254, 202, 202, 0.6);

}

.btn-admin-delete:hover {

    background: #B91C1C;

    transform: translateY(-1px);

}



/* Folder Manager List in Modals */

.folder-manager-list {

    display: flex;

    flex-direction: column;

    gap: 10px;

    margin-top: 14px;

    max-height: 280px;

    overflow-y: auto;

    padding-right: 4px;

}

.folder-item-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 10px 14px;

    background: #F8FAFC;

    border: 1px solid #E2E8F0;

    border-radius: var(--radius-sm);

    transition: var(--transition);

}

.folder-item-row:hover {

    background: #F1F6FC;

    border-color: #CBD5E1;

}

.folder-item-name {

    display: flex;

    align-items: center;

    gap: 8px;

    font-weight: 600;

    font-size: 0.88rem;

    color: var(--khal-navy);

}

.folder-item-count {

    font-size: 0.72rem;

    font-weight: 700;

    background: #E2E8F0;

    color: #475569;

    padding: 2px 8px;

    border-radius: var(--radius-full);

}

.folder-item-actions {

    display: flex;

    gap: 6px;

}

.btn-folder-action {

    background: none;

    border: none;

    cursor: pointer;

    padding: 4px 8px;

    font-size: 0.78rem;

    font-weight: 600;

    border-radius: 4px;

    transition: var(--transition);

}

.btn-folder-rename {

    color: var(--khal-blue);

    background: rgba(130, 170, 227, 0.15);

}

.btn-folder-rename:hover {

    background: var(--khal-blue);

    color: #FFFFFF;

}

.btn-folder-delete {

    color: #DC2626;

    background: #FEE2E2;

}

.btn-folder-delete:hover {

    background: #DC2626;

    color: #FFFFFF;

}



/* Image Preset Chips in Project Form */

.image-preset-group {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 6px;

}

.image-preset-chip {

    font-size: 0.72rem;

    padding: 3px 8px;

    background: #F1F5F9;

    border: 1px solid #CBD5E1;

    border-radius: 4px;

    cursor: pointer;

    color: #475569;

    transition: var(--transition);

}

.image-preset-chip:hover {

    background: var(--khal-blue-soft);

    color: var(--khal-navy);

    border-color: var(--khal-blue);

}



/* ==========================================================================

   FORM CONTROLS (Global Input Styling)

   ========================================================================== */

.form-control {

    flex: 1;

    height: 42px;

    padding: 0 16px;

    border-radius: var(--radius-full);

    border: 1px solid rgba(255, 255, 255, 0.4);

    background: rgba(255, 255, 255, 0.95);

    color: var(--khal-navy);

    font-size: 0.88rem;

    outline: none;

    transition: var(--transition);

}

/* ==========================================================================

   SECTION 6: CONTACT & WORKSHOP LOCATION

   ========================================================================== */

.contact-workshop-grid {

    display: grid;

    grid-template-columns: 1fr 1.2fr;

    gap: 36px;

    align-items: stretch;

    margin-top: 10px;

}



.contact-details-card {

    background: #FFFFFF;

    border-radius: var(--radius-lg);

    border: 1px solid rgba(0, 101, 179, 0.2);

    box-shadow: var(--shadow-md);

    padding: 36px 32px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    transition: var(--transition);

}



.contact-details-card:hover {

    transform: translateY(-3px);

    box-shadow: var(--shadow-lg);

    border-color: rgba(0, 173, 239, 0.4);

}



.contact-card-header {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 22px;

    padding-bottom: 18px;

    border-bottom: 1px solid #F1F5F9;

}



.contact-card-icon {

    width: 48px;

    height: 48px;

    border-radius: 12px;

    background: rgba(0, 173, 239, 0.12);

    border: 1px solid rgba(0, 173, 239, 0.25);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.4rem;

    flex-shrink: 0;

}



.contact-card-title {

    font-size: 1.25rem;

    color: var(--khal-navy);

    font-weight: 700;

    margin: 0;

    line-height: 1.25;

}



.contact-card-subtitle {

    font-size: 0.82rem;

    color: #64748B;

    font-weight: 500;

    margin-top: 2px;

    display: block;

}



.contact-info-list {

    display: flex;

    flex-direction: column;

    gap: 14px;

    font-size: 0.90rem;

    line-height: 1.65;

    color: var(--text-secondary);

    margin-bottom: 26px;

}



.contact-info-item strong {

    color: var(--khal-navy);

    display: block;

    margin-bottom: 2px;

    font-size: 0.84rem;

    letter-spacing: 0.2px;

}



.contact-info-item a {

    color: var(--khal-blue);

    text-decoration: none;

    font-weight: 600;

    transition: var(--transition);

}



.contact-info-item a:hover {

    color: var(--khal-cyan);

    text-decoration: underline;

}



.contact-map-wrapper {

    background: #FFFFFF;

    border-radius: var(--radius-lg);

    border: 1px solid rgba(0, 101, 179, 0.2);

    box-shadow: var(--shadow-md);

    overflow: hidden;

    position: relative;

    display: flex;

    flex-direction: column;

    min-height: 420px;

}



.contact-map-wrapper iframe {

    width: 100%;

    height: 100%;

    flex: 1;

    border: none;

    display: block;

    min-height: 350px;

}



.map-action-bar {

    padding: 12px 18px;

    background: #FFFFFF;

    border-bottom: 1px solid #E2E8F0;

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

}



@media (max-width: 992px) {

    .contact-workshop-grid {

        grid-template-columns: 1fr;

        gap: 28px;

    }

    .contact-map-wrapper {

        min-height: 340px;

    }

}



/* ==========================================================================

   FOOTER

   ========================================================================== */

.footer {

    background: var(--khal-dark);

    color: #CBD5E1;

    padding: 60px 0 24px;

    border-top: 3px solid var(--khal-blue);

}

.footer-grid {

    display: grid;

    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;

    gap: 36px;

    margin-bottom: 40px;

}

.footer-logo {

    height: 58px;

    width: auto;

    object-fit: contain;

    margin-bottom: 18px;

    display: block;

    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.25)) drop-shadow(0 2px 5px rgba(0, 0, 0, 0.4));

    transition: var(--transition);

}

.footer-logo:hover {

    transform: scale(1.02);

    filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, 0.4)) drop-shadow(0 0 8px rgba(0, 173, 239, 0.25));

}

.footer-col h4 {

    color: #FFFFFF;

    font-size: 1rem;

    margin-bottom: 16px;

    position: relative;

    padding-bottom: 8px;

}

.footer-col h4::after {

    content: '';

    position: absolute;

    bottom: 0; left: 0;

    width: 26px;

    height: 2px;

    background: var(--khal-pulse);

}

.footer-links {

    list-style: none;

}

.footer-links li {

    margin-bottom: 8px;

}

.footer-links a {

    color: #94A3B8;

    text-decoration: none;

    transition: var(--transition);

    font-size: 0.88rem;

}

.footer-links a:hover {

    color: var(--khal-blue);

    padding-left: 4px;

}

.footer-bottom {

    padding: 20px 68px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 12px;

    font-size: 0.82rem;

    color: #64748B;

}



/* ==========================================================================

   CLEAN RESPONSIVE VISIBILITY (FIXES HORIZONTAL STACKING BUG)

   ========================================================================== */

@media (min-width: 993px) {

    .mobile-only {

        display: none !important;

    }

}



@media (max-width: 992px) {

    .desktop-only {

        display: none !important;

    }

    .mobile-only {

        display: block;

    }



    /* Mobile Header */

    .navbar-inner {

        height: 76px;

    }

    .navbar.scrolled .navbar-inner {

        height: 70px;

    }

    .brand-logo-container {

        padding: 4px 10px;

        border-radius: 7px;

    }

    .brand-logo-img,

    .khal-animated-logo {

        height: 38px;

    }

    .page-header-banner {

        padding: 110px 0 50px;

    }

    .mobile-menu-trigger {

        background: transparent;

        border: none;

        color: var(--khal-navy);

        font-size: 1.5rem;

        cursor: pointer;

        padding: 6px;

        display: flex;

        align-items: center;

    }



    /* Hero Section Mobile */

    .hero-section {

        padding: 108px 0 64px;

    }

    .hero-section h1,

    .hero-title {

        min-height: 2.7em;

        margin-bottom: 10px;

    }

    .hero-grid {

        grid-template-columns: 1fr;

        gap: 32px;

    }

    .hero-content h1 {

        font-size: 1.95rem;

    }

    .hero-subtitle {

        font-size: 0.95rem;

    }

    .hero-cta-group {

        flex-direction: column;

        width: 100%;

    }

    .hero-cta-group .btn {

        width: 100%;

    }

    .hero-highlights {

        display: grid;

        grid-template-columns: repeat(3, 1fr);

        gap: 10px;

        text-align: center;

    }



    /* Mobile Category Pills Slider */

    .filter-tabs {

        flex-wrap: nowrap;

        overflow-x: auto;

        justify-content: flex-start;

        padding-bottom: 10px;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;

    }

    .filter-tabs::-webkit-scrollbar {

        display: none;

    }

    .tab-btn {

        white-space: nowrap;

        padding: 7px 16px;

        font-size: 0.82rem;

    }



    /* Footer Mobile */

    .footer-grid {

        grid-template-columns: 1fr;

        gap: 26px;

    }

    .footer-logo {

        height: 48px;

        margin-bottom: 14px;

    }

    .footer-bottom {

        flex-direction: column;

        gap: 10px;

        text-align: center;

    }



    /* Mobile Offcanvas Drawer */

    .mobile-drawer {

        position: fixed;

        top: 0; right: -100%;

        width: 82vw;

        max-width: 340px;

        height: 100vh;

        background: #FFFFFF;

        z-index: 99999;

        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);

        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);

        display: flex;

        flex-direction: column;

        padding: 24px;

    }

    .mobile-drawer.open {

        right: 0;

    }

    .drawer-overlay {

        position: fixed;

        top: 0; left: 0;

        width: 100vw; height: 100vh;

        background: rgba(15, 41, 77, 0.6);

        backdrop-filter: blur(4px);

        z-index: 99998;

        opacity: 0;

        pointer-events: none;

        transition: opacity 0.3s;

    }

    .drawer-overlay.open {

        opacity: 1;

        pointer-events: auto;

    }



    .drawer-header {

        display: flex;

        justify-content: space-between;

        align-items: center;

        padding-bottom: 16px;

        border-bottom: 1px solid var(--border-light);

        margin-bottom: 16px;

    }

    .drawer-close {

        background: none;

        border: none;

        font-size: 1.5rem;

        color: var(--khal-navy);

        cursor: pointer;

    }



    .drawer-nav-list {

        list-style: none;

        display: flex;

        flex-direction: column;

        gap: 10px;

    }

    .drawer-nav-link {

        display: flex;

        align-items: center;

        gap: 10px;

        padding: 10px 12px;

        color: var(--khal-navy);

        text-decoration: none;

        font-weight: 600;

        font-size: 0.98rem;

        border-radius: var(--radius-sm);

        transition: var(--transition);

    }

    .drawer-nav-link:hover, .drawer-nav-link.active {

        background: var(--khal-blue-soft);

        color: var(--khal-pulse);

    }

    .drawer-nav-link.active {

        font-weight: 700;

        border-left: 3px solid var(--khal-pulse);

    }



    /* Sticky Bottom Dock */

    .mobile-bottom-dock {

        position: fixed;

        bottom: 0; left: 0; width: 100%;

        background: rgba(255, 255, 255, 0.96);

        backdrop-filter: blur(16px);

        border-top: 1px solid var(--border-light);

        display: flex;

        justify-content: space-around;

        align-items: center;

        padding: 6px 8px calc(6px + env(safe-area-inset-bottom));

        z-index: 99990;

        box-shadow: 0 -4px 16px rgba(15, 41, 77, 0.08);

    }

    .dock-item {

        display: flex;

        flex-direction: column;

        align-items: center;

        text-decoration: none;

        color: #64748B;

        font-size: 0.68rem;

        font-weight: 600;

        white-space: nowrap;

        gap: 3px;

        padding: 4px 4px;

        border-radius: var(--radius-sm);

        transition: var(--transition);

    }

    .dock-item svg {

        width: 20px;

        height: 20px;

        stroke: currentColor;

        transition: transform 0.2s, stroke-width 0.2s;

    }

    .dock-item.active {

        color: var(--khal-pulse) !important;

        font-weight: 700;

    }

    .dock-item.active svg {

        stroke: var(--khal-pulse) !important;

        stroke-width: 2.6;

        transform: translateY(-2px) scale(1.1);

    }

    .dock-item.highlight-wa {

        color: #25D366;

    }



    .floating-whatsapp-btn {

        bottom: 88px;

        left: 12px;

        width: 44px;

        height: 44px;

    }

    .floating-whatsapp-btn svg {

        width: 24px;

        height: 24px;

    }



    .floating-top-btn {

        bottom: 88px;

        right: 12px;

        width: 44px;

        height: 44px;

    }

    .floating-top-btn svg {

        width: 22px;

        height: 22px;

    }

    .footer-bottom {

        padding: 20px 0 0;

    }

    

    body {

        padding-bottom: 66px;

    }

}



/* ==========================================================================

   YOUTUBE & RICH MEDIA EMBED ENHANCEMENTS

   ========================================================================== */

.gallery-video-badge {

    position: absolute;

    top: 12px;

    right: 12px;

    background: rgba(220, 38, 38, 0.92);

    color: #FFFFFF;

    font-size: 0.72rem;

    font-weight: 700;

    padding: 4px 10px;

    border-radius: var(--radius-full);

    display: inline-flex;

    align-items: center;

    gap: 5px;

    z-index: 3;

    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);

    letter-spacing: 0.3px;

}

.gallery-play-btn {

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    width: 52px;

    height: 52px;

    background: rgba(0, 173, 239, 0.9);

    border: 3px solid #FFFFFF;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #FFFFFF;

    cursor: pointer;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);

    transition: var(--transition);

    z-index: 2;

}

.gallery-card:hover .gallery-play-btn,

.product-card:hover .gallery-play-btn {

    transform: translate(-50%, -50%) scale(1.15);

    background: var(--khal-blue);

}

.video-responsive-wrap {

    position: relative;

    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */

    height: 0;

    overflow: hidden;

    border-radius: 12px;

    background: #000000;

    box-shadow: var(--shadow-md);

    margin-bottom: 16px;

}

.video-responsive-wrap iframe {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    border: 0;

}

.preview-summary-badge {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 6px 14px;

    background: rgba(0, 173, 239, 0.12);

    border: 1px solid rgba(0, 173, 239, 0.3);

    color: var(--khal-navy);

    border-radius: 20px;

    font-size: 0.8rem;

    font-weight: 600;

}



/* Technical Specification Table & Datasheet Modal Enhancements */

#detailFullSpecsTable tr:hover {

    background-color: #EDF6FF !important;

    transition: background-color 0.2s ease;

}

#detailFullSpecsTable td {

    vertical-align: top;

    line-height: 1.5;

}

@media (max-width: 640px) {

    #detailFullSpecsTable th,

    #detailFullSpecsTable td {

        padding: 8px 10px !important;

        font-size: 0.8rem !important;

    }

}



/* ==========================================================================

   OPTION 2: INTERACTIVE CASE STUDY CARDS (IOH CSR INSPIRED)

   ========================================================================== */

.case-study-card {

    display: flex;

    flex-direction: column;

    height: 100%;

    background: #FFFFFF;

    border-radius: 16px;

    border: 1px solid rgba(203, 213, 225, 0.7);

    box-shadow: 0 4px 18px rgba(15, 41, 77, 0.06);

    overflow: hidden;

    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;

}

.case-study-card:hover {

    transform: translateY(-6px);

    box-shadow: 0 16px 36px rgba(15, 41, 77, 0.12);

    border-color: rgba(0, 173, 239, 0.5);

}

.gallery-img-top-badges {

    position: absolute;

    top: 14px;

    left: 14px;

    right: 14px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 8px;

    z-index: 3;

    pointer-events: none;

}

.gallery-media-pill {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 5px 11px;

    border-radius: 20px;

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 0.5px;

    text-transform: uppercase;

    backdrop-filter: blur(8px);

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);

}

.gallery-media-pill.media-video {

    background: rgba(220, 38, 38, 0.92);

    color: #FFFFFF;

    border: 1px solid rgba(254, 202, 202, 0.4);

}

.gallery-media-pill.media-photo {

    background: rgba(15, 41, 77, 0.88);

    color: #FFFFFF;

    border: 1px solid rgba(255, 255, 255, 0.25);

}

.media-dot-pulse {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: #FFFFFF;

    display: inline-block;

    animation: videoPulse 1.5s infinite;

}

@keyframes videoPulse {

    0% { transform: scale(0.9); opacity: 1; }

    50% { transform: scale(1.4); opacity: 0.6; }

    100% { transform: scale(0.9); opacity: 1; }

}

.gallery-sector-pill {

    display: inline-flex;

    align-items: center;

    padding: 4px 10px;

    border-radius: 16px;

    font-size: 0.72rem;

    font-weight: 700;

    background: rgba(255, 255, 255, 0.92);

    color: var(--khal-navy);

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);

    backdrop-filter: blur(4px);

}

.gallery-header-row {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 8px;

    margin-bottom: 8px;

    flex-wrap: wrap;

}

.gallery-client {

    font-size: 0.78rem;

    font-weight: 700;

    color: var(--khal-blue);

    text-transform: uppercase;

    letter-spacing: 0.5px;

}

.gallery-loc-mini {

    font-size: 0.75rem;

    color: #64748B;

    font-weight: 600;

}

.gallery-principal-pill {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    background: #F1F6FC;

    border: 1px solid rgba(0, 173, 239, 0.25);

    border-left: 3px solid var(--khal-blue);

    padding: 4px 10px;

    border-radius: 6px;

    margin-bottom: 10px;

    font-size: 0.75rem;

}

.gallery-principal-pill .principal-label {

    font-size: 0.68rem;

    font-weight: 800;

    color: #64748B;

    letter-spacing: 0.5px;

}

.gallery-principal-pill .principal-name {

    font-weight: 700;

    color: var(--khal-navy);

}

.gallery-specs-strip {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 8px;

    background: #F8FAFC;

    border: 1px solid #E2E8F0;

    border-radius: 8px;

    padding: 10px 12px;

    margin: 14px 0 16px;

}

.gallery-spec-col {

    display: flex;

    flex-direction: column;

}

.gallery-spec-col .spec-label {

    font-size: 0.65rem;

    font-weight: 800;

    color: #64748B;

    letter-spacing: 0.5px;

    text-transform: uppercase;

    margin-bottom: 2px;

}

.gallery-spec-col .spec-val {

    font-size: 0.78rem;

    font-weight: 700;

    color: var(--khal-navy);

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}

.gallery-spec-col .status-verified {

    color: #059669;

}

.gallery-card-action {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: auto;

    padding-top: 12px;

    border-top: 1px solid #F1F5F9;

    color: var(--khal-blue);

    font-size: 0.82rem;

    font-weight: 700;

    transition: color 0.2s ease, transform 0.2s ease;

}

.case-study-card:hover .gallery-card-action {

    color: #007BB5;

}

.case-study-card:hover .gallery-cta-arrow {

    transform: translateX(4px);

}

.gallery-cta-arrow {

    transition: transform 0.2s ease;

    font-size: 1.1rem;

    line-height: 1;

}



/* ==========================================================================

   INSTAGRAM CONNECT SECTION

   ========================================================================== */

.instagram-section {

    background: #FFFFFF;

    padding: 85px 0 95px;

    border-top: 1px solid #E2E8F0;

    position: relative;

    overflow: hidden;

}

.instagram-header-wrap {

    text-align: center;

    max-width: 740px;

    margin: 0 auto 40px;

}

.instagram-badge-pill {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: linear-gradient(135deg, rgba(240, 148, 51, 0.12), rgba(220, 39, 67, 0.12));

    border: 1px solid rgba(220, 39, 67, 0.3);

    color: #C13584;

    padding: 6px 16px;

    border-radius: 20px;

    font-size: 0.78rem;

    font-weight: 800;

    letter-spacing: 0.8px;

    margin-bottom: 14px;

}

.instagram-badge-pill svg {

    color: #E1306C;

}



/* Profile Banner Card */

.instagram-profile-card {

    background: linear-gradient(135deg, #0F294D 0%, #173866 100%);

    border-radius: 20px;

    padding: 30px 36px;

    color: #FFFFFF;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 28px;

    box-shadow: 0 15px 40px rgba(15, 41, 77, 0.18);

    margin-bottom: 40px;

    border: 1px solid rgba(255, 255, 255, 0.1);

    position: relative;

}

.instagram-profile-card::after {

    content: '';

    position: absolute;

    top: -50%;

    right: -20%;

    width: 380px;

    height: 380px;

    background: radial-gradient(circle, rgba(225, 48, 108, 0.22) 0%, rgba(240, 148, 51, 0.08) 50%, transparent 70%);

    pointer-events: none;

}

.instagram-profile-left {

    display: flex;

    align-items: center;

    gap: 22px;

    flex: 1;

}

.instagram-avatar-ring {

    width: 82px;

    height: 82px;

    border-radius: 50%;

    padding: 3px;

    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    box-shadow: 0 4px 14px rgba(225, 48, 108, 0.35);

}

.instagram-avatar-img {

    width: 100%;

    height: 100%;

    border-radius: 50%;

    background: #FFFFFF;

    object-fit: contain;

    padding: 8px;

    border: 2px solid #FFFFFF;

}

.instagram-profile-meta {

    flex: 1;

}

.instagram-handle-wrap {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 4px;

}

.instagram-handle {

    font-size: 1.15rem;

    font-weight: 800;

    color: #FFFFFF;

    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

    letter-spacing: 0.3px;

}

.instagram-verified {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 18px;

    height: 18px;

    background: #00ADEF;

    color: #FFFFFF;

    border-radius: 50%;

    font-size: 0.72rem;

    font-weight: 900;

}

.instagram-display-name {

    font-size: 0.96rem;

    color: #93C5FD;

    font-weight: 600;

    margin-bottom: 6px;

}

.instagram-bio {

    font-size: 0.85rem;

    color: #E2E8F0;

    line-height: 1.5;

    margin-bottom: 8px;

}

.instagram-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

}

.instagram-tags span {

    font-size: 0.74rem;

    color: #BAE6FD;

    background: rgba(255, 255, 255, 0.1);

    padding: 2px 8px;

    border-radius: 4px;

}

.instagram-profile-right {

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 16px;

    flex-shrink: 0;

}

.instagram-stats-box {

    display: flex;

    align-items: center;

    gap: 16px;

    background: rgba(255, 255, 255, 0.08);

    padding: 10px 18px;

    border-radius: 12px;

    border: 1px solid rgba(255, 255, 255, 0.12);

}

.ig-stat {

    text-align: center;

}

.ig-stat strong {

    display: block;

    font-size: 1.1rem;

    font-weight: 800;

    color: #FFFFFF;

    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

}

.ig-stat span {

    font-size: 0.72rem;

    color: #CBD5E1;

}

.ig-stat-divider {

    width: 1px;

    height: 24px;

    background: rgba(255, 255, 255, 0.2);

}

.btn-instagram {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 12px 24px;

    border-radius: 30px;

    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);

    color: #FFFFFF;

    text-decoration: none;

    font-weight: 700;

    font-size: 0.9rem;

    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.35);

    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;

}

.btn-instagram:hover {

    transform: translateY(-2px);

    box-shadow: 0 10px 25px rgba(220, 39, 67, 0.45);

    filter: brightness(1.08);

    color: #FFFFFF;

}



/* 6-Item Grid */

.instagram-feed-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

}

.instagram-post-card {

    position: relative;

    border-radius: 14px;

    overflow: hidden;

    background: #0F172A;

    aspect-ratio: 1 / 1;

    display: block;

    text-decoration: none;

    box-shadow: 0 4px 16px rgba(15, 41, 77, 0.08);

    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.instagram-post-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 12px 28px rgba(15, 41, 77, 0.18);

}

.instagram-post-card img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;

}

.instagram-post-card:hover img {

    transform: scale(1.08);

}

.ig-type-badge {

    position: absolute;

    top: 12px;

    right: 12px;

    background: rgba(15, 23, 42, 0.85);

    backdrop-filter: blur(6px);

    color: #FFFFFF;

    padding: 4px 9px;

    border-radius: 6px;

    font-size: 0.68rem;

    font-weight: 800;

    display: flex;

    align-items: center;

    gap: 4px;

    z-index: 2;

    border: 1px solid rgba(255, 255, 255, 0.2);

}

.ig-reel-icon {

    color: #EF4444;

    font-size: 0.68rem;

}

.instagram-overlay {

    position: absolute;

    inset: 0;

    background: linear-gradient(to top, rgba(15, 41, 77, 0.95) 0%, rgba(15, 41, 77, 0.6) 50%, rgba(15, 41, 77, 0.2) 100%);

    opacity: 0;

    transition: opacity 0.3s ease;

    display: flex;

    align-items: flex-end;

    padding: 18px;

    z-index: 3;

}

.instagram-post-card:hover .instagram-overlay {

    opacity: 1;

}

.ig-overlay-content {

    color: #FFFFFF;

    width: 100%;

}

.ig-post-date {

    display: inline-block;

    font-size: 0.68rem;

    font-weight: 800;

    color: #38BDF8;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    margin-bottom: 4px;

}

.ig-caption {

    font-size: 0.82rem;

    color: #F1F5F9;

    line-height: 1.4;

    margin: 0 0 10px;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

}

.ig-interactions {

    display: flex;

    align-items: center;

    gap: 14px;

    font-size: 0.82rem;

    font-weight: 700;

    color: #FFFFFF;

    border-top: 1px solid rgba(255, 255, 255, 0.2);

    padding-top: 8px;

}



/* Bottom Follow Link */

.instagram-bottom-cta {

    text-align: center;

    margin-top: 36px;

    font-size: 0.92rem;

    color: #64748B;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    flex-wrap: wrap;

}

.instagram-text-link {

    color: #E1306C;

    font-weight: 700;

    text-decoration: none;

    transition: color 0.2s ease, text-decoration 0.2s ease;

}

.instagram-text-link:hover {

    color: #C13584;

    text-decoration: underline;

}



/* Responsive adjustments */

@media (max-width: 991px) {

    .instagram-profile-card {

        flex-direction: column;

        align-items: flex-start;

        padding: 24px;

    }

    .instagram-profile-right {

        align-items: flex-start;

        width: 100%;

    }

    .instagram-stats-box {

        width: 100%;

        justify-content: space-around;

    }

    .btn-instagram {

        width: 100%;

        justify-content: center;

    }

    .instagram-feed-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 16px;

    }

}

@media (max-width: 640px) {

    .instagram-section {

        padding: 60px 0 70px;

    }

    .instagram-profile-left {

        flex-direction: column;

        align-items: center;

        text-align: center;

        width: 100%;

    }

    .instagram-handle-wrap {

        justify-content: center;

    }

    .instagram-tags {

        justify-content: center;

    }

    .instagram-feed-grid {

        grid-template-columns: 1fr;

        gap: 14px;

    }

}



/* ==========================================================================

   CLIENT LOGOS INFINITE MARQUEE SECTION (ABOUT US)

   ========================================================================== */

.clients-section {

    background: #FFFFFF;

    padding: 70px 0 85px;

    border-top: 1px solid #E2E8F0;

    overflow: hidden;

    position: relative;

}

.clients-marquee-wrapper {

    position: relative;

    width: 100%;

    overflow: hidden;

    padding: 44px 0; /* Ensures 35% zoom-in (scale 1.35) never clips with enlarged 25% cards */

    margin-top: 10px;

}

.clients-marquee-wrapper::before,

.clients-marquee-wrapper::after {

    content: '';

    position: absolute;

    top: 0;

    bottom: 0;

    width: 44px;

    z-index: 5;

    pointer-events: none;

}

.clients-marquee-wrapper::before {

    left: 0;

    background: linear-gradient(to right, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);

}

.clients-marquee-wrapper::after {

    right: 0;

    background: linear-gradient(to left, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);

}



.clients-marquee-track {

    display: flex;

    width: max-content;

    animation: marqueeLeftToRight 42s linear infinite;

    will-change: transform;

}



.clients-marquee-track:hover {

    animation-play-state: paused;

}



@keyframes marqueeLeftToRight {

    0% {

        transform: translateX(-50%);

    }

    100% {

        transform: translateX(0%);

    }

}



.clients-marquee-group {

    display: flex;

    align-items: center;

    gap: 24px;

    padding-right: 24px;

    flex-shrink: 0;

}



.client-logo-card {

    background: #FFFFFF;

    border: 1.5px solid #E2E8F0;

    border-radius: 14px;

    padding: 14px 24px;

    height: 114px;

    min-width: 235px;

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow: 0 4px 14px rgba(15, 41, 77, 0.05);

    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;

    cursor: pointer;

    position: relative;

    user-select: none;

    transform-origin: center center;

}



.client-logo-card:hover {

    transform: scale(1.35); /* Zoom in 35% on hover */

    z-index: 25;

    box-shadow: 0 18px 40px rgba(15, 41, 77, 0.22);

    border-color: var(--khal-blue);

    background: #FFFFFF;

}



.client-logo-card img {

    max-height: 78px;

    max-width: 250px;

    width: auto;

    height: auto;

    object-fit: contain;

    image-rendering: -webkit-optimize-contrast;

    transition: filter 0.2s ease;

}



@media (max-width: 768px) {

    .clients-section {

        padding: 50px 0 65px;

    }

    .clients-marquee-wrapper::before,

    .clients-marquee-wrapper::after {

        width: 22px;

    }

    .client-logo-card {

        height: 90px; /* Enlarged by 25% from 72px */

        min-width: 188px; /* Enlarged by 25% from 150px */

        padding: 12px 20px;

    }

    .client-logo-card img {

        max-height: 55px; /* Enlarged by 25% from 44px */

        max-width: 150px; /* Enlarged by 25% from 120px */

    }

    .client-logo-card:hover {

        transform: scale(1.25);

    }

}





/* ==========================================================================

   BRAND-CENTRIC PRODUCT CATALOG ARCHITECTURE

   ========================================================================== */

/* Brand Logo Showcase Grid (Opening Section) */

.brand-showcase-section {

    margin-bottom: 28px;

}



.brand-showcase-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));

    gap: 16px;

}



.brand-logo-card {

    background: #FFFFFF;

    border: 1.5px solid #E2E8F0;

    border-radius: 16px;

    padding: 16px 18px;

    cursor: pointer;

    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);

    box-shadow: 0 3px 10px rgba(15, 41, 77, 0.04);

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    position: relative;

    user-select: none;

    overflow: hidden;

    outline: none;

}



.brand-logo-card:hover {

    transform: translateY(-4px);

    border-color: #00ADEF;

    box-shadow: 0 10px 25px rgba(0, 101, 179, 0.12);

}



.brand-logo-card.active {

    background: linear-gradient(180deg, #F0F7FF 0%, #FFFFFF 100%);

    border: 2px solid #0065B3;

    box-shadow: 0 10px 26px rgba(0, 101, 179, 0.22);

    transform: translateY(-4px);

}



.brand-logo-card.active::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 4px;

    background: linear-gradient(135deg, #004B87 0%, #00ADEF 100%);

}



.brand-card-top {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 8px;

    margin-bottom: 12px;

}



.brand-card-country {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    font-size: 0.76rem;

    font-weight: 700;

    color: #475569;

}



.brand-card-flag {

    font-size: 1.15rem;

    line-height: 1;

}



.brand-card-country-name {

    letter-spacing: -0.2px;

}



.brand-card-tier {

    font-size: 0.68rem;

    font-weight: 800;

    text-transform: uppercase;

    padding: 3px 8px;

    border-radius: 999px;

    letter-spacing: 0.3px;

    white-space: nowrap;

}



.brand-card-tier.tier-exclusive {

    background: #FEF3C7;

    color: #B45309;

    border: 1px solid #FDE68A;

}



.brand-card-tier.tier-distributor {

    background: #EFF6FF;

    color: #1D4ED8;

    border: 1px solid #BFDBFE;

}



.brand-card-tier.tier-general-lab {

    background: #ECFDF5;

    color: #047857;

    border: 1px solid #A7F3D0;

}



.brand-card-tier.tier-all {

    background: #F1F5F9;

    color: #334155;

    border: 1px solid #CBD5E1;

}



.brand-card-logo-wrap {

    height: 64px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 6px 12px;

    margin-bottom: 12px;

    background: #FAFCFF;

    border-radius: 10px;

    border: 1px solid #F1F5F9;

    transition: background 0.25s ease;

}



.brand-logo-card:hover .brand-card-logo-wrap,

.brand-logo-card.active .brand-card-logo-wrap {

    background: #FFFFFF;

    border-color: #E2E8F0;

}



.brand-card-logo-img {

    max-height: 44px;

    max-width: 170px;

    object-fit: contain;

    transition: transform 0.25s ease;

}



.brand-logo-card:hover .brand-card-logo-img {

    transform: scale(1.05);

}



.brand-card-all-icons {

    display: flex;

    align-items: center;

    gap: 6px;

    font-size: 1.35rem;

    line-height: 1;

}



.brand-card-bottom {

    display: flex;

    flex-direction: column;

    gap: 6px;

}



.brand-card-title {

    font-size: 0.95rem;

    font-weight: 800;

    color: var(--khal-navy);

    letter-spacing: -0.3px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}



.brand-card-meta {

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-size: 0.76rem;

}



.brand-card-count {

    color: #64748B;

    font-weight: 600;

    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

}



.brand-card-action {

    color: #0065B3;

    font-weight: 700;

    display: inline-flex;

    align-items: center;

    gap: 4px;

    transition: color 0.2s ease;

}



.brand-logo-card.active .brand-card-action {

    color: #047857;

    font-weight: 800;

}



.brand-logo-card:hover .brand-card-action {

    color: #00ADEF;

}



@media (max-width: 768px) {

    .brand-showcase-grid {

        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));

        gap: 10px;

    }

    .brand-card-logo-wrap {

        height: 52px;

    }

    .brand-card-logo-img {

        max-height: 36px;

    }

}



/* Fallback / secondary tabs */

.brand-filter-tabs {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

}



.brand-tab-btn {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    background: #FFFFFF;

    border: 1.5px solid #E2E8F0;

    border-radius: 14px;

    padding: 10px 18px;

    cursor: pointer;

    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

    box-shadow: 0 2px 8px rgba(15, 41, 77, 0.04);

    user-select: none;

    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

    color: #1E293B;

}



.brand-tab-btn:hover {

    transform: translateY(-2px);

    border-color: #00ADEF;

    box-shadow: 0 6px 18px rgba(0, 173, 239, 0.15);

}



.brand-tab-btn.active {

    background: linear-gradient(135deg, #004B87 0%, #0065B3 100%);

    border-color: #00ADEF;

    color: #FFFFFF;

    box-shadow: 0 8px 22px rgba(0, 101, 179, 0.3);

    transform: translateY(-2px);

}



.brand-tab-btn.active .brand-count-chip {

    background: rgba(255, 255, 255, 0.25);

    color: #FFFFFF;

    border-color: rgba(255, 255, 255, 0.35);

}



.brand-tab-btn.active .brand-tab-tier-tag {

    background: rgba(255, 255, 255, 0.2);

    color: #FFFFFF;

}



.brand-tab-name {

    font-weight: 800;

    font-size: 0.92rem;

    letter-spacing: -0.2px;

}



.brand-tab-tier-tag {

    font-size: 0.70rem;

    font-weight: 700;

    text-transform: uppercase;

    padding: 2px 8px;

    border-radius: 999px;

    letter-spacing: 0.4px;

}



.tier-exclusive {

    background: #FEF3C7;

    color: #B45309;

    border: 1px solid #FDE68A;

}



.tier-distributor {

    background: #EFF6FF;

    color: #1D4ED8;

    border: 1px solid #BFDBFE;

}



.tier-general-lab {

    background: #ECFDF5;

    color: #047857;

    border: 1px solid #A7F3D0;

}



.brand-count-chip {

    background: #F1F5F9;

    color: #64748B;

    font-size: 0.75rem;

    font-weight: 700;

    padding: 2px 8px;

    border-radius: 12px;

    border: 1px solid #E2E8F0;

    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

}



/* Brand Spotlight Banner */

.brand-spotlight-card {

    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);

    border: 1.5px solid #BAE6FD;

    border-radius: 18px;

    padding: 24px 28px;

    box-shadow: 0 10px 30px rgba(0, 101, 179, 0.08);

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 20px;

    position: relative;

    overflow: hidden;

}



.brand-spotlight-card::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 4px;

    background: linear-gradient(90deg, #0065B3, #00ADEF, #10B981);

}



.brand-spotlight-card.exclusive::before {

    background: linear-gradient(90deg, #F59E0B, #FBBF24, #00ADEF);

}



.brand-spotlight-left {

    display: flex;

    align-items: center;

    gap: 20px;

    flex: 1;

    min-width: 320px;

}



.brand-spotlight-logo-box {

    width: 140px;

    height: 60px;

    background: #FFFFFF;

    border: 1px solid #E2E8F0;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 8px 12px;

    box-shadow: 0 2px 8px rgba(0,0,0,0.04);

}



.brand-spotlight-logo-box img {

    max-height: 44px;

    max-width: 100%;

    object-fit: contain;

}



.brand-spotlight-info h3 {

    font-size: 1.25rem;

    font-weight: 800;

    color: var(--khal-navy);

    margin: 0 0 4px;

    display: flex;

    align-items: center;

    gap: 8px;

}



.brand-spotlight-info p {

    font-size: 0.88rem;

    color: #475569;

    margin: 0;

    line-height: 1.55;

    max-width: 640px;

}



.brand-spotlight-actions {

    display: flex;

    align-items: center;

    gap: 10px;

    flex-wrap: wrap;

}



/* Product Card Brand Header Strip */

.product-card-brand-stripe {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 10px 16px;

    background: #F8FAFC;

    border-bottom: 1px solid #E2E8F0;

}



.product-card-brand-name {

    font-size: 0.82rem;

    font-weight: 800;

    color: #0F294D;

    display: flex;

    align-items: center;

    gap: 6px;

}



.product-card-brand-tier {

    font-size: 0.68rem;

    font-weight: 700;

    text-transform: uppercase;

    padding: 2px 7px;

    border-radius: 4px;

    letter-spacing: 0.4px;

    white-space: nowrap;

    flex-shrink: 0;

}



/* ==========================================================================

   GUIDED INDUSTRY / LAB APPLICATION SOLUTION FINDER (SMART CATALOG V2.5)

   ========================================================================== */

.industry-guided-section {

    background: linear-gradient(135deg, #FFFFFF 0%, #F4F9FF 100%);

    border: 1.5px solid #CFE4FA;

    border-radius: 18px;

    padding: 22px 24px;

    margin-bottom: 28px;

    box-shadow: 0 8px 24px rgba(15, 41, 77, 0.05);

    position: relative;

}



.industry-guided-header {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    flex-wrap: wrap;

    gap: 14px;

    margin-bottom: 18px;

}



.industry-guided-badge {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    background: #E0F2FE;

    color: #0369A1;

    border: 1px solid #BAE6FD;

    font-size: 0.72rem;

    font-weight: 800;

    padding: 3px 10px;

    border-radius: 999px;

    letter-spacing: 0.6px;

    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

    margin-bottom: 6px;

}



.industry-guided-title {

    font-size: 1.12rem;

    font-weight: 800;

    color: var(--khal-navy);

    margin: 0 0 4px;

    letter-spacing: -0.2px;

}



.industry-guided-subtitle {

    font-size: 0.84rem;

    color: #475569;

    margin: 0;

    max-width: 720px;

    line-height: 1.45;

}



.industry-guided-status {

    background: #FFFFFF;

    border: 1px solid #CBD5E1;

    border-radius: 12px;

    padding: 8px 14px;

    font-size: 0.8rem;

    color: #334155;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    box-shadow: 0 2px 6px rgba(15, 41, 77, 0.04);

}



.industry-reset-mini-btn {

    background: #FEE2E2;

    color: #B91C1C;

    border: 1px solid #FECACA;

    border-radius: 8px;

    padding: 2px 8px;

    font-size: 0.74rem;

    font-weight: 700;

    cursor: pointer;

    transition: background 0.2s ease;

}



.industry-reset-mini-btn:hover {

    background: #FECACA;

}



.industry-filter-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));

    gap: 12px;

}



.industry-pill-card {

    display: flex;

    align-items: center;

    gap: 12px;

    background: #FFFFFF;

    border: 1.5px solid #E2E8F0;

    border-radius: 14px;

    padding: 12px 15px;

    cursor: pointer;

    text-align: left;

    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

    box-shadow: 0 2px 8px rgba(15, 41, 77, 0.03);

    font-family: inherit;

}



.industry-pill-card:hover {

    transform: translateY(-3px);

    border-color: #00ADEF;

    box-shadow: 0 8px 20px rgba(0, 101, 179, 0.12);

}



.industry-pill-card.active {

    background: linear-gradient(135deg, #0F294D 0%, #004B87 100%);

    border-color: #00ADEF;

    color: #FFFFFF;

    box-shadow: 0 10px 24px rgba(15, 41, 77, 0.24);

    transform: translateY(-3px);

}



.industry-pill-icon {

    font-size: 1.55rem;

    line-height: 1;

    width: 40px;

    height: 40px;

    border-radius: 10px;

    background: #F1F5F9;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    transition: background 0.25s ease;

}



.industry-pill-card.active .industry-pill-icon {

    background: rgba(255, 255, 255, 0.16);

}



.industry-pill-text {

    display: flex;

    flex-direction: column;

    gap: 2px;

    overflow: hidden;

}



.industry-pill-name {

    font-size: 0.88rem;

    font-weight: 800;

    color: var(--khal-navy);

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}



.industry-pill-card.active .industry-pill-name {

    color: #FFFFFF;

}



.industry-pill-meta {

    font-size: 0.72rem;

    font-weight: 600;

    color: #64748B;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}



.industry-pill-card.active .industry-pill-meta {

    color: #BAE6FD;

}



/* Brand Logo Card Industry Recommendation Highlight */

.brand-logo-card.industry-recommended {

    border-color: #10B981;

    box-shadow: 0 8px 22px rgba(16, 185, 129, 0.14);

}



.brand-logo-card.industry-dimmed {

    opacity: 0.55;

}



.brand-logo-card.industry-dimmed:hover {

    opacity: 1;

}



.brand-industry-match-ribbon {

    background: linear-gradient(90deg, #059669 0%, #10B981 100%);

    color: #FFFFFF;

    font-size: 0.66rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.4px;

    padding: 3px 10px;

    border-radius: 6px;

    margin-bottom: 8px;

    display: inline-block;

    align-self: flex-start;

}



/* Industry Workflow Solution Banner */

.industry-workflow-banner {

    background: linear-gradient(135deg, #0F294D 0%, #163A6C 100%);

    border: 1.5px solid rgba(0, 173, 239, 0.45);

    border-radius: 18px;

    padding: 24px 26px;

    color: #FFFFFF;

    box-shadow: 0 14px 34px rgba(15, 41, 77, 0.2);

}



.industry-workflow-top {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    flex-wrap: wrap;

    gap: 16px;

    margin-bottom: 20px;

    padding-bottom: 16px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

}



.industry-workflow-pill-row {

    display: flex;

    align-items: center;

    gap: 10px;

    flex-wrap: wrap;

    margin-bottom: 8px;

}



.industry-workflow-badge {

    background: rgba(0, 173, 239, 0.2);

    border: 1px solid rgba(0, 173, 239, 0.5);

    color: #7DD3FC;

    font-size: 0.72rem;

    font-weight: 800;

    padding: 3px 10px;

    border-radius: 999px;

    letter-spacing: 0.5px;

    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

}



.industry-workflow-brands-count {

    background: rgba(16, 185, 129, 0.2);

    border: 1px solid rgba(16, 185, 129, 0.45);

    color: #6EE7B7;

    font-size: 0.72rem;

    font-weight: 700;

    padding: 3px 10px;

    border-radius: 999px;

}



.industry-workflow-heading h3 {

    font-size: 1.28rem;

    font-weight: 800;

    color: #FFFFFF;

    margin: 0 0 4px;

}



.industry-workflow-heading p {

    font-size: 0.88rem;

    color: #CBD5E1;

    margin: 0;

}



.industry-workflow-actions {

    display: flex;

    align-items: center;

    gap: 10px;

    flex-wrap: wrap;

}



.workflow-steps-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 14px;

}



.workflow-step-box {

    background: rgba(255, 255, 255, 0.07);

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 14px;

    padding: 16px 18px;

    cursor: pointer;

    transition: all 0.25s ease;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

}



.workflow-step-box:hover {

    background: rgba(255, 255, 255, 0.13);

    border-color: #00ADEF;

    transform: translateY(-3px);

}



.workflow-step-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 8px;

    margin-bottom: 8px;

}



.workflow-step-num {

    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

    font-size: 0.72rem;

    font-weight: 800;

    color: #38BDF8;

    background: rgba(56, 189, 248, 0.15);

    padding: 2px 8px;

    border-radius: 6px;

}



.workflow-step-brand {

    font-size: 0.74rem;

    font-weight: 700;

    color: #FDE68A;

}



.workflow-step-title {

    font-size: 0.95rem;

    font-weight: 800;

    color: #FFFFFF;

    margin: 0 0 6px;

}



.workflow-step-desc {

    font-size: 0.8rem;

    color: #CBD5E1;

    line-height: 1.45;

    margin: 0 0 10px;

}



.workflow-step-cta {

    font-size: 0.76rem;

    font-weight: 700;

    color: #38BDF8;

    margin-top: auto;

}



/* Product Card Industry Pills */

.product-industry-pills {

    display: flex;

    flex-wrap: wrap;

    gap: 5px;

    margin-bottom: 10px;

}



.product-industry-tag {

    font-size: 0.69rem;

    font-weight: 700;

    color: #0369A1;

    background: #F0F9FF;

    border: 1px solid #BAE6FD;

    padding: 2px 8px;

    border-radius: 999px;

    cursor: pointer;

    transition: all 0.2s ease;

}



.product-industry-tag:hover,

.product-industry-tag.active {

    background: #0284C7;

    color: #FFFFFF;

    border-color: #0284C7;

}



@media (max-width: 991px) {

    .workflow-steps-grid {

        grid-template-columns: 1fr;

    }

}





/* =========================================================================

   BRAND SOLUTION PILLAR CARDS (COTEC SURVEY STYLE ARCHITECTURE)

   ========================================================================= */



.catalog-view-switcher-bar {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 8px;

    background: #FFFFFF;

    border: 1.5px solid #BAE6FD;

    border-radius: 999px;

    padding: 6px;

    max-width: 660px;

    margin: 0 auto 36px;

    box-shadow: 0 6px 20px rgba(0, 101, 179, 0.06);

}



.catalog-view-tab {

    flex: 1;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 11px 20px;

    font-size: 0.88rem;

    font-weight: 700;

    border-radius: 999px;

    border: none;

    background: transparent;

    color: #475569;

    cursor: pointer;

    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

}



.catalog-view-tab:hover {

    color: var(--khal-navy);

    background: #F1F5F9;

}



.catalog-view-tab.active {

    background: var(--khal-navy);

    color: #FFFFFF;

    box-shadow: 0 4px 14px rgba(11, 25, 44, 0.25);

}



/* Brand Solution Pillars Grid (Responsive 2-column or 3-column) */

.brand-pillars-grid {

    display: flex;

    flex-direction: column;

    gap: 32px;

    margin-bottom: 44px;

}



/* Individual Brand Pillar Card */

.brand-pillar-card {

    background: #FFFFFF;

    border: 1.5px solid rgba(186, 230, 253, 0.75);

    border-radius: 22px;

    padding: 30px 26px;

    box-shadow: 0 6px 24px rgba(15, 41, 77, 0.05);

    display: flex;

    flex-direction: column;

    position: relative;

    overflow: hidden;

    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;

}



.brand-pillar-card::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 4px;

    background: linear-gradient(90deg, #0065B3, #00ADEF);

}



.brand-pillar-card.exclusive::before {

    background: linear-gradient(90deg, #D97706, #F59E0B, #00ADEF);

}



.brand-pillar-card:hover {

    transform: translateY(-6px);

    box-shadow: 0 18px 40px rgba(0, 101, 179, 0.12);

    border-color: #38BDF8;

}



/* Brand Header inside Card */

.brand-pillar-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;

    margin-bottom: 18px;

    padding-bottom: 16px;

    border-bottom: 1px solid #F1F5F9;

}



.brand-pillar-logo-box {

    width: 130px;

    height: 52px;

    background: #FFFFFF;

    border: 1px solid #E2E8F0;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 6px 10px;

    box-shadow: 0 2px 6px rgba(0,0,0,0.02);

}



.brand-pillar-logo-box img {

    max-width: 100%;

    max-height: 40px;

    object-fit: contain;

}



.brand-pillar-title-wrap {

    flex: 1;

    text-align: right;

}



.brand-pillar-country {

    font-size: 0.76rem;

    font-weight: 700;

    color: #64748B;

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 4px;

    margin-bottom: 4px;

}



.brand-pillar-badge {

    display: inline-block;

    font-size: 0.72rem;

    font-weight: 800;

    padding: 3px 9px;

    border-radius: 999px;

    letter-spacing: 0.4px;

}



.brand-pillar-badge.exclusive {

    background: #FEF3C7;

    color: #92400E;

    border: 1px solid #FDE68A;

}



.brand-pillar-badge.distributor {

    background: #EFF6FF;

    color: #1D4ED8;

    border: 1px solid #BFDBFE;

}



.brand-pillar-badge.turnkey {

    background: #ECFDF5;

    color: #065F46;

    border: 1px solid #A7F3D0;

}



/* Brand Title & Tagline */

.brand-pillar-name {

    font-size: 1.35rem;

    font-weight: 800;

    color: var(--khal-navy);

    margin: 0 0 4px;

    line-height: 1.25;

}



.brand-pillar-tagline {

    font-size: 0.82rem;

    font-weight: 700;

    color: #0284C7;

    text-transform: uppercase;

    letter-spacing: 0.6px;

    margin: 0 0 12px;

}



.brand-pillar-desc {

    font-size: 0.88rem;

    line-height: 1.65;

    color: #475569;

    margin: 0 0 18px;

}



/* Scope & Capability Bullet Points (Cotec Survey Style) */

.brand-pillar-scope {

    background: #F8FAFC;

    border: 1px solid #E2E8F0;

    border-radius: 14px;

    padding: 16px 18px;

    margin-bottom: 18px;

}



.brand-pillar-scope-title {

    font-size: 0.78rem;

    font-weight: 800;

    color: var(--khal-navy);

    text-transform: uppercase;

    letter-spacing: 0.6px;

    margin: 0 0 10px;

    display: flex;

    align-items: center;

    gap: 6px;

}



.brand-pillar-list {

    list-style: none;

    margin: 0;

    padding: 0;

    display: flex;

    flex-direction: column;

    gap: 9px;

    font-size: 0.84rem;

    color: #334155;

    line-height: 1.5;

}



.brand-pillar-list li {

    display: flex;

    align-items: flex-start;

    gap: 8px;

}



.brand-pillar-list li .check-icon {

    color: #00ADEF;

    font-weight: 800;

    font-size: 0.92rem;

    line-height: 1.2;

    flex-shrink: 0;

}



.brand-pillar-list li strong {

    color: #0F172A;

}



/* Industries / Application Tags */

.brand-pillar-sectors {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-bottom: 22px;

}



.brand-pillar-sector-tag {

    font-size: 0.72rem;

    font-weight: 700;

    color: #334E68;

    background: #F1F5F9;

    border: 1px solid #CBD5E1;

    padding: 3px 8px;

    border-radius: 6px;

}



/* Action Buttons Footer */

.brand-pillar-actions {

    margin-top: auto;

    display: flex;

    flex-direction: column;

    gap: 8px;

}



.brand-pillar-actions-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 8px;

}



@media (max-width: 767px) {

    .brand-pillars-grid {

        grid-template-columns: 1fr;

    }

    .catalog-view-switcher-bar {

        border-radius: 14px;

        flex-direction: column;

        padding: 6px;

    }

    .catalog-view-tab {

        width: 100%;

    }

    .brand-pillar-actions-row {

        grid-template-columns: 1fr;

    }

}





/* ==========================================================================

   COTEC SERVICES STYLE BRAND ARCHITECTURE (PRODUCTS.HTML)

   ========================================================================== */

.brand-cotec-card {

    background: #FFFFFF;

    border: 1px solid #E2E8F0;

    border-radius: 18px;

    padding: 30px;

    margin-bottom: 32px;

    display: grid;

    grid-template-columns: 310px 1fr;

    gap: 34px;

    align-items: stretch;

    box-shadow: 0 4px 20px rgba(15, 41, 77, 0.04);

    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;

}



.brand-cotec-card:hover {

    box-shadow: 0 14px 40px rgba(0, 101, 179, 0.1);

    border-color: #BAE6FD;

}



@media (max-width: 960px) {

    .brand-cotec-card {

        grid-template-columns: 1fr;

        padding: 24px;

        gap: 24px;

    }

}



.brand-cotec-media {
    position: relative;
    border-radius: 14px;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    padding: 24px 16px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 290px;
    overflow: hidden;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.02);
    transition: all 0.25s ease;
}



.brand-cotec-card:hover .brand-cotec-media {

    background: #FFFFFF;

    border-color: #BAE6FD;

    box-shadow: 0 6px 20px rgba(0, 101, 179, 0.08);

}



.brand-cotec-logo-img,

.brand-cotec-media img {

    max-width: 220px !important;

    max-height: 85px !important;

    width: auto !important;

    height: auto !important;

    object-fit: contain !important;

    display: block !important;

    margin: auto 0 !important;

    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);

    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.04));

}



.brand-cotec-card:hover .brand-cotec-logo-img,

.brand-cotec-card:hover .brand-cotec-media img {

    transform: scale(1.06);

}



/* Suppress any legacy cover images if stale HTML is loaded */

.brand-cotec-cover {

    display: none !important;

    width: 0 !important;

    height: 0 !important;

    visibility: hidden !important;

}



.brand-cotec-tier-badge {

    position: absolute;

    top: 12px;

    left: 12px;

    background: rgba(15, 41, 77, 0.90);

    color: #FFFFFF;

    font-size: 0.85rem; /* Matched with manufacturer country font-size */

    font-weight: 700;

    padding: 5px 13px;

    border-radius: 20px;

    letter-spacing: 0.2px;

    border: 1px solid rgba(255, 255, 255, 0.20);

    display: inline-flex;

    align-items: center;

    gap: 6px;

    z-index: 2;

}



.brand-cotec-tier-badge.exclusive {

    background: linear-gradient(135deg, #D97706, #F59E0B);

    border-color: rgba(253, 230, 138, 0.4);

    color: #FFFFFF;

    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25);

}



.brand-cotec-origin-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.80rem;
    font-weight: 700;
    color: #475569;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 20px;
    padding: 4px 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    margin-bottom: 16px;
}



.brand-cotec-card:hover .brand-cotec-origin-pill {

    background: #F1F6FC;

    color: #0065B3;

    border-color: #BAE6FD;

}



.brand-cotec-content {

    display: flex;

    flex-direction: column;

}



.brand-cotec-meta {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 10px;

    font-size: 0.85rem;

}



.brand-cotec-flag {

    font-weight: 700;

    color: var(--khal-navy, #0F294D);

    display: inline-flex;

    align-items: center;

    gap: 6px;

}



.brand-cotec-divider {

    color: #94A3B8;

}



.brand-cotec-tier-text {

    font-weight: 600;

    color: #0065B3;

}



.brand-cotec-title {

    font-size: 1.6rem;

    font-weight: 700;

    color: var(--khal-navy, #0F294D);

    margin: 0 0 12px;

    line-height: 1.3;

}



.brand-cotec-profile {

    font-size: 0.96rem;

    line-height: 1.65;

    color: #475569;

    margin: 0 0 24px;

}



.brand-cotec-devices-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
    border-top: 1px solid #E2E8F0;
    margin-bottom: 0;
}



@media (max-width: 640px) {

    .brand-cotec-devices-grid {

        grid-template-columns: 1fr;

    }

}



.brand-cotec-device-box {

    padding: 13px 0;

    border-bottom: 1px solid #E2E8F0;

    font-size: 0.92rem;

    font-weight: 600;

    color: #1E293B;

    display: flex;

    align-items: center;

    gap: 10px;

}



.brand-cotec-device-box::before {

    content: '';

    display: inline-block;

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: #0065B3;

    flex-shrink: 0;

}



.brand-cotec-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
    margin-top: auto;
}

.btn-cotec-primary {
    flex: 1;
    background: #1E3A8A;
    color: #FFFFFF !important;
    padding: 10px 8px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    border: none;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
    white-space: nowrap;
    text-align: center;
}

.btn-cotec-primary:hover {
    background: #0065B3;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 101, 179, 0.3);
}

.btn-cotec-outline {
    flex: 1;
    background: #FFFFFF;
    color: #1E3A8A !important;
    border: 1.5px solid #1E3A8A;
    padding: 9px 8px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    white-space: nowrap;
    text-align: center;
}

.btn-cotec-outline:hover {
    background: #F1F6FC;
    border-color: #0065B3;
    transform: translateY(-2px);
}



/* ==========================================================================

   BRAND DETAIL PAGE: 2-COLUMN FLASH CARDS GRID

   ========================================================================== */

.brand-flashcards-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 28px;

    margin-bottom: 48px;

}



@media (max-width: 820px) {

    .brand-flashcards-grid {

        grid-template-columns: 1fr;

        gap: 22px;

    }

}



.brand-flashcard {

    background: #FFFFFF;

    border: 1.5px solid #E2E8F0;

    border-radius: 18px;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    box-shadow: 0 6px 24px rgba(15, 41, 77, 0.05);

    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;

    position: relative;

}



.brand-flashcard:hover {

    transform: translateY(-5px);

    box-shadow: 0 16px 38px rgba(0, 101, 179, 0.12);

    border-color: #38BDF8;

}



.brand-flashcard-media {

    position: relative;

    width: 100%;

    height: 230px;

    background: #F8FAFC;

    overflow: hidden;

}



.brand-flashcard-img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.4s ease;

}



.brand-flashcard:hover .brand-flashcard-img {

    transform: scale(1.04);

}



.brand-flashcard-badge-left {

    position: absolute;

    top: 14px;

    left: 14px;

    background: #0065B3;

    color: #FFFFFF;

    font-size: 0.74rem;

    font-weight: 700;

    padding: 5px 12px;

    border-radius: 20px;

    box-shadow: 0 4px 10px rgba(0,0,0,0.15);

}



.brand-flashcard-badge-right {

    position: absolute;

    top: 14px;

    right: 14px;

    background: rgba(15, 41, 77, 0.85);

    backdrop-filter: blur(4px);

    color: #FFFFFF;

    font-size: 0.72rem;

    font-weight: 700;

    padding: 5px 12px;

    border-radius: 20px;

}



.brand-flashcard-body {

    padding: 24px 24px 20px;

    display: flex;

    flex-direction: column;

    flex: 1;

}



.brand-flashcard-subcat {

    font-size: 0.76rem;

    font-weight: 700;

    color: #0065B3;

    text-transform: uppercase;

    letter-spacing: 0.6px;

    margin-bottom: 6px;

}



.brand-flashcard-title {

    font-size: 1.25rem;

    font-weight: 700;

    color: var(--khal-navy, #0F294D);

    margin: 0 0 10px;

    line-height: 1.35;

}



.brand-flashcard-desc {

    font-size: 0.88rem;

    line-height: 1.55;

    color: #64748B;

    margin-bottom: 16px;

}



.brand-flashcard-specs-table {

    background: #F8FAFC;

    border: 1px solid #E2E8F0;

    border-radius: 10px;

    padding: 12px 14px;

    margin-bottom: 20px;

    display: flex;

    flex-direction: column;

    gap: 6px;

}



.brand-flashcard-spec-row {

    display: flex;

    justify-content: space-between;

    font-size: 0.82rem;

    padding-bottom: 4px;

    border-bottom: 1px dashed #E2E8F0;

}



.brand-flashcard-spec-row:last-child {

    border-bottom: none;

    padding-bottom: 0;

}



.brand-flashcard-spec-label {

    color: #64748B;

    font-weight: 500;

}



.brand-flashcard-spec-val {

    color: var(--khal-navy, #0F294D);

    font-weight: 700;

}



.brand-flashcard-actions {

    display: flex;

    gap: 10px;

    align-items: center;

    flex-wrap: wrap;

    margin-top: auto;

    padding-top: 14px;

    border-top: 1px solid #F1F5F9;

}



.btn-flashcard-spec {

    flex: 1;

    min-width: 140px;

    background: #0065B3;

    color: #FFFFFF !important;

    padding: 10px 14px;

    border-radius: 8px;

    font-size: 0.82rem;

    font-weight: 700;

    text-align: center;

    text-decoration: none;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    border: none;

    cursor: pointer;

    transition: background 0.2s, transform 0.2s;

}



.btn-flashcard-spec:hover {

    background: #004D8C;

    transform: translateY(-2px);

}



.btn-flashcard-doc {

    background: #F1F6FC;

    color: #0065B3 !important;

    border: 1px solid #BAE6FD;

    padding: 10px 12px;

    border-radius: 8px;

    font-size: 0.82rem;

    font-weight: 600;

    text-decoration: none;

    display: inline-flex;

    align-items: center;

    gap: 6px;

    cursor: pointer;

    transition: background 0.2s, border-color 0.2s;

}



.btn-flashcard-doc:hover {

    background: #E0F2FE;

    border-color: #38BDF8;

}



.btn-flashcard-rfq {

    background: #FEF9C3;

    color: #854D0E !important;

    border: 1px solid #FDE047;

    padding: 10px 14px;

    border-radius: 8px;

    font-size: 0.82rem;

    font-weight: 700;

    text-decoration: none;

    display: inline-flex;

    align-items: center;

    gap: 6px;

    transition: background 0.2s;

}



.btn-flashcard-rfq:hover {

    background: #FEF08A;

}



/* Brand Showcase Card - Logo Area Enhancement */
.brand-cotec-logo-wrap {
    width: 100%;
    max-width: 250px;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    margin: 30px 0 10px;
    transition: all 0.25s ease;
}

.brand-cotec-card:hover .brand-cotec-logo-wrap {
    border-color: #BAE6FD;
    box-shadow: 0 6px 18px rgba(0, 101, 179, 0.08);
}

.brand-cotec-tagline {
    font-size: 0.80rem;
    font-weight: 600;
    color: #334E68;
    text-align: center;
    line-height: 1.35;
    margin: 0 0 10px;
    max-width: 250px;
}

.brand-cotec-trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 12px;
}

.brand-trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.74rem;
    font-weight: 700;
    color: #0065B3;
    background: #F1F6FC;
    border: 1px solid #BAE6FD;
    padding: 3px 8px;
    border-radius: 6px;
}

/* ==========================================================================
   SERVICES PAGE - 3 PILLARS COMPACT & PROPORTIONATE RETRACTABLE CARDS
   ========================================================================== */

.services-pillars-container {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px; /* Reduced from 32px for compact height */
}

/* -------------------------------------------------------------
   ENTRANCE ANIMATION CLASSES
   Sales: slide-in from left
   Service Support: slide-in from right
   Consultation: slide-in from left
   ------------------------------------------------------------- */
.khal-pillar-row {
    position: relative;
    width: 100%;
}

.khal-pillar-row.anim-slide-left {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.khal-pillar-row.anim-slide-right {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.khal-pillar-row.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------------------------------
   MAIN PILLAR CARD (COMPACT B2B KHAL THEME)
   ------------------------------------------------------------- */
.khal-pillar-card {
    background: #FFFFFF;
    border: 1.5px solid rgba(130, 170, 227, 0.35);
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(15, 41, 77, 0.04);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    min-height: auto; /* Strict auto height to prevent vertical stretching */
}

.khal-pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, var(--khal-blue, #0065B3), #00ADEF);
    opacity: 0.9;
    z-index: 3;
}

.khal-pillar-card:hover {
    border-color: #93C5FD;
    box-shadow: 0 8px 24px rgba(0, 101, 179, 0.08);
}

/* -------------------------------------------------------------
   LEFT SUMMARY SIDE (COMPACT & CLEAN)
   ------------------------------------------------------------- */
.pillar-summary-side {
    padding: 22px 26px 18px; /* Compact padding */
    flex: 1 1 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.khal-pillar-row.is-retracted .pillar-summary-side {
    flex: 0 0 42%;
    max-width: 42%;
    border-right: 1.5px solid #E2E8F0;
    background: #FBFDFF;
}

.pillar-top-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 10px;
}

.pillar-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: rgba(0, 101, 179, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: inset 0 0 0 1px rgba(0, 101, 179, 0.15);
    flex-shrink: 0;
}

.pillar-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--khal-navy, #0F294D);
    margin: 0 0 6px;
    letter-spacing: -0.2px;
    line-height: 1.3;
}

.pillar-desc {
    font-size: 0.86rem;
    line-height: 1.55;
    color: #475569;
    margin: 0 0 12px;
}

/* Compact 2-column checklist when card is collapsed */
.pillar-checklist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
    margin-bottom: 14px;
}

.khal-pillar-row.is-retracted .pillar-checklist-grid {
    grid-template-columns: 1fr; /* 1 column when retracted to leave space for right panel */
    gap: 6px;
}

.pillar-check-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    color: #334E68;
    line-height: 1.4;
}

.pillar-check-item .check-icon {
    color: #00ADEF;
    font-weight: 800;
    font-size: 0.88rem;
    line-height: 1.2;
    flex-shrink: 0;
}

/* Bottom Action Bar */
.pillar-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed #E2E8F0;
    flex-wrap: wrap;
}

.btn-pillar-retract {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto; /* Push to bottom-right corner */
    background: #F1F6FC;
    color: #0065B3;
    border: 1.5px solid #BAE6FD;
    padding: 7px 15px;
    border-radius: 24px;
    font-size: 0.80rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 101, 179, 0.06);
}

.btn-pillar-retract:hover {
    background: #0065B3;
    color: #FFFFFF;
    border-color: #0065B3;
    box-shadow: 0 3px 10px rgba(0, 101, 179, 0.22);
    transform: translateY(-1px);
}

.btn-pillar-retract .btn-retract-icon {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.90rem;
    font-weight: 900;
    letter-spacing: -1px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
}

.khal-pillar-row.is-retracted .btn-pillar-retract {
    background: #0F294D;
    color: #FFFFFF;
    border-color: #0F294D;
    box-shadow: 0 3px 8px rgba(15, 41, 77, 0.2);
}

.khal-pillar-row.is-retracted .btn-pillar-retract .btn-retract-icon {
    transform: rotate(180deg);
}

/* -------------------------------------------------------------
   RIGHT RETRACTABLE DETAIL PANE
   CRITICAL: Hidden completely with display:none when collapsed
   to prevent stretching the card vertically!
   ------------------------------------------------------------- */
.pillar-detail-pane {
    display: none; /* Completely hidden when collapsed, zero height contribution */
    flex: 0 0 58%;
    max-width: 58%;
    background: #FFFFFF;
    overflow-y: auto;
    box-sizing: border-box;
}

.khal-pillar-row.is-retracted .pillar-detail-pane {
    display: flex; /* Displayed when retracted */
    flex-direction: column;
    animation: pillarPaneSlideRight 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pillarPaneSlideRight {
    0% {
        opacity: 0;
        transform: translateX(35px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.pillar-detail-inner {
    padding: 22px 24px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    box-sizing: border-box;
}

.pillar-detail-header {
    border-bottom: 1.5px solid #F1F5F9;
    padding-bottom: 10px;
}

.pillar-detail-header h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--khal-navy, #0F294D);
    margin: 0 0 3px;
}

.pillar-detail-header p {
    font-size: 0.78rem;
    color: #64748B;
    margin: 0;
    line-height: 1.45;
}

/* Detail Cards Inside Pane */
.pillar-detail-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.detail-block-item {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 10px 12px;
    transition: all 0.2s ease;
}

.detail-block-item:hover {
    background: #F1F6FC;
    border-color: #BAE6FD;
}

.detail-block-item h5 {
    font-size: 0.80rem;
    font-weight: 700;
    color: #0F294D;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.detail-block-item p {
    font-size: 0.76rem;
    line-height: 1.45;
    color: #475569;
    margin: 0;
}

/* Supported Instruments / Standards Pill Tags */
.pillar-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 3px;
}

.pillar-tag-pill {
    font-size: 0.70rem;
    font-weight: 700;
    color: #0065B3;
    background: #EFF6FF;
    border: 1px solid #DBEAFE;
    padding: 2px 8px;
    border-radius: 16px;
}

/* Detail Action Footer */
.pillar-detail-actions {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1.5px solid #F1F5F9;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* -------------------------------------------------------------
   RESPONSIVE DESIGN (TABLET & MOBILE BREAKPOINTS)
   ------------------------------------------------------------- */
@media (max-width: 992px) {
    .khal-pillar-card {
        flex-direction: column;
    }

    .pillar-checklist-grid {
        grid-template-columns: 1fr;
    }

    .khal-pillar-row.is-retracted .pillar-summary-side {
        flex: 1 1 auto;
        max-width: 100%;
        border-right: none;
        border-bottom: 1.5px solid #E2E8F0;
    }

    .khal-pillar-row.is-retracted .pillar-detail-pane {
        flex: 1 1 auto;
        max-width: 100%;
    }

    .pillar-detail-inner {
        padding: 20px 18px;
    }

    .pillar-detail-blocks {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .pillar-summary-side {
        padding: 18px 16px;
    }

    .pillar-title {
        font-size: 1.15rem;
    }

    .pillar-bottom-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-pillar-retract {
        margin-left: 0;
        justify-content: center;
        width: 100%;
    }
}



/* ==========================================================================
   PRODUCTS PAGE - COMPACT 2-COLUMN BRAND SOLUTION PILLARS (CLEAN & DENSE)
   ENHANCED EXECUTIVE DESKTOP & MOBILE EDITION (V6.3)
   ========================================================================== */

.container-wide {
    max-width: 1280px !important;
    margin: 0 auto;
    padding: 0 22px;
}

/* -------------------------------------------------------------
   1. EXECUTIVE SPLIT HERO BANNER
   ------------------------------------------------------------- */
.page-header-banner.page-header-enhanced {
    padding: 106px 0 28px !important;
    background: linear-gradient(135deg, rgba(8, 20, 40, 0.95) 0%, rgba(15, 41, 77, 0.91) 55%, rgba(0, 92, 168, 0.88) 100%),
                url('https://images.unsplash.com/photo-1582719471384-894fbb16e074?auto=format&fit=crop&w=1920&q=85') center/cover no-repeat !important;
    text-align: left !important;
    border-bottom: 1px solid rgba(56, 189, 248, 0.22);
}

.page-header-banner.page-header-enhanced::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
    z-index: 1;
}

.hero-split-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.hero-split-text {
    flex: 1;
    max-width: 680px;
}

.hero-eyebrow-pill {
    background: rgba(0, 173, 239, 0.2) !important;
    color: #7DD3FC !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.9px !important;
    padding: 3px 11px !important;
    display: inline-block;
}

.page-header-banner.page-header-enhanced h1 {
    font-size: clamp(1.55rem, 2.2vw, 2.05rem) !important;
    margin: 7px 0 5px !important;
    letter-spacing: -0.01em !important;
    line-height: 1.2 !important;
}

.page-header-banner.page-header-enhanced p {
    margin: 0 !important;
    max-width: 640px !important;
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    color: #CBD5E1 !important;
}

.hero-trust-strip {
    display: flex;
    align-items: stretch;
    gap: 10px;
    flex-shrink: 0;
}

.hero-trust-pill {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 11px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 118px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

.hero-trust-pill .trust-val {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.02rem;
    font-weight: 800;
    color: #38BDF8;
    line-height: 1.2;
}

.hero-trust-pill .trust-lbl {
    font-size: 0.71rem;
    font-weight: 600;
    color: #E2E8F0;
    margin-top: 2px;
    white-space: nowrap;
}

/* -------------------------------------------------------------
   2. CATALOG SECTION & HEADER ROW
   ------------------------------------------------------------- */
.products-catalog-section {
    background: linear-gradient(180deg, #F4F8FD 0%, #FAFCFF 180px, #FAFCFF 100%);
    padding: 22px 0 52px !important;
}

.brand-section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.brand-topbar-heading {
    text-align: left !important;
    margin: 0 !important;
    flex: 1;
    min-width: 280px;
}

.brand-topbar-badge {
    font-size: 0.68rem !important;
    letter-spacing: 0.7px !important;
    padding: 2.5px 9px !important;
    display: inline-block;
}

.brand-topbar-title {
    font-size: 1.4rem !important;
    color: var(--khal-navy);
    margin: 4px 0 2px !important;
    line-height: 1.22 !important;
    letter-spacing: -0.015em;
}

.brand-topbar-desc {
    font-size: 0.82rem !important;
    color: #64748B;
    margin: 0 !important;
    line-height: 1.42 !important;
}

.brand-live-counter {
    font-size: 0.78rem;
    color: #334E68;
    background: #FFFFFF;
    border: 1px solid #DCE8F7;
    padding: 5px 12px;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(15, 41, 77, 0.03);
    white-space: nowrap;
}

.brand-live-counter strong {
    color: #0065B3;
    font-weight: 800;
}

/* -------------------------------------------------------------
   3. STICKY GLASSMORPHIC FILTER & SEARCH BAR
   ------------------------------------------------------------- */
.brand-sticky-bar {
    position: sticky;
    top: 84px;
    z-index: 45;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(203, 213, 225, 0.85);
    border-radius: 13px;
    padding: 7px 10px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 4px 18px rgba(15, 41, 77, 0.06);
}

.brand-nav-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.brand-filter-pill {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: #475569;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 0.77rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    font-family: inherit;
    white-space: nowrap;
}

.brand-filter-pill .pill-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    font-size: 0.69rem;
    font-weight: 800;
    background: #E2E8F0;
    color: #334155;
    transition: all 0.2s ease;
}

.brand-filter-pill:hover {
    background: #EFF6FF;
    border-color: #93C5FD;
    color: #0065B3;
    transform: translateY(-1px);
}

.brand-filter-pill:hover .pill-badge {
    background: #DBEAFE;
    color: #0065B3;
}

.brand-filter-pill.active {
    background: linear-gradient(135deg, #0F294D 0%, #0065B3 100%);
    border-color: #0065B3;
    color: #FFFFFF;
    box-shadow: 0 3px 10px rgba(0, 101, 179, 0.24);
}

.brand-filter-pill.active .pill-badge {
    background: rgba(255, 255, 255, 0.22);
    color: #FFFFFF;
}

/* Quick Search Input */
.brand-quick-search {
    position: relative;
    flex: 0 1 275px;
    min-width: 200px;
    display: flex;
    align-items: center;
}

.brand-search-icon {
    position: absolute;
    left: 11px;
    color: #64748B;
    pointer-events: none;
}

.brand-search-input {
    width: 100%;
    height: 34px;
    padding: 0 30px 0 33px;
    border-radius: 999px;
    border: 1px solid #CBD5E1;
    background: #F8FAFC;
    font-size: 0.78rem;
    font-weight: 500;
    color: #0F172A;
    font-family: inherit;
    transition: all 0.2s ease;
    outline: none;
}

.brand-search-input::placeholder {
    color: #94A3B8;
}

.brand-search-input:focus {
    background: #FFFFFF;
    border-color: #00ADEF;
    box-shadow: 0 0 0 3px rgba(0, 173, 239, 0.14);
}

.brand-search-clear {
    position: absolute;
    right: 7px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: #E2E8F0;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.brand-search-clear:hover {
    background: #CBD5E1;
    color: #0F172A;
}

/* -------------------------------------------------------------
   4. BRAND SOLUTION PILLARS: 2-COLUMN PRECISION GRID
   ------------------------------------------------------------- */
.brand-pillars-wrapper {
    max-width: 1280px;
    margin: 0 auto;
}

.brand-pillars-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    margin-bottom: 18px !important;
}

/* -------------------------------------------------------------
   5. ELEVATED BRAND CARD CRAFTSMANSHIP
   ------------------------------------------------------------- */
.brand-cotec-card {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 14px !important;
    padding: 15px 17px !important;
    margin-bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.035), 0 1px 2px rgba(15, 23, 42, 0.02) !important;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.22s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Top Gradient Accent Bars per Partnership Tier */
.brand-cotec-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    z-index: 2;
}

.brand-cotec-card.tier-exclusive::before {
    background: linear-gradient(90deg, #D97706 0%, #F59E0B 55%, #FBBF24 100%);
}

.brand-cotec-card.tier-distributor::before {
    background: linear-gradient(90deg, #0F294D 0%, #0065B3 55%, #00ADEF 100%);
}

.brand-cotec-card.tier-partner::before {
    background: linear-gradient(90deg, #1E3A8A 0%, #2563EB 55%, #60A5FA 100%);
}

.brand-cotec-card.tier-inhouse::before {
    background: linear-gradient(90deg, #0284C7 0%, #00ADEF 55%, #2DD4BF 100%);
}

.brand-cotec-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 28px rgba(15, 41, 77, 0.08), 0 4px 10px rgba(0, 101, 179, 0.05) !important;
    border-color: #93C5FD !important;
}

.brand-cotec-card.tier-exclusive:hover {
    border-color: #FCD34D !important;
}

/* Unified Card Header */
.brand-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
    padding-bottom: 9px;
    border-bottom: 1px solid #F1F5F9;
}

.brand-card-logo-wrap {
    width: 94px;
    height: 42px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 7px;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    transition: border-color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.brand-cotec-card:hover .brand-card-logo-wrap {
    border-color: #BAE6FD;
}

.brand-card-logo-img {
    max-width: 100%;
    max-height: 32px;
    object-fit: contain;
    transition: transform 0.22s ease;
}

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

.brand-card-title-group {
    flex: 1;
    min-width: 0;
    padding-top: 1px;
}

.brand-card-name {
    font-size: 1.03rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 2px 0;
    line-height: 1.25;
    letter-spacing: -0.012em;
}

.brand-card-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.18s ease;
}

.brand-card-name a:hover {
    color: #0065B3;
}

.brand-card-headline {
    font-size: 0.77rem;
    font-weight: 700;
    color: #0284C7;
    margin: 0;
    line-height: 1.32;
}

/* Country & Tier Badges (Exact Font-Size Parity) */
.brand-card-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.brand-card-country-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.73rem;
    font-weight: 600;
    color: #334155;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 2px 7px;
    line-height: 1.25;
    white-space: nowrap;
}

.brand-card-country-badge .flag-icon-svg {
    width: 14px;
    height: 10px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.brand-card-tier-pill {
    display: inline-flex;
    align-items: center;
    font-size: 0.73rem;
    font-weight: 700;
    border-radius: 6px;
    padding: 2px 7px;
    line-height: 1.25;
    white-space: nowrap;
}

.brand-card-tier-pill.exclusive {
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #FDE68A;
}

.brand-card-tier-pill.distributor {
    background: #EFF6FF;
    color: #1E40AF;
    border: 1px solid #BFDBFE;
}

.brand-card-tier-pill.partner {
    background: #EEF2FF;
    color: #3730A3;
    border: 1px solid #C7D2FE;
}

.brand-card-tier-pill.inhouse {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

/* Highlight Row with Left Cover Image & Right Summary Text */
.brand-card-highlight-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 4px 0 12px 0;
    padding: 8px 10px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.brand-cotec-card:hover .brand-card-highlight-row {
    background: #F4F9FF;
    border-color: #DBEAFE;
}

.brand-card-cover-box {
    width: 112px;
    height: 76px;
    flex-shrink: 0;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 41, 77, 0.05);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.brand-cotec-card:hover .brand-card-cover-box {
    border-color: #93C5FD;
    transform: scale(1.02);
}

.brand-card-cover-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Concise Summary beside Cover Image */
.brand-card-summary {
    flex: 1;
    min-width: 0;
    font-size: 0.815rem;
    color: #334155;
    line-height: 1.48;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 2x2 Precision Instrument Matrix */
.brand-card-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 10px;
    margin-bottom: 11px;
    padding: 8px 10px;
    background: #F8FAFC;
    border-radius: 9px;
    border: 1px solid #EDF2F7;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.brand-cotec-card:hover .brand-card-features {
    background: #F4F9FF;
    border-color: #E0F2FE;
}

.brand-feature-item {
    font-size: 0.76rem;
    color: #1E293B;
    font-weight: 600;
    line-height: 1.32;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}

.feat-dot-svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 1px;
}

.brand-feature-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Card Footer CTA Buttons */
.brand-card-footer {
    margin-top: auto;
    display: flex;
    gap: 8px;
    align-items: center;
    padding-top: 9px;
    border-top: 1px solid #F1F5F9;
}

.btn-brand-detail {
    flex: 1.15;
    min-height: 35px;
    background: linear-gradient(135deg, #0F294D 0%, #163A6C 100%);
    color: #FFFFFF !important;
    font-size: 0.77rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-brand-detail .btn-arrow-svg {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.btn-brand-detail:hover {
    background: linear-gradient(135deg, #0065B3 0%, #0284C7 100%);
    box-shadow: 0 4px 12px rgba(0, 101, 179, 0.24);
    transform: translateY(-1px);
}

.btn-brand-detail:hover .btn-arrow-svg {
    transform: translateX(3px);
}

.btn-brand-quote {
    flex: 1;
    min-height: 35px;
    background: #F0FDF4;
    color: #15803D !important;
    border: 1px solid #BBF7D0;
    font-size: 0.77rem;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-brand-quote:hover {
    background: #DCFCE7;
    border-color: #4ADE80;
    color: #166534 !important;
    box-shadow: 0 3px 10px rgba(22, 163, 74, 0.14);
    transform: translateY(-1px);
}

/* -------------------------------------------------------------
   6. EMPTY STATE & BOTTOM CONSULTATION STRIP
   ------------------------------------------------------------- */
.brand-empty-state {
    background: #FFFFFF;
    border: 1.5px dashed #CBD5E1;
    border-radius: 14px;
    padding: 36px 20px;
    text-align: center;
    margin-bottom: 18px;
}

.brand-empty-icon {
    font-size: 2rem;
    margin-bottom: 6px;
}

.brand-empty-state h4 {
    font-size: 1.05rem;
    color: #0F172A;
    margin-bottom: 4px;
}

.brand-empty-state p {
    font-size: 0.84rem;
    color: #64748B;
    max-width: 440px;
    margin: 0 auto 14px;
}

.btn-reset-brand-filter {
    background: #0065B3;
    color: #FFFFFF;
    border: none;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-reset-brand-filter:hover {
    background: #0F294D;
}

.brand-consult-strip {
    background: linear-gradient(135deg, #0B192C 0%, #0F294D 60%, #004E8C 100%);
    border-radius: 14px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(15, 41, 77, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.22);
}

.brand-consult-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-consult-text strong {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.94rem;
    font-weight: 800;
    color: #FFFFFF;
}

.brand-consult-text span {
    font-size: 0.8rem;
    color: #CBD5E1;
}

.btn-consult-strip {
    background: #00ADEF;
    color: #081428 !important;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 9px 16px;
    border-radius: 9px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
    box-shadow: 0 3px 12px rgba(0, 173, 239, 0.3);
}

.btn-consult-strip:hover {
    background: #38BDF8;
    transform: translateY(-1px);
}

/* -------------------------------------------------------------
   7. TABLET & MOBILE ERGONOMIC ENHANCEMENTS
   ------------------------------------------------------------- */
@media (max-width: 992px) {
    .hero-split-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .hero-trust-strip {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 8px;
    }

    .hero-trust-pill {
        min-width: 0;
        padding: 7px 10px;
        text-align: center;
        align-items: center;
    }

    .brand-sticky-bar {
        position: relative;
        top: auto;
        z-index: 5;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 8px 10px;
    }

    .brand-nav-tabs {
        flex-wrap: wrap !important;
        overflow-x: visible !important;
        justify-content: flex-start !important;
        gap: 6px;
        mask-image: none;
        -webkit-mask-image: none;
        padding-right: 0;
    }

    .brand-filter-pill {
        flex-shrink: 0;
        font-size: 0.74rem;
        padding: 5px 10px;
    }

    .brand-quick-search {
        flex: 1 1 auto;
        width: 100%;
    }

    .brand-pillars-grid {
        grid-template-columns: 1fr !important;
        gap: 13px !important;
    }
}

@media (max-width: 640px) {
    .container-wide {
        padding: 0 14px;
    }

    .page-header-banner.page-header-enhanced {
        padding: 86px 0 18px !important;
    }

    .page-header-banner.page-header-enhanced h1 {
        font-size: 1.38rem !important;
        margin: 5px 0 4px !important;
    }

    .page-header-banner.page-header-enhanced p {
        font-size: 0.8rem !important;
        line-height: 1.42 !important;
    }

    .hero-trust-pill {
        padding: 6px 6px;
        border-radius: 8px;
    }

    .hero-trust-pill .trust-val {
        font-size: 0.86rem;
    }

    .hero-trust-pill .trust-lbl {
        font-size: 0.64rem;
    }

    .products-catalog-section {
        padding: 16px 0 38px !important;
    }

    .brand-section-heading-row {
        margin-bottom: 10px;
        gap: 8px;
    }

    .brand-topbar-title {
        font-size: 1.2rem !important;
    }

    .brand-topbar-desc {
        font-size: 0.77rem !important;
    }

    .brand-live-counter {
        font-size: 0.72rem;
        padding: 3px 10px;
    }

    .brand-cotec-card {
        padding: 13px 13px !important;
        border-radius: 12px !important;
    }

    .brand-card-header {
        flex-wrap: wrap;
        gap: 7px 10px;
        margin-bottom: 8px;
        padding-bottom: 8px;
    }

    .brand-card-logo-wrap {
        width: 78px;
        height: 38px;
    }

    .brand-card-logo-img {
        max-height: 28px;
    }

    .brand-card-title-group {
        flex: 1 1 calc(100% - 90px);
    }

    .brand-card-name {
        font-size: 0.96rem;
    }

    .brand-card-headline {
        font-size: 0.73rem;
    }

    .brand-card-badges {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 6px;
    }

    .brand-card-country-badge,
    .brand-card-tier-pill {
        font-size: 0.71rem;
        padding: 2px 7px;
    }

    .brand-card-highlight-row {
        gap: 10px;
        padding: 7px 8px;
        margin-bottom: 8px;
    }

    .brand-card-cover-box {
        width: 88px;
        height: 64px;
    }

    .brand-card-summary {
        font-size: 0.78rem;
        margin: 0;
    }

    /* Natural 2-line wrapping inside 2x2 grid so mobile never chops model names */
    .brand-card-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px 8px;
        padding: 7px 8px;
        margin-bottom: 9px;
    }

    .brand-feature-item {
        font-size: 0.72rem;
        line-height: 1.28;
        gap: 4px;
    }

    .brand-feature-item span {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .feat-dot-svg {
        width: 12px;
        height: 12px;
        margin-top: 1px;
    }

    .brand-card-footer {
        gap: 7px;
    }

    .btn-brand-detail,
    .btn-brand-quote {
        min-height: 38px;
        font-size: 0.75rem;
        padding: 7px 8px;
    }

    .brand-consult-strip {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        padding: 14px 15px;
        gap: 11px;
    }

    .btn-consult-strip {
        justify-content: center;
        width: 100%;
        padding: 10px 14px;
    }
}

/* Pulse Glow when navigated to */
@keyframes cardPulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 173, 239, 0.5), 0 8px 20px rgba(0, 101, 179, 0.12);
        border-color: #00ADEF !important;
    }
    50% {
        box-shadow: 0 0 0 4px rgba(0, 173, 239, 0.25), 0 12px 24px rgba(0, 101, 179, 0.18);
        border-color: #0065B3 !important;
    }
    100% {
        box-shadow: 0 2px 10px rgba(15, 23, 42, 0.035);
        border-color: #E2E8F0 !important;
    }
}

.card-highlight-pulse {
    animation: cardPulseGlow 1.6s ease-out !important;
}


/* Brand pillar skeleton (shown until store renders admin data) */
.brand-skeleton-card { pointer-events: none; gap: 10px; min-height: 210px; }
.brand-skeleton-card::before { background: #E2E8F0 !important; }
.brand-skeleton-card .sk-row { display: flex; gap: 12px; align-items: center; }
.brand-skeleton-card .sk-col { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.brand-skeleton-card .sk { display: block; border-radius: 6px; background: linear-gradient(90deg, #EEF2F7 25%, #F8FAFC 50%, #EEF2F7 75%); background-size: 200% 100%; animation: skShimmer 1.3s ease-in-out infinite; }
.brand-skeleton-card .sk-logo { width: 94px; height: 42px; border-radius: 9px; }
.brand-skeleton-card .sk-title { width: 60%; height: 14px; }
.brand-skeleton-card .sk-sub { width: 80%; height: 10px; }
.brand-skeleton-card .sk-line { width: 100%; height: 10px; }
.brand-skeleton-card .sk-line.short { width: 70%; }
.brand-skeleton-card .sk-block { width: 100%; height: 62px; border-radius: 9px; margin-top: auto; }
@keyframes skShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Gallery Project Detail Carousel */
.khal-carousel-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #0B1120;
    border-radius: 16px;
    overflow: hidden;
    user-select: none;
}
.khal-carousel-viewport {
    position: relative;
    width: 100%;
    height: 430px;
    overflow: hidden;
    background: #0F172A;
    cursor: grab;
    touch-action: pan-y;
}
.khal-carousel-viewport.is-dragging {
    cursor: grabbing;
}
.khal-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}
.khal-carousel-track.no-transition {
    transition: none;
}
.khal-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0B1120;
    padding: 0;
}
.khal-slide-backdrop {
    position: absolute;
    inset: -18px;
    background-size: cover;
    background-position: center;
    filter: blur(22px) brightness(0.42) saturate(1.1);
    transform: scale(1.08);
    z-index: 1;
    pointer-events: none;
}
.khal-carousel-slide img {
    width: auto;
    height: auto;
    max-width: calc(100% - 16px);
    max-height: calc(100% - 16px);
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 2;
    border-radius: 6px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
    pointer-events: none;
    -webkit-user-drag: none;
}
.khal-carousel-slide iframe,
.khal-carousel-slide video {
    width: 100%;
    height: 100%;
    border: 0;
    background: #000000;
    display: block;
}
.khal-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
    color: #FFFFFF;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, opacity 0.2s;
}
.khal-carousel-arrow:hover {
    background: #0284C7;
    border-color: #38BDF8;
    transform: translateY(-50%) scale(1.06);
}
.khal-carousel-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}
.khal-carousel-arrow.prev {
    left: 12px;
}
.khal-carousel-arrow.next {
    right: 12px;
}
.khal-carousel-counter {
    position: absolute;
    top: 12px;
    left: 14px;
    z-index: 6;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(6px);
    color: #F8FAFC;
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    pointer-events: none;
}
.khal-carousel-thumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #0F172A;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    overflow-x: auto;
    scrollbar-width: thin;
}
.khal-carousel-thumb {
    position: relative;
    flex: 0 0 auto;
    width: 72px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    background: #1E293B;
    cursor: pointer;
    opacity: 0.65;
    transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
}
.khal-carousel-thumb:hover {
    opacity: 0.92;
}
.khal-carousel-thumb.active {
    opacity: 1;
    border-color: #38BDF8;
    transform: translateY(-1px);
}
.khal-carousel-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.khal-thumb-video-tag {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.55);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    gap: 3px;
}
@media (max-width: 768px) {
    .khal-carousel-viewport {
        height: 300px;
    }
    .khal-carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.05rem;
    }
    .khal-carousel-thumb {
        width: 60px;
        height: 44px;
    }
}
@media (max-width: 640px) {
    .hero-hud-card {
        padding: 14px;
    }
    .hero-hud-card > div:first-child {
        flex-wrap: wrap;
        gap: 6px;
    }
    .hero-hud-card #hudBadgeText {
        font-size: 0.7rem !important;
        white-space: nowrap;
    }
    .hero-hud-card .oscilloscope-telemetry {
        flex-wrap: wrap;
        gap: 6px 12px;
        padding: 8px 10px;
    }
    .hero-hud-card .telemetry-item {
        white-space: nowrap;
        font-size: 0.68rem;
    }
    .hero-hud-card .hud-tab-btn {
        font-size: 0.68rem;
        padding: 6px 4px;
        white-space: nowrap;
    }
}

/* Gallery Thread Hashtags (Thumbnail Cards & Detail Modal) */
.gallery-active-hashtag-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    background: #EFF6FF;
    border: 1px solid #BAE6FD;
    border-radius: 12px;
    padding: 10px 16px;
    margin-bottom: 18px;
}
.gallery-active-hashtag-label {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--khal-navy);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.gallery-active-hashtag-chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 11px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0F294D 0%, #0065B3 100%);
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 700;
}
.gallery-active-hashtag-clear {
    background: #FFFFFF;
    color: #0369A1;
    border: 1px solid #93C5FD;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.18s ease;
}
.gallery-active-hashtag-clear:hover {
    background: #DBEAFE;
    border-color: #0284C7;
}
.gallery-hashtags-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0 0 12px 0;
}
.gallery-hashtag-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: #EFF6FF;
    color: #0369A1;
    border: 1px solid #BAE6FD;
    letter-spacing: 0.01em;
    font-family: inherit;
    line-height: 1.4;
}
.gallery-hashtag-pill.is-clickable,
.gallery-detail-hashtag-pill.is-clickable {
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.gallery-hashtag-pill.is-clickable:hover,
.gallery-detail-hashtag-pill.is-clickable:hover {
    background: #DBEAFE;
    border-color: #0284C7;
    color: #0F294D;
    transform: translateY(-1px);
}
.gallery-hashtag-pill.active,
.gallery-detail-hashtag-pill.active {
    background: linear-gradient(135deg, #0F294D 0%, #0065B3 100%);
    border-color: #0065B3;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 101, 179, 0.24);
}
.gallery-detail-hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}
.gallery-detail-hashtag-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    background: #EFF6FF;
    color: #0284C7;
    border: 1px solid #BAE6FD;
    font-family: inherit;
    line-height: 1.4;
}

/* Multi-Number Floating WhatsApp Popover Menu */
.khal-wa-menu {
    position: fixed;
    bottom: 92px;
    left: 26px;
    width: 268px;
    background: #FFFFFF;
    border: 1.5px solid #CBD5E1;
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(15, 41, 77, 0.22);
    z-index: 99992;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.97);
    transform-origin: bottom left;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.khal-wa-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.khal-wa-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: linear-gradient(135deg, #0F294D 0%, #075E54 100%);
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 700;
}
.khal-wa-menu-close {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
    opacity: 0.85;
}
.khal-wa-menu-close:hover {
    opacity: 1;
}
.khal-wa-menu-list {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.khal-wa-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    text-decoration: none;
    color: #0F294D;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.khal-wa-option:hover {
    background: #ECFDF5;
    border-color: #25D366;
    transform: translateY(-1px);
}
.khal-wa-option-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #25D366;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.khal-wa-option-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}
.khal-wa-option-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.khal-wa-option-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #059669;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.khal-wa-option-number {
    font-size: 0.86rem;
    font-weight: 800;
    color: #0F294D;
}
@media (max-width: 992px) {
    .khal-wa-menu {
        bottom: 140px;
        left: 12px;
        width: 256px;
    }
}

/* =========================================================================
   INCREMENTAL "SHOW MORE" PAGINATION BAR (MULTIPLES OF 10)
   ========================================================================= */
.khal-show-more-wrap {
    margin: 26px auto 8px;
    padding: 16px 20px;
    border-radius: 14px;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    box-shadow: 0 4px 16px rgba(15, 41, 77, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 520px;
    text-align: center;
}
.khal-show-more-meta {
    font-size: 0.84rem;
    color: #475569;
    font-weight: 600;
}
.khal-show-more-meta strong {
    color: var(--khal-navy);
    font-weight: 800;
}
.khal-show-more-track {
    width: 100%;
    max-width: 260px;
    height: 5px;
    background: #E2E8F0;
    border-radius: 999px;
    overflow: hidden;
}
.khal-show-more-fill {
    height: 100%;
    background: linear-gradient(90deg, #0065B3 0%, #00ADEF 100%);
    border-radius: 999px;
    transition: width 0.25s ease;
}
.khal-show-more-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
.khal-btn-show-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #0065B3 0%, #0284C7 100%);
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 101, 179, 0.24);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.khal-btn-show-more:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 101, 179, 0.32);
    filter: brightness(1.04);
}
.khal-btn-show-less {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1.5px solid #CBD5E1;
    background: #F8FAFC;
    color: #334E68;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.khal-btn-show-less:hover {
    background: #EFF6FF;
    border-color: #93C5FD;
    color: #0065B3;
}

/* =========================================================================
   CORE WEB VITALS: OFFSCREEN PAINT SKIP & ZERO-CLS MEDIA STABILITY
   ========================================================================= */
.footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 340px;
}
.client-marquee-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 260px;
}
.brand-card-logo-wrap,
.brand-card-cover-box,
.product-thumb,
.brand-flashcard-media {
    contain: layout style;
}
