/* Leadership Page Styles */

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.leader-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: #fff;
}

.leader-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.leader-image-container {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.leader-image {
  width: 100%;
  height: 100%;
}

.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.leader-card:hover .leader-image img {
  transform: scale(1.05);
}

.leader-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 30px 20px 20px;
  color: white;
  text-align: center;
}

.leader-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: white;
}

.leader-position {
  font-size: 1rem;
    color: var(--color-accent-gold);
  margin-bottom: 0;
}

.leader-details {
  padding: 25px 20px;
}

.leader-contact {
  display: inline-block;
  padding: 8px 20px;
  background: #7c3aed;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

.leader-contact:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

.team-bio {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 0.5rem;
}

.read-more-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
}

.read-more-btn:hover {
    text-decoration: underline;
}

.no-members {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px;
  background: #f8f9fa;
  border-radius: 10px;
  color: #666;
}

/* Responsive Design */
@media (max-width: 992px) {
  .leadership-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .leadership-grid {
    grid-template-columns: 1fr;
  }
  
  .leader-image {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .leader-overlay {
    padding: 20px 15px 15px;
  }
  
  .leader-name {
    font-size: 1.3rem;
  }
  
  .leader-position {
    font-size: 0.9rem;
  }
}