#about{
  min-height: 100vh;
}

.about-heading {
  color: white;
  margin-top: 80px;
  text-align: center;
  margin-bottom: 60px;
}

@keyframes zoomInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-100vw) scale(0.7);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.about-content {
  margin-top: 70px;
  animation: zoomInFromLeft 1s ease forwards;
}


.gradient-border {
  background: linear-gradient(
    90deg,
    rgba(30, 247, 10, 1) 0%,
    rgba(245, 245, 24, 1) 50%,
    rgba(0, 255, 255, 1) 100%
  );
  padding: 5px; /* thickness of the border */
  border-radius: 50%;
  display: inline-block;
}

.about-hero-img {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  display: block;
}

.about-p{
  font-size: 1.4rem;
  color: white;
  text-align: justify;
  margin-top: 12px;
  width: 80%;
}

.skill-box {
  width: 180px;      /* slightly wider than tall */
  height: 110px;
  padding: 3px;      /* thin border */
  border-radius: 12px;
  background: linear-gradient(135deg, white, lime);
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px;
}

.skill-inner {
  background-color: #111;
  border-radius: 15px;  /* slightly smaller to fit inside */
  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;  /* stacked vertically */
  align-items: center;
  justify-content: center;

  padding: 10px;
  box-sizing: border-box;
  color: white;
  font-weight: 700;
  text-align: center;
}

.skill-inner img {
  width: 60px;
  height: 60px;
  margin-bottom: 6px;
  border-radius: 4px;
}

.skill-inner p {
  margin: 0;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .skill-box {
    width: 110px;
    height: 90px;
  }

  .skill-inner img {
    width: 40px;
    height: 40px;
    margin-bottom: 4px;
  }

  .skill-inner p {
    font-size: 12px;
  }
}

.d-flex {
  flex-wrap: wrap !important;  /* allow wrapping */
  gap: 15px;                   /* space between skill boxes */
  justify-content: flex-start; /* or center if you want */
}

/* Responsive: stack vertically on small screens */
@media (max-width: 480px) {
  .d-flex {
    flex-direction: column !important;
    align-items: center !important;
  }
}

@keyframes appearFromThinAir {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


.skill-box {
  opacity: 0;              /* start invisible */
  transform: scale(0.3);   /* start small */
  animation-fill-mode: forwards;
}
