/* ===== Core Competency of the Fund — #foundation (.dolatEdge*, .deCard, .product-fundcard) ===== */
.product-fundcard .card-line {
  padding: 10px;
  display: flex;
}

@media (min-width: 1200px) {
  .product-fundcard .card-line {
    padding: 0.732vw;
  }
}


/* ===== Strategy cards — Variant 1 (plain, AOS-only) ===== */
.strategy-cards {
  padding-top: 35px;
  padding-bottom: 60px;
  position: relative;
  overflow-x: hidden;
}

.strategy-cards::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background: #464646;

  display: none;
}

.strategy-card {
  position: relative;
  padding-top: 18px;
  height: 100%;
}

@media (min-width: 1200px) {
  .strategy-cards {
    padding-top: 2.562vw;
    padding-bottom: 4.392vw;
  }
}

/* ============================================================
   Modern strategy-card top border (desktop ≥992px)
   Gradient line draws in (scaleX) + a light "sheen" sweeps across,
   with a soft coral→teal glow. Hover lifts the card and brightens
   the line. Draw-in is staggered to sync with each card's AOS reveal.
   ============================================================ */
@media (min-width: 992px) {

  .strategy-card {
    transition: transform .35s ease;
  }

  .strategy-card .border-span {
    position: absolute;
    left: 0;
    top: -22px;
    width: 100%;
    height: 2px;
    z-index: 2;
    border-radius: 4px;
    overflow: hidden;
    background: linear-gradient(90deg,
        #E3644B 0%,
        #E3644B 42%,
        #005D61 58%,
        #005D61 100%);
    box-shadow: 0 0 12px rgba(227, 100, 75, 0.35);
    transform: scaleX(0);
    transform-origin: left center;
    opacity: 0;
    animation: borderDraw .8s cubic-bezier(.22, 1, .36, 1) forwards;
  }

  /* traveling light sweep along the line */
  .strategy-card .border-span::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.85),
        transparent);
    transform: translateX(-120%);
    animation: borderSheen 3.2s ease-in-out 1.4s infinite;
  }

  /* stagger the draw-in to match each card's AOS entrance */
  .col-lg-2:nth-child(1) .strategy-card .border-span { animation-delay: .6s; }
  .col-lg-2:nth-child(2) .strategy-card .border-span { animation-delay: 1.2s; }
  .col-lg-2:nth-child(3) .strategy-card .border-span { animation-delay: 1.8s; }
  .col-lg-2:nth-child(4) .strategy-card .border-span { animation-delay: 2.4s; }
  .col-lg-2:nth-child(5) .strategy-card .border-span { animation-delay: 3s; }

  /* hover: lift the card + intensify the glow */
  .strategy-card:hover {
    transform: translateY(-6px);
  }

  .strategy-card:hover .border-span {
    box-shadow: 0 0 18px rgba(0, 93, 97, 0.55),
                0 0 10px rgba(227, 100, 75, 0.5);
  }

  @keyframes borderDraw {
    from {
      transform: scaleX(0);
      opacity: 0;
    }

    to {
      transform: scaleX(1);
      opacity: 1;
    }
  }

  @keyframes borderSheen {
    0% {
      transform: translateX(-120%);
    }

    55%,
    100% {
      transform: translateX(120%);
    }
  }
}

/* ============================================================
   Strategy-card AOS reveal — below 992px
   The data-aos-delay values in product.html run 600 / 1200 / 1800 / 2400 /
   3000ms. On desktop all five cards sit in one row and enter the viewport
   together, so that reads as a deliberate left-to-right stagger (measured:
   fully visible at 65 / 405 / 1006 / 1614 / 2214ms) and it is what the
   .border-span draw-in above is synced to.

   Below 992px the row wraps (3-up on md, 2-up on col-6), so each card gets
   its OWN scroll trigger — a card can be sitting on screen and still stay
   invisible for up to 3s after it. Measured at 390px before this block:
   63 / 1712 / 2305 / 2913ms and the fifth card had not appeared at all
   after 6 seconds.

   These rules keep the same left-to-right rhythm at a scroll-friendly
   speed. They beat AOS's own `[data-aos][data-aos-delay="1200"].aos-animate`
   rule (specificity 0,3,0) on specificity alone, so they do not depend on
   product.css loading after aos.css and need no !important.
   To make the cards appear with no stagger at all, set every value to 0ms.
   ============================================================ */
@media (max-width: 991px) {
  .strategy-cards .row > [class*="col-"]:nth-child(1) > .strategy-card.aos-animate { transition-delay: 0ms; }
  .strategy-cards .row > [class*="col-"]:nth-child(2) > .strategy-card.aos-animate { transition-delay: 90ms; }
  .strategy-cards .row > [class*="col-"]:nth-child(3) > .strategy-card.aos-animate { transition-delay: 180ms; }
  .strategy-cards .row > [class*="col-"]:nth-child(4) > .strategy-card.aos-animate { transition-delay: 270ms; }
  .strategy-cards .row > [class*="col-"]:nth-child(5) > .strategy-card.aos-animate { transition-delay: 360ms; }
}

@media (max-width: 991px) {
  .strategy-card {
    position: relative;
    padding: 32px 26px;
        border: 1px solid #464646;
    /*border: 1px solid rgba(255, 255, 255, 0.07);*/
    height: 100%;
    transition: 0.3s ease;
    overflow: hidden;
    min-height: 200px;
  }

  .strategy-cards {
    margin-top: 0px;
    padding-bottom: 0px;
  }

  .strategy-cards .col-lg-2,
  .strategy-cards .col-md-4,
  .strategy-cards .col-6 {
    padding: 0;
  }

  .strategy-cards::before,
  .strategy-cards::after {
    display: none;
  }

  .strategy-cards .row {
    padding: 0px 10px;
  }

  .strategy-card:hover {
    transform: translateY(0px);
    /* border-color: transparent; */
  }

  .strategy-card::before,
  .strategy-card::after,
  .strategy-card .border-span::before,
  .strategy-card .border-span::after {
    content: "";
    position: absolute;
    background: #e3644b;
    transition: 0.4s ease;
  }

  .strategy-card::before {
    top: 0;
    left: 0;
    width: 0%;
    height: 1px;
  }

  .strategy-card::after {
    top: 0;
    right: 0;
    width: 1px;
    height: 0%;
  }

  .strategy-card .border-span::before {
    bottom: 0;
    right: 0;
    width: 0%;
    height: 1px;
  }

  .strategy-card .border-span::after {
    bottom: 0;
    left: 0;
    width: 1px;
    height: 0%;
  }

  .strategy-card:hover::before {
    width: 100%;
    transition-delay: 0s;
  }

  .strategy-card:hover::after {
    height: 100%;
    transition-delay: 0.3s;
  }

  .strategy-card:hover .border-span::before {
    width: 100%;
    transition-delay: 0.6s;
  }

  .strategy-card:hover .border-span::after {
    height: 100%;
    transition-delay: 0.8s;
  }
}

@media (max-width: 450px) {
  .strategy-card {
    width: 100% !important;
  }

  .strategy-cards .col-6 {
    width: 100% !important;
  }
  
    .strategy-card {

    min-height: 150px;
  }
}


/* ============================================================
   Strategy cards — VARIANT 2 (modern glowing gradient border)
   Self-contained alternative design. Glowing rotating gradient
   ring on hover + large index numbers (01–05) + card lift.
   Uses .strategy-cards-2 / .strategy-card-2 so it never clashes
   with the Variant 1 (top-line) design above.
   ============================================================ */
