/* Section WHyUs */

/* Texts */

.title-whyus {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  text-transform: uppercase;
}

.title-whyus span {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
}

.text-whyus {
  line-height: 17px;
  font-size: 16px;
}

.text-counter-clients-whyus {
  position: absolute;
  right: 50%;
  transform: translateX(50%);
  bottom: -3rem;
  font-size: 5rem;
  font-weight: 700;
  background: linear-gradient(45deg, var(--color-secondary), var(--color-secondary-light));
  padding: 10px 15px;
  border: 10px solid white;
  border-radius: 8px;
  color: white;
  line-height: 6rem;
}

.text-counter-clients-whyus span {
  font-size: 18px;
  display: block;
  line-height: 20px;
}

.text-counter-clients-whyus::before {
  position: absolute;
  content: "";
  display: block;
  width: 50%;
  height: 50%;
  left: 10px;
  border-top: 1px solid white;
  border-left: 1px solid white;
}

@media screen and (min-width: 1200px) {
  .text-counter-clients-whyus {
    bottom: 3rem;
    right: -3rem;
    transform: translateX(0);
  }
}

/* Cards */

.card-whyus {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background-color: transparent;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.card-whyus * {
  transition: 300ms ease;
}

/*
@media screen and (min-width: 1400px) {
  .card-whyus:hover .icon-box-whyus::before {
    background-color: var(--color-primary);
    transition: 400ms ease;
  }

  .card-whyus:hover .icon-whyus {
    fill: white;
  }

  .card-whyus:hover .title-whyus {
    color: var(--color-secondary);
  }
}
  */

/* Icons Section WhyUs */

.icon-box-whyus {
  position: relative;
  padding: 1.5rem;
  z-index: 1;
}

.icon-box-whyus::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 8rem;
  height: 8rem;
  border: 3px solid var(--color-primary);
  border-radius: 50%;
  z-index: -1;
  transition: 400ms ease;
}

.icon-box-whyus-primary::before {
  background-color: var(--color-primary);
}

.icon-box-whyus-primary .icon-whyus {
  fill: white;
}

.icon-whyus {
  width: 5rem;
  min-width: 5rem;
  height: 5rem;
  fill: var(--color-secondary);
  z-index: 2;
}
