.about-section {
    background: #0d0d0d;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
  }
  
  .about-title {
    font-size: 36px;
    margin-bottom: 80px;
  }
  
  .snake-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .snake-line {
    position: absolute;
    left: 50%;
    width: 4px;
    height: 0;
    background: linear-gradient(#f39c12, #e67e22, #8e44ad);
    transform: translateX(-50%);
    z-index: 1;
    transition: height 1.2s ease-out;
  }
  
  
  .timeline-card {
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 30px rgba(243, 156, 18, 0.15);
    border-radius: 20px;
    margin: 80px auto;
    padding: 30px;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
  }
  
  .timeline-card.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .timeline-card.left {
    margin-left: 0;
    margin-right: auto;
    border-left: 6px solid #f39c12;
  }
  
  .timeline-card.right {
    margin-right: 0;
    margin-left: auto;
    border-right: 6px solid #8e44ad;
  }
  
  .timeline-card h3 {
    color: #f39c12;
    margin-bottom: 10px;
  }
  
  .timeline-card.right h3 {
    color: #8e44ad;
  }
  
  .timeline-card p {
    font-size: 15px;
    color: #ccc;
  }
  .timeline-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 45px rgba(243, 156, 18, 0.3);
    transition: all 0.3s ease;
  }
  
  
  /* Responsive */
/* Responsywność dla tabletów i telefonów */
@media (max-width: 1024px) {
  .about-title {
    font-size: 26px;
    margin-bottom: 50px;
  }

  .snake-line {
    left: 32px;
    transform: none;
    height: 100%;
  }

  .timeline-card {
    max-width: calc(100% - 64px);
    margin: 40px auto;
    padding: 20px 24px;
    border-left: 4px solid #f39c12;
    border-right: none;
    text-align: left;
  }

  .timeline-card.left,
  .timeline-card.right {
    margin-left: auto;
    margin-right: auto;
    border-left: 4px solid #f39c12;
    border-right: none;
  }

  .timeline-card h3 {
    font-size: 16px;
    color: #f39c12 !important;
    margin-bottom: 8px;
  }

  .timeline-card p {
    font-size: 13px;
    color: #ddd;
  }

  .timeline-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(243, 156, 18, 0.2);
  }
}
