/* Achievement page – hero like ec-hero, cards, animations */

.achievement-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: linear-gradient(135deg, rgb(10 49 46 / 90%) 0%, rgb(14 86 79 / 84%) 45%, rgb(4 55 73 / 84%) 100%), url('/img/achievement/hero.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.achievement-hero .container {
  position: relative;
  z-index: 1;
}
.achievement-hero__content {
  max-width: 640px;
}
.achievement-section-label--hero {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  opacity: 0.9;
}
.achievement-hero__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
  font-weight: 700;
}
.achievement-hero .achievement-hero__sub {
  opacity: 0.9;
}

.achievement-empty__icon {
  opacity: 0.6;
}
.achievement-empty__icon svg {
  transition: transform 0.4s ease;
}
.achievement-empty:hover .achievement-empty__icon svg {
  transform: scale(1.1);
}

.achievement-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}
.achievement-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1) !important;
}
.achievement-img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 320px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.achievement-card:hover .achievement-img {
  transform: scale(1.06);
}

/* Image-left with text wrapping (desktop), stacked (mobile). */
.achievement-card__body::after {
  content: "";
  display: block;
  clear: both;
}
.achievement-img--float {
  float: left;
  width: 280px;
  height: 200px;
  min-height: 0;
  margin: 0 1.25rem 1rem 0;
  border-radius: 1rem;
  object-fit: cover;
}
@media (max-width: 991.98px) {
  .achievement-img--float {
    float: none;
    width: 100%;
    height: auto;
    max-height: 320px;
    margin: 0 0 1rem 0;
    border-radius: 1rem;
    display: block;
  }
}
.achievement-card__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.achievement-card__tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}
.animate-on-scroll.animate-delay-1 { transition-delay: 0.08s; }
.animate-on-scroll.animate-delay-2 { transition-delay: 0.16s; }
.animate-on-scroll.animate-delay-3 { transition-delay: 0.24s; }
.animate-on-scroll.animate-delay-4 { transition-delay: 0.32s; }
.animate-on-scroll.animate-delay-5 { transition-delay: 0.4s; }
.animate-on-scroll.animate-delay-6 { transition-delay: 0.48s; }
