/* --- Base Reset & Variable Definitions --- */
:root {
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --text-dark: #111111;
  --text-muted: #555555;
  --bg-light: #efefef;
  --bg-blue: #2563eb;
  --bg-pink: #fce7f3;
}



/* --- Marquee Layout Engine --- */
.team-marquee-widget {
  overflow: hidden;
  width: 100%;
  padding: 80px 0;
  box-sizing: border-box;
}

.marquee-wrapper {
  width: 100%;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}

/* Pause scroll seamlessly on hover */
.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  flex: 0 0 auto;
  width: 350px;
  padding: 0 10px;
  box-sizing: border-box;
}

/* --- Card Styles --- */
.marquee-card {
  box-sizing: border-box;
  border-radius: 16px;
  padding: 30px;
  height: 50px;
  min-height:270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.marquee-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.marquee-quote {
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 500;
  margin: 0;
  color: var(--text-dark);
}

/* --- Author & Meta Block --- */
.marquee-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
}

.marquee-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.marquee-meta {
  display: flex;
  flex-direction: column;
}

.marquee-name {
  font-weight: 700;
  font-size: 0.95rem;
  /*margin-bottom: 2px;*/
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-dark);

}

.marquee-role {
  font-size: 40px;
  font-weight: 500;
  color: var(--text-muted);
   
}

/* --- Component Variations --- */
.bg-light { background-color: var(--bg-light); }
.bg-blue { background-color: var(--bg-blue); }
.bg-pink { background-color: var(--bg-pink); }

.text-white .marquee-quote,
.text-white .marquee-name {
  color: #ffffff;
}
.text-white .marquee-role {
  color: rgba(255, 255, 255, 0.8);
}

/* --- Core Infinite Animation Loop --- */
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- CTA Promo Banner Styling --- */
.redesignee-promo-banner {
  text-align: center;
  padding: 24px;
  margin-top: 20px;
  border-top: 1px solid #eeeeee;
}

.redesignee-promo-banner p {
  font-size: 0.95rem;
  color: #666666;
  font-weight: 500;
}

.redesignee-promo-banner a {
  color: var(--bg-blue);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.redesignee-promo-banner a:hover {
  border-color: var(--bg-blue);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .marquee-item {
    width: 340px;
    padding: 0 12px;
  }
  .marquee-card {
    padding: 30px;
    min-height: 320px;
  }
  .marquee-quote {
    font-size: 1rem;
  }
}