/* Services Section Styles */
.services-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #000000, #0a0a0a);
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(182, 255, 60, 0.05) 0%, transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(124, 47, 255, 0.05) 0%, transparent 30%);
  pointer-events: none;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.services-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #ffffff, #b6ff3c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}

.services-subtitle {
  text-align: center;
  color: #888;
  margin-bottom: 60px;
  font-size: 1.2rem;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 2px;
  background: linear-gradient(180deg, rgba(182, 255, 60, 0.3), rgba(124, 47, 255, 0.3));
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: pulseTimeline 2s infinite;
}

@keyframes pulseTimeline {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-content {
  padding: 30px;
  background: rgba(15, 15, 20, 0.8);
  border-radius: 15px;
  position: relative;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(182, 255, 60, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 
    0 5px 15px rgba(0, 0, 0, 0.3),
    inset 0 0 20px rgba(124, 47, 255, 0.05);
}

.timeline-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, 
    rgba(182, 255, 60, 0.05),
    rgba(124, 47, 255, 0.05)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timeline-content:hover::before {
  opacity: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #7c2fff, #b6ff3c);
  border-radius: 15px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(124, 47, 255, 0.2);
  transition: all 0.3s ease;
}

.service-icon svg {
  width: 30px;
  height: 30px;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: transform 0.3s ease;
}

.service-details h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 12px;
  background: linear-gradient(45deg, #fff, #b6ff3c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-details p {
  color: #888;
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 1rem;
}

.service-details ul {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.service-details li {
  color: #eaeaea;
  margin-bottom: 10px;
  padding-left: 24px;
  position: relative;
  transition: transform 0.3s ease;
}

.service-details li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #b6ff3c;
  transition: transform 0.3s ease;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: rgba(182, 255, 60, 0.1);
  color: #b6ff3c;
  text-decoration: none;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(182, 255, 60, 0.2);
}

.service-cta .arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

/* Hover Effects */
.timeline-content:hover {
  transform: translateY(-5px);
  border-color: rgba(182, 255, 60, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.timeline-content:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(124, 47, 255, 0.3);
}

.timeline-content:hover .service-icon svg {
  transform: scale(1.1);
}

.timeline-content:hover .service-details li {
  transform: translateX(5px);
}

.timeline-content:hover .service-details li::before {
  transform: scale(1.2);
}

.service-cta:hover {
  background: #b6ff3c;
  color: #232428;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(182, 255, 60, 0.2);
}

.service-cta:hover .arrow {
  transform: translateX(5px);
}

/* Timeline Dots */
.timeline-item::before {
  content: '';
  width: 16px;
  height: 16px;
  background: linear-gradient(45deg, #b6ff3c, #7c2fff);
  position: absolute;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 20px rgba(182, 255, 60, 0.3);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(1.2); }
  100% { transform: translateY(-50%) scale(1); }
}

.timeline-item.left::before {
  right: -8px;
}

.timeline-item.right::before {
  left: -8px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 45px;
    padding-right: 15px;
  }

  .timeline-item.left,
  .timeline-item.right {
    left: 0;
  }

  .timeline-item.left::before {
    left: 12px;
    right: auto;
  }
}
