/* =====================================================================
   SITE ALIGNMENT
   Loaded last. Gives every section the same left and right edge,
   so all titles, cards and boxes line up down the whole page.
   Change --site-max or --site-gap to adjust the whole page at once.
   ===================================================================== */
:root {
  --site-max: var(--wrap, 1600px);    /* same widest content as the rest of the website */
  --site-gap: var(--edge, 40px);      /* same side space as the website header and footer */
}

/* the side space every section uses */
.ap__content,
.svc__content,
.osp,
.cx,
.mvc,
.cv {
  padding-left:  max(16px, var(--site-gap), calc((100% - var(--site-max)) / 2)) !important;
  padding-right: max(16px, var(--site-gap), calc((100% - var(--site-max)) / 2)) !important;
}

/* inner boxes fill the full width between those edges */
.osp-card,
.ospn,
.cx-box,
.mvc__grid {
  max-width: none !important;
  width: 100%;
}

/* sections built with .tf-wrap (Achievements, Four Companies) */
.tf-ach .tf-wrap,
.tf-v2030 .tf-wrap {
  width: calc(100% - 2 * max(16px, var(--site-gap), calc((100% - var(--site-max)) / 2)));
  max-width: none;
}

/* Core Values: full width on desktop, keeps its own stacked layout on tablets/phones */
@media (min-width: 1101px) {
  .cv-wrap { max-width: none !important; }
}

/* Mission & Vision: a little more room so the cards breathe at full width */
.mvc { padding-top: 80px; padding-bottom: 80px; }
.mvc__grid { gap: clamp(24px, 2.4vw, 44px); }

/* let long subtitles wrap instead of running into the photo */
.mvc__sub { white-space: normal !important; }

