/* =========================================================
   SmartFreight — master.css (cleaned + organized)
   Notes:
   • No design/behavior changes intended — only dedupe, typos, and structure.
   • Image variables preserved with :root and :root.prod swapping.
   • Fixed small typos (double semicolons, misspellings, stray characters).
   • Kept utility classes and responsive overrides; grouped logically.
   ========================================================= */





   
/* ----------------------- Base / Reset ----------------------- */
html {
  font-size: 14px;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden !important;
  scroll-behavior: smooth;
  font-family: "Kumbh Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url("https://app.salesdrip.com/users/myteam49864/Media39.webp");
  background-position: center; /* fixed double semicolon */
  overflow-x: hidden;
}

:root {
  /* Colors */
  --color-one: #3A8FCD;
  --color-two: #222222;
  --color-three: #ffffff;
  --color-four: transparent;
  --color-five: #f7f7f7;
  --color-six: #777777;
  --color-seven: #7aad41;
  --color-eight: #eda436;
  --maxWidth-set: 1300px;
  --page-max-width: min(95vw, var(--maxWidth-set));
  --page-inline-gap: clamp(0.85rem, 4vw, 2.5rem);

  /* Particles */
  --particles-density: 0.00012;
  --particles-base-speed: 0.1;
  --particles-wander: 0.003;
  --particles-link-distance: 140;
  --particles-link-alpha: 0.4;
  --particles-radius: 1.6;
  --particles-max-dpr: 2;
  --particles-z: 0;
  --particles-dot: #ffffff;
  --particles-link: rgba(255, 255, 255, 0.35);
  --particles-mouse-mode: repel; /* repel | attract | none */
  --particles-mouse-radius: 150;
  --particles-mouse-force: 0.08; /* 0.04–0.16 */
  --particles-mouse-linger: 0.92;

  /* Images — LOCAL dev paths */
  --img-logo: url("SmartFreightLogo.webp");
  --img-logo-white: url("whitelogo.webp");
  --img-hero: url("Bluemain.webp");
  --img-hero-pattern: url("PatternBG.webp");
  --img-intro: url("Intro.webp");
  --img-carriers: url("Carriers.webp");
  /* Services */
  --img-service-truckload: url("truckload.webp");
  --img-service-partial: url("Partial.webp");
  --img-service-flatbed: url("flatbed.webp");
  --img-service-tradeshow: url("tradeshowIcon.webp");
  --img-service-canadian: url("Canadian.webp");
  --img-service-oversize: url("Oversize.webp");
  --img-service-hotshot: url("HotShot.webp");
  --img-service-warehousing: url("warehousing.webp");
  /* Misc */
  --img-scroll-top: url("https://app.nitroflow.com/users/myteam48573/Media74.png");

  /* Nav (modern) */
  --nf-nav-bg: rgba(255, 255, 255, 0.92);
  --nf-nav-bg-strong: #ffffff;
  --nf-nav-text: #3A8FCD;
  --nf-nav-text-dim: #6b7280;
  --nf-accent: #3A8FCD;
  --nf-ring: rgba(37, 149, 206, 0.35);
  --nf-radius: 14px;
  --nf-blur: 12px;
  --nf-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  --nf-speed: 0.28s;
  --nf-header-h: 74px;





}

/* Typography & generic */
.kumbh {
  font-family: "Kumbh Sans", sans-serif;
  font-weight: 600;
  font-style: normal;
}
a {
  text-decoration: none;
  transition: all 200ms ease-out;
}
p {
  margin: 0;
  padding: 0;
}

/* Utilities */
.flex {
  display: flex;
}
.jCenter {
  justify-content: center;
}
.aCenter {
  align-items: center;
}
.center_center {
  align-items: center;
  justify-content: center;
}
.rowDirect {
  flex-direction: row;
}
.columnDirect {
  flex-direction: column;
}

/* Small globals */
.interior {
  width: 100%;
}
#homepageMain {
  width: 100%;
}
div[contenteditable="false"] {
  width: 100%;
}

table#homepageContentTable {
  display: none;
}
#playerStatsLink {
  display: none !important;
} /* de-duped */
::marker {
  display: none;
}

/* ----------------------- Header / Navigation ----------------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  right: 0;
  z-index: 9999;
  width: 100%;
  height: auto;
  padding: 1rem 0;
  background: var(--color-two);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background var(--nf-speed), transform var(--nf-speed), box-shadow var(--nf-speed);
  box-shadow: 0px 10px 30px -20px #000; /* retained subtle drop */
}
header .headContent {
  min-height: var(--nf-header-h);
}
header.transformHead {
  background: var(--color-three);
  box-shadow: var(--nf-shadow);
}

.subPageHeader {
  background-color: var(--color-seven);
  width: 100%;
  position: relative;
}

.logoPlaceholder {
  width: 11rem;
  height: 4rem;
  margin: 1rem;
  background-color: var(--color-six);
}
.mainLogo {
  width: 14rem;
  height: 64px;
  object-fit: contain;
}

.headContent.flex {
  align-items: center;
  width: var(--page-max-width);
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
  gap: clamp(12px, 3vw, 24px);
  padding: 10px var(--page-inline-gap);
}

.navigation {
  display: flex;
  align-items: center;
  gap: 16px;
}
#nav {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 28px);
  margin: 0;
  padding: 0;
}
#nav > li {
  position: relative;
}
#nav > li > a,
#nav > li > span > a {
  font-family: "Kumbh Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 600;
  font-size: clamp(14px, 1.1vw, 16px);
  letter-spacing: 0.2px;
  color: var(--nf-nav-text);
  text-decoration: none;
  display: inline-block;
  padding: 12px 2px;
  position: relative;
  transition: color var(--nf-speed), opacity var(--nf-speed);
  outline: none;
}
#nav a:focus-visible {
  outline: 3px solid var(--nf-ring);
  outline-offset: 2px;
  border-radius: 6px;
}
#nav > li > a::after,
#nav > li > span > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--nf-accent), color-mix(in lab, var(--nf-accent), white 25%));
  transition: transform var(--nf-speed);
  border-radius: 2px;
}
#nav > li:hover > a::after,
#nav > li:focus-within > a::after,
#nav > li:hover > span > a::after,
#nav > li:focus-within > span > a::after {
  transform: scaleX(1);
}
#nav:hover > li > a {
  opacity: 0.85;
}
#nav:hover > li:hover > a {
  opacity: 1;
}

