/* =============================================================
   home.css — Home page styles
   Base: 19px root → scaled via global.css media queries
   ============================================================= */

/* ============================================================
   1. HERO + BRANDS SECTION
   ============================================================ */
.home-hero-section {
  padding-top: 7.368rem;   /* ~140px / 19 */
  padding-bottom: 6.316rem; /* 120px / 19 */
  background-color: var(--bg-white);
}

.home-hero-container {
  display: flex;
  align-items: center;
  /* gap: 1.474rem; */
}

/* ---- Left rail: social icons + divider + Quick Contact ---- */
.home-hero-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.632rem; /* 12px / 19 */
  width: 1.105rem; /* 21px / 19 */
  flex-shrink: 0;
}

.home-social-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.105rem; /* ~21px / 19 */
}

.home-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.085rem; /* 20.6px / 19 */
  height: 1.085rem;
  color: var(--base-dark);
  opacity: 0.75;
  transition: opacity 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.home-social-icon svg {
  width: 100%;
  height: 100%;
}

.home-social-icon:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.facebook-icon:hover {
    color: #1877F2;
}

.x-icon:hover {
    color: #000000;
}

.instagram-icon:hover {
    color: #E4405F;
}

.linkedin-icon:hover {
    color: #0A66C2;
}

.youtube-icon:hover {
    color: #FF0000;
}

.whatsapp-icon:hover {
    color: #25D366;
}

.home-rail-line {
  width: 0.053rem; /* 1px */
  height: 3.868rem; /* 73.5px / 19 */
  background-color: var(--border-medium);
}

.home-quick-contact-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.632rem;
  height: 6.644rem; /* 126.2px / 19 */
  width: 100%;
  cursor: pointer;
  color: var(--base-dark);
  transition: color 0.3s ease;
}

.home-quick-contact-btn:hover {
  color: var(--primary-blue);
}

.home-quick-contact-btn:hover .home-quick-contact-icon path {
    color: var(--primary-blue);
}

.home-quick-contact-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 0.842rem; /* 16px / 19 */
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.home-quick-contact-icon {
  width: 0.842rem;
  height: 0.842rem;
  /* transform: rotate(90deg); */
  flex-shrink: 0;
}

/* ---- Main hero content ---- */
.home-hero-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4.316rem; /* 82px / 19 */
  width: 100%;
}

.home-hero-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.053rem; /* 20px / 19 */
  width: 100%;
  max-width: 68rem;
}

.home-hero-title {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 3.368rem; /* 64px / 19 */
  line-height: 4.105rem; /* ~78px / 19 */
  color: var(--base-dark);
  text-align: center;
  padding: 0.526rem;
}

.home-hero-title span {
  font-weight: 700;
  color: var(--primary-blue);
}

.home-hero-desc-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.789rem; /* 34px / 19 */
  width: 100%;
  max-width: 51.316rem; /* 975px / 19 */
}

.home-hero-desc {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 1rem; /* 19px / 19 */
  line-height: 1.5rem;
  color: var(--text-sub);
  text-align: center;
  padding: 0.526rem;
}

.home-hero-actions {
  display: flex;
  align-items: center;
  gap: 0.895rem; /* 17px / 19 */
}

.home-btn-getintouch {
  width: 8.368rem; /* 159px / 19 */
}

.home-btn-explore {
  width: 10.211rem; /* 194px / 19 */
}

.home-hero-actions .btn {
  height: 2.632rem; /* 50px / 19 */
  border-radius: 1.579rem;
}

/* ---- Brands marquee ---- */
.home-brands {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.158rem; /* 22px / 19 */
  width: 100%;
}

.home-brands-title {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 0.947rem; /* 18px / 19 */
  color: #363434;
  text-align: center;
}

.home-brands-marquee-wrap {
  position: relative;
  width: 100%;
  height: 5.474rem; /* 104px / 19 */
  overflow: hidden;
}

.home-brands-marquee-wrap::before,
.home-brands-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6rem;
  z-index: 2;
  pointer-events: none;
}

.home-brands-marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-white) 30%, rgba(255, 255, 255, 0));
}

.home-brands-marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-white) 30%, rgba(255, 255, 255, 0));
}

.home-brands-track {
  display: flex;
  align-items: center;
  gap: 4.421rem; /* ~84px / 19 */
  width: max-content;
  height: 100%;
  will-change: transform;
  animation-name: home-marquee-scroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.home-brands-marquee-wrap:hover .home-brands-track {
  animation-play-state: paused;
}

@keyframes home-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.home-brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.632rem; /* ~50px / 19 */
  flex-shrink: 0;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: all 0.3s ease;
}

.home-brand-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.home-brand-logo img {
  height: 100%;
  width: auto;
  max-width: 11.5rem;
  object-fit: contain;
}

/* ============================================================
   2. STATS / VIDEO SECTION
   ============================================================ */
.home-stats-section {
  padding-top: 0;
  padding-bottom: 6.316rem; /* 120px / 19 */
  background-color: var(--bg-white);
}

.home-stats-header {
  display: flex;
  flex-direction: column;
  gap: 0.684rem; /* 13px / 19 */
  margin-bottom: 2.211rem; /* 42px / 19 */
}

.home-stats-header-top {
  display: flex;
  flex-direction: column;
  gap: 0.579rem; /* 11px / 19 */
}

.home-stats-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 0.737rem; /* 14px / 19 */
  color: var(--base-dark);
}

.home-stats-title {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 2.263rem; /* 43px / 19 */
  line-height: 3rem;
  color: var(--base-dark);
}

.home-stats-header-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.home-stats-desc {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 1rem; /* 19px / 19 */
  line-height: 1.579rem;
  color: var(--base-dark);
  max-width: 45.316rem; /* 861px / 19 */
}

.home-discover-more {
  display: inline-flex;
  align-items: center;
  gap: 0.158rem; /* 3px / 19 */
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 0.842rem; /* 16px / 19 */
  color: var(--base-dark);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.3s ease, gap 0.3s ease;
}

.home-discover-more svg {
  width: 1.263rem; /* 24px / 19 */
  height: 1.263rem;
  transition: transform 0.3s ease;
}

.home-discover-more:hover {
  color: var(--primary-blue);
  gap: 0.421rem;
}

.home-discover-more:hover svg {
  transform: translate(2px, -2px);
}

