/* Team Page Specific Styles */

/* Team Stats */
.team-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.team-stat {
  text-align: center;
  padding: 1.5rem;
}

.team-stat-icon {
  width: 4rem;
  height: 4rem;
  background: var(--zaffre-100);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--zaffre-600);
}

.team-stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--zaffre-900);
  margin-bottom: 0.5rem;
}

.team-stat-label {
  color: var(--gray-600);
  font-size: 1rem;
}

/* Leadership Grid */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
  gap: 2.5rem;
  align-items: stretch;
}

.leader-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  background: #fff;
  border: 2px solid var(--gray-100);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  min-height: 350px;
  max-width: 1200px;
  margin: 0 auto;
  transition: border-color 0.3s;
}

.leader-card:hover {
  border-color: var(--gold-400);
}

.leader-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  height: 100%;
  min-height: 300px;
}

.leader-image img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.leader-content {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leader-header {
  margin-bottom: 1.5rem;
}

.leader-name {
  font-size: 2rem;
  font-weight: 800;
  color: var(--zaffre-900);
  margin-bottom: 0.25rem;
}

.leader-title {
  color: var(--zaffre-600);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-decoration: underline;
}

.leader-bio {
  margin-bottom: 1.5rem;
}

.leader-bio p {
  color: var(--gray-700);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.leader-expertise {
  margin-bottom: 1.5rem;
}

.leader-expertise h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--zaffre-900);
  margin-bottom: 0.5rem;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.expertise-tag {
  background: var(--gray-100);
  color: #111;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 700;
}

.leader-details {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 1.25rem;
}

.leader-detail {
  font-size: 1.1rem;
}

.detail-label {
  font-weight: 700;
  color: var(--zaffre-900);
}

.detail-value {
  color: var(--gray-700);
}

.leader-social {
  display: flex;
  gap: 1.25rem;
  margin-top: 1rem;
}

.leader-social .social-link {
  color: var(--zaffre-600);
  font-size: 1.5rem;
  transition: color 0.3s;
}

.leader-social .social-link:hover {
  color: var(--gold-400);
}

/* Department Heads */
.department-heads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.department-head-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 2px solid var(--gray-100);
  border-radius: 1rem;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  min-height: 420px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  position: relative;
}

.department-head-card:hover {
  border-color: var(--gold-400);
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.department-head-image {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.department-head-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.department-head-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--zaffre-900);
  margin-bottom: 0.25rem;
  text-align: center;
}

.department-head-title {
  color: var(--zaffre-600);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  text-align: center;
}

.department-head-expertise {
  margin-bottom: 1.25rem;
  width: 100%;
}

.expertise-tags {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.expertise-tag {
  background: var(--gray-100);
  color: #111;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 700;
}

.department-head-experience {
  font-size: 1rem;
  color: var(--gray-700);
  margin-bottom: 1rem;
  text-align: center;
}

.department-head-connect {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--zaffre-600);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: auto;
  transition: color 0.3s;
}

.department-head-connect:hover {
  color: var(--gold-400);
}

/* Culture & Values */
.culture-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.culture-value {
  text-align: center;
}

.culture-value-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.culture-value-icon.bg-blue {
  background-color: var(--zaffre-600);
  color: white;
}

.culture-value-icon.bg-gold {
  background-color: var(--gold-500);
  color: var(--zaffre-900);
}

.culture-value-title {
  font-size: 1.25rem;
  color: var(--zaffre-900);
  margin-bottom: 1rem;
}

.culture-value-description {
  color: var(--gray-600);
  line-height: 1.6;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Large Leadership Layout */
@media (min-width: 1024px) {
  .leader-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
  }

  .leader-image {
    height: auto;
    min-height: 100%;
  }

  .leader-content {
    padding: 3rem;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .leadership-grid {
    grid-template-columns: 1fr;
  }

  .team-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .leader-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .team-stats-grid {
    grid-template-columns: 1fr;
  }

  .department-heads-grid {
    grid-template-columns: 1fr;
  }

  .leader-content {
    padding: 1.5rem;
  }

  .department-head-card {
    padding: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .leader-content {
    padding: 1rem;
  }

  .expertise-tags {
    justify-content: center;
  }

  .culture-values-grid {
    grid-template-columns: 1fr;
  }
}

/* Animation classes */
.leader-card,
.department-head-card,
.culture-value {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.leader-card.visible,
.department-head-card.visible,
.culture-value.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation delay */
.leader-card:nth-child(1) {
  transition-delay: 0.1s;
}
.leader-card:nth-child(2) {
  transition-delay: 0.2s;
}
.leader-card:nth-child(3) {
  transition-delay: 0.3s;
}
.leader-card:nth-child(4) {
  transition-delay: 0.4s;
}

.department-head-card:nth-child(1) {
  transition-delay: 0.1s;
}
.department-head-card:nth-child(2) {
  transition-delay: 0.2s;
}
.department-head-card:nth-child(3) {
  transition-delay: 0.3s;
}
.department-head-card:nth-child(4) {
  transition-delay: 0.4s;
}
.department-head-card:nth-child(5) {
  transition-delay: 0.5s;
}
.department-head-card:nth-child(6) {
  transition-delay: 0.6s;
}