/* Dropdowns */
#nav li > ul {
  position: absolute;
  left: 0;
  top: calc(100% + 0px);
  min-width: 240px;
  padding: 8px;
  margin: 0;
  list-style: none;
  border-radius: var(--nf-radius);
  background: #222222;
  backdrop-filter: blur(var(--nf-blur));
  -webkit-backdrop-filter: blur(var(--nf-blur));
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
  transition: opacity var(--nf-speed), transform var(--nf-speed);
}
#nav li:hover > ul,
#nav li:focus-within > ul {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
#nav li > ul > li > a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--nf-nav-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  transition: background var(--nf-speed), color var(--nf-speed), transform var(--nf-speed);
}
#nav li > ul > li > a:hover,
#nav li > ul > li > a:focus {
  background: rgba(37, 149, 206, 0.08);
  color: var(--nf-accent);
}

/* Caret */
#nav > li:has(> ul) > a::before,
#nav > li:has(> ul) > span > a::before {
  content: "▾";
  font-size: 10px;
  opacity: 0.7;
  margin-right: 6px;
  transform: translateY(-1px);
  display: inline-block;
  color: var(--nf-nav-text-dim);
}

/* CTA */
.headerCTA {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--nf-accent), color-mix(in lab, var(--nf-accent), black 10%));
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(37, 149, 206, 0.25);
  transition: transform var(--nf-speed), box-shadow var(--nf-speed), filter var(--nf-speed);
  white-space: nowrap;
}
.headerCTA:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(37, 149, 206, 0.28);
  filter: saturate(1.05);
}

/* Hamburger */
.hamburger {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: var(--color-one);
  display: none;
  place-items: center;
  cursor: pointer;
  transition: border-color var(--nf-speed), background var(--nf-speed);
}
.hamburger .bar {
  width: 22px;
  height: 2px;
  background: var(--color-five);
  border-radius: 2px;
  transition: transform var(--nf-speed), opacity var(--nf-speed);
}
.hamburger .bar + .bar {
  margin-top: 5px;
}
.hamburger.active .bar1 {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active .bar2 {
  opacity: 0;
}
.hamburger.active .bar3 {
  transform: translateY(-7px) rotate(-45deg);
}

/* ----------------------- Main / Hero ----------------------- */
.main {
  width: 100%;
}
.heroSection {
  width: 100%;
  height: 50vh;
  min-height: 45rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: transparent;
}
.parallax {
  position: relative;
  height: 50vh;
  min-height: 45rem;
  overflow: hidden;
  z-index: 0;
  isolation: isolate;
}
.parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://app.salesdrip.com/users/myteam49864/Media45.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position:  center;
  transform: translate3d(0, var(--parallax-offset, 0px), 0);
  backface-visibility: hidden;
  will-change: transform;
  z-index: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .parallax::before {
      transform: none !important;
  }
}

.spanForm {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--color-two);
  padding: 1rem 0;
  width: 100%;
}

.heroNav {
  color: var(--color-five);
}
.heroNav a {
  color: var(--color-five);
  margin: 1rem;
  transition: all ease 400ms;
}
.heroNav a:hover {
  color: var(--color-one);
}

.shortBG .heroContent h1 {
  margin: 0.5rem;
}
.heroAction {
  margin: 2rem auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: min(100%, 28rem);
}
.heroAction a {
  background-color: transparent;
  border: 2px solid var(--color-three);
  padding: 1rem 1.5rem;
  margin: 0;
  border-radius: 5px;
  font-weight: 500;
  color: var(--color-five);
  transition: all ease 300ms;
}
.heroAction a:hover {
  background-color: var(--color-one);
}

.heroSection h1 {
  font-size: 4rem;
  color: var(--color-three);
  max-width: 950px;
  text-align: center;
  font-weight: 800;
  margin: 1rem 0;
}
.heroSection p {
  font-size: 1.3rem;
  line-height: 2.1rem;
  max-width: 1000px;
  width: 90%;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--color-three);
}
.heroSection.shortBG {
  height: 300px;
}
.heroWrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 99;
  height: 50vh;
  min-height: 45rem;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}
.heroContent {
  width: var(--page-max-width);
  max-width: 980px;
  margin: 5rem auto 0;
  padding-inline: var(--page-inline-gap);
  text-align: center;
}
.heroServiceContent {
  width: var(--page-max-width);
  max-width: 980px;
  margin: 0 auto;
  padding-inline: var(--page-inline-gap);
  text-align: center;
}
.heroContent h1 span {
  color: var(--color-one);
  font-size: 5rem;
}

/* ----------------------- Theming backgrounds ----------------------- */
.frontSection {
  z-index: 900;
  background-color: transparent;
}
.liveBG {
  background-image: url("https://app.greenrope.com/users/myteam49570/Media73.webp");
  background-position: center;
  background-size: cover;
}
.aboutBG {
  background-image: url("https://app.greenrope.com/users/myteam49570/Media79.webp");
  background-position: center;
  background-size: cover;
}
.workBG {
  background-image: url("https://app.greenrope.com/users/myteam49570/Media52.jpg");
  background-position: center;
  background-size: cover;
}

/* ----------------------- Sections / Blocks ----------------------- */
.iconBlocks {
  width: var(--page-max-width);
  max-width: var(--maxWidth-set);
  flex-wrap: wrap;
  margin: 0 auto;
  padding-inline: var(--page-inline-gap);
}
.countNum {
  line-height: 6rem;
  margin: 0 2rem;
}
.whyUsWrap {
  width: min(95vw, 1200px);
  max-width: 1200px;
  justify-content: center;
  display: flex;
  color: #fff;
  margin: 0 auto;
  padding-inline: var(--page-inline-gap);
}

#scroll-line {
  position: fixed;
  top: 0;
  left: 50%;
  height: 10px;
  width: 0%;
  background: var(--color-one);
  z-index: 9999;
  transform: translateX(-50%);
  transition: width 0.1s ease-out;
}

.section {
  width: 100%;
  max-width: var(--maxWidth-set);
  margin: 0 auto;
  padding-inline: var(--page-inline-gap);
  z-index: 50;
}
.topSection {
  margin-top: 5rem;
}
.section h2 {
  font-size: 3rem;
  color: #22253d;
  margin-top: 0.8rem;
}
.section p {
  font-size: 17px;
  line-height: 2.2rem;
  text-align: center;
  color: #22253d;
}
.section span {
  color: var(--color-one);
  font-size: 19px;
}
.section.whyUs {
  width: 100%;
  background-color: var(--color-two);
  padding: 1rem 0 !important;
  z-index: 400;
  max-width: 100%;
  margin-top: 0;
}
.section.whyUs h2 {
  color: #ffffff;
  margin: 1rem 0;
}
.section.whyUs p {
  color: #ffffff;
  text-align: left;
}

