/* Skills Section */
.skill-bar {
    margin-bottom: 20px;
}
  
.skill-bar h3 {
    margin-bottom: 10px;
}
  
.progress {
    background-color: #2A2E35;
    border-radius: 20px;
    overflow: hidden;
    height: 20px;
    position: relative;
}
  
/* Completed part (animated fill) */
.progress div {
    height: 100%;
    width: 0; /* initial, updated via JS */
    background: linear-gradient(to right, var(--accent-color, #8a2be2), #1DB954);
    border-radius: 20px;
    text-align: center;
    line-height: 20px;
    color: var(--text-color, #fff);
    transition: width 2s ease-in-out;
    position: relative;
    z-index: 2;
}
  
/* Dopamine shimmer on unfilled zone */
.progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(
      120deg,
      transparent,
      rgba(255, 255, 255, 0.05),
      transparent
    );
    background-size: 200% 100%;
    animation: shimmer 4s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}
  
/* Optional glare dot on the edge of fill */
.progress div::after {
    content: '';
    position: absolute;
    top: -5px;
    right: 0;
    width: 10px;
    height: 30px;
    background: radial-gradient(circle, #1DB954 40%, transparent 60%);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}
  
/* Percentage text */
.progress span {
    position: absolute;
    right: 10px;
    top: 0;
    line-height: 20px;
    z-index: 3;
    font-size: 13px;
    font-weight: bold; /* ✅ added bold here */
}
  
/* Shimmer keyframes */
@keyframes shimmer {
    0% {
      background-position: -200% 0;
    }
    100% {
      background-position: 200% 0;
    }
}