/*
 * css/service-pages.css - shared framework styles for the Kolo Innovate service pages.
 *
 * Extracted from the inline <style> blocks of services-it.php, services-training.php
 * and services-consultancy.php so the three pages cannot drift apart. Covers the
 * design tokens (:root), base reset, hero chrome, section/sv-label scaffolding,
 * trust strip, intro, search/filter toolbar, service card grid, featured panel,
 * who-we-serve cards, and the shared pieces of the final CTA.
 *
 * Loaded via asset_url() in <head> BEFORE each page's own inline <style>. The
 * page-specific inline rules are selector-disjoint from these, so cascade order
 * is unaffected. Depends on the Bootstrap vendor CSS loaded by head-assets.php.
 */

:root{
            --primary: #0A2540; --primary-dark: #071C31; --primary-light: #123B63;
            --secondary: #119DA4; --secondary-dark: #0C7A80; --secondary-light: #7FDDE0;
            --accent: #F2A93C; --accent-dark: #D9902A;
            --bg-light: #F7F9FC; --bg-card: #FFFFFF; --bg-navy: #0A2540;
            --text: #1E293B; --text-secondary: #4A5A6E; --text-muted: #7C8BA1;
            --border: #E4E9F0; --border-light: #F0F3F7;
            --shadow-sm: 0 2px 10px rgba(10,37,64,.05); --shadow-md: 0 6px 24px rgba(10,37,64,.08);
            --shadow-lg: 0 14px 44px rgba(10,37,64,.12);
            --radius: 18px; --radius-sm: 12px;
            --font: 'Inter', 'Segoe UI', system-ui, sans-serif;
            --font-heading: 'Poppins', var(--font);
        }
*{ margin: 0; padding: 0; box-sizing: border-box; }
html{ scroll-behavior: smooth; }
/* Anchored sections (#featured, #models, #solutions…) must land below the
   sticky navbar, not underneath it. */
.sv-section[id]{ scroll-margin-top: 78px; }
body{ font-family: var(--font); color: var(--text); background: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased; }
/* overflow-x: clip (not hidden!) - `hidden` would make <body> a scroll
   container, which silently breaks position:sticky on the navbar. */
body { overflow-x: clip; }
/* Ensure navbar always works on service pages.
   NOTE: the navbar must stay sticky (Bootstrap .sticky-top on #mainNav) -
   do NOT force `position: relative` here, it un-sticks the navbar on scroll. */
