/* ==========================================================================
   WEES Alumni Welfare Trust - About Page & Leadership Tiers Styling
   1:1 aspect ratio portraits, monochrome-to-color hover, executive badges,
   and glassmorphism card interactions
   ========================================================================== */

:root {
  --lead-card-bg: #ffffff;
  --lead-border: rgba(226, 232, 240, 0.8);
  --lead-accent: #0d6efd;
  --lead-gold: #f59e0b;
  --lead-shadow: 0 10px 30px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --lead-shadow-hover: 0 20px 40px rgba(15, 23, 42, 0.12), 0 6px 16px rgba(13, 110, 253, 0.1);
}

[data-bs-theme="dark"] {
  --lead-card-bg: #1e293b;
  --lead-border: rgba(255, 255, 255, 0.08);
  --lead-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --lead-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.5), 0 6px 16px rgba(13, 110, 253, 0.2);
}

/* -------------------------------------------------------------
   1. About Hero & Impact Counters
   ------------------------------------------------------------- */
.about-hero-section {
  background: linear-gradient(135deg, #091326 0%, #0f1f3d 50%, #172b53 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about-hero-section::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 110, 253, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about-hero-badge {
  font-size: 0.8125rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.impact-metric-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: all 0.3s ease;
}

.impact-metric-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.4);
}

.impact-metric-value {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.impact-metric-label {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* -------------------------------------------------------------
   2. Section Headers & Tier Dividers
   ------------------------------------------------------------- */
.tier-header-wrapper {
  margin-bottom: 2.5rem;
}

.tier-pill-badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.tier-pill-founding {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.tier-pill-committee {
  background: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
  border: 1px solid rgba(13, 110, 253, 0.25);
}

.tier-pill-trustees {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.tier-title {
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--bs-heading-color, #0f172a);
}

.tier-desc {
  color: var(--wees-text-muted, #64748b);
  max-width: 680px;
  font-size: 0.95rem;
}

.tier-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--lead-border) 50%, transparent 100%);
  margin: 4.5rem 0;
}

/* -------------------------------------------------------------
   3. Member Leadership Card Component
   ------------------------------------------------------------- */
.leader-card {
  background-color: var(--lead-card-bg);
  border: 1px solid var(--lead-border);
  border-radius: 20px;
  box-shadow: var(--lead-shadow);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--lead-shadow-hover);
  border-color: rgba(13, 110, 253, 0.35);
}

/* 1:1 Aspect Ratio Portrait Container */
.leader-img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #0f172a;
  border-bottom: 1px solid var(--lead-border);
}

.leader-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  filter: grayscale(85%) contrast(102%);
}

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

/* Floating Batch Year Badge */
.leader-batch-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Card Body Typography */
.leader-card-body {
  padding: 1.25rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.leader-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 0.25rem;
  color: var(--bs-heading-color, #0f172a);
}

.leader-role-badge {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 0.65rem;
}

.role-badge-founding {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

[data-bs-theme="dark"] .role-badge-founding {
  color: #fbbf24;
}

.role-badge-committee {
  background: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
}

.role-badge-trustee {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

[data-bs-theme="dark"] .role-badge-trustee {
  color: #34d399;
}

.leader-headline {
  font-size: 0.85rem;
  color: var(--wees-text-muted, #64748b);
  line-height: 1.45;
  margin-bottom: 1rem;
  flex-grow: 1;
}

/* Social & Modal Action Footer */
.leader-footbar {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--lead-border);
  background-color: rgba(13, 110, 253, 0.02);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.leader-social-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0a66c2;
  background: rgba(10, 102, 194, 0.08);
  transition: all 0.2s ease;
  text-decoration: none;
}

.leader-social-link:hover,
.leader-social-link:focus-visible {
  color: #ffffff;
  background: #0a66c2;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(10, 102, 194, 0.3);
}

.leader-contact-trigger {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--wees-text-muted, #64748b);
  background: none;
  border: none;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.leader-contact-trigger:hover {
  color: var(--lead-accent);
  background: rgba(13, 110, 253, 0.08);
}

/* -------------------------------------------------------------
   4. Contact & Inquiries Modal
   ------------------------------------------------------------- */
.leader-modal-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--lead-accent);
}
