/* ===== WRAPPER ===== */
.hsc-wrapper {
  position: relative;
  width: 100%;
}

/* ===== SCROLL AREA ===== */
.hsc-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;           /* Firefox */
  -ms-overflow-style: none;        /* IE */
  cursor: grab;
  padding: 10px 0;
}
.hsc-scroll::-webkit-scrollbar { display: none; } /* Chrome/Safari */
.hsc-scroll.active { cursor: grabbing; }

/* ===== TRACK (flex row) ===== */
.hsc-track {
  display: flex;
  gap: 24px;
  padding: 10px 20px;
  width: max-content;
}

/* ===== CARD ===== */
.hsc-card {
  flex: 0 0 320px;                 /* card width */
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform .35s ease, box-shadow .35s ease;
  user-select: none;
}
.hsc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(108,78,247,0.20);
}

/* ===== IMAGE ===== */
.hsc-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  pointer-events: none;   /* drag smooth */
}

/* ===== BODY ===== */
.hsc-body { padding: 22px; }

.hsc-title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.3;
}

.hsc-desc {
  margin: 0 0 16px;
  font-size: 15px;
  color: #6b7280;
  line-height: 1.6;
}

.hsc-link {
  color: #6c4ef7;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  transition: gap .3s;
}
.hsc-link:hover { color: #4b2ee0; letter-spacing: .5px; }

/* ===== ARROWS ===== */
.hsc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  color: #1a1a2e;
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: all .25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 4px;
}
.hsc-arrow:hover {
  background: #6c4ef7;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}
.hsc-prev { left: -12px; }
.hsc-next { right: -12px; }

/* Arrow visibility based on scroll */
.hsc-arrow:disabled {
  opacity: .3;
  cursor: not-allowed;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hsc-card { flex: 0 0 280px; }
}

@media (max-width: 767px) {
  .hsc-card { flex: 0 0 260px; }
  .hsc-track { gap: 16px; padding: 10px 16px; }
  .hsc-arrow { display: none; }        /* mobile pe arrows hide */
  .hsc-img img { height: 160px; }
}

@media (max-width: 480px) {
  .hsc-card { flex: 0 0 85vw; }        /* full width feel */
}