/* ============================================================
   PLACEMENT.CSS
   All styles scoped to #placements to avoid conflicts
   with global styles in index.css
   ============================================================ */

/* ── 1. SECTION BACKGROUND ─────────────────────────────────── */
#placements {
  background: #f4f7fb;
}

/* ── 2. SECTION HEADER ─────────────────────────────────────── */
#placements .section-tag {
  display: inline-block;
  background: rgba(10, 31, 68, 0.08);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}

#placements .section-title {
  color: var(--navy);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0;
}

#placements .section-divider {
  width: 60px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 0.9rem auto 0;
}

/* ── 3. CAROUSEL IMAGE ─────────────────────────────────────── */
/* Without an explicit height the images collapse to 0 — this is
   the main reason the carousel appears blank.                   */
#placements .carousel-item {
  text-align: center;
  background: #ffffff;
}

#placements .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  padding: 0;
}

/* ── 4. CAROUSEL CONTROLS ─────────────────────────────────── */
#placements .carousel-control-prev,
#placements .carousel-control-next {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  opacity: 1;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
}

#placements .carousel-control-prev {
  left: 10px;
}
#placements .carousel-control-next {
  right: 10px;
}

/* ── 5. CAROUSEL INDICATORS ───────────────────────────────── */
#placements .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--navy);
  opacity: 0.3;
  border: none;
  margin: 0 4px;
}

#placements .carousel-indicators .active {
  opacity: 1;
  background-color: var(--gold);
}

/* ── 6. RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 768px) {
  #placements .section-title {
    font-size: 1.5rem;
  }

  #placements .carousel-item img {
    height: 260px;
    padding: 0;
  }

  #placements .carousel-control-prev,
  #placements .carousel-control-next {
    width: 30px;
    height: 30px;
  }

  #placements .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
  }
}