@property --sc2-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.strategy-cards-2 {
  counter-reset: sc2;
}

.strategy-card-2 {
  position: relative;
  height: 100%;
  min-height: 150px;
  padding: 26px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

/* large index number watermark (01–05) */
.strategy-card-2::before {
  counter-increment: sc2;
  content: "0" counter(sc2);
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #e3644b, #005d61);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.22;
  transition: opacity 0.4s ease;
  z-index: -1;
}

/* rotating gradient ring (border only, drawn via mask) */
.strategy-card-2::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--sc2-angle),
      transparent 0%,
      #e3644b 20%,
      #005d61 45%,
      transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.strategy-card-2 h5 {
  position: relative;
  margin: 0;
  line-height: 1.6;
  font-weight: 400;
  z-index: 1;
}

.strategy-card-2:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.strategy-card-2:hover::before {
  opacity: 0.5;
}

.strategy-card-2:hover::after {
  opacity: 1;
  animation: sc2Spin 3s linear infinite;
}

@keyframes sc2Spin {
  to {
    --sc2-angle: 360deg;
  }
}


/* ============================================================
   Strategy cards — VARIANT 3 (drawing timeline border + arrow)
   A teal→coral gradient border line draws itself from left to
   right in five steps. An arrow icon rides the leading edge of
   the line; each time it stops, that step's vertical connector
   drops down and its content fades in (01 → 05).
   Desktop: horizontal line above the row.
   Mobile : the same idea rotated — vertical line on the left.
   Scoped to .strategy-cards-3 / .sc3-* so nothing else is hit.
   ============================================================ */
.strategy-cards-3 {
  --sc3-teal: #005d61;
  --sc3-coral: #e3644b;
  --sc3-gap: 46px;
  /* distance between the line and the content */
  --sc3-dur: 6s;

  position: relative;
  margin-top: 60px;
  padding-top: 4px;
  padding-bottom: 40px;
}

/* ---------- the animated border line ---------- */
.sc3-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
}

.sc3-track-base,
.sc3-track-fill {
  position: absolute;
  inset: 0;
  border-radius: 4px;
}

/* dim rail the bright line travels over */
.sc3-track-base {
  background: rgba(255, 255, 255, 0.12);
}

/* bright teal → coral gradient, revealed step by step */
.sc3-track-fill {
  background: linear-gradient(90deg,
      var(--sc3-teal) 0%,
      #0a7c78 35%,
      #c8563f 70%,
      var(--sc3-coral) 100%);
  box-shadow: 0 0 14px rgba(0, 93, 97, 0.45),
    0 0 18px rgba(227, 100, 75, 0.35);
  clip-path: inset(0 100% 0 0);
}

/* the arrow that rides the leading edge */
.sc3-arrow {
  position: absolute;
  top: 50%;
  left: 0;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  margin-left: -21px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #000;
  box-shadow: 0 0 22px rgba(227, 100, 75, 0.45),
    0 0 14px rgba(0, 93, 97, 0.4);
  opacity: 0;
  z-index: 3;
}

/* gradient ring around the arrow (mask keeps the middle clear) */
.sc3-arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--sc3-teal), var(--sc3-coral));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.sc3-arrow svg {
  width: 18px;
  height: 18px;
  position: relative;
  z-index: 1;
}

/* ---------- the five steps ---------- */
.sc3-row {
  padding-top: var(--sc3-gap);
}

.sc3-item {
  position: relative;
  height: 100%;
  padding: 0 26px 0 22px;
  opacity: 0;
  transform: translateY(16px);
}

/* vertical connector dropping from the line to the content */
.sc3-tick {
  position: absolute;
  left: 0;
  top: calc(var(--sc3-gap) * -1);
  width: 2px;
  height: var(--sc3-gap);
  border-radius: 4px;
  background: linear-gradient(180deg, var(--sc3-coral), rgba(0, 93, 97, 0.15));
  transform: scaleY(0);
  transform-origin: top center;
}

/* dot where the connector meets the border line */
.sc3-tick::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--sc3-coral);
  box-shadow: 0 0 10px rgba(227, 100, 75, 0.8);
}

