/* Start custom CSS */body.elementor-page-8311 .sp4-h2 span { color: #FF6600; }
body.elementor-page-8311 [data-id="4ef3f39f"] span:nth-of-type(1), body.elementor-page-8311 [data-id="4ef3f39f"] span:nth-of-type(2), body.elementor-page-8311 [data-id="1b29247c"] span:nth-of-type(1) { color: #FF6600; }

/* Hero headings: word-by-word reveal on load */
body.elementor-page-8311 .sp4-hero-h span { display: inline-block; animation: sp4-word 1s cubic-bezier(.25,.46,.45,.94) both; }
body.elementor-page-8311 [data-id="4ef3f39f"] span:nth-of-type(2) { animation-delay: .12s; }
body.elementor-page-8311 [data-id="4ef3f39f"] span:nth-of-type(3) { animation-delay: .24s; }
body.elementor-page-8311 [data-id="1b29247c"] span:nth-of-type(1) { animation-delay: .36s; }
body.elementor-page-8311 [data-id="1b29247c"] span:nth-of-type(2) { animation-delay: .48s; }
@keyframes sp4-word { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }

/* Hero background video sits behind the content (the theme's MediaElement wrapper breaks the default positioning) */
body.elementor-page-8311 .e-background-video__media { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; z-index: 0; overflow: hidden; }
body.elementor-page-8311 .e-background-video__media .mejs-inner, body.elementor-page-8311 .e-background-video__media .mejs-mediaelement, body.elementor-page-8311 .e-background-video__media mediaelementwrapper { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; }
body.elementor-page-8311 .e-background-video__media video { width: 100% !important; height: 100% !important; object-fit: cover; }
body.elementor-page-8311 .e-background-video__media .mejs-controls, body.elementor-page-8311 .e-background-video__media .mejs-layers { display: none !important; }

/* Image zoom on card hover */
body.elementor-page-8311 .sp4-zoom { transition: transform 1s cubic-bezier(.19,1,.22,1); }
body.elementor-page-8311 .sp4-team-card:hover .sp4-zoom { transform: scale(1.1); }

/* Services bento: on tile hover the arrow fills orange and turns, and the image zooms */
body.elementor-page-8311 .sp4-bento-tile img { transition: transform 1s cubic-bezier(.19,1,.22,1); }
body.elementor-page-8311 .sp4-bento-tile:is(:hover, :focus-visible) .sp4-bento-arrow { background-color: #FF6600; border-color: #FF6600; }
body.elementor-page-8311 .sp4-bento-tile:is(:hover, :focus-visible) .sp4-bento-arrow-icon { transform: rotate(45deg); }
body.elementor-page-8311 .sp4-bento-tile:is(:hover, :focus-visible) img { transform: scale(1.05); }

/* Client logo marquee: the top row runs left and the bottom row runs right. Neither pauses on hover */
@keyframes sp4-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
body.elementor-page-8311 .sp4-marquee-track { animation: sp4-marquee 65s linear infinite; }
body.elementor-page-8311 [data-id="6663dd71"] { animation-direction: reverse; }

/* Testimonial slider: a native scroll strip that snaps to each slide, so it swipes on touch screens. Mouse dragging, dot clicks, the active dot and autoplay come from the "Testimonial slider (homepage)" custom code snippet; while a drag settles, .no-snap turns snapping off so the slide glides instead of jumping */
body.elementor-page-8311 [data-id="1f8426bb"] { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab; }
body.elementor-page-8311 [data-id="1f8426bb"]::-webkit-scrollbar { display: none; }
body.elementor-page-8311 [data-id="1f8426bb"].is-dragging { cursor: grabbing; user-select: none; }
body.elementor-page-8311 [data-id="1f8426bb"].no-snap { scroll-snap-type: none; }
body.elementor-page-8311 .sp4-testi-slide { scroll-snap-align: start; scroll-snap-stop: always; }
body.elementor-page-8311 .sp4-testi-slide img { -webkit-user-drag: none; user-select: none; }
/* Dots: true circles, the active one orange */
body.elementor-page-8311 .sp4-dot { width: 10px; min-width: 10px; height: 10px; padding: 0; border-radius: 50%; background-color: #D5D2CC; opacity: 1; cursor: pointer; transition: background-color .3s ease, transform .3s ease; }
body.elementor-page-8311 .sp4-dot.is-active { background-color: #FF6600; transform: scale(1.2); }
body.elementor-page-8311 .sp4-dot:focus-visible { outline: 2px solid #FF6600; outline-offset: 3px; }

/* Counters: count up from 0 once, over 2s, when each one is half in view, then stay on the number.
   The card's --sp4-seen flips to 1 on a view timeline; the count itself is time-based and stays paused until then.
   Browsers without scroll timelines show the final number; browsers without style queries run the count on load. */
@property --sp4-n { syntax: '<integer>'; initial-value: 0; inherits: true; }
@property --sp4-seen { syntax: '<integer>'; initial-value: 0; inherits: true; }
@keyframes sp4-count { from { --sp4-n: 0; } to { --sp4-n: var(--sp4-to); } }
@keyframes sp4-seen { from { --sp4-seen: 0; } to { --sp4-seen: 1; } }
body.elementor-page-8311 [data-id="139ff896"] { --sp4-to: 426; }
body.elementor-page-8311 [data-id="55f9b0a3"] { --sp4-to: 328; }
body.elementor-page-8311 [data-id="505e8a0b"] { --sp4-to: 5; }
body.elementor-page-8311 [data-id="45f249ab"] { --sp4-to: 3; }
@supports (animation-timeline: view()) {
  body.elementor-page-8311 :has(> .sp4-count-num) { animation: sp4-seen linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  body.elementor-page-8311 .sp4-count-num { position: relative; color: transparent; counter-reset: sp4c var(--sp4-n); animation: sp4-count 2s cubic-bezier(.16, 1, .3, 1) both; }
  body.elementor-page-8311 .sp4-count-num::after { content: counter(sp4c); position: absolute; inset: 0; color: #181817; }
  @container style(--sp4-seen: 0) { body.elementor-page-8311 .sp4-count-num { animation-play-state: paused; } }
}

@media (prefers-reduced-motion: reduce) {
  body.elementor-page-8311 [data-interaction-id] { transform: none !important; opacity: 1 !important; }
  body.elementor-page-8311 .sp4-hero-h span, body.elementor-page-8311 .sp4-marquee-track { animation: none !important; }
  body.elementor-page-8311 .sp4-count-num { animation: none !important; color: #181817 !important; }
  body.elementor-page-8311 .sp4-count-num::after { content: none !important; }
  body.elementor-page-8311 .e-background-video__media { display: none !important; }
  body.elementor-page-8311 .sp4-bento-tile img, body.elementor-page-8311 .sp4-bento-arrow-icon, body.elementor-page-8311 .sp4-dot { transition: none !important; }
}/* End custom CSS */