

/* =========================================================
   GLOBAL
========================================================= */

.prombs-performance-stats,
.prombs-performance-stats * {
  box-sizing: border-box;
}


.prombs-performance-stats {
  width: 100%;

  font-family: "Poppins", sans-serif;

  overflow: hidden;
}



/* =========================================================
   GRID
========================================================= */

.prombs-performance-grid {

  width: 100%;

  max-width: 1230px;

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    repeat(5, minmax(0, 1fr));

  gap: 17px;

}



/* =========================================================
   CARD
========================================================= */

.prombs-performance-card {

  position: relative;

  isolation: isolate;

  width: 100%;

  min-width: 0;

  height: 106px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  padding:
    15px
    12px;

  overflow: hidden;

  background: #FFFFFF;

  border:
    1px solid #DFE3E8;

  border-radius: 20px;

  text-align: center;

  box-shadow:
    0 12px 28px
    rgba(7, 31, 73, 0.055);

  transition:
    transform .4s cubic-bezier(.22,1,.36,1),
    border-color .35s ease,
    box-shadow .4s ease;

}



/* =========================================================
   SOFT BLUE HOVER EFFECT
========================================================= */

.prombs-performance-card::before {

  content: "";

  position: absolute;

  top: -75px;

  left: 50%;

  width: 190px;

  height: 130px;

  border-radius: 50%;

  background:

    radial-gradient(

      circle,

      rgba(42,147,206,.14) 0%,

      rgba(42,147,206,.05) 44%,

      rgba(42,147,206,0) 73%

    );

  opacity: 0;

  transform:

    translateX(-50%)

    scale(.7);

  z-index: -1;

  pointer-events: none;

  transition:

    opacity .4s ease,

    transform .5s cubic-bezier(.22,1,.36,1);

}



/* =========================================================
   COUNTER
========================================================= */

.prombs-performance-counter {

  margin:
    0
    0
    8px;

  color: #2A93CE;

  font-family: "Poppins", sans-serif;

  font-size: 35px;

  font-weight: 700;

  line-height: 1.05;

  letter-spacing: -.7px;

  white-space: nowrap;

  transition:

    transform .4s cubic-bezier(.22,1,.36,1);

}



/* =========================================================
   LABEL
========================================================= */

.prombs-performance-card p {

  margin: 0;

  color: #62738F;

  font-family: "Poppins", sans-serif;

  font-size: 11px;

  font-weight: 700;

  line-height: 1.45;

  text-align: center;

  transition:

    color .3s ease,

    transform .35s ease;

}



/* =========================================================
   HOVER
========================================================= */

@media (hover:hover) and (pointer:fine) {

  .prombs-performance-card:hover {

    transform:
      translateY(-6px);

    border-color:
      #C8DFEC;

    box-shadow:

      0 20px 38px
      rgba(7,31,73,.10),

      0 5px 15px
      rgba(42,147,206,.07);

  }


  .prombs-performance-card:hover::before {

    opacity: 1;

    transform:

      translateX(-50%)

      scale(1);

  }


  .prombs-performance-card:hover
  .prombs-performance-counter {

    transform:

      translateY(-2px)

      scale(1.045);

  }


  .prombs-performance-card:hover p {

    color: #415A78;

    transform:
      translateY(1px);

  }

}



/* =========================================================
   SCROLL ENTRANCE
========================================================= */

.prombs-performance-stats.prombs-performance-ready
.prombs-performance-card {

  opacity: 0;

  transform:
    translateY(18px);

  transition:

    opacity .5s ease,

    transform .65s cubic-bezier(.22,1,.36,1),

    box-shadow .4s ease,

    border-color .35s ease;

}


.prombs-performance-stats.prombs-performance-ready.prombs-performance-visible
.prombs-performance-card {

  opacity: 1;

  transform:
    translateY(0);

}



/* =========================================================
   STAGGER
========================================================= */

.prombs-performance-visible
.prombs-performance-card:nth-child(1) {

  transition-delay: .03s;

}


.prombs-performance-visible
.prombs-performance-card:nth-child(2) {

  transition-delay: .09s;

}


.prombs-performance-visible
.prombs-performance-card:nth-child(3) {

  transition-delay: .15s;

}