/* ---- Media / stats grid ---- */
.home-stats-grid {
  display: grid;
  grid-template-columns: 1.57fr 1fr;
  gap: 1rem; /* 19px / 19 */
  align-items: stretch;
}

.home-stats-media {
  position: relative;
  height: 25.842rem; /* 491px / 19 */
  border-radius: 0.632rem;
  overflow: hidden;
  background-color: #d9d9d9;
}

.home-stats-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.home-stats-media:hover .home-stats-media-img {
  transform: scale(1.04);
}

.home-stats-expand-btn {
  position: absolute;
  top: 1.316rem; /* 25px / 19 */
  right: 1.263rem; /* 24px / 19 */
  width: 2.526rem;
  height: 2.526rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.85);
  color: var(--base-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.home-stats-expand-btn svg {
  width: 1.263rem;
  height: 1.263rem;
}

.home-stats-expand-btn:hover {
  background-color: var(--primary-blue);
  color: #fff;
  transform: scale(1.08);
}

.home-stats-side {
  display: flex;
  flex-direction: column;
  gap: 0.684rem; /* 13px / 19 */
  height: 25.842rem;
}

/* ---- Our Growth card ---- */
.home-growth-card {
  position: relative;
  background-color: #e8ecf4;
  height: 16.789rem; /* 319px / 19 */
  border-radius: 0.632rem;
  overflow: hidden;
  padding: 1.632rem 1.526rem 0;
  flex-shrink: 0;
}

.home-growth-title {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.789rem; /* 34px / 19 */
  color: var(--base-dark);
  line-height: 1.2;
}

.home-growth-years {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.158rem; /* 22px / 19 */
  color: var(--base-dark);
  margin-top: 0.421rem;
}

.home-growth-badge {
  position: absolute;
  top: 1.474rem; /* 28px / 19 */
  right: 1.474rem; /* ~ matches 366px left w/ 156px width from right edge */
  background-color: #000;
  border-radius: 0.421rem;
  width: 8.211rem; /* 156px / 19 */
  height: 3.105rem; /* 59px / 19 */
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.158rem;
  color: #fff;
}

.home-growth-badge-num {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 2.526rem; /* 48px / 19 */
  line-height: 1;
}

.home-growth-badge-unit {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.368rem; /* 26px / 19 */
}

.home-growth-chart {
  position: absolute;
  left: 1.895rem; /* 36px / 19 */
  bottom: 3.789rem; /* leaves room for stats bar (46px) + gap */
  width: calc(100% - 3.79rem);
  height: 6.211rem; /* 118px / 19 max bar height */
  display: flex;
  align-items: flex-end;
  gap: 0.421rem; /* 8px / 19 */
}

.home-growth-chart span {
  flex: 1 1 0;
  max-width: 0.947rem; /* 18px / 19 */
  background-color: #3351fe;
  border-radius: 0.579rem 0.579rem 0 0; /* 11px / 19 */
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.home-growth-card:hover .home-growth-chart span {
  transform: scaleY(1.05);
  transform-origin: bottom;
}

.home-growth-statsbar {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 25.632rem; /* 487px / 19 */
  max-width: calc(100% - 1.5rem);
  height: 2.421rem; /* 46px / 19 */
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 0.5rem;
  padding: 0 1rem;
}

.home-growth-statsbar p {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 0.947rem; /* 18px / 19 */
  color: #fff;
  white-space: nowrap;
}

.home-growth-statsbar-num {
  color: #89c0ff;
  font-weight: 600;
}

.home-growth-statsbar-divider {
  width: 0.053rem;
  height: 1.158rem; /* 22px / 19 */
  background-color: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

/* ---- Tomorrow Starts Here / AI banner card ---- */
.home-ai-banner {
  position: relative;
  flex: 1;
  min-height: 8.368rem; /* 159px / 19 */
  border-radius: 0.632rem;
  overflow: hidden;
  background-image: linear-gradient(160.6deg, #354def 1.27%, #000 82.44%);
  display: flex;
  align-items: center;
  padding: 0 1.895rem;
}

.home-ai-banner-text {
  display: flex;
  flex-direction: column;
  gap: 1.053rem; /* 20px / 19 */
  max-width: 16.421rem; /* 312px / 19 */
  position: relative;
  z-index: 2;
}

.home-ai-banner-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.579rem; /* 11px / 19 */
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 0.947rem; /* 18px / 19 */
  color: #fff;
}

.home-ai-banner-line {
  width: 1.974rem; /* 37.5px / 19 */
  height: 0.053rem;
  background-color: #fff;
  flex-shrink: 0;
}

.home-ai-banner-heading {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.158rem; /* 22px / 19 */
  line-height: 1.632rem; /* 31px / 19 */
  color: #fff;
}

.home-ai-banner-bars {
  position: absolute;
  right: 1.895rem;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  gap: 0.421rem; /* 8px / 19 */
  height: 5.737rem; /* 109px / 19 */
  z-index: 1;
}

.home-ai-bar {
  width: 1.737rem; /* 33px / 19 */
  border-radius: 0.368rem 0.368rem 0 0; /* 7px / 19 */
}

.home-ai-bar--1 { height: 3.632rem; background-color: rgba(51, 81, 254, 0.5); }
.home-ai-bar--2 { height: 4.895rem; background-color: rgba(51, 81, 254, 0.7); }
.home-ai-bar--3 { height: 5.895rem; background-color: #3351fe; }

/* ============================================================
   3. SERVICES SECTION
   ============================================================ */
.home-services-section {
  position: relative;
  background-color: #000;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  overflow: hidden;
}

.home-services-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #06070e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2.2rem;
  padding: 4rem 2.5rem 3.5rem;
  overflow: hidden;
}

.home-services-glow-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 32rem;
  background: 
    radial-gradient(115% 90% at 50% -5%, #3a68ff 0%, #224cf4 32%, #122eb7 55%, #071358 75%, transparent 100%),
    linear-gradient(180deg, #3662ff 0%, #1e43e6 25%, #0e289f 50%, rgba(6, 17, 72, 0.4) 75%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.home-services-header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  max-width: 48rem;
  text-align: center;
  margin-bottom: 3.2rem;
}

.home-services-eyebrow {
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 0.842rem;
  color: #8bb2ff;
  letter-spacing: 0.03em;
}

.home-services-title {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 2.263rem; /* 43px / 19 */
  color: #fff;
  text-transform: capitalize;
}

.home-services-desc {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 1rem; /* 19px / 19 */
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.home-services-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 69rem;
  margin-bottom: 3rem;
}

.home-services-card {
  position: relative;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px;
  border-radius: 1.579rem;
  overflow: hidden;
  min-height: 13.5rem;
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  text-decoration: none;
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  isolation: isolate;
  cursor: pointer;
}

.home-services-card:hover,
.home-services-card.is-active {
  background-color: #ffffff;
  border-color: transparent;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* ---- Rotating gradient border on hover ---- */
@property --home-services-border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.home-services-card {
  /* needed so the pseudo-element's z-index:0 sits correctly inside
     the card's existing stacking context (it already has isolation: isolate) */
  z-index: 0;
}

.home-services-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3; /* was 0 — now sits above the glow (1) and content (2) */
  border-radius: inherit;
  padding: 0.105rem;
  background: linear-gradient(
    var(--home-services-border-angle),
    #F480FF 45%,
    #C9F3FF 75%,
    #008DFF 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.home-services-card:hover::after {
  opacity: 1;
  animation: home-services-border-spin 3s linear infinite;
}

@keyframes home-services-border-spin {
  to {
    --home-services-border-angle: 360deg;
  }
}

.home-services-glow {
  display: block;
  position: absolute;
  width: 14rem;
  height: 14rem;
  background-color: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transform: scale(0);
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 1;
}

.home-services-glow--tr {
  top: -5rem;
  right: -5rem;
  transform-origin: center center;
}

.home-services-glow--tl {
  top: -5rem;
  left: -5rem;
  transform-origin: center center;
}

.home-services-card:hover .home-services-glow,
.home-services-card.is-active .home-services-glow {
  transform: scale(3.6);
}

.home-services-icon,
.home-services-card-title,
.home-services-card-desc,
.home-services-brandmark {
  position: relative;
  z-index: 2;
  transition: color 0.4s ease, stroke 0.4s ease, fill 0.4s ease;
}

.home-services-icon {
  width: 2.2rem;
  height: 2.2rem;
  color: #fff;
  flex-shrink: 0;
}

.home-services-card--brand .home-services-icon {
  width: unset;
  height: 2.3125rem;
}

.home-services-icon img {
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: filter 0.4s ease, opacity 0.4s ease;
}

.home-services-card:hover .home-services-icon img,
.home-services-card.is-active .home-services-icon img {
  filter: none;
  opacity: 1;
}

/* .home-services-card:hover .home-services-icon,
.home-services-card.is-active .home-services-icon {
  color: #0f0f14;
} */

.home-services-card-title {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.211rem;
  line-height: 1.421rem;
  color: #fff;
}

.home-services-card:hover .home-services-card-title,
.home-services-card.is-active .home-services-card-title {
  color: #0f0f14;
}

.home-services-card-desc {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.8);
}

.home-services-card:hover .home-services-card-desc,
.home-services-card.is-active .home-services-card-desc {
  color: #4a4c56;
}

.home-services-brandmark {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1;
}

.home-services-brandmark--odoo {
  font-size: 2.211rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: -0.02em;
}

.home-services-card:hover .home-services-brandmark--odoo,
.home-services-card.is-active .home-services-brandmark--odoo {
  color: #714B67;
}

.home-services-brandmark--cw8 {
  font-family: var(--font-secondary);
  font-size: 2rem;
  color: #fff;
}

.home-services-card:hover .home-services-brandmark--cw8,
.home-services-card.is-active .home-services-brandmark--cw8 {
  color: #f36f21;
}

.home-services-viewall-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.632rem;
  padding: 0 1.947rem;
  border: 0.042rem solid rgba(255, 255, 255, 0.7);
  border-radius: 1.579rem;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 0.842rem;
  color: #fff;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.home-services-viewall-btn:hover {
  background-color: #fff;
  color: #000;
  transform: translateY(-2px);
}

/* ============================================================
   4. CTA STATEMENT SECTION (JS-pinned, 2-stage scroll reveal)
   ------------------------------------------------------------
   Pin technique: rather than relying on native `position: sticky`
   (which silently breaks if any ancestor establishes a new
   containing block — e.g. `transform`, `filter`, `will-change`,
   or certain `overflow`/scroll-container setups — a bug that was
   causing this section to scroll past normally instead of staying
   pinned), the section is pinned with a JS-toggled `position: fixed`
   clamp. This is immune to those ancestor issues because `position:
   fixed` is resolved against the viewport regardless of an
   ancestor's `overflow` value. See initHomeCtaStatementAnimation()
   in main.js for the state machine (before → pinned → after) and
   the Stage A / Stage B scroll-progress math.
   ============================================================ */
.home-cta-statement {
  position: relative;
  background-color: #000;
  overflow: hidden;
}

@media (min-width: 1025px) {
  .home-cta-statement {
    height: 280vh; /* extra scroll distance for Stage A entrance + Stage B word reveal */
  }

  .home-cta-statement-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  /* While the section's scroll range is being traversed, pin the
     content to the viewport. */
  .home-cta-statement-inner.cta-pinned {
    position: fixed;
    top: 0;
    left: 0;
  }

  /* Once scrolled past the pin range, rest the content at the
     bottom of the (tall) section so the page continues scrolling
     normally underneath it — no jump when the fixed clamp lifts. */
  .home-cta-statement-inner.cta-pin-after {
    position: absolute;
    top: auto;
    bottom: 0;
  }
}

@media (max-width: 1024px) {
  .home-cta-statement {
    padding: 6.5rem 1.5rem;
  }

  .home-cta-statement-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
  }
}

/* ---- Text container with Stage A diagonal mask (Bottom-Right -> Top-Left) ---- */
.home-cta-statement-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 2.526rem; /* 48px / 19 */
  line-height: 3.263rem; /* 62px / 19 */
  text-align: center;
  max-width: 60rem;
  color: #fff;

  --cta-mask-reveal: 0%;

  /* Stage A: Radial mask expanding from Bottom-Right corner (100% 100%) toward Top-Left */
  -webkit-mask-image: radial-gradient(
    circle at 100% 100%,
    #000 0%,
    #000 var(--cta-mask-reveal, 0%),
    transparent calc(var(--cta-mask-reveal, 0%) + 25%)
  );
  mask-image: radial-gradient(
    circle at 100% 100%,
    #000 0%,
    #000 var(--cta-mask-reveal, 0%),
    transparent calc(var(--cta-mask-reveal, 0%) + 25%)
  );
  will-change: mask-image, -webkit-mask-image;
}

/* ---- Stage B: Individual word opacity progression (First word -> Last word) ---- */
.home-cta-word {
  display: inline-block;
  position: relative;
  /* Base low opacity 0.15 after Stage A reveal, increasing to 1.0 (real white) during Stage B */
  opacity: var(--w-op, 0.15);
  color: #ffffff;
  transition: opacity 0.1s ease-out;
  will-change: opacity;
  white-space: pre;
}

.home-cta-word.is-fully-white {
  opacity: 1;
}

/* ---- Decorative mark: slides out from bottom-right corner ---- */
.home-cta-statement-mark {
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  width: 27.17rem;
  height: 27.17rem;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform: translate(120px, 120px);
  will-change: transform, opacity;
}

.home-cta-statement-mark-inner {
  width: 100%;
  height: 100%;
  transform: rotate(-109.43deg);
}

.home-cta-statement-mark-inner svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 900px) {
  .home-cta-statement-mark {
    display: none; /* keeps mobile layout clean */
  }
}

