/* Loading Components Shimmer Section */
.loading-components-section {
  padding: 60px 0;
  background: var(--bg-white);
}

.loading-components-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.loading-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 25px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(107, 114, 128, 0.08);
  position: relative;
  overflow: hidden;
  min-height: 200px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.service-info-card {
  text-align: center;
}

.loading-card.service-info-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 50px rgba(107, 114, 128, 0.2);
  border-color: rgba(107, 114, 128, 0.4);
}

.service-info-card .service-card-content {
  position: relative;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: none;
}

.service-info-card .service-card-content.visible {
  display: block;
}

.service-info-card .service-card-content.active {
  opacity: 1;
}

.service-info-card .service-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: var(--primary-color);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-info-card .service-icon svg {
  width: 48px;
  height: 48px;
  fill: white;
}

.service-info-card h3 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-info-card p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.star-rating {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin: 12px 0 16px;
}

.star-rating .star {
  width: 24px;
  height: 24px;
  fill: #FFD700;
  stroke: #FFA500;
  stroke-width: 0.5;
}

.star-rating .star.filled {
  fill: #FFD700;
}

.star-rating .star.empty {
  fill: #E0E0E0;
}

.shimmer-content {
  position: relative;
  z-index: 1;
  display: block;
}

.shimmer-content.hidden {
  display: none;
}

.shimmer-card {
  position: relative;
}

.shimmer-card .shimmer-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.shimmer-card .shimmer-wrapper:not(.active) {
  opacity: 0;
  pointer-events: none;
}

.shimmer-card .shimmer-item {
  position: relative;
  z-index: 1;
  background: var(--bg-gray);
  border-radius: 8px;
  margin-bottom: 12px;
  height: 16px;
  position: relative;
  overflow: hidden;
}

.shimmer-card .shimmer-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 100%
  );
  animation: shimmer 1.5s infinite;
}

.loading-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.loading-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  flex-shrink: 0;
}

.loading-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  flex-shrink: 0;
}

.loading-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.loading-card-image {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.loading-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.loading-line {
  width: 100%;
  height: 16px;
}

.loading-line:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .loading-components-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .loading-components-section {
    padding: 40px 0;
  }

  .loading-card {
    padding: 20px;
    min-height: 180px;
  }

  .loading-card-image {
    height: 150px;
  }
}

