/* =========================
   Global
   ========================= */
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

/* =========================
   HERO (Carousel)
   ========================= */

/* Make carousel images tall and premium */
.hero-carousel .hero-img {
  height: 420px;
  object-fit: cover;
}


.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(18, 0, 31, 0.55),
    rgba(18, 0, 31, 0.15)
  );
  z-index: 1;
}


/* Caption layer must be above overlay so buttons are clickable */
.hero-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem;
  z-index: 2; /* IMPORTANT: keeps buttons clickable */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* Small screens */
@media (max-width: 768px) {
  .hero-carousel .hero-img {
    height: 320px;
  }
  .hero-caption {
    padding: 1.25rem;
  }
}

/* =========================
   Cards / Images
   ========================= */
.card-img-top {
  height: 180px;
  object-fit: cover;
}

/* Optional: nicer specials cards (slightly bigger image)
   If you want bigger cards later, change 180 -> 220 */
@media (min-width: 992px) {
  .card-img-top {
    height: 200px;
  }
}

/* Hover polish */
.hover-shadow:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  transition: all 0.15s ease-in-out;
}

/* If you want ALL cards to have hover polish by default */
.card {
  transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.75rem 1.25rem rgba(0, 0, 0, 0.08);
}

/* =========================
   Minor UI tweaks (optional)
   ========================= */

/* Rounded hero look on carousel inner */
.carousel-inner {
  border-radius: 1rem;
}

/* Make carousel arrows slightly clearer on dark overlays */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}


/* =========================
   Track Page (Premium UI)
   ========================= */
.track-icon{
  width: 42px; height: 42px;
  border-radius: 14px;
  background: rgba(13,110,253,.12);
  display:flex; align-items:center; justify-content:center;
}
.track-icon-dot{
  width: 14px; height: 14px;
  border-radius: 999px;
  background: #0d6efd;
  box-shadow: 0 0 0 6px rgba(13,110,253,.18);
}

.track-alert{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
}

.track-subcard{
  background: #fff;
  border-color: rgba(0,0,0,.08) !important;
}

.track-timeline{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
}

.track-step{
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 10px 0;
}

.track-marker{
  display:flex;
  flex-direction: column;
  align-items: center;
}

.track-circle{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
}

.track-line{
  width: 2px;
  flex: 1;
  margin-top: 8px;
  background: rgba(0,0,0,.12);
  border-radius: 999px;
}

.track-emoji{ font-size: 16px; line-height: 1; }

/* States */
.track-step.is-done .track-circle{
  background: rgba(25,135,84,.12);
  border-color: rgba(25,135,84,.35);
}
.track-step.is-done .track-line{ background: rgba(25,135,84,.35); }

.track-step.is-active .track-circle{
  background: rgba(13,110,253,.12);
  border-color: rgba(13,110,253,.35);
}
.track-step.is-active .track-line{ background: rgba(13,110,253,.25); }

.track-step.is-todo .track-circle{
  background: #fff;
}

/* === Individuals Premium Card Polish === */

.cat-card {
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.cat-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 18px 45px rgba(18, 0, 31, 0.18);
}

/* Consistent image height */
.cat-media {
  height: 140px; /* was 118px */
}

.cat-media img {
  object-fit: cover;
}

/* Stronger chip contrast */
.cat-chip {
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

/* CTA arrow animation */
.cat-card:hover .cat-arrow {
  transform: translateX(4px);
  transition: transform .2s ease;
}

/* Mobile tap feedback */
@media (max-width: 768px) {
  .cat-card:active {
    transform: scale(.985);
  }
}
