/* =======================================================
    public/css/sumberdaya.css — Final Polish (Fixed Badges)
   ======================================================= */

/* -------------------------------------------------------
   1. Root Variables & Baseline
   ------------------------------------------------------- */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --text-dark: #0f172a;
  --text-gray: #64748b;
  --bg-light: #f8fafc;
  --border: #e2e8f0;
  --card-bg: #ffffff;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.sumberdaya-section {
  margin-top: -64px;
  padding-top: 96px;
  padding-bottom: 60px;
  background: linear-gradient(180deg, #dbeafe 0%, #f0f9ff 25%, #e0f2fe 100%);
  min-height: 100vh;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* -------------------------------------------------------
   2. Header, Search & Labels
   ------------------------------------------------------- */
.page-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.badge-pill,
.header-badge {
  display: inline-flex;
  align-items: center;
  background-color: #eff6ff;
  color: #2563eb;
  padding: 6px 14px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  border: 1px solid #bfdbfe;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08);
}

.page-header h1 {
  font-size: 2.2rem;
  font-weight: 850;
  color: var(--text-dark);
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 8px;
  margin-top: 0;
}

.page-header p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 500;
}

/* Search Bar */
.search-container {
  margin-top: 35px;
  position: relative;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.search-input {
  width: 100%;
  padding: 16px 24px;
  padding-right: 50px;
  border-radius: 50px;
  border: 1px solid #cbd5e1;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.search-icon-compact {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1.3rem;
  pointer-events: none;
}

/* Section Label */
.section-label {
  font-size: 0.9rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 40px 0 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.section-label::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
}

/* -------------------------------------------------------
   3. Executive & Staff Cards (3x4 Ratio)
   ------------------------------------------------------- */

/* --- Executive / Coordinator Card --- */
.exec-card {
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-left: 8px solid var(--primary);
  border-radius: 20px;
  display: flex;
  overflow: hidden;
  position: relative;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease;
  max-width: 800px;
  margin: 0 auto 40px;
  box-shadow: var(--shadow-sm);
}

.exec-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #60a5fa);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 4;
  box-shadow: 0 1px 4px rgba(37, 99, 235, 0.3);
}

.exec-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow:
    0 20px 30px -10px rgba(37, 99, 235, 0.12),
    0 4px 12px -2px rgba(15, 23, 42, 0.06),
    0 0 0 1px rgba(37, 99, 235, 0.05);
}

.exec-card:hover::before {
  transform: scaleX(1);
}

.exec-photo {
  flex: 0 0 220px;
  background: #f1f5f9;
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.exec-photo::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.25),
      transparent);
  transform: skewX(-20deg);
  transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.exec-card:hover .exec-photo::after {
  left: 150%;
}

.exec-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  aspect-ratio: 3 / 4;
  display: block;
  transition:
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.5s ease;
  filter: saturate(0.9) contrast(1.02);
}

.exec-card:hover .exec-photo img {
  transform: scale(1.05);
  filter: saturate(1.1) contrast(1.05);
}

.exec-info {
  flex: 1;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* FIX: Badge Pimpinan agar tidak stretch */
.exec-badge {
  display: inline-block;
  background: #eff6ff;
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  align-self: flex-start;
  border: 1px solid #bfdbfe;
}

.exec-info h3,
.exec-card .staff-name {
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  color: var(--text-dark);
  margin: 0 0 6px 0;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.exec-role {
  font-size: 0.95rem;
  color: var(--text-gray);
  font-weight: 600;
  margin-bottom: 0;
}

/* --- Staff Grid --- */
.staff-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.staff-grid .card-link {
  width: 280px;
  max-width: 100%;
  text-decoration: none;
}

/* --- Card Style: editorial photo-first badge --- */
.staff-card {
  --spot-x: 50%;
  --spot-y: 30%;
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: 20px;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.staff-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow:
    0 20px 30px -10px rgba(37, 99, 235, 0.12),
    0 4px 12px -2px rgba(15, 23, 42, 0.06),
    0 0 0 1px rgba(37, 99, 235, 0.05);
  transform: translateY(-8px) scale(1.02);
}

/* Cursor-tracking spotlight (position set by asisten.js on mousemove) */
.staff-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  mix-blend-mode: overlay;
  background: radial-gradient(260px circle at var(--spot-x) var(--spot-y),
      rgba(255, 255, 255, 0.35),
      transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.staff-card:hover::after {
  opacity: 1;
}

.staff-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #60a5fa);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 4;
  box-shadow: 0 1px 4px rgba(37, 99, 235, 0.3);
}

.staff-card:hover::before {
  transform: scaleX(1);
}

/* Photo bleeds full-width; name & category live on the image, not below it */
.staff-photo-box {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #f1f5f9;
  position: relative;
  overflow: hidden;
}

/* Photo diagonal shine light sweep overlay */
.staff-photo-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.25),
      transparent);
  transform: skewX(-20deg);
  transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.staff-card:hover .staff-photo-box::after {
  left: 150%;
}

