/* ==========================================================================
   VeviCore Technologies — site stylesheet
   Structure inspired by large enterprise IT sites (light content sections,
   dark hero/footer, grouped navigation). Colours come from the VeviCore logo.
   ========================================================================== */

:root {
    /* Brand (from logo) */
    --vc-navy-950: #030a18;
    --vc-navy-900: #051023;   /* logo background */
    --vc-navy-800: #0a1b38;
    --vc-navy-700: #13284f;
    --vc-blue-600: #0046b6;   /* logo blue (light bg) */
    --vc-blue-700: #003891;
    --vc-blue-400: #2f8cff;   /* blue on dark bg */
    --vc-teal-500: #07998f;   /* logo teal (light bg) */
    --vc-teal-300: #19d9c9;   /* teal on dark bg */

    /* Neutrals */
    --vc-ink: #0d1726;
    --vc-body: #3b4658;
    --vc-muted: #5f6b7d;
    --vc-line: #e3e8ef;
    --vc-surface: #ffffff;
    --vc-surface-2: #f4f7fb;

    /* On dark */
    --vc-on-dark: #ffffff;
    --vc-on-dark-2: #b8c4d6;
    --vc-line-dark: rgba(255, 255, 255, .12);

    --vc-radius: 14px;
    --vc-radius-sm: 8px;
    --vc-shadow: 0 1px 2px rgba(13, 23, 38, .06), 0 8px 24px rgba(13, 23, 38, .06);
    --vc-shadow-lg: 0 18px 48px rgba(13, 23, 38, .14);
    --vc-header-h: 76px;

    --vc-font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;

    /* Bootstrap overrides */
    --bs-body-font-family: var(--vc-font);
    --bs-body-color: var(--vc-body);
    --bs-body-bg: var(--vc-surface);
    --bs-link-color: var(--vc-blue-600);
    --bs-link-color-rgb: 0, 70, 182;
    --bs-link-hover-color: var(--vc-blue-700);
    --bs-link-hover-color-rgb: 0, 56, 145;
    --bs-border-color: var(--vc-line);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--vc-header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--vc-surface);
    color: var(--vc-body);
    font-family: var(--vc-font);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: var(--vc-ink); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3, .h3 { font-size: 1.375rem; letter-spacing: -0.01em; }
.h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
p { color: var(--vc-body); }
a { color: var(--vc-blue-600); text-underline-offset: 3px; }
a:hover { color: var(--vc-blue-700); }
img { max-width: 100%; height: auto; }

:focus-visible { outline: 3px solid var(--vc-blue-400); outline-offset: 3px; border-radius: 4px; }

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 2000;
    background: var(--vc-blue-600); color: #fff; padding: 10px 16px; border-radius: var(--vc-radius-sm);
    font-weight: 600; text-decoration: none; transition: top .15s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { max-width: 1240px; padding-left: 24px; padding-right: 24px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 1030;
    background: var(--vc-navy-900);
    border-bottom: 1px solid var(--vc-line-dark);
    transition: box-shadow .2s ease, background-color .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .28); background: rgba(5, 16, 35, .97); }
.site-header .navbar { min-height: var(--vc-header-h); padding: 0; }
.site-header .navbar-brand { padding: 0; margin-right: 32px; }
.site-header .navbar-brand img { height: 40px; width: auto; display: block; }

