/* ============================================================
   PROFILE WINDOW
   ============================================================ */
#profile-window {
  top: 20px;
  left: 80px;
  width: 820px;
  height: 560px;
  min-width: 520px;
  min-height: 350px;
  z-index: 20;
  background: #1e1e1e;
  font-family: 'Ubuntu', 'Segoe UI', sans-serif;
  color: #eee;
}

/* --- Profile Header Bar --- */
#profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #2d2d2d;
  padding: 0 8px;
  height: 38px;
  flex-shrink: 0;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  border-bottom: 1px solid #3a3a3a;
}
#profile-header:active { cursor: grabbing; }

#profile-title {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: #eee;
}

/* --- Profile Body (sidebar + content) --- */
#profile-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* --- Profile Sidebar --- */
#profile-sidebar {
  width: 200px;
  flex-shrink: 0;
  background: #252525;
  border-right: 1px solid #3a3a3a;
  overflow-y: auto;
  padding: 6px 0;
}
#profile-sidebar::-webkit-scrollbar { width: 4px; }
#profile-sidebar::-webkit-scrollbar-thumb { background: #444; border-radius: 2px; }

.profile-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 13px;
  color: #bbb;
  transition: background 0.15s, color 0.15s;
}
.profile-nav-item:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.profile-nav-item.active {
  background: color-mix(in srgb, var(--accent-color) 15%, transparent);
  color: var(--accent-color);
}
.profile-nav-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: currentColor;
}

/* --- Profile Content Area --- */
#profile-content {
  flex: 1;
  overflow-y: auto;
  padding: 28px 32px;
  background: #1e1e1e;
  min-width: 0;
}
#profile-content::-webkit-scrollbar { width: 6px; }
#profile-content::-webkit-scrollbar-track { background: transparent; }
#profile-content::-webkit-scrollbar-thumb { background: #444; border-radius: 3px; }

/* --- Section Titles --- */
.profile-section-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.profile-section-subtitle {
  font-size: 13px;
  color: #999;
  margin-bottom: 20px;
}

/* --- Card Container --- */
.profile-card {
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 14px;
}
.profile-card:last-child { margin-bottom: 0; }

/* --- About Profile --- */
.profile-profile {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-profile-info h2 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 2px;
}
.profile-profile-info p {
  font-size: 13px;
  color: #aaa;
  margin: 0;
}

/* --- Bio --- */
.profile-bio p {
  font-size: 13.5px;
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 8px;
}
.profile-bio p:last-child { margin-bottom: 0; }

/* --- Key-Value Rows --- */
.profile-row {
  display: flex;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #333;
  gap: 12px;
}
.profile-row:last-child { border-bottom: none; }
.profile-row-label {
  width: 110px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 500;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-top: 2px;
}
.profile-row-value {
  flex: 1;
  font-size: 13.5px;
  color: #ddd;
  line-height: 1.5;
}

/* --- Experience / Education Cards --- */
.profile-exp-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.profile-exp-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-color);
  overflow: hidden;
}
.profile-exp-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.profile-exp-title {
  flex: 1;
}
.profile-exp-title h3 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
.profile-exp-title .profile-exp-sub {
  font-size: 12px;
  color: #999;
  margin: 2px 0 0;
}
.profile-exp-period {
  font-size: 12px;
  color: #888;
  flex-shrink: 0;
  text-align: right;
}
.profile-exp-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.profile-exp-bullets li {
  font-size: 13px;
  color: #bbb;
  line-height: 1.55;
  padding: 3px 0 3px 16px;
  position: relative;
}
.profile-exp-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-color);
}

/* --- Skills Tags --- */
.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.profile-tag {
  background: #333;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12.5px;
  color: #ddd;
  transition: background 0.12s;
}
.profile-tag:hover {
  background: #3a3a3a;
}
.profile-tag.proficient {
  border-color: var(--accent-color);
  color: #f0a080;
}

/* --- Project Card --- */
.profile-project-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-project-title h3 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
.profile-project-title a {
  color: var(--accent-color);
  font-size: 12px;
  text-decoration: none;
}
.profile-project-title a:hover { text-decoration: underline; }
.profile-project-desc {
  font-size: 13px;
  color: #bbb;
  line-height: 1.55;
  margin: 8px 0;
}
.profile-project-tech {
  font-size: 12px;
  color: #888;
}

/* --- Contact Links --- */
.profile-contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  transition: background 0.12s;
  text-decoration: none;
  color: #ddd;
  font-size: 13.5px;
}
.profile-contact-link:hover {
  background: rgba(255,255,255,0.06);
}
.profile-contact-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
  opacity: 0.7;
}
.profile-contact-label {
  font-size: 11px;
  color: #888;
  min-width: 70px;
}
.profile-contact-value {
  color: var(--accent-color);
}

/* --- About Desktop Section --- */
.profile-desktop-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0 10px;
}
.profile-desktop-logo .ubuntu-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e95420, #772953);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.profile-desktop-logo .ubuntu-circle svg {
  width: 44px;
  height: 44px;
  fill: #fff;
}
.profile-desktop-logo h2 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 4px;
}
.profile-desktop-logo p {
  font-size: 13px;
  color: #999;
  margin: 2px 0;
}
