/* Color Variables & Reset */
:root {
    --primary-red: #D32F2F;
    /* Accent red */
    --primary-blue: #0A192F;
    /* Navy Blue Base */
    --light-blue: #112240;
    /* Lighter Navy Surface */
    --hover-red: #B71C1C;
    --white: #FFFFFF;
    --bg-light: #F8F9FA;
    --text-main: #333333;
    --text-muted: #666666;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: #0A192F; /* Fills Dynamic Island / safe-area-inset-top with navy */
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) ease;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Base Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(211, 47, 47, 0.2);
}

.btn-primary:hover {
    background-color: var(--hover-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(211, 47, 47, 0.35);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.btn-navy {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    box-shadow: 0 4px 6px rgba(10, 25, 47, 0.15);
}

.btn-navy:hover {
    background-color: #1a2a47;
    border-color: #1a2a47;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(10, 25, 47, 0.3);
}

/* Header Component — Transparent Base */
.header {
    background: transparent;
    box-shadow: none;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Home Page Specific — Only at top (not scrolled) */
.home-page .header:not(.minified) {
    background: linear-gradient(to bottom, rgba(5,12,20,0.60) 0%, transparent 100%);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 108px;
    padding: 8px 20px;
    transition: all 0.4s ease;
    align-self: flex-start;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 72px;
    width: auto;
    max-width: 240px;
    display: block;
    object-fit: contain;
    object-position: center;
    transition: all 0.4s ease;
}

.nav-list {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-list a {
    font-weight: 600;
    color: var(--white);
    font-size: 1.05rem;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-list a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width var(--transition-speed) ease;
}

.nav-list a:not(.btn):hover::after,
.nav-list a.active:not(.btn)::after {
    width: 100%;
}

.nav-list a:not(.btn):hover {
    color: var(--primary-red);
}

.nav-list a.btn {
    color: var(--white);
    text-shadow: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Header Minified State — Corporate Flush Bar */
.header.minified {
    background: rgba(255, 255, 255, 0.98);
    background-image: none !important; /* Kill the dark gradient from the base .header class */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    height: 90px;
}

.header.minified .header-container {
    height: 90px;
}

/* Clear margins/heights so logo sits perfectly inside the flush header */
.header.minified .logo {
    height: 90px;
    padding: 0 15px;
    /* Restrict padding so it fits */
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
}

.header.minified .logo img {
    height: 70px;
    width: auto;
    max-width: 200px;
}

.header.minified .nav-list a:not(.btn) {
    color: var(--primary-blue);
    text-shadow: none;
}

.header.minified .nav-list a:not(.btn):hover,
.header.minified .nav-list a.active:not(.btn) {
    color: var(--primary-red);
}

.header.minified .mobile-menu-toggle span {
    background-color: var(--primary-blue);
    box-shadow: none;
}

/* Hero Section Component */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: 0;
    overflow: hidden;
    background-color: var(--primary-blue);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.05);
    /* Slight scale for slow zoom effect */
    transition: transform 10s linear;
}

.slide.active .slide-bg {
    transform: scale(1);
}

/* Spotlight gradient overlay — high contrast on left (text), lighter on right (visuals) */
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 25, 47, 0.92) 0%, rgba(10, 25, 47, 0.55) 45%, rgba(10, 25, 47, 0.18) 100%);
    z-index: 2;
}

/* Slide 2 (HPLC) manual override to keep original dark cinematic look, but slightly lighter */
.hplc-slide::after {
    background: linear-gradient(to right, rgba(10, 25, 47, 0.85) 0%, rgba(10, 25, 47, 0.5) 50%, rgba(10, 25, 47, 0.25) 100%) !important;
}

.slide-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    max-width: 800px;
    padding-top: 150px;
    /* Account for larger fixed header */
}

.slide-subtitle {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.3s;
}

.slide-title {
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.5s;
}

.slide-desc {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 35px;
    max-width: 650px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.7s;
}

.slide-actions {
    display: flex;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.9s;
}

/* Reset animations for inactive slides */
.slide:not(.active) .slide-subtitle,
.slide:not(.active) .slide-title,
.slide:not(.active) .slide-desc,
.slide:not(.active) .slide-actions {
    animation: none;
    opacity: 0;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slider Controls — Velp Style (Refined Minimalism) */
.slider-controls {
    position: absolute;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    gap: 0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.2, 1);
    pointer-events: auto;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    padding: 20px;
}

.slider-arrow span {
    display: inline-block;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.2, 1);
}

.slider-arrow.prev { left: 40px; }
.slider-arrow.next { right: 40px; }

.slider-arrow:hover {
    color: #fff;
    gap: 12px;
}

.slider-arrow:hover span {
    max-width: 100px;
    opacity: 1;
}

.slider-arrow.prev:hover svg { transform: translateX(-5px); opacity: 1; }
.slider-arrow.next:hover svg { transform: translateX(5px); opacity: 1; }

.slider-arrow svg {
    transition: all 0.35s ease;
    opacity: 0.7;
}

/* Dots — Expanded physical hitboxes for WCAG touch targets (48x48) while keeping visual size small */
.slider-dots {
    display: flex;
    gap: 0px; 
    align-items: center;
    margin-bottom: 40px;
    pointer-events: auto;
}

.dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    padding: 18px;
    box-sizing: border-box;
    background-clip: content-box;
    background-color: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.4s ease;
    display: block;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.dot.active {
    background-color: var(--white);
    transform: scale(1.1);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .slide-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    /* ===== Premium Full-Screen Mobile Menu ===== */
    .nav {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: linear-gradient(160deg, rgba(8, 18, 38, 0.99) 0%, rgba(12, 20, 35, 0.99) 100%);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        padding: 0;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: center;
        justify-content: center;
        flex-direction: column;
        overflow: hidden;
    }

    /* Subtle decorative grid pattern on the menu */
    .nav::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 50%;
        height: 100%;
        background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
        background-size: 30px 30px;
        mask-image: linear-gradient(to bottom left, black, transparent 70%);
        -webkit-mask-image: linear-gradient(to bottom left, black, transparent 70%);
        pointer-events: none;
    }

    /* Red accent line at top */
    .nav::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-red) 0%, transparent 60%);
        pointer-events: none;
    }

    .nav.show {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
        padding: 0 40px;
        position: relative;
        z-index: 2;
    }

    .nav-list li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(25px);
        transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav.show .nav-list li {
        opacity: 1;
        transform: translateY(0);
    }
    .nav.show .nav-list li:nth-child(1) { transition-delay: 0.1s; }
    .nav.show .nav-list li:nth-child(2) { transition-delay: 0.18s; }
    .nav.show .nav-list li:nth-child(3) { transition-delay: 0.26s; }
    .nav.show .nav-list li:nth-child(4) { transition-delay: 0.34s; }
    .nav.show .nav-list li:nth-child(5) { transition-delay: 0.42s; }

    .nav-list a {
        display: block;
        padding: 22px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        color: rgba(255, 255, 255, 0.75) !important;
        text-shadow: none !important;
        font-size: 1.4rem;
        font-weight: 500;
        letter-spacing: 2px;
        text-transform: uppercase;
        transition: color 0.3s ease, letter-spacing 0.3s ease;
    }

    .nav-list li:first-child a {
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-list a:hover,
    .nav-list a.active {
        color: #ffffff !important;
        letter-spacing: 4px;
    }

    .nav-list a.active {
        color: var(--primary-red) !important;
    }

    .nav-list a.btn {
        margin: 30px auto 0;
        display: inline-block;
        width: max-content;
        color: var(--white) !important;
        border: 2px solid var(--primary-red);
        background-color: var(--primary-red);
        padding: 16px 48px;
        font-size: 0.85rem;
        font-weight: 700;
        letter-spacing: 3px;
        border-radius: 3px;
        text-transform: uppercase;
        transition: background-color 0.3s ease, transform 0.2s ease;
    }

    .nav-list a.btn:hover {
        background-color: #B71C1C;
        transform: translateY(-2px);
    }

    /* Slim exact 60px mobile header — Nike minimalist style */
    .header, 
    .header.minified {
        height: 60px !important;
        min-height: 60px !important;
    }

    .header-container {
        height: 60px !important;
        padding-top: 0;
        align-items: center;
    }

    .logo {
        align-self: center !important;
        height: 100%;
        display: flex;
        align-items: center;
        padding: 0;
        margin: 0;
    }

    .logo img {
        height: 38px !important; /* Clean, premium scaling */
        max-width: none !important;
        width: auto !important;
    }

    /* Scrolled state — remains 60px statically to avoid layout jump (Nike standard) */
    .header.minified .header-container {
        height: 60px;
        padding-top: 0;
    }
    .header.minified .logo {
        height: 100%;
    }
    .header.minified .logo img {
        height: 38px !important;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
        align-items: center;
        gap: 6px;
        align-self: center !important;
        margin: 0;
        padding-right: 0;
    }

    /* Exact Nike-style hamburger lines */
    .mobile-menu-toggle span {
        width: 24px;
        height: 2px;
        box-shadow: none !important;
        border-radius: 2px;
    }



    .mobile-menu-toggle.active span {
        background: #ffffff;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .slide-title {
        font-size: 2.2rem;
    }

    .slide-desc {
        font-size: 1rem;
    }

    /* Hide arrows on mobile — dots handle navigation */
    .slider-arrow {
        display: none !important;
    }

    .slider-controls {
        justify-content: center;
        align-items: flex-end;
        gap: 10px;
        padding-bottom: 25px;
    }

    .slider-dots { margin-bottom: 0; }

    /* Larger touch targets for dots — visible and tappable */
    .dot {
        width: 40px;
        height: 40px;
        padding: 14px;
    }

    .slide-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .slide-actions .btn {
        width: 100%;
    }
}

