/* --- Global Wrappers --- */
.leadership-page-wrapper {
  background-color: #fff;
}

/* --- Image Hero --- */
.leadership-image-hero {
  padding: 40px 0;
}
.hero-image-card {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent); */
  display: flex;
  align-items: flex-end;
  padding: 50px;
}
.hero-image-overlay h1 {
  color: #fff;
  font-size: 64px;
  font-weight: 700;
  margin: 0;
}

/* --- Header Text --- */
.tabs-header {
  text-align: center;
  margin: 60px auto;
  max-width: 900px;
}
.tabs-header h2 {
  font-size: 42px;
  color: #1a2b56;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}
.tabs-header p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

/* --- Tabs Logic (Desktop) --- */
.tabs-nav {
  display: flex;
  border-bottom: 1px solid #eee;
  margin-top: 40px;
}
.tab-link {
  flex: 1;
  padding: 22px;
  border: none;
  background: #fff;
  font-weight: 700;
  font-size: 14px;
  color: #1a2b56;
  cursor: pointer;
  transition: 0.3s;
}
.tab-link.active {
  background: #43a047;
  color: #fff;
}

/* --- Section Titles --- */
.mobile-section-label {
  display: none; /* Hidden on desktop */
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  color: #43a047;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 60px 0 30px;
}
.group-title {
  text-align: center;
  font-size: 13px;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 40px 0 0;
  opacity: 0.7;
  font-weight: 700;
}

/* --- Leaders Grid --- */
.leader-section {
  display: none;
}
.leader-section.active-section {
  display: block;
}
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-bottom: 40px;
  padding-top: 20px;
}

/* --- Leader Card Design --- */
.leader-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.3s ease;
}
.leader-card:hover {
  transform: translateY(-5px);
}
.initials-box {
  width: 60px;
  height: 60px;
  background: #ddeaf6;
  color: #1a2b56;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  flex-shrink: 0;
}
.leader-info h4 {
  font-size: 16px;
  margin: 0 0 5px;
  color: #1a2b56;
  font-weight: 700;
}
.leader-info span {
  display: block;
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 1024px) {
  .leaders-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-image-overlay h1 {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  /* 1. Hide the clickable tabs on mobile */
  .tabs-nav {
    display: none !important;
  }

  /* 2. Force both sections to be visible sequentially */
  .leader-section {
    display: block !important;
  }

  /* 3. Show the Green Titles (Board of Directors / Senior Management) */
  .mobile-section-label {
    display: block;
  }

  .group-title {
    margin: 40px 0 20px;
  }

  /* 4. Single column stacking */
  .leaders-grid {
    grid-template-columns: 1fr;
    padding: 20px 10px;
  }

  .hero-image-card {
    height: 280px;
  }
  .tabs-header h2 {
    font-size: 32px;
  }
  .hero-image-overlay {
    padding: 25px;
  }
}