.keyStat {
  font-size: 1.5rem;
  width: 20rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section .keyStat p {
  max-width: 20rem;
  line-height: 1.5rem;
}
.section .keyStat span {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 2.3rem;
  color: var(--color-three);
}
.numStat {
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-five);
  display: inline-block;
  min-width: 3ch;
  text-align: right;
}

.whyCTA svg {
  transform: rotate(90deg);
  margin-left: 50%;
}
.whyCTA a span {
  font-weight: 800;
}
.whyCTA a strong {
  font-weight: 700;
}
.whyCTA a {
  background-color: transparent;
  border: 2px solid var(--color-three);
  padding: 0.6rem 1.5rem;
  text-transform: uppercase;
  text-align: center;
  border-radius: 5px;
  margin-top: 2rem;
  font-weight: 300;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* fixed typo */
  min-width: 15rem;
  color: var(--color-five);
  transition: all ease 300ms;
}
.whyCTA a:hover {
  background-color: var(--color-three);
  color: var(--color-one);
}

/* Angled bars */
.angleWrap {
  background-color: transparent;
  width: 100%;
  z-index: 500;
}
.angleWrap.topAngle {
  background-color: rgba(0, 0, 0, 0.6);
}
.angled-bar {
  width: 90%;
  max-width: 1300px;
  height: 21px;
  background-color: var(--color-two);
  clip-path: polygon(3% 0, 97% 0, 100% 105%, 0% 105%);
  border-bottom: 1px solid var(--color-two);
}
.angled-bar.greenAngle {
  background-color: var(--color-seven);
}
.flippedAngle {
  transform: rotate(180deg);
}
.blueBGAngle {
  background-color: var(--color-one);
}
.styleLine {
  width: 90%;
  max-width: 25rem;
  height: 5px;
  border-radius: 10px;
  background-color: var(--color-one);
  margin-bottom: 1rem;
}

/* Half blocks */
.halfBlock {
  width: 100%;
  padding: 4rem 0;
}
.halfBlockWrap {
  width: var(--page-max-width);
  max-width: var(--maxWidth-set);
  justify-content: center;
  margin: 0 auto;
  padding-inline: var(--page-inline-gap);
}
.countRow {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-two);
}
.counters {
  margin-top: 1rem;
}
.counterWrap {
  font-size: 4rem;
  font-weight: 700;
}

.imgHalf {
  width: 100%;
  max-width: 600px;
  overflow: hidden;
  position: relative;
  display: flex;
}
.imgHalf img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  box-shadow: 0px 10px 30px -20px #000;
  object-fit: cover;
}
.contentHalf {
  width: 50%;
  max-width: 35rem;
}
.contentHalf span {
  color: var(--color-seven);
  font-size: 19px;
}
.contentHalf h2 {
  font-size: 3rem;
  color: #22253d;
  margin-top: 0.8rem;
}
.contentHalf p {
  font-size: 1.3rem;
  line-height: 2.1rem;
}
.contentHalf ul {
  font-size: 17px;
  line-height: 2.2rem;
  color: #22253d;
  list-style: none;
  padding: 0;
  margin: 0;
}
.contentHalf a {
  background-color: var(--color-one);
  padding: 1rem 1.5rem;
  text-transform: uppercase;
  text-align: center;
  border-radius: 5px;
  margin-top: 2rem;
  font-weight: 500;
  color: var(--color-five);
  transition: all ease 300ms;
  border: 2px solid transparent;
}
.contentHalf a:hover {
  background-color: var(--color-five);
  color: var(--color-one);
  border-color: var(--color-one);
}
.contentHalf ul a {
  background-color: transparent;
  padding: 0;
  text-transform: none;
  text-align: left;
  border-radius: 0;
  margin-top: 0;
  font-weight: 600;
  color: var(--color-one);
  transition: all ease 300ms;
}
.contentHalf ul a:hover {
  background-color: transparent;
  color: var(--color-seven);
}

/* Hero variants */
.heroContact,
.heroAbout,
.heroService {
  width: 100%;
  padding-bottom: 3rem;
  position: relative;
  overflow: hidden;
  justify-content: flex-end;
  display: flex;
  flex-direction: column;
  background-color: var(--color-one);
}
.heroContact,
.heroAbout,
.heroService {
  min-height: 40rem;
}

.heroNews {
  width: 100%;
  padding-bottom: 3rem;
  min-height: 32rem;
  position: relative;
  overflow: hidden;
  justify-content: flex-end;
  display: flex;
  flex-direction: column;
  background-color: var(--color-one);
}

@media (max-width: 768px) {
  .heroNews {
      min-height: 26rem;
  }
}

.heroServiceCover,
.heroAboutCover,
.heroContactCover {
  display: none;
}

.heroContact::before,
.heroAbout::before,
.heroService::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 3;
}

.heroContact > *,
.heroAbout > *,
.heroService > * {
  position: relative;
  z-index: 4;
}

.heroServiceContent {
  z-index:300;
}

.heroService.tl {
background-image: url("https://app.salesdrip.com/users/myteam49864/Media45.webp");
background-size:cover;
background-position: center;
}
.heroService.ltl {
  background-image: url("https://app.salesdrip.com/users/myteam49864/Media38.webp");
  background-size:cover;
  background-position: top;
  }
  .heroService.smparcel {
    background-image: url("https://app.salesdrip.com/users/myteam49864/Media41.webp");
    background-size:cover;
    background-position: top;
    }
    .heroService.exp {
      background-image: url("https://app.salesdrip.com/users/myteam49864/Media45.webp");
      background-size:cover;
      background-position: center;
      }
      .heroService.gtzship {
        background-image: url("https://app.salesdrip.com/users/myteam49864/Media43.webp");
        background-size:cover;
        background-position: center;
        }
        .heroAbout.gtzship {
          background-image: url("https://app.salesdrip.com/users/myteam49864/Media43.webp");
          background-size:cover;
          background-position: center;
          }
          .heroContact.tl {
            background-image: url("https://app.salesdrip.com/users/myteam49864/Media45.webp");
            background-size:cover;
            background-position: center;
            }

.heroContact h1,
.heroAbout h1,
.heroService h1,
.heroNews h1 {
  font-size: 4rem;
  color: var(--color-three);
  max-width: 950px;
  text-align: center;
  font-weight: 800;
  margin: 1rem 0;
}

