/* Work Process Section Styles */
.process {
  background-color: var(--color-background);
  position: relative;
}

.process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(197, 75, 116, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.process .container {
  position: relative;
  z-index: 1;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-4xl);
  position: relative;
}

/* Timeline Connector Line */
.process-timeline::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light), var(--color-secondary), var(--color-accent));
  z-index: 0;
}

.process-step {
  position: relative;
  text-align: center;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: all var(--transition-normal);
}

.step-number::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light), var(--color-secondary), var(--color-accent));
  border-radius: var(--radius-full);
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.process-step:hover .step-number::before {
  opacity: 1;
}

.process-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: var(--shadow-2xl);
}

.step-content h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
  transition: color var(--transition-fast);
}

.process-step:hover .step-content h3 {
  color: var(--color-primary);
}

.step-content p {
  color: var(--color-text-light);
  line-height: var(--line-height-relaxed);
  margin-bottom: 0;
}

/* Individual Step Styling */
.process-step:nth-child(1) .step-number {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.process-step:nth-child(2) .step-number {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #3d6fa7 100%);
}

.process-step:nth-child(3) .step-number {
  background: linear-gradient(135deg, var(--color-accent) 0%, #8b5cf6 100%);
}

.process-step:nth-child(4) .step-number {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

/* Staggered Animation */
.process-step {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.process-step:nth-child(1) {
  animation-delay: 0.1s;
}

.process-step:nth-child(2) {
  animation-delay: 0.2s;
}

.process-step:nth-child(3) {
  animation-delay: 0.3s;
}

.process-step:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pulse Animation */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.step-number {
  animation: pulse 3s ease-in-out infinite;
}

.process-step:nth-child(2) .step-number {
  animation-delay: 0.5s;
}

.process-step:nth-child(3) .step-number {
  animation-delay: 1s;
}

.process-step:nth-child(4) .step-number {
  animation-delay: 1.5s;
}

/* Hover Color Variations */
.process-step:nth-child(1):hover .step-content h3 {
  color: var(--color-primary);
}

.process-step:nth-child(2):hover .step-content h3 {
  color: var(--color-secondary);
}

.process-step:nth-child(3):hover .step-content h3 {
  color: var(--color-accent);
}

.process-step:nth-child(4):hover .step-content h3 {
  color: #10b981;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
  }
  
  .process-timeline::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .process-timeline {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .process-timeline::before {
    display: none;
  }
  
  .step-number {
    width: 70px;
    height: 70px;
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-md);
  }
  
  .step-content h3 {
    font-size: var(--font-size-lg);
  }
}

@media (max-width: 480px) {
  .step-number {
    width: 60px;
    height: 60px;
    font-size: var(--font-size-lg);
  }
  
  .step-content h3 {
    font-size: var(--font-size-base);
  }
  
  .step-content p {
    font-size: var(--font-size-sm);
  }
}

/* Alternative Mobile Layout with Vertical Timeline */
@media (max-width: 768px) {
  .process-timeline {
    position: relative;
    padding-left: var(--spacing-2xl);
  }
  
  .process-timeline::before {
    display: block;
    top: 0;
    bottom: 0;
    left: 35px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-light), var(--color-secondary), var(--color-accent));
  }
  
  .process-step {
    text-align: left;
    padding-bottom: var(--spacing-2xl);
  }
  
  .process-step:last-child {
    padding-bottom: 0;
  }
  
  .step-number {
    position: absolute;
    left: -35px;
    margin: 0;
  }
  
  .step-content {
    margin-left: var(--spacing-lg);
  }
}