/* Add Video Support to Slider */
.slide-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
    object-position: center;
}

.slide-video::-webkit-media-controls,
.slide-video::-webkit-media-controls-enclosure,
.slide-video::-webkit-media-controls-panel,
.slide-video::-webkit-media-controls-play-button,
.slide-video::-webkit-media-controls-overlay-play-button {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* =============================================
   HPLC SLIDE — Custom Layout
   ============================================= */
.hplc-slide {
    background-color: #070f18;
    overflow: hidden;
}

/* HPLC bg — photo is set via inline style; this just darkens it */
.hplc-slide-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    background-color: #060d16; /* fallback */
    filter: brightness(0.65);
}

/* Top-right authorized badge — refined stamp style */
.hplc-badge {
    position: absolute;
    top: 130px;
    right: 60px;
    z-index: 10;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 6px;
    color: rgba(255,255,255,0.50);
    text-transform: uppercase;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 6px;
}

/* Strong navy-blue left-to-transparent gradient matching reference */
.hplc-slide::after {
    background: linear-gradient(
        90deg,
        rgba(8, 18, 38, 0.97) 0%,
        rgba(10, 22, 42, 0.88) 28%,
        rgba(10, 25, 47, 0.55) 52%,
        rgba(10, 25, 47, 0.10) 72%,
        rgba(10, 25, 47, 0.00) 100%
    ) !important;
}

/* Full-height split content wrapper */
.hplc-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding-top: 0;
    gap: 0;
}

/* Left text column — centred vertically */
.hplc-left {
    flex: 0 0 48%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 60px; /* lifted the whole block */
    padding-bottom: 60px;
}

.hplc-title {
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -2px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: fadeUp 0.8s ease forwards 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.hplc-title-red {
    color: #D32F2F;
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-style: normal;
    font-size: 5.5rem;
    letter-spacing: -3px;
    line-height: 1.0;
}

.hplc-desc {
    font-size: 1.08rem;
    font-weight: 300;
    color: rgba(255,255,255,0.85);
    line-height: 2.0;
    max-width: 460px;
    margin-bottom: 32px; /* reduced to lift CTA higher */
    animation: fadeUp 0.8s ease forwards 0.55s;
    opacity: 0;
    transform: translateY(20px);
}

.hplc-btn {
    display: inline-block;
    padding: 16px 38px;
    background-color: #D32F2F;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    width: fit-content;
    align-self: flex-start;
    transition: background-color 0.3s ease, transform 0.2s ease;
    animation: fadeUp 0.8s ease forwards 0.75s;
    opacity: 0;
    transform: translateY(20px);
}

.hplc-btn:hover {
    background-color: #B71C1C;
    transform: translateY(-2px);
}

.hplc-link-secondary {
    margin-top: 20px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    animation: fadeUp 0.8s ease forwards 0.85s;
    opacity: 0;
    transform: translateY(20px);
}

.hplc-link-secondary::after {
    content: '→';
    font-size: 1.1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.hplc-link-secondary:hover {
    color: rgba(255, 255, 255, 0.95);
    text-decoration-color: rgba(255, 255, 255, 0.5);
}

.hplc-link-secondary:hover::after {
    transform: translateX(4px);
}

/* Right column — hidden */
.hplc-right { display: none; }

/* ── Product wrapper ── absolutely positioned on the slide ── */
.hplc-product-wrap {
    position: absolute;
    right: -2%; /* shifted for scale */
    bottom: 4%;
    height: 96%;
    width: auto;
    max-width: 62%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 3;
    animation: hplcImgIn 1.2s cubic-bezier(0.22,1,0.36,1) forwards 0.5s;
    opacity: 0;
    transform: translateY(30px);
}

/* Substantial backlight radial glow BEHIND the machines — clearly visible depth */
.hplc-product-wrap::before {
    content: '';
    position: absolute;
    inset: -15% -22%;
    background: radial-gradient(
        ellipse 70% 65% at 55% 55%,
        rgba(120, 180, 255, 0.32) 0%,
        rgba(40, 80, 160, 0.15) 38%,
        transparent 72%
    );
    z-index: 0;
    pointer-events: none;
    filter: blur(35px);
}

/* Elliptical contact shadow ON the floor beneath the machines — deepened */
.hplc-product-wrap::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-48%);
    width: 82%;
    height: 36px;
    background: radial-gradient(
        ellipse 100% 100% at 50% 50%,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.45) 55%,
        transparent 100%
    );
    filter: blur(14px);
    z-index: 2;
    pointer-events: none;
}

/* The machine image itself — High-End Clinical Look (Original Grey) */
.hplc-product-img {
    position: relative;
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: right bottom;
    z-index: 1;
    filter: 
        brightness(1.06) 
        contrast(1.28) 
        saturate(0.55) /* keeping the base grey neutral and clean */
        drop-shadow(40px 60px 80px rgba(0,0,0,0.78)) /* deep directional grounding */
        drop-shadow(0 15px 30px rgba(0,0,0,0.4)); /* subtle underside grounding shadow */
}