@media (max-width: 768px) {
  .heroNews h1 {
      font-size: clamp(2.2rem, 8vw, 2.8rem);
      padding-inline: 1.5rem;
  }
}
.heroService p {
  font-size: 1.3rem;
  line-height: 2.1rem;
  max-width: 1000px;
  width: 90%;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--color-three);
}

/* Icon grid */
.iconGrid {
  flex-wrap: wrap;
  width: 100%;
  justify-content: flex-end;
}
.shortHeader {
  max-width: 520px;
}
.countNum p {
  font-size: 4rem !important;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.iconBlock {
  display: flex;
  flex-direction: column;
  text-align: left;
  width: 30%;
  margin: 2rem 1rem;
}
.iconBlock svg {
  margin-bottom: 1rem;
}
.section .iconBlock p {
  text-align: left;
}

/* Video */
.vidWrap {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100vw;
  height: auto;
  min-height: 100%;
  pointer-events: none;
  overflow: hidden;
}
.vidWrap iframe {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  min-width: 100vw;
  min-height: 100%;
  height: auto;
  width: auto;
  aspect-ratio: 16 / 9;
  border: none;
  object-fit: cover;
}

/* Cards / Carousel */
.cardWrapper {
  width: var(--page-max-width);
  max-width: var(--maxWidth-set);
  flex-wrap: wrap;
  margin: 0 auto;
  padding-inline: var(--page-inline-gap);
}
.card {
  width: 100%;
  max-width: 27rem;
  box-shadow: 0 10px 30px -20px #000;
  height: auto;
  margin: 1.5rem;
  background-color: #fff;
  border-radius: 10px;
}
.card span {
  text-transform: uppercase;
  font-weight: 300;
  color: var(--color-three);
  padding: 0 1rem;
  font-size: 1rem;
}
.card h4 {
  font-weight: 800;
  font-size: 2rem;
  padding: 0 1rem;
  margin: 0.8rem 0;
  color: var(--color-three);
}
.card p {
  padding: 0 1rem;
  text-align: left;
  color: var(--color-three);
}
.card img {
  width: 100%;
  height: 25rem;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  max-width: 405px;
  margin-bottom: 1rem;
  max-height: 270px;
}

.carousel3d {
  position: relative;
  perspective: 2000px;
  width: 100%;
  height: 400px;
  margin: 0 auto;
}
.carousel3d .card {
  position: absolute;
  top: 50%;
  left: 50%;
  cursor: pointer;
  width: 100%;
  max-width: 400px;
  height: 390px;
  box-sizing: border-box;
  overflow: hidden;
  background-color: var(--color-one);
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translate(-50%, -50%) scale(0.85);
  transition: transform 0.8s ease, opacity 0.8s ease, z-index 0.8s ease;
  opacity: 0.4;
  z-index: 1;
}
.carousel3d .card.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 10;
}

/* Blocked content */
.blockedLeft {
  margin-right: 4rem;
  max-width: 700px;
}
.blockedLeft p {
  text-align: left;
}
.blockedLeft img {
  max-width: 600px;
  margin-top: 1.5rem;
  border-radius: 10px;
}
.brBlock {
  width: 25rem;
  margin: 2rem 1rem;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 10px 0px 30px -20px #000;
}
.brBlock h4 {
  font-size: 1.5rem;
  color: #22253d;
  margin-top: 0.8rem;
}
.blockedRight {
  max-height: 700px;
  flex-wrap: wrap;
}

