/* Custom Processing Workflow Styles */
.custom-process-workflow {
  padding: 60px 0;
  background-color: #ffffff; /* White background as requested */
}

.workflow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  position: relative;
  padding: 0 20px;
}

.workflow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #f093fb, #4facfe, #43e97b, #fa709a, #a8edea, #d299c2);
  z-index: 1;
  transform: translateY(-50%);
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 160px;
}

.icon-container {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.icon-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.icon-container:hover::before {
  opacity: 1;
}

.icon-container:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  border-color: rgba(255,255,255,0.6);
}

.icon {
  width: 45px;
  height: 45px;
  transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.icon-container:hover .icon {
  transform: rotate(360deg) scale(1.1);
}

.step-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  text-align: center;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.step:hover .step-title {
  color: #3498db;
}

.step-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  position: absolute;
  top: 45px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

/* Individual step styles with glassmorphism effect */
.step:nth-child(1) .icon-container { 
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
}
.step:nth-child(1) .step-dot { background: #667eea; }

.step:nth-child(2) .icon-container { 
  background: linear-gradient(135deg, rgba(240, 147, 251, 0.9) 0%, rgba(245, 87, 108, 0.9) 100%);
}
.step:nth-child(2) .step-dot { background: #f093fb; }

.step:nth-child(3) .icon-container { 
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.9) 0%, rgba(0, 242, 254, 0.9) 100%);
}
.step:nth-child(3) .step-dot { background: #4facfe; }

.step:nth-child(4) .icon-container { 
  background: linear-gradient(135deg, rgba(67, 233, 123, 0.9) 0%, rgba(56, 249, 215, 0.9) 100%);
}
.step:nth-child(4) .step-dot { background: #43e97b; }

.step:nth-child(5) .icon-container { 
  background: linear-gradient(135deg, rgba(250, 112, 154, 0.9) 0%, rgba(254, 225, 64, 0.9) 100%);
}
.step:nth-child(5) .step-dot { background: #fa709a; }

.step:nth-child(6) .icon-container { 
  background: linear-gradient(135deg, rgba(168, 237, 234, 0.9) 0%, rgba(254, 214, 227, 0.9) 100%);
}
.step:nth-child(6) .step-dot { background: #a8edea; }

.step:nth-child(7) .icon-container { 
  background: linear-gradient(135deg, rgba(210, 153, 194, 0.9) 0%, rgba(254, 249, 215, 0.9) 100%);
}
.step:nth-child(7) .step-dot { background: #d299c2; }

.step .icon {
  fill: white;
  stroke: none;
}

@media (max-width: 768px) {
  .workflow {
    flex-direction: column;
    gap: 40px;
  }

  .workflow::before {
    display: none;
  }

  .step {
    max-width: 200px;
  }

  .main-title {
    font-size: 2rem;
  }
}