.staff-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.5s ease;
  display: block;
  filter: saturate(0.9) contrast(1.02);
}

.staff-card:hover .staff-photo-box img {
  transform: scale(1.06);
  filter: saturate(1.1) contrast(1.05);
}

/* Neutral black, not navy — a tinted scrim would dye the photo instead of just shading it */
.photo-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.78) 0%,
      rgba(0, 0, 0, 0.22) 28%,
      rgba(0, 0, 0, 0) 52%);
}

/* Circular hint that nudges visitors toward the profile link */
.view-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(-6px) scale(0.8);
  transition:
    opacity 0.3s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.3s ease;
}

.staff-card:hover .view-hint {
  opacity: 1;
  transform: translateY(0) scale(1);
  background: var(--primary);
  border-color: var(--primary);
}

.staff-overlay-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 16px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.staff-card:hover .staff-overlay-info {
  transform: translateY(-4px);
}

.overlay-role {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 5px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes dotPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 4px var(--dot, #60a5fa);
  }

  50% {
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--dot, #60a5fa), 0 0 4px var(--dot, #60a5fa);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 4px var(--dot, #60a5fa);
  }
}

.overlay-role::before {
  content: "";
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--dot, #60a5fa);
  box-shadow: 0 0 6px var(--dot, #60a5fa);
  transition: transform 0.3s ease;
}

.staff-card:hover .overlay-role::before {
  animation: dotPulse 1.4s infinite ease-in-out;
}

.role-asisten {
  --dot: #60a5fa;
}

.role-ca {
  --dot: #fbbf24;
}

.role-alumni {
  --dot: #38bdf8;
}

.staff-overlay-info .staff-name {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* Compact meta strip beneath the photo */
.staff-content {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  background: var(--card-bg);
}

.staff-header-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.staff-name {
  font-size: 1.02rem;
  font-weight: 750;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.2px;
}

.staff-specialty {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  font-weight: 650;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 5px 12px;
  border-radius: 8px;
  margin-top: 4px;
  width: fit-content;
  line-height: 1.3;
}

.staff-specialty i {
  font-size: 0.95rem;
  color: #2563eb;
  flex-shrink: 0;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  color: var(--text-gray);
  font-weight: 500;
}

/* Grid cards: compact tag-style meta rows with graceful truncation */
.staff-content .meta-item {
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #64748b;
  min-width: 0;
  align-items: center;
  transition: color 0.2s ease;
}

.staff-content .meta-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.staff-content .meta-item i {
  font-size: 0.95rem;
  flex-shrink: 0;
  color: #2563eb;
  width: 16px;
  text-align: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.staff-card:hover .staff-content .meta-item {
  color: #1e293b;
}

.staff-card:hover .staff-content .meta-item i {
  transform: scale(1.15);
  color: #1d4ed8;
}

/* Footer divider line for Pimpinan & Staff cards */
.staff-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.staff-footer .meta-item.meta-specialty {
  font-weight: 650;
  color: #1d4ed8;
}

.staff-footer .meta-item.meta-specialty i {
  color: #2563eb;
}

/* --- Wrapper Khusus Kepala Lab & Staff --- */
.pimpinan-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 28px;
  margin-bottom: 50px;
  width: 100%;
}

.pimpinan-wrapper .card-link {
  width: 330px;
  max-width: 100%;
  flex: 0 0 330px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.pimpinan-wrapper .card-link .staff-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: var(--card-bg);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.pimpinan-wrapper .card-link .staff-card:hover {
  transform: translateY(-8px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 20px 30px -10px rgba(37, 99, 235, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
}

/* Night mode overrides for Pimpinan & Staff Cards */
body.night-mode .pimpinan-wrapper .card-link .staff-card,
html.night-mode .pimpinan-wrapper .card-link .staff-card {
  background: #1e293b !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}

body.night-mode .pimpinan-wrapper .staff-name,
html.night-mode .pimpinan-wrapper .staff-name {
  color: #f8fafc !important;
}

body.night-mode .staff-footer .meta-item.meta-specialty,
html.night-mode .staff-footer .meta-item.meta-specialty {
  color: #60a5fa !important;
}

body.night-mode .staff-footer .meta-item.meta-specialty i,
html.night-mode .staff-footer .meta-item.meta-specialty i {
  color: #60a5fa !important;
}

body.night-mode .staff-footer,
html.night-mode .staff-footer {
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}

body.night-mode .staff-content .meta-item,
html.night-mode .staff-content .meta-item {
  color: #94a3b8 !important;
}

body.night-mode .staff-content .meta-item i,
html.night-mode .staff-content .meta-item i {
  color: #60a5fa !important;
}

body.night-mode .staff-card:hover .staff-content .meta-item,
html.night-mode .staff-card:hover .staff-content .meta-item {
  color: #f1f5f9 !important;
}

@media (max-width: 991px) {
  .pimpinan-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
    margin-bottom: 30px !important;
    width: 100% !important;
  }

  .pimpinan-wrapper .card-link {
    max-width: 320px !important;
    width: 100% !important;
    flex: 0 0 auto !important;
  }

  .staff-photo-box {
    aspect-ratio: 4 / 4.4 !important;
  }

  .staff-card {
    border-radius: 16px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
  }

  .staff-content {
    padding: 14px 16px 16px !important;
    gap: 10px !important;
  }

  .pimpinan-wrapper .staff-name {
    font-size: 0.95rem !important;
    font-weight: 750 !important;
    line-height: 1.35 !important;
  }

  .staff-role {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
  }

  .staff-content .meta-item {
    font-size: 0.78rem !important;
    gap: 8px !important;
  }
}

.meta-item i {
  color: #94a3b8;
  font-size: 1.1rem;
}

/* Badge Fix (Absolute for Cards) */
.badge-ca-card,
.badge-alumni {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  z-index: 10;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
}

.badge-ca-card {
  background: #f59e0b;
  color: white;
}

.badge-alumni {
  background: #e0f2fe;
  color: #0369a1;
}

/* -------------------------------------------------------
   4. Detail Profile (Fixed Badges & Typography)
   ------------------------------------------------------- */
.detail-nav {
  margin-top: 0;
  margin-bottom: 30px;
  display: block;
}

.profile-wrapper {
  display: flex;
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 20px;
  align-items: stretch;
}

.profile-image {
  flex: 0 0 400px;
  background: #f1f5f9;
  position: relative;
  border-right: 2px solid var(--border);
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  position: absolute;
  top: 0;
  left: 0;
}

.profile-content {
  flex: 1;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* --- DETAIL BADGES (FINAL) --- */
.category-badge {
  display: inline-block;
  width: fit-content;
  align-self: flex-start;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

/* Warna-warna Badge sesuai Controller */
.badge-pimpinan,
.badge-kepala,
.badge-coord {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.badge-staff {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.badge-asisten {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.badge-ca {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fcd34d;
}

/* Typography & Layout */
.profile-name {
  margin-bottom: 10px;
  font-size: 2.8rem;
  line-height: 1.1;
  color: var(--text-dark);
  font-weight: 900;
  letter-spacing: -1px;
}

.profile-role {
  font-size: 1.25rem;
  color: var(--text-gray);
  font-weight: 500;
  display: block;
  margin-bottom: 25px;
}

.specialization-box {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-bio {
  color: var(--text-gray);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.section-title.mt-30 {
  margin-top: 35px;
}

/* Buttons */
.btn-back {
  text-decoration: none;
  color: var(--text-gray);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.btn-back:hover {
  color: var(--primary);
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-wrapper {
  margin-top: auto;
  padding-top: 20px;
}

.btn-contact {
  background: var(--text-dark);
  color: #fff;
  padding: 10px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
}

.btn-contact:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Contact Action Buttons (Gmail & Outline) */
.btn-contact.btn-gmail {
  background: #ea4335 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px -2px rgba(234, 67, 53, 0.35) !important;
}

.btn-contact.btn-gmail:hover {
  background: #d93025 !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 16px -4px rgba(217, 48, 37, 0.45) !important;
}

.btn-contact.btn-outline-contact {
  background: transparent !important;
  color: var(--text-dark, #334155) !important;
  border: 1.5px solid var(--border, #cbd5e1) !important;
  box-shadow: none !important;
}

.btn-contact.btn-outline-contact:hover {
  background: #f1f5f9 !important;
  border-color: #94a3b8 !important;
  color: var(--primary, #2563eb) !important;
  transform: translateY(-2px) scale(1.02);
}

body.night-mode .btn-contact.btn-outline-contact {
  color: #e2e8f0 !important;
  border-color: #334155 !important;
}

body.night-mode .btn-contact.btn-outline-contact:hover {
  background: #1e293b !important;
  border-color: #475569 !important;
  color: #60a5fa !important;
}

/* Disabled Button */
.btn-disabled {
  background: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
  border: none;
  padding: 10px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

/* Empty State */
.empty-state-wrapper {
  text-align: center;
  padding: 100px 0;
}

.empty-icon {
  font-size: 4rem;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.empty-title {
  color: var(--text-dark);
  margin-bottom: 10px;
  font-weight: 800;
}

.btn-primary-pill {
  background: var(--primary);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  display: inline-block;
  text-decoration: none;
}

/* -------------------------------------------------------
   5. Motion & Micro-interactions
   ------------------------------------------------------- */

/* --- Header entrance (plays on load, no JS required) --- */
@keyframes headerRise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-header>* {
  opacity: 0;
  animation: headerRise 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.page-header>*:nth-child(1) {
  animation-delay: 0.05s;
}

.page-header>*:nth-child(2) {
  animation-delay: 0.15s;
}

.page-header>*:nth-child(3) {
  animation-delay: 0.25s;
}

.page-header>*:nth-child(4) {
  animation-delay: 0.35s;
}

/* One-time shine across the eyebrow badge */
.header-badge {
  position: relative;
  overflow: hidden;
}

.header-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.7),
      transparent);
  animation: badgeShine 1.6s ease-in-out 0.9s 1;
}

@keyframes badgeShine {
  to {
    left: 130%;
  }
}

/* --- Search bar focus feedback --- */
.search-icon-compact {
  transition:
    color 0.25s ease,
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.search-container:focus-within .search-icon-compact {
  color: var(--primary);
  transform: translateY(-50%) scale(1.15);
}

/* --- Section label divider draws in on scroll --- */
.section-label span {
  display: inline-block;
  opacity: 0;
  transform: translateX(-12px);
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-label::after {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.section-label.in-view span {
  opacity: 1;
  transform: translateX(0);
}

.section-label.in-view::after {
  transform: scaleX(1);
}

/* --- Scroll-triggered card reveal (class added by asisten.js) --- */
.reveal-card {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 60ms);
}

.reveal-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* --- Live search filtering (class toggled by asisten.js) --- */
.card-link {
  transition:
    opacity 0.22s ease,
    transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Same specificity as .reveal-card.in-view; declared after it so this wins the cascade. */
.card-link.is-filtered {
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
}

.search-empty-state {
  display: none;
  text-align: center;
  padding: 60px 20px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.search-empty-state.show {
  opacity: 1;
  transform: translateY(0);
}

.search-empty-state i {
  display: block;
  font-size: 2.5rem;
  color: #cbd5e1;
  margin-bottom: 12px;
}

.search-empty-state p {
  margin: 0;
  color: var(--text-gray);
  font-weight: 600;
}

/* --- Keyboard focus --- */
.card-link:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
  border-radius: 20px;
}

/* --- Respect reduced motion preference --- */
@media (prefers-reduced-motion: reduce) {

  .page-header>*,
  .header-badge::after,
  .reveal-card,
  .card-link,
  .exec-card::before,
  .staff-card::before,
  .staff-card::after,
  .staff-photo-box img,
  .view-hint,
  .staff-overlay-info,
  .section-label span,
  .section-label::after {
    animation: none !important;
    transition: none !important;
  }

  .staff-card::after {
    display: none !important;
  }

  .page-header>*,
  .reveal-card,
  .section-label span {
    opacity: 1 !important;
    transform: none !important;
  }

  .section-label::after {
    transform: scaleX(1) !important;
  }
}

/* -------------------------------------------------------
   6. Responsive Breakpoints
   ------------------------------------------------------- */
@media (max-width: 1100px) {
  .staff-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .sumberdaya-section {
    padding-top: 100px;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }

  .staff-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .staff-grid .card-link {
    width: calc(50% - 8px);
    max-width: 175px;
  }

  /* Exec Card (Mobile Compact Horizontal Layout with Wider Photo) */
  .exec-card {
    flex-direction: row;
    max-width: 460px;
    margin: 0 auto 24px;
    border-radius: 14px;
    align-items: stretch;
  }

  .exec-photo {
    flex: 0 0 135px;
    width: 135px;
    border-right: 1px solid var(--border);
    border-bottom: none;
    aspect-ratio: auto;
  }

  .exec-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }

  .exec-info {
    padding: 14px 16px;
    text-align: left;
    align-items: flex-start;
    justify-content: center;
  }

  .exec-badge {
    align-self: flex-start;
    padding: 3px 10px;
    font-size: 0.68rem;
    margin-bottom: 6px;
  }

  .exec-info h3,
  .exec-card .staff-name {
    font-size: 1.15rem !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
  }

  .exec-role {
    font-size: 0.8rem;
    margin-bottom: 6px;
  }

  .exec-action {
    width: auto;
    margin-top: 4px !important;
    padding-top: 0 !important;
  }

  .exec-action .btn-contact {
    padding: 6px 14px;
    font-size: 0.78rem;
    border-radius: 6px;
  }

  /* Detail Profile */
  .profile-wrapper {
    flex-direction: column;
  }

  .profile-image {
    flex: auto;
    width: 100%;
    aspect-ratio: 3/4;
    border-right: none;
    border-bottom: 2px solid var(--border);
    min-height: auto;
  }

  .profile-content {
    padding: 30px;
  }

  .profile-name {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .staff-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .staff-grid .card-link {
    width: calc(50% - 6px);
    max-width: 165px;
  }

  .staff-card {
    border-radius: 14px;
  }

  /* Hide bottom text card (prodi & email) on mobile, showing photo and name only */
  .staff-card .staff-content {
    display: none !important;
  }

  .photo-scrim {
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.35) 45%,
        rgba(0, 0, 0, 0) 70%);
  }

  .staff-overlay-info {
    padding: 10px 12px;
  }

  .overlay-role {
    font-size: 0.55rem;
    margin: 0 0 2px;
    letter-spacing: 0.4px;
  }

  .overlay-role::before {
    width: 4px;
    height: 4px;
  }

  .staff-overlay-info .staff-name {
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    line-height: 1.25;
    letter-spacing: -0.2px;
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6) !important;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 12px;
  }

  .staff-grid {
    gap: 10px;
  }

  .staff-grid .card-link {
    width: calc(50% - 5px);
    max-width: 160px;
  }

  .staff-card {
    border-radius: 12px;
  }

  .staff-overlay-info {
    padding: 8px 10px;
  }

  .overlay-role {
    font-size: 0.52rem;
    margin: 0 0 2px;
  }

  .staff-overlay-info .staff-name {
    font-size: 0.82rem !important;
    line-height: 1.25;
  }

  .staff-role {
    font-size: 0.68rem;
    margin-bottom: 6px;
  }

  .meta-item {
    font-size: 0.68rem;
  }
}

@media (max-width: 380px) {
  .staff-grid {
    gap: 8px;
  }

  .staff-grid .card-link {
    width: calc(50% - 4px);
    max-width: 150px;
  }

  .staff-overlay-info {
    padding: 6px 8px;
  }

  .staff-overlay-info .staff-name {
    font-size: 0.78rem !important;
  }
}

/* -------------------------------------------------------
   8. Profile Modal Styling (Glassmorphic Overlay & Slide)
   ------------------------------------------------------- */
.profile-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.profile-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.profile-modal-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  width: 100%;
  max-width: 660px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  position: relative;
  box-shadow:
    0 25px 50px -12px rgba(15, 23, 42, 0.2),
    0 0 0 1px rgba(37, 99, 235, 0.05);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.profile-modal-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #60a5fa);
  z-index: 11;
}

.profile-modal-overlay.active .profile-modal-container {
  transform: scale(1);
}

.profile-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 12;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-modal-close:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: rotate(90deg) scale(1.05);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.profile-modal-content {
  position: relative;
  min-height: 200px;
}

.modal-loading-state,
.modal-error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 12px;
  color: var(--text-gray);
  font-weight: 600;
}

.modal-error-state i {
  font-size: 2.5rem;
  color: #ef4444;
}

.modal-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #f1f5f9;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: modalSpin 0.8s linear infinite;
}

@keyframes modalSpin {
  to {
    transform: rotate(360deg);
  }
}

.profile-modal-body {
  padding: 22px 26px;
}

.modal-profile-header-wrapper {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.modal-profile-image {
  flex: 0 0 130px;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  background: #f8fafc;
  box-shadow: 0 6px 16px -6px rgba(15, 23, 42, 0.12);
}

.modal-profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-profile-info-header {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-profile-info-header .category-badge {
  padding: 4px 12px;
  font-size: 0.7rem;
  margin-bottom: 6px;
}

.modal-profile-info-header .profile-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.3px;
  margin-top: 0;
  margin-bottom: 2px;
  line-height: 1.25;
}

.modal-profile-info-header .profile-role {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.modal-profile-info-header .specialization-box {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-profile-info-header .member-specialization {
  font-size: 0.8rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  padding: 6px 12px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

.modal-profile-info-header .member-specialization:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.05);
}

.modal-profile-info-header .member-specialization i {
  font-size: 1.05rem;
  color: var(--primary);
}

.modal-profile-details {
  width: 100%;
}

.modal-profile-details .section-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
  border-bottom: 1.5px solid var(--border);
  padding-bottom: 4px;
  display: flex;
  align-items: center;
}

.modal-profile-details .section-title::before {
  font-family: "remixicon";
  margin-right: 6px;
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: normal;
}

.modal-profile-details .section-title:nth-of-type(1)::before {
  content: "\f25d";
  /* ri-user-3-line */
}

.modal-profile-details .section-title.mt-30 {
  margin-top: 14px !important;
}

.modal-profile-details .section-title.mt-30::before {
  content: "\ea8c";
  /* ri-award-line */
}

.modal-profile-details .profile-bio {
  color: var(--text-gray);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.modal-profile-details .skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.modal-profile-details .skill-tag {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.modal-profile-details .skill-tag:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: scale(1.05) translateY(-1px);
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.2);
}

.modal-profile-details .contact-wrapper {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.modal-profile-details .btn-contact {
  background: var(--primary);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.modal-profile-details .btn-contact:hover {
  background: var(--primary-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 16px -4px rgba(29, 78, 216, 0.35);
}

/* Responsive adjustments for modal (Compact Mobile Layout) */
@media (max-width: 768px) {
  .profile-modal-overlay {
    padding: 12px;
  }

  .profile-modal-container {
    border-radius: 16px;
    max-height: calc(100vh - 24px);
    width: 100%;
    max-width: 100%;
  }

  .profile-modal-close {
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    font-size: 0.95rem;
  }

  .profile-modal-body {
    padding: 16px 18px;
  }

  .modal-profile-header-wrapper {
    flex-direction: row;
    gap: 14px;
    align-items: flex-start;
    text-align: left;
    padding-bottom: 12px;
    margin-bottom: 12px;
  }

  .modal-profile-image {
    flex: 0 0 85px;
    width: 85px;
    aspect-ratio: 3 / 4;
    border-radius: 10px;
    margin: 0;
  }

  .modal-profile-info-header {
    align-items: flex-start;
  }

  .modal-profile-info-header .category-badge {
    align-self: flex-start;
    padding: 3px 8px;
    font-size: 0.65rem;
    margin-bottom: 4px;
  }

  .modal-profile-info-header .profile-name {
    font-size: 1.1rem;
    line-height: 1.25;
    margin-bottom: 2px;
  }

  .modal-profile-info-header .profile-role {
    font-size: 0.8rem;
    margin-bottom: 6px;
  }

  .modal-profile-info-header .specialization-box {
    margin-top: 4px;
    gap: 4px;
    width: 100%;
  }

  .modal-profile-info-header .member-specialization {
    font-size: 0.74rem;
    padding: 4px 8px;
    gap: 6px;
    border-radius: 6px;
    justify-content: flex-start;
  }

  .modal-profile-info-header .member-specialization i {
    font-size: 0.9rem;
  }

  .modal-profile-details .section-title {
    font-size: 0.82rem;
    margin-bottom: 6px;
    padding-bottom: 3px;
  }

  .modal-profile-details .section-title::before {
    font-size: 0.95rem;
    margin-right: 4px;
  }

  .modal-profile-details .section-title.mt-30 {
    margin-top: 10px !important;
  }

  .modal-profile-details .profile-bio {
    font-size: 0.78rem;
    line-height: 1.45;
    margin-bottom: 10px;
  }

  .modal-profile-details .skills-container {
    gap: 5px;
    margin-bottom: 10px;
  }

  .modal-profile-details .skill-tag {
    padding: 3px 8px;
    font-size: 0.7rem;
    border-radius: 5px;
  }

  .modal-profile-details .contact-wrapper {
    margin-top: 10px;
    padding-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .modal-profile-details .btn-contact,
  .modal-profile-details .btn-disabled {
    flex: 1 1 auto;
    min-width: 100px;
    justify-content: center;
    padding: 8px 12px;
    font-size: 0.78rem;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .profile-modal-overlay {
    padding: 8px;
  }

  .profile-modal-body {
    padding: 14px;
  }

  .modal-profile-header-wrapper {
    gap: 10px;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }

  .modal-profile-image {
    flex: 0 0 75px;
    width: 75px;
    border-radius: 8px;
  }

  .modal-profile-info-header .profile-name {
    font-size: 1rem;
  }

  .modal-profile-info-header .profile-role {
    font-size: 0.75rem;
  }

  .modal-profile-info-header .member-specialization {
    font-size: 0.7rem;
    padding: 3px 6px;
  }
}

/* =======================================================
   SUMBER DAYA NIGHT MODE STYLES
   ======================================================= */

/* 1. Global Section Background & Baseline */
body.night-mode .sumberdaya-section {
  background: #0b0f19 !important;
  color: #f8fafc !important;
}

/* 2. Headers, Typography & Search */
body.night-mode .page-header h1,
body.night-mode .profile-name,
body.night-mode .exec-info h3,
body.night-mode .section-title,
body.night-mode .empty-title,
body.night-mode .modal-profile-info-header h2 {
  color: #ffffff !important;
}

body.night-mode .page-header p,
body.night-mode .exec-role,
body.night-mode .profile-role,
body.night-mode .profile-bio,
body.night-mode .section-label,
body.night-mode .btn-back,
body.night-mode .search-empty-state p {
  color: #cbd5e1 !important;
}

body.night-mode .badge-pill,
body.night-mode .header-badge {
  background-color: rgba(37, 99, 235, 0.15) !important;
  color: #60a5fa !important;
  border-color: rgba(96, 165, 250, 0.3) !important;
}

body.night-mode .search-input {
  background-color: #1e293b !important;
  color: #f8fafc !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

body.night-mode .search-input::placeholder {
  color: #94a3b8 !important;
}

body.night-mode .search-icon-compact {
  color: #94a3b8 !important;
}

body.night-mode .section-label::after {
  background: rgba(255, 255, 255, 0.1) !important;
}

/* 3. Executive & Staff Cards */
body.night-mode .exec-card,
body.night-mode .staff-card,
body.night-mode .profile-wrapper {
  background: #1e293b !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4) !important;
}

body.night-mode .exec-photo,
body.night-mode .staff-photo-box,
body.night-mode .profile-image {
  background-color: #0f172a !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.night-mode .staff-content {
  background: #1e293b !important;
}

body.night-mode .staff-name {
  color: #ffffff !important;
}

body.night-mode .staff-role {
  color: #60a5fa !important;
}

body.night-mode .role-main {
  background: rgba(59, 130, 246, 0.15) !important;
  border-color: rgba(96, 165, 250, 0.25) !important;
  color: #60a5fa !important;
}

body.night-mode .role-sub {
  color: #e2e8f0 !important;
}

body.night-mode .meta-item {
  color: #cbd5e1 !important;
}

body.night-mode .staff-content .meta-item {
  background: #0f172a !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
  color: #cbd5e1 !important;
}

body.night-mode .staff-card:hover .staff-content .meta-item {
  background: rgba(37, 99, 235, 0.2) !important;
  border-color: rgba(96, 165, 250, 0.3) !important;
  color: #60a5fa !important;
}

body.night-mode .meta-item i {
  color: #64748b !important;
}

body.night-mode .staff-card:hover .meta-item i {
  color: #60a5fa !important;
}

/* 4. Badges & Skill Tags */
body.night-mode .exec-badge,
body.night-mode .badge-pimpinan,
body.night-mode .badge-kepala,
body.night-mode .badge-coord {
  background: rgba(37, 99, 235, 0.2) !important;
  color: #60a5fa !important;
  border-color: rgba(96, 165, 250, 0.3) !important;
}

body.night-mode .badge-staff {
  background: #0f172a !important;
  color: #94a3b8 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.night-mode .badge-asisten {
  background: rgba(14, 165, 233, 0.2) !important;
  color: #38bdf8 !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
}

body.night-mode .badge-ca {
  background: rgba(217, 119, 6, 0.2) !important;
  color: #fbbf24 !important;
  border-color: rgba(251, 191, 36, 0.3) !important;
}

body.night-mode .skill-tag,
body.night-mode .modal-profile-details .skill-tag {
  background: #0f172a !important;
  color: #e2e8f0 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

body.night-mode .modal-profile-details .skill-tag:hover {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
}

body.night-mode .section-title {
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

body.night-mode .btn-back:hover {
  color: #60a5fa !important;
}

/* 5. Modal Dialog Night Mode */
body.night-mode .profile-modal-container,
body.night-mode .profile-modal-content {
  background: #1e293b !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6) !important;
}

body.night-mode .modal-profile-image {
  background: #0f172a !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.night-mode .profile-modal-close,
body.night-mode .modal-close-btn {
  background: rgba(15, 23, 42, 0.8) !important;
  color: #e2e8f0 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

body.night-mode .modal-close-btn:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
  border-color: #ef4444 !important;
}

body.night-mode .modal-profile-info-header {
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

body.night-mode .modal-profile-details .contact-wrapper {
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}

/* =======================================================
   ALUMNI MODULE INTEGRATION & COMPATIBILITY
   ======================================================= */
.alumni-group {
  margin-bottom: 48px;
}

.alumni-section {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 50%, #f8fafc 100%);
}

.alumni-badges {
  margin-bottom: 15px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.divisi-badge {
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.meta-info-box {
  margin-bottom: 20px;
  padding: 16px 20px;
  background-color: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
}

.meta-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.meta-value {
  font-size: 0.95rem;
  color: #334155;
  font-weight: 600;
  line-height: 1.4;
}

/* Night Mode for Alumni Elements */
body.night-mode .alumni-section {
  background: #0b0f19 !important;
  color: #f8fafc !important;
}

body.night-mode .divisi-badge {
  background: #0f172a !important;
  color: #94a3b8 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.night-mode .meta-info-box {
  background-color: #0f172a !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.night-mode .meta-label {
  color: #94a3b8 !important;
}

body.night-mode .meta-value {
  color: #cbd5e1 !important;
}