@media (max-width: 1024px) {
  .home-cta-statement-text {
    font-size: 2.4rem;
    line-height: 1.3;
  }

  .home-cta-statement-mark {
    width: 18rem;
    height: 18rem;
    right: -5rem;
  }
}

@media (max-width: 600px) {
  .home-cta-statement {
    padding: 4.5rem 1.25rem;
  }
  .home-cta-statement-text {
    font-size: 1.7rem;
  }
}
/* ============================================================
   5. INDUSTRIES SECTION
   ============================================================ */
.home-industries-section {
  padding-top: 6.316rem; /* 120px / 19 */
  padding-bottom: 6.316rem;
  background-color: var(--bg-white);
}

.home-industries-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.789rem; /* 72px / 19 */
}

.home-industries-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.158rem; /* 22px / 19 */
  max-width: 39.421rem; /* 749px / 19 */
  text-align: center;
}

.home-industries-title {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 2.263rem; /* 43px / 19 */
  line-height: 3rem;
  color: var(--base-dark);
  text-transform: capitalize;
}

.home-industries-desc {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 1rem; /* 19px / 19 */
  line-height: 1.45;
  color: var(--base-dark);
}

.home-industries-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.684rem 1.632rem; /* 32px / 31px / 19 */
  width: 100%;
}