@keyframes hplcImgIn {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Watermark bottom-right */
.hplc-watermark {
    position: absolute;
    bottom: 30px;
    right: 60px;
    z-index: 10;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 5px;
    color: rgba(255,255,255,0.15);
    text-transform: uppercase;
}

/* Reset animations for inactive states */
.slide:not(.active) .hplc-title,
.slide:not(.active) .hplc-desc,
.slide:not(.active) .hplc-btn,
.slide:not(.active) .hplc-link-secondary,
.slide:not(.active) .hplc-product-wrap {
    animation: none;
    opacity: 0;
    transform: translateY(30px);
}

/* Re-trigger animations when slide becomes active */
.hplc-slide.active .hplc-title {
    animation: fadeUp 0.8s ease forwards 0.3s;
}

.hplc-slide.active .hplc-desc {
    animation: fadeUp 0.8s ease forwards 0.55s;
}

.hplc-slide.active .hplc-btn {
    animation: fadeUp 0.8s ease forwards 0.75s;
}

.hplc-slide.active .hplc-link-secondary {
    animation: fadeUp 0.8s ease forwards 0.85s;
}

.hplc-slide.active .hplc-product-wrap {
    animation: hplcImgIn 1.2s cubic-bezier(0.22,1,0.36,1) forwards 0.5s;
}

/* Responsive */
@media (max-width: 1024px) {
    .hplc-title { font-size: 4rem; }
    .hplc-product-wrap { height: 75%; max-height: 480px; }
}

@media (max-width: 768px) {
    .hplc-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        height: 100%;
    }
    .hplc-left {
        flex: 0 0 auto;
        max-width: 100%;
        padding-top: 85px;
        padding-bottom: 0;
        z-index: 5;
    }
    .hplc-title { font-size: 2rem; letter-spacing: -0.5px; margin-bottom: 12px; }
    .hplc-title-red { font-size: 2.3rem; letter-spacing: -1px; }
    .hplc-desc {
        font-size: 0.82rem;
        line-height: 1.6;
        max-width: 100%;
        margin-bottom: 14px;
    }
    .hplc-btn {
        padding: 11px 22px;
        font-size: 0.72rem;
        letter-spacing: 1.5px;
    }
    .hplc-link-secondary {
        font-size: 0.75rem;
        margin-top: 8px;
    }
    /* Product: cinematic full-bleed crop at bottom half */
    .hplc-product-wrap {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        transform: none;
        max-width: 100%;
        width: 100%;
        height: 50%;
        display: block;
        z-index: 3;
        overflow: hidden;
    }
    .hplc-product-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 40% top;
        filter: 
            brightness(1.15) 
            contrast(1.15) 
            saturate(0.45);
    }
    .hplc-badge { display: none; }
    .hplc-watermark { display: none; }
    .hplc-product-wrap::before { display: none; }
    .hplc-product-wrap::after { display: none; }
    /* Vertical gradient: solid navy top → transparent bottom to reveal product */
    .hplc-slide::after {
        background: linear-gradient(
            180deg,
            rgba(8, 18, 38, 0.97) 0%,
            rgba(8, 18, 38, 0.92) 35%,
            rgba(8, 18, 38, 0.55) 55%,
            rgba(8, 18, 38, 0.1) 80%,
            transparent 100%
        ) !important;
    }
}

@media (max-width: 480px) {
    .hplc-left {
        padding-top: 80px;
    }
    .hplc-title { font-size: 1.8rem; }
    .hplc-title-red { font-size: 2rem; }
    .hplc-desc {
        font-size: 0.82rem;
        line-height: 1.65;
        max-width: 90%;
        margin-bottom: 16px;
    }
    .hplc-btn {
        padding: 10px 20px;
        font-size: 0.7rem;
    }
    .hplc-link-secondary {
        font-size: 0.75rem;
    }
    .hplc-badge { display: none; }

}



/* --- Section Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    position: relative;
}

.section-subtitle::after {
    display: none;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

/* --- Ultra Modern Corporate Section --- */

.modern-vision {
    min-height: 50vh;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

/* Elevation shadow — simulates hero sitting above the white section */
.modern-vision::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.14), transparent);
    pointer-events: none;
    z-index: 0;
}

/* Modern Abstract Visual Backing */
.modern-vision::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(10, 25, 47, 0.03) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 0;
}

.modern-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.modern-content {
    flex: 1;
    min-width: 0;
    max-width: 600px;
    text-align: left;
}

.modern-kicker {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.modern-title {
    font-size: 2.5rem; /* Exactly 40px as requested */
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--primary-blue);
    margin-bottom: 25px;
}

.vision-quote {
    background: rgba(10, 25, 47, 0.04);
    border-left: 4px solid var(--primary-red);
    padding: 20px 25px;
    margin-bottom: 25px;
    border-radius: 0 8px 8px 0;
}

.vision-quote p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 0;
    font-style: italic;
    line-height: 1.6;
}

.modern-text {
    font-size: 1.15rem;
    line-height: 1.4;
    font-weight: 400;
}

.mission-hooks {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mission-hooks li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 16px !important;
    list-style: none !important;
    /* margin removed — gap on parent handles spacing */
}

.mission-hooks li::before {
    display: none !important;
    content: none !important;
}

.mission-icon {
    flex-shrink: 0;
    width: 32px; /* Increased back for better visibility with custom PNGs */
    height: 32px;
    margin-top: 6px; /* Optimized for top-alignment with bold heading */
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mission-text {
    flex: 1;
}

.mission-text strong {
    color: var(--primary-blue);
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
}

.mission-text p, .mission-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-main);
}

/* Clean Typography Stat */
.vision-typography-stat {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.typo-stat-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 15px 0;
    border-left: 4px solid var(--primary-red);
    padding-left: 15px;
}

.typo-number-group {
    display: flex;
    align-items: flex-start;
}

.typo-number {
    font-size: 11rem;
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -6px;
    color: var(--primary-blue);
}

.typo-plus {
    font-size: 4.5rem;
    color: var(--primary-red);
    font-weight: 800;
    margin-top: 10px;
}

.typo-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.typo-highlight {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #666; /* Grey restored */
    margin-bottom: 2px;
    line-height: 1;
}

.typo-desc {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.3;
    max-width: 200px;
}

/* --- Unified Institutional Sections (Stats + Visit) --- */
.immersive-stats-section, 
.visit-us-section {
    position: relative;
    padding: 80px 0; /* Increased for symmetrical breathing room and expensive look */
    overflow: hidden;
    background-color: #0A192F; /* Baseline Navy */
}

.stats-background-image {
    position: absolute;
    top: -15%; /* Room for parallax travel */
    left: 0;
    width: 100%;
    height: 130%; /* Oversized for parallax travel */
    background-size: cover;
    background-position: center;
    opacity: 0.35; /* Professional depth */
    z-index: 1;
    filter: saturate(0.3) brightness(1.1);
    will-change: transform;
}

.stats-overlay,
.visit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stats-overlay {
    /* Significantly reduced institutional gradient for maximum transparency */
    background: linear-gradient(180deg, rgba(10, 25, 47, 0.4) 0%, rgba(10, 25, 47, 0.62) 100%);
    z-index: 2;
}

.visit-overlay {
    /* Horizontal Photographic Reveal: Navy on Left for card clarity, Transparent on Right */
    background: linear-gradient(90deg, rgba(10, 25, 47, 0.85) 0%, rgba(10, 25, 47, 0.4) 50%, transparent 100%);
    z-index: 2;
}

.immersive-stats-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    /* Sits above the overlay */
}

.immersive-stat-block {
    flex: 1;
    min-width: 250px;
    max-width: 320px;
    text-align: center;
    color: var(--white);
    padding: 10px;
    /* Reduced internal padding to keep it compact */
}

.stat-icon-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    /* Substantially shrunk from 65px to reverse information asymmetry */
    height: 35px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    margin-bottom: 15px;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.stat-icon {
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.5);
    /* Muted out by default */
    transition: color 0.4s ease;
}

.immersive-stat-block:hover .stat-icon-wrapper {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.immersive-stat-block:hover .stat-icon {
    color: var(--white);
}

.immersive-stat-number-wrapper {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 10px;
}

.immersive-stat-number {
    font-size: 4rem;
    /* Slightly smaller for the compact layout */
    font-weight: 800;
    line-height: 1;
    color: var(--white);
    /* Crisp white numbers for pop against dark background */
    letter-spacing: -1px;
    font-variant-numeric: tabular-nums;
}

.immersive-stat-suffix {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    line-height: 1;
    margin-left: 5px;
}

.immersive-stat-label {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
}

/* --- Brands Marquee Section --- */
.brands-marquee-section {
    padding: 80px 0;
    background-color: var(--white);
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.brands-marquee-section .section-subtitle {
    margin-right: 0 !important;
}

.brands-marquee-section .section-subtitle::after {
    right: -50px;
}

.marquee-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 0;
    margin-top: 50px;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    width: fit-content;
    animation: scroll-marquee 40s linear infinite;
}

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

.marquee-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 60px;
    padding-right: 60px;
    /* spacing between groups */
}

.brand-logo {
    max-width: 140px;
    max-height: 70px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

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

.logo-black-bg {
    background-color: #000000;
    padding: 5px;
    border-radius: 4px;
}

@keyframes scroll-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
        /* Moves exactly half the track width per loop */
    }
}

