/* =====================================================================
   SITE FONTS – one font + one colour style for the whole website
   Font: Poppins (same as the "What We Do" title)
   Load this file LAST so it wins over the older rules.
   ===================================================================== */
:root{
  --tf-font:"Poppins","Inter","Segoe UI",Arial,sans-serif;
  --tf-red:#e3141b;
  --tf-navy:#0b1c5a;
}

/* ---------- MENU: Capital Letter For Each Word ---------- */
.nav > ul > li > a,
.nav-quote a{
  font-family:var(--tf-font)!important;
  text-transform:capitalize!important;
  font-weight:500!important;
  letter-spacing:0!important;
}

/* ---------- DROPDOWNS (Our Companies, Industries, Contact) ---------- */
.submenu{min-width:290px!important;padding:10px 0!important}
.submenu a{
  font-family:var(--tf-font)!important;
  font-size:20px!important;
  font-weight:500!important;
  text-transform:capitalize!important;
  letter-spacing:0!important;
  padding:15px 28px!important;
}

/* ---------- SECTION LABELS – same as "What We Do" ---------- */
.tfg-eyebrow,
section:not(.hero-slider) .tfg-eyebrow,
.og-eyebrow,.ab-eyebrow,.wy-eyebrow,.cat-eyebrow,.eq-eyebrow,
.xs__eyebrow{
  display:flex!important;align-items:center!important;gap:14px!important;
  font-family:var(--tf-font)!important;
  font-size:clamp(15px,1.2vw,20px)!important;
  font-weight:700!important;
  color:var(--tf-red)!important;
  text-transform:capitalize!important;
  letter-spacing:.04em!important;
}
section:not(.hero-slider) .tfg-eyebrow::after,
.xs__eyebrow::after{
  content:""!important;display:block!important;
  flex:0 0 clamp(60px,7vw,130px)!important;width:clamp(60px,7vw,130px)!important;
  height:3px!important;border-radius:3px!important;box-shadow:none!important;
  background:linear-gradient(90deg,var(--tf-red),rgba(227,20,27,0))!important;
}
/* labels on dark sections: brighter red so they stay readable */
.tfg-dark .tfg-eyebrow{color:#ff4b55!important}
.tfg-dark .tfg-eyebrow::after{background:linear-gradient(90deg,#ff4b55,rgba(255,75,85,0))!important}

/* hero slides: same font, colour stays gold so it reads on the photos */
.hero-slider .tfg-eyebrow,.slide-tagline{
  font-family:var(--tf-font)!important;
  text-transform:capitalize!important;
  letter-spacing:.04em!important;
}

/* ---------- SECTION TITLES ---------- */
.tfg-title,.industries__title,.xs__title,
.ab-title,.wy-title,.cat-title,.eq-title,
.slide-title,
h1,h2,h3,h4{
  font-family:var(--tf-font)!important;
}
.tfg-title,.industries__title{
  font-weight:700!important;
  letter-spacing:-.02em!important;
  text-transform:capitalize!important;
}

/* ---------- CARDS, FOOTER, BUTTONS ---------- */
.ind-card__label,.cq-card__title,.lf-title,.lf-tag,
.btn,button,.header a[class*="quote"]{
  font-family:var(--tf-font)!important;
}
.cq-card__title,.lf-title,.lf-tag{text-transform:capitalize!important}

/* ---------- BODY TEXT ---------- */
body,p,li,input,textarea,select{font-family:"Inter","Segoe UI",Arial,sans-serif}

/* =====================================================================
   UPDATE 2 – headings like "From Idea To / A Running System",
   red bar after the quote, hero arrows bottom-left
   ===================================================================== */

/* ---------- All section headings: Poppins Bold, navy + blue ---------- */
.tfg-title,.industries__title,.xs__title{
  font-family:var(--tf-font)!important;
  font-weight:700!important;
  line-height:1.1!important;
  letter-spacing:-.02em!important;
  color:#0b1c5a!important;
}
.tfg-title span,.tfg-title em,.industries__title-accent,.xs__title span{color:#1349d8!important}
.tfg-dark .tfg-title{color:#fff!important}
.tfg-dark .tfg-title span,.tfg-dark .tfg-title em{color:#5b84ff!important}
.tfg-dark .eq-form .tfg-title{color:#0b1c5a!important}
.tfg-dark .eq-form .tfg-title span{color:#1349d8!important}

/* section labels same size as "Engineering Your Digital" */
.tfg-eyebrow,section:not(.hero-slider) .tfg-eyebrow,
.og-eyebrow,.ab-eyebrow,.wy-eyebrow,.cat-eyebrow,.eq-eyebrow{
  font-size:clamp(19px,1.55vw,26px)!important;
}
section:not(.hero-slider) .tfg-eyebrow::after{
  flex-basis:clamp(80px,9vw,170px)!important;width:clamp(80px,9vw,170px)!important;
}

/* ---------- Quote under the IT headings: no red bar ---------- */
.xs__quote p::after,.xs__quote p > span::after{display:none!important;content:none!important}

/* ---------- Hero arrows: bottom-left,  <  • • ━ • •  >  ---------- */
.hero-slider{--ctl-left:max(var(--pad), calc(var(--cx) + var(--pad)))}
.slider-arrow{bottom:22px!important;right:auto!important;
  background:rgba(255,255,255,.12)!important;border:1.5px solid rgba(255,255,255,.75)!important;
  backdrop-filter:blur(4px)}
.slider-arrow:hover{background:var(--red)!important;border-color:var(--red)!important}
.slider-prev{left:var(--ctl-left)!important}
.slider-dots{left:calc(var(--ctl-left) + 64px)!important;bottom:39px!important}
.slider-next{left:calc(var(--ctl-left) + 64px + 122px + 18px)!important}
@media (max-width:600px){
  .slider-arrow{bottom:18px!important}
  .slider-dots{left:calc(var(--ctl-left) + 56px)!important;bottom:32px!important}
  .slider-next{left:calc(var(--ctl-left) + 56px + 122px + 14px)!important}
}

/* ---------- How We Work: step cards moved down – bottom lines up with the quote text ---------- */
@media (min-width:1101px){
  #how-we-work .xs__wrap{align-items:end!important}
  #how-we-work .steps2{align-self:end!important;margin-bottom:0!important}
}

/* ---------- section labels: always ONE straight line (text + red line) ---------- */
.xs__eyebrow,.tfg-eyebrow,section:not(.hero-slider) .tfg-eyebrow{
  white-space:nowrap!important;flex-wrap:nowrap!important;
}
.xs__eyebrow::after,section:not(.hero-slider) .tfg-eyebrow::after{
  flex:0 1 clamp(60px,7vw,130px)!important;min-width:40px!important;
}
/* "Engineering Your Digital Future" is long – the label may use the space next to it */
#how-we-work .xs__intro{overflow:visible!important}

/* ---------- IT sections (How We Work / What We Do): same size as the other sections ---------- */
@media (min-width:768px){
  .xs .xs__eyebrow{font-size:clamp(15px,1.52vw,24.3px)!important;zoom:calc(0.7 / 0.9)}
  .xs .xs__title,.xs--how .xs__title{font-size:clamp(30px,3.6vw,57.6px)!important;zoom:calc(0.7 / 0.9);line-height:1.1!important}
}



/* hero: "Group Holding" always on one line */
.hero-slider .slide-title .one-line,.hero-slider .slide-title .one-line *{white-space:nowrap!important}
.hero-slider .slide-title .one-line{display:inline-block}