.site-header .nav-link {
    color: var(--vc-on-dark-2);
    font-weight: 600; font-size: .975rem;
    padding: 26px 14px !important;
    position: relative;
}
.site-header .nav-link:hover,
.site-header .nav-link:focus-visible,
.site-header .nav-link.show { color: #fff; }
.site-header .nav-link.active { color: #fff; }
.site-header .nav-link.active::after,
.site-header .nav-link:hover::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px;
    background: linear-gradient(90deg, var(--vc-teal-300), var(--vc-blue-400)); border-radius: 3px 3px 0 0;
}
.site-header .dropdown-toggle::after { border: 0; content: ""; width: 7px; height: 7px; margin-left: 8px; vertical-align: 3px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.site-header .nav-link.dropdown-toggle:hover::after,
.site-header .nav-link.dropdown-toggle.active::after { /* keep chevron, not underline */
    position: static; height: 7px; background: none; border-radius: 0; left: auto; right: auto; bottom: auto;
}

.site-header .navbar-toggler { border: 1px solid var(--vc-line-dark); padding: 8px 10px; }
.site-header .navbar-toggler:focus { box-shadow: none; }

/* Mega menu */
.site-header .dropdown-menu {
    border: 0; border-radius: 0 0 var(--vc-radius) var(--vc-radius) !important;
    box-shadow: var(--vc-shadow-lg); padding: 0; margin-top: 0 !important;
}
.mega-menu { padding: 32px 0 28px !important; }
@media (min-width: 992px) {
    .site-header .dropdown-mega { position: static; }
    .site-header .dropdown-mega > .dropdown-menu { left: 0; right: 0; width: 100%; }
}
.mega-intro h2 { font-size: 1.5rem; margin-bottom: 8px; }
.mega-intro p { font-size: .95rem; color: var(--vc-muted); }
.mega-heading { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--vc-teal-500); margin-bottom: 12px; }
.mega-list { list-style: none; padding: 0; margin: 0; }
.mega-list a { display: block; padding: 7px 0; color: var(--vc-ink); font-weight: 500; text-decoration: none; }
.mega-list a:hover { color: var(--vc-blue-600); }
.mega-list a small { display: block; color: var(--vc-muted); font-weight: 400; font-size: .85rem; }
.dropdown-simple { min-width: 240px; padding: 10px 0 !important; }
.dropdown-simple .dropdown-item { padding: 9px 20px; font-weight: 500; color: var(--vc-ink); }
.dropdown-simple .dropdown-item:hover, .dropdown-simple .dropdown-item:focus { background: var(--vc-surface-2); color: var(--vc-blue-600); }

@media (max-width: 991.98px) {
    .site-header .navbar-collapse { padding: 8px 0 20px; max-height: calc(100vh - var(--vc-header-h)); overflow-y: auto; }
    .site-header .nav-link { padding: 12px 0 !important; }
    .site-header .nav-link:not(.dropdown-toggle):hover::after, .site-header .nav-link:not(.dropdown-toggle).active::after { display: none; }
    .site-header .dropdown-menu { background: transparent; box-shadow: none; }
    .mega-menu { padding: 0 0 12px 12px !important; }
    .mega-intro { display: none; }
    .mega-list a, .dropdown-simple .dropdown-item { color: var(--vc-on-dark-2); }
    .dropdown-simple .dropdown-item:hover { background: transparent; color: #fff; }
    .mega-list a small { display: none; }
    .site-header .btn-cta { margin-top: 12px; width: 100%; }
}

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 999px; padding: 12px 26px; letter-spacing: .005em; }
.btn-sm { padding: 8px 18px; }
.btn-primary { background-color: var(--vc-blue-600); border-color: var(--vc-blue-600); color: #fff; }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active { background-color: var(--vc-blue-700) !important; border-color: var(--vc-blue-700) !important; color: #fff; }
.btn-outline-primary { color: var(--vc-blue-600); border-color: var(--vc-blue-600); background: transparent; }
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active { background-color: var(--vc-blue-600) !important; border-color: var(--vc-blue-600) !important; color: #fff !important; }
.btn:focus { box-shadow: none; }
.btn-cta { background: linear-gradient(90deg, var(--vc-teal-300), var(--vc-blue-400)); color: var(--vc-navy-950); border: 0; }
.btn-cta:hover, .btn-cta:focus { color: var(--vc-navy-950); filter: brightness(1.08); }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.link-arrow::before { content: "→"; order: 2; transition: transform .15s ease; }
.link-arrow:hover::before, .vc-card:hover .link-arrow::before { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--vc-teal-300); }

/* ---------- Sections ---------- */
/* Compact vertical rhythm: 48px between a section's content and the next band, 24px under a hero */
.section { padding: 48px 0; }
.section-sm { padding: 48px 0; }
.hero + .section, .page-hero + .section, .page-hero + .section-sm { padding-top: 24px; }
.section-alt { background: var(--vc-surface-2); }
.section-dark { background: var(--vc-navy-900); color: var(--vc-on-dark-2); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4, .section-dark h2, .section-dark h3 { color: var(--vc-on-dark); }
.on-dark p, .section-dark p { color: var(--vc-on-dark-2); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--vc-teal-500); margin-bottom: 14px; }
.on-dark .eyebrow, .section-dark .eyebrow { color: var(--vc-teal-300); }
/* Larger eyebrows, one step below their heading: -lg sits above an h2 (h3 size), -md above an h3 */
.eyebrow-lg { font-size: 1.375rem; letter-spacing: .08em; margin-bottom: 10px; }
.eyebrow-md { font-size: 1.125rem; letter-spacing: .1em; margin-bottom: 10px; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head p { font-size: 1.15rem; color: var(--vc-muted); }
.section-dark .section-head p { color: var(--vc-on-dark-2); }
.lead-lg { font-size: 1.25rem; line-height: 1.6; }

/* ---------- Hero (home) — pure CSS artwork, no stock imagery ---------- */
.hero {
    position: relative; overflow: hidden; isolation: isolate;
    background: var(--vc-navy-900);
    padding: 56px 0 96px;
}
.hero::before { /* glow */
    content: ""; position: absolute; inset: 0; z-index: -2;
    background:
        radial-gradient(60% 70% at 85% 30%, rgba(47, 140, 255, .35), transparent 60%),
        radial-gradient(45% 55% at 70% 85%, rgba(25, 217, 201, .22), transparent 60%),
        radial-gradient(40% 40% at 5% 0%, rgba(47, 140, 255, .15), transparent 60%);
}
.hero::after { /* grid */
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(70% 80% at 75% 45%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(70% 80% at 75% 45%, #000 20%, transparent 75%);
}
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: 24px; font-size: clamp(1.6875rem, 3.45vw, 2.8125rem); }
.hero h1 .accent { background: linear-gradient(90deg, var(--vc-teal-300), var(--vc-blue-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead-lg { color: var(--vc-on-dark-2); max-width: 600px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.hero-art { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: min(46vw, 620px); opacity: .95; z-index: -1; pointer-events: none; }
@media (min-width: 992px) {
    .hero.has-photo { width: 100%; margin-inline: 0; padding: 16px 0; }
    .hero.has-photo > .hero-bg { transform: none; }
    .hero.has-photo h1 { margin-bottom: 16px; }
    .hero.has-photo p.lead-lg { margin-bottom: 26px; }
}
@media (max-width: 991.98px) { .hero-art { opacity: .25; right: -120px; width: 90vw; } .hero { padding: 48px 0 72px; } }

/* Inner-page hero */
.page-hero {
    position: relative; overflow: hidden; isolation: isolate;
    background: var(--vc-navy-900); padding: 56px 0 64px;
}
.page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(50% 90% at 90% 10%, rgba(47, 140, 255, .28), transparent 60%),
                radial-gradient(35% 70% at 70% 100%, rgba(25, 217, 201, .16), transparent 60%);
}
.page-hero h1 { color: #fff; max-width: 20ch; margin-bottom: 18px; }
.page-hero p { color: var(--vc-on-dark-2); font-size: 1.2rem; max-width: 680px; margin: 0; }
.breadcrumb-lite { font-size: .875rem; margin-bottom: 20px; color: var(--vc-on-dark-2); }
.breadcrumb-lite a { color: var(--vc-on-dark-2); text-decoration: none; }
.breadcrumb-lite a:hover { color: #fff; }
.breadcrumb-lite span[aria-hidden] { margin: 0 8px; opacity: .6; }

/* ---------- Cards ---------- */
.vc-card {
    position: relative; height: 100%;
    background: var(--vc-surface); border: 1px solid var(--vc-line); border-radius: var(--vc-radius);
    padding: 32px; box-shadow: var(--vc-shadow);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    display: flex; flex-direction: column;
}
.vc-card h3 { margin-bottom: 12px; }
.vc-card p { color: var(--vc-muted); }
.vc-card .link-arrow { margin-top: auto; padding-top: 8px; }
a.vc-card, .vc-card-link { text-decoration: none; color: inherit; }
a.vc-card:hover, .vc-card.is-interactive:hover { transform: translateY(-4px); box-shadow: var(--vc-shadow-lg); border-color: #c9d6ea; }
.vc-card .stretched-link::after { border-radius: var(--vc-radius); }

.vc-icon {
    width: 52px; height: 52px; border-radius: 12px; display: inline-grid; place-items: center; margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(7, 153, 143, .12), rgba(0, 70, 182, .12)); color: var(--vc-blue-600);
}
.vc-icon svg { width: 26px; height: 26px; }
.section-dark .vc-icon, .on-dark .vc-icon { background: rgba(255, 255, 255, .08); color: var(--vc-teal-300); }

.card-dark { background: var(--vc-navy-800); border-color: var(--vc-line-dark); box-shadow: none; }
.card-dark p { color: var(--vc-on-dark-2); }
.card-dark h2, .card-dark h3, .card-dark h4 { color: #fff; }

/* Insight cards */
.insight-card { padding: 0; overflow: hidden; }
.insight-card .insight-visual { aspect-ratio: 16 / 9; position: relative; overflow: hidden; }
.insight-card .insight-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.insight-meta { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--vc-teal-500); margin-bottom: 10px; }
.insight-card h3 { font-size: 1.25rem; }
.insight-date { font-size: .85rem; color: var(--vc-muted); margin: -4px 0 12px; }
.on-dark-note { color: var(--vc-on-dark-2); }
.on-dark-note a { color: var(--vc-teal-300); }
.visual-1 { background: radial-gradient(80% 90% at 80% 20%, #2f8cff 0%, transparent 60%), radial-gradient(60% 70% at 10% 90%, #19d9c9 0%, transparent 55%), var(--vc-navy-800); }
.visual-2 { background: radial-gradient(70% 90% at 20% 20%, #19d9c9 0%, transparent 55%), radial-gradient(70% 80% at 90% 90%, #0046b6 0%, transparent 60%), var(--vc-navy-900); }
.visual-3 { background: radial-gradient(70% 80% at 50% 0%, #0046b6 0%, transparent 60%), radial-gradient(50% 60% at 90% 100%, #2f8cff 0%, transparent 55%), var(--vc-navy-950); }
.insight-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Product feature split */
.product-panel { border-radius: 20px; overflow: hidden; background: var(--vc-surface); border: 1px solid var(--vc-line); box-shadow: var(--vc-shadow); }
.product-panel .product-copy { padding: 48px; }
.product-panel .product-visual { min-height: 320px; height: 100%; position: relative; background: var(--vc-navy-900); }
.product-panel .product-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 767.98px) { .product-panel .product-copy { padding: 32px 24px; } .product-panel .product-visual { min-height: 220px; } }

.badge-status { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(7, 153, 143, .12); color: var(--vc-teal-500); vertical-align: middle; }
.badge-status.roadmap { background: rgba(95, 107, 125, .12); color: var(--vc-muted); }

/* Check list */
.check-list { list-style: none; padding: 0; margin: 0 0 24px; }
.check-list li { position: relative; padding: 6px 0 6px 32px; }
.check-list li::before {
    content: ""; position: absolute; left: 0; top: 11px; width: 20px; height: 20px; border-radius: 50%;
    background: rgba(7, 153, 143, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2307998f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.section-dark .check-list li::before { background-color: rgba(25, 217, 201, .14); }
.check-list.cols-2 { columns: 2; column-gap: 32px; }
.check-list.cols-2 li { break-inside: avoid; }
.check-list .li-sub { display: block; font-size: .875rem; color: var(--vc-muted); font-weight: 400; margin-top: 2px; }
.check-list li strong { font-weight: 600; }
.cta-band .cta-sub-link { color: var(--vc-on-dark-2); text-decoration: underline; text-underline-offset: 3px; }
.cta-band .cta-sub-link:hover { color: #fff; }
@media (max-width: 575.98px) { .check-list.cols-2 { columns: 1; } }

/* Module grid */
.module { padding: 24px; border: 1px solid var(--vc-line); border-radius: var(--vc-radius-sm); height: 100%; background: var(--vc-surface); }
.module h4 { font-size: 1.05rem; margin-bottom: 6px; }
.module .abbr { font-size: .75rem; font-weight: 800; letter-spacing: .1em; color: var(--vc-blue-600); }
.module p { font-size: .95rem; color: var(--vc-muted); margin: 0; }

/* Industry tiles */
.industry-tile {
    display: flex; flex-direction: column; gap: 8px; height: 100%;
    padding: 28px; border-radius: var(--vc-radius); text-decoration: none;
    background: var(--vc-navy-800); border: 1px solid var(--vc-line-dark); color: var(--vc-on-dark-2);
    transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}
.industry-tile h3 { color: #fff; font-size: 1.15rem; margin: 0; }
.industry-tile p { font-size: .95rem; margin: 0; color: var(--vc-on-dark-2); }
.industry-tile:hover { transform: translateY(-4px); border-color: rgba(25, 217, 201, .5); background: var(--vc-navy-700); color: var(--vc-on-dark-2); }
.industry-tile .vc-icon { margin-bottom: 8px; }

/* Process steps */
.steps { counter-reset: step; }
.step { position: relative; padding: 28px 24px 24px; border-top: 3px solid var(--vc-line); height: 100%; }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-weight: 800; font-size: .9rem; color: var(--vc-teal-500); margin-bottom: 10px; letter-spacing: .1em; }
.step:hover { border-top-color: var(--vc-blue-600); }
.step h3 { font-size: 1.15rem; }
.step p { font-size: .975rem; color: var(--vc-muted); margin: 0; }

/* Proof strip (no invented numbers — factual statements only) */
.fact { padding: 8px 0; }
.fact strong { display: block; font-size: 1.6rem; color: var(--vc-ink); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 6px; }
.fact span { color: var(--vc-muted); font-size: .975rem; }
.section-dark .fact strong { color: #fff; }
.section-dark .fact span { color: var(--vc-on-dark-2); }

/* Homepage software and product snapshot */
.service-carousel { border-block: 1px solid var(--vc-line); }
.service-slide { min-height: 270px; padding: 36px 64px 36px 0; display: grid; grid-template-columns: 1fr minmax(240px, .8fr); align-items: center; gap: 48px; }
.service-slide-index { color: var(--vc-teal-500); font-size: .82rem; font-weight: 800; letter-spacing: .08em; }
.service-slide-index small { color: var(--vc-muted); font-size: inherit; font-weight: 600; }
.service-slide h3 { font-size: 2rem; margin: 12px 0; }
.service-slide p { max-width: 500px; color: var(--vc-muted); margin-bottom: 16px; }
.service-slide-visual { min-height: 150px; padding: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: center; border-left: 3px solid var(--vc-teal-500); background: linear-gradient(135deg, rgba(7,153,143,.08), rgba(0,70,182,.07)); }
.service-slide-visual span { min-height: 44px; padding: 10px 12px; display: flex; align-items: center; border: 1px solid var(--vc-line); background: rgba(255,255,255,.82); color: var(--vc-ink); font-size: .85rem; font-weight: 600; }
.visual-cloud { border-color: var(--vc-blue-600); background: linear-gradient(135deg, rgba(0,70,182,.08), rgba(7,153,143,.06)); }
.visual-security { border-color: #a94924; background: linear-gradient(135deg, rgba(169,73,36,.09), rgba(7,153,143,.06)); }
.visual-quality { border-color: var(--vc-teal-500); background: linear-gradient(135deg, rgba(7,153,143,.1), rgba(175,132,24,.07)); }
/* Animated background per service (wwwroot/images/0X-*.gif), full page width like the hero.
   The GIF fills the slide height on the right (its artwork is on the right); its dark left edge blends into
   the slide colour, and a fade keeps the text readable. Still frames are used when motion is reduced. */
.service-carousel:has(.service-slide[class*="slide-"]) { border-block: 0; }
.service-slide[class*="slide-"] {
    /* Fixed height on desktop, so the 16:9 GIF is always 782px wide and the fade can cover its left edge */
    /* --slide-edge: gap between the image and the right edge of the slide, so the image ends where the page content ends (container: 1240px wide, 24px padding) */
    --slide-edge: max(24px, calc((100vw - 1192px) / 2));
    display: block; height: 440px; margin: 0; padding: 0; border-radius: 0;
    background:
        linear-gradient(270deg, #051023 0, #051023 var(--slide-edge), rgba(5,16,35,0) calc(var(--slide-edge) + 60px)) ,
        linear-gradient(90deg, #051023 0, #051023 calc(100% - 782px - var(--slide-edge)), rgba(5,16,35,.55) calc(100% - 640px - var(--slide-edge)), rgba(5,16,35,0) calc(100% - 480px - var(--slide-edge))),
        var(--slide-bg) right var(--slide-edge) center / auto 100% no-repeat,
        #051023;
}
.service-slide[class*="slide-"] .service-slide-inner {
    height: 100%; padding-top: 56px; padding-bottom: 56px;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "copy ." "tags .";
    align-content: center; align-items: start; gap: 22px 48px;
}
.slide-software { --slide-bg: url("../images/01-custom-software.gif"); }
.slide-cloud    { --slide-bg: url("../images/02-cloud-devops.gif"); }
.slide-security { --slide-bg: url("../images/03-security-automation.gif"); }
.slide-quality  { --slide-bg: url("../images/04-quality-engineering.gif"); }
@media (prefers-reduced-motion: reduce) {
    .slide-software { --slide-bg: url("../images/01-custom-software-still.jpg"); }
    .slide-cloud    { --slide-bg: url("../images/02-cloud-devops-still.jpg"); }
    .slide-security { --slide-bg: url("../images/03-security-automation-still.jpg"); }
    .slide-quality  { --slide-bg: url("../images/04-quality-engineering-still.jpg"); }
}
.service-slide[class*="slide-"] .service-slide-copy { grid-area: copy; }
.service-slide[class*="slide-"] h3 { color: #fff; }
.service-slide[class*="slide-"] p { color: var(--vc-on-dark-2); }
.service-slide[class*="slide-"] .service-slide-index { color: var(--vc-teal-300); }
.service-slide[class*="slide-"] .service-slide-index small { color: var(--vc-on-dark-2); }
.service-slide[class*="slide-"] .link-arrow { color: var(--vc-teal-300); }
.service-slide[class*="slide-"] .service-slide-visual {
    grid-area: tags; min-height: 0; padding: 0; border: 0; background: none;
    display: flex; flex-wrap: wrap; gap: 8px;
}
.service-slide[class*="slide-"] .service-slide-visual span {
    min-height: 0; padding: 6px 12px; border-radius: 999px; font-size: .8rem;
    color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22);
}
.service-carousel:has(.service-slide[class*="slide-"]) .service-carousel-toolbar { padding-top: 20px; }
@media (max-width: 991.98px) {
    .service-slide[class*="slide-"] {
        height: auto;
        background: linear-gradient(rgba(5,16,35,.82), rgba(5,16,35,.82)), var(--slide-bg) right center / cover no-repeat, #051023;
    }
    .service-slide[class*="slide-"] .service-slide-inner {
        height: auto; padding-top: 36px; padding-bottom: 36px; grid-template-columns: 1fr; grid-template-areas: "copy" "tags";
    }
}
/* Home industries carousel: same full-width slides as the services carousel (GIFs: wwwroot/images/industry-*.gif) */
.slide-industry-enterprises             { --slide-bg: url("../images/industry-enterprises.gif"); }
.slide-industry-staffing-recruitment    { --slide-bg: url("../images/industry-staffing-recruitment.gif"); }
.slide-industry-startups                { --slide-bg: url("../images/industry-startups.gif"); }
.slide-industry-government-skill-bodies { --slide-bg: url("../images/industry-government-skill-bodies.gif"); }
@media (prefers-reduced-motion: reduce) {
    .slide-industry-enterprises             { --slide-bg: url("../images/industry-enterprises-still.jpg"); }
    .slide-industry-staffing-recruitment    { --slide-bg: url("../images/industry-staffing-recruitment-still.jpg"); }
    .slide-industry-startups                { --slide-bg: url("../images/industry-startups-still.jpg"); }
    .slide-industry-government-skill-bodies { --slide-bg: url("../images/industry-government-skill-bodies-still.jpg"); }
}
.service-carousel-toolbar { padding-top: 0; padding-bottom: 24px; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 16px; }
.service-carousel-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.service-carousel-controls .btn { padding: 7px 14px; font-size: .85rem; border-radius: var(--vc-radius-sm); }
.service-carousel .carousel-indicators { position: static; margin: 0; display: flex; align-items: center; gap: 8px; }
.service-carousel .carousel-indicators [data-bs-target] { width: 28px; height: 4px; margin: 0; border: 0; border-radius: 4px; background-color: var(--vc-muted); opacity: .35; }
.service-carousel .carousel-indicators .active { background-color: var(--vc-teal-500); opacity: 1; }
.product-snapshot .lead-lg { color: var(--vc-on-dark-2); max-width: 420px; }
.product-snapshot .link-arrow { color: var(--vc-teal-300); }
.capability-board { border: 1px solid var(--vc-line-dark); background: rgba(255,255,255,.035); }
.capability-row { display: grid; grid-template-columns: minmax(150px, .8fr) 1.4fr; gap: 28px; align-items: center; padding: 28px; }
.capability-row + .capability-row { border-top: 1px solid var(--vc-line-dark); }
.capability-title { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 2px 12px; }
.capability-title > span { grid-row: span 2; color: var(--vc-teal-300); font-size: .8rem; font-weight: 800; }
.capability-title strong { color: #fff; font-size: 1.05rem; }
.capability-title small { color: var(--vc-on-dark-2); font-size: .84rem; }
.capability-flow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.capability-flow span { color: #fff; font-size: .82rem; font-weight: 600; }
.capability-flow i { flex: 1; height: 1px; min-width: 12px; background: linear-gradient(90deg, var(--vc-teal-300), var(--vc-blue-400)); position: relative; }
.capability-flow i::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid var(--vc-blue-400); border-right: 1px solid var(--vc-blue-400); transform: rotate(45deg); }
.module-bars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; }
.module-bars > div { min-width: 0; }
.module-bars span { display: block; color: var(--vc-on-dark-2); font-size: .75rem; font-weight: 700; margin-bottom: 5px; }
.module-bars b { display: block; width: 100%; height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--vc-teal-300), var(--vc-blue-400)); }
.snapshot-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--vc-line-dark); }
.snapshot-counts > div { padding: 18px 28px; display: flex; align-items: baseline; gap: 10px; }
.snapshot-counts > div + div { border-left: 1px solid var(--vc-line-dark); }
.snapshot-counts strong { color: #fff; font-size: 1.6rem; line-height: 1; }
.snapshot-counts span { color: var(--vc-on-dark-2); font-size: .84rem; }
@media (max-width: 767.98px) {
    .service-slide { min-height: 0; grid-template-columns: 1fr; gap: 24px; padding: 28px 0; }
    .service-slide-visual { min-height: 120px; }
    .capability-row { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
}
@media (max-width: 480px) {
    .service-carousel-toolbar { align-items: flex-start; flex-direction: column; }
    .service-carousel-controls { gap: 6px; }
    .service-carousel-controls .btn { padding: 7px 10px; }
    .service-slide-visual { padding: 14px; gap: 8px; }
    .service-slide-visual span { padding: 8px; font-size: .78rem; }
    .capability-flow { align-items: flex-start; flex-direction: column; }
    .capability-flow i { width: 1px; height: 12px; margin-left: 6px; flex: none; }
    .capability-flow i::after { right: -2px; top: 6px; transform: rotate(135deg); }
    .module-bars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .snapshot-counts > div { padding: 16px 10px; flex-direction: column; gap: 6px; }
}

/* CTA band */
.cta-band {
    position: relative; overflow: hidden; isolation: isolate;
    border-radius: 0; padding: 64px 0;
    background: var(--vc-navy-900);
}
.cta-band-section { padding: 0; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(60% 120% at 100% 0%, rgba(47, 140, 255, .45), transparent 60%), radial-gradient(40% 90% at 0% 100%, rgba(25, 217, 201, .25), transparent 60%); }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--vc-on-dark-2); font-size: 1.15rem; }
@media (max-width: 767.98px) { .cta-band { padding: 40px 0; } }

/* Split image-free careers band */
.split-band { border-top: 1px solid var(--vc-line); }

/* People */
.person { display: flex; gap: 20px; align-items: flex-start; }
.avatar { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.4rem; color: #fff; background: linear-gradient(135deg, var(--vc-teal-500), var(--vc-blue-600)); }
.person h3 { margin-bottom: 2px; }
.person .role { color: var(--vc-teal-500); font-weight: 600; font-size: .95rem; margin-bottom: 10px; }

/* Article */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { font-size: 1.6rem; margin-top: 44px; margin-bottom: 14px; }
.article p, .article li { font-size: 1.1rem; line-height: 1.75; }
.article ul { padding-left: 1.2rem; margin-bottom: 1.2rem; }
.article-meta { color: var(--vc-on-dark-2); font-size: .95rem; margin-top: 18px; }
.callout { border-left: 4px solid var(--vc-teal-500); background: var(--vc-surface-2); padding: 20px 24px; border-radius: 0 var(--vc-radius-sm) var(--vc-radius-sm) 0; margin: 28px 0; }
.callout p:last-child { margin: 0; }

/* Legal */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin-top: 40px; }

/* Forms */
.form-label { font-weight: 600; color: var(--vc-ink); font-size: .95rem; }
.form-control, .form-select { border-radius: var(--vc-radius-sm); padding: 12px 14px; border-color: #cfd8e3; }
.form-control:focus, .form-select:focus { border-color: var(--vc-blue-600); box-shadow: 0 0 0 4px rgba(0, 70, 182, .12); }
.field-validation-error, .validation-summary-errors { color: #b42318; font-size: .9rem; }
.input-validation-error { border-color: #b42318 !important; }
.contact-aside { position: sticky; top: calc(var(--vc-header-h) + 24px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--vc-navy-950); color: var(--vc-on-dark-2); padding: 72px 0 0; font-size: .95rem; }
.site-footer .footer-brand img { height: 44px; width: auto; margin-bottom: 18px; }
.site-footer .footer-tagline { color: var(--vc-on-dark-2); max-width: 320px; }
.site-footer h2 { color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--vc-on-dark-2); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .footer-bottom { border-top: 1px solid var(--vc-line-dark); margin-top: 56px; padding: 24px 0; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; font-size: .875rem; }
.site-footer .footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer .footer-bottom li { margin: 0; }
.footer-link-button { background: none; border: 0; padding: 0; color: var(--vc-on-dark-2); font: inherit; cursor: pointer; }
.footer-link-button:hover { color: #fff; text-decoration: underline; }

/* ---------- Analytics cookie banner (shown by wwwroot/js/analytics.js) ---------- */
.cookie-banner {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1060;
    background: var(--vc-navy-950); color: var(--vc-on-dark-2); border-top: 1px solid var(--vc-line-dark);
    box-shadow: 0 -8px 24px rgba(5, 16, 35, .25); padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0px));
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.cookie-banner p { margin: 0; flex: 1 1 420px; font-size: .9rem; color: #e6edf7; }
.cookie-banner a { color: var(--vc-teal-300); }
.cookie-banner-actions { display: flex; gap: 10px; }
.social { display: flex; gap: 12px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--vc-line-dark); }
.social a:hover { border-color: var(--vc-teal-300); color: #fff; text-decoration: none; }
.social svg { width: 18px; height: 18px; }

/* Utilities */
.text-muted-vc { color: var(--vc-muted) !important; }
.gap-cards { --bs-gutter-x: 24px; --bs-gutter-y: 24px; }
.max-w-prose { max-width: 680px; }

@media (max-width: 575.98px) {
    :root { --vc-header-h: 64px; }
    .site-header .navbar-brand { margin-right: 8px; }
    .site-header .navbar-brand img { height: 28px; }
    .section, .section-sm { padding: 40px 0; }
    .container { padding-left: 16px; padding-right: 16px; }
}

/* Card header illustrations (What we do) */
.card-visual { margin: -32px -32px 24px; aspect-ratio: 16 / 8; border-radius: var(--vc-radius) var(--vc-radius) 0 0; overflow: hidden; position: relative; background: var(--vc-navy-900); }
.card-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* Brand lockup: logo mark + live text, so the name reads "VeViCore" */
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand-lockup img { height: 36px !important; width: auto; margin: 0 !important; }
.brand-divider { width: 1px; height: 28px; background: rgba(255, 255, 255, .45); }
.brand-name { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.01em; color: #f8f8f8; white-space: nowrap; }
.brand-name strong { font-weight: 700; }
.brand-vevi { color: #0499f9; }   /* logo blue */
.brand-core { color: #0ed9c9; }   /* logo teal */
.brand-lockup-lg { margin-bottom: 18px; }
.brand-lockup-lg img { height: 40px !important; }
@media (max-width: 575.98px) {
    .brand-lockup { gap: 8px; }
    .brand-lockup img { height: 28px !important; }
    .brand-divider { height: 22px; }
    .brand-name { font-size: 1.05rem; }
}

/* Photo backdrops (user-supplied images). The overlay keeps text readable. */
.has-photo > .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -3; pointer-events: none; }
.hero.has-photo > .hero-bg { transform: scale(.75); }
@media (min-width: 992px) { .hero.has-photo > .hero-bg { transform: none; } }
.hero.has-photo::before,
.page-hero.has-photo::before {
    background:
        linear-gradient(90deg, rgba(5, 16, 35, .94) 0%, rgba(5, 16, 35, .82) 38%, rgba(5, 16, 35, .45) 70%, rgba(5, 16, 35, .30) 100%),
        linear-gradient(0deg, rgba(5, 16, 35, .55), transparent 40%);
}
.cta-band.has-photo::before {
    background: linear-gradient(90deg, rgba(5, 16, 35, .95) 0%, rgba(5, 16, 35, .85) 50%, rgba(5, 16, 35, .45) 100%);
}
.hero.has-photo::after { opacity: .5; }
@media (max-width: 991.98px) {
    .hero.has-photo::before, .page-hero.has-photo::before { background: rgba(5, 16, 35, .82); }
}
