@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/********** Template CSS - Electrolyte Blue Design Tokens **********/
:root {
    /* Core Accent: #10cfff — Cyan */
    --primary: #10cfff;
    --primary-rgb: 16, 207, 255;
    --primary-hover: #0BB8E8;
    --primary-active: #0AA0CC;
    --primary-glow: none;

    --secondary: #10cfff;
    --secondary-rgb: 16, 207, 255;
    --secondary-hover: #0BB8E8;
    --secondary-glow: none;

    --accent-electric: #10cfff;
    --accent-sky: #10cfff;
    --accent-ice: #10cfff;

    /* Semantic Dark Theme Tokens */
    --dark-primary: #10cfff;
    --dark-primary-hover: #0BB8E8;
    --dark-secondary: #10cfff;
    --dark-accent: #10cfff;
    --dark-bg: #0B0F19;
    --darker-bg: #05070D;
    --dark-surface: #111827;
    --dark-surface-hover: #1F2937;
    --dark-border: rgba(255, 255, 255, 0.1);
    --dark-border-glow: none;
    --dark-text: #FFFFFF;
    --dark-text-secondary: #94A3B8;
    --dark-hover: #1E293B;
    --dark-overlay: rgba(5, 7, 13, 0.85);

    /* Contrast: text color when #10cfff is used as background */
    --primary-text-on-bg: #000000;

    --light: #F4F7FE;
    --dark: #0B0F19;
    --bs-font-sans-serif: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    --font-family-base: 'Space Grotesk', system-ui, -apple-system, sans-serif;
}


/*** Spinner - Disabled blocking preloader to prevent stuck loading screen ***/
#spinner,
#spinner.show {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -9999 !important;
}

/* ==========================================================================
   Global Max-Width & Container Architecture (1280px Standard)
   ========================================================================== */
:root {
    --site-max-width: 1280px;
    --site-gutter: 1.5rem;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    margin: 0;
    padding-top: 95px !important;
    background-color: var(--dark-bg, #0B0F19) !important;
    color: var(--dark-text, #FFFFFF) !important;
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 85px !important;
    }
}

/* Enforce 1280px max-width across all Bootstrap container variants */
.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
    max-width: 1280px !important;
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--site-gutter) !important;
    padding-right: var(--site-gutter) !important;
    box-sizing: border-box;
}

/* Page-specific containers aligned to 1280px */
.blog-container {
    max-width: 1280px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--site-gutter) !important;
    padding-right: var(--site-gutter) !important;
    box-sizing: border-box;
}

.team_section .team_container,
.team_container {
    max-width: 1280px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--site-gutter) !important;
    padding-right: var(--site-gutter) !important;
    box-sizing: border-box;
}

/* ==========================================================================
   Header / Navbar 1280px Max-Width Standard
   ========================================================================== */
.container-fluid.sticky-top,
.sticky-top {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1020 !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: var(--darker-bg, #05070D) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
}

/* Center header contents to 1280px grid */
.container-fluid.sticky-top > .container,
.container-fluid.sticky-top > .navbar,
.sticky-top > .container,
.sticky-top > .navbar {
    max-width: 1280px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--site-gutter) !important;
    padding-right: var(--site-gutter) !important;
    box-sizing: border-box;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    display: flex;
    align-items: center;
}

/* Ensure inner nav element occupies 100% of the 1280px container */
.container-fluid.sticky-top nav.navbar,
.sticky-top nav.navbar {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 0 !important;
    min-height: 62px;
}

/* ==========================================================================
   Cognex Modern Floating Rounded Header Component (Well-Proportioned & Sleek)
   ========================================================================== */
