/*******************************************************************************
* EXPERTISE SECTION
*******************************************************************************/

.expertise-section {
  --color-brand: #802583;
  padding-block: 24px;
}

.expertise-section__heading {
  color: var(--color-brand);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.expertise-section__subheading {
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 16px;
}

.expertise-section__list {
  padding: 0;
  margin: 0;
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.expertise-section__list li {
  font-family: 'PT Sans', sans-serif;
  font-size: 1rem;
  padding: 0;

  display: flex;
  align-items: center;
  gap: 8px;
}

.expertise-section__list li::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  background: #000;
  border-radius: 50%;
}

.expertise-section__cards {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .expertise-section__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .expertise-section__cards .expertise-card--highlight {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .expertise-section__cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/*******************************************************************************
* EXPERTISE CARD
*******************************************************************************/

.expertise-card {
  color: #000;
  background: #FFFFFF;
  border: 1px solid #CCCCCC;
  border-radius: 20px;
  text-align: center;
  padding: 40px 24px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.expertise-card__heading {
  color: var(--color-brand);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.expertise-card__text {
  color: inherit;
  font-size: 1rem;
  margin: 0;
}

.expertise-card--highlight {
  color: #fff;
  background-color: var(--color-brand);
}

.expertise-card--highlight .expertise-card__heading {
  color: inherit;
  font-size: 20px;
}

/*******************************************************************************
* WHATSAPP BUTTON
*******************************************************************************/

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;

  z-index: 1;
}

.whatsapp-button__link {
  position: relative;
  display: block;

  border-radius: 50%;

  z-index: 1;

  &::before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: #00e676;
    border-radius: 50%;
    z-index: -1;
    -webkit-animation: ping 1.5s ease-in-out infinite both;
    animation: ping 1.5s ease-in-out infinite both;
  }
}

.whatsapp-button__icon {
  width: 50px;
  height: 50px;
}

.whatsapp-button__text-wrapper {
  position: absolute;
  top: 5px;
  right: 8px;

  width: max-content;
  padding: 8px 50px 8px 16px;

  color: #fff;
  font-family: 'PT Sans', sans-serif;
  font-size: inherit;
  font-style: italic;
  font-weight: 600;

  background: #00E676;
  border-radius: 30rem;
  border: 1px solid #ffffff;

  pointer-events: none;

  z-index: 0;

  transition: 350ms;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: right;
}

.whatsapp-button:hover .whatsapp-button__text-wrapper {
  opacity: 1;
  transform: scaleX(1);
}

@keyframes ping {
  0% {
    transform: scale(0.5);
    opacity: 1;
  }
  80% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}