/* ===================================================== */
/* ========== PARALLAX BAND (BETWEEN SECTIONS) ========= */
/* ===================================================== */

/* Image used with simpleParallax between sections */
.section-parallax-img {
  position: absolute;
  top: -120px;                 /* overlaps the section above */
  left: 50%;
  transform: translateX(-50%);
  width: 140%;                 /* wider than viewport for safety */
  max-width: none;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;                /* adjust if too strong */
}

/* Ensure sections + content sit above the band image */
.stats-section,
.solutions-section {
  position: relative;
  overflow: hidden;
}

.stats-inner,
.solutions-inner {
  position: relative;
  z-index: 1;
}

/* ===================================================== */
/* ================= HERO / CAROUSEL =================== */
/* ===================================================== */

.hero-carousel {
  position: relative;
  min-height: 90vh;
  color: #ffffff;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
}

/* Each slide */
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 7vw;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition:
    opacity 0.7s ease,
    transform 1s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

/* Background image with parallax layer */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform-origin: center center;
  will-change: transform;
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.65));
}

/* Content */
.hero-content {
  position: relative;
  max-width: 640px;
  z-index: 2;
  margin-bottom: 50px;
}

/* Kicker line */
.hero-kicker {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 14px;
  opacity: 0.9;
}

/* Main title */
.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.04;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  margin: 0 0 18px;
}

/* Subtitle */
.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 480px;
  opacity: 0.9;
  margin: 0 0 26px;
}