/* ===== Our Story: no card frame, blends straight into the page ===== */
.osp {
  padding: 0 0 clamp(24px, 3vw, 48px) !important;
  background: #fbfcff !important;
}
.osp-card {
  max-width: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.osp-card::after { display: none !important; }
.osp-text { left: max(16px, var(--site-gap), calc((100% - var(--site-max)) / 2)) !important; }
.ospn {
  width: auto !important;
  margin-left: max(16px, var(--site-gap), calc((100% - var(--site-max)) / 2)) !important;
  margin-right: max(16px, var(--site-gap), calc((100% - var(--site-max)) / 2)) !important;
}
@media (max-width: 900px) {
  .osp-text {
    left: auto !important;
    padding-left: max(16px, 4%) !important;
    padding-right: max(16px, 4%) !important;
  }
}

/* ===== Buttons: no outer glow / shadow ring around any button ===== */
.osp-btn, .osp-btn:hover,
.ap__btn, .ap__btn:hover,
.svc__btn, .svc__btn:hover {
  box-shadow: none !important;
}

/* ===== Every section flat and edge to edge: no outer boxes, borders or shadows ===== */
/* Our Story – Journey in Numbers band */
.ospn {
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding-left:  max(16px, var(--site-gap), calc((100% - var(--site-max)) / 2)) !important;
  padding-right: max(16px, var(--site-gap), calc((100% - var(--site-max)) / 2)) !important;
}
.osp { padding-bottom: 0 !important; }

/* CEO message */
.cx { padding: 0 !important; background: #061646 !important; }
.cx-box {
  max-width: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Mission & Vision cards: flat, no floating shadow */
.mvc__card,
.mvc__card.is-visible:hover {
  box-shadow: none !important;
}
.mvc { background: #fff !important; }
.mvc__card { border: 1px solid #e6ebf5; }

/* ===== Journey in Numbers: sits right under Our Services, one joined block ===== */
.osp--numbers { padding: 0 !important; background: #04225c !important; margin-top: -1px; }
.osp--numbers .ospn { border-top: 0 !important; }
.svc { margin-bottom: 0; }
/* soft blend from the services wallpaper into the numbers band */
.osp--numbers .ospn::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40px; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(4,34,92,.85), rgba(4,34,92,0));
}
.osp--numbers .ospn > * { position: relative; z-index: 1; }
.osp--numbers .ospn > .ospn-bg { position: absolute; z-index: -2; }
.osp--numbers .ospn > .ospn-glow { position: absolute; }

/* ===== Four Companies. One Vision.: WHITE THEME ===== */
.tf-v2030 { color: #0b1f5c !important; background-color: #fff !important; }
.tf-v2030::before {
  background: linear-gradient(90deg,
    rgba(255,255,255,.97) 0%,
    rgba(255,255,255,.92) 42%,
    rgba(255,255,255,.6) 58%,
    rgba(255,255,255,.1) 76%,
    rgba(255,255,255,0) 100%) !important;
}
.tf-v2030 .tf-eyebrow { color: #e31e2d !important; text-shadow: none; }
.tf-v2030 .tf-eyebrow::before { background: #e31e2d !important; }
.tf-v2030 h2 { color: #0b1f5c !important; text-shadow: none; }
.tf-v2030 h2 em {
  background: linear-gradient(90deg, #1c4fa8, #2f6df0, #19b5c9) !important;
  -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important;
  text-shadow: none; filter: none;
}
.tf-v2030 p { color: #3d4868 !important; text-shadow: none; }
.tf-divs span {
  background: #fff !important;
  color: #0b1f5c;
  border: 1px solid #dbe4f3 !important;
  box-shadow: 0 6px 16px rgba(11,31,92,.08);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.tf-divs span:hover { background: #f3f6fb !important; }
@media (max-width: 991px) {
  .tf-v2030::before {
    background: linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.82) 60%, rgba(255,255,255,.55) 100%) !important;
  }
}

/* ===== Same red bar AFTER every small section heading (like ABOUT US) ===== */
.osp-kline, .cx-kicker > span { display: none !important; }
.tf-v2030 .tf-eyebrow::before, .tf-ach .tf-eyebrow::before { display: none !important; }

.osp-kicker, .cx-kicker, .tf-eyebrow {
  display: inline-flex !important;
  align-items: center;
  gap: 22px !important;
}
.osp-kicker::after, .cx-kicker::after, .tf-eyebrow::after {
  content: "" !important;
  display: block !important;
  width: 0;
  height: 2px !important;
  margin: 0 !important;
  border-radius: 2px;
  background: linear-gradient(90deg, #e0151f, rgba(224,21,31,0)) !important;
  box-shadow: 0 0 8px rgba(224,21,31,0.6) !important;
  transition: width .9s ease .3s;
}
.kick-in::after { width: 140px !important; }
@media (max-width: 600px) { .kick-in::after { width: 80px !important; } }
@media (prefers-reduced-motion: reduce) { .osp-kicker::after, .cx-kicker::after, .tf-eyebrow::after { width: 140px; transition: none; } }

/* ===== Page size follows the website's own zoom (site-zoom.css, --site-zoom) ===== */
:root { --z: var(--site-zoom, 1); }
@media (min-width: 1024px) {
  /* rules measured from the screen width must undo the zoom so they still fill the screen */
  .svc { min-height: calc(100vw / var(--z) * 793 / 1983) !important; }
  .svc__content > *, .svc__cats { max-width: calc(43vw / var(--z)) !important; }
}

/* ===== Buttons: bigger ">" chevron ===== */
.ap__btn svg, .svc__btn svg, .osp-btn svg {
  width: 22px !important;
  height: 22px !important;
  stroke-width: 3 !important;
}
.osp-btn svg path { stroke-width: 3; }

/* ===== All headings coloured like "Our Services": main words white/navy, key words blue ===== */
:root { --head-blue: #3d8bff; --head-navy: #0b1a5c; }

/* About Us hero: "Driven by Quality." blue with a light shimmer */
.ap__accent {
  background: linear-gradient(100deg, var(--head-blue) 0%, var(--head-blue) 40%, #a9c9ff 50%, var(--head-blue) 60%, var(--head-blue) 100%) !important;
  background-size: 250% 100% !important;
  -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important;
}

/* Our Story */
.osp-title .t1 { background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; color: var(--head-navy) !important; }
.osp-title .t2 { background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; color: var(--head-blue) !important; }

/* Our Journey in Numbers */
.ospn-h span { background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; color: var(--head-blue) !important; }

/* Mission & Vision: "Our" navy, "Mission" / "Vision" blue */
.mvc__title { color: var(--head-blue) !important; }
.mvc__title span { color: var(--head-navy) !important; }

/* CEO message: "CEO" blue */
.cx-title em { background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; color: var(--head-blue) !important; }

/* Core Values: "Values" blue */
.cv-h2 em { color: var(--head-blue) !important; }

/* Achievements: "Speak for Us" blue */
.tf-h2-light span { background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; color: var(--head-blue) !important; }

/* ===== About Us hero: taller ===== */
@media (min-width: 1024px) {
  .ap__banner { height: auto !important; min-height: max(620px, calc(72vh / var(--z))) !important; }
  .ap__bg { background-position: right center !important; }   /* keep the photo collage and flag in view */
}
@media (max-width: 1023px) {
  .ap__banner { min-height: 620px !important; }
}

/* ===== Same generous height for every content section ===== */
:root { --sec-pad: clamp(100px, 9vw, 170px); }
.mvc, .cv, .tf-ach {
  padding-top: var(--sec-pad) !important;
  padding-bottom: var(--sec-pad) !important;
}
@media (max-width: 760px) { :root { --sec-pad: 70px; } }

/* ===== Achievements: taller cards, glowing hexagon icons in our blue & red ===== */
.tf-ach .tf-head { margin-bottom: 70px !important; }
.tf-ach-grid { gap: 32px !important; }
.tf-sc { --c: #2f6df0; --c2: #1a3aa8; --glow: rgba(47,109,240,.65); padding: 64px 28px 58px !important; }
.tf-sc:nth-child(even) { --c: #ff4a4f; --c2: #b00b12; --glow: rgba(227,20,27,.65); }

/* running border light in the card's own colour */
.tf-sc::before {
  background: conic-gradient(from var(--tf-a), transparent 0 68%, var(--c) 82%, #fff 88%, var(--c) 94%, transparent 100%) !important;
  filter: drop-shadow(0 0 8px var(--glow)) !important;
}
.tf-sc.in:hover { box-shadow: 0 0 40px -6px var(--glow), inset 0 0 30px -16px var(--glow); }

/* hexagon icon */
.tf-sc-ico {
  width: 120px !important;
  height: 132px !important;
  margin-bottom: 30px !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 0 18px var(--glow)) drop-shadow(0 10px 18px rgba(0,0,0,.35));
  animation: tfHexGlow 3s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.tf-sc-ico::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: radial-gradient(circle at 35% 25%, color-mix(in srgb, var(--c) 55%, #fff), var(--c) 55%, var(--c2));
}
.tf-sc-ico::after {                     /* pulsing hexagon halo */
  inset: -14px !important;
  border: 0 !important;
  border-radius: 0 !important;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--c);
  opacity: .35;
  z-index: -1;
}
.tf-sc-ico svg { position: relative; z-index: 1; width: 62px !important; height: 62px !important; }
.tf-sc-ico svg .ac { stroke: #ffd257 !important; }
.tf-sc-ico svg .ok { fill: #fff !important; }
.tf-sc-ico svg .okt { stroke: var(--c2) !important; }

.tf-sc-num b { font-size: clamp(44px, 4.2vw, 64px) !important; text-shadow: 0 0 24px var(--glow); }
.tf-sc-num sup { color: var(--c) !important; text-shadow: 0 0 12px var(--glow); }
.tf-sc-label { margin-top: 18px !important; font-size: 15px !important; }
.tf-sc-label::before { background: var(--c) !important; box-shadow: 0 0 12px var(--c) !important; width: 44px !important; margin-bottom: 16px !important; }

@keyframes tfHexGlow {
  0%, 100% { filter: drop-shadow(0 0 14px var(--glow)) drop-shadow(0 10px 18px rgba(0,0,0,.35)); }
  50%      { filter: drop-shadow(0 0 30px var(--glow)) drop-shadow(0 10px 18px rgba(0,0,0,.35)); }
}
@media (max-width: 480px) {
  .tf-sc { padding: 40px 14px 36px !important; }
  .tf-sc-ico { width: 84px !important; height: 92px !important; margin-bottom: 18px !important; }
  .tf-sc-ico svg { width: 44px !important; height: 44px !important; }
  .tf-sc-num b { font-size: 32px !important; }
}
/* soft coloured glow inside each achievement card */
.tf-sc {
  background:
    radial-gradient(120% 60% at 50% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%),
    linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02)) !important;
}

/* ===== Achievements: smaller, cleaner, more professional ===== */
.tf-ach { padding-top: clamp(80px, 6.5vw, 120px) !important; padding-bottom: clamp(80px, 6.5vw, 120px) !important; }
.tf-ach .tf-head { margin-bottom: 44px !important; }
.tf-ach-grid { gap: 22px !important; }
.tf-sc { padding: 34px 22px 30px !important; border-radius: 16px !important; }
.tf-sc {
  background:
    radial-gradient(100% 50% at 50% 0%, color-mix(in srgb, var(--c) 12%, transparent), transparent 70%),
    linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)) !important;
}
.tf-sc::before { filter: drop-shadow(0 0 4px var(--glow)) !important; opacity: .8; }
.tf-sc.in:hover { box-shadow: 0 12px 30px -10px rgba(0,0,0,.45), 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent); }

.tf-sc-ico {
  width: 72px !important;
  height: 80px !important;
  margin-bottom: 20px !important;
  animation: none !important;
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--c) 45%, transparent)) drop-shadow(0 6px 10px rgba(0,0,0,.3)) !important;
}
.tf-sc-ico::after { inset: -8px !important; opacity: .18; }
.tf-sc-ico svg { width: 38px !important; height: 38px !important; }

.tf-sc-num b { font-size: clamp(32px, 2.8vw, 44px) !important; text-shadow: none !important; }
.tf-sc-num sup { font-size: 20px !important; text-shadow: none !important; }
.tf-sc-label { margin-top: 12px !important; font-size: 12.5px !important; letter-spacing: 1.4px !important; color: rgba(255,255,255,.72) !important; }
.tf-sc-label::before { width: 28px !important; height: 2px !important; margin-bottom: 12px !important; box-shadow: none !important; }

@media (max-width: 480px) {
  .tf-sc { padding: 26px 12px 24px !important; }
  .tf-sc-ico { width: 58px !important; height: 64px !important; margin-bottom: 14px !important; }
  .tf-sc-ico svg { width: 30px !important; height: 30px !important; }
  .tf-sc-num b { font-size: 26px !important; }
  .tf-sc-label { font-size: 11px !important; }
}
/* keep the small labels readable at the 75% page size */
.tf-sc-label { font-size: 14.5px !important; }
.tf-sc-num b { font-size: clamp(36px, 3vw, 48px) !important; }
.tf-ach .tf-eyebrow { font-size: 15px !important; }

/* Our Services: text always stops before the tools picture, whatever the side spacing */
@media (min-width: 1024px) {
  .svc__content { padding-right: 52% !important; }
  .svc__content > *, .svc__cats { max-width: none !important; }
}
