/* Skills Section - Modern Design */
.skills {
  margin-left: var(--sidebar-width);
  padding: 80px 60px;
  min-height: auto;
  background: var(--bg-light);
  width: calc(100% - var(--sidebar-width));
}

.skills h2 {
  font-size: 42px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text-dark);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  letter-spacing: -0.02em;
}

.skills h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--bg-gradient-alt);
  border-radius: 2px;
}

.skills__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.skills__text {
  margin-bottom: 40px;
  font-size: 17px;
  font-weight: 400;
  color: var(--text-dark);
  font-family: var(--font-primary);
  line-height: 1.8;
}

.skills__data {
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-speed);
  border-left: 4px solid transparent;
  animation: fadeInUp 0.6s ease-out;
}

.skills__data:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-left-color: var(--primary-color);
}

.skills__icon {
  font-size: 2rem;
  margin-right: 16px;
  color: var(--primary-color);
}

.skills__names {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  flex: 1;
}

.skills__names img {
  margin-right: 12px;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.skills__names span {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  font-family: var(--font-primary);
}

.skills__bar {
  width: 100%;
  height: 10px;
  background: rgba(59, 130, 246, 0.12);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 12px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.08);
  position: relative;
}

.skills__bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%);
  animation: shimmer 2.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.skills__bar::after {
  content: "";
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #3b82f6 0%, #14b8a6 100%);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(59, 130, 246, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.3);
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.skills__html::after {
  width: 95%;
}

.skills__css::after {
  width: 85%;
}

.skills__js::after {
  width: 65%;
}

.skills__ux::after {
  width: 85%;
}

.skills__percentage {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-primary);
}

