/* ==========================================================================
   APPLICATION SPECIFIC STYLES - JAI SHARMA EDITION
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. COMMAND PROMPT TERMINAL (C:\JaiSharma)
   -------------------------------------------------------------------------- */
.terminal-window {
  background-color: #0c0c0c;
  color: #cccccc;
  font-family: var(--xp-mono);
  font-size: 13px;
  line-height: 1.4;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 10px;
  overflow: hidden;
  position: relative;
}

.terminal-header-text {
  color: #aaaaaa;
  margin-bottom: 10px;
  font-size: 12px;
}

.terminal-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.term-chip {
  background: #1e293b;
  border: 1px solid #3b82f6;
  color: #60a5fa;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--xp-mono);
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s;
}

.term-chip:hover {
  background: #2563eb;
  color: #ffffff;
  transform: translateY(-1px);
}

.terminal-output {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 8px;
  word-break: break-word;
  padding-right: 5px;
}

.terminal-line {
  margin-bottom: 4px;
  white-space: pre-wrap;
}

.terminal-line.cmd-input-line {
  color: #ffffff;
  font-weight: bold;
}

.terminal-line.success { color: #00ff66; }
.terminal-line.info { color: #60a5fa; }
.terminal-line.warning { color: #ffcc00; }
.terminal-line.error { color: #ff5555; }
.terminal-line.accent { color: #c084fc; }

.terminal-prompt-container {
  display: flex;
  align-items: center;
  background: #171717;
  padding: 4px 8px;
  border-radius: 3px;
  border: 1px solid #333;
}

.terminal-prompt-label {
  color: #00ff66;
  margin-right: 6px;
  font-weight: bold;
  white-space: nowrap;
}

.terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--xp-mono);
  font-size: 13px;
}

/* Matrix Effect Canvas */
.matrix-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 5;
}

.matrix-canvas.active {
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   2. BIO & EDUCATION (MY COMPUTER)
   -------------------------------------------------------------------------- */
.bio-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bio-hero-card {
  display: flex;
  gap: 20px;
  background: linear-gradient(135deg, #eaf2ff 0%, #ffffff 100%);
  border: 1px solid #7f9db9;
  border-radius: 6px;
  padding: 18px;
  align-items: center;
}

.bio-avatar-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid #0058ee;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  background: #0036a6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  font-weight: bold;
  font-family: 'Space Grotesk', sans-serif;
}

.bio-hero-info h1 {
  font-size: 22px;
  color: #0036a6;
  margin-bottom: 4px;
}

.bio-hero-info h3 {
  font-size: 13px;
  color: #2563eb;
  font-weight: 600;
  margin-bottom: 8px;
}

.bio-hero-info p {
  font-size: 12px;
  color: #444;
  line-height: 1.5;
}

/* 3 Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.pillar-card {
  border: 1px solid #b0c4de;
  background: #f8fafc;
  padding: 12px;
  border-radius: 4px;
  border-top: 3px solid #0058ee;
}

.pillar-num {
  font-size: 10px;
  font-weight: bold;
  color: #6C8CFF;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.pillar-title {
  font-size: 13px;
  font-weight: bold;
  color: #0036a6;
  margin-bottom: 6px;
}

.pillar-desc {
  font-size: 11px;
  color: #555;
  line-height: 1.4;
  margin-bottom: 8px;
}

.pillar-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.pillar-chip {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-family: var(--xp-mono);
}

.education-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline-item {
  border: 1px solid #b0c4de;
  border-left: 4px solid #0058ee;
  background: #ffffff;
  padding: 14px 16px;
  border-radius: 0 4px 4px 0;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.degree-title {
  font-size: 15px;
  font-weight: bold;
  color: #0036a6;
}

.institution-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.education-details {
  color: #666;
  font-size: 11px;
}

.courses-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.course-badge {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   3. SKILLS & CONTROL PANEL
   -------------------------------------------------------------------------- */
.skills-boxes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.skill-box-card {
  border: 1px solid #7f9db9;
  background: #ffffff;
  border-radius: 6px;
  padding: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.skill-box-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: bold;
  color: #0036a6;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
}

.skill-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skill-tag-pill {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   4. PROJECTS SHOWCASE (14 PROJECTS & FILTERS)
   -------------------------------------------------------------------------- */
.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #b0c4de;
}

.project-filter-btns {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid #94a3b8;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  color: #475569;
}

.filter-btn.active {
  background: #0058ee;
  color: white;
  border-color: #0036a6;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.project-card {
  border: 1px solid #7f9db9;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,88,238,0.2);
  border-color: #0058ee;
}

.project-card.hero-card {
  border: 2px solid #ff8c00;
  background: #fffdf5;
}

.project-thumbnail {
  height: 120px;
  background: linear-gradient(135deg, #0036a6 0%, #1e40af 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero-star-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #ff8c00;
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: bold;
}

.project-tag-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 88, 238, 0.85);
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: bold;
}

.project-info {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 14px;
  font-weight: bold;
  color: #0036a6;
  margin-bottom: 4px;
}

.project-tagline {
  font-size: 11px;
  color: #2563eb;
  font-weight: 600;
  margin-bottom: 6px;
}

.project-desc {
  color: #444;
  font-size: 11px;
  line-height: 1.4;
  margin-bottom: 10px;
  flex: 1;
}

.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
}

.tech-pill {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-family: var(--xp-mono);
}

.hero-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 6px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.hero-stat-item {
  font-size: 10px;
}

.hero-stat-item strong {
  color: #0058ee;
}

/* --------------------------------------------------------------------------
   5. RESEARCH PAPERS (4 PUBLICATIONS)
   -------------------------------------------------------------------------- */
.research-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.research-card {
  border: 1px solid #a3b8cc;
  background: #ffffff;
  padding: 16px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.research-venue {
  font-size: 11px;
  color: #2563eb;
  font-weight: 700;
  margin-bottom: 4px;
  font-family: var(--xp-mono);
}

.research-title {
  font-size: 15px;
  font-weight: bold;
  color: #0036a6;
  margin-bottom: 6px;
  line-height: 1.3;
}

.research-authors {
  font-size: 12px;
  color: #333;
  margin-bottom: 10px;
}

.research-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
}

.doi-link {
  font-size: 11px;
  color: #0058ee;
  font-family: var(--xp-mono);
  text-decoration: none;
}

.doi-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   6. RESUME & CV VIEWER
   -------------------------------------------------------------------------- */
.resume-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f0f4f8;
  border: 1px solid #7f9db9;
  padding: 8px 14px;
  margin-bottom: 15px;
  border-radius: 4px;
}