.home-industry-card {
  display: flex;
  align-items: stretch;
  height: 9.263rem; /* 176px / 19 */
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.home-industry-card--blue        { background-color: #cae2ff; }
.home-industry-card--peach       { background-color: #fee8b5; }
.home-industry-card--green       { background-color: #ccf9c8; }
.home-industry-card--pink        { background-color: #f9d4d4; }
.home-industry-card--periwinkle  { background-color: #c8d7f9; }

.home-industry-img {
  width: 7.579rem; /* 144px / 19 */
  height: 100%;
  flex-shrink: 0;
  background-color: #d9d9d9;
  overflow: hidden;
}

.home-industry-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.home-industry-card:hover .home-industry-img img {
  transform: scale(1.08);
}

.home-industry-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.684rem; /* 13px / 19 */
  padding: 1.5rem 1.895rem 1.5rem 1.632rem;
}

.home-industry-title {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.053rem; /* 20px / 19 */
  color: var(--base-dark);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.home-industry-desc {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 0.895rem; /* 17px / 19 */
  line-height: 1.3;
  color: #363434;
}

.home-industries-explore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.632rem; /* 50px / 19 */
  padding: 0 1.947rem;
  border: 0.042rem solid var(--base-dark);
  border-radius: 1.579rem; /* 30px / 19 */
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 0.842rem; /* 16px / 19 */
  color: var(--base-dark);
  white-space: nowrap;
  transition: all 0.3s ease;
}

.home-industries-explore-btn:hover {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   6. RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .home-hero-rail {
    display: none;
  }
}

@media (max-width: 600px) {
  .home-hero-section {
    padding-top: 5rem;
  }

  .home-hero-title {
    font-size: 2.6rem;
    line-height: 1.2;
  }

  .home-hero-desc {
    font-size: 1rem;
  }

  .home-hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 16rem;
  }

  .home-btn-getintouch,
  .home-btn-explore {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .home-stats-grid {
    grid-template-columns: 1fr;
  }

  .home-stats-media {
    height: 20rem;
  }

  .home-stats-side {
    height: auto;
  }

  .home-stats-header-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .home-stats-title {
    font-size: 2rem;
    line-height: 1.25;
  }

  .home-growth-badge {
    position: static;
    margin-top: 0.8rem;
    width: fit-content;
    padding: 0 1rem;
  }

  .home-growth-card {
    height: auto;
    padding-bottom: 4rem;
  }

  .home-growth-chart {
    position: static;
    margin-top: 1.5rem;
    height: 4rem;
  }

  .home-growth-statsbar {
    position: static;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin-top: 1rem;
    height: auto;
    padding: 0.8rem 1rem;
    flex-direction: column;
    gap: 0.4rem;
  }

  .home-growth-statsbar-divider {
    display: none;
  }

  .home-ai-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    min-height: auto;
  }

  .home-ai-banner-bars {
    position: static;
    margin-top: 1rem;
  }
}

@media (max-width: 1024px) {
  .home-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-services-header {
    margin-bottom: 3.5rem;
  }

  .home-cta-statement-text {
    font-size: 2.4rem;
    line-height: 1.3;
  }

  .home-cta-statement-mark {
    width: 18rem;
    height: 18rem;
    right: -5rem;
  }
}

@media (max-width: 700px) {
  .home-services-grid {
    grid-template-columns: 1fr;
  }

  .home-services-title {
    font-size: 2.2rem;
  }

  .home-services-glow-bg {
    left: 1rem;
    right: 1rem;
  }
}

@media (max-width: 600px) {
  .home-cta-statement {
    padding: 4.5rem 1.25rem;
  }

  .home-cta-statement-text {
    font-size: 1.7rem;
  }
}

@media (max-width: 900px) {
  .home-industries-grid {
    grid-template-columns: 1fr;
  }

  .home-industries-title {
    font-size: 2.2rem;
    line-height: 1.25;
  }
}

@media (max-width: 500px) {
  .home-industry-card {
    height: auto;
    min-height: 8rem;
  }

  .home-industry-img {
    width: 5.5rem;
  }

  .home-industry-text {
    padding: 1rem;
  }
}

/* ============================================================
   7. SOLUTIONS SECTION ("Solutions We've Built")
   ============================================================ */
.home-solutions-section {
  background-color: var(--bg-light);
  padding-top: 6.316rem;
  padding-bottom: 6.316rem;
}

.home-solutions-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.526rem; /* 48px / 19 */
}

.home-solutions-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.632rem; /* 12px / 19 */
  max-width: 39.579rem; /* 752px / 19 */
}

.home-solutions-eyebrow {
  font-family: var(--font-secondary); /* Poppins */
  font-weight: 400;
  font-size: 0.737rem; /* 14px / 19 */
  color: var(--base-dark);
}

.home-solutions-title {
  font-family: var(--font-primary); /* Sofia Pro */
  font-weight: 400;
  font-size: 2.263rem; /* 43px / 19 */
  line-height: 1.15;
  color: var(--base-dark);
}

.home-solutions-desc {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 1rem; /* 19px / 19 */
  line-height: 1.45;
  color: var(--base-dark);
}

.home-solutions-viewall {
  flex-shrink: 0;
  padding-bottom: 0.421rem;
}

.home-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.632rem; /* 31px / 19 */
}

.home-solution-card {
  display: block;
  text-decoration: none;
  background-color: var(--bg-white);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

.home-solution-card-img {
  height: 14.158rem; /* 269px / 19 */
  overflow: hidden;
  background-color: #cccccc;
}

.home-solution-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.home-solution-card:hover .home-solution-card-img img {
  transform: scale(1.06);
}

.home-solution-card-text {
  display: flex;
  flex-direction: column;
  gap: 0.211rem; /* 4px / 19 */
  padding: 1.632rem 1.526rem 1.895rem; /* ~31px / 29px / 36px */
}

.home-solution-card-title {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 1.158rem; /* 22px / 19 */
  line-height: 1.4;
  color: var(--base-dark);
}

.home-solution-card-desc {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 0.895rem; /* 17px / 19 */
  line-height: 1.368rem; /* 26px / 19 */
  color: #363434;
}

/* ============================================================
   8. AI PRODUCTS SECTION (banner)
   ============================================================ */
.home-ai-products-section {
  position: relative;
  overflow: hidden;
  background-color: #2549ff;
  padding: 6.316rem 0; /* matches .section rhythm */
}

.home-ai-products-glow {
  position: absolute;
  top: 50%;
  right: -12%;
  transform: translateY(-50%);
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.home-ai-products-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  align-items: center;
  gap: 2rem;
}

.home-ai-products-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.526rem; /* 29px / 19 */
}

.home-ai-products-title {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 2.526rem; /* 48px / 19 */
  line-height: 1.24;
  letter-spacing: -0.1rem;
  color: var(--bg-white);
  max-width: 45.632rem; /* 867px / 19 */
}

.home-ai-products-desc {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 1rem; /* 19px / 19 */
  line-height: 1.5;
  letter-spacing: -0.02rem;
  color: #f6f6f6;
  max-width: 24.053rem; /* 457px / 19 */
}

.home-ai-products-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.632rem; /* 50px / 19 */
  padding: 0 2.211rem;
  border: 0.042rem solid #fff;
  border-radius: 1.579rem; /* 30px / 19 */
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 0.842rem; /* 16px / 19 */
  color: #fff;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.home-ai-products-btn:hover {
  background-color: #fff;
  color: #2549ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.home-ai-products-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 25.368rem; /* 482px / 19 */
}