/* --- High-Authority Navy Map Info Card --- */
.map-info-card {
    position: absolute;
    top: 40px; /* Floating vertically */
    left: 5%;  /* Floating horizontally */
    width: 320px;
    background: #ffffff;
    border: none;
    border-radius: 24px; /* More rounded as requested */
    padding: 24px;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(11, 27, 50, 0.15);
    color: #0B1B32;
    text-align: left;
}

.card-tag {
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.card-address {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.85;
    margin-bottom: 20px;
}

/* Interactive Actions (FontAwesome Styling) */
.card-actions-icons {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(11, 27, 50, 0.1);
}

.card-actions-icons a {
    color: rgba(11, 27, 50, 0.5);
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.card-actions-icons a:hover {
    color: var(--primary-red);
    transform: translateY(-3px);
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.rating-link {
    text-decoration: none;
    color: inherit;
}

.rating {
    font-size: 0.9rem;
    color: #FFD700;
}

.review-count {
    color: rgba(11, 27, 50, 0.45);
    margin-left: 5px;
}

.card-cta .card-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--primary-red);
    color: var(--white);
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.card-cta .card-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.map-container {
    width: 100%;
    position: relative;
    z-index: 5;
    margin-top: 20px;
    filter: drop-shadow(0 -10px 20px rgba(0, 0, 0, 0.05));
}

.map-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #0B1B32;
    mix-blend-mode: color;
    pointer-events: none;
    z-index: 1;
}

/* Clip the internal Google card (The white box in top-left of iframe) */
.map-iframe-clip {
    overflow: hidden;
    height: 550px;
    position: relative;
    border-radius: 0; /* Let section/container handle rounding if needed */
}

.map-iframe-clip iframe {
    margin-top: -150px;
    height: 700px; /* 550 + 150 */
    width: 100%;
    display: block;
}

@media (max-width: 768px) {
    /* Map container: relative so card can overlay the map */
    .map-container {
        margin-top: 0;
    }

    /* Small corner card overlaid on the map */
    .map-info-card {
        position: absolute !important;
        top: 24px !important;
        right: 20px !important;
        left: auto !important;
        width: 205px;
        padding: 16px 18px;
        border-radius: 20px; /* More rounded on mobile too */
        box-shadow: 0 20px 40px rgba(11, 27, 50, 0.15);
        z-index: 20;
        background: #ffffff !important;
        color: #0B1B32 !important;
        display: block;
        border: none;
    }
    .card-tag {
        font-size: 0.72rem;
        font-weight: 800;
        margin-bottom: 4px;
        color: #D32F2F !important;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    .card-address {
        font-size: 0.76rem;
        line-height: 1.5;
        margin-bottom: 18px;
        color: #0B1B32 !important;
        font-weight: 600;
        opacity: 1;
    }
    /* Hide icons row and rating on mobile corner card */
    .card-actions-icons,
    .card-footer {
        display: none;
    }
    .card-cta {
        margin-top: 0;
    }
    .card-cta .card-btn {
        padding: 11px 14px;
        font-size: 0.68rem;
        letter-spacing: 1.2px;
        border-radius: 6px;
        font-weight: 800;
        text-transform: uppercase;
        text-align: center;
        background: #D32F2F !important;
        color: #ffffff !important;
        display: block;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
    }

    /* Clip the Google native info card at top of iframe */
    .map-iframe-clip {
        overflow: hidden;
        height: 400px !important;
        position: relative;
    }
    .map-iframe-clip iframe {
        margin-top: -210px !important; /* Hiding map card */
        height: 1020px !important; /* Pin at 510; 510-210 = 300px from top (3/4 down the clip) */
        margin-left: -50px;
        width: calc(100% + 50px);
        display: block;
    }

    /* Home page section proportions */
    .features-section {
        padding: 50px 0;
    }
    .feature-card {
        padding: 24px;
    }
    .feature-card h4 {
        font-size: 1.2rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .section-subtitle {
        font-size: 0.72rem;
        letter-spacing: 2px;
    }
    .immersive-stats-section,
    .visit-us-section {
        padding: 60px 0;
    }
    .brands-marquee-section {
        padding: 30px 0 20px;
    }

    .brands-marquee-section .marquee-container {
        margin-top: 20px;
    }
}

@media (max-width: 992px) {
    .immersive-stats-section {
        padding: 80px 0;
    }

    .immersive-stats-container {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .immersive-stats-container {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-around;
        gap: 4px;
    }

    .immersive-stat-block {
        flex: 1;
        min-width: 0;
        max-width: none;
        width: auto;
        margin-bottom: 0;
        padding: 6px 2px;
    }

    .immersive-stat-number {
        font-size: 2.2rem !important;
        letter-spacing: -0.5px;
    }

    .immersive-stat-suffix {
        font-size: 1.4rem !important;
    }

    .immersive-stat-label {
        font-size: 0.58rem;
        letter-spacing: 0.5px;
    }

    .stat-icon-wrapper {
        width: 26px;
        height: 26px;
        margin-bottom: 8px;
    }

    .stats-background-image {
        background-attachment: scroll;
        /* Disable parallax on mobile for performance */
    }
}

@media (max-width: 1024px) {
    .modern-container {
        flex-direction: column;
        text-align: center;
    }

    .modern-content {
        text-align: center;
    }

    .vision-map {
        justify-content: center;
        max-width: 100%;
        margin-top: 40px;
    }
}

@media (max-width: 1024px) {
    .modern-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .modern-vision {
        padding: 40px 0;
    }

    .modern-title {
        font-size: 2rem !important;
        letter-spacing: -0.5px;
    }

    .modern-text {
        font-size: 1rem;
    }

    .mission-hooks {
        text-align: left;
    }

    .typo-number {
        font-size: 5.5rem;
        letter-spacing: -3px;
    }

    .typo-plus {
        font-size: 2rem;
        margin-top: 6px;
    }

    .typo-highlight {
        font-size: 1.4rem;
    }

    .typo-desc {
        font-size: 0.85rem;
        max-width: 140px;
    }

    .typo-stat-wrapper {
        padding-left: 12px;
        gap: 3px;
    }

    .vision-typography-stat {
        justify-content: center;
    }
}

/* --- Animations & Intro Enhancements --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
    backface-visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.2, 0, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(30px);
    will-change: transform, opacity;
    backface-visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.2, 0, 0.2, 1) 0.2s, transform 0.8s cubic-bezier(0.2, 0, 0.2, 1) 0.2s;
}

.fade-in-up.animate,
.fade-in-left.animate {
    opacity: 1;
    transform: translate(0, 0);
}

/* Enhancing the stat box to be innovative */
.stat-box.glow-effect {
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.9), rgba(26, 54, 93, 0.95));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(220, 20, 60, 0.15), inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.stat-box.glow-effect:hover {
    box-shadow: 0 0 50px rgba(220, 20, 60, 0.3), inset 0 0 30px rgba(255, 255, 255, 0.1);
    transform: translateY(-15px) scale(1.02);
}


/* --- Corporate Footer --- */
.site-footer {
    background-color: #0a1424;
    /* Even deeper than primary blue for visual grounding */
    color: #a0aec0;
    padding: 40px 0 0 0; /* Reduced from 80px */
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.5fr;
    gap: 30px;
    margin-bottom: 60px;
}

/* Brand Column */
.footer-logo-container {
    display: inline-block;
    background-color: var(--white);
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.footer-logo {
    height: 45px;
    display: block;
}

.social-icon:hover {
    color: var(--white) !important;
}

.footer-about {
    line-height: 1.8;
    max-width: 400px;
}

/* Headings */
.footer-heading {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-red);
}

/* Links */
.footer-links,
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

/* Contact List */
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-red);
    flex-shrink: 0;
    margin-top: 3px; /* Precise alignment with text */
    stroke-width: 2.5;
}

.footer-icon svg,
svg.footer-icon {
    width: 20px;
    height: 20px;
}

/* --- Standard Categorized Catalog (products.html) --- */
.catalog-page {
    background-color: #f1f5f9; /* Contrast background to make white cards pop */
    padding: 80px 0 100px;
}

.catalog-section {
    padding: 0;
    margin-bottom: 80px;
}