.resume-paper {
  background: #ffffff;
  border: 1px solid #ccc;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  line-height: 1.5;
  font-size: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.resume-section-title {
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  color: #0036a6;
  border-bottom: 2px solid #0058ee;
  padding-bottom: 4px;
  margin: 18px 0 10px 0;
  letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   7. OUTLOOK EXPRESS CONTACT FORM
   -------------------------------------------------------------------------- */
.contact-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-weight: bold;
  color: #333;
}

.xp-input, .xp-textarea {
  border: 1px solid var(--xp-inset-border);
  padding: 8px 10px;
  font-family: var(--xp-font);
  font-size: 12px;
  background: #ffffff;
  border-radius: 3px;
  outline: none;
}

.xp-input:focus, .xp-textarea:focus {
  border-color: #0058ee;
  box-shadow: 0 0 4px rgba(0,88,238,0.4);
}

.xp-textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-socials-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-link-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 6px 12px;
  border-radius: 4px;
  color: #1e293b;
  text-decoration: none;
  font-weight: 600;
  font-size: 11px;
}

.social-link-btn:hover {
  background: #3b82f6;
  color: white;
  border-color: #1d4ed8;
}

/* --------------------------------------------------------------------------
   8. RECRUITER FAST VIEW (HR EXECUTIVE SUMMARY)
   -------------------------------------------------------------------------- */