/* CTA buttons */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.hero-btn-primary {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-btn-primary:hover {
  background: #b00000;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.hero-btn-ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Controls (arrows + index) */
.hero-controls {
  position: absolute;
  left: 7vw;
  bottom: 40px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-arrow {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #ffffff;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: #ffffff;
}

.hero-meta {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero-slide-index {
  font-variant-numeric: tabular-nums;
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  right: 6vw;
  bottom: 32px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  transform-origin: top;
  animation: scrollLine 1.3s infinite ease-in-out;
}

.hero-scroll-text {
  opacity: 0.85;
}

/* Animations for scroll line */
@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* Text entrance animation on each active slide */
.hero-slide.is-active .hero-title,
.hero-slide.is-active .hero-kicker,
.hero-slide.is-active .hero-subtitle,
.hero-slide.is-active .hero-cta-row {
  animation: heroFadeUp 0.7s ease forwards;
}

.hero-slide.is-active .hero-title {
  animation-delay: 0.05s;
}
.hero-slide.is-active .hero-subtitle {
  animation-delay: 0.18s;
}
.hero-slide.is-active .hero-cta-row {
  animation-delay: 0.28s;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ----------------- Hero Responsive ----------------- */

@media (max-width: 900px) {
  .hero-slide {
    padding: 0 7vw;
    align-items: flex-end;
    padding-bottom: 110px;
  }

  @media (max-width: 900px) {
  .usp-column-right {
    text-align: left;
    align-items: flex-start;
  }

  /* put underline back to left on mobile */
  .usp-column-right .usp-heading::after {
    right: auto;
    left: 0;
  }
}

.usp-box-logo img {
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25)); 
  opacity: 0.95;                 /* slight blending for realism */
  margin: auto;
  position: relative;
  top: 50%;
  left: 50%;
}


  .hero-content {
    position: relative;
    max-width: 640px;
    z-index: 2;
    margin-bottom: 0;
  }

  .hero-title {
    font-size: clamp(2.3rem, 7vw, 3.3rem);
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-controls {
    left: 7vw;
    bottom: 24px;
  }

  .hero-scroll-cue {
    right: 7vw;
    bottom: 22px;
  }
}

@media (max-width: 600px) {
  .hero-slide {
    padding: 0 6vw;
    padding-bottom: 120px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===================================================== */
/* ============== ABOUT + STATS SECTION ================= */
/* ===================================================== */

.stats-section {
  position: relative;
  padding: 56px 7vw 64px;
  background: radial-gradient(circle at top, #f5f5f5 0, #ffffff 45%, #f5f5f5 100%);
  color: var(--font-color);
  overflow: hidden;
}

.stats-inner {
  max-width: 1240px;
  margin: 0 auto;
}

/* Top: two-column about layout */
.about-stats-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  margin-bottom: 36px;
}

/* Left copy */
.stats-kicker {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 10px;
  color: var(--primary-color);
}

.stats-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.25;
  margin: 0 0 16px;
}

.stats-text {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.7;
  color: #555555;
  margin: 0 0 10px;
}

/* Right visual area */
.about-media {
  position: relative;
  justify-self: center;
}

.about-media-image {
  width: 100%;
  max-width: 450px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.about-media-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Circular badge element */
.about-badge {
  position: absolute;
  right: -18px;
  bottom: -24px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.about-badge-inner {
  font-family: var(--font-body);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-align: center;
  padding: 0 18px;
  color: var(--triwall-color);
  /*animation: badgeSpin 9s linear infinite;*/
}

/* Subtle slow rotation */
@keyframes badgeSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Bottom stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin-top: 10px;
}

@media (min-width: 1100px) {
  .stats-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.stat-item {
  text-align: left;
}

.colored {
  color: var(--primary-color);
}

.stat-value-wrapper {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
  text-align: center;
}

/* big numbers */
.stat-value {
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: center;
  font-size: 2.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--font-color);
}

/* label text */
.stat-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #666666;
  margin: 0;
  max-width: 220px;
}

/* subtle hover effect on desktop */
@media (min-width: 769px) {
  .stat-item {
    transition: transform 0.2s ease;
  }

  .stat-item:hover {
    transform: translateY(-3px);
  }
}

/* --------- Stats Responsive --------- */

@media (max-width: 1024px) {
  .about-stats-top {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 28px;
  }

  .stats-title {
    font-size: 1.35rem;
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-badge {
    right: -10px;
    bottom: -18px;
    width: 110px;
    height: 110px;
  }
}

@media (max-width: 768px) {
  .stats-section {
    padding: 40px 6vw 46px;
  }

  .about-stats-top {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 30px;
  }

  .about-media {
    justify-self: flex-start;
  }

  .stats-title {
    font-size: 1.2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 24px;
  }

  .stat-value {
    font-size: 1.9rem;
  }
}

@media (max-width: 520px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-label {
    font-size: 0.78rem;
  }

  .about-media-image {
    max-width: 450px;
  }

  .about-badge {
    width: 100px;
    height: 100px;
    right: -6px;
    bottom: -14px;
  }
}

.stats-title {
  position: relative;
}

.stats-title::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--primary-color);
  opacity: 0.7;
  border-radius: 3px;
}

/* ===================================================== */
/* ================== OUR SOLUTIONS ===================== */
/* ===================================================== */

.solutions-section {
  position: relative;
  padding: 56px 7vw 64px;
  background: #f5f6f8;
}

.solutions-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.solutions-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.solutions-heading {
  max-width: 760px;
}

.solutions-kicker {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 6px;
  color: var(--primary-color);
}

.solutions-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
  margin: 0 0 10px;
}

.solutions-text {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

/* arrows */
.solutions-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.solutions-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #ffffff;
  font-size: 1.1rem;
  color: #444;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.solutions-arrow:hover {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
  transform: translateY(-1px);
}

/* carousel track */
.solutions-carousel {
  position: relative;
  overflow: hidden;
}

.solutions-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

/* thinner scrollbar */
.solutions-track::-webkit-scrollbar {
  height: 3px;
}

.solutions-track::-webkit-scrollbar-track {
  background: transparent;
}

.solutions-track::-webkit-scrollbar-thumb {
  /* background: var(--primary-color); */
  border-radius: 999px;
}

/* cards */
.solution-card {
  flex: 0 0 300px;
  padding: 16px 18px 20px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  border-bottom: 3px solid var(--primary-color);
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.solution-card:hover .solution-image img {
  transform: scale(1.06);
  transition: transform 0.3s ease;
}

/* image area */
.solution-image {
  width: 100%;
  height: 280px;
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #f3f3f3;
}

.solution-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* title + link */
.solution-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.solution-link {
  margin-top: auto;
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.solution-link .arrow {
  transition: transform 0.25s ease;
}

.solution-link:hover .arrow {
  transform: translateX(4px);
}

/* Solutions responsive */
@media (max-width: 900px) {
  .solutions-section {
    padding: 40px 6vw 48px;
  }

  .solutions-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .solutions-title {
    font-size: 1.3rem;
  }

  .solution-card {
    flex: 0 0 260px;
  }
}

@media (max-width: 600px) {
  .solutions-track {
    gap: 14px;
  }

  .solution-card {
    flex: 0 0 240px;
  }

  .solutions-nav {
    align-self: flex-end;
  }
}


/* ===================================================== */
/* ============== TRUSTED ACROSS INDUSTRIES ============ */
/* ===================================================== */

.industries-section {
  padding: 64px 2vw 72px;
  background: #ffffff;
}

.industries-inner {
  max-width: 1240px;
  margin: 0 auto;
}

/* title */
.industries-title {
  font-family: var(--font-heading);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin: 0 0 32px;
  color: var(--font-color);
}

/* grid */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

/* cards */
.industry-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #000;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.15);
  cursor: default;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

/* subtle white-to-transparent fade at bottom, like reference */
.industry-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  border-bottom: 3px solid var(--primary-color);
  pointer-events: none;
}

/* image */
.industry-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.35s ease;
}

/* hover effect – slight zoom + lift */
@media (hover: hover) {
  .industry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  }

  .industry-card:hover .industry-image {
    transform: scale(1.06);
  }
}

/* ------------- Responsive grid ------------- */

@media (max-width: 1024px) {
  .industries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 24px;
  }

  .industry-image {
    max-height: 320px;
  }
}

@media (max-width: 640px) {
  .industries-section {
    padding: 48px 6vw 56px;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .industry-image {
    max-height: 260px;
  }
}





/* ============================================= */
/* ============ 3D CRATE + USP STRIP =========== */
/* ============================================= */

.usp-3d-section {
  padding: 60px 7vw 90px;
  background: var(--primary-color); /* Pronk red */
  color: #ffffff;
}

.usp-3d-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px; /* more space between columns + box */
}


/* Columns with USPs */

.usp-column {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.usp-item {
  max-width: 320px;
}

.usp-heading {
  position: relative;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

/* subtle underline bar */
.usp-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 44px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
}

/* Right-side USP connectors to the crate (desktop only by default) */
.usp-column-right .usp-item {
  position: relative;
  padding-left: 34px; /* room for dot + line */
}

/* dot */
.usp-column-right .usp-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95em;                  /* vertically aligns near heading */
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25);
}