.cognex-floating-header-wrapper {
    position: fixed !important;
    top: 16px !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 1240px !important;
    width: calc(100% - 32px) !important;
    z-index: 1030 !important;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cognex-floating-header-container {
    pointer-events: auto;
    background: rgba(14, 18, 30, 0.90) !important;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 50px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(255, 255, 255, 0.08) inset;
    padding: 10px 24px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subtle elevation on scroll */
.cognex-floating-header-wrapper.scrolled .cognex-floating-header-container {
    background: rgba(10, 13, 22, 0.96) !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55), 0 1px 2px rgba(255, 255, 255, 0.08) inset;
    border-color: rgba(255, 255, 255, 0.18) !important;
}

.cognex-floating-header-container .navbar {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    min-height: auto !important;
}

/* Balanced Brand */
.cognex-brand-logo {
    width: 38px !important;
    height: 38px !important;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.cognex-floating-header-container .navbar-brand {
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

.cognex-floating-header-container:hover .cognex-brand-logo {
    transform: scale(1.05);
}

.cognex-brand-text {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.35rem !important;
    letter-spacing: -0.02em !important;
    color: #ffffff !important;
    margin: 0;
}

/* Balanced Nav links */
.cognex-navbar-collapse .navbar-nav .nav-link {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 500 !important;
    font-size: 0.92rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 7px 16px !important;
    margin: 0 3px !important;
    border-radius: 25px !important;
    transition: all 0.25s ease !important;
    position: relative;
    text-decoration: none;
    line-height: 1.4 !important;
}

.cognex-navbar-collapse .navbar-nav .nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.09) !important;
}

.cognex-navbar-collapse .navbar-nav .nav-link.active {
    color: #000000 !important;
    font-weight: 600 !important;
    background: var(--dark-primary, #10cfff) !important;
}

/* Toggler */
.cognex-navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 5px 10px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    outline: none !important;
    box-shadow: none !important;
}

.cognex-navbar-toggler:focus {
    outline: none !important;
    box-shadow: none !important;
}

.cognex-navbar-toggler .navbar-toggler-icon {
    width: 1.25em !important;
    height: 1.25em !important;
}

/* Mobile & Tablet Responsiveness - Unified Single Card */
@media (max-width: 991.98px) {
    .cognex-floating-header-wrapper {
        top: 10px !important;
        width: calc(100% - 24px) !important;
    }

    .cognex-floating-header-container {
        border-radius: 24px !important;
        padding: 9px 16px !important;
    }

    .cognex-floating-header-container .navbar {
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Seamless single-container menu - NO inner border, NO inner background, NO box-in-box */
    .cognex-navbar-collapse,
    .cognex-floating-header-wrapper .navbar-collapse {
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        margin-top: 10px !important;
        padding: 10px 0 6px 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .cognex-navbar-collapse .navbar-nav .nav-link {
        padding: 9px 14px !important;
        margin: 3px 0 !important;
        border-radius: 10px !important;
        font-size: 0.95rem !important;
    }
}


/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-header,
.blog-hero {
    position: relative !important;
    overflow: hidden !important;
    background: var(--dark-bg, #0B0F19) !important;
    min-height: 480px;
    display: flex;
    align-items: center;
    border-bottom: none !important;
    margin-top: -95px !important;
    margin-bottom: 0 !important;
    padding-top: 140px !important;
    padding-bottom: 0 !important;
}

/* Keep the first section close to the hero; Bootstrap's py-5 adds 48px by default. */
.hero-header + .py-5,
.blog-hero + .py-5,
.cognex-cat-header + .py-5 {
    padding-top: 30px !important;
}

.hero-header + .py-5 > .container.py-4,
.blog-hero + .py-5 > .container.py-4,
.cognex-cat-header + .py-5 > .container.py-4 {
    padding-top: 0 !important;
}

.blog-hero + .blog-container {
    padding-top: 0 !important;
    margin-top: 30px !important;
}

.hero-header + .home-about-section {
    margin-top: 100px !important;
    padding-top: 0 !important;
}

/* Seamless top vignette shade under header */
.hero-header::before,
.blog-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(
        to bottom,
        var(--darker-bg, #05070D) 0%,
        rgba(5, 7, 13, 0.65) 45%,
        rgba(5, 7, 13, 0) 100%
    ) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

/* Seamless bottom gradient shade - slowly dissolves animation into dark background */
.hero-header::after,
.blog-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 240px;
    background: linear-gradient(
        to bottom,
        rgba(11, 15, 25, 0) 0%,
        rgba(11, 15, 25, 0.20) 25%,
        rgba(11, 15, 25, 0.58) 55%,
        rgba(11, 15, 25, 0.88) 80%,
        var(--dark-bg, #0B0F19) 100%
    ) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

/* Keep hero content above decorative gradients. */
.hero-header > .container,
.blog-hero > .container,
.hero-content {
    position: relative !important;
    z-index: 2 !important;
}

/* Modern Hero Badge */
.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(16, 207, 255, 0.18);
    border: 1px solid rgba(16, 207, 255, 0.35);
    border-radius: 30px;
    color: #10cfff !important;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(8px);
}

/* Hero Headings */
.hero-header h1,
.blog-hero h1,
.blog-hero .blog-title {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em !important;
    color: #ffffff !important;
}

/* Hero Paragraphs */
.hero-header p,
.blog-hero p {
    font-family: 'Space Grotesk', sans-serif !important;
    color: rgba(255, 255, 255, 0.82) !important;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Breadcrumbs in Hero */
.hero-header .breadcrumb {
    background: transparent !important;
    padding: 0;
    margin-top: 1rem;
}

.hero-header .breadcrumb-item,
.hero-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.92rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hero-header .breadcrumb-item a:hover {
    color: #10cfff !important;
}

.hero-header .breadcrumb-item.active {
    color: #ffffff !important;
    font-weight: 500;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4) !important;
    content: "/";
    padding: 0 0.5rem;
}

@media (max-width: 991.98px) {
    .hero-header,
    .blog-hero {
        min-height: 380px;
        margin-top: -85px !important;
        margin-bottom: 0 !important;
        padding-top: 115px !important;
        padding-bottom: 0 !important;
    }
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 4px;
    bottom: 0;
    left: 0;
    background: var(--dark);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 4px;
    height: 4px;
    bottom: 0;
    left: 50px;
    background: var(--dark);
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -25px;
}

.section-title.text-center::after {
    left: 50%;
    margin-left: 25px;
}

.section-title h6::before,
.section-title h6::after {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    top: 2px;
    left: 0;
    background: rgba(16, 207, 255, .5);
}

.section-title h6::after {
    top: 5px;
    left: 3px;
}


/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.about-img::after {
    display: none !important;
}

.about-img img {
    border-radius: 16px;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}


/*** Service - Modern Cognex Glassmorphic Cards ***/
.cognex-service-card,
.service-item {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2.25rem 1.75rem !important;
    background: rgba(17, 24, 39, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow: hidden;
    z-index: 1;
}



.cognex-service-card:hover,
.service-item:hover {
    transform: translateY(-6px) !important;
    background: rgba(22, 31, 51, 0.88) !important;
    border-color: rgba(16, 207, 255, 0.4) !important;
}



/* Sleek Icon Badge */
.cognex-service-icon-box,
.service-item .service-icon {
    width: 58px !important;
    height: 58px !important;
    margin: 0 auto 1.25rem auto !important;
    border-radius: 16px !important;
    background: rgba(16, 207, 255, 0.08) !important;
    border: 1px solid rgba(16, 207, 255, 0.22) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #10cfff !important;
    font-size: 1.45rem !important;
    transition: all 0.3s ease !important;
}

.cognex-service-card:hover .cognex-service-icon-box,
.service-item:hover .service-icon {
    background: #10cfff !important;
    color: #000000 !important;
    border-color: #10cfff !important;
    transform: scale(1.08) !important;
}

.cognex-service-icon-box i,
.service-item .service-icon i {
    color: inherit !important;
    margin: 0 !important;
}

/* Titles */
.cognex-service-title,
.service-item h5 {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.22rem !important;
    color: #ffffff !important;
    letter-spacing: -0.015em;
    margin-bottom: 0.75rem !important;
    transition: color 0.25s ease;
}

.cognex-service-card:hover .cognex-service-title,
.service-item:hover h5 {
    color: #ffffff !important;
}

/* Description Text */
.cognex-service-desc,
.service-item p {
    font-size: 0.92rem !important;
    color: #94A3B8 !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
    transition: color 0.25s ease;
}

.cognex-service-card:hover .cognex-service-desc,
.service-item:hover p {
    color: #cbd5e1 !important;
}

/* Interactive Action Link */
.cognex-service-link,
.service-item a.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: auto auto 0 auto !important;
    padding: 8px 18px !important;
    color: #10cfff !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    text-decoration: none !important;
    background: rgba(16, 207, 255, 0.06) !important;
    border: 1px solid rgba(16, 207, 255, 0.18) !important;
    border-radius: 50px !important;
    transition: all 0.25s ease !important;
}

.cognex-service-link i,
.service-item a.btn i {
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}

.cognex-service-link:hover,
.service-item:hover a.btn {
    background: #10cfff !important;
    color: #000000 !important;
    border-color: #10cfff !important;
}

.cognex-service-card:hover .cognex-service-link i,
.service-item:hover a.btn:hover i {
    transform: translateX(3px);
}

.service-item a.btn::before {
    display: none !important;
}


/*** Why Choose Us / Feature Section - Modern Glassmorphic Component ***/
.cognex-why-section,
.feature {
    position: relative;
    background: var(--dark-bg, #0B0F19) !important;

    padding: 5.5rem 0 !important;
    overflow: hidden;
}

.cognex-why-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.4rem 1.15rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #10cfff;
    background: rgba(16, 207, 255, 0.08);
    border: 1px solid rgba(16, 207, 255, 0.25);
    border-radius: 50rem;
    margin-bottom: 1.25rem;
}

.cognex-why-title {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    font-size: clamp(2.1rem, 3.8vw, 2.85rem) !important;
    color: #ffffff !important;
    letter-spacing: -0.02em;
    line-height: 1.22 !important;
    margin-bottom: 1.25rem !important;
}

.cognex-why-desc {
    color: #94A3B8 !important;
    font-size: 1.02rem !important;
    line-height: 1.7 !important;
    margin-bottom: 2rem !important;
    max-width: 560px;
}

/* Feature Benefit Card Items */
.cognex-why-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 2.25rem;
}

.cognex-why-item {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1rem 1.25rem;
    background: rgba(17, 24, 39, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cognex-why-item:hover {
    transform: translateX(6px);
    background: rgba(22, 31, 51, 0.85);
    border-color: rgba(16, 207, 255, 0.35);
}

.cognex-why-icon-box {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 12px;
    background: rgba(16, 207, 255, 0.1);
    border: 1px solid rgba(16, 207, 255, 0.25);
    color: #10cfff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: all 0.25s ease;
}

.cognex-why-item:hover .cognex-why-icon-box {
    background: #10cfff;
    color: #000000;
    transform: scale(1.05);
}

.cognex-why-text {
    font-size: 0.98rem;
    font-weight: 500;
    color: #F1F5F9;
    line-height: 1.45;
}

/* Stats Micro Cards */
.cognex-why-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 0.5rem;
}

.cognex-why-stat-card {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 140px;
    padding: 1.1rem 1.25rem;
    background: rgba(17, 24, 39, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.cognex-why-stat-card:hover {
    border-color: rgba(16, 207, 255, 0.3);
    background: rgba(22, 31, 51, 0.75);
}

.cognex-why-stat-number {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700;
    font-size: 1.85rem;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.02em;
}

.cognex-why-stat-label {
    font-size: 0.85rem;
    color: #94A3B8;
    margin: 0;
    line-height: 1.25;
}

/* Image Presentation Showcase - Clean, Static, Not Round, No Zoom */
.cognex-why-img-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 560px;
    text-align: center;
}

.cognex-why-img {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0 !important;
    transform: none !important;
    transition: none !important;
}


/*** Newsletter ***/
.newsletter {
    background: var(--dark-surface, #111827) center center no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .newsletter .container {
        max-width: 100% !important;
    }

    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1280px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1280px) / 2) + .75rem);
    }
}


/*** Cognex Projects Section & Showcase ***/
.cognex-projects-section {
    position: relative;
    background-color: var(--dark-bg, #0B0F19);
    padding: 5.5rem 0;
    overflow: hidden;
}

.cognex-projects-section::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 850px;
    height: 450px;
    /* background: radial-gradient(circle, rgba(16, 207, 255, 0.06) 0%, transparent 70%); */
    pointer-events: none;
    z-index: 0;
}

.cognex-projects-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.4rem 1.15rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #10cfff;
    background: rgba(16, 207, 255, 0.08);
    border: 1px solid rgba(16, 207, 255, 0.25);
    border-radius: 50rem;
    margin-bottom: 1.25rem;
}

.cognex-projects-title {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    font-size: clamp(2rem, 3.6vw, 2.85rem) !important;
    color: #ffffff !important;
    letter-spacing: -0.02em;
    line-height: 1.25 !important;
    margin-bottom: 0.85rem !important;
}

.cognex-projects-subtitle {
    color: #94A3B8 !important;
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

/* Modern 16:9 Project Card */
.cognex-project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #0B0F19;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    /* box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5); */
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
    text-decoration: none;
}

.cognex-project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 207, 255, 0.45);
    /* box-shadow: 0 20px 40px -12px rgba(16, 207, 255, 0.18), 0 0 25px rgba(16, 207, 255, 0.08); */
}