.sc3-num {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--sc3-coral), var(--sc3-teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sc3-item h5 {
  margin: 0;
  line-height: 1.7;
  font-weight: 400;
}

/* ---------- play the sequence (class added by JS on scroll) ---------- */
.strategy-cards-3.is-play .sc3-track-fill {
  animation: sc3Draw var(--sc3-dur) cubic-bezier(.65, 0, .35, 1) forwards;
}

.strategy-cards-3.is-play .sc3-arrow {
  animation: sc3Ride var(--sc3-dur) cubic-bezier(.65, 0, .35, 1) forwards,
    sc3ArrowIn .4s ease forwards;
}

.strategy-cards-3.is-play .sc3-item {
  animation: sc3ItemIn .7s cubic-bezier(.22, 1, .36, 1) forwards;
}

.strategy-cards-3.is-play .sc3-tick {
  animation: sc3TickIn .5s cubic-bezier(.22, 1, .36, 1) forwards;
}

/* each step starts the moment the arrow finishes that segment */
.strategy-cards-3.is-play .col:nth-child(1) .sc3-item,
.strategy-cards-3.is-play [class*="col-"]:nth-child(1) .sc3-item,
.strategy-cards-3.is-play [class*="col-"]:nth-child(1) .sc3-tick {
  animation-delay: .72s;
}

.strategy-cards-3.is-play [class*="col-"]:nth-child(2) .sc3-item,
.strategy-cards-3.is-play [class*="col-"]:nth-child(2) .sc3-tick {
  animation-delay: 1.92s;
}

.strategy-cards-3.is-play [class*="col-"]:nth-child(3) .sc3-item,
.strategy-cards-3.is-play [class*="col-"]:nth-child(3) .sc3-tick {
  animation-delay: 3.12s;
}

.strategy-cards-3.is-play [class*="col-"]:nth-child(4) .sc3-item,
.strategy-cards-3.is-play [class*="col-"]:nth-child(4) .sc3-tick {
  animation-delay: 4.32s;
}

.strategy-cards-3.is-play [class*="col-"]:nth-child(5) .sc3-item,
.strategy-cards-3.is-play [class*="col-"]:nth-child(5) .sc3-tick {
  animation-delay: 5.52s;
}

/* line grows 20% → 40% → 60% → 80% → 100%, pausing on each step */
@keyframes sc3Draw {
  0% {
    clip-path: inset(0 100% 0 0);
  }

  12%,
  20% {
    clip-path: inset(0 80% 0 0);
  }

  32%,
  40% {
    clip-path: inset(0 60% 0 0);
  }

  52%,
  60% {
    clip-path: inset(0 40% 0 0);
  }

  72%,
  80% {
    clip-path: inset(0 20% 0 0);
  }

  92%,
  100% {
    clip-path: inset(0 0 0 0);
  }
}

/* arrow uses the same timing so it always sits on the leading edge */
@keyframes sc3Ride {
  0% {
    left: 0;
  }

  12%,
  20% {
    left: 20%;
  }

  32%,
  40% {
    left: 40%;
  }

  52%,
  60% {
    left: 60%;
  }

  72%,
  80% {
    left: 80%;
  }

  92%,
  100% {
    /* stop short of the edge so the arrow box cannot push the
       page into a horizontal scroll */
    left: calc(100% - 21px);
  }
}

@keyframes sc3ArrowIn {
  from {
    opacity: 0;
    transform: scale(.6);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes sc3ItemIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sc3TickIn {
  to {
    transform: scaleY(1);
  }
}

/* ---------- tablet / mobile: same idea, rotated vertical ---------- */
@media (max-width: 991px) {
  .strategy-cards-3 {
    --sc3-gap: 26px;
    margin-top: 40px;
    padding-top: 0;
    padding-bottom: 20px;
  }

  /* the line runs down the left edge */
  .sc3-track {
    top: 0;
    bottom: 0;
    left: 20px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .sc3-track-fill {
    background: linear-gradient(180deg,
        var(--sc3-teal) 0%,
        #0a7c78 35%,
        #c8563f 70%,
        var(--sc3-coral) 100%);
    clip-path: inset(0 0 100% 0);
  }

  .sc3-arrow {
    left: 1px;
    top: 0;
    margin-top: -18px;
    margin-left: -18px;
    width: 36px;
    height: 36px;
    transform: rotate(90deg);
  }

  .sc3-arrow svg {
    width: 16px;
    height: 16px;
  }

  .sc3-row {
    padding-top: 0;
  }

  .sc3-row>[class*="col-"] {
    width: 100%;
  }

  .sc3-item {
    padding: 0 0 34px 52px;
  }

  /* connector now points right, into the text */
  .sc3-tick {
    left: 21px;
    top: 11px;
    width: 26px;
    height: 2px;
    background: linear-gradient(90deg, var(--sc3-coral), rgba(0, 93, 97, 0.15));
    transform: scaleX(0);
    transform-origin: left center;
  }

  .sc3-tick::before {
    top: 50%;
    left: 0;
    margin-top: -4px;
    margin-left: -4px;
  }

  .strategy-cards-3.is-play .sc3-arrow {
    animation: sc3RideY var(--sc3-dur) cubic-bezier(.65, 0, .35, 1) forwards,
      sc3ArrowInY .4s ease forwards;
  }

  .strategy-cards-3.is-play .sc3-tick {
    animation-name: sc3TickInX;
  }

  @keyframes sc3Draw {
    0% {
      clip-path: inset(0 0 100% 0);
    }

    12%,
    20% {
      clip-path: inset(0 0 80% 0);
    }

    32%,
    40% {
      clip-path: inset(0 0 60% 0);
    }

    52%,
    60% {
      clip-path: inset(0 0 40% 0);
    }

    72%,
    80% {
      clip-path: inset(0 0 20% 0);
    }

    92%,
    100% {
      clip-path: inset(0 0 0 0);
    }
  }

  @keyframes sc3RideY {
    0% {
      top: 0;
    }

    12%,
    20% {
      top: 20%;
    }

    32%,
    40% {
      top: 40%;
    }

    52%,
    60% {
      top: 60%;
    }

    72%,
    80% {
      top: 80%;
    }

    92%,
    100% {
      top: 100%;
    }
  }

  @keyframes sc3ArrowInY {
    from {
      opacity: 0;
      transform: rotate(90deg) scale(.6);
    }

    to {
      opacity: 1;
      transform: rotate(90deg) scale(1);
    }
  }

  @keyframes sc3TickInX {
    to {
      transform: scaleX(1);
    }
  }
}

@media (prefers-reduced-motion: reduce) {

  .strategy-cards-3 .sc3-item,
  .strategy-cards-3 .sc3-arrow {
    opacity: 1;
    transform: none;
  }

  .strategy-cards-3 .sc3-tick {
    transform: none;
  }

  .strategy-cards-3 .sc3-track-fill {
    clip-path: none;
  }

  .strategy-cards-3.is-play .sc3-track-fill,
  .strategy-cards-3.is-play .sc3-arrow,
  .strategy-cards-3.is-play .sc3-item,
  .strategy-cards-3.is-play .sc3-tick {
    animation: none;
  }
}


/* ===== Investment Process — Q-Engine infinity diagram (.infinitedesign, .infiniteSVG, .movingArrow, .ifLabels) ===== */

.movingArrow {
  stroke: #e2644b;
  stroke-width: 5;
  stroke-linecap: round;
  fill: none;
}

.movingArrow path {
  transform: rotate(180);
  transform-origin: center;
}


.infiniteSVG {
  padding: 40px 0px;
}

.infinitedesign {
  position: relative;
  /*--if-label-px: 20;*/
   /*--if-label-px: 16;*/
  /*--if-scale: 1;*/
}

/*.ifLabels text {*/
/*  fill: #fff;*/
/*  font-size: calc(var(--if-label-px) * 1px / var(--if-scale));*/
/*}*/

.infiniteSVG-wrapper svg {
  overflow: visible;
}

/*.qEngineLabel {*/
/*  font-size: 25px;*/
/*  font-weight: 700;*/
/*  letter-spacing: 0.4px;*/
/*}*/

/*@media (min-width: 768px) and (max-width: 991px) {*/
/*  .infinitedesign {*/
/*    --if-label-px: 16;*/
/*  }*/
/*}*/

@media (min-width: 1200px) {
  .infiniteSVG {
    padding: 2.928vw 0;
  }
}

@media (max-width: 767px) {
  .infiniteSVG {
    padding: 20px 0;
  }
  
  .infinitedesign {
    --if-label-px: 13;
  }

  .infiniteSVG-wrapper svg {
    display: block;
    width: 100%;
    height: auto;
  }
  
  .infiniteSVG-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
    transform: rotate(90deg) scale(1.66);
    transform-origin: center;
    margin: 54.4% 0;
  }

  /*.ifLabels .ifLabelWrap {*/
  /*  transform: rotate(-90deg);*/
  /*}*/

  /*.ifLabels .w1 { transform-origin: 185px -55px; }*/
  /*.ifLabels .w2 { transform-origin: -105px 241px; }*/
  /*.ifLabels .w3 { transform-origin: 194px 495px; }*/
  /*.ifLabels .w4 { transform-origin: 555px 555px; }*/
  /*.ifLabels .w5 { transform-origin: 900px 425px; }*/
  /*.ifLabels .w6 { transform-origin: 900px 60px; }*/
  /*.ifLabels .w7 { transform-origin: 455px -50px; }*/

  /*.qEngineLabel {*/
  /*  font-size: 34px;*/
  /*  transform-origin: 563px 234px;*/
  /*  transform: rotate(-90deg);*/
  /*}*/
}

/*@media (max-width: 576px) {*/

  
/*  .infinitedesign {*/
/*    --if-label-px: 10;*/
/*  }*/
  
/*  .ifLabels .w1 { transform-origin: 185px -55px; }*/
/*  .ifLabels .w2 { transform-origin: -105px 241px; }*/
/*  .ifLabels .w3 { transform-origin: 194px 520px; }*/
/*  .ifLabels .w4 { transform-origin: 555px 555px; }*/
/*  .ifLabels .w5 { transform-origin: 900px 425px; }*/
/*  .ifLabels .w6 { transform-origin: 900px 60px; }*/
/*  .ifLabels .w7 { transform-origin: 455px -50px; }*/
  
/*}*/


.ifLabel {
  max-width: 165px;
  font-weight: 400;
    color: white;
    text-align: center;
  position: absolute;
}

.text1 {
  top: 15%;
  left: 25%;
}

.text2 {
  top: 44%;
    left: 4%;
    max-width: 130px;
}

.text3 {
      top: 75%;
    left: 25%;

}

.text4 {
      top: 83%;
    right: 25%;
}

.text5 {
  top: 73%;
  right: 5%;
}


.text6 {
      top: 15%;
    right: 7%;
}

.text7 {
      top: 13%;
    right: 37%;
}


@media (min-width:1200px) {
    .ifLabel {
  max-width: 12.132vw;
}

.text1 {
  top: 15%;
  left: 25%;
}

.text2 {
  top: 44%;
    left: 6%;
    max-width: 10.294vw;
}

.text3 {
      top: 75%;
    left: 25%;

}

.text4 {
      top: 83%;
    right: 25%;
}

.text5 {
  top: 70%;
  right: 5%;
}


.text6 {
      top: 20%;
    right: 7%;
}

.text7 {
      top: 13%;
    right: 37%;
}
}


@media (max-width:992px) {

  .ifLabel {
  max-width: 130px;
  font-size: 14px;

}

.text1 {
  top: 13%;
  left: 22%;
}

.text2 {
        top: 44%;
        left: 2%;
        max-width: 110px;

}

.text3 {
      top: 74%;
    left: 25%;

}

.text4 {
      top: 83%;
    right: 25%;
}

.text5 {
  top: 70%;
  right: 2%;
}


.text6 {
      top: 13%;
    right: 5%;
}

.text7 {
      top: 10%;
    right: 32%;
}

}

@media (max-width:768px) {

  .ifLabel {
  max-width: 100px;
  font-size: 10px;
  transform: rotate(-90deg) !important;
}

.text1 {
top: 2%;
        left: 22%;
        max-width: 80px;
}

.text2 {
        top: 44%;
        left: 0%;
        max-width: 110px;

}

.text3 {
      top: 83%;
    left: 25%;
    max-width: 80px;

}

.text4 {
top: 85%;
        right: 37%;
}

.text5 {
  top: 75%;
  right: 0%;
}


.text6 {
      top: 13%;
    right: 0%;
}

.text7 {
top: 0%;
        right: 38%;
        max-width: 80px;
}

}



@media (max-width:480px) {

  .ifLabel {
  max-width: 80px;
  font-size: 8px;
}

.text1 {
        top: 5%;
        left: 20%;
        max-width: 60px;
}

.text2 {
        top: 44%;
        left: 2%;
        /* max-width: 110px; */

}

.text3 {
      top: 83%;
    left: 25%;
    max-width: 60px;

}

.text4 {
top: 85%;
        right: 37%;
}

.text5 {
        top: 75%;
        right: 2%;

}


.text6 {
        top: 20%;
        right: 0%;
}

.text7 {
        top: 2%;
        right: 40%;
        max-width: 60px;
}


}



@media (max-width:400px) {

  .ifLabel {
  max-width: 80px;
  font-size: 7px;
}

.text1 {
        top: 0%;
        left: 20%;
        max-width: 60px;
}

.text2 {
        top: 44%;
        left: 0%;
        /* max-width: 110px; */

}

.text3 {
      top: 83%;
    left: 25%;
    max-width: 50px;

}

.text4 {
top: 85%;
        right: 37%;
}

.text5 {
        top: 75%;
        right: -2%;

}


.text6 {
        top: 20%;
        right: -4%;
}

.text7 {
        top: 0%;
        right: 40%;
        max-width: 60px;
}

}



.qEngineLabel {
    position: absolute;
    max-width: 250px;
    text-align: center;
    color: teal;
    font-weight: 700;
    top: 45%;
    right: 23%;
}

@media (min-width:1200px) {
  .qEngineLabel {
    max-width: 18.382vw;
    right: 25%;
}

}

@media (max-width:992px) {
  .qEngineLabel {
    max-width: 150px;

    right: 25%;
    font-size: 16px;
}
}


@media (max-width:768px ) {
  .qEngineLabel {
        max-width: 80px;
        top: 40%;
        right: 27%;
        font-size: 14px;
        transform: rotate(-90deg) !important;
}
}

@media (max-width:480px ) {
.qEngineLabel {
        max-width: 60px;
        top: 40%;
        right: 27%;
        font-size: 10px;
        transform: rotate(-90deg) !important;
    }
}



/* ===== Adaptive Model — animated line/node diagram (.product-linepoint, .line, .node, .label) ===== */


.line {
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;

  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
}

.node {
  fill: #0b0b0b;
  stroke: white;
  stroke-width: 2;

  transition: all 0.4s ease;
}

.node.active {
  stroke: #005d61;
}

.label {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.label.show {
  opacity: 1;
}

.product-linepoint {
  position: relative;
  overflow: visible;
}

.product-linepoint p {
  font-weight: 400;
  max-width: 155px;
  color: white;
  text-align: center;
  position: absolute;
}


@media (min-width: 1200px) {
  .product-linepoint p {
    max-width: 11.397vw;
  }


  #t1 {
    top: -2%;
    left: 5%;
  }

  #t2 {
    top: 15%;
    left: 12%;
  }

  #t3 {
    left: 44%;
  }

  #t4 {
    bottom: -12%;
    left: 14%;
  }

  #t5 {
    bottom: 22%;
    left: 25%;
  }

  #t6 {
    bottom: 12%;
    left: 41%;
  }

  #t7 {
    top: 17%;
    left: 43%;
  }

  #t8 {
    top: 0%;
    right: 19%;
  }

  #t9 {
    top: 58%;
    right: 28%;
    max-width: 10%;
  }

  #t10 {
    top: -5%;
    right: 5%;
  }

  #t11 {
    bottom: -5%;
    right: 5%;
  }

  #t12 {
    bottom: -10%;
    right: 35%;
  }

}