.catalog-section-header {
    position: sticky;
    top: 90px; /* Aligns perfectly below minified header */
    z-index: 900;
    padding: 20px 0;
    margin-bottom: 40px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

.catalog-section-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Red Variant Sticky Header */
.catalog-section.header-red .catalog-section-header {
    background: var(--primary-red);
    color: white;
}

.catalog-section.header-red .catalog-section-title {
    color: white;
}

.catalog-section.header-red .catalog-section-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Blue Variant Sticky Header */
.catalog-section.header-blue .catalog-section-header {
    background: var(--primary-blue);
    color: white;
}

.catalog-section.header-blue .catalog-section-title {
    color: white;
}

.catalog-section.header-blue .catalog-section-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.catalog-section-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -1px;
    text-transform: capitalize;
}

.catalog-section-count {
    background: rgba(10, 25, 47, 0.04);
    color: var(--primary-blue);
    padding: 10px 22px;
    border-radius: 60px;
    font-size: 0.8rem;
    font-weight: 750;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border: 1px solid rgba(10, 25, 47, 0.08);
    transition: all 0.3s ease;
}

.catalog-section-header:hover .catalog-section-count {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

.simple-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
}

.simple-card {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    position: relative;
    top: 0;
}

.simple-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.simple-card:hover {
    transform: translateY(-8px);
    border-color: rgba(211, 47, 47, 0.3);
}

.simple-card:hover::before {
    opacity: 1;
}

.simple-card-image-wrapper {
    width: 100%;
    height: 240px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

/* Card Image Slider Styles */
.card-image-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-image {
    max-width: 85%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    color: var(--text-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    opacity: 0;
    z-index: 10;
}

.card-image-slider:hover .slider-btn {
    opacity: 1;
}

.slider-btn:hover {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

.prev-btn {
    left: 8px;
}

.next-btn {
    right: 8px;
}

.simple-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.simple-card:hover .simple-card-image,
.simple-card:hover .placeholder-logo {
    transform: scale(1.08);
}

/* Fallback Logo Styling */
.placeholder-logo {
    width: 45%;
    opacity: 0.08;
    filter: grayscale(100%);
    object-fit: contain;
    transition: transform 0.6s ease;
}

.simple-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.simple-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
    line-height: 1.4;
}

.simple-card-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.simple-card-action {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.simple-card-action svg {
    transition: transform 0.3s ease;
}

.simple-card:hover .simple-card-action svg {
    transform: translateX(6px);
}

/* --- Premium Catalog Search Bar --- */
/* --- Catalog Toolbar (Search + Category Filter) --- */
.catalog-toolbar {
    position: sticky;
    top: 90px;
    z-index: 99;
    background: #f8fafc; /* Subtle tint for separation */
    padding: 24px 0 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-top: 0;
}

.toolbar-search {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 600px;
    margin-bottom: 14px;
}

.toolbar-search-icon {
    position: absolute;
    left: 16px;
    color: #94a3b8;
    z-index: 1;
}

.toolbar-search-input {
    width: 100%;
    padding: 12px 20px 12px 46px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    color: var(--primary-blue);
    background: #edf2f7; /* Darker input background */
    outline: none;
    transition: all 0.3s ease;
}

.toolbar-search-input::placeholder {
    color: #94a3b8;
    font-weight: 300;
}

.toolbar-search-input:focus {
    border-color: var(--primary-red);
    background: var(--white);
    box-shadow: 0 2px 12px rgba(211, 47, 47, 0.08);
}

.toolbar-pills {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.toolbar-pills::-webkit-scrollbar {
    display: none;
}

.toolbar-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 6px;
    flex-shrink: 0;
}

.category-pill {
    flex-shrink: 0;
    padding: 8px 18px;
    border: none;
    border-radius: 50px;
    background: #f1f5f9;
    color: #475569;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-pill:hover {
    background: rgba(211, 47, 47, 0.08);
    color: var(--primary-red);
}

.category-pill.active {
    background: var(--primary-red);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

/* --- Brand Color Accents --- */
.catalog-section-header {
    margin-bottom: 40px;
    padding-bottom: 15px;
    padding-left: 16px;
    border-bottom: 2px solid #e2e8f0;
    border-left: 4px solid var(--primary-red);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 15px;
}

.simple-card:hover {
    transform: translateY(-8px);
    border-color: rgba(211, 47, 47, 0.3);
}

.simple-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
    line-height: 1.4;
}

/* --- Product Card CTA Button --- */
.simple-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding: 10px 20px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.simple-card-cta:hover {
    background: var(--primary-red);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
    transform: translateY(-1px);
}

.simple-card-cta svg {
    transition: transform 0.3s ease;
}

.simple-card-cta:hover svg {
    transform: translateX(3px);
}

/* Footer Bottom Bar */
.footer-bottom {
    background-color: #060c17;
    /* Ultra dark anchor */
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--white);
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .brand-column {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px 20px;
    }

    .brand-column {
        grid-column: 1 / -1;
    }

    .contact-column {
        grid-column: 1 / -1;
    }

    .site-footer {
        padding: 30px 0 0 0;
    }

    .footer-grid {
        margin-bottom: 30px;
    }

    .footer-heading {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .footer-links li {
        margin-bottom: 6px;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-logo-container {
        margin-bottom: 12px;
    }

    .footer-about {
        font-size: 0.82rem;
        line-height: 1.5;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* --- WhatsApp Floating Button — Premium Glow --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 58px;
    height: 58px;
    background: linear-gradient(145deg, #2ecc71, #128c7e);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow:
        0 0 0 0 rgba(37, 211, 102, 0.4),
        0 8px 32px rgba(18, 140, 126, 0.45),
        inset 0 1px 1px rgba(255,255,255,0.25);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.2, 1, 0.2, 1);
}

.whatsapp-float.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    animation: wa-glow 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.12) translateY(-4px);
    box-shadow:
        0 0 0 6px rgba(37, 211, 102, 0.15),
        0 16px 40px rgba(18, 140, 126, 0.55),
        inset 0 1px 1px rgba(255,255,255,0.3);
    background: linear-gradient(145deg, #36e87f, #1aaa96);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    fill: currentColor;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
}

/* Glow ring pulse */
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(46, 204, 113, 0.5);
    animation: wa-ring 2.5s ease-in-out infinite;
}

/* Outer pulse halo */
.whatsapp-float::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46,204,113,0.25) 0%, transparent 70%);
    animation: wa-halo 2.5s ease-in-out infinite;
    z-index: -1;
}

@keyframes wa-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.35), 0 8px 32px rgba(18,140,126,0.45), inset 0 1px 1px rgba(255,255,255,0.25); }
    50%       { box-shadow: 0 0 0 8px rgba(37,211,102,0.08), 0 12px 40px rgba(18,140,126,0.55), inset 0 1px 1px rgba(255,255,255,0.25); }
}

@keyframes wa-ring {
    0%   { transform: scale(1);   opacity: 0.7; }
    50%  { transform: scale(1.25); opacity: 0.2; }
    100% { transform: scale(1);   opacity: 0.7; }
}

@keyframes wa-halo {
    0%   { transform: scale(1);  opacity: 0.4; }
    50%  { transform: scale(2);  opacity: 0; }
    100% { transform: scale(1);  opacity: 0.4; }
}

@keyframes whatsapp-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
}

/* --- Why Choose Us Redesign --- */
.features-section {
    padding: 120px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    position: relative;
    padding: 50px;
    background: #f8fafc;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--white);
    box-shadow: 0 30px 60px -12px rgba(10, 25, 47, 0.12);
    border-color: rgba(211, 47, 47, 0.2);
}

.feature-number {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 10rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(10, 25, 47, 0.03);
    pointer-events: none;
    user-select: none;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-number {
    color: rgba(211, 47, 47, 0.05);
    transform: scale(1.1) rotate(-5deg);
}

.feature-card h4 {
    font-size: 1.6rem;
    color: var(--primary-blue);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    position: relative;
}

.feature-card h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.feature-card:hover h4::after {
    width: 60px;
}

.feature-card p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
}