/* 16:9 Aspect Ratio Featured Image Wrapper */
.cognex-project-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #060911;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cognex-project-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.cognex-project-card:hover .cognex-project-img {
    transform: scale(1.06);
}

.cognex-project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 15, 25, 0.02) 40%, rgba(11, 15, 25, 0.85) 100%);
    pointer-events: none;
    z-index: 1;
}

.cognex-project-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 207, 255, 0.35);
    border-radius: 9999px;
    color: #10cfff;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cognex-project-live-indicator {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 9999px;
    color: #10b981;
    font-size: 0.7rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
}

.cognex-project-live-indicator .live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: livePulse 2s infinite ease-in-out;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

/* Card Body & Typography */
.cognex-project-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.5rem;
    background: #0B0F19;
}

.cognex-project-title {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.22rem !important;
    color: #ffffff !important;
    letter-spacing: -0.01em;
    line-height: 1.4 !important;
    margin-bottom: 0.65rem !important;
    transition: color 0.3s ease;
}

.cognex-project-card:hover .cognex-project-title {
    color: #10cfff !important;
}

.cognex-project-desc {
    color: #94A3B8;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* Card Footer & Action Button */
.cognex-project-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.1rem;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cognex-project-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748B;
    font-size: 0.8rem;
    font-weight: 500;
}

.cognex-project-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.45rem 1.05rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    color: #10cfff;
    background: rgba(16, 207, 255, 0.08);
    border: 1px solid rgba(16, 207, 255, 0.25);
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.cognex-project-card:hover .cognex-project-action-btn {
    background: #10cfff;
    color: #070a12 !important;
    border-color: #10cfff;
    /* box-shadow: 0 4px 15px rgba(16, 207, 255, 0.3); */
}