/* line heading → crate */
.usp-column-right .usp-item::after {
  content: "";
  position: absolute;
  left: -70px;                  /* pushes line towards the box */
  top: 0.95em;
  transform: translateY(-50%);
  width: 70px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  opacity: 0.9;
}
@media (max-width: 900px) {
  .usp-3d-inner {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .usp-column {
    flex-direction: column;
    align-items: flex-start;
  }

  .usp-3d-box-wrapper {
    order: -1; /* box first on mobile */
    margin-bottom: 16px;
  }

  .usp-item {
    max-width: 100%;
  }

  /* remove connectors & extra padding on mobile */
  .usp-column-right .usp-item {
    padding-left: 0;
  }

  .usp-column-right .usp-item::before,
  .usp-column-right .usp-item::after {
    display: none;
  }
}


.usp-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

/* Center 3D box */

.usp-3d-box-wrapper {
  flex: 0 0 260px;
  display: flex;
  justify-content: center;
}

.usp-3d-perspective {
  width: 220px;
  height: 220px;
  perspective: 900px;
}

.usp-3d-cube {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(-18deg) rotateY(30deg);
  animation: uspCubeSpin 16s infinite linear;
}

.usp-3d-section:hover .usp-3d-cube {
  animation-play-state: paused; /* pause rotation on hover for subtle control */
}

.usp-face {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    #6c3405 0%,
    #8d4506 35%,
    #b25a0a 70%,
    #5b2a04 100%
  ); /* Tri-Wall style brown */
  border: 1px solid rgba(0, 0, 0, 0.35);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  backface-visibility: hidden;
}

/* Faces positioning */
.usp-face-front {
  transform: translateZ(110px);
}

.usp-face-back {
  transform: rotateY(180deg) translateZ(110px);
}

.usp-face-right {
  transform: rotateY(90deg) translateZ(110px);
}

.usp-face-left {
  transform: rotateY(-90deg) translateZ(110px);
}

.usp-face-top {
  height: 220px;
  transform: rotateX(90deg) translateZ(110px);
}

.usp-face-bottom {
  height: 220px;
  transform: rotateX(-90deg) translateZ(110px);
}

/* Labels on faces */
.usp-face-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #ffffff;
}

/* Soft rotation animation */
@keyframes uspCubeSpin {
  0% {
    transform: rotateX(-18deg) rotateY(30deg);
  }
  25% {
    transform: rotateX(-18deg) rotateY(120deg);
  }
  50% {
    transform: rotateX(-18deg) rotateY(210deg);
  }
  75% {
    transform: rotateX(-18deg) rotateY(300deg);
  }
  100% {
    transform: rotateX(-18deg) rotateY(390deg);
  }
}

/* ------------- Responsive ------------- */

@media (max-width: 1024px) {
  .usp-3d-inner {
    gap: 24px;
  }

  .usp-3d-box-wrapper {
    flex: 0 0 220px;
  }

  .usp-3d-perspective {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 900px) {
  .usp-3d-inner {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .usp-column {
    flex-direction: column;
    align-items: flex-start;
  }

  .usp-3d-box-wrapper {
    order: -1; /* box comes first on mobile */
    margin-bottom: 8px;
  }

  .usp-item {
    max-width: 100%;
  }
}

@media (max-width: 540px) {
  .usp-3d-section {
    padding: 44px 6vw 48px;
  }

  .usp-heading {
    font-size: 0.9rem;
    letter-spacing: 0.18em;
  }

  .usp-text {
    font-size: 0.86rem;
  }
}

/* Remove all connectors */
.usp-column-right .usp-item,
.usp-column-right .usp-item::before,
.usp-column-right .usp-item::after {
  padding-left: 0 !important;
  display: block !important; /* reset so text shows */
}

.usp-column-right .usp-item::before,
.usp-column-right .usp-item::after {
  content: none !important;
}
.usp-column-right {
  text-align: right;
  align-items: flex-end; /* align text to the right nicely */
}

.usp-column-right .usp-item {
  max-width: 420px; /* keeps line lengths perfect */
}
/* Mirror the underline for right-side headings */
.usp-column-right .usp-heading::after {
  left: auto;
  right: 0;            /* anchor underline to the right edge of the text */
}
