/* 
 * Leadership Page Styles
 * Contains all styles specific to the leadership team page
 */

/* Leadership profiles styling */
.leadership-profile {
  margin-bottom: 4rem;
  align-items: center;
}

.leadership-profile .profile-image img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  width: 100%;
  object-fit: cover;
}

.leadership-profile .profile-image img:hover {
  transform: scale(1.05);
}

.leadership-profile .profile-info h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.leadership-profile .profile-info h5 {
  color: #0056b3;
  font-weight: 600;
  margin-bottom: 1rem;
}

.leadership-profile .profile-info p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.leadership-profile .social-links {
  font-size: 1.5rem;
}

.leadership-profile .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f8f9fa;
  color: #0056b3;
  transition: all 0.2s ease;
}

.leadership-profile .social-links a:hover {
  background-color: #0056b3;
  color: #fff;
  transform: translateY(-3px);
}

/* Responsive styles */
@media (max-width: 991.98px) {
  .leadership-profile {
    margin-bottom: 3.5rem;
  }
}

@media (max-width: 767.98px) {
  /* On mobile, all profiles have image on top, text below */
  .leadership-profile {
    margin-bottom: 3rem;
  }
  
  .leadership-profile .profile-image {
    order: 1;
    margin-bottom: 1.5rem;
  }
  
  .leadership-profile .profile-info {
    order: 2;
    text-align: center;
  }
  
  /* Reset Bootstrap margins on mobile */
  .leadership-profile .ms-auto,
  .leadership-profile .me-auto {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  .leadership-profile .profile-info h2 {
    font-size: 1.6rem;
  }
}

/* For tablets and up, alternate layout works */
@media (min-width: 768px) {
  .leadership-profile.alternate .profile-image {
    order: 2;
  }
  
  .leadership-profile.alternate .profile-info {
    order: 1;
  }
}