.home-ai-visual-img {
  width: 25.368rem; /* 482px / 19 */
  height: 25.368rem;
  object-fit: contain;
}

.home-ai-cylinder {
  position: absolute;
  top: -4rem;       /* offset relative to visual, matches Figma composition */
  left: -5.579rem;
  width: 9rem;       /* 171px / 19 */
  height: 8.211rem;  /* 156px / 19 */
  object-fit: contain;
}

/* ============================================================
   9. RESPONSIVE (Solutions + AI Products)
   ============================================================ */
@media (max-width: 1024px) {
  .home-solutions-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .home-solutions-grid {
    grid-template-columns: 1fr;
  }

  .home-ai-products-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home-ai-products-text {
    align-items: center;
  }

  .home-ai-products-title,
  .home-ai-products-desc {
    max-width: 100%;
  }

  .home-ai-products-visual {
    height: 18rem;
  }

  .home-ai-visual-img {
    width: 16rem;
    height: 16rem;
  }

  .home-ai-cylinder {
    width: 6rem;
    height: 5.474rem;
    top: -2rem;
    left: -3rem;
  }
}

@media (max-width: 600px) {
  .home-solutions-title {
    font-size: 2.2rem;
  }

  .home-ai-products-title {
    font-size: 2.1rem;
    line-height: 1.25;
    letter-spacing: -0.05rem;
  }

  .home-ai-products-desc {
    font-size: 1rem;
  }
}

/* ============================================================
   10. NEWS PREVIEW SECTION ("Latest Insights & News")
   ============================================================ */
.home-news-section {
  background-color: var(--bg-white);
  padding-top: 6.316rem;
  padding-bottom: 6.316rem;
}

.home-news-header {
  display: flex;
  flex-direction: column;
  gap: 1.158rem; /* 22px / 19 */
  margin-bottom: 3.263rem; /* 62px / 19 */
}

.home-news-eyebrow {
  font-family: var(--font-secondary); /* Poppins */
  font-weight: 400;
  font-size: 0.737rem; /* 14px / 19 */
  color: var(--base-dark);
}

.home-news-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.home-news-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.737rem; /* 14px / 19 */
  max-width: 39.579rem; /* 752px / 19 */
}

.home-news-title {
  font-family: var(--font-primary); /* Sofia Pro */
  font-weight: 300;
  font-size: 2.263rem; /* 43px / 19 */
  line-height: 1.15;
  color: var(--base-dark);
}

.home-news-desc {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 1rem; /* 19px / 19 */
  line-height: 1.45;
  color: var(--base-dark);
}

.home-news-viewall {
  flex-shrink: 0;
  padding-bottom: 0.421rem;
}

.home-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5.105rem; /* 97px / 19 */
}

