.testCardContainer {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  padding: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: -100px;
  max-width: 1240px;
  margin: auto;
}

.test-card {
  /* position: relative; */
  border-radius: 7px;
  box-shadow: 0 0 10px #80808074;
  margin: 10px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s;
  width: 350px;
  background-color: #ffffff;
  position: relative;
  z-index: 0;

  h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.4rem;
  }

  p {
    color: #5e5e5e;
    margin-bottom: 7px;
  }

  .start-btn {
    display: inline-block;
    background: #0d6efd;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
  }

  .start-btn:hover {
    background: #0d6efd;
  }

  .test-info {
    display: flex;
    justify-content: space-around;
  }
}

.test-card::after {
  content: "FREE";
  position: absolute;
  top: -10px;
  right: 10px;
  z-index: -1;
  background: linear-gradient(to right, #00b152, #00c496);
  padding: 3px 5px;
  color: #ffffff;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
}

.test-card:hover {
  box-shadow: 0 5px 10px #80808074;
  transform: translateY(-2px);
}

.countdown-card {
  background: linear-gradient(to bottom,
      #eb7d0e, #f75ba1);
  font-weight: bold;
  color: #ffffff;

  .countdown {
    font-size: 1.9rem;
  }
}


@media (max-width: 830px) {
  .test-card {
    width: 40%;
    h3{
      font-size: 1.3rem;
    }
  }
}

@media (max-width: 550px) {
  .test-card {
    width: 100%;
  }
}


.progressBar {
  width: 100%;
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  margin: 0.5rem 0;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: #2575fc;
  width: 0;
  /* Dynamic width set via JS */
  transition: width 0.5s ease;
}