.ta-top-banner {
  width: 100%;
  height: 40px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #6f27fe;
  background-image: url("https://tamediacdn.techaheadcorp.com/wp-content/uploads/2026/04/02075043/ta-topbar-bg.webp");
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
}

.ta-banner-container {
  position: relative;
  width: 100%;
  height: 40px;
  overflow: hidden;
}

.ta-banner-item {
  position: absolute;
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 60px;
  font-size: 13px;
  font-weight: 500;
  transform: translateY(-100%);
  opacity: 0;
  transition:
    transform 0.6s ease,
    opacity 0.6s ease;
  will-change: transform, opacity;
  white-space: nowrap;
}

.ta-banner-item.active {
  transform: translateY(0);
  opacity: 1;
  z-index: 2;
}

.ta-banner-item.enter {
  transform: translateY(-100%);
  opacity: 1;
}

.ta-banner-item.exit {
  transform: translateY(100%);
  opacity: 0;
}

.ta-banner-item a {
  color: #fff !important;
  font-weight: 600;
  margin-left: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ta-banner-item a img {
  transform: translateX(-6px);
  transition: transform 0.3s linear;
}

.ta-banner-item a:hover {
  text-decoration: underline;
}

.ta-banner-item a:hover img {
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .ta-banner-item {
    transition: none;
  }
}

@media (max-width: 768px) {
  .ta-top-banner {
    display: none;
  }
}