/* Blue section */
.blueSection {
  margin-top: 5rem;
  background-color: var(--color-seven);
  width: 100%;
  max-width: 100% !important;
}
.blueSection h2,
.blueSection h3,
.blueSection h4,
.blueSection p,
.blueSection ul {
  color: #ffffff;
}
.halfPageSlideshow {
  width: 50%;
  box-shadow: 0px 10px 30px -20px #000;
  background-size: cover;
  background-color: var(--color-one);
  height: 48rem;
  margin-right: 8rem;
  padding-right: 8rem;
  transition: background-image 1s ease-in-out;
  position: relative;
}
.halfPageSlideshow.workSlide {
  background-image: url("https://app.greenrope.com/users/myteam49570/Media81.webp");
  height: 55rem;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.slide.show {
  opacity: 1;
  z-index: 2;
}
.slide.hide {
  z-index: 1;
}
.halfContent {
  width: 50%;
}
.halfContent p {
  max-width: 30rem;
  color: #cccccc !important;
  text-align: left;
}
.halfContent ul {
  list-style: none;
  font-size: 17px;
  line-height: 3rem;
}
.contentWrap {
  width: var(--page-max-width);
  max-width: var(--maxWidth-set);
  justify-content: space-between;
  align-items: center;
  margin: 4rem auto;
  padding-inline: var(--page-inline-gap);
}
.contentWrap p {
  text-align: left;
}

/* Span form band */
.spanFormWrap {
  width: var(--page-max-width);
  max-width: var(--maxWidth-set);
  margin: 0 auto;
  padding-inline: var(--page-inline-gap);
}
.spanFormContent {
  width: min(95vw, 1200px);
  max-width: 1200px;
  text-align: center;
  margin: 0 auto;
}
.spanForm h3 {
  color: var(--color-five);
  font-size: 3rem;
  margin: 1rem 0;
}
.spanFormContent p {
  font-size: 1.3rem;
  line-height: 2.1rem;
  width: 100%;
  max-width: 60ch;
  margin: 0 auto 2rem;
  color: var(--color-three);
}

/* Services */
.serviceHeader {
  font-size: 3rem;
  color: #22253d;
  margin-top: 0.8rem;
}
.serviceP {
  font-size: 1.3rem;
  line-height: 2.1rem;
  width: 100%;
  max-width: 60ch;
  margin: 0 auto 2rem;
  text-align: center;
}
.services {
  flex-wrap: wrap;
  width: var(--page-max-width);
  max-width: var(--maxWidth-set);
  margin: 0 auto;
  padding-inline: var(--page-inline-gap);
}
.serviceBlock {
  margin: 1rem;
  width: 20rem;
  height: 17rem;
  background-color: var(--color-one);
  color: var(--color-three);
  border-radius: 10px;
  box-shadow: 0px 10px 30px -20px #000;
  transition: all 400ms ease;
}
.serviceBlock:hover {
  margin-top: 0rem;
  margin-bottom: 2rem;
  background-color: var(--color-two);
}
.serviceBlock img {
  width: 8rem;
}
.servContent {
  padding: 1rem;
  height: 100%;
}
.serviceBlock p {
  text-align: center;
  font-size: 1.1rem;
}
.serviceBlock h3 {
  text-align: center;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0.5rem;
}
.serviceBlock a {
  width: 100%;
  font-size: 1.3rem;
  padding: 0.5rem 0;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  color: var(--color-one);
  background-color: var(--color-three);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  transition: all ease 400ms;
}
.serviceBlock a:hover {
  background-color: var(--color-one);
  color: var(--color-three);
}

/* Tech blocks */
.techSections {
  margin: 4rem auto 0;
  flex-wrap: wrap;
  justify-content: space-between;
  width: var(--page-max-width);
  max-width: var(--maxWidth-set);
  padding-inline: var(--page-inline-gap);
}
.techBlock {
  margin: 0 1rem;
  width: 25rem;
}
.techBlock h3 {
  font-size: 2rem;
  color: #22253d;
  text-align: center;
  margin-top: 0.8rem;
}

/* Content block CTA */
.contentBlock {
  width: 50%;
  margin: 1rem;
}
.contentBlock a {
  border-radius: 100px;
  background-color: var(--color-one);
  padding: 1.5rem 2rem;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  max-width: 24rem;
  margin-top: 2rem;
  transition: all ease 300ms;
}
.contentBlock a:hover {
  background-color: var(--color-seven);
}
.aKey svg {
  margin: 0 0.5rem;
}

/* Profiles */
.profileCards {
  width: var(--page-max-width);
  max-width: var(--maxWidth-set);
  margin: 0 auto;
  padding-inline: var(--page-inline-gap);
}
.cardP {
  height: 43rem;
  margin: 1rem;
  background-color: var(--color-five);
  box-shadow: 0px 10px 30px -20px #000000;
  border-radius: 15px;
  transition: all ease 300ms;
  width: 33%;
  justify-content: flex-start;
  cursor: pointer;
}
.cardP:hover {
  margin-top: 0;
  margin-bottom: 2rem;
  box-shadow: 0px 20px 40px -10px #000;
}
.cardP img {
  width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.cardP p {
  padding: 1.5rem;
}
.cardP strong {
  font-size: 1.5rem;
}

/* Pink button */
a.pinkButton {
  all: unset;
  display: inline-block;
  width: auto !important;
  max-width: max-content;
  background-color: var(--color-one);
  transition: all ease 300ms;
  padding: 1.25rem 2rem;
  border-radius: 100px;
  font-size: 17px;
  color: #ffffff;
}

.padded {
  padding: 5rem 0;
} /* removed stray 's' */

/* Picture duo */
.doublePics {
  width: var(--page-max-width);
  max-width: var(--maxWidth-set);
  margin: 0 auto;
  padding-inline: var(--page-inline-gap);
}
.picWrap {
  width: 100%;
  height: 30rem;
  border-radius: 10px;
  margin: 4rem 0.5rem;
  min-width: 37rem;
}
.pw1 {
  background-image: url("https://app.greenrope.com/users/myteam49570/Media75.webp");
  background-size: cover;
  background-position: center;
}
.pw2 {
  background-image: url("https://app.greenrope.com/users/myteam49570/Media76.webp");
  background-size: cover;
  background-position: center;
}
.picCover {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: ease all 300ms;
}
.picWrap p {
  color: var(--color-five) !important;
}
.picCover:hover {
  background-color: rgba(0, 0, 0, 0);
}

.spanLine {
  width: 20rem;
  height: 1px;
  margin: 0.65rem 0;
  background-color: #a6abcd;
}

/* ----------------------- Carousel (logos) ----------------------- */
.carousel-container {
  width: var(--page-max-width);
  max-width: var(--maxWidth-set);
  margin: 2rem auto;
  overflow: hidden;
  position: relative;
  padding-inline: var(--page-inline-gap);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.carousel-track-wrapper {
  display: flex;
  width: max-content;
  animation: scroll 20s linear infinite;
}
.carousel-track-wrapper img {
  padding: 10px;
  margin: 0 1rem;
  object-fit: contain;
  flex-shrink: 0;
}
@keyframes scroll {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(-50%);
  }
}

/* ----------------------- Scroll To Top ----------------------- */
.scroll_top.scroll_to_top {
  display: flex;
  position: fixed;
  bottom: 0;
  right: 0;
  opacity: 1;
  background-color: #222;
  border-radius: 3px;
  padding: 0.4rem;
  cursor: pointer;
  z-index: 990;
  margin: 20px;
  transition: all 200ms ease;
}
.scroll_to_top:hover {
  background-color: var(--color-one);
}
.scroll_top {
  opacity: 0;
  z-index: 990;
}
.scroll_to_top img {
  width: 20px !important;
  height: 20px;
}

/* ----------------------- Footer ----------------------- */
footer {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: var(--color-two);
}
.footContent {
  width: var(--page-max-width);
  max-width: var(--maxWidth-set);
  padding: 3rem var(--page-inline-gap);
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto;
}
.footBlock {
  max-width: 25rem;
}
.footIcon {
  background-color: var(--color-one);
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 0.8rem;
}
.footLinkWrap {
  margin: 0.3rem 0rem;
  color:#ffffff!important;
}
.footLinkWrap a {
  color: var(--color-three);
  font-size: 16px;
}
.footLinkWrap p {
  color: var(--color-three);
  font-size: 16px;
  max-width: 240px;
}
.footLogo {
  width: 12rem;
  margin-top: 1rem;
}
.logoBlock {
  align-items: flex-start !important;
}
.footBlock h4 {
  color: var(--color-three);
  font-weight: 800;
  font-size: 24px;
  margin: 0.5rem 0;
}
.bottomFooter {
  width: var(--page-max-width);
  max-width: var(--maxWidth-set);
  border-top: 1px solid var(--color-one);
  padding: 3rem var(--page-inline-gap) 0;
  color: var(--color-three);
  margin: 1rem auto;
}
.pinkFoot a {
  color: var(--color-three) !important;
  font-weight: 700;
}
.socialWrap {
  margin-top: 1rem;
}

/* ----------------------- Forms ----------------------- */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.nf-inline-form {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}
.nf-inline-form input[type="email"] {
  flex: 1 1 auto;
  width: 100%;
  min-width: 300px;
  box-sizing: border-box;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--color-border, rgba(255, 255, 255, 0.14));
  background: rgb(3 173 255 / 84%);
  color: var(--color-text, #e6edf6);
  outline: none;
  transition: border 0.15s, box-shadow 0.15s, background 0.15s;
}
.nf-inline-form input::placeholder {
  color: var(--color-muted, rgba(230, 237, 246, 0.55));
}
.nf-inline-form input:focus {
  border-color: var(--color-accent-alt, #22d3ee);
  box-shadow: var(--focus-ring, 0 0 0 3px rgb(0 221 255 / 25%));
  background: rgb(11 175 230 / 90%);
}
.nf-inline-form input:-webkit-autofill,
.nf-inline-form input:-webkit-autofill:hover,
.nf-inline-form input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--color-autofill-bg, rgba(12, 19, 36, 0.85)) inset !important;
  -webkit-text-fill-color: var(--color-text, #e6edf6) !important;
  transition: background-color 5000s ease-in-out 0s !important;
}
.nf-inline-form .nf-btn {
  flex: 0 0 auto;
  padding: 12px 18px;
  border-radius: 12px;
  border: 0;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  color: #ffffff;
  background: var(--gradient-accent, linear-gradient(90deg, #2a2a2a, #2b2b2b));
  box-shadow: var(--shadow-button, 0 8px 24px rgba(0, 0, 0, 0.25));
  transition: transform 0.12s ease;
}
.nf-inline-form .nf-btn:hover {
  transform: translateY(-1px);
}
.nf-inline-form .nf-btn:focus {
  outline: none;
  box-shadow: var(--focus-ring, 0 0 0 3px rgba(34, 211, 238, 0.25));
}
@media (max-width: 640px) {
  .nf-inline-form {
      flex-direction: column;
      align-items: stretch;
  }
  .nf-inline-form .nf-btn {
      width: 100%;
  }
}


/* ---------- Pill Nav with Sliding Background ---------- */
.solutionsNav{
  position: relative;
  gap: 1rem;
  height: 6rem;
  padding: .5rem;
  border-radius: 30px;
  background: #d9d9d9;
  margin-bottom: 3rem;
  overflow: hidden;
  display: inline-flex;
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  margin: 0 auto 3rem;
  box-sizing: border-box;               /* ensures slider corners clip nicely */
}

.tcwSolution{
  position: relative;
  z-index: 1;                     /* keep text above the slider */
  padding: .6rem 1.1rem;
  border: 0;
  background: transparent;
  border-radius: 1.4rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  color: #2b2b2b;
  white-space: nowrap;
}

.tcwSolution.active{
  color: #fff;                    /* white text on red slider */
}

/* the red sliding background */
.solutionsNav__slider{
  position: absolute;
  top: .5rem;                     /* match container padding */
  left: .5rem;
  height: calc(100% - 1rem);      /* container height minus top/bottom pad */
  width: 0;
  background: var(--color-two);
  border-radius: 1.6rem;
  box-shadow: 0 1px 0 rgba(0,0,0,.12) inset, 0 4px 10px rgba(0,0,0,.08);
  transition: transform .30s ease, width .30s ease;
  will-change: transform, width;
  z-index: 0;
}
a.tcwButton {
  background-color: var(--color-one);
    padding: 1rem 1.5rem;
    text-transform: uppercase;
    text-align: center;
    border-radius: 5px;
    margin-top: 2rem;
    font-weight: 500;
    width: 10rem;
    color: var(--color-five);
    transition: all ease 300ms;
    border: 2px solid transparent;
}

.solutionContent img {
  max-width: 50rem;
}

img.carriersIMG {
  max-width: 690px;
}
/* ---------- Content styles (yours, slightly tightened) ---------- */
.solutionContent{ display:none; gap:2rem; align-items:center; }
.solutionContent.active{ display:flex; }
.solutionContent img{ width:50%; border-radius:5px; box-shadow:0 4px 10px rgba(0,0,0,.08); }
.solutionContent h3{ font-weight:600; font-size:2.4rem; margin-bottom:1rem; max-width:20rem; }
.solutionContent p{ font-size:1.2rem; max-width:30rem; }

@media (max-width: 900px) {
  .solutionsNav {
      width: 100%;
      max-width: none;
      height: auto;
      padding: 0.35rem 0.6rem;
      gap: 0.75rem;
      overflow-x: auto;
      justify-content: flex-start;
      scrollbar-width: none;
  }
  .solutionsNav::-webkit-scrollbar {
      display: none;
  }
  .tcwSolution {
      flex: 0 0 auto;
      padding: 0.55rem 0.9rem;
      font-size: 0.95rem;
  }
  .solutionContent {
      flex-direction: column;
      text-align: center;
      gap: 1.5rem;
      padding-inline: var(--page-inline-gap);
      width: 100%;
  }
  .solutionContent img {
      width: 100%;
      max-width: 22rem;
      margin: 0 auto;
  }
  .solutionContent h3 {
      font-size: clamp(1.8rem, 5.5vw, 2.2rem);
      max-width: 100%;
      margin-inline: auto;
  }
  .solutionContent p {
      font-size: 1.05rem;
      line-height: 1.75rem;
      max-width: 60ch;
      margin: 0 auto;
  }
  .solutionContent .tcwButton {
      margin: 1rem auto 0;
  }
}

@media (max-width: 640px) {
  .solutionsNav {
      overflow-x: visible;
      justify-content: center;
      flex-wrap: wrap;
      gap: 0.5rem;
      row-gap: 0.6rem;
      padding: 0.4rem;
  }
  .solutionsNav__slider {
      display: none;
  }
  .tcwSolution {
      flex: 1 1 calc(50% - 0.5rem);
      min-width: 8.25rem;
      text-align: center;
      border-radius: 999px;
      background: #ffffff;
      box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
  }
  .tcwSolution.active {
      background: var(--color-two);
      color: #ffffff;
  }
  .solutionContent {
      text-align: left;
      align-items: stretch;
  }
  .solutionContent h3,
  .solutionContent p {
      text-align: left;
      margin-inline: 0;
  }
  .solutionContent .tcwButton {
      margin: 1rem 0 0;
      align-self: flex-start;
  }
}

.tcwSolutions {
  margin-bottom:3rem;
}

.tcwSolutions h2{ text-align:center; margin-bottom:2rem; }
a.solutionButton{
  background-color: var(--color-three);
  color:var(--color-one);
  border:2px solid var(--color-two)!important;
  font-size:1.1rem;
  padding:.7rem 1.4rem; border-radius:2rem; text-decoration:none;
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce){
  .solutionsNav__slider{ transition: none; }
}


/* ----------------------- Particles ----------------------- */
.particles_fills {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: var(--particles-z, 0);
}
.particles_host {
  position: relative;
}
.particles_above {
  position: relative;
  z-index: calc(var(--particles-z, 0) + 1);
}
.white_particles {
  --particles-dot: #ffffff;
  --particles-link: rgba(255, 255, 255, 0.38);
}
.dark_particles {
  --particles-dot: #555555;
  --particles-link: rgba(255, 255, 255, 0.05);
}
.indigo_particles {
  --particles-dot: #6366f1;
  --particles-link: rgba(99, 102, 241, 0.45);
}
.cyan_particles {
  --particles-dot: #22d3ee;
  --particles-link: rgba(34, 211, 238, 0.45);
}
.pink_particles {
  --particles-dot: #ec4899;
  --particles-link: rgba(236, 72, 153, 0.42);
}
.slate_particles {
  --particles-dot: #94a3b8;
  --particles-link: rgba(148, 163, 184, 0.42);
}

/* ----------------------- Responsive ----------------------- */
/* Helpers */
.center_centrer {
  justify-content: center;
  align-items: center;
} /* support typo in markup */
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 700px) {
  html {
      font-size: 15px;
  }
}

/* Header/Nav responsive */
@media (max-width: 900px) {
  .hamburger {
      width: 40px;
      height: 40px;
      display: grid;
  }
  .hamburger .bar {
      height: 2px;
  }
  .hamburger .bar + .bar {
      margin-top: 3px;
  }
  .hamburger.active .bar1 {
      transform: translateY(14px) rotate(45deg);
  }
  .hamburger.active .bar3 {
      transform: translateY(-13px) rotate(-45deg);
  }

  #nav {
      position: fixed;
      top: calc(var(--nf-header-h) + 12px);
      left: 12px;
      right: 12px;
      display: none;
      flex-direction: column;
      gap: 6px;
      padding: 10px;
      border-radius: var(--nf-radius);
      background: #ffffff;
      backdrop-filter: blur(var(--nf-blur));
      -webkit-backdrop-filter: blur(var(--nf-blur));
      border: 1px solid rgba(0, 0, 0, 0.1);
      box-shadow: var(--nf-shadow);
  }
  .navigation:has(.hamburger.active) #nav {
      display: flex;
  }
  #nav > li {
      width: 100%;
  }
  #nav > li > a,
  #nav > li > span > a {
      width: 100%;
      padding: 12px 10px;
  }
  #nav li > ul {
      position: static;
      opacity: 1;
      transform: none;
      pointer-events: auto;
      background: transparent;
      border: 0;
      box-shadow: none;
      padding: 0 0 6px 10px;
  }
  #nav li > ul > li > a {
      padding: 10px 12px;
      border-radius: 10px;
      color: var(--nf-nav-text-dim);
  }
  .headerCTA {
      display: none;
  }
}