/* --- Qiagen Style Product Search --- */
.hero-search-input {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-search-input:focus {
    box-shadow: 0 15px 35px rgba(0,0,0,0.3) !important;
    transform: translateY(-2px);
}

.popular-link {
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 1px;
}

.popular-link:hover {
    color: var(--white) !important;
    border-bottom-color: var(--white);
    opacity: 1;
}

.breadcrumbs a:hover {
    color: white;
}

/* --- Category Pill Refinement --- */
.filter-section {
    position: relative;
    z-index: 100;
    padding: 30px 0 !important; /* Reduced but optimized */
    background: #ffffff !important;
    overflow: visible;
}

.category-scroll-wrapper {
    padding: 15px 0; /* Extra vertical room to prevent hover clipping */
    margin: -15px 0;
    overflow-x: auto;
    overflow-y: visible; /* CRITICAL: Allows hover lift to show */
    scrollbar-width: none;
}

.filter-section .toolbar-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    overflow: visible; /* Ensuring no internal clipping on translate */
}

.filter-section .category-pill {
    background: white;
    color: #475569;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.filter-section .category-pill:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
}

.filter-section .category-pill.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 10px 20px -5px rgba(10, 25, 47, 0.3);
}

@media (max-width: 768px) {
    .filter-section .category-pill {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .feature-card {
        padding: 40px;
    }
}

/* --- Mobile Optimization Overrides (Temporarily Disabled - Stored) ---
@media (max-width: 768px) {
    .header-container {
        height: 65px !important;
    }
    .logo, .logo-img {
        height: 45px !important;
        width: auto !important;
    }
    .logo-img {
        max-width: 120px !important;
    }
    .logo {
        padding: 5px 10px !important;
    }

    h1, .hero-title, .modern-title {
        font-size: 2.1rem !important;
        letter-spacing: -0.5px !important;
        line-height: 1.2 !important;
    }
    h2, .section-title {
        font-size: 1.6rem !important;
    }
    .page-hero h1 {
        font-size: 1.9rem !important;
    }

    .container {
        padding: 0 16px !important;
    }
    section {
        padding: 45px 0 !important;
    }
    .page-hero, .page-header {
        padding: 100px 0 50px 0 !important;
    }

    .hero-search-wrapper {
        padding: 0 10px;
        margin-bottom: 25px !important;
    }
    .hero-search-input {
        padding: 14px 20px 14px 55px !important;
        font-size: 0.95rem !important;
    }
    .hero-search-wrapper svg {
        left: 25px !important;
    }
    
    .filter-section {
        padding: 25px 0 !important;
    }
    .filter-section .toolbar-pills {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        padding: 10px 16px !important;
        margin: 0 -16px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 8px !important;
    }
    .filter-section .toolbar-pills::-webkit-scrollbar {
        display: none;
    }
    .filter-section .category-pill {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        padding: 10px 16px !important;
        font-size: 0.8rem !important;
    }

    .immersive-stat-number {
        font-size: 2.75rem !important;
    }
    .immersive-stat-suffix {
        font-size: 1.5rem !important;
    }

    .whatsapp-float {
        bottom: 25px !important;
        right: 20px !important;
        width: 55px !important;
        height: 55px !important;
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4) !important;
    }
}

@media (max-width: 480px) {
    h1, .hero-title, .modern-title {
        font-size: 2rem !important;
    }
    .logo-img {
        max-width: 120px !important;
    }
}
*/
/* --- Professional Contact Page Styles --- */
.contact-section {
    padding: 120px 0;
    background: radial-gradient(circle at top right, rgba(211, 47, 47, 0.03), transparent 400px),
                radial-gradient(circle at bottom left, rgba(10, 25, 47, 0.03), transparent 400px);
    background-color: #f8fafc;
}

.contact-section .container {
    max-width: 1400px; /* Expands to take up more horizontal space */
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr; /* More space for the form */
    gap: 40px;
    align-items: stretch; /* Allow height matching */
}

.contact-title-main {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 25px;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 500px;
}

/* Consultation Image Card */
.contact-image-card {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 30px 60px rgba(10, 25, 47, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    height: 300px;
}

.contact-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%; /* Targeted framing */
}

/* Info Cards Refinement */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(10, 25, 47, 0.04);
    border: 1px solid rgba(10, 25, 47, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(10, 25, 47, 0.08);
    border-color: rgba(211, 47, 47, 0.2);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.info-card-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(211, 47, 47, 0.1);
    color: var(--primary-red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card h3 {
    font-size: 1.25rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin: 0;
}

.info-details p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
    margin: 5px 0;
}

.info-details a {
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s;
}

.info-details a:hover {
    opacity: 0.8;
}

/* Premium Innovative Form Design */
.contact-form-card {
    position: relative;
    z-index: 10;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    padding: 60px;
    border-radius: 40px;
    box-shadow: 
        0 30px 60px rgba(10, 25, 47, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    border: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.form-top-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-end;
}

#innovativeForm {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 80px rgba(10, 25, 47, 0.12);
}

.form-header-group {
    margin-bottom: 0;
}

.form-header-group h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.form-header-group p {
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
}

/* Floating Label Groups */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 10px;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 18px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid #e2e8f0;
    border-radius: 0;
    font-family: inherit;
    font-size: 1.05rem;
    color: var(--primary-blue);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    outline: none;
}

.form-label {
    position: absolute;
    left: 0;
    top: 18px;
    font-size: 1.05rem;
    color: #94a3b8;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-weight: 500;
}

/* Animation for Floating Labels */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label,
.form-textarea:focus ~ .form-label,
.form-textarea:not(:placeholder-shown) ~ .form-label {
    top: -12px;
    font-size: 0.8rem;
    color: var(--primary-red);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-input:focus, .form-textarea:focus {
    border-bottom-color: var(--primary-red);
}

.form-textarea {
    height: 160px; /* Gently increased height */
    padding-top: 25px;
}

/* Form Trust Footer */
.form-trust-footer {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 500;
}

.trust-item svg {
    opacity: 0.7;
}

.privacy-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: var(--primary-red);
}

/* Inquiry Type Chips */
.inquiry-type-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-blue);
    margin-bottom: 15px;
    opacity: 0.8;
}

.inquiry-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 0;
}

.chip {
    padding: 10px 20px;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chip:hover {
    background: #e2e8f0;
    color: var(--primary-blue);
}

.chip.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 5px 15px rgba(10, 25, 47, 0.2);
}

.form-submit-btn {
    width: 100%;
    padding: 22px;
    background: linear-gradient(135deg, var(--primary-red) 0%, #b91c1c 100%);
    color: var(--white);
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 10px 25px rgba(211, 47, 47, 0.3);
}

.form-submit-btn:hover {
    transform: scale(1.02) translateY(-3px);
    box-shadow: 0 20px 40px rgba(211, 47, 47, 0.4);
}

.form-submit-btn svg {
    transition: transform 0.4s ease;
}

.form-submit-btn:hover svg {
    transform: translate(5px, -5px);
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 80px 20px;
    }
    
    .contact-title-main {
        font-size: 2.5rem;
    }
    
    .contact-form-container {
        padding: 40px 30px;
    }
    
    .contact-image-card {
        height: 250px;
    }
}
    
    

/* Developer Signature Styling */
.developer-signature {
    font-size: 0.6rem;
    color: #8b9bb4; /* Replaced opacity with a solid dimmed color that passes contrast */
    font-style: italic;
    letter-spacing: 0.8px;
    margin-left: 12px;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: default;
    text-transform: uppercase;
    font-weight: 400; /* Increased font weight slightly for readability */
    vertical-align: middle;
}

.developer-signature:hover {
    color: #ff6b6b;
    letter-spacing: 1.2px;
    transform: translateX(4px);
}

.developer-signature span {
    font-weight: 800;
    color: #ef5350; /* Lighter red to pass WCAG 4.5:1 contrast on dark background */
}

@media (max-width: 768px) {
    .developer-signature {
        display: block;
        margin-left: 0;
        margin-top: 5px;
    }
}

/* --- Crossfade Slider System --- */
.card-image-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: transparent;
}

.product-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 3.2s ease-in-out;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.0);
}