.recruiter-dashboard {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recruiter-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.metric-card {
  background: linear-gradient(to bottom, #ffffff, #f0f4fb);
  border: 1px solid #7f9db9;
  padding: 14px;
  border-radius: 6px;
  text-align: center;
}

.metric-value {
  font-size: 24px;
  font-weight: bold;
  color: #0058ee;
  font-family: 'Space Grotesk', sans-serif;
}

.metric-label {
  font-size: 11px;
  color: #555;
  margin-top: 2px;
}

.recruiter-highlights {
  background: #fffbe6;
  border: 1px solid #ffe58f;
  padding: 14px 18px;
  border-radius: 6px;
}

.recruiter-highlights h4 {
  color: #d48800;
  margin-bottom: 8px;
  font-size: 13px;
}

/* MINESWEEPER MINI-GAME */
.minesweeper-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #c0c0c0;
  padding: 12px;
  border: 3px inset #ffffff;
  width: fit-content;
  margin: 0 auto;
}

.minesweeper-header {
  width: 100%;
  background: #c0c0c0;
  border: 2px inset #ffffff;
  padding: 4px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.digital-counter {
  background: #000;
  color: #ff0000;
  font-family: var(--xp-mono);
  font-weight: bold;
  font-size: 18px;
  padding: 2px 6px;
  letter-spacing: 2px;
}

.face-btn {
  width: 28px;
  height: 28px;
  background: #c0c0c0;
  border: 2px outset #ffffff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.minesweeper-grid {
  display: grid;
  grid-template-columns: repeat(9, 22px);
  grid-template-rows: repeat(9, 22px);
  gap: 0;
  border: 3px inset #ffffff;
}

.ms-cell {
  width: 22px;
  height: 22px;
  background: #c0c0c0;
  border: 2px outset #ffffff;
  font-weight: bold;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ms-cell.revealed {
  border: 1px solid #7b7b7b;
  background: #bdbdbd;
}

/* ==========================================================================
   EXTRACURRICULAR ACTIVITIES WINDOW
   ========================================================================== */
.activities-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.activities-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.activities-draft-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fff8e1;
  border: 1px solid #e6a100;
  border-left: 4px solid #ff8c00;
  border-radius: 3px;
  padding: 8px 10px;
  font-size: 11px;
  line-height: 1.5;
  color: #6b4c00;
}

.activities-draft-notice i {
  color: #e07800;
  margin-top: 1px;
}

.activities-draft-notice code {
  background: #ffeab5;
  border: 1px solid #e0c078;
  border-radius: 2px;
  padding: 0 3px;
  font-family: var(--xp-mono);
  font-size: 10px;
}

.activity-group {
  border: 1px solid #b8cbe0;
  border-radius: 4px;
  background: #f7fafd;
  overflow: hidden;
}

.activity-group-title {
  display: flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(to bottom, #eaf2fb, #d3e5fa);
  border-bottom: 1px solid #b8cbe0;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: bold;
  color: #0036a6;
}

.activity-group-title i {
  color: #e6a100;
}

.activity-group-count {
  margin-left: auto;
  background: #0058ee;
  color: #fff;
  border-radius: 9px;
  padding: 1px 8px;
  font-size: 10px;
}

.activity-list {
  display: flex;
  flex-direction: column;
}

.activity-card {
  display: flex;
  gap: 12px;
  padding: 11px 12px;
  border-bottom: 1px solid #e2ebf4;
  background: #ffffff;
}

.activity-card:last-child {
  border-bottom: none;
}

.activity-card:hover {
  background: #f0f6fd;
}

.activity-card.is-draft {
  background: repeating-linear-gradient(
    45deg, #fffdf6, #fffdf6 10px, #fff8e6 10px, #fff8e6 20px
  );
}

.activity-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.25));
}

.activity-body {
  flex: 1;
  min-width: 0;
}

.activity-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2px;
}

.activity-title {
  font-size: 12.5px;
  font-weight: bold;
  color: #0036a6;
}

.draft-badge {
  background: #ff8c00;
  color: #fff;
  font-size: 9px;
  font-weight: bold;
  letter-spacing: .4px;
  padding: 2px 6px;
  border-radius: 2px;
  border: 1px solid #c96f00;
}

.activity-period {
  margin-left: auto;
  font-size: 10px;
  color: #667;
  white-space: nowrap;
}

.activity-org {
  font-size: 11px;
  color: #2e8b57;
  font-weight: 600;
  margin-bottom: 5px;
}

.activity-desc {
  font-size: 11px;
  line-height: 1.55;
  color: #444;
  margin-bottom: 6px;
}

.activity-relevance {
  font-size: 11px;
  line-height: 1.5;
  color: #333;
  background: #eef5ff;
  border-left: 3px solid #0058ee;
  padding: 5px 8px;
  border-radius: 0 3px 3px 0;
  margin-bottom: 7px;
}

.activity-relevance strong {
  color: #0036a6;
}

.activity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.activity-link {
  display: inline-block;
  margin-top: 7px;
  font-size: 11px;
  color: #0058ee;
  text-decoration: none;
  font-weight: 600;
}

.activity-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   "OPEN TO WORK" BANNER (HR / Recruiter dashboard)
   ========================================================================== */
.seeking-banner {
  background: linear-gradient(to bottom, #f2fbf4, #dff3e4);
  border: 1px solid #46a046;
  border-left: 4px solid #2e8b57;
  border-radius: 4px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.seeking-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: bold;
  color: #1d6b34;
}

.seeking-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .7);
  animation: seekingPulse 2s infinite;
}