@media (min-width: 992px) and (max-width: 1199px) {
  .linepointWrp {
    padding: 40px 0px;
  }

  .product-linepoint p {
    max-width: 155px;
  }

  #t1 {
    top: 3%;
    left: 3%;
  }

  #t2 {
    top: 18%;
    left: 12%;
  }

  #t3 {
    left: 40%;
  }

  #t4 {
    bottom: -3%;
    left: 14%;
  }

  #t5 {
    bottom: 25%;
    left: 22%;
  }

  #t6 {
    bottom: 21%;
    left: 41%;
  }

  #t7 {
    top: 18%;
    left: 41%;
  }

  #t8 {
    top: 2%;
    right: 19%;
  }

  #t9 {
    top: 60%;
    right: 25%;
  }

  #t10 {
    top: 8%;
    right: 2%;
  }

  #t11 {
    bottom: 2%;
    right: 5%;
  }

  #t12 {
    bottom: -5%;
    right: 30%;
  }


}

@media (min-width: 768px) and (max-width: 991px) {
  .linepointWrp {
    padding: 40px 0px;
  }

  .product-linepoint p {
    max-width: 130px;
    font-size: 14px;
  }


  #t1 {
    top: 5%;
    left: 0%;
  }

  #t2 {
    top: 20%;
    left: 9%;
  }

  #t3 {
    top: 5%;
    left: 40%;
  }

  #t4 {
    bottom: 0%;
    left: 10%;
  }

  #t5 {
    bottom: 25%;
    left: 22%;
  }

  #t6 {
    bottom: 18%;
    left: 40%;
  }

  #t7 {
    top: 20%;
    left: 40%;
  }

  #t8 {
    top: 5%;
    right: 17%;
  }

  #t9 {
    top: 58%;
    right: 22%;
  }

  #t10 {
    top: 3%;
    right: 0%;
  }

  #t11 {
    bottom: 5%;
    right: 0%;
  }

  #t12 {
    bottom: 0%;
    right: 30%;
  }

}

