/* =========================================================================
   AMARAKOSHA — Automotive-Tech Reskin  (ak-theme.css)
   LIGHT theme: white with a blue tint · navy text · electric-blue accents.
   Loaded AFTER the legacy stylesheets so these rules win on equal specificity.
   This is a pure RESKIN: markup, links, plugins and content are untouched.
   ========================================================================= */

:root {
   --ak-bg:        #f3f7fd;   /* page canvas — near-white, blue tint       */
   --ak-bg-2:      #e7eef9;   /* alt band (light blue)                     */
   --ak-panel:     #ffffff;   /* card / panel surface                      */
   --ak-panel-2:   #eef3fb;   /* raised / inset surface                    */
   --ak-line:      rgba(38,86,164,0.14);
   --ak-line-2:    rgba(47,120,230,0.34);
   --ak-blue:      #1f6fe0;   /* primary signal (deep enough for white)    */
   --ak-blue-hi:   #1559b8;
   --ak-cyan:      #1499d8;   /* accent (teal-blue, reads on white)        */
   --ak-ink:       #14233f;   /* headings / strong text                    */
   --ak-text:      #14233f;
   --ak-muted:     #4b5c79;   /* body text                                 */
   --ak-dim:       #74859f;   /* secondary text                            */
   --ak-glow:      0 22px 48px -24px rgba(31,111,224,.45);
   --ak-display:   'Chakra Petch', 'Poppins', sans-serif;
   --ak-body:      'Poppins', sans-serif;
}

/* Canvas, typography, BUTTONS, HEADER/NAV, SECTION TITLES — promoted to the
   site-wide ak-base.css (loaded on every page). Home/about keep only their
   page-specific overrides below. */

/* =========================================================================
   HERO SLIDER  (dark text over a light wash on the banner imagery)
   ========================================================================= */
