.skills {
  width: 100%;
  position: relative;
  background-color: #fff;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  font-size: 16px;
  color: #757575;
  font-family: Inter;
  animation: slideUp 0.6s ease-out;
}

.skills-title {
  position: relative;
  line-height: 100%;
}
.skills-navigation-pill {
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.skills-section {
  width: 100%;
  max-width: 1280px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 56px 20px;
  box-sizing: border-box;
  gap: 40px;
  font-size: 24px;
  color: #333;
  font-family: "Playfair Display";
}
.title-and-badge {
  width: 434px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  animation: fadeInLeft 0.8s ease-out 0.2s both;
}
.line-parent {
  display: flex;
  align-items: center;
  gap: 16px;
}
.frame-child {
  width: 34px;
  position: relative;
  border-top: 2px solid #333;
  box-sizing: border-box;
  height: 2px;
}
.skill-title-description {
  width: 531px;
  position: relative;
  font-size: 56px;
  display: inline-block;
}

@media screen and (max-width: 600px) {
  .skill-title-description {
    width: 100%;
    text-align: center;
  }
  .line-parent {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.card-of-logo {
  width: 100%;
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 32px;
  align-items: center;
  justify-items: center;
  font-size: 32px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* Responsive: 2 columns on tablet, 1 column on mobile */
@media screen and (max-width: 768px) {
  .card-of-logo {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media screen and (max-width: 480px) {
  .card-of-logo {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.skill-icon {
  width: 56px;
  position: relative;
  height: 56px;
  transition: transform 0.2s ease;
}

.skills-logo:hover .skill-icon {
  transform: scale(1.1);
}

/* Keyframe Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.skill-title {
  position: relative;
}
.skills-logo {
  width: 187px;
  box-shadow: 0px 85.2579116821289px 181.4px rgba(21, 21, 21, 0.05);
  border-radius: 21.77px;
  background-color: rgba(255, 255, 255, 0.5);
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px;
  box-sizing: border-box;
  gap: 16px;
  transition: all 0.3s ease;
  opacity: 0;
  animation: popIn 0.5s ease-out forwards;
}

.skills-logo:nth-child(1) {
  animation-delay: 0.6s;
}
.skills-logo:nth-child(2) {
  animation-delay: 0.7s;
}
.skills-logo:nth-child(3) {
  animation-delay: 0.8s;
}
.skills-logo:nth-child(4) {
  animation-delay: 0.9s;
}
.skills-logo:nth-child(5) {
  animation-delay: 1s;
}
.skills-logo:nth-child(6) {
  animation-delay: 1.1s;
}

.skills-logo:hover {
  transform: translateY(-8px) rotate(2deg);
  box-shadow: 0 15px 50px rgba(74, 144, 226, 0.3);
  background-color: rgba(255, 255, 255, 0.9);
}
