/* === skills-style.css === */
/* Container */
.all-skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 30px;
  background: #f8f9fa;
}

/* Skill Card */
.skill {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.skill:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Headings */
.skill h2 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #222;
  border-bottom: 2px solid #eaeaea;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

/* Text */
.skill p {
  font-size: 0.95rem;
  color: #555;
  margin: 8px 0;
  font-weight: 500;
}

/* Description */
.skill-description {
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

/* Software List */
.skill ul.skill-softwares {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
}

.skill ul.skill-softwares li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.skill ul.skill-softwares img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-right: 10px;
  border-radius: 6px;
  background: #f1f1f1;
  padding: 4px;
}

/* Responsive */
@media (max-width: 600px) {
  .skill h2 {
    font-size: 1.2rem;
  }

  .skill-description {
    font-size: 0.9rem;
  }
}


/* === Expertise Progress Bar === */
.expertise-wrapper {
  margin: 15px 0;
}

.expertise-label {
  font-size: 0.95rem;
  margin-bottom: 5px;
  color: #333;
}

.expertise-bar-bg {
  width: 100%;
  height: 16px;
  background-color: #f8f9fa;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.expertise-bar-fill {
  height: 100%;
  background-color: #f57500;
  border-radius: 10px 0 0 10px;
  width: 0%;
  transition: width 1.2s ease-in-out;
}

.expertise-percentage {
  position: absolute;
  top: -24px;
  right: 0;
  background: #f57500;
  color: #fff;
  padding: 2px 8px;
  font-size: 12px;
  border-radius: 4px;
  font-weight: bold;
  transform: translateX(50%);
  opacity: 0;
  transition: opacity 0.5s ease, top 0.5s ease;
}

.expertise-wrapper.animated .expertise-percentage {
  opacity: 1;
  top: -28px;
}
