.marquee {
  background: rgba(0, 0, 0, 0.8);
  color: var(--text-primary);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 10;
}

.marquee-content {
  display: inline-block;
  animation: marquee 10s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-content p {
  display: inline;
  margin-right: 2rem;
}
.marquee-text {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  animation: marquee 10s linear infinite;
}

#github-contributions {
  background: #000000;
  padding: 2rem;
  text-align: left;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 1400px;
  margin: auto;
}

.contribution-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}

#contribution-graph {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.github-graph {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 8px;
  background: #000;
  padding: 1rem;
  filter: grayscale(20%) contrast(1.2) brightness(1.3);
}

/* 📱 Mobile Responsiveness */
@media (max-width: 768px) {
  #github-contributions {
    padding: 1.5rem;
  }
  .contribution-title {
    font-size: 1.4rem;
  }
  .github-graph {
    width: 100%;
    padding: 0.8rem;
  }
}

@media (max-width: 480px) {
  #github-contributions {
    padding: 1rem;
  }
  .contribution-title {
    font-size: 1.2rem;
  }
  .github-graph {
    width: 100%;
    padding: 0.5rem;
  }
}


/* Explore more under projects */

.explore-more-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  transition: all 0.3s ease;
}

.explore-more-button:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.explore-more-button svg {
  transition: transform 0.3s ease;
}

.explore-more-button:hover svg {
  transform: translateX(4px);
}


/* Timeline Section */
.timeline {
  padding: 2rem 6rem;
  background: var(--bg-dark);
}

.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 0;
}

.timeline-item {
  display: flex;
  margin-bottom: 2rem;
}

.timeline-marker {
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 1.5rem;
  position: relative;
  top: 10px;
}

.timeline-content {
  flex: 1;
}

.timeline-date {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.timeline-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .timeline {
    padding: 2rem 1rem;
  }

  .timeline-item {
    margin-bottom: 1.5rem;
  }

  .timeline-marker {
    width: 12px;
    height: 12px;
    margin-right: 1rem;
  }

  .timeline-title {
    font-size: 1.1rem;
  }

  .timeline-description {
    font-size: 0.9rem;
  }
}


.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px; 
  background: white; 
  width: 0%;
  z-index: 1000; 
  transition: width 0.2s ease; 
}