.product-card-image.active {
    opacity: 1;
    z-index: 2;
}

/* Sophisticated Ken Burns zoom on active hovered image */
.product-card-image.active.zoom {
    transform: scale(1.12);
}

/* --- Mobile Desktop-Aesthetic Scaling (No Hamburger) --- */
@media (max-width: 992px) {
    .header-container {
        padding: 0 10px;
    }
    .logo img {
        height: 60px;
        max-width: 120px;
    }
    .nav-list {
        gap: 12px;
        flex-wrap: nowrap;
    }
    .nav-list a {
        font-size: 0.85rem;
        white-space: nowrap;
    }
    .nav-list a.btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 5px;
    }
    .logo {
        padding: 5px 8px;
        height: auto;
        border-radius: 0 0 10px 10px;
    }
    .header.minified .logo {
        height: auto;
        padding: 5px;
    }
    .logo img, .header.minified .logo img {
        height: 35px;
        max-width: 80px;
    }
    .nav-list {
        gap: 5px;
    }
    .nav-list a {
        font-size: 0.55rem;
    }
    .nav-list a.btn {
        padding: 5px 8px;
        font-size: 0.55rem;
    }
    .slide-title {
        font-size: 1.8rem;
    }
    .slide-subtitle {
        font-size: 0.8rem;
    }
    .slide-desc {
        font-size: 0.85rem;
    }
    .footer-grid {
        gap: 15px;
        grid-template-columns: 1fr 1fr; /* Stack into 2x2 grid for readability */
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Premium HPLC Showcase */
.showcase-page {
    background: #ffffff;
    color: #1a202c;
    font-family: 'Inter', sans-serif;
}

.showcase-page .hero-showcase {
    position: relative;
    min-height: 100vh;
    padding: 160px 0 100px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.showcase-page .hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff; /* Flat white for better blending */
    z-index: 1;
}

.showcase-page .hero-bg-image {
    position: absolute;
    top: 0;
    right: -10%;
    width: 70%;
    height: 100%;
    opacity: 0.12;
    filter: grayscale(1) contrast(1.1);
    object-fit: cover;
    z-index: 0;
    mask-image: linear-gradient(to left, black, transparent);
    -webkit-mask-image: linear-gradient(to left, black, transparent);
}

.showcase-page .showcase-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: center;
}

.showcase-page .showcase-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 30px;
    color: #1a202c;
    letter-spacing: -0.03em;
}

.showcase-page .showcase-content p {
    font-size: 1.25rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 48px;
    max-width: 520px;
}

.showcase-page .product-visuals {
    position: relative;
    height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-page .product-main {
    position: relative;
    width: 85%;
    z-index: 10;
    filter: contrast(1.1) brightness(1.05) drop-shadow(0 40px 80px rgba(0,0,0,0.12));
    mix-blend-mode: multiply;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    mask-image: radial-gradient(circle at center, black 60%, transparent 95%);
    -webkit-mask-image: radial-gradient(circle at center, black 60%, transparent 95%);
}

.showcase-page .product-floating {
    position: absolute;
    mix-blend-mode: multiply;
    filter: contrast(1.1) brightness(1.05) drop-shadow(0 25px 50px rgba(0,0,0,0.08));
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    mask-image: radial-gradient(circle at center, black 50%, transparent 90%);
    -webkit-mask-image: radial-gradient(circle at center, black 50%, transparent 90%);
}

.showcase-page .p-pcr { top: 5%; right: 5%; width: 38%; z-index: 5; }
.showcase-page .p-qia { bottom: 8%; left: 0%; width: 32%; z-index: 5; }
.showcase-page .p-qiaexpert { top: 15%; left: -8%; width: 28%; z-index: 3; opacity: 0.7; }
.showcase-page .p-qiagen { bottom: 15%; right: -10%; width: 30%; z-index: 3; opacity: 0.7; }

.showcase-page .product-visuals:hover .product-main {
    transform: scale(1.03) translateY(-10px);
}

.showcase-page .product-visuals:hover .product-floating {
    transform: translateY(-20px) rotate(2deg);
}

.showcase-page .cta-group {
    display: flex;
    gap: 25px;
}

.showcase-page .btn-premium {
    padding: 18px 42px;
    background: #1a202c;
    color: white;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.showcase-page .btn-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    background: #2d3748;
}

.showcase-page .btn-outline {
    background: transparent;
    color: #1a202c;
    border: 2px solid #e2e8f0;
    box-shadow: none;
}

.showcase-page .btn-outline:hover {
    background: #f7fafc;
    border-color: #cbd5e1;
    color: #1a202c;
}

@media (max-width: 1200px) {
    .showcase-page .showcase-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .showcase-page .showcase-content {
        order: 2;
        text-align: center;
    }
    .showcase-page .product-visuals {
        order: 1;
        height: 500px;
    }
    .showcase-page .showcase-content p {
        margin-inline: auto;
    }
    .showcase-page .cta-group {
        justify-content: center;
    }
    .showcase-page .hero-bg-image {
        width: 100%;
        right: 0;
        opacity: 0.08;
    }
}

@media (max-width: 768px) {
    .showcase-page .hero-showcase {
        padding: 120px 0 60px;
    }
    .showcase-page .product-visuals {
        height: 400px;
    }
    .showcase-page .product-floating {
        display: none;
    }
    .showcase-page .product-main {
        width: 100%;
    }
}

/* Premium Expert CTA - Editorial Minimalist */
.expert-cta-editorial {
    margin: 100px 0 60px 0 !important;
    padding-top: 80px !important;
    border-top: 1px solid rgba(10, 25, 47, 0.12) !important;
    position: relative;
    z-index: 5;
    clear: both;
}

.expert-cta-editorial h3 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 2.8rem !important;
    font-weight: 800 !important;
    color: #0A192F !important;
    margin: 0 0 20px 0 !important;
    letter-spacing: -1.5px !important;
    line-height: 1.1 !important;
}

.expert-cta-editorial p {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.15rem !important;
    color: #475569 !important;
    line-height: 1.8 !important;
    margin-bottom: 40px !important;
    max-width: 650px !important;
    font-weight: 300 !important;
}

