/* ==========================================================================
   MODERN NEUMORPHIC LEADERSHIP STYLES (DIRECT DEBIT SYSTEM)
   Used by: board-members.html & management-team.html
   Theme: Titanium Pearl (#edf2f7) with Deep Navy (#083a60) & Turquoise (#35b398)
   ========================================================================== */

/* Main Canvas & Ambient Atmosphere */
.leadership-page-main {
  background-color: var(--dds-neu-bg, #edf2f7);
  position: relative;
  overflow: hidden;
  color: var(--dds-navy, #083a60);
  min-height: 100vh;
}

.leadership-ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.leadership-glow-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(53, 179, 152, 0.1) 0%, transparent 70%);
  top: 4%;
  right: -8%;
}

.leadership-glow-2 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(8, 58, 96, 0.07) 0%, transparent 70%);
  top: 45%;
  left: -12%;
}

.leadership-glow-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(53, 179, 152, 0.08) 0%, transparent 70%);
  bottom: 8%;
  right: -5%;
}

/* ==========================================================================
   HERO / BANNER SECTION
   ========================================================================== */
.leadership-hero-section {
  position: relative;
  z-index: 1;
  padding: 145px 0 45px;
}

@media (max-width: 991px) {
  .leadership-hero-section {
    padding: 120px 0 35px;
  }
}

.leadership-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: #edf2f7;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: -4px -4px 10px rgba(255, 255, 255, 0.95), 4px 4px 10px rgba(8, 58, 96, 0.08);
  font-size: 13px;
  font-weight: 700;
  color: var(--dds-navy, #083a60);
  text-transform: uppercase;
  letter-spacing: 0.9px;
  margin-bottom: 22px;
}

.leadership-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dds-turquoise, #35b398);
  box-shadow: 0 0 8px rgba(53, 179, 152, 0.65);
  animation: leadershipPulse 2.2s infinite;
}

@keyframes leadershipPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(53, 179, 152, 0.5); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(53, 179, 152, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(53, 179, 152, 0); }
}

.leadership-hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dds-navy, #083a60);
  line-height: 1.18;
  letter-spacing: -0.6px;
  margin-bottom: 16px;
}

