/* Ghana Realty Connect - Trust Ticker Bar
 * Sprint 5 Task 1: Scrolling trust services ticker
 * Pure CSS animation, no JS
 */

.trust-ticker {
  background-color: #16213e;
  color: #ffffff;
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.trust-ticker-track {
  display: flex;
  animation: scroll-ticker 30s linear infinite;
  white-space: nowrap;
}

.trust-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 32px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.trust-ticker-separator {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  margin: 0 16px;
}

.trust-ticker-icon {
  font-size: 18px;
}

@keyframes scroll-ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause on hover */
.trust-ticker:hover .trust-ticker-track {
  animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
  .trust-ticker {
    padding: 12px 0;
  }
  
  .trust-ticker-item {
    font-size: 14px;
    padding: 0 20px;
  }
  
  .trust-ticker-separator {
    margin: 0 12px;
  }
}