.home-news-card {
  display: flex;
  flex-direction: column;
  gap: 1.947rem; /* 37px / 19 */
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.home-news-card:hover {
  transform: translateY(-6px);
}

.home-news-card-img {
  height: 13.038rem; /* 247.716px / 19 */
  border-radius: 0.559rem; /* 10.626px / 19 */
  overflow: hidden;
  background-color: #d9d9d9;
}

.home-news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.home-news-card:hover .home-news-card-img img {
  transform: scale(1.06);
}

.home-news-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.632rem; /* 12px / 19 */
}

.home-news-card-title {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 1.158rem; /* 22px / 19 */
  color: var(--base-dark);
}

.home-news-card-desc {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 0.895rem; /* 17px / 19 */
  line-height: 1.35;
  color: var(--base-dark);
}

.home-partner-card-desc {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 0.895rem; /* 17px / 19 */
  line-height: 1.45;
  color: var(--base-dark);
}

.home-partners-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.home-partners-nav-btn {
  width: 3.053rem;
  height: 3.053rem;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 55, 112, 0.12);
  color: #003770;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 55, 112, 0.08);
  transition: all 0.3s ease;
  outline: none;
}

.home-partners-nav-btn:hover {
  background: #003770;
  border-color: #003770;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 55, 112, 0.2);
}

.home-partners-nav-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 55, 112, 0.15);
}

.home-partners-nav-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.2s ease;
}

.home-partners-nav-btn--prev:hover svg {
  transform: translateX(-2px);
}

.home-partners-nav-btn--next:hover svg {
  transform: translateX(2px);
}

.home-news-card-date {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 1rem; /* 19px / 19 */
  line-height: 1.579rem; /* 30px / 19 */
  color: #363434;
}

/* ============================================================
   11. RESPONSIVE (News Preview)
   ============================================================ */
@media (max-width: 1024px) {
  .home-news-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .home-news-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  .home-news-title {
    font-size: 2.2rem;
  }
}

/* ============================================================
   12. WHY CHOOSE TECHNAUREUS SECTION (2nd — dark)
   ============================================================ */
.home-whychoose-section {
  background-color: #000;
  padding-top: 6.316rem;
  padding-bottom: 6.316rem;
}

.home-whychoose-header {
  display: flex;
  flex-direction: column;
  gap: 0.211rem; /* 4px / 19 */
  max-width: 39.579rem; /* 752px / 19 */
  margin-bottom: 4rem; /* ~76px / 19 */
}

.home-whychoose-title {
  font-family: var(--font-primary); /* Sofia Pro */
  font-weight: 300;
  font-size: 2.263rem; /* 43px / 19 */
  line-height: 3rem;
  color: #fff;
  text-transform: capitalize;
}

.home-whychoose-desc {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 1rem; /* 19px / 19 */
  line-height: 1.45;
  color: #d3d3d3;
}

.home-whychoose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 6rem;      /* ~114px / 19 */
  column-gap: 4rem;   /* ~ average of 128px / 117px, scaled down for grid balance */
}

.home-whychoose-item {
  display: flex;
  flex-direction: column;
  gap: 1.053rem; /* 20px / 19 */
  max-width: 25rem; /* 475px / 19 */
}

.home-whychoose-icon {
  width: 2rem; /* 38px / 19 */
  height: 2rem;
  color: #008dff;
  flex-shrink: 0;
}

.home-whychoose-icon svg {
  width: 100%;
  height: 100%;
}

.home-whychoose-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.842rem; /* 16px / 19 */
}

.home-whychoose-item-title {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 1.158rem; /* 22px / 19 */
  color: #fff;
  text-transform: capitalize;
}

.home-whychoose-item-desc {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 0.895rem; /* 17px / 19 */
  line-height: 1.35;
  color: #d3d3d3;
}

/* ============================================================
   13. PARTNERS / CERTIFICATIONS SECTION
   ============================================================ */
.home-partners-section {
  background-color: var(--bg-white);
  padding-top: 6.316rem;
  padding-bottom: 6.316rem;
}

.home-partners-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.895rem; /* 17px / 19 */
  max-width: 47rem; /* 893px / 19 */
  margin: 0 auto 3.684rem; /* ~70px / 19 */
  text-align: center;
}

.home-partners-eyebrow {
  font-family: var(--font-secondary); /* Poppins */
  font-weight: 400;
  font-size: 0.737rem; /* 14px / 19 */
  color: var(--base-dark);
}

.home-partners-title {
  font-family: var(--font-primary); /* Sofia Pro */
  font-weight: 400;
  font-size: 2.263rem; /* 43px / 19 */
  line-height: 3rem;
  color: var(--base-dark);
  max-width: 30.789rem; /* 585px / 19 */
}

.home-partners-desc {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 1rem; /* 19px / 19 */
  line-height: 1.45;
  color: var(--base-dark);
  max-width: 47.158rem; /* 896px / 19 */
}

.home-partners-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.home-partners-track {
  display: flex;
  gap: 1.105rem; /* ~21px / 19 */
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-partners-track.no-transition {
  transition: none !important;
}

.home-partners-track .home-partner-card {
  width: 5.02rem;
  flex: 0 0 calc((100% - 4 * 1.105rem) / 5);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3.579rem 1.316rem 1.316rem;
  border: 0.053rem solid #c0e3ff;
  background-color: var(--bg-white);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.home-partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(8, 75, 129, 0.1);
  border-color: var(--primary-blue);
}

.home-partner-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 6.789rem; /* ~129px / 19 */
  margin-bottom: 1.789rem; /* ~34px / 19 */
}

.home-partner-card-logo img {
  max-width: 12rem;
  max-height: 100%;
  object-fit: contain;
}

.home-partner-card-title {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 1.158rem; /* 22px / 19 */
  line-height: 1.4;
  color: var(--base-dark);
  margin-bottom: 0.632rem; /* 12px / 19 */
}

.home-partner-card-desc {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 0.895rem; /* 17px / 19 */
  line-height: 1.35;
  color: #363434;
}

/* ============================================================
   14. RESPONSIVE (Why Choose 2nd + Partners)
   ============================================================ */
@media (max-width: 1024px) {
  .home-whychoose-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 3.5rem;
    column-gap: 2.5rem;
  }

  .home-whychoose-item {
    max-width: 100%;
  }

  .home-partners-track {
    gap: 1rem;
  }

  .home-partners-track .home-partner-card {
    width: calc((100% - 2 * 1rem) / 3);
    flex: 0 0 calc((100% - 2 * 1rem) / 3);
    height: auto;
    padding: 2.5rem 1.316rem 2rem;
  }
}