@keyframes seekingPulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); }
  70%  { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.seeking-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.seeking-role-pill {
  background: linear-gradient(to bottom, #2b7af0, #0a4ab8);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 11px;
  border-radius: 11px;
  border: 1px solid #00227b;
}

.seeking-meta {
  font-size: 10.5px;
  color: #3d5c46;
}

.seeking-meta i {
  color: #2e8b57;
}

/* ==========================================================================
   FEATURED CASE STUDIES STRIP (top of My Projects window)
   ========================================================================== */
.featured-strip {
  background: linear-gradient(to bottom, #fffef7, #fff4d6);
  border: 1px solid #e6b800;
  border-radius: 5px;
  padding: 10px 12px;
  margin-bottom: 14px;
}

.featured-strip-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 9px;
}

.featured-strip-title {
  font-size: 13px;
  font-weight: bold;
  color: #a06c00;
}

.featured-strip-title i { color: #f5b722; }

.featured-strip-sub {
  font-size: 10px;
  color: #9a7b30;
}

.featured-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 9px;
}

.featured-card {
  background: #ffffff;
  border: 1px solid #e0c884;
  border-radius: 4px;
  padding: 9px 10px;
  cursor: pointer;
  transition: transform .08s, box-shadow .1s, border-color .1s;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(230, 160, 0, .3);
  border-color: #f5b722;
}

.featured-card.is-soon {
  background: repeating-linear-gradient(45deg, #fff, #fff 8px, #fbf4e2 8px, #fbf4e2 16px);
}

.featured-card-top {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #667;
}

.featured-card-top i { color: #0058ee; font-size: 13px; }

.featured-card-cat {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.featured-soon-tag {
  margin-left: auto;
  background: #ff8c00;
  color: #fff;
  font-size: 8px;
  font-weight: bold;
  padding: 1px 5px;
  border-radius: 8px;
}

.featured-card-title {
  font-size: 12.5px;
  font-weight: bold;
  color: #0036a6;
  line-height: 1.2;
}

.featured-card-line {
  font-size: 10.5px;
  color: #555;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-card-cta {
  margin-top: auto;
  font-size: 10.5px;
  font-weight: bold;
  color: #0058ee;
}

/* ---- Card badges & coming-soon state in the main grid ---- */
.case-study-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 88, 238, .9);
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 7px;
  border-radius: 3px;
}

.coming-soon-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(255, 140, 0, .95);
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 7px;
  border-radius: 3px;
}

.coming-soon-card {
  opacity: .92;
}

.coming-soon-card .project-thumbnail {
  filter: grayscale(.35);
}

/* ==========================================================================
   CASE STUDY (project deep-dive window)
   ========================================================================== */
.case-study {
  --cs-accent: #0058ee;
  font-size: 12px;
  color: #222;
  line-height: 1.55;
}

.case-study.cat-cv     { --cs-accent: #8a2be2; }
.case-study.cat-ds     { --cs-accent: #0058ee; }
.case-study.cat-big    { --cs-accent: #e07800; }
.case-study.cat-sports { --cs-accent: #2e8b57; }
.case-study.cat-finance{ --cs-accent: #c79000; }

.cs-hero {
  background: linear-gradient(135deg, var(--cs-accent), #001a5c);
  color: #fff;
  border-radius: 6px;
  padding: 16px 18px;
  margin-bottom: 14px;
}

.cs-hero-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.cs-cat {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  background: rgba(255, 255, 255, .18);
  padding: 3px 9px;
  border-radius: 10px;
}

.cs-hero-badge, .cs-soon-badge {
  font-size: 10px;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 10px;
}

.cs-hero-badge { background: #f5b722; color: #4a3200; }
.cs-soon-badge { background: #ff8c00; color: #fff; }

.cs-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: 'Space Grotesk', var(--xp-font);
  line-height: 1.15;
}

.cs-oneliner {
  font-size: 13px;
  line-height: 1.5;
  color: #eaf1ff;
  margin-bottom: 12px;
}

.cs-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.cs-hero .tech-pill {
  background: rgba(255, 255, 255, .2);
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}

/* Top stats band */
.cs-topstats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.cs-topstat {
  background: #f3f7fc;
  border: 1px solid #cfe0f2;
  border-top: 3px solid var(--cs-accent);
  border-radius: 4px;
  padding: 10px 8px;
  text-align: center;
}

.cs-topstat-val {
  font-size: 17px;
  font-weight: bold;
  color: var(--cs-accent);
}

.cs-topstat-label {
  font-size: 10px;
  color: #667;
  margin-top: 2px;
}

/* Sections */
.cs-section { margin-bottom: 18px; }

.cs-h2 {
  font-size: 14px;
  color: var(--cs-accent);
  border-bottom: 2px solid #e2ebf4;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.cs-h2 i { margin-right: 5px; }

.cs-text {
  font-size: 12px;
  line-height: 1.65;
  color: #333;
}

/* Pipeline flow diagram */
.cs-pipeline {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 6px;
  background: #f7fafd;
  border: 1px solid #d8e4f0;
  border-radius: 5px;
  padding: 12px 10px;
  margin-bottom: 14px;
}

.cs-stage {
  flex: 1 1 auto;
  min-width: 92px;
  background: #fff;
  border: 1px solid var(--cs-accent);
  border-radius: 4px;
  padding: 8px 6px 8px 24px;
  position: relative;
  font-size: 11px;
  font-weight: 600;
  color: #234;
  display: flex;
  align-items: center;
  text-align: left;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}

.cs-stage-num {
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  background: var(--cs-accent);
  color: #fff;
  border-radius: 50%;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-arrow {
  display: flex;
  align-items: center;
  color: var(--cs-accent);
  font-weight: bold;
  font-size: 16px;
}

/* Numbered approach steps */
.cs-steps {
  list-style: none;
  counter-reset: cs;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cs-step {
  counter-increment: cs;
  position: relative;
  padding-left: 34px;
}

.cs-step::before {
  content: counter(cs);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--cs-accent);
  color: #fff;
  border-radius: 50%;
  font-weight: bold;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-step-title {
  font-size: 12px;
  font-weight: bold;
  color: #123;
}

.cs-step-detail {
  font-size: 11.5px;
  color: #445;
  line-height: 1.55;
}

/* Before / after bars */
.cs-bars { margin-bottom: 14px; }

.cs-bar-block { margin-bottom: 10px; }

.cs-bar-label {
  font-size: 11px;
  font-weight: bold;
  color: #234;
  margin-bottom: 4px;
}

.cs-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.cs-bar-tag {
  font-size: 10px;
  color: #778;
  width: 42px;
  flex: 0 0 42px;
}

.cs-bar-track {
  flex: 1;
  height: 16px;
  background: #eef2f6;
  border: 1px solid #d5dee7;
  border-radius: 8px;
  overflow: hidden;
}

.cs-bar-fill {
  height: 100%;
  border-radius: 8px 0 0 8px;
  transition: width .6s ease-out;
}

.cs-bar-fill.before { background: linear-gradient(to right, #9fb4c9, #7f97ae); }
.cs-bar-fill.after  { background: linear-gradient(to right, #4a90e2, var(--cs-accent)); }

.cs-bar-val {
  font-size: 11px;
  font-weight: bold;
  color: #234;
  width: 58px;
  flex: 0 0 58px;
  text-align: right;
}

/* Result metric cards */
.cs-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
}

.cs-result-card {
  background: linear-gradient(to bottom, #ffffff, #f1f6fc);
  border: 1px solid #cfe0f2;
  border-radius: 5px;
  padding: 12px 10px;
  text-align: center;
}

.cs-result-val {
  font-size: 15px;
  font-weight: bold;
  color: var(--cs-accent);
  line-height: 1.25;
}

.cs-result-label {
  font-size: 10px;
  color: #667;
  margin-top: 4px;
}

/* Demo (coming soon) block */
.cs-demo-soon {
  background: repeating-linear-gradient(45deg, #f7fafd, #f7fafd 12px, #eef4fb 12px, #eef4fb 24px);
  border: 2px dashed var(--cs-accent);
  border-radius: 6px;
  padding: 22px 16px;
  text-align: center;
}

.cs-demo-icon {
  font-size: 30px;
  color: var(--cs-accent);
  opacity: .8;
  margin-bottom: 8px;
}

.cs-demo-title {
  font-size: 13px;
  font-weight: bold;
  color: var(--cs-accent);
  margin-bottom: 4px;
}

.cs-demo-cap {
  font-size: 11px;
  color: #556;
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Documentation links */
.cs-docs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cs-doc-link {
  font-size: 12px;
  color: var(--cs-accent);
  text-decoration: none;
  font-weight: 600;
}

.cs-doc-link:hover { text-decoration: underline; }

.cs-doc-link.disabled {
  color: #99a;
  font-weight: 500;
  font-style: italic;
  cursor: default;
}

/* Footer actions */
.cs-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid #e2ebf4;
  padding-top: 14px;
  margin-top: 4px;
}

/* ==========================================================================
   CASE STUDY — PHOTOS, FIGURES & KEY FINDING
   ========================================================================== */

/* Dedicated hero photo banner (top of case study) */
.cs-hero-photo {
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid #c9d6e5;
  background: #0d1a33;
  max-height: 320px;
  display: flex;
  justify-content: center;
}

.cs-hero-photo img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  display: block;
}

/* Key-finding callout */
.cs-keyfinding {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: linear-gradient(to bottom, #fffbe9, #fff3c6);
  border: 1px solid #e6b800;
  border-left: 4px solid #f5b722;
  border-radius: 5px;
  padding: 11px 13px;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.6;
  color: #4a3a00;
}

.cs-keyfinding i {
  color: #e6a100;
  font-size: 16px;
  margin-top: 1px;
}

.cs-keyfinding strong { color: #7a5800; }

/* Figures gallery */
.cs-figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.cs-figure {
  margin: 0;
  background: #fff;
  border: 1px solid #d5dee7;
  border-radius: 5px;
  overflow: hidden;
}

.cs-figure img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  background: #fbfcfe;
  display: block;
  border-bottom: 1px solid #eef2f6;
  cursor: zoom-in;
  transition: transform .12s;
}

.cs-figure a:hover img { transform: scale(1.02); }

.cs-figure figcaption {
  font-size: 10.5px;
  color: #556;
  line-height: 1.45;
  padding: 7px 9px;
}

/* Demo image (real demonstration) */
.cs-demo-figure {
  margin: 0;
  background: #fff;
  border: 1px solid #d5dee7;
  border-radius: 6px;
  overflow: hidden;
}

.cs-demo-figure img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: #0d1a33;
  display: block;
  cursor: zoom-in;
}

.cs-demo-figure figcaption {
  font-size: 11px;
  color: #445;
  line-height: 1.5;
  padding: 9px 11px;
  background: #f7fafd;
}

/* ---- Project card thumbnail photos ---- */
.project-thumbnail.has-photo {
  padding: 0;
  overflow: hidden;
  background: #0d1a33;
}

.project-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.coming-soon-card .project-thumb-img { filter: grayscale(.35); }

/* ==========================================================================
   RESEARCH PAPER DEEP-DIVE ("What I Did")
   ========================================================================== */
.case-study.cat-paper { --cs-accent: #6d28d9; }

.cs-paper-venue {
  font-size: 12px;
  color: #e7ddff;
  font-weight: 600;
  margin-bottom: 6px;
}

.cs-paper-authors {
  font-size: 11.5px;
  color: #d6ccf5;
  line-height: 1.5;
  margin-bottom: 4px;
}

.cs-paper-inst {
  font-size: 11px;
  color: #c9bdf0;
}

/* Research card: two-button footer + institution line */
.research-inst {
  font-size: 10.5px;
  color: #2e8b57;
  margin: 2px 0 4px;
}

.research-inst i { margin-right: 4px; }

.research-btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* Generated bar charts */
.cs-chart { margin-bottom: 16px; }

.cs-chart-title {
  font-size: 12px;
  font-weight: bold;
  color: #234;
  margin-bottom: 8px;
}

.cs-hbars {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cs-hbar-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cs-hbar-label {
  font-size: 10.5px;
  color: #445;
  width: 118px;
  flex: 0 0 118px;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cs-hbar-track {
  flex: 1;
  height: 16px;
  background: #eef2f6;
  border-radius: 3px;
  overflow: hidden;
  min-width: 40px;
}

.cs-hbar-fill {
  height: 100%;
  background: linear-gradient(to right, #9b7ce8, var(--cs-accent));
  border-radius: 3px;
  transition: width .6s ease-out;
}

.cs-hbar-row.is-best .cs-hbar-fill {
  background: linear-gradient(to right, #37c26a, #128a41);
}

.cs-hbar-val {
  font-size: 10.5px;
  font-weight: bold;
  color: #234;
  width: 92px;
  flex: 0 0 92px;
}

.cs-hbar-row.is-best .cs-hbar-val { color: #128a41; }

.cs-hbar-val em {
  font-weight: 400;
  font-style: normal;
  color: #778;
}

/* Data tables */
.cs-table-wrap { margin-bottom: 14px; }

.cs-table-scroll {
  overflow-x: auto;
  border: 1px solid #d5dee7;
  border-radius: 5px;
}

.cs-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 11px;
  background: #fff;
}

.cs-table th {
  background: linear-gradient(to bottom, #eef2fb, #dde6f5);
  color: #234a7a;
  font-weight: bold;
  text-align: left;
  padding: 6px 9px;
  border-bottom: 1px solid #c3d0e0;
  white-space: nowrap;
}

.cs-table td {
  padding: 5px 9px;
  border-bottom: 1px solid #eef2f6;
  color: #344;
}

.cs-table tbody tr:nth-child(even) { background: #f7fafd; }
.cs-table tbody tr:hover { background: #eef5ff; }

/* Observation bullet list */
.cs-obs {
  margin: 6px 0 0 0;
  padding-left: 18px;
  font-size: 11.5px;
  line-height: 1.65;
  color: #344;
}

.cs-obs li { margin-bottom: 4px; }

/* ==========================================================================
   CONTACT ME (Outlook-style, working mailto)
   ========================================================================== */
.contact-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #0058ee, #002a80);
  border-radius: 6px;
  padding: 14px 16px;
  color: #fff;
}

.contact-avatar {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  background: #fff;
  color: #0058ee;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
}

.contact-hero-info h1 { font-size: 19px; margin-bottom: 2px; }
.contact-hero-info p { font-size: 12px; color: #cfe0ff; margin-bottom: 6px; }

.contact-avail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  background: rgba(255,255,255,.15);
  padding: 3px 9px;
  border-radius: 10px;
}

.contact-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,.7);
  animation: seekingPulse 2s infinite;
}

.contact-section-label {
  font-size: 11px;
  font-weight: bold;
  color: #0036a6;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 1px solid #e2ebf4;
  padding-bottom: 4px;
}

.contact-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 9px;
}

.contact-link-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border: 1px solid #cfd9e6;
  border-radius: 5px;
  background: #fff;
  text-decoration: none;
  color: #223;
  transition: transform .08s, box-shadow .1s, border-color .1s;
}

.contact-link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,.14);
  border-color: #0058ee;
}

.contact-link-card i {
  font-size: 22px;
  width: 26px;
  text-align: center;
}

.contact-link-card.email i   { color: #d64541; }
.contact-link-card.linkedin i{ color: #0a66c2; }
.contact-link-card.github i  { color: #24292e; }
.contact-link-card.orcid i   { color: #a6ce39; }

.contact-link-card div { display: flex; flex-direction: column; min-width: 0; }
.contact-link-card strong { font-size: 12px; }
.contact-link-card span {
  font-size: 10.5px;
  color: #667;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Compose box */
.contact-compose {
  border: 1px solid #cfd9e6;
  border-radius: 6px;
  background: #f7fafd;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.compose-field { display: flex; flex-direction: column; gap: 3px; }

.compose-field label {
  font-size: 10.5px;
  font-weight: bold;
  color: #556;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.compose-static {
  font-size: 12px;
  color: #223;
  background: #fff;
  border: 1px solid #d5dee7;
  border-radius: 3px;
  padding: 6px 9px;
}

.contact-compose .xp-input,
.contact-compose .xp-textarea {
  width: 100%;
}

.contact-compose .xp-textarea { min-height: 96px; resize: vertical; }

.compose-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.compose-hint {
  font-size: 10.5px;
  color: #667;
}

.compose-hint i { color: #0058ee; }

/* ==========================================================================
   POSTER + KEYWORD CLUSTERS + CONTACT STATUS
   ========================================================================== */
.cs-poster {
  margin: 0;
  border: 1px solid #d5dee7;
  border-radius: 6px;
  overflow: hidden;
  background: #f7f8fa;
}

/* A complex PPTX-exported SVG renders blank inside <img>, so embed it via an
   <iframe> — it renders exactly like opening the file, scaled to fit the box. */
.cs-poster-frame {
  width: 100%;
  height: 540px;
  background: #fff;
  border-bottom: 1px solid #eef2f6;
}

.cs-poster-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.cs-poster-open {
  margin-left: 8px;
  font-weight: bold;
  color: var(--cs-accent);
  text-decoration: none;
  white-space: nowrap;
}

.cs-poster-open:hover { text-decoration: underline; }

.cs-poster figcaption {
  font-size: 11px;
  color: #445;
  padding: 8px 11px;
  background: #f7fafd;
  border-top: 1px solid #eef2f6;
}

/* Keyword clusters — proportional colored blocks */
.cs-clusters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.cs-cluster {
  flex: 1 1 200px;
  min-width: 180px;
  background: color-mix(in srgb, var(--cl) 10%, #fff);
  border: 1px solid var(--cl);
  border-top: 4px solid var(--cl);
  border-radius: 5px;
  padding: 9px 11px;
}

.cs-cluster-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: bold;
  color: #223;
  margin-bottom: 4px;
}

.cs-cluster-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cl);
  flex: 0 0 11px;
}

.cs-cluster-count {
  margin-left: auto;
  background: var(--cl);
  color: #fff;
  font-size: 10px;
  padding: 1px 8px;
  border-radius: 9px;
}

.cs-cluster-kw {
  font-size: 10.5px;
  color: #445;
  line-height: 1.45;
}

.cs-cluster-note {
  font-size: 10px;
  color: #889;
  font-style: italic;
  margin-bottom: 6px;
}

/* Contact send status */
.contact-status {
  display: none;
  font-size: 11.5px;
  padding: 8px 11px;
  border-radius: 4px;
  line-height: 1.5;
}

.contact-status.show { display: block; }
.contact-status i { margin-right: 5px; }

.contact-status.info    { background: #eaf2fd; border: 1px solid #9dc3ef; color: #1a4f8a; }
.contact-status.success { background: #eafaf0; border: 1px solid #6cc38a; color: #1c6b39; }
.contact-status.error   { background: #fdecec; border: 1px solid #e39a9a; color: #9a2b2b; }

/* ==========================================================================
   ABOUT ME — MODERN, FULL-SCREEN, BIG PHOTO
   ========================================================================== */
.bio-modern {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero */
.bio-hero {
  display: flex;
  gap: 26px;
  align-items: center;
  background: linear-gradient(135deg, #0a4bd4 0%, #0a2f8f 55%, #06205e 100%);
  border-radius: 12px;
  padding: 28px 30px;
  color: #fff;
  box-shadow: 0 8px 26px rgba(6, 32, 94, .35);
}

.bio-photo {
  width: 190px;
  height: 230px;
  flex: 0 0 190px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #eaf1ff, #b9cdf5);
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  position: relative;
  border: 3px solid rgba(255,255,255,.85);
}

.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
}

.bio-photo-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 68px;
  font-weight: 800;
  color: #0a4bd4;
  font-family: 'Space Grotesk', sans-serif;
  z-index: 1;
}

.bio-photo.no-photo { background: linear-gradient(135deg, #eaf1ff, #9fbcf0); }
.bio-photo.no-photo .bio-photo-fallback { display: flex; }

.bio-hero-text { flex: 1; min-width: 0; }

.bio-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(255,255,255,.16);
  padding: 4px 11px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.bio-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #34e07a;
  box-shadow: 0 0 0 0 rgba(52,224,122,.7);
  animation: seekingPulse 2s infinite;
}

.bio-hero-text h1 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 4px;
  font-family: 'Space Grotesk', sans-serif;
}

.bio-hero-text h2 {
  font-size: 16px;
  font-weight: 600;
  color: #b7ccff;
  margin-bottom: 12px;
}

.bio-headline {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.bio-sub {
  font-size: 12.5px;
  color: #d5e1ff;
  line-height: 1.55;
  margin-bottom: 12px;
}

.bio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 11.5px;
  color: #cfdcff;
  margin-bottom: 14px;
}

.bio-meta i { margin-right: 5px; color: #7ea6ff; }

.bio-socials { display: flex; flex-wrap: wrap; gap: 8px; }

.bio-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #0a2f8f;
  background: #fff;
  padding: 7px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform .08s, box-shadow .1s;
}

.bio-social:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.28); }
.bio-social i { font-size: 14px; }

/* Stats */
.bio-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.bio-stat {
  background: #fff;
  border: 1px solid #d8e2f0;
  border-top: 4px solid #0a4bd4;
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(10,75,212,.08);
}

.bio-stat-val {
  font-size: 30px;
  font-weight: 800;
  color: #0a4bd4;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1;
}

.bio-stat-label { font-size: 11px; color: #667; margin-top: 6px; }

/* Sections */
.bio-section { margin-top: 4px; }

.bio-h2 {
  font-size: 18px;
  color: #0036a6;
  margin-bottom: 14px;
  font-family: 'Space Grotesk', sans-serif;
}

.bio-h2 i { margin-right: 8px; color: #0a4bd4; }

/* Slightly larger pillar cards in the modern layout */
.bio-modern .pillars-grid { gap: 14px; }
.bio-modern .pillar-card { border-radius: 10px; padding: 16px; }

/* ==========================================================================
   WORK EXPERIENCE (About Me)
   ========================================================================== */
.exp-timeline { display: flex; flex-direction: column; gap: 12px; }

.exp-item {
  border: 1px solid #d8e2f0;
  border-left: 4px solid #0a4bd4;
  background: #fff;
  border-radius: 0 8px 8px 0;
  padding: 14px 16px;
}

.exp-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.exp-role { font-size: 15px; font-weight: bold; color: #0036a6; }
.exp-period { font-size: 11px; color: #667; white-space: nowrap; }
.exp-org { font-size: 12.5px; font-weight: 600; color: #2e8b57; margin: 2px 0 6px; }
.exp-bullets { margin: 0 0 8px 0; padding-left: 18px; font-size: 12px; line-height: 1.6; color: #344; }
.exp-bullets li { margin-bottom: 3px; }

/* ==========================================================================
   🥚 EASTER EGG (Contact) + VIDEO POP-UP
   ========================================================================== */
.easter-egg-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed #dde5ef;
  opacity: 0.8;
}

.easter-egg {
  font-size: 26px;
  cursor: pointer;
  user-select: none;
  line-height: 1;
  transition: transform 0.15s;
  animation: eggWobble 4s ease-in-out infinite;
}

.easter-egg:hover { transform: scale(1.25) rotate(-4deg); }
.easter-egg.cracking { animation: eggShake 0.34s ease; }
.egg-emoji { display: inline-block; }

.easter-egg-hint { font-size: 11px; color: #97a1b2; font-style: italic; }

@keyframes eggWobble {
  0%, 90%, 100% { transform: rotate(0deg); }
  93% { transform: rotate(-13deg); }
  96% { transform: rotate(13deg); }
  98% { transform: rotate(-6deg); }
}

@keyframes eggShake {
  0%, 100% { transform: translateX(0) scale(1.15); }
  20% { transform: translateX(-5px) rotate(-12deg); }
  40% { transform: translateX(5px) rotate(12deg); }
  60% { transform: translateX(-4px) rotate(-6deg); }
  80% { transform: translateX(4px) rotate(6deg); }
}

/* Video overlay — above everything */
.egg-video-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  background: rgba(0, 0, 0, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: eggFade 0.2s ease;
}

.egg-video-box {
  position: relative;
  width: min(720px, 92vw);
  animation: eggPop 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.3);
}

.egg-video-box video {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65);
  display: block;
  background: #000;
}

.egg-video-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(to bottom, #e1654c, #c01e00);
  color: #fff;
  border: 2px solid #fff;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.egg-video-close:hover { filter: brightness(1.12); }

.egg-video-cap {
  text-align: center;
  color: #fff;
  margin-top: 14px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.egg-cap-title {
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 6px;
}

.egg-cap-sub {
  font-size: 12.5px;
  font-weight: 500;
  color: #e6eefc;
  line-height: 1.5;
  max-width: 620px;
  margin: 0 auto;
}

@keyframes eggFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes eggPop { from { transform: scale(0.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