@media (min-width: 576px) and (max-width: 767px) {
  .linepointWrp {
    width: 100%;
    height: auto;
    transform: rotate(90deg);
    transform-origin: center;
    margin: 80px 0;
    padding: 60px 0px;
  }

  .product-linepoint p {
    max-width: 110px;
    font-size: 12px;
    line-height: 1.4;
  }

  #t1 {
    top: -20%;
    left: unset;
    right: 10%;
  }

  #t2 {
    top: -5%;
    left: 60%;
  }

  #t3 {
    top: 30%;
    left: 70%;
  }

  #t4 {
    bottom: unset;
    top: 5%;
    left: 10%;
  }

  #t5 {
    bottom: 65%;
    left: 30%;
  }

  #t6 {
    bottom: 40%;
    left: 25%;
  }

  #t7 {
    top: 45%;
    left: 60%;
  }

  #t8 {
    top: unset;
    /*bottom: 8%;*/
    /*right: 17%;*/
    bottom:10%;
    right:10%;
  }

  #t9 {
    top: 72%;
    right: 48%;
  }

  #t10 {
    top: unset;
    bottom: -30%;
    right: 10%;
  }

  #t11 {
    bottom: -40%;
    right: 55%;
  }

  #t12 {
    bottom: 22%;
    right: 70%;
  }
}


@media (max-width: 575px) {
  .product-linepoint p {
    max-width: 130px;
    font-size: 14px;
    line-height: 1.4;
  }

  #t1 {
    top: 0%;
    left: unset;
    right: 10%;
  }

    #t2 {
        top: 15%;
        left: 63%;
    }
  /*#t2 {*/
  /*  top: 20%;*/
  /*  left: 60%;*/
  /*}*/

  #t3 {
    top: 43%;
    left: 70%;
  }

  #t4 {
    bottom: unset;
    top: 12%;
    left: 10%;
  }

  #t5 {
    bottom: 65%;
    /*left: 10%;*/
    left: 15%;
  }

  #t6 {
    /*max-width: 120px;*/
    /*bottom: 52%;*/
            max-width: 160px;
        bottom: 50%;
    left: 15%;
  }

  #t7 {
    top: 51%;
    left: 55%;
    
    
  }

  #t8 {
    top: unset;
    bottom: 21%;
    right: 7%;
  }

  #t9 {
    /*max-width: 50px;*/
    /*top: 62%;*/
    /*right: 55%;*/
    
            top: 65%;
        right: 53%;

  }

  #t10 {
    top: unset;
    bottom: 0%;
    right: 10%;
    
    /*bottom: -2%;*/
    /*    right: 55%;*/
        max-width: 160px;
  }

  #t11 {
bottom: -2%;
        right: 55%;
        max-width: 160px;
  }

  #t12 {
    /*bottom: 42%;*/
    /*right: 60%;*/
    
    bottom: 40%;
        right: 65%;
  }
}


@media (max-width: 430px) {
  .product-linepoint p {
    max-width: 110px;
    font-size: 12px;
    line-height: 1.4;
  }

  #t1 {
    top: 0%;
    left: unset;
    right: 10%;
  }

    #t2 {
        top: 15%;
        left: 63%;
    }
  /*#t2 {*/
  /*  top: 20%;*/
  /*  left: 60%;*/
  /*}*/

  #t3 {
top: 41%;
        left: 75%;
        max-width: 80px;
  }

  #t4 {
    bottom: unset;
    top: 12%;
    left: 10%;
  }

  #t5 {
    bottom: 65%;
    /*left: 10%;*/
    left: 15%;
  }

  #t6 {
    /*max-width: 120px;*/
    /*bottom: 52%;*/
            max-width: 160px;
        bottom: 50%;
    left: 6%;
  }

  #t7 {
    top: 51%;
    left: 52%;
    
    
  }

  #t8 {
    top: unset;
    bottom: 21%;
    right: 7%;
  }

  #t9 {
    /*max-width: 50px;*/
    /*top: 62%;*/
    /*right: 55%;*/
    
            top: 65%;
        right: 53%;

  }

  #t10 {
    top: unset;
    bottom: 0%;
    right: 7%;
    
    /*bottom: -2%;*/
    /*    right: 55%;*/
        max-width: 160px;
  }

  #t11 {
bottom: -2%;
        right: 55%;
        max-width: 160px;
  }

  #t12 {
    /*bottom: 42%;*/
    /*right: 60%;*/
    
    bottom: 40%;
        right: 65%;
  }
}



/*@media (max-width: 400px) {*/
/*  .product-linepoint p {*/
/*    max-width: 100px;*/
/*    font-size: 12px;*/
/*    line-height: 1.4;*/
/*  }*/

/*  #t1 {*/
/*    top: 0%;*/
/*    left: unset;*/
/*    right: 10%;*/
/*  }*/

/*  #t2 {*/
/*    top: 20%;*/
/*    left: 60%;*/
/*  }*/

/*  #t3 {*/
/*    top: 37%;*/
/*    left: 77%;*/
/*    max-width: 70px;*/
/*  }*/

/*  #t4 {*/
/*    bottom: unset;*/
/*    top: 12%;*/
/*    left: 10%;*/
/*  }*/

/*  #t5 {*/
/*    max-width: 160px;*/
/*    bottom: 66%;*/
/*    left: 3%;*/
/*  }*/

/*  #t6 {*/
/*    max-width: 160px;*/
/*    bottom: 55%;*/
/*    left: 3%;*/

/*  }*/

/*  #t7 {*/
/*    top: 51%;*/
/*    left: 55%;*/
/*  }*/

/*  #t8 {*/
/*    top: unset;*/
/*    bottom: 20%;*/
/*    right: 8%;*/
/*  }*/

/*  #t9 {*/
/*    max-width: 80px;*/
/*    top: 62%;*/
/*    right: 50%;*/

/*  }*/

/*  #t10 {*/
/*    top: unset;*/
/*    bottom: -1%;*/
/*    right: 10%;*/
/*  }*/

/*  #t11 {*/
/*    bottom: -5%;*/
/*    right: 55%;*/
/*  }*/

/*  #t12 {*/
/*    bottom: 40%;*/
/*    right: 60%;*/
/*  }*/
/*}*/

.product-fundcard p,
.deCard p {
  color: #fff;
}

@media (max-width:992px) {
  .deCard {
    padding-bottom: 0px;
  }
}

/* ===== Stats section — "Multi-Dimensional Rigorously Back-Tested Returns" (.stats-section, .number-card) ===== */

@media (min-width:576px) {
  .stats-section {
    padding-top: 80px;
  }
}

.number-card {
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.057);
  height: 100%;
  transition: .3s;
  border: 1px solid #464646;
}

.number-card:hover {
  transform: translateY(-5px);
}

.number-card .title {
  font-size: 35px;
  font-weight: 700;
  color: #E3644B;
}

@media (min-width:1200px) {
  .stats-section {
    padding-top: 3.66vw;
  }

  .number-card {
    padding: 2.196vw 1.464vw;
    border-radius: 1.098vw;
    box-shadow: 0 0.366vw 1.464vw rgba(255, 255, 255, 0.027);
  }

  .number-card .title {
    font-size: 2.562vw;
  }
}
/* =========================================================================
   PRODUCT 2  —  "Key Features" flexible spec grid  (namespaced .keyFeat*)
   Auto-fit grid: reflows cleanly for ANY number of features (6, 8, 10...).
   Distinct look from the pillars — big ghost numbers + label/value pairs.
   ========================================================================= */
