.key-points-section {
  background-image: url(../assets/img/spotlight-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 50px 20px 80px 20px;
  max-width: initial;
  height: 796px;
}

.story-card {
  flex: 0 0 auto;
  width: 374px;
  justify-content: start;
  min-height: 254px;
  padding: 30px;
  text-align: left;
  align-items: start;
}

.story-card img {
  width: auto;
  height: 40px;
  margin-bottom: 40px;
}

.story-text {
  font-size: 20px;
  line-height: 24px;
  font-weight: 650;
  color: #000;
  margin-bottom: 13px;
}

.story-subtext {
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  color: #777777;
}

.key-points-section .key-point {
  display: flex;
  gap: 27px;
  align-items: center;
  justify-content: center;
  margin-bottom: 27px;
}

@media (min-width: 769px) {
  .key-points-section .for-mobile {
    display: none;
  }
}

@media (max-width: 768px) {
  .key-points-section {
    height: auto;
  }

  .key-points-section .for-desktop {
    display: none;
  }

  .key-points-section {
    overflow-x: hidden;
  }

  /* Carousel layout for mobile key points */
  .key-points-mobile-carousel {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .key-points-track {
    display: flex;
    width: 100%;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    /* Hide scrollbar */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
  }

  .key-points-track::-webkit-scrollbar {
    display: none;
  }

  .story-card {
    flex: 0 0 auto;
    width: 260px;
    scroll-snap-align: center;
    justify-content: start;
    min-height: 290px;
    padding: 40px;
  }

  /* Dots styling */
  .key-points-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
  }

  .key-points-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #D3D3D3;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .key-points-dots .dot.active {
    background-color: #000;
    transform: scale(1.2);
  }
}

@media (max-width: 426px) {
  .story-text {
    font-size: 18px;
    line-height: 22px;
  }

  .story-subtext {
    font-size: 14px;
    line-height: 18px;
  }
}

@media (max-width: 376px) {
  .story-card img {
    height: 35px;
  }
}