.prj-detail-divider {
  width: 100%;
  min-height: clamp(280px, 46vw, 620px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
}
.prj-detail-divider-scroll {
  position: relative;
  background-position: top;
  transition: background-position 5s ease-in-out;
  cursor: pointer;
  overflow: hidden;
}
.prj-detail-divider-scroll:hover {
  background-position: bottom;
}
.marlotech-project-cards__inner {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.marlotech-project-cards__inner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: object-position 3.5s ease-in-out;
}
.marlotech-project-cards__inner:hover img {
  object-position: bottom;
}

/* Beautiful central scrolling badge */
.marlotech-project-cards__inner::after,
.prj-detail-divider-scroll::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background-color: rgba(15, 15, 15, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='7 15 12 20 17 15'/%3E%3Cpolyline points='7 9 12 4 17 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: badgePulse 2s infinite ease-in-out;
}

@keyframes badgePulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  }
}

.marlotech-project-cards__inner:hover::after,
.prj-detail-divider-scroll:hover::after {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
}
.project-solution-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.project-solution-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  line-height: 1.6;
}
.project-solution-list li:last-child { margin-bottom: 0; }
.project-solution-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .3em;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
