/* Color card styles for Services & Products (separate file) */
.color-card {
  color: #fff;
  padding: 28px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(16,24,40,0.08);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.color-card h4 { margin-bottom: 10px; }
.color-card p { margin-bottom: 16px; }
.color-card--pink { background: #ff2d5e; }
.color-card--purple { background: #504176; }
.color-card--green { background: #2ad88a; color: #042b18; }

.product-card { background: #fff; border-radius: 8px; box-shadow: 0 6px 20px rgba(16,24,40,0.06); overflow: hidden; }
.product-card__bar { height: 8px; }
.product-card__bar--pink { background: #ff2d5e; }
.product-card__bar--purple { background: #504176; }
.product-card__bar--green { background: #2ad88a; }
.product-card__body { padding: 20px; }
.product-card__body h5 { margin-bottom: 8px; }
.product-card__body p { margin-bottom: 12px; color: #555; }

@media (max-width: 767px) {
  .color-card { min-height: auto; }
}

/* Hover animations and icon styles */
.product-card, .color-card {
  transition: transform .28s cubic-bezier(.2,.9,.2,1), box-shadow .28s ease;
}
.product-card:hover, .color-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(16,24,40,0.12);
}

.product-card a, .product-card a:focus { text-decoration: none; }
.product-card a:hover { text-decoration: none; }

.card-icon { font-size: 28px; margin-bottom: 12px; color: #333; }
.product-card__body .card-icon { color: #ff2d5e; }
.product-card__bar--purple + .product-card__body .card-icon { color: #504176; }
.product-card__bar--green + .product-card__body .card-icon { color: #2ad88a; }

/* Make lightbox anchors behave like blocks */
.cbp-caption.cbp-lightbox { display: block; color: inherit; }

@media (max-width: 575px) {
  .card-icon { font-size: 22px; }
}

  /* thumbnail and lightbox button styles */
  .card-thumb { width: 100%; height: 160px; object-fit: cover; display: block; }
  .product-card { position: relative; }
  .lightbox-btn { position: absolute; right: 12px; top: 12px; background: rgba(255,255,255,0.95); color: #333; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; box-shadow: 0 6px 18px rgba(0,0,0,0.08); transition: transform .18s ease; }
  .lightbox-btn:hover { transform: scale(1.06); }
  .lightbox-btn i { font-size: 14px; }