.keyFeatSec {
   position: relative;
   padding: 20px 0 100px;
}

.keyFeatHead {
   margin-bottom: 44px;
}

.keyFeatGrid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 24px;
   /*min-height: 400px;*/
}

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

@media (max-width: 767px) {
   .keyFeatGrid {
      grid-template-columns: 1fr;
      min-height: auto;
   }
}

.keyFeatCard {
       min-height: 150px;
   position: relative;
   isolation: isolate;
   overflow: hidden;
   padding: 30px 26px 30px;
   border-radius: 14px;
   background: rgba(255, 255, 255, 0.022);
   /*background:#000000;*/
   border: 1px solid rgba(255, 255, 255, 0.08);
   transition: transform .45s cubic-bezier(.2, .7, .2, 1),
      border-color .45s ease,
      background .45s ease,
      box-shadow .45s ease;
}

/* oversized ghost number sitting behind the content */
.keyFeatNum {
   position: absolute;
   top: 2px;
   right: 16px;
   z-index: -1;
   font-size: 78px;
   font-weight: 800;
   line-height: 1;
   letter-spacing: -2px;
   color: rgba(255, 255, 255, 0.06);
   transition: color .45s ease, transform .45s ease;
}

.keyFeatBody {
   position: relative;
}

/* decorative number is drawn via CSS so it isn't real text (not evaluated for contrast) */
.keyFeatNum::before {
   content: attr(data-num);
}

.keyFeatBody {
   position: relative;
}


.keyFeatLabel {
   margin: 0 0 12px;
   font-weight: 700;
   letter-spacing: 1.6px;
   text-transform: uppercase;
   color: #2fa3a8;
}

.keyFeatValue {
   margin: 0;
   color: rgba(255, 255, 255, 0.82);
}

/* baseline accent that sweeps in left -> right on hover */
.keyFeatCard::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: 0;
   width: 100%;
   height: 2px;
   background: linear-gradient(90deg, #005D61, #E3644B);
   transform: scaleX(0);
   transform-origin: left center;
   transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}

.keyFeatCard:hover {
   transform: translateY(-6px);
   background: rgba(255, 255, 255, 0.045);
   border-color: rgba(255, 255, 255, 0.2);
   box-shadow: 0 20px 40px -26px rgba(0, 0, 0, 0.9);
}

.keyFeatCard:hover .keyFeatNum {
   /*color: rgba(0, 93, 97, 0.22);*/
   color: #ff7f5069;
   transform: translateY(2px);
}

.keyFeatCard:hover::after {
   transform: scaleX(1);
}

@media (max-width: 767px) {
   .keyFeatSec {
      padding: 10px 0 70px;
   }

   .keyFeatCard {
      padding: 24px 20px;
   }

   .keyFeatNum {
      font-size: 64px;
   }
}


/* ============================================================
   Strategy cards — VARIANT 4
   The layout of Variant 1 (a border line above each of the five
   columns), but the border now EXPANDS left → right as one
   continuous run and the coral chevron rides its leading edge.
   Each time a segment finishes drawing, that column's text
   fades up. Scoped to .strategy-cards-4 / .sc4-* only.
   ============================================================ */
.strategy-cards-4 {
  --sc4-coral: #e3644b;
  --sc4-teal: #005d61;
  --sc4-tail: 0px;
  /* how far short of its column a line stops (0 = edge to edge) */
  --sc4-pad: 26px;
  /* breathing room between two columns of text */
  --sc4-dur: 6s;
  /* full run: 5 segments × 1.2s */

  position: relative;
  margin-top: 60px;
  padding-bottom: 40px;
}

.sc4-card {
  position: relative;
  height: 100%;
  padding: 30px var(--sc4-pad) 0 0;
}

/* One border segment per column. Every card runs its own full
   coral → teal gradient, and the segments sit edge to edge with no
   gap and no padding between them.

   The line grows by animating its own WIDTH (not scaleX) — that is
   what lets the arrow below be pinned to `left: 100%` of it. */
.sc4-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--sc4-coral) 0%, var(--sc4-teal) 100%);
  box-shadow: 0 0 12px rgba(227, 100, 75, 0.35);
  transition: box-shadow .35s ease;
}

/* The last line is the only one that ends on the container edge, so
   it stops short to leave the arrow room to sit inside. */
.strategy-cards-4 [class*="col-"]:nth-child(5) {
  --sc4-tail: 24px;
}

.sc4-card h5 {
  margin: 0;
  line-height: 1.7;
  font-weight: 400;
  opacity: 0;
  transform: translateY(14px);
}

/* The chevron lives INSIDE its own line and is pinned to `left: 100%`
   of it — so it is not positioned by a parallel animation that has to
   be kept in step, it simply IS the tip of the line at every frame.
   No drift is possible, at any width, on any card.

   margin-left is the chevron's own ink inset inside its 26px box, so
   the arrow's tail lands exactly on the end of the line and the whole
   head reads as leading it. */
.sc4-arrow-ico {
  position: absolute;
  left: 100%;
  top: 50%;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(227, 100, 75, 0.75));
}

.sc4-arrow-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- run the sequence (JS adds .is-play on scroll) ---------- */
.strategy-cards-4.is-play .sc4-line {
  animation: sc4Draw .72s cubic-bezier(.4, 0, .2, 1) forwards;
}

.strategy-cards-4.is-play .sc4-card h5 {
  animation: sc4TextIn .45s cubic-bezier(.22, 1, .36, 1) forwards;
}

/* Each card owns an arrow, but only one is ever visible: card N's
   arrow is lit for exactly its own 1.2s slot and switches off on the
   same frame card N+1's switches on. Because both sit at the tip of
   their own line and the lines butt together, the hand-over is
   invisible — it reads as one arrow travelling the whole run. */
.strategy-cards-4.is-play .sc4-arrow-ico {
  animation: sc4IcoOn 1.2s linear forwards;
}

.strategy-cards-4.is-play [class*="col-"]:nth-child(5) .sc4-arrow-ico {
  /* the last one has nothing to hand over to — it stays */
  animation-name: sc4IcoStay;
}

/* segment N draws during its own 0.72s slot, and its arrow is lit
   for the whole 1.2s slot that surrounds it */
.strategy-cards-4.is-play [class*="col-"]:nth-child(1) .sc4-line,
.strategy-cards-4.is-play [class*="col-"]:nth-child(1) .sc4-arrow-ico {
  animation-delay: 0s;
}

.strategy-cards-4.is-play [class*="col-"]:nth-child(2) .sc4-line,
.strategy-cards-4.is-play [class*="col-"]:nth-child(2) .sc4-arrow-ico {
  animation-delay: 1.2s;
}

.strategy-cards-4.is-play [class*="col-"]:nth-child(3) .sc4-line,
.strategy-cards-4.is-play [class*="col-"]:nth-child(3) .sc4-arrow-ico {
  animation-delay: 2.4s;
}

.strategy-cards-4.is-play [class*="col-"]:nth-child(4) .sc4-line,
.strategy-cards-4.is-play [class*="col-"]:nth-child(4) .sc4-arrow-ico {
  animation-delay: 3.6s;
}

