/* Our Leaders Page Styles */

/* Hero Section */
.leaders-hero {
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
  color: white;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.leaders-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../assets/images/pattern.png") repeat;
  opacity: 0.1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

.hero-description {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.85;
  position: relative;
  z-index: 2;
}

/* Department Filters */
.department-filters {
  gap: 10px;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 10px 24px;
  background: transparent;
  border: 2px solid #3498db;
  color: #3498db;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: #3498db;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Leader Cards */
.leader-card {
  perspective: 1000px;
  height: 100%;
}

.leader-card-inner {
  height: 100%;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.leader-card-inner:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.leader-img-container {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.leader-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
  filter: grayscale(0%);
}

.leader-card:hover .leader-img {
  filter: grayscale(100%);
  transform: scale(1.05);
}

.leader-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(52, 152, 219, 0.9);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.leader-card:hover .leader-overlay {
  opacity: 1;
}

.overlay-content {
  color: white;
  text-align: center;
}

.overlay-content h5 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.overlay-content p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-links a {
  color: white;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.social-links a:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.3);
}

.leader-info {
  padding: 25px;
}

.leader-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 5px;
  transition: font-weight 0.3s ease;
}

.leader-card:hover .leader-name {
  font-weight: 800;
  color: #3498db;
}

.leader-position {
  color: #3498db;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 15px;
}

.leader-bio p {
  color: #5a6c7d;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* CTA Section */
.leaders-cta {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px solid #3498db;
}

.cta-title {
  color: #2c3e50;
  font-size: 2.5rem;
  font-weight: 700;
}

.cta-text {
  color: #5a6c7d;
  font-size: 1.2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  background: #3498db;
  border: none;
  padding: 12px 40px;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #2980b9;
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(52, 152, 219, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .leader-img-container {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .leaders-hero {
    padding: 80px 0 60px;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .department-filters {
    flex-direction: column;
    align-items: center;
  }

  .filter-btn {
    width: 200px;
    margin-bottom: 10px;
  }

  .cta-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .leader-img-container {
    height: 250px;
  }

  .leader-info {
    padding: 20px;
  }

  .leader-name {
    font-size: 1.3rem;
  }

  .cta-title {
    font-size: 1.8rem;
  }
}

/* Animation for filter */
.leader-card {
  animation: fadeIn 0.5s ease forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
