/* Add top spacing to the whole board section */
.board-section {
  padding-top: 40px; /* adjust this if you want more/less spacing */
}

/* The card container */
.board-card {
  width: 240px;
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover effect */
.board-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.18);
}

/* Photo wrapper */
.board-photo-wrapper {
  width: 150px;
  height: 150px;
  margin: 0 auto 14px;
  border-radius: 18px;
  overflow: hidden;
}

/* Photo styling */
.board-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  border-radius: 18px;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.board-card:hover .board-photo {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Text styles */
.board-name,
.board-position,
.board-company {
  text-align: center;
}

.board-name {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.board-position {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1f6feb;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.board-company {
  font-size: 0.9rem;
  color: #6b7280;
}