/* ============================================================
   SkillBeings – Course Benefits Slider
   slider-style.css  v2.0.0
   ============================================================ */

/* ── SECTION ── */
.sbs-section {
  width: 100%;
  background-color: #0e2018;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
  font-family: 'DM Sans', system-ui, sans-serif;
  box-sizing: border-box;
}

/* ambient glow */
.sbs-section.sbs-has-ambient::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 120% at 0% 50%,  rgba(27,94,66,0.35) 0%, transparent 65%),
    radial-gradient(ellipse 40% 80%  at 100% 50%, rgba(27,94,66,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 30% 60%  at 50% 100%, rgba(232,105,42,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
/* dot grid texture */
.sbs-section.sbs-has-dotgrid::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(111,207,151,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* overlay for bg image */
.sbs-overlay {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* ── TOP BAR ── */
.sbs-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  margin-bottom: 40px;
  gap: 20px;
  flex-wrap: wrap;
}

.sbs-label-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* eyebrow */
.sbs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6fcf97;
  background-color: rgba(111,207,151,0.10);
  border: 1px solid rgba(111,207,151,0.22);
  border-radius: 100px;
  padding: 4px 12px 4px 9px;
  width: fit-content;
  box-sizing: border-box;
}
.sbs-pulse-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background-color: #6fcf97;
  flex-shrink: 0;
  animation: sbs-pulse 2s ease infinite;
}
@keyframes sbs-pulse {
  0%,100%{ opacity:1; transform:scale(1); }
  50%    { opacity:.3; transform:scale(1.6); }
}

/* heading */
.sbs-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}
.sbs-heading-l1 {
  display: inline;
  color: #ffffff;
}
.sbs-heading-l2 {
  display: inline;
  font-style: italic;
  color: #6fcf97;
  margin-left: 0.25em;
}

/* ── NAVIGATION ── */
.sbs-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.sbs-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sbs-dot-item {
  width: 6px; height: 6px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.18);
  cursor: pointer;
  transition: all .3s ease;
  flex-shrink: 0;
}
.sbs-dot-item.active {
  background-color: #6fcf97;
  width: 22px;
  border-radius: 3px;
}

.sbs-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(111,207,151,0.20);
  background-color: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.50);
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .22s ease;
  user-select: none;
  flex-shrink: 0;
  line-height: 1;
}
.sbs-btn:hover {
  background-color: rgba(111,207,151,0.12);
  border-color: rgba(111,207,151,0.40);
  color: #6fcf97;
  transform: scale(1.06);
}
.sbs-btn:active  { transform: scale(0.95); }
.sbs-btn:disabled { opacity: .25; cursor: not-allowed; transform: none; pointer-events: none; }

/* ── TRACK ── */
.sbs-track-wrap {
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.sbs-track-wrap.sbs-edge-fade {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.sbs-track {
  display: flex;
  gap: 20px;
  padding: 12px 60px 20px;
  transition: transform .6s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
  cursor: grab;
  user-select: none;
}
.sbs-track:active { cursor: grabbing; }

/* ── CARD ── */
.sbs-card {
  flex: 0 0 320px;
  width: 320px;
  background-color: rgba(255,255,255,0.035);
  border: 1px solid rgba(111,207,151,0.09);
  border-radius: 20px;
  padding: 28px 26px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition:
    transform .32s cubic-bezier(.22,.68,0,1.2),
    box-shadow .32s ease,
    border-color .25s ease;
}
.sbs-card:hover {
  transform: translateY(-8px) scale(1.01);
}

/* shine overlay */
.sbs-card.sbs-shine::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(111,207,151,0.07) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.sbs-card.sbs-shine:hover::before { opacity: 1; }

/* watermark */
.sbs-card.sbs-watermark::after {
  content: attr(data-n);
  position: absolute;
  bottom: -8px; right: 12px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.03);
  pointer-events: none;
  user-select: none;
  transition: color .3s;
}
.sbs-card.sbs-watermark:hover::after { color: rgba(255,255,255,0.055); }

/* ── ICON ROW ── */
.sbs-icon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.sbs-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.55rem;
  transition: transform .32s cubic-bezier(.22,.68,0,1.4);
  flex-shrink: 0;
}
.sbs-card:hover .sbs-icon { transform: scale(1.14) rotate(-7deg); }

/* ── TAG ── */
.sbs-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 3px 9px;
  border: 1px solid;
  line-height: 1.6;
}

/* ── TITLE ── */
.sbs-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 10px;
  transition: color .2s;
  position: relative; z-index: 1;
}

/* ── BODY ── */
.sbs-card-text {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(212,232,219,0.50);
  flex-grow: 1;
  position: relative; z-index: 1;
  margin: 0;
}

/* ── FOOTER ── */
.sbs-card-footer-hidden .sbs-card-footer { display: none !important; }
.sbs-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.055);
  position: relative; z-index: 1;
}
.sbs-card-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap .2s;
}
.sbs-card:hover .sbs-card-link { gap: 9px; }

.sbs-card-arrow {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.10);
  background-color: rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  color: rgba(255,255,255,0.30);
  transition: all .2s;
  flex-shrink: 0;
}

/* ── PROGRESS BAR ── */
.sbs-progress-wrap {
  position: relative; z-index: 2;
  padding: 0 60px;
  margin-top: 8px;
}
.sbs-progress-bg {
  height: 2px;
  background-color: rgba(255,255,255,0.07);
  border-radius: 2px;
  overflow: hidden;
}
.sbs-progress-fill {
  height: 100%;
  background: linear-gradient(to right, #6fcf97, rgba(111,207,151,0.5));
  border-radius: 2px;
  transition: width .5s cubic-bezier(0.77, 0, 0.175, 1);
  width: 25%;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .sbs-topbar, .sbs-track, .sbs-progress-wrap { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 768px) {
  .sbs-topbar { padding-left: 20px; padding-right: 20px; }
  .sbs-track  { padding-left: 20px; padding-right: 20px; }
  .sbs-progress-wrap { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 480px) {
  .sbs-heading { font-size: 1.6rem; }
  .sbs-topbar  { flex-direction: column; align-items: flex-start; }
  .sbs-nav     { align-self: flex-end; }
}
