.design-platform {
  padding-left: 70px;
  padding-right: 70px;
  margin-top: 100px;
}

.platform-content {
  text-align: center;
}

.platform-content h1 {
  font-size: 50px;
  line-height: 58px;
}

.platform-content p {
  max-width: 730px;
  margin: auto;
}

@media (max-width: 576px) {
  .design-platform {
    padding-left: 30px;
    padding-right: 30px;
    margin-top: 150px;
  }

  .platform-content h1 {
    font-size: 33px;
    line-height: 37px;
  }
}

.who-its-for {
  margin-top: 50px;
  margin-bottom: 150px !important;
}

/* OUTER CONTAINER */
.scroll-container {
  overflow: hidden;
  width: 100%;
}

/* CARD WRAPPER */
.cards-wrapper {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scrollCards 20s linear infinite;
}

/* CARD */
.custom-card {
  position: relative;
  width: 300px;
  height: 520px;
  overflow: hidden;
  border-radius: 16px;
  flex-shrink: 0;
}

/* IMAGE */
.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* OVERLAY */
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #003333;
  padding: 16px;
}

/* ICON + TEXT ROW */
.title-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* ICON */
.icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

/* TEXT GROUP */
.title-group {
  display: flex;
  flex-direction: column;
}

/* TITLE */
.title-group .card-title {
  color: #ccffcc !important;
  margin: 0;
  font-size: 18px;
  line-height: 24px;
}

/* TEXT */
.title-group .card-text {
  color: #4a6a6a;
  margin-top: 6px;
  font-size: 17px;
  line-height: 24px;
}

@media (max-width: 768px) {
  .custom-card {
    width: 250px;
    height: 380px;
  }

  .overlay {
    padding: 14px;
  }

  .title-group .card-title {
    font-size: 15px;
    line-height: 20px;
    padding-bottom: 70px;
  }

  .title-group .card-text {
    font-size: 13px;
    line-height: 18px;
  }

  .icon {
    width: 20px;
    height: 20px;
  }
}

/* ANIMATION */
@keyframes scrollCards {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* DESKTOP VIEW */
@media (min-width: 992px) {
  .cards-wrapper {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    width: 100%;

    animation: none;
  }

  .custom-card {
    width: 100%;
  }
}
