/* Media Groups Section */
.hlm-media-groups {
  text-align: center;
  padding: 20px;
  background-color: #ffffff;
}

.hlm-section-title {
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 10px;
}

.hlm-section-description {
  font-size: 1rem;
  color: #555;
  margin-bottom: 30px;
}

/* Media Grid */
.hlm-media-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
}

@media (max-width: 1024px) {
  .hlm-media-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hlm-media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hlm-media-grid {
    grid-template-columns: 1fr;
  }
}

/* Media Card */
.hlm-media-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.2s ease, background 0.4s ease-in-out;
  display: block;
}

.hlm-media-card.hidden {
  display: none;
}

.hlm-media-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  animation: hlm-breath 1s ease-in-out infinite;
}



.hlm-lottie-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  transition: transform 0.3s ease;
}

/* Breathing Animation */
@keyframes hlm-breath {
  0% {
    transform: translateY(-8px) scale(1.05);
  }
  50% {
    transform: translateY(-8px) scale(1.08);
  }
  100% {
    transform: translateY(-8px) scale(1.05);
  }
}

.hlm-media-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.hlm-media-description {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

/* Gradient Transition */
.hlm-media-card {
  background: white;
  transition: background 0.4s ease-in-out;
}


/* Show More Button */
.hlm-show-more {
  margin: 20px auto;
  font-family: 'roc-grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 30px; /* Rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  color: #ffffff;
  background: #7A06D3;
  border: none;
}

.hlm-show-more:hover {
  background: #E4D2FC;
	color: #7A06D3;
}

@media (max-width: 480px) {
  .hlm-show-more {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}