.slider .single-slider {
   position: relative;
   height: 660px;
   background-color: var(--ak-bg);
}
.slider .single-slider:before {
   content: "";
   position: absolute; inset: 0;
   background:
      linear-gradient(90deg, rgba(243,247,253,.95) 0%, rgba(243,247,253,.82) 40%, rgba(243,247,253,.30) 76%, rgba(243,247,253,.62) 100%),
      linear-gradient(0deg, rgba(243,247,253,.7), transparent 55%);
}
.slider .single-slider:after {           /* faint scan grid over the imagery */
   content: "";
   position: absolute; inset: 0;
   background-image:
      linear-gradient(rgba(30,70,140,.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(30,70,140,.06) 1px, transparent 1px);
   background-size: 52px 52px;
   mask-image: linear-gradient(90deg, transparent, #000 60%);
   -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
   opacity: .8;
}
.slider .single-slider .container { position: relative; z-index: 3; }
.slider .single-slider .row { min-height: 600px; align-items: flex-start; padding-top: 70px; padding-bottom: 96px; }
/* Reduce how far the 3 schedule cards ride up into the hero so they clear the buttons */
.schedule .schedule-inner { transform: translateY(-28%); }
.slider .single-slider .text { margin-top: 0; }
/* Drop the legacy fadeInUp on hero text — its `both` fill + owl clones left
   the headline stuck at opacity:0. Keep it reliably visible. */
.slider .single-slider h1,
.slider .single-slider p,
.slider .single-slider .button { animation: none !important; opacity: 1 !important; transform: none !important; }
.slider .single-slider h1 {
   color: var(--ak-ink);
   font-size: 56px;
   line-height: 1.04;
   font-weight: 700;
   letter-spacing: -.01em;
}
.slider .single-slider h1 span {
   background: linear-gradient(120deg, var(--ak-cyan), var(--ak-blue));
   -webkit-background-clip: text; background-clip: text;
   -webkit-text-fill-color: transparent;
}
.slider .single-slider p {
   color: var(--ak-muted);
   max-width: 560px;
   font-size: 16px;
   line-height: 1.7;
   margin-top: 22px;
}
/* Sleek borderless chevrons — small & faint by default, enlarge on hover */
.slider .owl-carousel .owl-nav div {
   background: transparent !important;
   border: none !important;
   border-radius: 0 !important;
   -webkit-backdrop-filter: none !important;
   backdrop-filter: none !important;
   box-shadow: none !important;
   width: auto; height: auto; line-height: 1;
   color: var(--ak-muted);
   opacity: .45;
   font-size: 26px;
   transition: opacity .25s ease, transform .25s ease, color .25s ease;
}
.slider .owl-carousel .owl-nav div:hover {
   background: transparent !important;
   color: var(--ak-ink);
   opacity: 1;
   transform: scale(1.85);
}
.slider .owl-dots .owl-dot span { background: #b9c6dd !important; }
.slider .owl-dots .owl-dot.active span { background: var(--ak-blue) !important; }

/* ---- Hero figures (animated UI graphics that replace the banner images) --- */
.ak-hero-fig {
   position: relative;
   margin-left: auto;
   max-width: 460px;
   background: #ffffff;
   border: 1px solid rgba(31,111,224,.18);
   border-radius: 16px;
   padding: 18px;
   box-shadow: 0 34px 70px -26px rgba(20,40,90,.45), 0 6px 16px -8px rgba(20,40,90,.22);
   overflow: hidden;
}
.ak-hero-fig:before {            /* top accent line */
   content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
   background: linear-gradient(90deg, var(--ak-cyan), var(--ak-blue), transparent);
}
.ak-hero-fig { opacity: 1; }   /* always visible — inner graphics provide the motion */

/* header: window dots + title + status pill */
.ak-ui-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.ak-dots { display: flex; gap: 6px; }
.ak-dots i { width: 9px; height: 9px; border-radius: 50%; background: #cdd9ec; }
.ak-dots i:nth-child(1) { background: #ff6b6b; }
.ak-dots i:nth-child(2) { background: #ffce54; }
.ak-dots i:nth-child(3) { background: #3fcf8e; }
.ak-ui-title { font-family: var(--ak-display); font-size: 12.5px; font-weight: 600;
   letter-spacing: .04em; text-transform: uppercase; color: #5a6f93; white-space: nowrap; }
.ak-ui-live { margin-left: auto; display: flex; align-items: center; gap: 6px;
   font-family: var(--ak-display); font-size: 10px; font-weight: 600; letter-spacing: .08em;
   color: var(--ak-blue); background: rgba(31,111,224,.08);
   border: 1px solid rgba(31,111,224,.2); border-radius: 20px; padding: 3px 9px; }
.ak-ui-live i { width: 7px; height: 7px; border-radius: 50%; background: #19b36b;
   box-shadow: 0 0 6px #19b36b; animation: ak-blink 1.6s ease-in-out infinite; }
@keyframes ak-blink { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
/* discharging state: amber badge + dot (charging keeps the default blue/green) */
.ak-ui-live.is-discharging { color: #b45309; background: rgba(217,119,6,.10); border-color: rgba(217,119,6,.30); }
.ak-ui-live.is-discharging i { background: #f59e0b; box-shadow: 0 0 6px #f59e0b; }

/* channel legend */
.ak-legend { display: flex; gap: 16px; margin-bottom: 12px; }
.ak-legend span { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 500; color: #5a6f93; }
.ak-legend i { width: 14px; height: 3px; border-radius: 2px; }
.ak-legend .lg1 i { background: var(--ak-blue); }
.ak-legend .lg2 i { background: var(--ak-cyan); }
.ak-legend .lg3 i { background: #17a866; }

/* labelled stat row */
.ak-stats { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; }
.ak-stat { flex: 1; }
.ak-stat b { display: block; font-family: var(--ak-display); font-size: 20px; font-weight: 700; color: var(--ak-ink); line-height: 1; }
.ak-stat b i { font-style: normal; font-size: 11px; font-weight: 600; color: #7d8eaa; margin-left: 2px; }
.ak-stat small { font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: #94a3bd; }

/* SLIDE 1 — LeanCFG configurator (clean, labelled) */
.ak-cfg {
   display: flex; align-items: stretch; gap: 10px;
   height: 162px; padding: 12px; border-radius: 10px;
   background:
      linear-gradient(rgba(31,111,224,.07) 1px, transparent 1px),
      linear-gradient(90deg, rgba(31,111,224,.07) 1px, transparent 1px),
      linear-gradient(180deg, #eef4fd, #e2ecf9);
   background-size: 22px 22px, 22px 22px, 100% 100%;
   border: 1px solid rgba(31,111,224,.18);
}
.ak-cfg-col {
   display: block; font-family: var(--ak-display); font-size: 9px; font-weight: 700;
   letter-spacing: .12em; text-transform: uppercase; color: #8aa0c2; margin-bottom: 7px;
}
.ak-cfg-modules { flex: 1.18; display: flex; flex-direction: column; }
.ak-cfg-files   { flex: 1;    display: flex; flex-direction: column; }

/* module rows (config + validate) */
.ak-mod {
   display: flex; align-items: center; gap: 6px; flex: 1;
   background: #fff; border: 1px solid rgba(31,111,224,.16); border-radius: 6px;
   padding: 0 7px; margin-bottom: 5px;
}
.ak-cfg-modules .ak-mod:last-child { margin-bottom: 0; }
.ak-mod b { font-family: var(--ak-display); font-size: 10px; font-weight: 600;
   color: var(--ak-ink); width: 40px; flex: 0 0 auto; }
.ak-bar { position: relative; flex: 1; height: 4px; border-radius: 3px; background: #dbe6f6; overflow: hidden; }
.ak-bar i { position: absolute; inset: 0; border-radius: 3px; transform-origin: left;
   background: linear-gradient(90deg, var(--ak-cyan), var(--ak-blue));
   animation: ak-cfgfill 3.6s ease-in-out infinite; }
.ak-mod em { font-style: normal; font-size: 11px; line-height: 1; width: 14px; flex: 0 0 auto; text-align: center; }
.ak-mod em.ok { color: #17a866; font-weight: 700; }
.ak-mod em.run { width: 11px; height: 11px; border-radius: 50%;
   border: 2px solid rgba(31,111,224,.25); border-top-color: var(--ak-blue);
   animation: ak-spin .9s linear infinite; }
.ak-mod.busy { border-color: rgba(31,111,224,.42); box-shadow: 0 0 0 2px rgba(31,111,224,.09); }
.ak-mod.busy .ak-bar i { animation: none; transform: scaleX(.55); }
.ak-cfg-modules .ak-mod:nth-child(3) .ak-bar i { animation-delay: -.6s; }
.ak-cfg-modules .ak-mod:nth-child(5) .ak-bar i { animation-delay: -1.9s; }
@keyframes ak-cfgfill { 0% { transform: scaleX(.12); } 55%,100% { transform: scaleX(1); } }
@keyframes ak-spin { to { transform: rotate(360deg); } }

/* generate / export flow */
.ak-cfg-flow { flex: 0 0 30px; display: flex; flex-direction: column;
   align-items: center; justify-content: center; gap: 6px; }
.ak-cfg-gen { position: relative; width: 30px; height: 30px; border-radius: 50%;
   display: flex; align-items: center; justify-content: center; font-size: 14px; color: #fff;
   background: linear-gradient(160deg, var(--ak-cyan), var(--ak-blue));
   box-shadow: 0 7px 15px -6px rgba(31,111,224,.85); }
.ak-cfg-gen:before { content: ""; position: absolute; inset: -4px; border-radius: 50%;
   border: 2px dashed rgba(31,111,224,.45); animation: ak-spin 3.4s linear infinite; }
.ak-cfg-flow span { font-family: var(--ak-display); font-size: 8px; font-weight: 700;
   letter-spacing: .12em; text-transform: uppercase; color: #8aa0c2; }

/* generated files */
.ak-file { display: flex; align-items: center; gap: 6px; flex: 1;
   background: #fff; border: 1px solid rgba(31,111,224,.16); border-radius: 6px;
   padding: 0 7px; margin-bottom: 5px;
   font-family: 'Consolas','Menlo','Monaco',monospace; font-size: 10.5px; font-weight: 600; color: var(--ak-ink);
   animation: ak-fileglow 3.6s ease-in-out infinite; }
.ak-cfg-files .ak-file:last-child { margin-bottom: 0; }
.ak-file i { font-style: normal; font-size: 8.5px; font-weight: 700; line-height: 1;
   border-radius: 4px; padding: 2px 5px; }
.ak-file i.c { color: var(--ak-blue); background: rgba(31,111,224,.12); }
.ak-file i.h { color: var(--ak-cyan); background: rgba(20,153,216,.15); }
.ak-cfg-files .ak-file:nth-child(2) { animation-delay: -.4s; }
.ak-cfg-files .ak-file:nth-child(3) { animation-delay: -1.3s; }
.ak-cfg-files .ak-file:nth-child(4) { animation-delay: -2.1s; }
.ak-cfg-files .ak-file:nth-child(5) { animation-delay: -2.9s; }
@keyframes ak-fileglow {
   0%,100% { box-shadow: 0 0 0 0 rgba(31,111,224,0); border-color: rgba(31,111,224,.16); }
   50%     { box-shadow: 0 0 0 2px rgba(31,111,224,.10); border-color: rgba(31,111,224,.42); }
}

/* SLIDE 2 — ECU diagram (clean, labelled) */
.ak-ecu {
   position: relative; height: 162px; border-radius: 10px;
   display: flex; align-items: center; justify-content: center;
   background:
      linear-gradient(rgba(31,111,224,.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(31,111,224,.08) 1px, transparent 1px),
      linear-gradient(180deg, #eef4fd, #e2ecf9);
   background-size: 24px 24px, 24px 24px, 100% 100%;
   border: 1px solid rgba(31,111,224,.18);
}
.ak-ecu-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.ak-ecu-lines line { stroke: var(--ak-blue); stroke-width: 2; stroke-dasharray: 5 7; animation: ak-flow 1.1s linear infinite; }
.ak-ecu-lines line.r { stroke: var(--ak-cyan); animation-direction: reverse; }
@keyframes ak-flow { to { stroke-dashoffset: -24; } }
.ak-chip {
   position: relative; z-index: 2; width: 94px; height: 94px; border-radius: 14px;
   display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
   color: #fff; background: linear-gradient(160deg, #3f8bff, #1559b8);
   box-shadow: 0 12px 26px -10px rgba(31,111,224,.7), inset 0 0 0 5px rgba(255,255,255,.08);
   animation: ak-chippulse 2.8s ease-in-out infinite;
}
@keyframes ak-chippulse {
   0%,100% { box-shadow: 0 12px 26px -12px rgba(31,111,224,.55), inset 0 0 0 5px rgba(255,255,255,.08); }
   50%     { box-shadow: 0 16px 34px -8px rgba(31,111,224,.9),  inset 0 0 0 5px rgba(255,255,255,.13); }
}
.ak-chip b { font-family: var(--ak-display); font-size: 18px; font-weight: 700; letter-spacing: .02em; }
.ak-chip small { font-size: 9px; letter-spacing: .12em; opacity: .82; text-transform: uppercase; }
.ak-io {
   position: absolute; z-index: 2; font-family: var(--ak-display);
   font-size: 10px; font-weight: 600; letter-spacing: .05em; color: var(--ak-blue);
   background: #fff; border: 1px solid rgba(31,111,224,.25); border-radius: 6px; padding: 3px 8px;
}
.ak-io.io-tl { top: 14px; left: 16px; }
.ak-io.io-tr { top: 14px; right: 16px; }
.ak-io.io-bl { bottom: 14px; left: 16px; }
.ak-io.io-br { bottom: 14px; right: 16px; }
.ak-layers { display: flex; gap: 8px; margin-top: 16px; }
.ak-layers span {
   flex: 1; text-align: center; font-family: var(--ak-display);
   font-size: 10.5px; font-weight: 600; letter-spacing: .05em; color: #5a6f93;
   background: rgba(31,111,224,.07); border: 1px solid rgba(31,111,224,.14); border-radius: 6px; padding: 10px 0;
}
.ak-layers span:first-child { color: #fff; background: linear-gradient(160deg, var(--ak-cyan), var(--ak-blue)); border-color: transparent; }

/* SLIDE 3 — BMS pack monitor (clean, labelled) */
.ak-bms { display: flex; align-items: center; justify-content: center; gap: 22px;
   height: 162px; padding: 0 14px; border-radius: 10px;
   background:
      linear-gradient(rgba(31,111,224,.07) 1px, transparent 1px),
      linear-gradient(90deg, rgba(31,111,224,.07) 1px, transparent 1px),
      linear-gradient(180deg, #eef4fd, #e2ecf9);
   background-size: 22px 22px, 22px 22px, 100% 100%;
   border: 1px solid rgba(31,111,224,.18); }
.ak-soc { position: relative; width: 128px; flex: 0 0 auto; text-align: center; }
.ak-soc svg { width: 100%; height: auto; display: block; overflow: visible; }
.ak-soc-track { fill: none; stroke: #d3e1f4; stroke-width: 9; stroke-linecap: round; }
.ak-soc-fill {
   fill: none; stroke: var(--ak-blue); stroke-width: 9; stroke-linecap: round;
   stroke-dasharray: 86 100; stroke-dashoffset: 0;   /* JS drives dash length = SoC% */
   filter: drop-shadow(0 0 4px rgba(31,111,224,.4));
}
.ak-soc-val { position: absolute; top: 40%; left: 0; right: 0;
   font-family: var(--ak-display); font-size: 26px; font-weight: 700; color: var(--ak-ink); line-height: 1; }
.ak-soc-val i { font-style: normal; font-size: 13px; }
.ak-soc small { display: block; margin-top: 6px; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: #94a3bd; }
.ak-cells { flex: 1; display: flex; align-items: flex-end; gap: 8px; height: 96px; }
.ak-cells .ak-cell {
   position: relative; flex: 1; height: 100%;
   border: 2px solid var(--ak-blue); border-radius: 5px;
   background: rgba(255,255,255,.6); overflow: hidden;
   display: flex; align-items: flex-end;
}
.ak-cells .ak-cell:before {        /* terminal nub */
   content: ""; position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
   width: 12px; height: 5px; border-radius: 2px 2px 0 0; background: var(--ak-blue);
}
.ak-cells .ak-cell b {
   display: block; width: 100%; height: 60%;   /* JS drives height = per-cell charge level (rAF) */
   background: linear-gradient(180deg, var(--ak-cyan), var(--ak-blue));
}

/* Respect reduced-motion: freeze hero figure animations */
@media (prefers-reduced-motion: reduce) {
   .ak-wave, .ak-ecu-lines line, .ak-chip, .ak-soc-fill,
   .ak-cells .ak-cell b, .ak-ui-live i,
   .ak-bar i, .ak-mod em.run, .ak-cfg-gen:before, .ak-file,
   .pf-dash, .pf-needle, .pf-cellbar, .pf-keypulse, .pf-check, .pf-level, .pf-scan { animation: none !important; }
}

/* =========================================================================
   SCHEDULE (3 intro cards) — kept as bold blue brand cards on the white page
   ========================================================================= */
.schedule { background: transparent; height: 200px; }
.schedule .single-schedule,
.schedule .single-schedule.first,
.schedule .single-schedule.middle,
.schedule .single-schedule.last {
   background: linear-gradient(160deg, #2f7be6, #1559b8);
   border: 1px solid rgba(255,255,255,.12);
   border-top: 2px solid #6fb0ff;
   border-radius: 4px;
   clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
   box-shadow: 0 30px 55px -30px rgba(31,111,224,.6);
}
.schedule .single-schedule:before { background: var(--ak-blue); }
.schedule .single-schedule:hover { border-top-color: #fff; }
.schedule .single-schedule .icon i { color: #fff; opacity: .14; }
.schedule .single-schedule h4 { color: #fff; font-size: 21px; }
.schedule .single-schedule p { color: rgba(255,255,255,.9); }
.schedule .single-schedule a { color: #fff; text-transform: uppercase; letter-spacing:.08em; font-family: var(--ak-display); font-size: 12px; }
.schedule .single-schedule a:before { background: #fff; }

/* SECTION TITLES — promoted to ak-base.css (global). */

/* =========================================================================
   ABOUT / WHY-CHOOSE
   ========================================================================= */
.why-choose { background: transparent; }
.why-choose .choose-left h3 { color: var(--ak-ink); font-size: 26px; }
.why-choose .choose-left h3:before { background: var(--ak-blue); }
.why-choose .choose-left p { color: var(--ak-muted); }
.why-choose .choose-left .list li { color: var(--ak-ink); }
.why-choose .choose-left .list li i { color: var(--ak-blue); }

.why-choose .choose-right {
   position: relative;
   background-image: none;   /* drop the legacy videothumbnail.jpg photo */
   padding: 10px 0;
}

/* "Who We Are" graphic — connected-vehicle systems hub (no photos) */
.ak-about-fig {
   position: relative;
   width: 100%; max-width: 420px;
   margin: 0 auto;
   aspect-ratio: 1 / 1;
}
.ak-about-fig:before {            /* soft glow behind the hub */
   content: ""; position: absolute; left: 50%; top: 50%;
   width: 70%; height: 70%; transform: translate(-50%,-50%);
   background: radial-gradient(circle, rgba(31,111,224,.18), transparent 68%);
}
.ak-about-links { position: absolute; inset: 0; width: 100%; height: 100%; }
.ak-link {
   stroke: var(--ak-blue); stroke-width: 1.6; fill: none;
   stroke-dasharray: 5 8; opacity: .55;
   animation: ak-flow 1.5s linear infinite;
}
.ak-link.r { animation-direction: reverse; }
.ak-hub, .ak-node {
   position: absolute; transform: translate(-50%,-50%);
   display: flex; align-items: center; justify-content: center;
   border-radius: 50%;
}
.ak-hub {
   left: 50%; top: 50%; width: 92px; height: 92px; z-index: 2;
   color: #fff; font-size: 36px;
   background: linear-gradient(160deg, #3f8bff, #1559b8);
   box-shadow: 0 0 0 8px rgba(31,111,224,.10), 0 16px 32px -10px rgba(31,111,224,.6);
   animation: ak-hubpulse 2.6s ease-in-out infinite;
}
.ak-node {
   width: 60px; height: 60px; z-index: 2;
   color: var(--ak-blue); font-size: 23px;
   background: #fff; border: 1px solid rgba(31,111,224,.2);
   box-shadow: 0 12px 26px -12px rgba(20,40,90,.45);
   animation: ak-nodepulse 4s ease-in-out infinite;
}
.ak-about-fig .n1 { left: 50%; top: 8%;  }
.ak-about-fig .n2 { left: 86%; top: 29%; animation-delay: .5s; }
.ak-about-fig .n3 { left: 86%; top: 71%; animation-delay: 1s;  }
.ak-about-fig .n4 { left: 50%; top: 92%; animation-delay: 1.5s; }
.ak-about-fig .n5 { left: 14%; top: 71%; animation-delay: 2s;  }
.ak-about-fig .n6 { left: 14%; top: 29%; animation-delay: 2.5s; }
@keyframes ak-hubpulse {
   0%,100% { box-shadow: 0 0 0 8px rgba(31,111,224,.10), 0 16px 32px -10px rgba(31,111,224,.5); }
   50%     { box-shadow: 0 0 0 14px rgba(31,111,224,.06), 0 18px 40px -8px rgba(31,111,224,.8); }
}
@keyframes ak-nodepulse {
   0%,100% { transform: translate(-50%,-50%) scale(1); }
   50%     { transform: translate(-50%,-50%) scale(1.09); }
}
@media (prefers-reduced-motion: reduce) {
   .ak-link, .ak-hub, .ak-node { animation: none !important; }
}

/* =========================================================================
   FUN FACTS (counters) — a blue brand band for rhythm against the white
   ========================================================================= */
.fun-facts {
   background:
      radial-gradient(700px 400px at 80% 10%, rgba(20,153,216,.35), transparent 60%),
      linear-gradient(160deg, #2f7be6, #1559b8);
   border-top: 1px solid var(--ak-line);
   border-bottom: 1px solid var(--ak-line);
}
.fun-facts:before {
   background-image:
      linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px);
   background-size: 46px 46px;
   opacity: .7;
}
.fun-facts .single-fun i { color: #d6e8ff; }
.fun-facts .single-fun span,
.fun-facts .single-fun .counter {
   color: #fff;
   font-family: var(--ak-display);
   font-weight: 700;
   text-shadow: 0 2px 18px rgba(0,0,0,.18);
}
.fun-facts .single-fun p { color: rgba(255,255,255,.9); }

/* =========================================================================
   SERVICES GRID — white cards, blue accents
   ========================================================================= */
.services { background: transparent; }
.services .single-service {
   background: var(--ak-panel);
   border: 1px solid var(--ak-line);
   border-radius: 4px;
   padding: 40px 30px;
   position: relative;
   overflow: hidden;
   transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
   clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
   box-shadow: 0 18px 40px -28px rgba(20,40,90,.4);
}
.services .single-service:before {
   content: "";
   position: absolute; left: 0; top: 0; height: 2px; width: 0;
   background: linear-gradient(90deg, var(--ak-cyan), var(--ak-blue));
   transition: width .35s ease;
}
.services .single-service:hover {
   transform: translateY(-6px);
   border-color: var(--ak-line-2);
   box-shadow: 0 30px 55px -28px rgba(31,111,224,.45);
}
.services .single-service:hover:before { width: 100%; }
.services .single-service i {
   position: static;            /* was absolute (legacy) → stop overlapping the heading */
   display: block;
   color: var(--ak-blue);
   font-size: 42px;
   margin-bottom: 16px;
}
.services .single-service h4 a { color: var(--ak-ink); font-family: var(--ak-display); }
.services .single-service h4 a:hover { color: var(--ak-blue); }
.services .single-service p { color: var(--ak-muted); }

/* =========================================================================
   PORTFOLIO (product carousel)
   ========================================================================= */
.portfolio { background: transparent; }
.portfolio .single-pf {
   position: relative;
   margin: 14px 0;
   border: 1px solid var(--ak-line);
   border-radius: 14px;
   overflow: hidden;
   background: var(--ak-panel);
   box-shadow: 0 18px 40px -26px rgba(20,40,90,.45);
   transition: transform .35s ease, box-shadow .35s ease;
}
.portfolio .single-pf:hover {
   transform: translateY(-6px);
   box-shadow: 0 30px 56px -24px rgba(31,111,224,.5);
}
.portfolio .single-pf img { transition: transform .6s ease; }
.portfolio .single-pf:hover img { transform: scale(1.08); }
/* subtle blue tint on hover (top-weighted so the photo still reads) */
.portfolio .single-pf:before {
   background: linear-gradient(0deg, transparent 40%, rgba(31,111,224,.30));
   opacity: 0; visibility: visible;
}
.portfolio .single-pf:hover:before { opacity: 1; }
/* permanent readability scrim for the always-on caption */
.portfolio .single-pf:after {
   content: "";
   position: absolute; left: 0; right: 0; bottom: 0; height: 58%;
   background: linear-gradient(0deg, rgba(8,26,58,.92), rgba(8,26,58,.45) 45%, transparent);
   z-index: 2; pointer-events: none;
}
/* product name as an always-visible bottom caption */
.portfolio .single-pf .btn {
   left: 0; right: 0; top: auto; bottom: 0;
   width: 100%; height: auto; margin: 0;
   opacity: 1; visibility: visible;
   display: flex; align-items: center; gap: 12px;
   padding: 16px 20px 18px;
   background: transparent; box-shadow: none;
   clip-path: none; border-radius: 0;
   color: #fff; font-family: var(--ak-display); font-weight: 600;
   text-transform: none; letter-spacing: .01em; font-size: 16px; line-height: 1.25;
   text-align: left;
}
.portfolio .single-pf .btn:before {        /* blue accent tab to the left of the name */
   content: ""; flex: 0 0 auto;
   position: static; transform: none;      /* cancel the global .btn:before slide-fill */
   width: 4px; height: 20px; border-radius: 3px;
   background: linear-gradient(180deg, var(--ak-cyan), var(--ak-blue));
   transition: height .3s ease;
}
.portfolio .single-pf:hover .btn:before { height: 30px; }
.portfolio .single-pf .btn:hover { color: #fff; }
.portfolio .owl-nav div { background: #fff !important; border: 1px solid var(--ak-line-2); color: var(--ak-blue) !important; }
.portfolio .owl-nav div:hover { background: var(--ak-blue) !important; color:#fff !important; }

/* =========================================================================
   CLIENTS  (logos on clean white chips)
   ========================================================================= */
.clients {
   height: auto;                 /* was fixed 200px — let logos breathe */
   overflow: visible;            /* don't clip the hover lift */
   padding: 56px 0 60px;
   background:
      linear-gradient(90deg, var(--ak-line) 1px, transparent 1px) 0 0 / 46px 46px,
      var(--ak-bg-2);
   border-top: 1px solid var(--ak-line);
   border-bottom: 1px solid var(--ak-line);
}
/* keep the legacy 'Our Clients' title (from ::before content) as a clean heading */
.clients::before {
   height: auto;
   background: none;
   color: var(--ak-ink);
   opacity: 1 !important;
   font-family: var(--ak-display);
   font-size: 30px;
   font-weight: 700;
   letter-spacing: -.01em;
   padding: 0;
   top: 14px;
}
.clients .single-clients {
   display: flex; align-items: center; justify-content: center;
   height: 112px;
   background: #fff;
   border: 1px solid var(--ak-line);
   border-radius: 14px;
   margin: 16px 12px;
   box-shadow: 0 16px 34px -22px rgba(20,40,90,.45);
   transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.clients .single-clients:hover {
   transform: translateY(-8px) scale(1.05);
   border-color: var(--ak-line-2);
   box-shadow: 0 26px 46px -16px rgba(31,111,224,.5);
}
/* bigger logos, always full colour (clients stay prominent while scrolling) */
.clients .single-clients img {
   width: auto; max-width: 92%; max-height: 82px;
   padding: 0; margin: 0 auto; display: block;
   object-fit: contain;
   filter: none; opacity: 1;
   transition: transform .35s ease;
}
.clients .single-clients:hover img { transform: scale(1.06); }

/* =========================================================================
   APPOINTMENT / CONTACT CTA
   ========================================================================= */
.appointment {
   position: relative;
   background:
      radial-gradient(800px 420px at 50% 120%, rgba(31,111,224,.16), transparent 60%),
      linear-gradient(180deg, var(--ak-bg-2), #dfe9f8);
   border-top: 1px solid var(--ak-line);
   padding: 90px 0;
}
.appointment .section-title h2 { color: var(--ak-ink); }
.appointment .btn { color:#fff !important; }

/* FOOTER — moved to the site-wide ak-base.css (loaded on every page). */

/* =========================================================================
   DRIVE SCROLL GRAPHIC
   Top-view car descends the left gutter; its blue scan-beam focuses on the
   section being read. (On a light theme the beam is a soft blue tint, not a
   white glow.) Desktop only (needs gutter), pointer-events:none.
   ========================================================================= */
#ak-drive {
   position: fixed;
   inset: 0;
   pointer-events: none;
   z-index: 3;                 /* above section backgrounds, below the header */
}
/* Let the car drive OVER the Our Products section (heading/intro), but pass
   BEHIND only the actual product-card strip and the footer bar. */
.portfolio .container-fluid,
.footer,
.copyright { position: relative; z-index: 4; }

/* Gutter lane the car travels in: sits left of the centered container.
   Lower bound is a small POSITIVE inset (not negative) so on narrow viewports —
   notably ~1280px from Windows 150% scaling — the car stays fully on-screen in the
   gutter instead of being clipped at the left edge. It only drifts right (toward
   92px) once a wide screen opens a real gutter. */
.ak-lane,
.ak-car-wrap {
   left: clamp(16px, calc((100vw - 1280px) / 2 - 6px), 92px);
   width: 72px;
}

/* Road surface + animated centre dashes (sense of forward motion). */
.ak-lane {
   position: fixed;
   top: 0; bottom: 0;
   background: linear-gradient(90deg, transparent, rgba(31,111,224,.05) 50%, transparent);
}
.ak-lane:before {
   content: "";
   position: absolute;
   left: 50%; top: 0; bottom: 0;
   width: 3px;
   transform: translateX(-50%);
   background: repeating-linear-gradient(to bottom,
      rgba(47,120,230,.45) 0 16px, transparent 16px 42px);
   animation: ak-road .7s linear infinite;
}
@keyframes ak-road { to { background-position-y: -42px; } }

/* The car. JS drives translateY from scroll progress. */
.ak-car-wrap {
   position: fixed;
   top: 0;
   will-change: transform;
   transform: translate3d(0, 104px, 0);
}
.ak-car {
   display: block;
   width: 72px; height: auto;
   filter: drop-shadow(0 8px 14px rgba(20,40,90,.28));
   animation: ak-idle 3.4s ease-in-out infinite;
}
@keyframes ak-idle {
   0%, 100% { transform: translateX(0)   rotate(0deg);   }
   50%      { transform: translateX(1.5px) rotate(.6deg); }
}

/* Scan-beam — ONE soft blue cone projecting forward, plus two lamp flares. */
.ak-glow {
   position: absolute;
   top: 128px; left: 50%;            /* at the car's front (bottom of image) */
   width: 168px; height: 60vh;
   transform: translateX(-50%);
   clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%);
   background: linear-gradient(to bottom,
      rgba(31,111,224,.30), rgba(47,120,230,.10) 34%, rgba(31,111,224,0) 74%);
   filter: blur(13px);
}
.ak-beam {
   position: absolute;
   top: 126px;
   width: 20px; height: 90px;
   background: radial-gradient(50% 60% at 50% 0,
      rgba(47,120,230,.55), rgba(31,111,224,.14) 58%, transparent 75%);
   filter: blur(5px);
}
.ak-beam-l { left: 11px; }   /* left headlight  */
.ak-beam-r { left: 41px; }   /* right headlight */

/* WiFi-style transmit signals emanating from the car's sides ---------------- */
.ak-signal {
   position: absolute; top: 62px; width: 12px; height: 12px;
   opacity: 0;                       /* hidden when parked (no frozen rings) */
   transition: opacity .3s ease;
}
.ak-signal-l { left: -2px; }
.ak-signal-r { right: -2px; }
.ak-signal i {
   position: absolute; left: 50%; top: 50%;
   width: 18px; height: 18px; margin: -9px 0 0 -9px;
   border: 2px solid var(--ak-blue);
   border-radius: 50%;
   opacity: 0;
   animation: ak-ping 1.6s ease-out infinite;
}
.ak-signal-l i { clip-path: inset(0 55% 0 0); }   /* show left half → emits left  */
.ak-signal-r i { clip-path: inset(0 0 0 55%); }   /* show right half → emits right */
.ak-signal i:nth-child(2) { animation-delay: .53s; }
.ak-signal i:nth-child(3) { animation-delay: 1.06s; }
@keyframes ak-ping {
   0%   { transform: scale(.3);  opacity: 0;  }
   18%  { opacity: .9; }
   100% { transform: scale(2.7); opacity: 0;  }
}

/* ---- Idle (parked) vs moving states ---------------------------------------
   Default = parked: brake lights glow, beam dim, signals + road halt. */
#ak-drive .ak-beam,
#ak-drive .ak-glow { opacity: .35; transition: opacity .45s ease; }
#ak-drive .ak-lamp { opacity: .5; transition: opacity .45s ease; }
#ak-drive .ak-signal i { animation-play-state: paused; }
/* brake-light overlays (rear / top of the car image) */
.ak-brake {
   position: absolute; z-index: 2;
   width: 11px; height: 6px; border-radius: 3px;
   background: #ff2f45;
   opacity: 1;
   filter: drop-shadow(0 0 6px rgba(255,45,65,.95));
   transition: opacity .45s ease, filter .45s ease;
}
.ak-brake-l { top: 8px; left: 16px; }
.ak-brake-r { top: 8px; left: 45px; }
/* headlight overlays (front / bottom of the car image) */
.ak-lamp {
   position: absolute; z-index: 2;
   width: 10px; height: 8px; border-radius: 50%;
   background: radial-gradient(circle, #f2faff 12%, #a6d4ff 60%, rgba(63,139,255,0) 100%);
}
.ak-lamp-l { top: 122px; left: 13px; }
.ak-lamp-r { top: 122px; left: 49px; }
#ak-drive:not(.ak-moving) .ak-lane:before { animation-play-state: paused; }

/* Moving: beam bright, signals transmit, brake lights ease off. */
#ak-drive.ak-moving .ak-beam,
#ak-drive.ak-moving .ak-glow { opacity: 1; }
#ak-drive.ak-moving .ak-lamp { opacity: 1; }
#ak-drive.ak-moving .ak-signal { opacity: 1; }
#ak-drive.ak-moving .ak-signal i { animation-play-state: running; }
#ak-drive.ak-moving .ak-brake { opacity: .28; filter: none; }

/* Stop the animation/flicker for reduced-motion users. */
#ak-drive.ak-reduced .ak-lane:before,
#ak-drive.ak-reduced .ak-car { animation: none; }

/* The "lit" section — scan-beam focus. Subtle blue accent on its heading. */
.ak-lit { position: relative; transition: filter .5s ease; }
.ak-lit .section-title h2,
.ak-lit .choose-left h3 {
   color: var(--ak-blue);
   text-shadow: 0 6px 22px rgba(31,111,224,.28);
   transition: text-shadow .5s ease, color .5s ease;
}
.ak-lit .section-title h2:after,
.ak-lit .section-title h2:before { box-shadow: 0 0 14px var(--ak-blue); }
.ak-lit .single-service { border-color: var(--ak-line-2); }

/* Hide the whole conceit where there's no gutter to drive in.
   1199px keeps the car visible at 150% Windows scaling + 100% browser zoom
   (1080p → ~1265 CSS px). Below 1200 the container shrinks to 960px so a wide
   gutter still exists; only under ~1100 does the lane run out of room. */
@media (max-width: 1099px) {
   #ak-drive { display: none; }
}

/* =========================================================================
   ABOUT PAGE
   ========================================================================= */
/* hero header (matches home light theme) */
.ak-about-hero {
   position: relative; overflow: hidden; padding: 38px 0 30px;
   background:
      radial-gradient(720px 360px at 88% 0%, rgba(31,111,224,.13), transparent 60%),
      linear-gradient(180deg, #eef4fc, #e6eff9);
   border-bottom: 1px solid var(--ak-line);
}
.ak-about-htext h1 {
   font-family: var(--ak-display); font-weight: 700; font-size: 46px;
   line-height: 1.05; letter-spacing: -.01em; color: var(--ak-ink); margin: 0 0 16px;
}
.ak-about-htext h1 span {
   background: linear-gradient(120deg, var(--ak-cyan), var(--ak-blue));
   -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.ak-about-htext p { color: var(--ak-muted); font-size: 16px; line-height: 1.7; max-width: 480px; margin: 0; }
/* hero brand graphic — logo + orbit motif on the brand-blue band */
.ak-brand {
   position: relative; aspect-ratio: 2 / 1; width: 100%; max-width: 460px; margin-left: auto;
   display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
   border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.24);
   background:
      radial-gradient(620px 360px at 80% 8%, rgba(20,153,216,.40), transparent 60%),
      linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px),
      linear-gradient(150deg, #2f7be6, #1559b8);
   background-size: 100% 100%, 44px 44px, 44px 44px, 100% 100%;
   box-shadow: 0 34px 70px -28px rgba(31,111,224,.7);
}
.ak-brand-orbits { position: absolute; inset: 0; width: 100%; height: 100%; }
.ab-ring { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 1.4; stroke-dasharray: 3 8; }
.ab-orbit { transform-origin: 160px 160px; animation: ak-spin 18s linear infinite; }
.ab-orbit-2 { animation-duration: 26s; animation-direction: reverse; }
.ab-orbit-3 { animation-duration: 32s; }
.ab-node { fill: #fff; }
.ab-node-2 { fill: #cfeeff; }
.ak-brand-logo {
   position: relative; z-index: 2; width: 64%; height: 58px;
   background: url('../images/ak_logo_dark.png') center / contain no-repeat;
   filter: brightness(0) invert(1);     /* white wordmark on the blue band */
}
.ak-brand-tags { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 0 16px; }
.ak-brand-tags span {
   font-family: var(--ak-display); font-size: 11px; font-weight: 600; letter-spacing: .04em;
   color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
   border-radius: 20px; padding: 5px 13px;
}

/* Our Story — leadership avatars on a connected scaffold board */
/* Leadership — clean, flat panel; uniform circular portraits with a quiet ring
   (no gradient halos, crosshair scaffold, or blinking LED). */
.ak-owners-board {
   position: relative; max-width: 440px; margin: 6px auto 0; padding: 26px 30px 30px;
   border-radius: 18px; border: 1px solid var(--ak-line);
   background: var(--ak-panel);
   box-shadow: 0 30px 60px -30px rgba(20,40,90,.4);
}
.ak-ob-head { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.ak-ob-title { font-family: var(--ak-display); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ak-muted); white-space: nowrap; }
.ak-ob-led { flex: 1; height: 1px; width: auto; border-radius: 0; background: var(--ak-line); box-shadow: none; animation: none; }
.ak-owners {
   position: relative; max-width: 340px; margin: 0 auto; padding: 8px 6px 16px;
}
/* soft depth blob behind the cluster */
.ak-owners::before {
   content: ""; position: absolute; z-index: 0; inset: 8% 10% 16%;
   background: radial-gradient(60% 60% at 35% 30%, rgba(31,111,224,.12), transparent 70%),
               radial-gradient(60% 60% at 75% 80%, rgba(20,153,216,.10), transparent 70%);
   filter: blur(8px); pointer-events: none;
}
/* single pre-composed leadership image (transparent PNG): the four circular
   portraits are already laid out in the staggered cluster. A drop-shadow that
   follows the alpha gives each circle the same floating depth the separate
   avatars had. */
.ak-owners-img {
   position: relative; z-index: 2;
   display: block; width: 100%; height: auto;
   filter: drop-shadow(0 16px 26px rgba(20,40,90,.42));
}

/* "Empowering Clients" — client logos shown full size on the open background
   (no chips/tiles), staggered into an organic grid with a gentle float. */
.about-area { background: var(--ak-bg-2); }
.ak-client-grid {
   display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px 20px;
   padding: 50px 36px; height: 100%; align-content: center;
}
.ak-client-grid span {
   display: flex; align-items: center; justify-content: center; padding: 4px;
   justify-self: center; align-self: start;   /* hug the logo — don't stretch to the cell */
   background: transparent; border: 0; box-shadow: none;
   animation: ak-cl-float 7s ease-in-out infinite;
}
.ak-client-grid img {
   max-height: 104px; max-width: 100%; object-fit: contain;
   transition: transform .3s ease;
}
.ak-client-grid span:hover img { transform: scale(1.08); }
/* alternating zigzag: side columns sit lower, the middle column rides higher */
.ak-client-grid span:nth-child(3n+1),
.ak-client-grid span:nth-child(3n)   { margin-top: 72px; }
/* the lone last logo (MAN) is centred in the middle column, aligned with it */
.ak-client-grid span:nth-child(13)   { grid-column: 2; margin-top: 0; }
.ak-client-grid span:nth-child(2n)   { animation-delay: -2.3s; }
.ak-client-grid span:nth-child(3n)   { animation-delay: -4.6s; }
@keyframes ak-cl-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .ak-client-grid span { animation: none; } }
.about-content h2 { color: var(--ak-ink); font-family: var(--ak-display); }
.about-content p { color: var(--ak-muted); }
.about-content ul li { color: var(--ak-ink); }
.about-content ul li i { color: var(--ak-blue); }
.about-content ul li strong { color: var(--ak-ink); }

/* vision boxes → clean cards */
.our-vision-area { background: var(--ak-bg); }
.our-vision-area .row { align-items: stretch; }                 /* equal-height cards */
.our-vision-area [class*="col-"] { display: flex; }
.single-vision-box {
   background: #fff !important; border: 1px solid var(--ak-line); border-radius: 14px;
   padding: 32px 28px; box-shadow: 0 18px 40px -28px rgba(20,40,90,.4);
   transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
   width: 100%;                                                  /* fill the flex column */
}
.single-vision-box::before, .single-vision-box::after { display: none; }
.single-vision-box:hover { transform: translateY(-6px); border-color: var(--ak-line-2); box-shadow: 0 28px 50px -26px rgba(31,111,224,.4); }
.single-vision-box .icon {
   width: 58px; height: 58px; border-radius: 14px; margin-bottom: 18px;
   display: flex; align-items: center; justify-content: center;
   background: linear-gradient(160deg, var(--ak-cyan), var(--ak-blue)) !important;
   box-shadow: 0 12px 24px -10px rgba(31,111,224,.6);
}
.single-vision-box .icon i { color: #fff !important; font-size: 24px; }
.single-vision-box h3 { color: var(--ak-ink); font-family: var(--ak-display); }
.single-vision-box p { color: var(--ak-muted); }
/* legacy style.css turns the text white on hover (for a fill that no longer
   exists) — keep it readable since the card stays light */
.single-vision-box:hover h3 { color: var(--ak-ink); }
.single-vision-box:hover p  { color: var(--ak-muted); }

/* Our Team */
.our-mission-area { background: var(--ak-bg-2); }
.our-mission-content h2 { color: var(--ak-ink); font-family: var(--ak-display); }
.our-mission-content > p { color: var(--ak-muted); }
.our-mission-content ul li { color: var(--ak-muted); }
.our-mission-content ul li span { color: var(--ak-ink); }
.our-mission-content ul li .icon {
   background: linear-gradient(160deg, var(--ak-cyan), var(--ak-blue)) !important;
   display: flex; align-items: center; justify-content: center;   /* centre the glyph */
   line-height: 1; font-size: 20px;                                /* was 36px/50px → overflowed & off-centre */
}
.our-mission-content ul li .icon i { color: #fff !important; line-height: 1; margin: 0; }
/* Our Team — layered photo collage: office shot as the hero, the outing shot
   overlapping its bottom-left corner, both framed for a stacked-photos feel. */
/* Clean staggered stack — both photos fully visible (was an overlap that hid content) */
.ak-team-photos { position: relative; padding: 6px 0; display: flex; flex-direction: column; gap: 18px; }
.ak-team-fig {
   margin: 0; border-radius: 16px; overflow: hidden;
   border: 5px solid var(--ak-panel); box-shadow: 0 22px 48px -26px rgba(20,40,90,.5);
   transition: transform .4s ease, box-shadow .4s ease;
}
.ak-team-fig img { width: 100%; display: block; }
.ak-team-main  { position: static; width: 92%; margin-left: auto; }    /* nudged right */
.ak-team-inset { position: static; width: 92%; margin-right: auto; }   /* nudged left  */
.ak-team-main:hover, .ak-team-inset:hover { transform: translateY(-5px); }
.ak-team-orb { display: none; }
@media (max-width: 991px) {
   /* stack cleanly on small screens — no overlap */
   .ak-team-photos { padding: 0; display: flex; flex-direction: column; gap: 16px; }
   .ak-team-main, .ak-team-inset { position: static; width: 100%; }
   .ak-team-orb { display: none; }
}

/* =========================================================================
   SECTION BANDS — alternating white / blue tints down the home page.
   The body canvas was uniform, so every section read as one flat white.
   Each band is a soft vertical gradient; .fun-facts stays the deep-blue
   accent and .appointment keeps its blue CTA wash. Order down the page:
   why-choose(blue) → fun-facts(deep blue) → services(white) →
   portfolio(blue) → clients(white) → appointment(blue).
   ========================================================================= */
.why-choose {
   background: linear-gradient(180deg, #e9f1fd 0%, #d9e7f9 100%);
   border-top: 1px solid var(--ak-line);
}
.services {
   background: linear-gradient(180deg, #ffffff 0%, #eef5fe 100%);
   border-top: 1px solid var(--ak-line);
}
.portfolio {
   background: linear-gradient(180deg, #e9f1fd 0%, #d9e7f9 100%);
   border-top: 1px solid var(--ak-line);
   border-bottom: 1px solid var(--ak-line);
}
.clients {
   background:
      linear-gradient(90deg, var(--ak-line) 1px, transparent 1px) 0 0 / 46px 46px,
      linear-gradient(180deg, #ffffff 0%, #eef5fe 100%);
}

/* =========================================================================
   DARK MODE — themed-page surfaces (home + about).
   Global tokens, body canvas, header and footer are flipped in ak-base.css.
   Here we re-tint the hardcoded light surfaces: hero figures, the section
   bands, and the about-page panels.
   ========================================================================= */

/* ---- hero wash: the light overlay made the whole hero read grey --------- */
html[data-theme="dark"] .slider .single-slider:before {
   background:
      linear-gradient(90deg, rgba(13,18,26,.96) 0%, rgba(13,18,26,.86) 40%, rgba(13,18,26,.40) 76%, rgba(13,18,26,.70) 100%),
      linear-gradient(0deg, rgba(13,18,26,.78), transparent 55%);
}
html[data-theme="dark"] .slider .single-slider:after {
   background-image:
      linear-gradient(rgba(120,162,225,.07) 1px, transparent 1px),
      linear-gradient(90deg, rgba(120,162,225,.07) 1px, transparent 1px);
}
html[data-theme="dark"] .slider .owl-carousel .owl-nav div {
   background: transparent !important; color: var(--ak-muted);
}
html[data-theme="dark"] .slider .owl-carousel .owl-nav div:hover { background: transparent !important; color: var(--ak-ink); }

/* ---- hero figure cards + their inner panels --------------------------- */
html[data-theme="dark"] .ak-hero-fig {
   background: #131c29;
   border-color: var(--ak-line-2);
   box-shadow: 0 34px 70px -26px rgba(0,0,0,.7), 0 0 0 1px rgba(59,139,255,.08);
}
html[data-theme="dark"] .ak-cfg,
html[data-theme="dark"] .ak-ecu,
html[data-theme="dark"] .ak-bms,
html[data-theme="dark"] .ak-plot {
   background:
      linear-gradient(rgba(120,162,225,.09) 1px, transparent 1px),
      linear-gradient(90deg, rgba(120,162,225,.09) 1px, transparent 1px),
      linear-gradient(180deg, #0f1722, #121d2b);
   background-size: 22px 22px, 22px 22px, 100% 100%;
   border-color: rgba(120,162,225,.18);
}
html[data-theme="dark"] .ak-mod,
html[data-theme="dark"] .ak-file,
html[data-theme="dark"] .ak-io {
   background: #172234; border-color: rgba(120,162,225,.20);
}
html[data-theme="dark"] .ak-bar { background: #26344a; }
html[data-theme="dark"] .ak-cells .ak-cell { background: rgba(255,255,255,.04); }
html[data-theme="dark"] .ak-soc-track { stroke: #26344a; }
html[data-theme="dark"] .ak-io { color: #7fb2ff; }
html[data-theme="dark"] .ak-file i.c { background: rgba(59,139,255,.18); }
html[data-theme="dark"] .ak-file i.h { background: rgba(43,180,238,.20); }
/* lift the small labels so they read on dark */
html[data-theme="dark"] .ak-ui-title,
html[data-theme="dark"] .ak-legend span,
html[data-theme="dark"] .ak-cfg-col,
html[data-theme="dark"] .ak-stat small,
html[data-theme="dark"] .ak-layers span { color: var(--ak-dim); }
html[data-theme="dark"] .ak-stat b,
html[data-theme="dark"] .ak-mod b,
html[data-theme="dark"] .ak-file,
html[data-theme="dark"] .ak-soc-val { color: var(--ak-ink); }

/* ---- alternating section bands (dark twins) --------------------------- */
html[data-theme="dark"] .why-choose {
   background: linear-gradient(180deg, #141d2a 0%, #0f1722 100%);
   border-top-color: var(--ak-line);
}
html[data-theme="dark"] .services {
   background: linear-gradient(180deg, #0e131c 0%, #121b27 100%);
   border-top-color: var(--ak-line);
}
html[data-theme="dark"] .portfolio {
   background: linear-gradient(180deg, #141d2a 0%, #0f1722 100%);
   border-color: var(--ak-line);
}
html[data-theme="dark"] .clients {
   background:
      linear-gradient(90deg, var(--ak-line) 1px, transparent 1px) 0 0 / 46px 46px,
      linear-gradient(180deg, #0e131c, #121b27);
}
html[data-theme="dark"] .appointment {
   background:
      radial-gradient(800px 420px at 50% 120%, rgba(59,139,255,.22), transparent 60%),
      linear-gradient(180deg, #141d2a, #0d121a);
}

/* ---- about page panels ------------------------------------------------ */
html[data-theme="dark"] .ak-about-hero {
   background: linear-gradient(160deg, #141d2a, #0f1722);
}
html[data-theme="dark"] .single-vision-box {
   background: var(--ak-panel) !important; border-color: var(--ak-line);
   box-shadow: 0 24px 50px -30px rgba(0,0,0,.6);
}

/* dark mode: no chip. Swap each logo for a white monochrome version (same
   artwork, filled white) so they all read on the dark section. */
html[data-theme="dark"] .ak-client-grid span { background: transparent; border: 0; box-shadow: none; padding: 4px; min-width: 0; }
html[data-theme="dark"] .ak-client-grid img { filter: none; }
html[data-theme="dark"] .ak-client-grid span:nth-child(1)  img { content: url('../images/clients/white/Texas_instruments.png'); }
html[data-theme="dark"] .ak-client-grid span:nth-child(2)  img { content: url('../images/clients/white/ZF.png'); }
html[data-theme="dark"] .ak-client-grid span:nth-child(3)  img { content: url('../images/clients/white/Continental.png'); }
html[data-theme="dark"] .ak-client-grid span:nth-child(4)  img { content: url('../images/clients/white/Infineon.png'); }
html[data-theme="dark"] .ak-client-grid span:nth-child(5)  img { content: url('../images/clients/white/HCLTech.png'); }
html[data-theme="dark"] .ak-client-grid span:nth-child(6)  img { content: url('../images/clients/white/Mahindra.png'); }
html[data-theme="dark"] .ak-client-grid span:nth-child(7)  img { content: url('../images/clients/white/Porsche.png'); }
html[data-theme="dark"] .ak-client-grid span:nth-child(8)  img { content: url('../images/clients/white/Mercedes-Benz.png'); }
html[data-theme="dark"] .ak-client-grid span:nth-child(9)  img { content: url('../images/clients/white/Danlaw.png'); }
html[data-theme="dark"] .ak-client-grid span:nth-child(10) img { content: url('../images/clients/white/Fev.png'); }
html[data-theme="dark"] .ak-client-grid span:nth-child(11) img { content: url('../images/clients/white/GM.png'); }
html[data-theme="dark"] .ak-client-grid span:nth-child(12) img { content: url('../images/clients/white/BYD.png'); }
html[data-theme="dark"] .ak-client-grid span:nth-child(13) img { content: url('../images/clients/white/MAN.png'); }
html[data-theme="dark"] .ak-owners-img { filter: drop-shadow(0 16px 26px rgba(0,0,0,.55)); }
html[data-theme="dark"] .ak-brand {
   border-color: rgba(46,82,150,.42);
   background:
      radial-gradient(135% 80% at 50% -12%, rgba(59,139,255,.26), transparent 60%),
      linear-gradient(rgba(126,166,230,.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(126,166,230,.08) 1px, transparent 1px),
      linear-gradient(160deg, #1b2840, #111b2c 58%, #0c1320);
   background-size: 100% 100%, 22px 22px, 22px 22px, 100% 100%;
   box-shadow: 0 34px 70px -28px rgba(10,20,45,.7);
}
html[data-theme="dark"] .ak-owners-board {
   background: var(--ak-panel);
   border-color: var(--ak-line);
}

/* =========================================================================
   RESPONSIVE — home + about (mobile / tablet). No separate stylesheet; these
   tune the custom hero/schedule/title components below the lg breakpoint.
   (Bootstrap stacks the grid columns; the hero figures — hidden via d-lg-block
   on desktop markup — are revealed and scaled to fit below the lg breakpoint.)
   ========================================================================= */
@media (max-width: 991px) {
   html { zoom: 1; }                       /* drop the desktop 0.9 shrink on small screens */

   /* hero: reveal the animated figure (markup hides it with .d-none.d-lg-block)
      and let it sit centred beneath the copy so the section isn't text-only */
   .slider .single-slider .col-lg-6.d-none.d-lg-block { display: block !important; }
   .slider .single-slider { height: auto; }
   .slider .single-slider .row { min-height: auto; padding-top: 40px; padding-bottom: 44px; }
   .slider .single-slider h1 { font-size: 34px; line-height: 1.14; }
   .slider .single-slider p { font-size: 15px; margin-top: 16px; }
   .slider .single-slider .button { margin-top: 10px; }
   .ak-hero-fig { max-width: 420px; margin: 30px auto 0; }

   /* schedule: stop pulling the cards up into the hero — let them stack cleanly */
   .schedule { height: auto; }
   .schedule .schedule-inner { transform: none; }
   .schedule .single-schedule { margin-bottom: 16px; }
   .schedule .single-schedule .inner { padding: 26px 24px; }

   /* shared section spacing/titles */
   .section-title h2 { font-size: 30px; }
   .why-choose.section, .services.section, .portfolio.section { padding: 56px 0; }
   .why-choose .choose-right { margin-top: 34px; }   /* gap before the hub graphic when stacked */

   /* about page hero stacks: add breathing room + scale */
   .ak-about-hero { padding: 30px 0 30px; }
   .ak-brand { margin: 22px auto 0; aspect-ratio: 16 / 9; max-width: 460px; }
}

@media (max-width: 575px) {
   .slider .single-slider h1 { font-size: 28px; }
   .slider .single-slider p  { font-size: 14.5px; }
   .ak-hero-fig { padding: 14px; margin-top: 24px; }
   .ak-ui-title { font-size: 11px; }
   .ak-stat b { font-size: 18px; }
   .section-title h2 { font-size: 25px; }
   .ak-about-htext h1 { font-size: 30px; }
}

/* =========================================================================
   PORTFOLIO PRODUCT GRAPHICS — clean labelled mini-diagrams (same family as
   the hero scroll cards) replacing the stock product photos. Each uses an
   industry-standard motif. Inline-SVG shapes are coloured via these classes
   so they adapt automatically in dark mode.
   ========================================================================= */
/* Product cards: LIGHT mode = lighter brand-blue band; DARK mode = dark
   instrument panel. SVG colours flip per mode (light = white-on-blue). */
.single-pf { border-color: rgba(255,255,255,.22) !important; }
.single-pf .pf-fig {
   position: relative; height: 252px; overflow: hidden;
   display: flex; flex-direction: column; padding: 15px 16px 56px;
   background:
      radial-gradient(700px 400px at 82% 0%, rgba(20,153,216,.30), transparent 62%),
      linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px),
      linear-gradient(160deg, #2f7be6, #1559b8);
   background-size: 100% 100%, 22px 22px, 22px 22px, 100% 100%;
}
.single-pf .pf-fig:before {
   content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 3;
   background: linear-gradient(90deg, #cfeeff, #fff 45%, transparent);
}
.single-pf .pf-fig:after {
   content: ""; position: absolute; inset: 0; pointer-events: none;
   box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}
.single-pf:hover .pf-fig { box-shadow: inset 0 0 60px -22px rgba(255,255,255,.22); }

.pf-head { position: relative; z-index: 2; display: flex; align-items: center; gap: 7px; flex: 0 0 auto; }
.pf-title { font-family: var(--ak-display); font-size: 10px; font-weight: 700;
   letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.pf-led { margin-left: auto; width: 7px; height: 7px; border-radius: 50%;
   background: #b6ffd9; box-shadow: 0 0 7px #6ff5b3; animation: ak-blink 1.8s ease-in-out infinite; }
.pf-body { position: relative; z-index: 2; flex: 1 1 auto; min-height: 0;
   display: flex; align-items: center; justify-content: center; padding-top: 4px; }
.pf-svg { width: 100%; height: 100%; overflow: visible; }
.pf-svg text { font-family: var(--ak-display); font-weight: 600; }
.pf-ink   { fill: #fff; }
.pf-blue  { fill: #eaf3ff; }
.pf-cyan  { fill: #cfeeff; }
.pf-muted { fill: rgba(255,255,255,.74); }
.pf-white { fill: #fff; }
.pf-s-blue { stroke: rgba(255,255,255,.92); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pf-s-cyan { stroke: #cfeeff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pf-s-line { stroke: rgba(255,255,255,.45); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.pf-soft   { fill: rgba(255,255,255,.16); }
.pf-fill-stroke { fill: rgba(255,255,255,.14); stroke: rgba(255,255,255,.62); stroke-width: 2; stroke-linejoin: round; }
/* Bus-analyzer probe marker — sits over the brightened top-right corner, so it
   needs contrast that holds on any local background (light corner OR dark). */
.pf-probe { fill: #ffffff; stroke: rgba(13,64,140,.9); stroke-width: 1.5;
   filter: drop-shadow(0 1px 3px rgba(8,32,78,.5)); }
.pf-probe-stem { stroke: #ffffff; fill: none; stroke-width: 2.4; stroke-linecap: round;
   filter: drop-shadow(0 0 2px rgba(8,32,78,.55)); }
/* COM-stack highlighted (active) layer — solid pill so its label stays readable.
   Light: white pill + dark-blue text; dark: blue pill + white text. */
.pf-row-active { fill: #ffffff; }
.pf-row-active-tx { fill: #14488f; font-weight: 700; }
.pf-dash   { stroke-dasharray: 4 5; animation: ak-flow 1.1s linear infinite; }

/* ===== Product-card micro-animations (decorative; frozen for reduced-motion) ===== */
/* Instrument Cluster — live needle that sweeps around its pivot */
.pf-needle { transform-box: view-box; transform-origin: 110px 100px;
   animation: pf-needle 2.8s ease-in-out infinite; }
@keyframes pf-needle { 0%,100% { transform: rotate(-13deg); } 50% { transform: rotate(11deg); } }
/* Battery Mgmt — charge wave rippling across the cells (delays set inline) */
.pf-cellbar { animation: pf-cell 2.4s ease-in-out infinite; }
@keyframes pf-cell { 0%,100% { opacity: .32; } 50% { opacity: .95; } }
/* Immobilizer — keyhole authenticates, tick draws on */
.pf-keypulse { animation: pf-pulse 2.4s ease-in-out infinite; }
@keyframes pf-pulse { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
.pf-check { stroke-dasharray: 42; animation: pf-draw 2.4s ease-in-out infinite; }
@keyframes pf-draw { 0%,12% { stroke-dashoffset: 42; } 45%,100% { stroke-dashoffset: 0; } }
/* HV Pack — charge level rises and falls */
.pf-level { animation: pf-level 3.2s ease-in-out infinite; }
@keyframes pf-level { 0%,100% { y: 74px; height: 20px; } 50% { y: 50px; height: 44px; } }
/* LeanStack — scanline sweeps down the stack */
.pf-scan { fill: rgba(207,238,255,.55); animation: pf-scan 2.8s ease-in-out infinite; }
@keyframes pf-scan { 0% { transform: translateY(0); opacity: 0; }
   12% { opacity: .9; } 88% { opacity: .9; } 100% { transform: translateY(82px); opacity: 0; } }
html[data-theme="dark"] .pf-scan { fill: rgba(46,194,238,.5); }

.single-pf:after { display: none; }
.single-pf .btn {
   background: rgba(11,24,48,.52);
   -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
   border-top: 1px solid rgba(255,255,255,.22);
   color: #fff !important;
}
.single-pf .btn:hover { color: #cfeeff !important; }

/* DARK mode = dark instrument panel (kept) */
html[data-theme="dark"] .single-pf { border-color: rgba(46,82,150,.4) !important; }
html[data-theme="dark"] .single-pf .pf-fig {
   background:
      radial-gradient(135% 80% at 50% -12%, rgba(59,139,255,.26), transparent 60%),
      linear-gradient(rgba(126,166,230,.09) 1px, transparent 1px),
      linear-gradient(90deg, rgba(126,166,230,.09) 1px, transparent 1px),
      linear-gradient(162deg, #1b2840 0%, #111b2c 58%, #0c1320 100%);
   background-size: 100% 100%, 22px 22px, 22px 22px, 100% 100%;
}
html[data-theme="dark"] .single-pf .pf-fig:before { background: linear-gradient(90deg, var(--ak-cyan), #3f8bff 45%, transparent); }
html[data-theme="dark"] .single-pf .pf-fig:after { box-shadow: inset 0 0 0 1px rgba(126,166,230,.08), inset 0 22px 40px -28px rgba(63,139,255,.5); }
html[data-theme="dark"] .single-pf:hover .pf-fig { box-shadow: inset 0 0 60px -20px rgba(63,139,255,.35); }
html[data-theme="dark"] .pf-title { color: #93a6c6; }
html[data-theme="dark"] .pf-led { background: #2fe08f; box-shadow: 0 0 7px #2fe08f; }
html[data-theme="dark"] .pf-svg { filter: drop-shadow(0 1px 5px rgba(63,139,255,.28)); }
html[data-theme="dark"] .pf-ink{fill:#e9f1fb}
html[data-theme="dark"] .pf-blue{fill:#4a90ff}
html[data-theme="dark"] .pf-cyan{fill:#2ec2ee}
html[data-theme="dark"] .pf-muted{fill:#93a6c6}
html[data-theme="dark"] .pf-s-blue{stroke:#4a90ff}
html[data-theme="dark"] .pf-s-cyan{stroke:#2ec2ee}
html[data-theme="dark"] .pf-s-line{stroke:rgba(126,166,230,.42)}
html[data-theme="dark"] .pf-soft{fill:rgba(63,139,255,.16)}
html[data-theme="dark"] .pf-fill-stroke{fill:rgba(63,139,255,.15);stroke:#4a90ff}
html[data-theme="dark"] .pf-probe{fill:#4a90ff;stroke:rgba(170,205,255,.55);filter:drop-shadow(0 0 6px rgba(74,144,255,.65))}
html[data-theme="dark"] .pf-probe-stem{stroke:#4a90ff;filter:none}
html[data-theme="dark"] .pf-row-active{fill:#4a90ff}
html[data-theme="dark"] .pf-row-active-tx{fill:#ffffff}
html[data-theme="dark"] .single-pf .btn { background: rgba(11,17,28,.92); border-top-color: rgba(126,166,230,.18); color: #eaf1fb !important; }
html[data-theme="dark"] .single-pf .btn:hover { color: #7fb2ff !important; }
