/* ===== BOARD MEMBERS SPECIFIC STYLES ===== */

.board-section {
  padding: 80px 5%;
  background: #f8fafc;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== PREMIUM CARD DESIGN ===== */
.board-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.board-card:nth-child(1) {
  animation-delay: 0.1s;
}

.board-card:nth-child(2) {
  animation-delay: 0.2s;
}

.board-card:nth-child(3) {
  animation-delay: 0.3s;
}

.board-card:nth-child(4) {
  animation-delay: 0.4s;
}

.board-card:nth-child(5) {
  animation-delay: 0.5s;
}

.board-card:nth-child(6) {
  animation-delay: 0.6s;
}

.board-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1b3a8a, #f5b335);
  transform: scaleX(0);
  transition: transform 0.5s ease;
  transform-origin: left;
}

.board-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  border-color: rgba(27, 58, 138, 0.1);
}

.board-card:hover::before {
  transform: scaleX(1);
}

/* ===== IMAGE STYLES ===== */
.image-placeholder {
  width: 160px;
  height: 160px;
  background: #f1f5f9;
  border-radius: 50%;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  color: #cbd5e1;
  position: relative;
  transition: all 0.5s ease;
  border: 4px solid #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.board-card:hover .image-placeholder {
  transform: scale(1.05);
  border-color: #f5b335;
}

/* ===== TEXT STYLES ===== */
.board-card h3 {
  font-size: 22px;
  color: #1b3a8a;
  margin-bottom: 8px;
  font-weight: 700;
  letter-spacing: -0.5px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.board-card .position {
  font-size: 15px;
  color: #f5b335;
  margin-bottom: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.board-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 0;
}

/* ===== SOCIAL LINKS ===== */
.social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

a.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 17px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

a.social-btn.linkedin {
  background-color: #0077b5;
  color: #ffffff;
}

a.social-btn.linkedin:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,119,181,0.45);
}

a.social-btn i {
  display: block;
  line-height: 1;
  pointer-events: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .board-section {
    padding: 60px 20px;
  }

  .board-card {
    padding: 30px 20px;
  }
}