.prombs-performance-visible
.prombs-performance-card:nth-child(4) {

  transition-delay: .21s;

}


.prombs-performance-visible
.prombs-performance-card:nth-child(5) {

  transition-delay: .27s;

}



/* =========================================================
   LARGE LAPTOP
========================================================= */

@media screen and (max-width:1200px) {

  .prombs-performance-stats {

    padding:
      10px
      12px;

  }


  .prombs-performance-grid {

    gap: 14px;

  }


  .prombs-performance-card {

    height: 100px;

    padding:
      14px
      9px;

    border-radius: 18px;

  }


  .prombs-performance-counter {

    font-size: 30px;

  }


  .prombs-performance-card p {

    font-size: 10px;

  }

}



/* =========================================================
   SMALL LAPTOP
   5 CARDS STILL IN ONE ROW
========================================================= */

@media screen and (max-width:1050px) {

  .prombs-performance-grid {

    gap: 11px;

  }


  .prombs-performance-card {

    height: 96px;

    border-radius: 17px;

  }


  .prombs-performance-counter {

    font-size: 26px;

  }


  .prombs-performance-card p {

    font-size: 9px;

  }

}



/* =========================================================
   TABLET LANDSCAPE
   3 CARDS
========================================================= */

@media screen and (max-width:900px) {

  .prombs-performance-stats {

    padding:
      12px
      13px
      18px;

  }


  .prombs-performance-grid {

    max-width: 760px;

    grid-template-columns:

      repeat(3, minmax(0, 1fr));

    gap: 13px;

  }


  .prombs-performance-card {

    height: 100px;

  }


  .prombs-performance-counter {

    font-size: 28px;

  }


  .prombs-performance-card p {

    font-size: 10px;

  }

}



/* =========================================================
   TABLET
   2 CARDS
========================================================= */

@media screen and (max-width:700px) {

  .prombs-performance-grid {

    grid-template-columns:

      repeat(2, minmax(0, 1fr));

    gap: 12px;

  }


  .prombs-performance-card {

    height: 98px;

  }


  .prombs-performance-counter {

    font-size: 27px;

  }


  .prombs-performance-card p {

    font-size: 10px;

  }

}



/* =========================================================
   MOBILE
   ONE CARD PER ROW
========================================================= */

@media screen and (max-width:500px) {

  .prombs-performance-stats {

    padding:
      10px
      8px
      16px;

  }


  .prombs-performance-grid {

    grid-template-columns: 1fr;

    gap: 10px;

  }


  .prombs-performance-card {

    width: 100%;

    height: 88px;

    padding:
      12px;

    border-radius: 15px;

  }


  .prombs-performance-counter {

    margin-bottom: 6px;

    font-size: 27px;

  }


  .prombs-performance-card p {

    font-size: 10px;

  }

}



/* =========================================================
   SMALL MOBILE
========================================================= */

@media screen and (max-width:390px) {

  .prombs-performance-stats {

    padding:
      9px
      7px
      14px;

  }


  .prombs-performance-card {

    height: 84px;

    border-radius: 14px;

  }


  .prombs-performance-counter {

    font-size: 25px;

  }


  .prombs-performance-card p {

    font-size: 9.5px;

  }

}



/* =========================================================
   320PX
========================================================= */

@media screen and (max-width:330px) {

  .prombs-performance-card {

    height: 82px;

  }


  .prombs-performance-counter {

    font-size: 23px;

  }


  .prombs-performance-card p {

    font-size: 9px;

  }

}



/* =========================================================
   TOUCH DEVICES
========================================================= */

@media (hover:none) {

  .prombs-performance-card:hover,

  .prombs-performance-card:hover
  .prombs-performance-counter,

  .prombs-performance-card:hover p {

    transform: none;

  }

}



/* =========================================================
   ELEMENTOR EDITOR
========================================================= */

.elementor-editor-active
.prombs-performance-card,

body.elementor-editor-active
.prombs-performance-card {

  opacity: 1 !important;

  transform: none !important;

}



/* =========================================================
   REDUCED MOTION
========================================================= */

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

  .prombs-performance-card,

  .prombs-performance-counter,

  .prombs-performance-card p,

  .prombs-performance-card::before {

    animation: none !important;

    transition: none !important;

    opacity: 1 !important;

    transform: none !important;

  }

}

