.topics {
  padding: 120px 0;
  background: var(--deep-teal);
}

.topics-heading {
  text-align: center;
  margin-bottom: 70px;
}

.topics h2 {
  font-size: 62px;
}

.topics h2 span {
  display: block;
  color: var(--yellow);
}

.topic-card {
  background: var(--white);
  padding: 45px 35px;
  width: 340px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 25px;
  flex-shrink: 0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);

  transition: 0.35s;
}
.topics-wrapper:hover .topics-track {
  animation-play-state: paused;
}
.topic-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.09);
}

.topic-card i {
  font-size: 34px;
  color: var(--deep-teal);
  margin-bottom: 25px;
}

.topic-card h3 {
  margin-bottom: 15px;
  line-height: 1.2;
  font-size: 1.8rem;
  color: var(--deep-teal);
  font-weight: 800;
}

.topic-card p {
  line-height: 1.8;
  color: #666;
}
.topics-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: quoteScroll 30s linear infinite;
}
.topics-wrapper {
  overflow: hidden;

  width: 100%;
}
.topics-wrapper {
  overflow: hidden;

  mask-image: linear-gradient(
    to right,
    transparent,
    black 8%,
    black 92%,
    transparent
  );

  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
}
