* {
  margin: 0;
  padding: 0;
}
.counter-section {
  width: 100%;
  background: white;
  padding: 50px 0;
  display: flex;
  justify-content: space-around;
  align-items: start;
  flex-wrap: wrap;
  gap: 0px;
  text-align: center;
  background: url("../images/Rectangle\ 255\ \(1\).png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.counter-box {
  width: 259px;
}

.count {
  font-size: 58px;
  font-weight: 700;
  color: #1c3f94;
  text-align: left;

  font-family: Merriweather;
  font-weight: 400;
  font-style: Regular;

  leading-trim: CAP_HEIGHT;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
}

.title {
  color: #1c3f94;
  margin-bottom: 10px;
  text-align: left;

  font-family: Poppins;
  font-weight: 400;
  font-style: Regular;
  font-size: 24px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  text-transform: uppercase;
}

.desc {
  color: #1c3f94;

  text-align: left;
  font-family: Poppins;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 21px;
  letter-spacing: 0%;
  vertical-align: middle;
}

/* Responsive Fix for Counter Section */
@media (max-width: 1200px) {
  .counter-section {
    justify-content: center;
    gap: 40px;
  }
}

@media (max-width: 1477px) {
    .count {
    font-size: 45px;
  }
   .title {
    font-size: 20px;
  }

    .desc {
    font-size: 14px;
  }

}

@media (max-width: 991px) {
  .counter-box {
    width: 45%;
  }

  .count {
    font-size: 60px;
  }

  .title {
    font-size: 20px;
  }

  .desc {
    font-size: 14px;
  }
  .counter-section {
    padding: 30px 30px;
  }
}

@media (max-width: 768px) {
  .counter-box {
    width: 100%;
  }

  .count {
    font-size: 50px;
  }

  .title {
    font-size: 18px;
  }

  .desc {
    font-size: 14px;
  }
  .counter-section {
    padding: 30px 30px;
  }
}

@media (max-width: 480px) {
  .count {
    font-size: 40px;
  }

  .title {
    font-size: 16px;
  }

  .desc {
    font-size: 13px;
  }

  .counter-section {
    padding: 30px 30px;
  }
}



/* Force center alignment for all devices below 1000px */
@media (max-width: 1000px) {
  .counter-section {
    justify-content: center !important;
    text-align: center;
  }

  .counter-box {
    align-items: center;
  }

  .count, .title, .desc {
    text-align: center !important;
  }
}