@media (max-width: 700px) {
  .home-whychoose-grid {
    grid-template-columns: 1fr;
  }

  .home-whychoose-title {
    font-size: 2.2rem;
    line-height: 1.25;
  }

  .home-partners-track .home-partner-card {
    width: calc((100% - 1rem) / 2);
    flex: 0 0 calc((100% - 1rem) / 2);
  }

  .home-partners-title {
    font-size: 2.1rem;
    line-height: 1.25;
    max-width: 100%;
  }
}

@media (max-width: 500px) {
  .home-partners-track .home-partner-card {
    width: 100%;
    flex: 0 0 100%;
  }
}

/* ============================================================
   15. GLOBAL PRESENCE + COUNTRIES TICKER SECTION
   ============================================================ */
.home-global-section {
  background-color: var(--bg-white);
  padding-top: 5.263rem;   /* 100px / 19 */
  padding-bottom: 5.263rem;
}

.home-global-content {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.105rem; /* 40px / 19 */
  align-items: center;
}

.home-global-text {
  display: flex;
  flex-direction: column;
  gap: 2.105rem; /* 40px / 19 */
}

.home-global-header {
  display: flex;
  flex-direction: column;
  gap: 1.474rem; /* 28px / 19 */
}

.home-global-eyebrow {
  font-family: var(--font-secondary); /* Poppins */
  font-weight: 400;
  font-size: 0.737rem; /* 14px / 19 */
  color: var(--base-dark);
}

.home-global-title {
  font-family: var(--font-secondary); /* Poppins */
  font-weight: 400;
  font-size: 2.263rem; /* 43px / 19 */
  line-height: 3.158rem;
  color: var(--base-dark);
}

.home-global-title span {
  font-weight: 700;
  color: #008dff;
}

.home-global-desc {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 1rem; /* 19px / 19 */
  line-height: 1.5;
  color: var(--base-dark);
}

.home-global-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12.579rem; /* 239px / 19 */
  height: 2.632rem; /* 50px / 19 */
  background-color: #008dff;
  color: #fff;
  border-radius: 1.579rem; /* 30px / 19 */
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 0.842rem; /* 16px / 19 */
  white-space: nowrap;
  transition: all 0.3s ease;
}

.home-global-btn:hover {
  background-color: #006cc7;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 141, 255, 0.35);
}

.home-global-stats {
  display: flex;
  gap: 1.158rem; /* 22px / 19 */
}

.home-global-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 10.474rem;  /* 199px / 19 */
  height: 9.789rem;  /* 186px / 19 */
  background-color: var(--bg-white);
  border-radius: 0.632rem; /* 12px / 19 */
  box-shadow: 0 2px 18px rgba(8, 75, 129, 0.08);
  padding: 1.053rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-global-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(8, 75, 129, 0.14);
}

.home-global-stat-icon {
  width: 3.579rem; /* 68px / 19 */
  height: 3.579rem;
  border-radius: 0.684rem; /* 13px / 19 */
  background-color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #008dff;
  flex-shrink: 0;
}

.home-global-stat-icon svg {
  width: 1.789rem; /* 34px / 19 */
  height: 1.789rem;
}

.home-global-stat-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.526rem; /* 10px / 19 */
  margin-top: 0.526rem;
}

.home-global-stat-count {
  font-family: var(--font-primary); /* Sofia Pro */
  font-weight: 600;
  font-size: 2.526rem; /* 48px / 19 */
  color: var(--base-dark);
  line-height: 1;
}

.home-global-stat-label {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.053rem; /* 20px / 19 */
  color: var(--base-dark);
  text-transform: capitalize;
  white-space: nowrap;
}

.home-global-visual {
  width: 100%;
  border-radius: 0.632rem; /* 12px / 19 */
  overflow: hidden;
}

.home-global-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---- Countries Served ticker row ---- */
.home-global-countries {
  display: flex;
  align-items: center;
  gap: 1.926rem; /* 366-307px approx / 19 */
  margin-top: 3.789rem; /* 72px / 19 */
  flex-wrap: wrap;
}

.home-global-countries-intro {
  display: flex;
  align-items: center;
  gap: 1.158rem; /* 22px / 19 */
  flex-shrink: 0;
}

.home-global-globe-icon {
  width: 5.526rem; /* 105px / 19 */
  height: 5.526rem;
  border-radius: 50%;
  background-color: #c5e4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.home-global-globe-icon img {
  width: 4.105rem; /* 78px / 19 */
  height: 4.105rem;
  object-fit: cover;
}

.home-global-countries-text {
  font-family: var(--font-primary); /* Sofia Pro */
  font-weight: 400;
  font-size: 1.053rem; /* 20px / 19 */
  line-height: 1.789rem; /* 34px / 19 */
  color: var(--base-dark);
  text-transform: capitalize;
  white-space: nowrap;
}

.home-global-countries-text span {
  font-weight: 700;
  font-size: 1.474rem; /* 28px / 19 */
}

.home-global-flags-wrap {
  position: relative;
  flex: 1;
  min-width: 20rem;
  height: 4rem; /* 76px / 19 */
  overflow: hidden;
}

.home-global-flags-wrap::before,
.home-global-flags-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4rem;
  z-index: 2;
  pointer-events: none;
}

.home-global-flags-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-white) 20%, rgba(255, 255, 255, 0));
}

.home-global-flags-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-white) 20%, rgba(255, 255, 255, 0));
}

.home-global-flags-track {
  display: flex;
  align-items: flex-start;
  gap: 2.032rem; /* 38.6px / 19 */
  width: max-content;
  height: 100%;
  will-change: transform;
  animation-name: home-global-flags-scroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.home-global-flags-wrap:hover .home-global-flags-track {
  animation-play-state: paused;
}

@keyframes home-global-flags-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.home-global-flag-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.254rem; /* ~4.8px / 19 */
  flex-shrink: 0;
}

