/* Process section styling with modern tech aesthetic */

.process-section {
  padding: 4rem 1rem;
  position: relative;
  overflow: hidden;
  background-color: var(--bs-dark-bg);
}

/* Add subtle tech background elements */
.process-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 25%, rgba(91, 152, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 75%, rgba(56, 214, 174, 0.05) 0%, transparent 50%);
  z-index: -1;
}

/* Tech-inspired heading with gradient */
.process-section .section-title {
  background: linear-gradient(90deg, #5B98FF 0%, #38D6AE 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

/* Process timeline visualization */
.process-timeline {
  position: relative;
  padding: 3rem 0;
  margin-top: 2rem;
}

.timeline-track {
  position: absolute;
  top: 4rem;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #5B98FF 0%, #38D6AE 100%);
  transition: width 1.5s ease;
  z-index: 2;
}

/* Process steps */
.process-steps {
  position: relative;
  z-index: 3;
}

.process-card {
  background-color: var(--bs-light-bg);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #5B98FF 0%, #38D6AE 100%);
}

/* Node styling */
.process-node {
  position: relative;
  margin-bottom: 1.5rem;
}

.node-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bs-light-bg);
  border: 2px solid #5B98FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #fff;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 5px rgba(91, 152, 255, 0.1);
}

.node-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(91, 152, 255, 0.3);
  z-index: 1;
  animation: nodePulse 2s infinite;
  opacity: 0;
}

@keyframes nodePulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* Process content */
.process-content h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #5B98FF 0%, #38D6AE 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.process-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.25rem;
}

/* Expandable details */
.process-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.process-details ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.process-details li {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  position: relative;
  color: rgba(255, 255, 255, 0.7);
}

.process-details li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--bs-accent);
  font-weight: bold;
  font-size: 1.2rem;
}

.process-card.expanded .process-details {
  max-height: 300px;
}

/* Expand button */
.process-expand-btn {
  background: transparent;
  border: none;
  color: var(--bs-accent);
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.process-expand-btn:hover {
  opacity: 0.8;
  transform: translateX(3px);
}

.process-expand-btn i {
  transition: transform 0.3s ease;
}

.process-card.expanded .process-expand-btn i {
  transform: rotate(180deg);
}

.collapse-text {
  display: none;
}

.process-card.expanded .expand-text {
  display: none;
}

.process-card.expanded .collapse-text {
  display: inline;
}

/* Media queries for responsive design */
@media (max-width: 991px) {
  .timeline-track {
    display: none;
  }
  
  .process-card {
    margin-bottom: 2rem;
  }
}

@media (max-width: 767px) {
  .process-section .section-title {
    font-size: 1.8rem;
  }
  
  .process-card {
    padding: 1.5rem;
  }
}