/* Team section — balanced layout when only the founder card is visible */

app-team #Team > .Body > .row.dsc-team-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

app-team .dsc-founder-card {
  border: 2px solid #592c94;
  box-shadow: 0 10px 28px rgba(89, 44, 148, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

app-team .dsc-founder-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(89, 44, 148, 0.22);
}

app-team .dsc-founder-card .card-img-top {
  object-fit: cover;
  min-height: 220px;
}

app-team .dsc-pillar-card {
  border: 1px solid #e8e8e8;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

app-team .dsc-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(110, 187, 231, 0.25);
}

app-team .dsc-pillar-head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: #fff;
  font-size: 3.25rem;
}

app-team .dsc-pillar-head.purple {
  background: linear-gradient(135deg, #53007a 0%, #6ebbe7 100%);
}

app-team .dsc-pillar-head.blue {
  background: linear-gradient(135deg, #6ebbe7 0%, #53007a 100%);
}

app-team .dsc-pillar-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 14px;
  background: #592c94;
  color: #fff;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

app-team .dsc-pillar-card .card-text {
  line-height: 1.55;
  font-size: 0.95rem;
}

app-team .dsc-team-tagline {
  flex: 0 0 100%;
  max-width: 720px;
  margin: 1.5rem auto 0;
  padding: 1rem 1.25rem;
  text-align: center;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.6;
  border-top: 1px solid #e0e0e0;
}

app-team .dsc-team-tagline strong {
  color: #592c94;
}

/* Stray divider / ad placeholder between team and projects */
app-team #Team > hr.w-75 {
  display: none !important;
}

@media (max-width: 991px) {
  app-team .dsc-pillar-head {
    min-height: 160px;
    font-size: 2.5rem;
  }
}
