.about {
  padding: 80px 8%;
  background: #0f172a;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-text p {
  color: #cbd5f5;
  margin-bottom: 15px;
  line-height: 1.6;
}

.about-text ul {
  margin: 20px 0;
  list-style: none;
  padding: 0;
}

.about-text li {
  margin-bottom: 10px;
  color: #94a3b8;
}

.btn-about {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background: #22c55e;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.about-skills-orbit {
  position: relative;
  width: 350px;
  height: 350px;
  margin: auto;
}

.about-skills {
  position: absolute;
  inset: 0;
  background: #020617;
  padding: 25px;
  border-radius: 15px;
  border: 1px solid #1e293b;
  z-index: 2;
}
.orbit {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotateOrbit 20s linear infinite;
}
.orbit-icon {
  position: absolute;
  font-size: 100px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Posiciones en círculo */
.orbit-icon:nth-child(1) {
  top: 0%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.orbit-icon:nth-child(2) {
  top: 50%;
  left: 100%;
  transform: translate(-50%, -50%);
}

.orbit-icon:nth-child(3) {
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.orbit-icon:nth-child(4) {
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
}
@keyframes rotateOrbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.orbit-icon {
  animation: counterRotate 25s linear infinite;
}

@keyframes counterRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    max-width: 300px;
  }
}