/* ========== Skills Section ========== */
.skills {
  position: relative;
  overflow: hidden;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Skill category card with top accent border */
.skill-category {
  background: rgba(30, 30, 30, 0.7);
  backdrop-filter: blur(5px);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(51, 51, 51, 0.3);
  position: relative;
  overflow: hidden;
}

/* Gradient top border */
.skill-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

/* Category title styling */
.skill-category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Skills tag container */
.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Individual skill tag with hover effect */
.skill-item {
  background: rgba(108, 99, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  border: 1px solid rgba(108, 99, 255, 0.3);
  transition: var(--transition);
  font-weight: 500;
}

.skill-item:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.05);
  border-color: var(--primary-color);
}
