.team-card {
      border: none;
      border-radius: 15px;
      overflow: hidden;
      background: #fff;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      max-width: 280px; /* keep equal width */
      margin: auto;     /* center each card */
    }
    .team-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }
    .team-card img {
      width: 100%;
      height: 280px;
      object-fit: cover;
    }
    .team-info {
      padding: 20px;
      text-align: center;
    }
    .team-info h5 {
      font-size: 20px;
      margin-bottom: 5px;
      font-weight: 600;
    }
    .team-info p {
      color: #6c757d;
      margin-bottom: 15px;
    }
    .social-links a {
      color: #6c757d;
      font-size: 18px;
      margin: 0 8px;
      transition: color 0.3s;
    }
    .social-links a:hover {
      color: #0d6efd;
    }

    /* Modern category title */
    .team-category {
      font-size: 20px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 2px;
      color: #333;
      position: relative;
      display: inline-block;
      padding-bottom: 10px;
      margin: 40px auto 30px;
    }
    .team-category::after {
      content: "";
      display: block;
      width: 60px;
      height: 3px;
      background: #0d6efd;
      margin: 8px auto 0;
      border-radius: 2px;
    }

  .btn-view {
  display: inline-block;
  background: linear-gradient(45deg, #0d6efd, #4dabf7);
  border: none;
  color: #fff;
  font-weight: 500;
  border-radius: 30px;
  padding: 6px 20px;
  font-size: 0.9rem;
  text-decoration: none;       /* remove underline normally */
  transition: all 0.3s ease;
}

.btn-view:hover {
  background: linear-gradient(45deg, #0b5ed7, #339af0);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
  color: #fff;
  text-decoration: none;       /* remove underline on hover */
}