.navbar-collapse { overflow: visible !important; }
.navbar-toggler { pointer-events: auto !important; position: relative !important; z-index: 9999 !important; }
.navbar-collapse.show, .navbar-collapse.collapsing { pointer-events: auto !important; }
.navbar { z-index: 9998 !important; }
h1, h2, h3, h4, h5, h6{ font-family: var(--font-heading); font-weight: 700; color: var(--primary); }
a{ text-decoration: none; color: inherit; }
.sv-container{ max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 575px){ .sv-container { padding: 0 16px; } }
.sv-hero{ background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 70%, #14425F 100%); color: #fff; position: relative; overflow: hidden; padding: 54px 0 64px; }
.sv-hero::before{ content: ''; position: absolute; inset: 0; background: radial-gradient(700px 300px at 85% -20%, rgba(17,157,164,.3), transparent 60%), radial-gradient(500px 260px at 8% 110%, rgba(242,169,60,.16), transparent 60%); pointer-events: none; }
.sv-crumb a{ color: rgba(255,255,255,.75); transition: color .2s; }
.sv-crumb a:hover{ color: #fff; }
.sv-crumb .sep{ opacity: .5; font-size: .6rem; }
.sv-crumb .current{ color: var(--accent); font-weight: 600; }
.sv-eyebrow i{ color: var(--accent); }
.sv-hero h1 span{ background: linear-gradient(120deg, var(--accent), #FFC96B 60%, var(--secondary-light)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sv-btn{ display: inline-flex; align-items: center; gap: 9px; border-radius: 99px; padding: 13px 28px; font-weight: 700; font-size: .9rem; transition: all .25s ease; border: none; cursor: pointer; }
.sv-btn.gold{ background: var(--accent); color: var(--primary); }
.sv-btn.gold:hover{ background: #FFC96B; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(242,169,60,.35); }
.sv-btn.ghost{ background: transparent; color: var(--primary, #0A2540); border: 1.5px solid var(--primary, #0A2540); }
.sv-btn.ghost:hover{ background: var(--primary, #0A2540); color: #fff; transform: translateY(-2px); }
.sv-hero .sv-btn.ghost, .sv-hero-bg .sv-btn.ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.sv-hero .sv-btn.ghost:hover, .sv-hero-bg .sv-btn.ghost:hover { background: #fff; color: var(--primary); }
.sv-hero-imgwrap{ position: relative; z-index: 2; }
.sv-hero-img{ border-radius: 26px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.14); position: relative; }
.sv-hero-img img{ width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4/3.4; }
.sv-hero-float{ position: absolute; display: flex; align-items: center; gap: 10px; background: rgba(10,37,64,.82); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.16); border-radius: 16px; padding: 12px 16px; color: #fff; }
.sv-hero-float .fic{ width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.sv-hero-float .fnum{ font-family: var(--font-heading); font-weight: 800; font-size: 1.05rem; line-height: 1.1; }
.sv-hero-float .flbl{ font-size: .68rem; color: rgba(255,255,255,.75); }
.sv-hero-float.f1{ bottom: 26px; left: -34px; }
.sv-hero-float.f2{ top: 26px; right: -30px; }
.sv-hero-float.f3{ bottom: -22px; right: 40px; }
.sv-section{ padding: 64px 0; }
.sv-section.alt{ background: var(--bg-light); }
.sv-head{ text-align: center; max-width: 680px; margin: 0 auto 40px; }
.sv-label{ display: inline-flex; align-items: center; gap: 8px; color: var(--secondary); font-size: .72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.sv-head h2{ font-size: 1.9rem; font-weight: 800; margin-bottom: 10px; }
.sv-head p{ color: var(--text-secondary); font-size: .95rem; }
@media (max-width: 767px){ .sv-section { padding: 48px 0; } .sv-head h2 { font-size: 1.5rem; } }
.it-stats{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.it-stat{ text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 14px; transition: all .25s ease; }
.it-stat:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.it-stat .num{ font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1.1; }
.it-stat .num span{ color: var(--secondary); }
.it-stat .lbl{ font-size: .8rem; color: var(--text-muted); margin-top: 4px; }
@media (max-width: 767px){ .it-stats { grid-template-columns: 1fr 1fr; gap: 12px; } }
.it-intro{ display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.it-intro-img{ border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.it-intro-img img{ width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4/3; }
.it-intro h3{ font-size: 1.1rem; margin-bottom: 14px; }
.it-intro p{ color: var(--text-secondary); font-size: .94rem; margin-bottom: 20px; }
.it-checks{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.it-check{ display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--text); }
.it-check i{ color: var(--secondary); font-size: 1.05rem; }
@media (max-width: 991px){ .it-intro { grid-template-columns: 1fr; gap: 28px; } }
.it-toolbar{ background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); margin-bottom: 26px; }
.tp-filter-toggle{ display: none; width: 100%; align-items: center; justify-content: space-between; background: var(--primary); color: #fff; border: none; border-radius: 12px; padding: 12px 18px; font-weight: 600; font-size: .9rem; }
.tp-filter-toggle .tf-count{ background: var(--accent); color: var(--primary); border-radius: 99px; padding: 1px 9px; font-size: .75rem; font-weight: 800; }
.tp-filter-toggle .tf-count.d-none{ display: none; }
@media (max-width: 991px){
            .js-filter .tp-filter-toggle { display: flex; }
            .js-filter .it-filter-row { display: none; }
            .js-filter.open .it-filter-row { display: block; margin-top: 16px; }
        }
.it-search-wrap{ position: relative; }
.it-search-wrap i{ position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.it-search{ width: 100%; border: 1.5px solid var(--border); border-radius: 99px; padding: 11px 18px 11px 44px; font-size: .9rem; color: var(--text); background: var(--bg-light); transition: all .2s; }
.it-search:focus{ outline: none; border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(17,157,164,.12); background: #fff; }
.it-filter-row .form-select{ border: 1.5px solid var(--border); border-radius: 12px; padding: 10px 14px; font-size: .88rem; color: var(--text); }
.it-filter-row .form-select:focus{ border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(17,157,164,.12); }
.it-filter-row .f-label{ font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 6px; }
.it-actions{ display: flex; gap: 10px; }
.btn-filter, .btn-clear{ border-radius: 12px; padding: 11px 16px; font-size: .84rem; font-weight: 700; width: 100%; transition: all .2s; }
.btn-filter{ background: var(--primary); color: #fff; border: none; }
.btn-filter:hover{ background: var(--primary-light); }
.btn-clear{ background: var(--bg-light); color: var(--text-secondary); border: 1.5px solid var(--border); }
.btn-clear:hover{ border-color: var(--secondary); color: var(--secondary); }
.it-count{ font-size: .85rem; color: var(--text-muted); margin-bottom: 18px; }
.it-count b{ color: var(--primary); }
.it-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sv-card{ background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; transition: all .28s ease; position: relative; overflow: hidden; }
.sv-card::before{ content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--card-accent, var(--secondary)); opacity: 0; transition: opacity .25s; }
.sv-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.sv-card:hover::before{ opacity: 1; }
.sv-card .si{ width: 50px; height: 50px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; color: #fff; margin-bottom: 16px; }
.sv-card .sbadge{ display: inline-flex; align-items: center; gap: 6px; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 8px; }
.sv-card h3{ font-size: 1.05rem; margin-bottom: 8px; }
.sv-card p{ color: var(--text-secondary); font-size: .86rem; margin-bottom: 18px; line-height: 1.6; }
.sv-card .sactions{ margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border-light); }
.sv-card .smore{ display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .85rem; }
.sv-card .smore i{ transition: transform .2s; }
.sv-card .smore:hover i{ transform: translateX(4px); }
.sv-card .squote{ margin-left: auto; display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--card-accent, var(--secondary)); color: var(--card-accent, var(--secondary)); background: transparent; border-radius: 99px; padding: 7px 15px; font-size: .78rem; font-weight: 700; cursor: pointer; text-decoration: none; transition: all .2s; }
.sv-card .squote:hover{ background: var(--card-accent, var(--secondary)); color: #fff; }
.it-empty{ text-align: center; padding: 56px 20px; display: none; }
.it-empty.show{ display: block; }
.it-empty i{ font-size: 2.6rem; color: var(--border); display: block; margin-bottom: 12px; }
.it-empty h4{ margin-bottom: 6px; }
.it-empty p{ color: var(--text-muted); font-size: .88rem; margin-bottom: 18px; }
@media (max-width: 1199px){ .it-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px){ .it-grid { grid-template-columns: 1fr; } }
.it-featured{ display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); border-radius: var(--radius); padding: 44px 48px; position: relative; overflow: hidden; }
.it-featured::before{ content: ''; position: absolute; inset: 0; background: radial-gradient(520px 260px at 90% -20%, rgba(17,157,164,.3), transparent 60%); pointer-events: none; }
.it-featured .fbadge{ display: inline-flex; align-items: center; gap: 8px; background: rgba(242,169,60,.16); color: var(--accent); border: 1px solid rgba(242,169,60,.4); padding: 7px 16px; border-radius: 99px; font-size: .72rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 18px; position: relative; }
.it-featured h3{ color: #fff; font-size: 1.7rem; margin-bottom: 12px; position: relative; }
.it-featured p{ color: rgba(255,255,255,.82); font-size: .95rem; margin-bottom: 20px; position: relative; }
.it-featured .fchecks{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; position: relative; }
.it-featured .fcheck{ display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.9); font-size: .86rem; font-weight: 600; }
.it-featured .fcheck i{ color: var(--secondary-light); }
.it-featured .fcta{ display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.it-featured .fimg{ border-radius: var(--radius); overflow: hidden; box-shadow: 0 26px 60px rgba(0,0,0,.4); position: relative; border: 1px solid rgba(255,255,255,.14); }
.it-featured .fimg img{ width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4/3; }
@media (max-width: 991px){ .it-featured { grid-template-columns: 1fr; padding: 32px 24px; gap: 26px; } .it-featured .fchecks { grid-template-columns: 1fr; } }
.sv-serve{ display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.sv-serve-card{ background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px 16px; text-align: center; transition: all .25s ease; }
.sv-serve-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sv-serve-card i{ font-size: 1.5rem; color: var(--secondary); display: block; margin-bottom: 10px; }
.sv-serve-card h4{ font-size: .86rem; margin-bottom: 6px; }
.sv-serve-card p{ font-size: .76rem; color: var(--text-muted); margin: 0; line-height: 1.5; }
@media (max-width: 991px){ .sv-serve { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px){ .sv-serve { grid-template-columns: 1fr 1fr; } }
.sv-final{ background: radial-gradient(560px 300px at 88% -30%, rgba(17,157,164,.32), transparent 60%), linear-gradient(135deg, #0E3458 0%, #0F5E75 100%); }
.sv-final::before{ content: ''; position: absolute; inset: 0; background: radial-gradient(500px 240px at 50% -40%, rgba(17,157,164,.3), transparent 60%); pointer-events: none; }
@media (prefers-reduced-motion: reduce){
            *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; }
            :not(.navbar-collapse) { transition-duration: .01ms !important; }
        }

/* ---------- Split image + text sections (Why Kolo Innovate on services-it.php and services-consultancy.php) ---------- */
.it-split { display: grid; grid-template-columns: 1.02fr 1fr; gap: 58px; align-items: center; }
.it-split.flip .it-split-media { order: 2; }
.it-split-media { position: relative; }
.it-split-media::before { content: ''; position: absolute; width: 210px; height: 210px; border-radius: 50%; background: radial-gradient(circle, rgba(17,157,164,.2), transparent 70%); top: -42px; left: -42px; z-index: 0; pointer-events: none; }
.it-split-media::after { content: ''; position: absolute; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(242,169,60,.16), transparent 70%); bottom: -30px; right: -30px; z-index: 0; pointer-events: none; }
.it-split-media .frame { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); position: relative; z-index: 1; }
.it-split-media .frame::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(255,255,255,.18); pointer-events: none; }
.it-split-media img { width: 100%; display: block; object-fit: cover; aspect-ratio: 4/3.1; }
.it-media-chip { position: absolute; display: flex; align-items: center; gap: 10px; background: rgba(10,37,64,.9); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 11px 16px; color: #fff; box-shadow: var(--shadow-md); z-index: 2; }
.it-media-chip .ic { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.it-media-chip .t { font-size: .68rem; color: rgba(255,255,255,.7); letter-spacing: .4px; }
.it-media-chip .v { font-family: var(--font-heading); font-weight: 800; font-size: .92rem; line-height: 1.15; }
.it-media-chip.c1 { bottom: 24px; left: -24px; }
.it-media-chip.c2 { top: 24px; right: -20px; }
.it-split-body .sv-label { margin-bottom: 12px; }
.it-split-body h2 { font-size: 1.85rem; font-weight: 800; line-height: 1.22; margin-bottom: 12px; }
.it-split-body h2 .grad { background: linear-gradient(120deg, var(--secondary), #10B981 55%, var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.it-split-body > p { color: var(--text-secondary); font-size: .95rem; margin-bottom: 28px; max-width: 540px; }
.it-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.it-benefit { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px 18px; transition: all .25s ease; }
.it-benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.it-benefit .bic { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: #fff; margin-bottom: 12px; }
.it-benefit h4 { font-size: .94rem; margin-bottom: 6px; }
.it-benefit p { font-size: .8rem; color: var(--text-secondary); margin: 0; line-height: 1.55; }
@media (max-width: 1287px) {
    /* keep the decorative glow circles inside the media box below the
       capped-container width so they never nudge the page wider */
    .it-split-media::before { top: -24px; left: 12px; }
    .it-split-media::after { bottom: -18px; right: 12px; }
}
@media (max-width: 991px) {
    .it-split { grid-template-columns: 1fr; gap: 36px; }
    .it-split.flip .it-split-media { order: 0; }
    .it-media-chip.c1 { left: 12px; }
    .it-media-chip.c2 { right: 12px; }
}
@media (max-width: 575px) { .it-split-body h2 { font-size: 1.5rem; } .it-benefits { grid-template-columns: 1fr; } }

/* Mobile: smaller service buttons */
@media (max-width: 575px) {
    .sv-btn { padding: 10px 20px; font-size: .82rem; gap: 7px; }
    .sv-hero-cta { flex-direction: column; gap: 10px; }
    .sv-hero-cta .sv-btn { width: 100%; justify-content: center; }
    .sv-hero h1 { font-size: 1.8rem; }
    .sv-hero .sv-lead { font-size: .9rem; }
}