/* Hero sizing */
@media (max-width: 1100px) {
  .heroSection,
  .parallax,
  .heroWrap {
      min-height: 32rem;
      height: auto;
      padding: 7rem 0 4.5rem;
  }
}
@media (max-width: 900px) {
  .heroSection,
  .parallax,
  .heroWrap {
      min-height: 26rem;
      height: auto;
      padding: 6rem 0 4rem;
  }
  .heroWrap {
      padding-inline: var(--page-inline-gap);
  }
  .heroContent {
      margin-top: 4rem;
      gap: 1.5rem;
  }
  .heroSection h1,
  .heroAbout h1,
  .heroService h1,
  .heroContact h1 {
      font-size: clamp(2.4rem, 6vw, 3rem);
      line-height: 1.1;
  }
  .heroContent h1 span {
      font-size: clamp(2.6rem, 6.5vw, 3.2rem);
  }
  .heroSection p,
  .heroService p {
      font-size: 1.05rem;
      line-height: 1.7rem;
      width: 100%;
      max-width: 60ch;
      margin: 0 auto 1.75rem;
  }
  .heroAction {
      width: min(100%, 24rem);
  }
}
@media (max-width: 600px) {
  .heroSection,
  .parallax,
  .heroWrap {
      min-height: 22rem;
      height: auto;
      padding: 5rem 0 0;
  }
  .heroContent {
      margin-top: 3.5rem;
      gap: 1.25rem;
  }
  .heroSection h1,
  .heroAbout h1,
  .heroService h1,
  .heroContact h1 {
      font-size: clamp(2.1rem, 7vw, 2.6rem);
  }
  .heroContent h1 span {
      font-size: clamp(2.3rem, 7.5vw, 2.8rem);
  }
  .heroSection p,
  .heroService p {
      font-size: 0.98rem;
      line-height: 1.6rem;
  }
  .heroAction {
      width: 100%;
      max-width: 20rem;
  }
  .heroAction a {
      width: 100%;
  }
}
@media (max-width: 1100px) {
  .heroSection {
      background-attachment: scroll;
  }
}

