.top-agents {
  padding: 20px 20px;
  background: #f5f7fb;
}

.ta-container {
  max-width: 1200px;
  margin: 0 auto;
}

.ta-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
  text-align: center;
  color: #6b7280;
  margin-bottom: 30px;
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

/* Agent Card */
.agent-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: 0.2s;
}
.agent-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
}

/* Top Row: Image + Name */
.agent-top {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 14px;
}

.agent-top img {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  object-fit: cover;
}

.agent-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

/* Highlights */
.agent-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.agent-highlights span {
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
  background: #e8f0ff;
  color: #2563eb;
  white-space: nowrap;
}

.agent-highlights span:first-child {
  background: #ff7043;
  color: #fff;
}

/* Details Section */
.agent-details {
  margin: 10px 0 16px;
  color: #444;
  font-size: 0.88rem;
  line-height: 1.45;
}
.agent-details strong {
  color: #111;
}

/* Button */
.agent-btn {
  display: block;
  width: 100%;
  padding: 10px;
  text-align: center;
  background: #322fc5;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.2s;
}
.agent-btn:hover {
  background: #1e1ca5;
}


 @media (max-width: 768px) {
      .ta-subtitle {
        font-size: 1rem;
         margin-bottom: 20px;
      }
    }