.cognex-project-action-btn i {
    transition: transform 0.3s ease;
}

.cognex-project-card:hover .cognex-project-action-btn i {
    transform: translateX(3px);
}

/*** Legacy Case Study Fallback (Normalized to 16:9) ***/
.case-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #0B0F19;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.35s ease, border-color 0.3s ease;
}

.case-item:hover {
    transform: translateY(-6px);
    border-color: rgba(16, 207, 255, 0.4);
}

.case-item img {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.case-item:hover img {
    transform: scale(1.06);
}

.case-overlay {
    position: absolute;
    padding: 24px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(180deg, rgba(11, 15, 25, 0) 30%, rgba(11, 15, 25, 0.9) 100%);
    z-index: 1;
}

.case-overlay small {
    display: inline-block;
    padding: 4px 12px;
    color: #10cfff;
    background: rgba(11, 15, 25, 0.85);
    border: 1px solid rgba(16, 207, 255, 0.3);
    border-radius: 25px;
    margin-bottom: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.case-overlay span.btn:hover {
    color: #0B0F19;
    background: #10cfff;
    border-color: #10cfff;
}


/*** FAQs - Modern Cognex Glassmorphic Accordion ***/
.cognex-faq-section {
    position: relative;
    background-color: var(--dark-bg, #0B0F19);
    padding: 5rem 0;
}

.cognex-faq-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1.15rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #10cfff;
    background: rgba(16, 207, 255, 0.08);
    border: 1px solid rgba(16, 207, 255, 0.25);
    border-radius: 50rem;
    margin-bottom: 1rem;
}

.cognex-faq-title {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.cognex-faq-subtitle {
    color: #94A3B8;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* Accordion Item Card */
.cognex-faq-item,
.accordion .accordion-item {
    position: relative;
    background: rgba(17, 24, 39, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}



.cognex-faq-item:hover,
.accordion .accordion-item:hover {
    transform: translateY(-2px);
    border-color: rgba(16, 207, 255, 0.35) !important;
}



/* Expanded Card State */
.cognex-faq-item:has(.accordion-collapse.show),
.accordion .accordion-item:has(.accordion-collapse.show) {
    background: rgba(22, 31, 51, 0.88) !important;
    border-color: rgba(16, 207, 255, 0.45) !important;
}



/* Button Trigger */
.cognex-faq-btn,
.accordion .accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.35rem 1.6rem !important;
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 600;
    font-size: 1.08rem;
    letter-spacing: -0.01em;
    text-align: left;
    cursor: pointer;
    box-shadow: none !important;
    outline: none !important;
    transition: color 0.25s ease;
}

.cognex-faq-btn::after,
.accordion .accordion-button::after {
    display: none !important; /* Hide default Bootstrap SVG arrow */
}

.cognex-faq-btn:hover,
.accordion .accordion-button:hover {
    color: #10cfff !important;
}

/* Custom Interactive Indicator Badge */
.cognex-faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94A3B8;
    font-size: 0.85rem;
    margin-left: 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cognex-faq-btn:hover .cognex-faq-icon,
.accordion .accordion-button:hover .cognex-faq-icon {
    background: rgba(16, 207, 255, 0.12);
    border-color: rgba(16, 207, 255, 0.35);
    color: #10cfff;
}

/* Rotated Indicator when Active / Expanded */
.cognex-faq-btn:not(.collapsed) .cognex-faq-icon,
.accordion .accordion-button:not(.collapsed) .cognex-faq-icon {
    transform: rotate(180deg);
    background: #10cfff;
    border-color: #10cfff;
    color: #000000;
}

/* Accordion Answer Content */
.cognex-faq-body,
.accordion .accordion-body {
    padding: 0 1.6rem 1.4rem 1.6rem !important;
    color: #94A3B8 !important;
    font-size: 0.95rem;
    line-height: 1.7;
    background: transparent !important;
}

.cognex-faq-body-inner {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 0.95rem;
}

/* Bottom CTA / Help Card */
.cognex-faq-help-box {
    margin-top: 3.5rem;
    padding: 1.75rem 2.25rem;
    background: rgba(17, 24, 39, 0.6);
    border: 1px dashed rgba(16, 207, 255, 0.25);
    border-radius: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.cognex-faq-help-text {
    font-family: 'Space Grotesk', sans-serif;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 500;
    margin: 0;
}

.cognex-faq-help-text span {
    color: #94A3B8;
    font-weight: 400;
    font-size: 0.92rem;
    display: block;
    margin-top: 2px;
}

.cognex-faq-help-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(16, 207, 255, 0.1);
    border: 1px solid #10cfff;
    color: #10cfff !important;
    border-radius: 50rem;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.cognex-faq-help-btn:hover {
    background: #10cfff;
    color: #000000 !important;
    transform: translateY(-2px);
}


/*** Testimonial ***/
.testimonial-carousel {
    position: relative;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 40px;
    height: 100%;
    top: calc(50% - 50px);
    left: -21px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 5px 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    border: 1px solid var(--primary);
    border-radius: 40px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: #FFFFFF;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    margin-left: 3rem;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin-right: 10px;
    width: 15px;
    height: 15px;
    background: #FFFFFF;
    border: 1px solid var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}


/*** Team - Cognex Custom Curved-Notch Team Cards (Reference Design) ***/
.cognex-team-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 280px;
    min-height: 310px;
    margin: 0 auto;
    padding: 26px 18px 20px 18px;
    background: transparent !important;
    border: none !important;
    border-radius: 28px;
    box-shadow: none !important;
    text-align: center;
    cursor: pointer;
    isolation: isolate;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.cognex-team-card:hover {
    transform: translateY(-4px);
    box-shadow: none !important;
}

/* SVG Frame overlay */
.cognex-team-card-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: visible;
    pointer-events: none;
}

/* Card Outer Border & Base Background */
.cognex-team-card-border {
    fill: #0B0F19;
    stroke: #10cfff;
    stroke: url(#cardBorderNormalGrad);
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
    transition: stroke 0.3s ease, fill 0.3s ease;
}

.cognex-team-card:hover .cognex-team-card-border {
    stroke: #10cfff;
}

/* Subtle background tint on hover */
.cognex-team-card-bg-tint {
    fill: url(#cardGlowGrad);
    stroke: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.cognex-team-card:hover .cognex-team-card-bg-tint {
    opacity: 1;
}

/* Notch glow: Elegantly highlighted in normal state, full neon glow on hover */
.cognex-team-card-notch-glow {
    fill: none;
    stroke: #10cfff;
    stroke-width: 1.8;
    vector-effect: non-scaling-stroke;
    opacity: 0.65;
    filter: drop-shadow(0 0 4px rgba(16, 207, 255, 0.5));
    transition: opacity 0.3s ease, stroke-width 0.3s ease, filter 0.3s ease;
    pointer-events: none;
}

.cognex-team-card:hover .cognex-team-card-notch-glow {
    opacity: 1;
    stroke-width: 2.5;
    filter: drop-shadow(0 0 6px #10cfff) drop-shadow(0 0 14px rgba(16, 207, 255, 0.75));
}

/* Inner content column */
.cognex-team-card-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Profile Photo */
.cognex-team-avatar-box {
    width: 118px;
    height: 118px;
    border-radius: 50%;
    margin: 0 auto 0.85rem auto;
    position: relative;
    flex-shrink: 0;
}

.cognex-team-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: border-color 0.3s ease;
    background-color: #0c121e;
}

.cognex-team-card:hover .cognex-team-avatar {
    border-color: #10cfff;
}

/* Member Name */
.cognex-team-name {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.18rem !important;
    color: #10cfff !important;
    letter-spacing: -0.01em;
    margin: 0 0 0.2rem 0 !important;
    line-height: 1.3;
}

/* Member Designation */
.cognex-team-role {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 400 !important;
    font-size: 0.9rem !important;
    color: #94A3B8 !important;
    margin: 0 !important;
    line-height: 1.35;
}

/* Subtle Divider */
.cognex-team-divider {
    width: 68%;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0.85rem auto 0.85rem auto;
    transition: background 0.3s ease;
}

.cognex-team-card:hover .cognex-team-divider {
    background: rgba(255, 255, 255, 0.15);
}

/* Social Icons Container */
.cognex-team-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.35rem;
    min-height: 28px;
}

/* Social Icon Buttons */
.cognex-team-social-btn {
    color: #64748B !important;
    font-size: 1.22rem !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    transition: color 0.3s ease, transform 0.2s ease !important;
}

.cognex-team-card:hover .cognex-team-social-btn {
    color: #10cfff !important;
}

.cognex-team-social-btn:hover {
    color: #ffffff !important;
    transform: translateY(-2px) scale(1.12);
}




/*team section */
.team_section {
    text-align: center;
    background-color: var(--dark-bg, #0B0F19) !important;
    color: var(--dark-text, #ffffff) !important;
  }

  .img-fluid {
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    /* border-radius: 50%; */
    transform: scale(0.9);
    transition: transform 0.3s ease-in-out;
}


  
  .team_section .heading_container {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  
  .team_section .team_container {
    padding: 0 15px;
  }
  
  .team_section .team_container .box {
    padding: 35px 0 0 0;
    border-radius: 5px;
    overflow: hidden;
    -webkit-transition: all .1s;
    transition: all .1s;
    margin-top: 45px;
    background: var(--dark-surface, #111827) !important;
    border: 1px solid var(--dark-border, rgba(255, 255, 255, 0.1)) !important;
  }
  
  .team_section .team_container .box .img-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  
  .team_section .team_container .box .img-box img {
    width: 120px;
    border-radius: 100%;
    border: 5px solid #ffffff;
  }
  
  .team_section .team_container .box .detail-box {
    margin: 25px 0;
  }
  
  .team_section .team_container .box .detail-box h5 {
    color: var(--secondary, #10cfff);
    font-weight: 600;
    position: relative;
  }
  
  .team_section .team_container .box .social_box {
    padding: 10px 45px 20px 45px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  
  .team_section .team_container .box .social_box a {
    color: #010000;
    font-size: 22px;
  }
  
  .team_section .team_container .box .social_box a:hover {
    color: #ecf8fb;
  }

/* Global responsive improvements */
img, svg, video, iframe {
    max-width: 100%;
    height: auto;
}

body {
    overflow-x: hidden;
}

@media (max-width: 991.98px) {
    .navbar {
        height: auto;
        padding: 0.9rem 1rem;
    }

    .navbar .navbar-nav {
        background: rgba(255, 255, 255, 0.04);
        padding: 1rem;
        margin: 0 -1rem;
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 0.75rem 0;
        line-height: 1.4;
    }

    .btn-square,
    .btn-sm-square,
    .btn-lg-square {
        width: auto;
        min-width: 38px;
        height: auto;
        padding: 0.55rem 0.85rem;
        border-radius: 0.8rem;
    }

    

    

    .dashboard-images {
        flex-direction: column;
    }

    .dashboard-images img {
        max-height: 320px;
        width: 100%;
        object-fit: cover;
    }

    .service-item,
    .case-item,
    .dashboard-card,
    .team_section .team_container .box {
        padding: 28px 18px;
    }

    .blog-hero {
        padding: 180px 0 30px;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-top: 100px;
    }

    .blog-hero {
        padding: 150px 0 25px;
    }

    .navbar .navbar-nav {
        padding: 1rem;
    }

    .blog-card-body {
        padding: 20px;
    }

    

    .back-to-top {
        right: 20px;
        bottom: 20px;
    }
}

/* Tab functionality styles - Modern Segmented Pill Control */
.tab-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.tab-btn {
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94A3B8;
  padding: 11px 32px;
  margin: 0 8px;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  outline: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.tab-btn:hover:not(.active) {
  color: #ffffff;
  border-color: rgba(16, 207, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.tab-btn.active {
  background: #10cfff;
  border-color: #10cfff;
  color: #0B0F19;
  font-weight: 700;
  /* box-shadow: 0 0 24px rgba(16, 207, 255, 0.5), 0 2px 10px rgba(0, 0, 0, 0.35); */
}

.team-content {
  display: none;
}

.team-content:not(.hidden) {
  display: block;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0;
}

@media (max-width: 1199.98px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

  
  
  /*team section end*/

/* ==========================================================================
   Contrast Enforcement: #10cfff background → black text
   ========================================================================== */
.btn-primary,
.bg-primary,
.tab-btn.active,
.tab-btn:hover,
.service-item:hover .service-icon,
.testimonial-carousel .owl-dot.active {
    color: #000000 !important;
}

/* Ensure btn-primary uses accent color */
.btn-primary {
    background-color: var(--primary, #10cfff) !important;
    border-color: var(--primary, #10cfff) !important;
    color: #000000 !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-hover, #0BB8E8) !important;
    border-color: var(--primary-hover, #0BB8E8) !important;
    color: #000000 !important;
}

.btn-outline-primary {
    color: var(--primary, #10cfff) !important;
    border-color: var(--primary, #10cfff) !important;
    background: transparent !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary, #10cfff) !important;
    border-color: var(--primary, #10cfff) !important;
    color: #000000 !important;
}

.text-primary {
    color: var(--primary, #10cfff) !important;
}

.bg-primary {
    background-color: var(--primary, #10cfff) !important;
}

/* Active nav link in floating header — white text on cyan pill */
.cognex-navbar-collapse .navbar-nav .nav-link.active {
    color: #000000 !important;
}

/* Back-to-top button */
.back-to-top .btn-primary {
    background-color: var(--primary, #10cfff) !important;
    border-color: var(--primary, #10cfff) !important;
    color: #000000 !important;
}

/* ==========================================================================
   Cognex Modern Minimalist Footer Component (Strict 1280px Max-Width Standard)
   ========================================================================== */
.cognex-footer-wrapper {
    position: relative;
    background-color: var(--dark-bg, #0B0F19) !important;
    border-top: none !important;
    color: var(--dark-text-secondary, #94A3B8);
    font-family: 'Space Grotesk', sans-serif !important;
    padding-top: 2.2rem;
    padding-bottom: 2.5rem;
    overflow: hidden;
    margin-top: 4rem;
    width: 100%;
}

.cognex-footer-container {
    max-width: 1280px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--site-gutter, 1.5rem) !important;
    padding-right: var(--site-gutter, 1.5rem) !important;
    position: relative;
    box-sizing: border-box;
}

/* Watermark Text - Full Width, Upper Placement, Clean Top (Not Clipped), Bottom 25-30% Shadow Fade */
.cognex-footer-watermark {
    position: absolute;
    top: 1.8rem;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    line-height: 0.85;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000000 0%, #000000 62%, rgba(0, 0, 0, 0.4) 78%, rgba(0, 0, 0, 0.08) 88%, transparent 100%);
    mask-image: linear-gradient(180deg, #000000 0%, #000000 62%, rgba(0, 0, 0, 0.4) 78%, rgba(0, 0, 0, 0.08) 88%, transparent 100%);
}

.cognex-footer-watermark::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35%;
    background: linear-gradient(180deg, transparent 0%, rgba(11, 15, 25, 0.6) 50%, var(--dark-bg, #0B0F19) 100%);
    pointer-events: none;
}

.cognex-footer-watermark span {
    display: block;
    width: 100%;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    font-size: clamp(5.2rem, 16vw, 12.2rem) !important;
    letter-spacing: clamp(0.04em, 1.4vw, 0.11em) !important;
    line-height: 0.85 !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.065) !important;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.02);
    white-space: nowrap !important;
    text-align: center;
    margin: 0 auto;
}

.cognex-footer-grid {
    position: relative;
    z-index: 2;
    padding-top: 6.8rem;
}

@media (max-width: 991.98px) {
    .cognex-footer-wrapper {
        padding-top: 1.8rem !important;
        padding-bottom: 2rem !important;
        margin-top: 3rem !important;
        border-top: none !important;
    }

    .cognex-footer-watermark {
        position: relative !important;
        top: 0 !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        margin-top: 0 !important;
        margin-bottom: 2rem !important;
        display: block !important;
        text-align: center !important;
        -webkit-mask-image: linear-gradient(180deg, #000000 0%, #000000 62%, rgba(0, 0, 0, 0.4) 78%, rgba(0, 0, 0, 0.08) 88%, transparent 100%) !important;
        mask-image: linear-gradient(180deg, #000000 0%, #000000 62%, rgba(0, 0, 0, 0.4) 78%, rgba(0, 0, 0, 0.08) 88%, transparent 100%) !important;
    }

    .cognex-footer-watermark span {
        font-size: clamp(3.8rem, 19.5vw, 6.8rem) !important;
        letter-spacing: clamp(0.02em, 1.2vw, 0.05em) !important;
        line-height: 0.85 !important;
    }

    .cognex-footer-grid {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
}

/* Brand Column */
.cognex-footer-brand-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.cognex-footer-brand-title {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.cognex-footer-desc {
    color: #94A3B8;
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 380px;
    margin-bottom: 1.25rem;
}

/* Social Buttons */
.cognex-footer-socials {
    display: flex;
    gap: 10px;
}

.cognex-footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    text-decoration: none;
}

.cognex-footer-social-btn:hover {
    background: #10cfff;
    border-color: #10cfff;
    color: #000000 !important;
    transform: translateY(-2px);
}

/* Column Headings */
.cognex-footer-col-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 1.25rem;
}

/* Explore Nav Links */
.cognex-footer-nav-list li {
    margin-bottom: 0.75rem;
}

.cognex-footer-nav-list a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 400;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.cognex-footer-nav-list a:hover {
    color: #10cfff;
    transform: translateX(3px);
}

/* Contact List */
.cognex-footer-contact-item {
    font-size: 0.93rem;
    color: #cbd5e1;
    line-height: 1.55;
}

.cognex-footer-contact-item a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cognex-footer-contact-item a:hover {
    color: #10cfff;
}

.cognex-contact-icon {
    color: #10cfff !important;
    font-size: 1.1rem;
    width: 18px;
    flex-shrink: 0;
}

/* Desktop Vertical Dividers */
@media (min-width: 992px) {
    .cognex-footer-col-brand {
        padding-right: 3.5rem !important;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }

    .cognex-footer-col-nav {
        padding-left: 3.5rem !important;
        padding-right: 3.5rem !important;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }

    .cognex-footer-col-contact {
        padding-left: 3.5rem !important;
    }
}

/* Bottom Bar */
.cognex-footer-bottom-bar {
    margin-top: 3.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
}

@media (max-width: 991.98px) {
    .cognex-footer-bottom-bar {
        margin-top: 1.5rem;
    }
}

.cognex-footer-copy {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
}

.cognex-footer-back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #10cfff;
    color: #10cfff;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.cognex-footer-back-to-top:hover {
    background: #10cfff;
    color: #000000 !important;
    transform: translateY(-2px);
}
/* Team Slider Navigation and Carousel */
.cognex-team-slider-nav .btn-outline-primary {
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(16, 207, 255, 0.35) !important;
    color: #10cfff !important;
    background: rgba(16, 207, 255, 0.06);
    transition: all 0.25s ease;
    cursor: pointer;
}

.cognex-team-slider-nav .btn-outline-primary:hover {
    background: #10cfff !important;
    color: #000000 !important;
    border-color: #10cfff !important;
    transform: translateY(-2px);
}

.cognex-team-carousel {
    position: relative;
    padding: 8px 0;
}

.cognex-team-carousel .owl-stage {
    display: flex !important;
    align-items: stretch;
}

.cognex-team-carousel .owl-item {
    display: flex;
    justify-content: center;
}

.cognex-team-carousel .item {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 6px 4px 12px 4px;
}

/*** Cognex Custom Notched Action Buttons (Reference Design) ***/
.cognex-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    height: 52px;
    padding: 0 22px 0 26px;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    border-radius: 9999px !important;
    box-shadow: none !important;
    text-shadow: none !important;
    cursor: pointer;
    isolation: isolate;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
    white-space: nowrap;
    outline: none !important;
}

.cognex-btn:hover {
    transform: translateY(-2px);
    color: #ffffff !important;
    box-shadow: none !important;
}

.cognex-btn:focus,
.cognex-btn:active {
    box-shadow: none !important;
    outline: none !important;
}

/* SVG Frame overlay */
.cognex-btn-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: visible;
    pointer-events: none;
}

/* Base perimeter border & fill */
.cognex-btn-border {
    fill: rgba(11, 15, 25, 0.7);
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
    transition: stroke 0.3s ease, fill 0.3s ease;
}

/* Curved notch glow stroke */
.cognex-btn-notch-glow {
    fill: none;
    stroke: #10cfff;
    stroke-width: 2.2;
    vector-effect: non-scaling-stroke;
    opacity: 0;
    filter: drop-shadow(0 0 5px #10cfff) drop-shadow(0 0 10px rgba(16, 207, 255, 0.75));
    transition: opacity 0.3s ease, stroke-width 0.3s ease, filter 0.3s ease;
    pointer-events: none;
}

/* Arrow circle */
.cognex-btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 0.85rem;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.cognex-btn-arrow i {
    transition: transform 0.25s ease;
}

.cognex-btn:hover .cognex-btn-arrow i {
    transform: translateX(3px);
}

/* === Primary Button === */
.cognex-btn-primary .cognex-btn-border {
    stroke: #10cfff;
    fill: rgba(16, 207, 255, 0.12);
}

.cognex-btn-primary .cognex-btn-notch-glow {
    opacity: 1;
}

.cognex-btn-primary .cognex-btn-arrow {
    background: rgba(16, 207, 255, 0.35);
    border: 1px solid #10cfff;
    color: #ffffff;
}

.cognex-btn-primary:hover .cognex-btn-border {
    fill: rgba(16, 207, 255, 0.22);
}

.cognex-btn-primary:hover .cognex-btn-arrow {
    background: #10cfff;
    color: #000000;
}

/* === Secondary Button === */
.cognex-btn-secondary .cognex-btn-border {
    stroke: rgba(255, 255, 255, 0.3);
    fill: rgba(11, 15, 25, 0.6);
}

.cognex-btn-secondary .cognex-btn-arrow {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.cognex-btn-secondary:hover .cognex-btn-border {
    stroke: #10cfff;
    fill: rgba(16, 207, 255, 0.14);
}

.cognex-btn-secondary:hover .cognex-btn-notch-glow {
    opacity: 1;
}

.cognex-btn-secondary:hover .cognex-btn-arrow {
    background: rgba(16, 207, 255, 0.35);
    border-color: #10cfff;
    color: #ffffff;
}

/*** What We Explore Section & Domain Cards ***/
.cognex-explore-section {
    background-color: var(--dark-bg, #0B0F19) !important;
    position: relative;
    padding: 5.5rem 0;
    overflow: hidden;
}

.cognex-explore-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #10cfff;
    background: rgba(16, 207, 255, 0.06);
    border: 1.5px solid #10cfff;
    border-radius: 50rem;
}

.cognex-explore-accent-bar {
    width: 50px;
    height: 4px;
    background: #10cfff;
    border-radius: 4px;
    margin: 1.25rem auto 3.5rem auto;
}

/* Domain Card */
.cognex-domain-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 285px;
    /* min-height: 360px; */
    margin: 0 auto;
    padding: 42px 22px 28px 22px;
    background: transparent !important;
    border: none !important;
    border-radius: 28px;
    box-shadow: none !important;
    text-align: center;
    cursor: pointer;
    isolation: isolate;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.cognex-domain-card:hover {
    transform: translateY(-4px);
    box-shadow: none !important;
}

/* SVG Frame overlay */
.cognex-domain-card-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: visible;
    pointer-events: none;
}

/* Border path with vertical gradient */
.cognex-domain-card-border {
    fill: #0B0F19;
    stroke: url(#cardBorderNormalGrad);
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
    transition: stroke 0.3s ease, fill 0.3s ease;
}

.cognex-domain-card:hover .cognex-domain-card-border {
    stroke: #10cfff;
}

/* Hover background tint */
.cognex-domain-card-bg-tint {
    fill: url(#cardGlowGrad);
    stroke: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.cognex-domain-card:hover .cognex-domain-card-bg-tint {
    opacity: 1;
}

/* Notch glow stroke */
.cognex-domain-card-notch-glow {
    fill: none;
    stroke: #10cfff;
    stroke-width: 1.8;
    vector-effect: non-scaling-stroke;
    opacity: 0.65;
    filter: drop-shadow(0 0 4px rgba(16, 207, 255, 0.5));
    transition: opacity 0.3s ease, stroke-width 0.3s ease, filter 0.3s ease;
    pointer-events: none;
}

.cognex-domain-card:hover .cognex-domain-card-notch-glow {
    opacity: 1;
    stroke-width: 2.5;
    filter: drop-shadow(0 0 6px #10cfff) drop-shadow(0 0 14px rgba(16, 207, 255, 0.75));
}

/* Inner content column */
.cognex-domain-card-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Icon */
.cognex-domain-icon-wrap {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.35rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cognex-domain-icon {
    width: 82px;
    height: 82px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cognex-domain-card:hover .cognex-domain-icon {
    transform: translateY(-4px) scale(1.05);
}

/* Title */
.cognex-domain-title {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.26rem !important;
    color: #ffffff !important;
    letter-spacing: -0.015em;
    margin: 0 0 0.85rem 0 !important;
    line-height: 1.3;
}

/* Description */
.cognex-domain-desc {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 400 !important;
    font-size: 0.93rem !important;
    color: #94A3B8 !important;
    margin: 0 !important;
    line-height: 1.6;
    max-width: 235px;
}


/* ==========================================================================
   COGNEX REDESIGNED BLOG CARD COMPONENT
   Applied across Home Page Blog Section & Blog / Archive Page
   ========================================================================== */

.cognex-blog-card,
.blog-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    background: #0B0F19 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    position: relative !important;
    box-shadow: none !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background 0.3s ease !important;
    text-align: left !important;
    text-decoration: none !important;
}

.cognex-blog-card:hover,
.blog-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(16, 207, 255, 0.45) !important;
    box-shadow: none !important;
}

/* Featured Image & Thumbnail Wrap */
.cognex-blog-thumb {
    position: relative;
    width: 100%;
    height: 220px;
    min-height: 220px;
    overflow: hidden;
    background: #070a10;
}

.cognex-blog-img,
.blog-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.cognex-blog-card:hover .cognex-blog-img,
.cognex-blog-card:hover .blog-card-img,
.blog-card:hover .cognex-blog-img,
.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}

/* Subtle gradient vignette at the base of the image */
.cognex-blog-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 15, 25, 0.05) 0%, rgba(11, 15, 25, 0.75) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Floating Category Badge */
.cognex-blog-category {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 207, 255, 0.35);
    border-radius: 9999px;
    color: #10cfff !important;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.cognex-blog-category i {
    font-size: 0.7rem;
    color: #10cfff;
}

/* Card Body */
.cognex-blog-body,
.blog-card-body {
    padding: 22px 22px 20px 22px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    justify-content: space-between !important;
    background: transparent !important;
}

/* Metadata Row (Date & Reading Time) */
.cognex-blog-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 12px;
}

.cognex-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
}

.cognex-meta-item i {
    color: #10cfff;
    font-size: 0.78rem;
}

.cognex-meta-dot {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.8rem;
    user-select: none;
}

/* Blog Title */
.cognex-blog-title,
.blog-card-title {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 1.22rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #ffffff !important;
    margin: 0 0 10px 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.25s ease;
}

.cognex-blog-title a,
.blog-card-title a {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: color 0.25s ease;
}

.cognex-blog-card:hover .cognex-blog-title,
.cognex-blog-card:hover .cognex-blog-title a,
.blog-card:hover .blog-card-title,
.blog-card:hover .blog-card-title a {
    color: #10cfff !important;
}

/* Blog Excerpt */
.cognex-blog-excerpt,
.blog-card-text {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 0.91rem !important;
    line-height: 1.6 !important;
    color: #94a3b8 !important;
    margin-bottom: 18px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

/* Card Footer */
.cognex-blog-footer {
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.cognex-blog-author {
    font-size: 0.82rem;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cognex-blog-author i {
    color: #10cfff;
    font-size: 0.95rem;
}

/* Read More / Read Article Action */
.cognex-blog-readmore,
.read-more-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    color: #10cfff !important;
    text-decoration: none !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    transition: gap 0.25s ease, color 0.25s ease !important;
}

.cognex-blog-readmore i,
.read-more-btn i {
    font-size: 0.78rem;
    transition: transform 0.25s ease;
}

.cognex-blog-card:hover .cognex-blog-readmore,
.blog-card:hover .read-more-btn {
    color: #ffffff !important;
    gap: 10px !important;
}

.cognex-blog-card:hover .cognex-blog-readmore i,
.blog-card:hover .read-more-btn i {
    transform: translateX(3px);
    color: #10cfff;
}

/* Final CTA / Join CognexAI Section */
.cognex-cta-section {
    position: relative;
    background: transparent;
}

.cognex-cta-card {
    position: relative;
    background: radial-gradient(circle at 50% 0%, rgba(16, 207, 255, 0.15) 0%, rgba(17, 24, 39, 0.95) 60%, #0B0F19 100%);
    border: 1px solid rgba(16, 207, 255, 0.3);
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.cognex-cta-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 650px;
    height: 350px;
    background: radial-gradient(circle, rgba(16, 207, 255, 0.22) 0%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}

/* Projects Tech Tag Pills */
.cognex-project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1.15rem;
}

.cognex-project-tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 9999px;
    color: #94A3B8;
    font-size: 0.74rem;
    font-weight: 500;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.25s ease;
}

.cognex-project-card:hover .cognex-project-tag-pill {
    border-color: rgba(16, 207, 255, 0.35);
    color: #cbd5e1;
}

/* Projects Search & Filter Bar (Dedicated Page) */
.cognex-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #0B0F19;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    padding: 8px 18px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cognex-search-box:focus-within {
    border-color: #10cfff;
    box-shadow: 0 0 15px rgba(16, 207, 255, 0.2);
}

.cognex-search-box i {
    font-size: 0.95rem;
    margin-right: 12px;
}

.cognex-search-input {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.92rem;
    width: 100%;
    font-family: 'Space Grotesk', sans-serif;
}

.cognex-search-input::placeholder {
    color: #64748B;
}

.cognex-tag-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

@media (max-width: 767.98px) {
    .cognex-tag-filters {
        justify-content: flex-start;
        margin-top: 10px;
    }
}

.cognex-tag-btn {
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    color: #94A3B8;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
}

.cognex-tag-btn:hover {
    color: #ffffff;
    border-color: rgba(16, 207, 255, 0.4);
    background: rgba(16, 207, 255, 0.06);
}

.cognex-tag-btn.active {
    background: #10cfff;
    color: #070a12;
    border-color: #10cfff;
    box-shadow: 0 2px 10px rgba(16, 207, 255, 0.35);
}

/* Keep article breadcrumbs below the fixed announcement and navigation bars. */
body.has-cognex-hiring-bar .cognex-article-wrapper {
    padding-top: 44px;
}

@media (max-width: 480px) {
    body.has-cognex-hiring-bar .cognex-article-wrapper {
        padding-top: 36px;
    }
}