/* Video wrapper on mobile */
@media (max-width: 900px) {
  .vidWrap {
      position: relative;
      height: 56vw;
      min-height: 0;
  }
  .vidWrap iframe {
      position: absolute;
      inset: 0;
      transform: none;
      width: 100%;
      height: 100%;
  }
}

/* WhyUs band */
@media (max-width: 1000px) {
  .section.whyUs {
      padding: 1.5rem 0 !important;
  }
  .whyUsWrap {
      width: min(95vw, 1200px);
      gap: 1.5rem;
      padding-inline: var(--page-inline-gap);
      margin: 0 auto;
  }
  .whyContent {
      width: 100%;
      max-width: unset;
      margin: 0;
  }
  .whyCTA {
      width: 100%;
      margin-top: 1rem;
  }
  .whyCTA a {
      min-width: 12rem;
  }
  .section .counterWrap p {
      text-align: center;
  }
}
@media (max-width: 700px) {
  .whyUsWrap {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }
  .whyContent,
  .whyCTA {
      align-items: center;
      text-align: center;
  }
  .counterWrap {
      font-size: clamp(2.2rem, 8vw, 2.8rem);
  }
  .countRow {
      font-size: 1.05rem;
  }
  .countRow .numCounter,
  .counterWrap .numCounter,
  .numCounter {
      font-size: clamp(2.3rem, 9vw, 2.9rem);
  }
}

/* Angled separators */
@media (max-width: 900px) {
  .angleWrap {
      padding: 0 0.5rem;
  }
  .angled-bar {
      width: 96%;
      height: 16px;
  }
}

