/*--------------------------------------------------------------
  Counting Section (Skill Manthra) - custom addition
  Reuses theme variables (--sm-navy / --sm-gold); does not touch style.css
--------------------------------------------------------------*/

.sm-counter {
  position: relative;
  display: block;
  padding: 90px 0;
  background: linear-gradient(145deg, var(--sm-navy), #163f86);
  overflow: hidden;
  z-index: 1;
}

.sm-counter__dots {
  position: absolute;
  top: 0;
  right: 0;
  width: 260px;
  height: 260px;
  background-image: radial-gradient(rgba(var(--sm-gold-rgb), .35) 2.5px, transparent 2.5px);
  background-size: 18px 18px;
  opacity: .5;
  z-index: 0;
}

.sm-counter__single {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  z-index: 1;
}

.sm-counter__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(var(--sm-gold-rgb), .14);
  border: 1.5px dashed rgba(var(--sm-gold-rgb), .55);
  transition: all 400ms ease;
}

.sm-counter__single:hover .sm-counter__icon {
  background: var(--sm-gold);
}

.sm-counter__icon span {
  font-size: 32px;
  color: var(--sm-gold);
  line-height: 1;
  transition: all 400ms ease;
}

.sm-counter__single:hover .sm-counter__icon span {
  color: var(--sm-navy);
}

.sm-counter__count-box {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}

.sm-counter__count-box h3 {
  font-size: 44px;
  font-weight: 700;
  color: var(--glorify-white);
  margin: 0;
  font-family: var(--glorify-font-two);
}

.sm-counter__count-box span.sm-counter__suffix {
  font-size: 30px;
  font-weight: 700;
  color: var(--sm-gold);
}

.sm-counter__text {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 500;
  color: rgba(var(--glorify-white-rgb), .75);
}

@media (max-width: 767px) {
  .sm-counter {
    padding: 60px 0 30px;
  }

  .sm-counter__single {
    margin-bottom: 35px;
  }
}