.strategy-cards-4.is-play [class*="col-"]:nth-child(5) .sc4-line,
.strategy-cards-4.is-play [class*="col-"]:nth-child(5) .sc4-arrow-ico {
  animation-delay: 4.8s;
}

/* …and its text starts fading up at ~40% of that draw, so the copy
   is already fully readable by the time the line reaches its end
   (.3s start + .45s fade = .75s, against a .72s draw) */
.strategy-cards-4.is-play [class*="col-"]:nth-child(1) .sc4-card h5 {
  animation-delay: .3s;
}

.strategy-cards-4.is-play [class*="col-"]:nth-child(2) .sc4-card h5 {
  animation-delay: 1.5s;
}

.strategy-cards-4.is-play [class*="col-"]:nth-child(3) .sc4-card h5 {
  animation-delay: 2.7s;
}

.strategy-cards-4.is-play [class*="col-"]:nth-child(4) .sc4-card h5 {
  animation-delay: 3.9s;
}

.strategy-cards-4.is-play [class*="col-"]:nth-child(5) .sc4-card h5 {
  animation-delay: 5.1s;
}

/* hover: brighten the segment */
.sc4-card:hover .sc4-line {
  box-shadow: 0 0 18px rgba(227, 100, 75, 0.6),
    0 0 12px rgba(0, 93, 97, 0.5);
}

@keyframes sc4Draw {
  to {
    width: calc(100% - var(--sc4-tail));
  }
}

@keyframes sc4TextIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* lit for the whole slot, then off on the very last frame so the
   next card's arrow takes over without a flicker */
@keyframes sc4IcoOn {

  0%,
  99.9% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes sc4IcoStay {

  0%,
  100% {
    opacity: 1;
  }
}

/* ---------- tablet / mobile ---------- */
@media (max-width: 991px) {
  .strategy-cards-4 {
    /* stacked, so every line now ends on the container edge and
       each one needs the same room for its arrow */
    --sc4-tail: 22px;
    --sc4-pad: 18px;
    margin-top: 40px;
  }

  .sc4-card {
    padding: 22px var(--sc4-pad) 34px 0;
  }

  .sc4-arrow-ico {
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -5px;
  }
}

@media (max-width: 575px) {
  .sc4-card {
    padding-bottom: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .strategy-cards-4 .sc4-line {
    width: calc(100% - var(--sc4-tail));
  }

  .strategy-cards-4 .sc4-card h5 {
    opacity: 1;
    transform: none;
  }

  .strategy-cards-4 .sc4-arrow-ico {
    display: none;
  }

  .strategy-cards-4.is-play .sc4-line,
  .strategy-cards-4.is-play .sc4-card h5,
  .strategy-cards-4.is-play .sc4-arrow-ico {
    animation: none;
  }
}


/* ============================================================
   Strategy cards — VARIANT 5
   Identical mechanics to Variant 4 (per-column border segments
   that expand left → right, text fading up at ~40% of each draw),
   with the chevron swapped for a glowing white dot that rides the
   leading edge with a soft pulsing halo behind it.
   Scoped to .strategy-cards-5 / .sc5-* only.
   ============================================================ */
.strategy-cards-5 {
  --sc5-coral: #e3644b;
  --sc5-teal: #005d61;
  --sc5-tail: 0px;
  /* how far short of its column a line stops (0 = edge to edge) */
  --sc5-pad: 26px;
  /* breathing room between two columns of text */

  position: relative;
  margin-top: 60px;
  padding-bottom: 40px;
}

.sc5-card {
  position: relative;
  height: 100%;
  padding: 30px var(--sc5-pad) 0 0;
}

/* one border segment per column — grows by animating its own width,
   which is what lets the dot be pinned to `left: 100%` of it */
.sc5-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--sc5-coral) 0%, var(--sc5-teal) 100%);
  box-shadow: 0 0 12px rgba(227, 100, 75, 0.35);
  transition: box-shadow .35s ease;
}

/* the last line is the only one ending on the container edge, so it
   stops short to keep the dot and its glow inside */
.strategy-cards-5 [class*="col-"]:nth-child(5) {
  --sc5-tail: 16px;
}

.sc5-card h5 {
  margin: 0;
  line-height: 1.7;
  font-weight: 400;
  opacity: 0;
  transform: translateY(14px);
}

/* the head: a white dot sitting exactly on the tip of its own line */
.sc5-dot {
  position: absolute;
  left: 100%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.10),
    0 0 12px 2px rgba(255, 255, 255, 0.75),
    0 0 26px 8px rgba(227, 100, 75, 0.40);
  opacity: 0;
  z-index: 3;
  pointer-events: none;
}

/* halo pulsing outwards from the dot */
.sc5-dot::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.strategy-cards-5.is-play .sc5-dot::after {
  animation: sc5Pulse 1.6s ease-out infinite;
}

/* ---------- run the sequence (JS adds .is-play on scroll) ---------- */
.strategy-cards-5.is-play .sc5-line {
  animation: sc5Draw .72s cubic-bezier(.4, 0, .2, 1) forwards;
}

.strategy-cards-5.is-play .sc5-card h5 {
  animation: sc5TextIn .45s cubic-bezier(.22, 1, .36, 1) forwards;
}

/* card N's dot is lit for its own 1.2s slot and switches off on the
   same frame card N+1's switches on — reads as one travelling dot */
.strategy-cards-5.is-play .sc5-dot {
  animation: sc5DotOn 1.2s linear forwards;
}

.strategy-cards-5.is-play [class*="col-"]:nth-child(5) .sc5-dot {
  animation-name: sc5DotStay;
}

.strategy-cards-5.is-play [class*="col-"]:nth-child(1) .sc5-line,
.strategy-cards-5.is-play [class*="col-"]:nth-child(1) .sc5-dot {
  animation-delay: 0s;
}

.strategy-cards-5.is-play [class*="col-"]:nth-child(2) .sc5-line,
.strategy-cards-5.is-play [class*="col-"]:nth-child(2) .sc5-dot {
  animation-delay: 1.2s;
}

.strategy-cards-5.is-play [class*="col-"]:nth-child(3) .sc5-line,
.strategy-cards-5.is-play [class*="col-"]:nth-child(3) .sc5-dot {
  animation-delay: 2.4s;
}

.strategy-cards-5.is-play [class*="col-"]:nth-child(4) .sc5-line,
.strategy-cards-5.is-play [class*="col-"]:nth-child(4) .sc5-dot {
  animation-delay: 3.6s;
}

.strategy-cards-5.is-play [class*="col-"]:nth-child(5) .sc5-line,
.strategy-cards-5.is-play [class*="col-"]:nth-child(5) .sc5-dot {
  animation-delay: 4.8s;
}

/* text starts fading up at ~40% of its own line's draw */
.strategy-cards-5.is-play [class*="col-"]:nth-child(1) .sc5-card h5 {
  animation-delay: .3s;
}

.strategy-cards-5.is-play [class*="col-"]:nth-child(2) .sc5-card h5 {
  animation-delay: 1.5s;
}

.strategy-cards-5.is-play [class*="col-"]:nth-child(3) .sc5-card h5 {
  animation-delay: 2.7s;
}

.strategy-cards-5.is-play [class*="col-"]:nth-child(4) .sc5-card h5 {
  animation-delay: 3.9s;
}

.strategy-cards-5.is-play [class*="col-"]:nth-child(5) .sc5-card h5 {
  animation-delay: 5.1s;
}