.home-global-flag-item img {
  width: 2.603rem; /* 49.46px / 19 */
  height: 2.603rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.home-global-flag-item span {
  font-family: var(--font-secondary); /* Poppins */
  font-weight: 500;
  font-size: 0.762rem; /* 14.5px / 19 */
  color: #313131;
  white-space: nowrap;
}

/* ============================================================
   16. RESPONSIVE (Global Presence)
   ============================================================ */
@media (max-width: 1024px) {
  .home-global-content {
    grid-template-columns: 1fr;
  }

  .home-global-visual {
    order: -1;
    max-width: 30rem;
    margin: 0 auto;
  }

  .home-global-stats {
    flex-wrap: wrap;
  }

  .home-global-countries {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-global-flags-wrap {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 600px) {
  .home-global-title {
    font-size: 2.2rem;
    line-height: 1.25;
  }

  .home-global-stats {
    gap: 0.8rem;
  }

  .home-global-stat-card {
    width: 100%;
    flex: 1 1 8rem;
  }

  .home-global-countries-text {
    white-space: normal;
  }
}

/* ============================================================
   17. OUR PRODUCTS SECTION (vertical drag stack)
   ============================================================ */
.home-products-section {
  background-color: var(--bg-white);
  padding-top: 6.316rem;   /* 120px / 19 */
  padding-bottom: 6.316rem;
}

@media (min-width: 1025px) {
  .home-products-section {
    position: relative;
    height: 260vh;
    padding-top: 0;
    padding-bottom: 0;
  }

  .home-products-container {
    position: sticky;
    top: 5rem;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

.home-products-container {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 2.632rem; /* 50px / 19 */
  align-items: start;
}

.home-products-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.421rem; /* 27px / 19 */
  position: sticky;
  top: 6rem;
}

.home-products-eyebrow {
  font-family: var(--font-secondary); /* Poppins */
  font-weight: 400;
  font-size: 0.737rem; /* 14px / 19 */
  color: var(--base-dark);
}

.home-products-title {
  font-family: var(--font-primary); /* Sofia Pro */
  font-weight: 400;
  font-size: 2.263rem; /* 43px / 19 */
  line-height: 3rem;
  color: var(--base-dark);
}

.home-products-viewall {
  margin-top: 0.211rem;
}

/* ---- Draggable card stack ---- */
.home-products-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.263rem; /* 24px / 19 */
}

.home-products-viewport {
  position: relative;
  width: 100%;
  height: 30.526rem; /* 580px / 19 */
  overflow: hidden;
  border-radius: 0.656rem; /* 12.465px / 19 */
  cursor: grab;
}

.home-products-viewport.is-dragging {
  cursor: grabbing;
}

.home-products-viewport::before,
.home-products-viewport::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 3rem;
  z-index: 2;
  pointer-events: none;
}

.home-products-viewport::before {
  top: 0;
  background: linear-gradient(to bottom, var(--bg-white) 10%, rgba(255, 255, 255, 0));
}

.home-products-viewport::after {
  bottom: 0;
  background: linear-gradient(to top, var(--bg-white) 10%, rgba(255, 255, 255, 0));
}

.home-products-track {
  display: flex;
  flex-direction: column;
  gap: 1.842rem; /* 35px / 19 */
  width: 100%;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-products-viewport.is-dragging .home-products-track {
  transition: none;
}

.home-products-card {
  display: flex;
  align-items: center;
  gap: 1.737rem; /* 33px / 19 */
  width: 100%;
  flex-shrink: 0;
  padding: 2.895rem 1.684rem; /* 55px 32px / 19 */
  border: 0.053rem solid #a6c1d6;
  border-radius: 0.656rem; /* 12.465px / 19 */
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-products-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(8, 75, 129, 0.1);
}

.home-products-card--officebuddy { background-color: #eef2fd; }
.home-products-card--salesroute  { background-color: #fdf7ee; }
.home-products-card--ejaricloud  { background-color: #f4fcf4; }
.home-products-card--vanbiz      { background-color: #f4fcf4; }

.home-products-card-img {
  width: 10.737rem; /* 204px / 19 */
  height: 17.053rem; /* 324px / 19 */
  border-radius: 0.474rem; /* 9px / 19 */
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--bg-white);
}

.home-products-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-products-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.526rem; /* 10px / 19 */
}

.home-products-card-name {
  font-family: var(--font-primary); /* Sofia Pro */
  font-weight: 500;
  font-size: 1.474rem; /* 28px / 19 */
  color: var(--base-dark);
}

.home-products-card-tagline {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 1.158rem; /* 22px / 19 */
}

.home-products-card--officebuddy .home-products-card-tagline { color: #024071; }
.home-products-card--salesroute  .home-products-card-tagline { color: #d39000; }
.home-products-card--ejaricloud  .home-products-card-tagline { color: #128807; }
.home-products-card--vanbiz      .home-products-card-tagline { color: #0e9f00; }

.home-products-card-desc {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 0.895rem; /* 17px / 19 */
  line-height: 1.35;
  color: var(--base-dark);
  margin-top: 0.263rem;
}

/* ---- Nav controls (up/down + dots) ---- */
.home-products-nav {
  display: flex;
  align-items: center;
  gap: 0.947rem; /* 18px / 19 */
}

.home-products-nav-btn {
  width: 2.211rem; /* 42px / 19 */
  height: 2.211rem;
  border-radius: 50%;
  border: 0.053rem solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--base-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.home-products-nav-btn svg {
  width: 1.158rem;
  height: 1.158rem;
}

.home-products-nav-btn:hover {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #fff;
}

.home-products-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.home-products-nav-btn:disabled:hover {
  background-color: transparent;
  border-color: var(--border-medium);
  color: var(--base-dark);
}

.home-products-dots {
  display: flex;
  align-items: center;
  gap: 0.526rem; /* 10px / 19 */
}

.home-products-dot {
  width: 0.474rem; /* 9px / 19 */
  height: 0.474rem;
  border-radius: 50%;
  background-color: var(--border-medium);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  border: none;
}

.home-products-dot.active {
  width: 1.263rem; /* 24px / 19 */
  border-radius: 0.263rem;
  background-color: var(--primary-blue);
}

/* ============================================================
   18. RESPONSIVE (Our Products)
   ============================================================ */
@media (max-width: 1024px) {
  .home-products-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home-products-text {
    position: static;
  }

  .home-products-viewport {
    height: 26rem;
  }

  .home-products-card {
    padding: 1.8rem 1.4rem;
  }
}

@media (max-width: 600px) {
  .home-products-title {
    font-size: 2rem;
    line-height: 1.25;
  }

  .home-products-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .home-products-card-img {
    width: 100%;
    height: 12rem;
  }

  .home-products-viewport {
    height: 30rem;
  }
}