/* =====================================================================
   FLY-IN TEXT – Main website + IT pages
   Every text, button and box flies in from the right with a slant
   (same as the Trading website), all at the same time.
   ===================================================================== */
@keyframes fiFly{from{transform:translateX(110vw) skewX(-85deg)}to{transform:translateX(0) skewX(0)}}
html,body{overflow-x:clip}
/* main website banner slider – plays on every slide */
html body .hero-slider .slide.active .slide-tagline,
html body .hero-slider .slide.active .slide-title,
html body .hero-slider .slide.active .slide-text,
html body .hero-slider .slide.active .btn-hero,
/* IT pages banner */
html body .hero>.wrap>.eyebrow, html body .hero>.wrap>h1, html body .hero>.wrap>.lead, html body .hero>.wrap>p,
html body .hero>.wrap>.hero__btns, html body .hero>.wrap>.hero__chips,
html body .ph>.wrap>*, html body .page-hero>.wrap>*{
  transform-origin:0 100%;animation:fiFly .65s cubic-bezier(.25,.8,.3,1) .1s both!important}
html:not(.fi-go) body .hero-slider .slide.active *,html:not(.fi-go) body .hero>.wrap>*,html:not(.fi-go) body .ph>.wrap>*,html:not(.fi-go) body .page-hero>.wrap>*{animation-play-state:paused!important}
/* section labels / headings / text when scrolled into view */
html body .fi-r{transform-origin:0 100%!important;transform:translateX(110vw) skewX(-85deg)!important;transition:none!important}
html body .fi-r.in{transform:none!important;transition:transform .65s cubic-bezier(.25,.8,.3,1)!important}
@media (prefers-reduced-motion:reduce){
  html body .hero-slider *,html body .hero *,html body .ph *,html body .page-hero *{animation:none!important}
  html body .fi-r{transform:none!important}
}
/* main website's own section-title and text fly-ins: same slanted movement, no waiting between items */
html body .tx-title.tx-wait,html body .fly-wait{opacity:1!important;transform-origin:0 100%;transform:translateX(110vw) skewX(-85deg)}
html body .tx-title.tx-go{transform-origin:0 100%;animation:fiFly .65s cubic-bezier(.25,.8,.3,1) 0s both!important}
html body .fly-go{transform-origin:0 100%;animation:fiFly .65s cubic-bezier(.25,.8,.3,1) 0s both!important}

/* =====================================================================
   FINAL – exactly like the emqtrading.com video, about 2x faster
   order: small heading → text / button → big heading
   ===================================================================== */
@keyframes fiSkewIn{from{transform:translateX(100vw) skewX(-85deg)}to{transform:translateX(0) skewX(0)}}
@keyframes fiSide50{from{opacity:0;transform:translateX(50px)}to{opacity:1;transform:none}}
html body .hero-slider .slide.active .slide-tagline,html body .hero>.wrap>.eyebrow{animation:fiSkewIn .45s cubic-bezier(.45,0,.55,1) .1s both!important}
html body .hero-slider .slide.active .slide-text,html body .hero-slider .slide.active .btn-hero,
html body .hero>.wrap>.lead,html body .hero>.wrap>p,html body .hero>.wrap>.hero__btns,html body .hero>.wrap>.hero__chips{animation:fiSide50 .5s cubic-bezier(.45,0,.55,1) .45s both!important}
html body .hero-slider .slide.active .slide-title,html body .hero>.wrap>h1{animation:fiSkewIn .6s cubic-bezier(.45,0,.55,1) .5s both!important}
html body .tx-title.tx-wait{transform:translateX(100vw) skewX(-85deg)}
html body .tx-title.tx-go{animation:fiSkewIn .6s cubic-bezier(.45,0,.55,1) .4s both!important}
html body .fly-wait{opacity:0!important;transform:translateX(50px)}
html body .fly-go{opacity:1!important;animation:fiSide50 .5s cubic-bezier(.45,0,.55,1) .1s both!important}
html body .fi-r.in{transition:transform .6s cubic-bezier(.45,0,.55,1)!important}
html body .fi-r.fi-p{opacity:0;transform:translateX(50px)!important}
html body .fi-r.fi-p.in{opacity:1;transform:none!important;transition:transform .5s cubic-bezier(.45,0,.55,1),opacity .5s ease!important}

/* ===== EXTRA FAST ===== */
html body .hero-slider .slide.active .slide-tagline,html body .hero>.wrap>.eyebrow{animation:fiSkewIn .3s cubic-bezier(.45,0,.55,1) .05s both!important}
html body .hero-slider .slide.active .slide-text,html body .hero-slider .slide.active .btn-hero,
html body .hero>.wrap>.lead,html body .hero>.wrap>p,html body .hero>.wrap>.hero__btns,html body .hero>.wrap>.hero__chips{animation:fiSide50 .3s cubic-bezier(.45,0,.55,1) .2s both!important}
html body .hero-slider .slide.active .slide-title,html body .hero>.wrap>h1{animation:fiSkewIn .4s cubic-bezier(.45,0,.55,1) .25s both!important}
html body .tx-title.tx-go{animation:fiSkewIn .4s cubic-bezier(.45,0,.55,1) .2s both!important}
html body .fly-go{animation:fiSide50 .3s cubic-bezier(.45,0,.55,1) .05s both!important}
html body .fi-r.in{transition:transform .4s cubic-bezier(.45,0,.55,1)!important}
html body .fi-r.fi-p.in{transition:transform .3s cubic-bezier(.45,0,.55,1),opacity .3s ease!important}
/* "Our Product Supply / Categories": both lines start at the same left edge */
html body .cat-title span{margin-left:0!important}
/* "Have a project or / product requirement?": always 2 lines, size fits the column */
@media (min-width:761px){
  html body .eq-text{container-type:inline-size}
  html body .eq-title{white-space:nowrap!important;font-size:min(clamp(30px,3.6vw,66px),8.2cqw)!important}}