.sc5-card:hover .sc5-line {
  box-shadow: 0 0 18px rgba(227, 100, 75, 0.6),
    0 0 12px rgba(0, 93, 97, 0.5);
}

@keyframes sc5Draw {
  to {
    width: calc(100% - var(--sc5-tail));
  }
}

@keyframes sc5TextIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sc5DotOn {

  0%,
  99.9% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes sc5DotStay {

  0%,
  100% {
    opacity: 1;
  }
}

@keyframes sc5Pulse {
  0% {
    transform: scale(.55);
    opacity: .9;
  }

  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

/* ---------- tablet / mobile ---------- */
@media (max-width: 991px) {
  .strategy-cards-5 {
    /* stacked, so every line ends on the container edge */
    --sc5-tail: 16px;
    --sc5-pad: 18px;
    margin-top: 40px;
  }

  .sc5-card {
    padding: 22px var(--sc5-pad) 34px 0;
  }

  .sc5-dot {
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
  }
}

@media (max-width: 575px) {
  .sc5-card {
    padding-bottom: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .strategy-cards-5 .sc5-line {
    width: calc(100% - var(--sc5-tail));
  }

  .strategy-cards-5 .sc5-card h5 {
    opacity: 1;
    transform: none;
  }

  .strategy-cards-5 .sc5-dot {
    display: none;
  }

  .strategy-cards-5.is-play .sc5-line,
  .strategy-cards-5.is-play .sc5-card h5,
  .strategy-cards-5.is-play .sc5-dot,
  .strategy-cards-5.is-play .sc5-dot::after {
    animation: none;
  }
}

/* ===== Resilient performance — DQL vs NIFTY 500 TRI bar chart (.productInvestChart, .pbc-*) =====
   Custom divs, replaces the old Chart.js canvas. Built as a real x-axis/y-axis grouped bar chart —
   .pbc-yaxis + .pbc-gridlines give the tick scale, .pbc-cats holds one
   .pbc-pair (teal DQL + coral NIFTY bar) per category, .pbc-xlabels holds
   the category labels underneath. Bars use the same layered gradient +
   shine look as the homepage #invest bars, but self-contained here as
   .pbc-bar-shine (not css/style.css's .bar-shine) so this chart keeps its
   look even if that shared rule is ever changed/removed. Entrance animation
   follows the repo's standard IntersectionObserver → .is-play →
   CSS-transition pattern. */
.productInvestChart {
  background: linear-gradient(to bottom, rgba(38, 38, 38, 0) 0%, #262626 100%);
  border-radius: 20px;
  padding: 24px;
}

.pbc-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px;
}

@supports not selector(::-webkit-scrollbar) {
  .pbc-scroll {
    scrollbar-width: thin;
    scrollbar-color: #E3644B rgba(255, 255, 255, 0.1);
  }
}

.pbc-scroll::-webkit-scrollbar {
  /*width: 8px;*/
  height: 5px;
  background: transparent;
}

.pbc-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.pbc-scroll::-webkit-scrollbar-thumb {
  background: #E3644B;
  border-radius: 10px;
}


/*.pbc-scroll {*/
/*  overflow-x: auto;*/
/*  overflow-y: hidden;*/
/*}*/

/*.pbc-scroll::-webkit-scrollbar {*/
/*  width: 6px;*/
/*  height: 6px;*/
/*}*/

/*.pbc-scroll::-webkit-scrollbar-track {*/
/*  background: #222;*/
/*}*/

/*.pbc-scroll::-webkit-scrollbar-thumb {*/
/*  background: #E3644B;*/
/*  border-radius: 10px;*/
/*}*/

.pbc-wrap {
  /*min-width: 620px;*/
  min-width: 800px;
  padding: 16px 0 8px;
}

.pbc-body {
  display: flex;
  align-items: stretch;
}

.pbc-yaxis,
.pbc-yaxis-spacer {
  width: 46px;
  flex-shrink: 0;
}

.pbc-yaxis {
  position: relative;
  height: 300px;
}

.pbc-ytick {
  position: absolute;
  right: 12px;
  transform: translateY(50%);
  color: #c7c7c7;
  font-size: 13px;
  white-space: nowrap;
}

.pbc-plot {
  position: relative;
  flex: 1;
  height: 300px;
  border-left: 1px solid #fff;
  /* border-left: 1px solid rgba(255, 255, 255, 0.3); */
}

.pbc-gridlines {
  position: absolute;
  inset: 0;
}

/* Only the zero line is ever created (see js/product.js) — the site's usual
   white bar baseline, no faint gridlines at the other ticks. */
.pbc-gridline.zero {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  z-index: 1;
  background: #fff;
}

.pbc-cats {
  position: absolute;
  inset: 0;
 gap:10px;
  display: flex;
}

.pbc-col {
  flex: 1;
  position: relative;
  height: 100%;
}

.pbc-pair {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 6px;
}

.pbc-stem {
  position: relative;
  width: 30px;
  flex-shrink: 0;
}

.pbc-bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 0;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
  transition: height 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.pbc-bar.neg {
  border-radius: 0 0 4px 4px;
}

.pbc-bar.teal {
  /*background: linear-gradient(180deg, #0f6469 0%, #005D61 100%);*/
  background: linear-gradient(180deg, #17959d 0%, #128089 100%);
}

.pbc-bar.coral {
  background: linear-gradient(180deg, #E3644B 0%, #c8533b 100%);
}

/* Self-contained shine/glow overlay — same layered inset-shadow treatment
   as css/style.css's .bar-shine, duplicated here so this chart doesn't
   depend on that shared rule. */
.pbc-bar-shine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  box-shadow:
    inset 5px 0 10px rgba(255, 255, 255, 0.12),
    inset -5px 0 10px rgba(0, 0, 0, 0.35),
    inset 0 5px 10px rgba(255, 255, 255, 0.08),
    inset 0 -5px 10px rgba(0, 0, 0, 0.2),
    8px 6px 14px rgba(0, 0, 0, 0.45);
}

.swatch-coral {
  background: #E3644B;
}

.productInvestChart.is-play .pbc-bar {
  height: var(--pbc-h);
}

.pbc-value {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.4s ease 0.5s;
}

.productInvestChart.is-play .pbc-value {
  opacity: 1;
}

.pbc-xrow {
  display: flex;
  margin-top: 10px;
}

.pbc-xlabels {
  display: flex;
  flex: 1;
}

.pbc-xlabel {
  flex: 1;
  text-align: center;
  color: #c7c7c7;
  font-size: 13px;
  padding: 0 2px;
}

/* Drop the dark card background .legend-bar normally has on the homepage —
   here it just floats under the chart on the panel's own background. */
.productInvestChart .legend-bar {
  background: transparent;
  border-radius: 0;
  padding: 12px 0 0;
  margin-top: 4px;
}

@media (min-width: 1200.99px) {
  .pbc-wrap {
    min-width: 51.667vw;
  }

  .pbc-yaxis,
  .pbc-yaxis-spacer {
    width: 3.833vw;
  }

  .pbc-yaxis,
  .pbc-plot {
    height: 25vw;
  }

  .pbc-stem {
    width: 2.5vw;
  }
}


/* tablet + mobile: teal/coral bars of a month stay close together, with more
   space between one month and the next (narrower bars leave a wider gap) */
@media (max-width: 1200.98px) {
  .pbc-pair {
    gap: 8px;
  }

  .pbc-stem {
    width: 35px;
  }
}