.btn-expert-premium {
    display: inline-block !important;
    color: #0A192F !important;
    text-decoration: none !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    letter-spacing: 2px !important;
    border-bottom: 2px solid #D32F2F !important;
    padding-bottom: 8px !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.btn-expert-premium:hover {
    color: #D32F2F !important;
    padding-bottom: 5px !important;
    border-bottom: 4px solid #D32F2F !important;
    transform: translateY(-2px) !important;
}

@media (max-width: 768px) {
    .expert-cta-editorial {
        margin: 60px 0 40px !important;
        padding-top: 50px !important;
    }
    .expert-cta-editorial h3 {
        font-size: 1.9rem !important;
        letter-spacing: -0.8px !important;
    }
    .expert-cta-editorial p {
        font-size: 1.05rem !important;
        line-height: 1.65 !important;
    }
}

/* =========================================================
   MOBILE CINEMATIC ENTRY — Category Pages
   =========================================================
   Sequence: Full-screen hero → title wipes in → hero
   collapses vertically → red accent line draws across →
   content slides up. Product sections reveal via clip-path
   curtain. Hero background parallaxes on scroll.
   ========================================================= */
@media (max-width: 768px) {

    /* --- Phase 1: Start at full-screen before cinema triggers --- */
    body:not(.mobile-cinema) .page-intro { height: 100vh !important; }
    body:not(.mobile-cinema) .hero-media  { height: 100vh !important; }

    /* --- Smooth collapse: height transitions on cinema trigger --- */
    .page-intro {
        transition: height 1.2s cubic-bezier(0.65, 0, 0.2, 1);
    }
    .hero-media {
        transition: height 1.2s cubic-bezier(0.65, 0, 0.2, 1),
                    width  0.8s cubic-bezier(0.80, 0, 0.2, 1) !important;
    }

    /* --- Hero title: enters from below on page load --- */
    .hero-media-text h1 {
        transform: translateY(35px);
        opacity: 0;
        transition: transform 0.8s 0.15s cubic-bezier(0.22, 1, 0.36, 1),
                    opacity  0.6s 0.15s ease;
    }
    body.mobile-hero-ready .hero-media-text h1 {
        transform: translateY(0);
        opacity: 1;
    }
    /* Subtitle tag line */
    .hero-media-text > div:first-child {
        transform: translateY(15px);
        opacity: 0;
        transition: transform 0.65s 0.05s cubic-bezier(0.22, 1, 0.36, 1),
                    opacity  0.5s  0.05s ease;
    }
    body.mobile-hero-ready .hero-media-text > div:first-child {
        transform: translateY(0);
        opacity: 1;
    }

    /* --- Red accent line draws across the bottom of the hero --- */
    .hero-media::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        height: 3px;
        width: 0;
        background: #D32F2F;
        z-index: 103;
        transition: width 0.65s 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    }
    body.mobile-cinema .hero-media::before { width: 100%; }

    /* --- Scroll indicator exits gracefully --- */
    .scroll-indicator { transition: opacity 0.3s ease; }
    body.mobile-cinema .scroll-indicator { opacity: 0; pointer-events: none; }

    /* --- Content area: hidden then slides up after hero collapse --- */
    .page-intro ~ .register-wrap {
        opacity: 0;
        transform: translateY(55px);
        transition: opacity  1s 0.65s ease,
                    transform 1s 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    }
    body.mobile-cinema .register-wrap {
        opacity: 1;
        transform: translateY(0);
    }

    /* --- Product sections: clip-path curtain reveal (bottom-up wipe) --- */
    .product-section {
        clip-path: inset(0 0 28% 0);
        transition: opacity  0.8s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                    clip-path 0.8s cubic-bezier(0.22, 1, 0.36, 1) !important;
    }
    .product-section:first-of-type { clip-path: inset(0 0 0 0); }
    .product-section.is-visible    { clip-path: inset(0 0 0 0) !important; }

    /* --- Index number slides in from left as accent --- */
    .product-section.is-visible .index-num {
        animation: mbl-slide-left 0.45s 0.05s cubic-bezier(0.22, 1, 0.36, 1) both;
    }
    @keyframes mbl-slide-left {
        from { transform: translateX(-15px); opacity: 0; }
        to   { transform: translateX(0);     opacity: 1; }
    }
}

/* --- Anchor Offset Fix --- */
.product-section {
    scroll-margin-top: 140px;
}

/* --- Search Icon Fix --- */
#jhs-search-li { list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex !important; align-items: center; justify-content: center; }
.jhs-svg-icon { width: 28px !important; height: 28px !important; display: block !important; }

.header.minified #jhs-search-trigger { 
    color: var(--primary-blue) !important; 
    border: 2px solid transparent !important;
}


.header #jhs-search-trigger { 
    color: #ffffff; 
    transition: all 0.4s cubic-bezier(0.2, 1, 0.2, 1); 
    border: 2px solid transparent; 
    min-width: 40px; 
    min-height: 40px;
}


/* --- Prevent Nav Wrapping --- */
.nav-list { flex-wrap: nowrap !important; }
.nav-list li { white-space: nowrap !important; }

#jhs-search-trigger { margin-left: 5px !important; padding: 5px !important; }

/* --- Expand Search Label on Hover --- */
#jhs-search-trigger { gap: 0; transition: all 0.4s cubic-bezier(0.2, 1, 0.2, 1); }
.jhs-svg-icon { transition: transform 0.3s ease; }
#jhs-search-trigger:hover { gap: 10px; }
#jhs-search-trigger:hover .jhs-svg-icon { transform: scale(1.15); }
.jhs-search-label { display: inline-block; max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; transition: all 0.4s cubic-bezier(0.2, 1, 0.2, 1); font-size: 1.05rem; font-weight: 600; line-height: 1; padding-top: 2px; }
#jhs-search-trigger:hover .jhs-search-label { max-width: 90px; opacity: 1; }

/* --- Prevent Search Icon Shrink & Clipping --- */
.jhs-svg-icon { flex-shrink: 0 !important; }
.nav-list { gap: 20px !important; }
.jhs-search-label { color: inherit !important; }

/* ===== Inline Hero Search ===== */
        #jhs-search-wrapper {
            margin-top: 35px;
            max-width: 580px;
            position: relative;
        }
        #jhs-search-bar {
            display: flex;
            align-items: center;
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.25);
            border-radius: 50px;
            padding: 13px 22px 13px 25px;
            backdrop-filter: blur(12px);
            box-shadow: 0 4px 20px rgba(0,0,0,0.15);
            transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
        }
        #jhs-search-wrapper.focused #jhs-search-bar {
            background: rgba(255,255,255,0.13);
            border-color: rgba(255,255,255,0.45);
            box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 3px rgba(211,47,47,0.25);
        }
        #jhs-search-icon-inline {
            width: 22px; height: 22px;
            color: #fff; flex-shrink: 0;
        }
        #jhs-search-input {
            flex: 1;
            background: transparent;
            border: none; outline: none;
            color: rgba(255,255,255,0.95);
            font-size: 1.05rem;
            font-weight: 400;
            font-family: 'Inter', sans-serif;
            margin: 0 12px;
            caret-color: #D32F2F;
        }
        #jhs-search-input::placeholder { color: rgba(255,255,255,0.45); }
        #jhs-search-clear {
            background: none; border: none;
            color: rgba(255,255,255,0.4);
            font-size: 1.1rem; cursor: pointer;
            padding: 0; line-height: 1; flex-shrink: 0;
            opacity: 0; transition: opacity 0.2s, color 0.2s;
            width: 22px; height: 22px;
            display: flex; align-items: center; justify-content: center;
            border-radius: 50%;
        }
        #jhs-search-wrapper.has-value #jhs-search-clear { opacity: 1; }
        #jhs-search-clear:hover { color: #fff; background: rgba(255,255,255,0.1); }

        /* Dropdown */
        #jhs-search-dropdown {
            position: absolute;
            top: calc(100% + 10px);
            left: 0; right: 0;
            background: #ffffff;
            border: 1px solid rgba(0,0,0,0.08);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 20px 50px rgba(0,0,0,0.25);
            opacity: 0;
            transform: translateY(-6px);
            pointer-events: none;
            transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            z-index: 9999;
            max-height: 400px;
            overflow-y: auto;
        }
        #jhs-search-wrapper {
            isolation: isolate;
        }
        #jhs-search-wrapper.open #jhs-search-dropdown {
            opacity: 1; transform: translateY(0); pointer-events: auto;
        }
        .jhs-drop-item {
            display: flex; align-items: center;
            justify-content: space-between;
            padding: 14px 22px;
            text-decoration: none;
            border-bottom: 1px solid #f1f5f9;
            transition: background 0.15s ease;
            gap: 12px;
        }
        .jhs-drop-item:last-child { border-bottom: none; }
        .jhs-drop-item:hover { background: #f8fafc; }
        .jhs-drop-item-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
        .jhs-drop-item-name {
            font-family: 'Outfit', sans-serif;
            font-size: 1rem; font-weight: 600; color: #0A192F;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }
        .jhs-drop-item-cat {
            font-family: 'Inter', sans-serif;
            font-size: 0.68rem; color: #D32F2F;
            text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700;
        }
        .jhs-drop-item svg { width: 18px; height: 18px; color: #cbd5e1; flex-shrink: 0; transition: transform 0.2s, color 0.2s; }
        .jhs-drop-item:hover svg, .jhs-drop-item.active svg { transform: translateX(4px); color: #0A192F; }
        .jhs-drop-item.active { background: #f1f5f9; }
        .jhs-drop-empty {
            padding: 28px 22px; text-align: center;
            color: #64748b;
            font-family: 'Inter', sans-serif; font-size: 0.9rem;
        }
        .jhs-drop-hint {
            margin-top: 8px; font-size: 0.78rem; color: #94a3b8;
            font-style: italic;
        }
        @media (max-width: 768px) {
            #jhs-search-wrapper { max-width: 100%; }
            #jhs-search-bar { padding: 11px 18px; }
            #jhs-search-input { font-size: 0.95rem; }
        }

        