/* Animate on scroll if using AOS or add own fade */
[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

/* AOS fallback animation */
[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

/* still not convinced secton */
.cta-section {
  border-radius: 12px;
  margin-bottom: 4rem;
  background-color: #2997ff !important;
}

.hero-image {
  position: relative;
  min-height: 300px;
  border-radius: 20px;
  overflow: hidden;
  background: url("https://framerusercontent.com/images/N1BWFyNMccrElHuy6HO2dBpNSL0.jpg") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: repeating-linear-gradient(90deg,
      rgba(255, 255, 255, 0.25) 0px,
      rgba(255, 255, 255, 0.25) 2px,
      transparent 2px,
      transparent 6px);
  backdrop-filter: blur(8px);
}

.discount-text {
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
  color: white;
  z-index: 2;
}

.discount-percentage {
  font-size: 60px !important;
  font-weight: bold;
}

.discount-subtext {
  font-size: 25px !important;
}

.user-card {
  background: var(--primary);
  color: var(--white-text);
  border-radius: 25px;
  border: none;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.user-avatars {
  display: flex;
  align-items: center;
  margin-top: auto;
}

.user-avatars .avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid #fff;
  overflow: hidden;
  margin-left: -12px;
}

.user-avatars .avatar:first-child {
  margin-left: 0;
}

.user-avatars .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-plus {
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.review-card {
  background: #111;
  border-radius: 20px;
  border: none;
  padding: 25px;
  color: white;
  height: 100%;
}

.stars {
  color: #ffd700;
  font-size: 17px;
  margin-bottom: 15px;
}

@media (min-width: 1200px) {

  .hero-image,
  .user-card,
  .review-card {
    height: 380px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {

  .hero-image,
  .user-card,
  .review-card {
    height: 380px;
  }
}

@media (max-width: 991px) {
  .hero-image {
    min-height: 280px;
  }

  .discount-text {
    left: 20px;
  }

  .discount-percentage {
    font-size: 2.2rem;
  }

  .discount-subtext {
    font-size: 1rem;
  }

  .user-card,
  .review-card {
    min-height: auto;
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .discount-text {
    left: 15px;
  }

  .discount-percentage {
    font-size: 1.8rem;
  }

  .discount-subtext {
    font-size: 0.9rem;
  }

  .user-avatars .avatar {
    width: 35px;
    height: 35px;
  }

  .progress-col {
    visibility: hidden;
  }
}