#about {
  background: #0f172a;
  position: relative;
  z-index: 1;
  padding: 35px 10px;
}

#about-particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(34, 166, 153, 0.1), transparent 60%);
  animation: subtlePulse 10s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

#about::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="rgba(34,166,153,0.03)"><circle cx="10" cy="10" r="1"/></svg>') repeat;
  animation: softDrift 20s linear infinite;
  pointer-events: none;
  z-index: -1;
}

#about h2 {
  text-align: center;
  font-size: 2rem;
  color: #2dd4bf;
  margin-bottom: 18px;
  text-shadow: 0 0 10px rgba(45, 212, 191, 0.3);
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  align-items: stretch;
}

.about-column {
  flex: 1;
  min-width: 280px;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
}

.timeline-about {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 15px 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.timeline-about::before {
  content: '';
  position: absolute;
  bottom: -20px;
 
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, rgba(45, 212, 191, 0.8), rgba(45, 212, 191, 0.2));
  transform: translateY(0);
  box-shadow: 0 0 10px rgba(45, 212, 191, 0.5);
  z-index: 0;
}

.timeline-card {
  position: relative;
  flex: 1;
  max-width: 32%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  @media (max-width: 768px) {
height: 300px;
  }
   
}

.timeline-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 7px 20px rgba(45, 212, 191, 0.2);
}

.timeline-card::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -24px; 
  width: 14px;
  height: 14px;
  background: #2dd4bf;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.6);
  z-index: 1;
  transform: translateX(-50%);
}

.timeline-card::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  height: 20px;
  width: 2px;
  background: rgba(45, 212, 191, 0.5);
  transform: translateX(-50%);
}

.timeline-content {
  display: flex;
  align-items: flex-start;
  height: 100%;
}

.timeline-icon {
  font-size: 1.5rem;
  color: #2dd4bf;
  margin-right: 12px;
  margin-top: 5px;
  text-shadow: 0 0 9px rgba(45, 212, 191, 0.3);
  text-align: center;
}

.timeline-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.timeline-text h3 {
  font-size: 1.1rem;
  color: #2dd4bf;
  margin-bottom: 5px;
}

.timeline-text p {
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
  flex-grow: 1;
}

.scroll-indicator-about {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  margin-top: 50px;
}

.scroll-text {
  font-size: 1rem;
  font-weight: 500;
  color: #e2e8f0;
  margin-bottom: 5px;
  animation: subtleGlow 2.5s ease-in-out infinite;
}

.scroll-text:hover {
  color: #cbd5e1;
}

.scroll-icon {
  font-size: 1.4rem;
  color: #e2e8f0;
  animation: gentleBounce 1.8s ease-in-out infinite;
}

@keyframes subtlePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

@keyframes softDrift {
  0% { background-position: 0 0; }
  100% { background-position: 20px 20px; }
}

@keyframes subtleGlow {
  0%, 100% { text-shadow: 0 0 6px rgba(45, 212, 191, 0.3); }
  50% { text-shadow: 0 0 12px rgba(45, 212, 191, 0.6); }
}

@keyframes gentleBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); opacity: 0.8; }
}

@keyframes cardFadeIn {
  0% { opacity: 0; transform: translateY(15px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

#about.in-view h2 {
  animation: cardFadeIn 0.7s ease-out forwards;
}

#about.in-view .timeline-card:nth-child(1) {
  animation: cardFadeIn 0.7s ease-out 0.2s forwards;
}

#about.in-view .timeline-card:nth-child(2) {
  animation: cardFadeIn 0.7s ease-out 0.4s forwards;
}

#about.in-view .timeline-card:nth-child(3) {
  animation: cardFadeIn 0.7s ease-out 0.6s forwards;
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    gap: 12px;
  }

  .about-column {
    padding: 0;
  }

  #about h2 {
    font-size: 1.8rem;
  }

  .timeline-about {
    flex-direction: column;
    padding: 10px 0;
  }

  .timeline-about::before {
    top: 0;
    left: 20px;
    width: 4px;
    height: 100%;
 
    background: linear-gradient(to bottom, rgba(45, 212, 191, 0.8), rgba(45, 212, 191, 0.2));
    transform: translateX(0);
  }

  .timeline-card {
    flex: none;
    width: calc(100% - 50px);
    max-width: none;
    margin: 0 0 20px 40px;
    padding: 10px;
    height: auto; 
  }

  .timeline-card::before {
    left: -36px;
    top: 15px;
    transform: none;
  }

  .timeline-card.past::before,
  .timeline-card.present::before,
  .timeline-card.future::before {
    left: -36px;
  }

  .timeline-card::after {
    top: 16px;
    left: -24px;
    height: 2px;
    width: 12px;
    transform: none;
  }

  .timeline-card.past::after,
  .timeline-card.present::after,
  .timeline-card.future::after {
    left: -24px;
  }

  .timeline-icon {
    font-size: 1.35rem;
  }

  .timeline-text h3 {
    font-size: 1rem;
  }

  .timeline-text p {
    font-size: 0.8rem;
  }
}

@media (max-width: 320px) {
  #about {
    padding: 25px 8px;
  }

  .about-content {
    gap: 10px;
  }

  .about-column {
    min-width: 100%;
  }

  #about h2 {
    font-size: 1.5rem;
  }

  .timeline-about {
    padding: 8px 0;
  }

  .timeline-about::before {
    left: 12px;
  }

  .timeline-card {
    width: calc(100% - 32px);
    margin: 0 0 15px 24px;
    padding: 8px;
    height: auto;
  }

  .timeline-card.past,
  .timeline-card.present,
  .timeline-card.future {
    margin-left: 24px;
  }

  .timeline-card::before {
    left: -20px;
    top: 12px;
    width: 10px;
    height: 10px;
  }

  .timeline-card.past::before,
  .timeline-card.present::before,
  .timeline-card.future::before {
    left: -20px;
  }

  .timeline-card::after {
    left: -14px;
    top: 13px;
    width: 8px;
  }

  .timeline-card.past::after,
  .timeline-card.present::after,
  .timeline-card.future::after {
    left: -14px;
  }

  .timeline-icon {
    font-size: 1.2rem;
    margin-right: 10px;
  }

  .timeline-text h3 {
    font-size: 0.9rem;
  }

  .timeline-text p {
    font-size: 0.7rem;
    line-height: 1.3;
  }

  .scroll-indicator {
    margin: 12px auto;
  }

  .scroll-text {
    font-size: 0.85rem;
  }

  .scroll-icon {
    font-size: 1.5rem;
  }
}