body {
  font-family: "Inter", sans-serif;
}

/* Blue gradient card thumbnail */
.card-thumb {
  background: linear-gradient(
    135deg,
    #0d5484 0%,
    #1a5d8d 40%,
    #296ca7 70%,
    #2774cc 100%
  );
  border-radius: 12px 12px 0 0;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Top-left: file type badge */
.file-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Top-right: file count badge */
.files-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Card wrapper */
.demo-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.demo-card:hover {
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
  transform: translateY(-3px);
}

/* Card body */
.card-body {
  padding: 18px 18px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
}
.card-desc {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.5;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: #475569;
}
.card-meta .rating {
  color: #f59e0b;
  font-weight: 600;
}
.card-duration {
  font-size: 0.78rem;
  color: #64748b;
}

.badge{
    width:11px;
    height:11px;
}

/* Centre document icon  */
.doc-icon{
    width:52px;
    height:52px;
    color:rgba(255,255,255,0.7);
}

/* Static meta: rating + downloads */
.meta-data{
    width:12px;
    height:12px;
    display:inline;
    vertical-align:middle;
    margin-right:3px;
}

/* Download button */
.btn-download-all {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  background: linear-gradient(90deg, #3bb8e8 0%, #1b6085 100%);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.1s ease,
    box-shadow 0.2s ease;
}
.btn-download-all:hover {
  background: linear-gradient(90deg, #2da8d8 0%, #23719f 100%);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(59, 184, 232, 0.35);
}
.btn-download-all:active {
  transform: scale(0.98);
}

/* CTA Banner */
.cta-banner{
    background: linear-gradient(135deg, #0a4e7b 0%, #135d92 40%, #205f97 70%, #2a72c4 100%);
}