/* Half & Half */
@media (max-width: 1100px) {
  .halfBlock {
      padding: 3rem 0;
  }
  .halfBlockWrap {
      width: var(--page-max-width);
      padding-inline: var(--page-inline-gap);
  }
}
@media (max-width: 900px) {
  .halfBlockWrap {
      flex-direction: column;
      align-items: center;
      gap: 2rem;
  }
  .imgHalf {
      max-width: 48rem;
      margin: 0 !important;
  }
  .contentHalf {
      width: 100%;
      max-width: 42rem;
  }
  .contentHalf h2 {
      font-size: 2.25rem;
  }
  .contentHalf p {
      font-size: 1.1rem;
      line-height: 1.9rem;
  }
  .contentHalf a {
      align-self: flex-start;
  }
}
@media (max-width: 600px) {
  .contentHalf h2 {
      font-size: 1.9rem;
  }
  .contentHalf a {
      width: 100% !important;
      justify-content: center;
  }
}

/* Counters */
@media (max-width: 700px) {
  .coutners,
  .counters {
      flex-wrap: wrap;
      gap: 0.75rem 1rem;
  }
  .countRow {
      font-size: 1.1rem;
  }
}

/* Services grid */
@media (max-width: 1200px) {
  .services {
      width: var(--page-max-width);
      padding-inline: var(--page-inline-gap);
  }
}
@media (max-width: 1000px) {
  .services {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1.25rem;
  }
  .serviceBlock {
      width: 100%;
      margin: 0;
      height: auto;
      min-height: 0;
  }
}
@media (max-width: 700px) {
  .serviceHeader {
      font-size: 2.3rem;
  }
  .serviceP {
      font-size: 1.1rem;
      line-height: 1.9rem;
      width: 100%;
      max-width: 60ch;
      margin: 0 auto 2rem;
  }
  .services {
      grid-template-columns: 1fr;
      gap: 1.5rem;
  }
  .serviceBlock {
      width: 100%;
      margin: 0;
      padding: 1.5rem 1.25rem;
  }
  .servContent {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      padding: 0;
      height: auto;
  }
  .serviceBlock h3 {
      font-size: 1.35rem;
  }
  .serviceBlock p {
      font-size: 1rem;
      line-height: 1.65rem;
  }
  .serviceBlock img {
      width: 6rem;
      margin: 0 auto 0.5rem;
      display: block;
  }
}
@media (max-width: 560px) {
  .serviceBlock {
      padding: 1.25rem 1rem 1.5rem;
  }
  .serviceBlock a {
      margin-top: 1.25rem;
  }
}

/* Front section */
@media (max-width: 1000px) {
  .section.frontSection {
      width: var(--page-max-width);
      padding-inline: var(--page-inline-gap);
  }
}
@media (max-width: 700px) {
  .section.frontSection h2 {
      font-size: 2.2rem;
  }
  .section.frontSection p {
      font-size: 1.05rem;
      line-height: 1.8rem;
  }
  img.carriersIMG {
      width: 100%;
      max-width: 42rem;
  }
}

/* Span form */
@media (max-width: 1000px) {
  .spanFormWrap {
      width: var(--page-max-width);
      padding-inline: var(--page-inline-gap);
  }
  .spanFormContent p {
      width: 100%;
  }
}
@media (max-width: 600px) {
  .spanForm h3 {
      font-size: 2.2rem;
      text-align: center;
  }
}

@media (max-width: 600px) {
  .picWrap {
      height: 18rem;
  }
  .cardP {
      max-width: 22rem;
  }
}

@media (max-width: 600px) {
  .section h2,
  .serviceHeader,
  .spanForm h3,
  .contentHalf h2 {
      font-size: clamp(1.8rem, 6vw, 2.1rem);
  }
  .card h4 {
      font-size: 1.6rem;
  }
  .card p {
      font-size: 0.98rem;
      line-height: 1.6rem;
  }
  .card span {
      font-size: 0.9rem;
  }
}

/* 3D Carousel → stacked */
@media (max-width: 900px) {
  .carousel3d {
      height: auto;
      perspective: none;
  }
  .carousel3d .card {
      position: relative !important;
      top: auto !important;
      left: auto !important;
      transform: none !important;
      opacity: 1 !important;
      z-index: auto !important;
      max-width: 28rem;
      margin: 1rem auto;
  }
  .carousel3d .card img {
      max-height: 220px;
      object-fit: cover;
  }
}

@media (max-width: 900px) {
  .iconBlocks {
      justify-content: center;
      gap: 1.5rem;
  }
  .iconBlock {
      width: 100%;
      max-width: 24rem;
      margin: 0 auto;
      text-align: center;
  }
  .section .iconBlock p {
      text-align: center;
  }
  .techSections {
      justify-content: center;
      gap: 1.5rem;
  }
  .techBlock {
      width: 100%;
      max-width: 24rem;
      margin: 0 auto;
  }
  .contentWrap {
      flex-direction: column;
      gap: 2.5rem;
      text-align: center;
  }
  .contentBlock {
      width: 100%;
      margin: 0;
      max-width: 32rem;
  }
  .contentBlock a {
      margin: 1.5rem auto 0;
  }
  .profileCards {
      justify-content: center;
  }
  .cardP {
      width: 100%;
      max-width: 24rem;
  }
  .doublePics {
      flex-direction: column;
      align-items: center;
      gap: 2rem;
  }
  .picWrap {
      min-width: auto;
      margin: 2rem 0;
      height: 22rem;
  }
}

/* Generic section width & text */
@media (max-width: 1000px) {
  .section {
      width: var(--page-max-width);
      padding-inline: var(--page-inline-gap);
  }
  .section h2 {
      font-size: 2.4rem;
  }
  .section p {
      font-size: 1.05rem;
      line-height: 1.85rem;
  }
}

/* Footer */
@media (max-width: 1000px) {
  .footContent {
      width: var(--page-max-width);
      gap: 1.25rem;
      padding-inline: var(--page-inline-gap);
  }
}
@media (max-width: 900px) {
  .footContent {
      flex-direction: column;
      align-items: stretch;
  }
  .footBlock {
      max-width: none;
  }
  .logoBlock {
      align-items: center !important;
  }
  .footLogo {
      width: 10rem;
  }
}
@media (max-width: 600px) {
  .bottomFooter {
      padding-top: 2rem;
      text-align: center;
  }
  .styleLine {
      width: 12rem;
  }
.spanLine {
      width: 12rem;
  }
}

/* Motion respect */
@media (prefers-reduced-motion: reduce) {
  * {
      transition: none !important;
      animation: none !important;
  }
  .carousel-track-wrapper {
      animation: none;
  }
}