.leadership-hero-title span {
  color: var(--dds-turquoise, #35b398);
}

@media (max-width: 767px) {
  .leadership-hero-title {
    font-size: 2.25rem;
  }
}

.leadership-hero-desc {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #4a5d6e;
  max-width: 680px;
  margin-bottom: 28px;
}

/* Sub-nav quick switcher between Board & Management */
.leadership-nav-switcher {
  display: inline-flex;
  align-items: center;
  background: #e6edf4;
  padding: 6px;
  border-radius: 999px;
  box-shadow: inset 3px 3px 6px rgba(8, 58, 96, 0.1), inset -3px -3px 6px rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}

.leadership-switcher-btn {
  padding: 9px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #4a5d6e;
  text-decoration: none !important;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.leadership-switcher-btn.active {
  background: #edf2f7;
  color: var(--dds-navy, #083a60);
  box-shadow: -3px -3px 8px rgba(255, 255, 255, 0.95), 3px 3px 8px rgba(8, 58, 96, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.leadership-switcher-btn:hover:not(.active) {
  color: var(--dds-navy, #083a60);
}

/* ==========================================================================
   LEADERSHIP PROFILE CARDS
   ========================================================================== */
.leadership-cards-section {
  position: relative;
  z-index: 1;
  padding-bottom: 70px;
}

.leadership-card {
  position: relative;
  background: linear-gradient(145deg, #ffffff 0%, #f4f8fb 100%);
  border-radius: 28px;
  padding: 40px 42px;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: -10px -10px 28px rgba(255, 255, 255, 0.98), 10px 10px 28px rgba(8, 58, 96, 0.08);
  margin-bottom: 42px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.leadership-card:hover {
  transform: translateY(-4px);
  box-shadow: -14px -14px 34px rgba(255, 255, 255, 1), 14px 14px 34px rgba(8, 58, 96, 0.13);
}

@media (max-width: 767px) {
  .leadership-card {
    padding: 26px 20px;
    border-radius: 22px;
    margin-bottom: 30px;
  }
}

/* Sculpted Photo Well */
.leadership-photo-socket {
  position: relative;
  background: radial-gradient(circle at 50% 35%, #ffffff 0%, #e2eaf2 100%);
  border-radius: 22px;
  padding: 16px 16px 0 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 4px 4px 10px rgba(8, 58, 96, 0.1), inset -4px -4px 10px rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  min-height: 340px;
  max-height: 430px;
  overflow: hidden;
}

.leadership-photo-socket img {
  max-height: 375px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  margin: 0 auto;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 10px 22px rgba(8, 58, 96, 0.15));
}

.leadership-photo-socket img.img-cover {
  height: 340px;
  object-fit: cover;
  border-radius: 14px;
}

.leadership-card:hover .leadership-photo-socket img {
  transform: scale(1.03) translateY(-2px);
}

/* Card Content */
.leadership-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-left: 10px;
}

@media (max-width: 991px) {
  .leadership-content {
    padding-left: 0;
    margin-top: 25px;
  }
}

.leadership-member-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: #eaf0f6;
  border-radius: 999px;
  box-shadow: inset 2px 2px 4px rgba(8, 58, 96, 0.08), inset -2px -2px 4px rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--dds-navy, #083a60);
  margin-bottom: 12px;
  width: fit-content;
}

.leadership-member-name {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dds-navy, #083a60);
  line-height: 1.2;
  letter-spacing: -0.4px;
  margin-bottom: 6px;
}

@media (max-width: 767px) {
  .leadership-member-name {
    font-size: 1.75rem;
  }
}

.leadership-member-role {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dds-turquoise, #35b398);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.leadership-divider {
  width: 100%;
  height: 2px;
  background: #e0e7ee;
  box-shadow: inset 0 1px 2px rgba(8, 58, 96, 0.08), 0 1px 0 rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  border-radius: 2px;
}

.leadership-bio {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4a5d6e;
  margin-bottom: 22px;
}

.leadership-bio p {
  margin-bottom: 14px;
}

.leadership-bio p:last-child {
  margin-bottom: 0;
}

/* Milestone / Career Credential Chips */
.leadership-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.leadership-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: #edf2f7;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: -2px -2px 6px rgba(255, 255, 255, 0.95), 2px 2px 6px rgba(8, 58, 96, 0.06);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--dds-navy, #083a60);
  transition: all 0.2s ease;
}

.leadership-chip i {
  color: var(--dds-turquoise, #35b398);
  font-size: 12px;
}

.leadership-chip:hover {
  transform: translateY(-1px);
  box-shadow: -3px -3px 8px rgba(255, 255, 255, 1), 3px 3px 8px rgba(8, 58, 96, 0.1);
}

/* ==========================================================================
   CALL TO ACTION STRIP
   ========================================================================== */
.leadership-cta-section {
  position: relative;
  z-index: 1;
  padding-bottom: 90px;
}

.leadership-cta-card {
  background: linear-gradient(135deg, #083a60 0%, #0d4a75 100%);
  border-radius: 26px;
  padding: 48px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  box-shadow: -10px -10px 28px rgba(255, 255, 255, 0.95), 10px 10px 28px rgba(8, 58, 96, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 25px;
}

.leadership-cta-content h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffffff;
}

.leadership-cta-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
  max-width: 600px;
}

.leadership-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 34px;
  background: linear-gradient(135deg, #35b398 0%, #2da187 100%);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 20px rgba(53, 179, 152, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
}

.leadership-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(53, 179, 152, 0.5);
  color: #ffffff !important;
}

@media (max-width: 767px) {
  .leadership-cta-card {
    padding: 32px 24px;
  }
  .leadership-cta-content h3 {
    font-size: 1.6rem;
  }
}