/* =====================================================================
   ONE LABEL STYLE FOR THE WHOLE WEBSITE (like "A Clearer Supply Process"):
   Poppins bold, red, Each Word Capital, red line after the text
   ===================================================================== */
html body .tfg-eyebrow:not(.slide-tagline),html body .xs__eyebrow,
html body .eyebrow:has(+ h1),html body .eyebrow:has(+ h2),html body .eyebrow:has(+ .head),html body .gb-hero .eyebrow,
html body .ap__eyebrow,html body .cx-kicker,html body .tf-ach .tf-eyebrow,html body .tf-eyebrow,html body .qs__tag,html body .rf__kicker,
html body .st-eyebrow,html body .r-band__kicker,html body .cp-eyebrow,html body .kicker,html body .ct-tag{
  display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:18px!important;
  font-family:"Poppins","Inter","Segoe UI",Arial,sans-serif!important;font-weight:700!important;
  font-size:clamp(15px,1.52vw,24.3px)!important;line-height:1.3!important;letter-spacing:.04em!important;
  text-transform:capitalize!important;font-style:normal!important;white-space:nowrap!important;
  color:#e3141b!important;-webkit-text-fill-color:#e3141b!important;background:none!important;border:0!important;
  padding:0!important;text-shadow:none!important;opacity:1!important}
/* dark backgrounds: brighter red so it stays easy to read */
html body .gb-hero .eyebrow,html body .ap__eyebrow,html body .cx-kicker,html body .tf-eyebrow,
html body [class*="hero"] .eyebrow,html body .r-band__kicker{color:#ff4b55!important;-webkit-text-fill-color:#ff4b55!important}
/* no line / dot before the text */
html body .tfg-eyebrow:not(.slide-tagline)::before,html body .xs__eyebrow::before,html body .eyebrow:has(+ h1)::before,html body .eyebrow:has(+ h2)::before,html body .eyebrow:has(+ .head)::before,
html body .gb-hero .eyebrow::before,html body .ap__eyebrow::before,html body .cx-kicker::before,html body .tf-eyebrow::before,
html body .qs__tag::before,html body .rf__kicker::before,html body .st-eyebrow::before,html body .r-band__kicker::before{content:none!important;display:none!important}
html body .gb-hero .eyebrow>.line,html body .cx-kicker>span:empty,html body .st-eyebrow>span:empty{display:none!important}
/* the red line after the text */
html body .tfg-eyebrow:not(.slide-tagline)::after,html body .xs__eyebrow::after,html body .eyebrow:has(+ h1)::after,html body .eyebrow:has(+ h2)::after,html body .eyebrow:has(+ .head)::after,
html body .gb-hero .eyebrow::after,html body .ap__eyebrow::after,html body .cx-kicker::after,html body .tf-eyebrow::after,
html body .qs__tag::after,html body .rf__kicker::after,html body .st-eyebrow::after,html body .r-band__kicker::after{
  content:""!important;display:block!important;position:static!important;flex:0 0 auto!important;
  width:clamp(80px,8vw,150px)!important;height:2px!important;margin:0!important;border-radius:2px!important;
  background:linear-gradient(90deg,currentColor,transparent)!important;box-shadow:none!important;opacity:1!important}
@media (max-width:600px){
  html body .tfg-eyebrow:not(.slide-tagline),html body .xs__eyebrow,html body .eyebrow:has(+ h1),html body .eyebrow:has(+ h2),html body .eyebrow:has(+ .head),html body .gb-hero .eyebrow,
  html body .ap__eyebrow,html body .cx-kicker,html body .tf-eyebrow,html body .qs__tag,html body .rf__kicker,html body .st-eyebrow,html body .r-band__kicker{white-space:normal!important;gap:12px!important}}

/* footer text: normal left alignment (no big gaps between words) */
html body footer p,html body .lf-about{text-align:left!important;text-align-last:left!important;text-justify:auto!important;word-spacing:normal!important}
/* ===== Main home banner on short laptop screens: smaller title so the text never hides under the menu ===== */
@media (min-width:901px) and (max-height:860px){
  html body .hero-slider .slide-title{font-size:76px!important;line-height:1.02!important}
  html body .hero-slider .slide-content{padding-top:12px!important}
  html body .hero-slider .slide-content p:not(.slide-tagline){margin-top:14px!important}
}
@media (min-width:901px) and (max-height:700px){
  html body .hero-slider .slide-title{font-size:64px!important}
}
