.about-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-container {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.about-image img {
  width: 260px;
  height: 340px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0, 234, 255, 0.3);
  animation: fadeIn 1.2s ease-in-out forwards;
  opacity: 0;
}

.about-text {
  max-width: 600px;
  animation: slideUp 1.2s ease-in-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.about-text h2 {
  font-family: 'Orbitron', sans-serif;
  color: #00eaff;
  margin-bottom: 0.8rem;
}

.about-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
  color: #fff;
}

.about-text .subtitle {
  font-style: italic;
  color: #bbb;
  margin-bottom: 1rem;
}

.about-text p {
  color: #ccc;
}

.about-text strong {
  color: #00eaff;
}

.stats-container {
  margin-top: 3rem;
  width: 100%;
  max-width: 700px;
  background: rgba(10, 13, 11, 0.9);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 234, 255, 0.1);
  animation: fadeIn 1.2s ease-in forwards;
  opacity: 0;
}

.stats-container h2 {
  font-family: 'Orbitron', sans-serif;
  color: #00eaff;
  margin-bottom: 1rem;
  text-align: center;
}

.stat {
  margin-bottom: 1rem;
}

.stat span {
  display: block;
  margin-bottom: 0.3rem;
  color: #ccc;
}

.bar {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  height: 8px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.fill {
  height: 100%;
  border-radius: 6px;
  width: 0;
  background: linear-gradient(90deg, #00eaff, #007bff);
  box-shadow: 0 0 10px rgba(0, 234, 255, 0.5);
  animation: fillBar 2.3s ease-out forwards;
}

.fill.coding     { --target-width: 95%; animation-delay: 0.2s; }
.fill.basketball { --target-width: 90%; animation-delay: 0.4s; }
.fill.design     { --target-width: 87%; animation-delay: 0.6s; }
.fill.uiux       { --target-width: 92%; animation-delay: 0.8s; }
.fill.trading    { --target-width: 85%; animation-delay: 1s; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fillBar {
  from { width: 0; }
  to { width: var(--target-width); }
}


.timeline {
  margin-top: 2rem;
  width: 100%;
  border-left: 2px solid rgba(0, 234, 255, 0.3);
  padding-left: 2rem;
  position: relative;
  animation: fadeIn 1.3s ease forwards;
  opacity: 0;
}

.timeline-title {
  font-family: 'Orbitron', sans-serif;
  color: #00eaff;
  margin-bottom: 1.5rem;
  text-align: center;
}

.timeline-item {
  margin-bottom: 1.8rem;
  position: relative;
  animation: slideIn 1s ease forwards;
  opacity: 0;
}

.timeline-dot {
  position: absolute;
  left: -1.2rem;
  top: 0.6rem;
  width: 12px;
  height: 12px;
  background: #00eaff;
  border-radius: 50%;
  box-shadow: 0 0 8px #00eaff;
}

.timeline-content {
  background: rgba(20, 20, 25, 0.7);
  padding: 1rem 1.2rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-content h3 {
  color: #00eaff;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: #ddd;
}


@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-image img {
    width: 220px;
    height: 300px;
  }

  .timeline {
    padding-left: 1.2rem;
  }

  .timeline-content {
    text-align: left;
  }

  .stats-container {
    width: 90%;
    padding: 1.5rem;
  }
}

@media (max-width: 600px) {
  .about-text h2 {
    font-size: 1.3rem;
  }
  .about-text h3 {
    font-size: 1.1rem;
  }
  .timeline-title,
  .stats-container h2 {
    font-size: 1.2rem;
  }
}
