/* Enhanced Original Styles - Subtle improvements without changing structure */

/* Enhance the process items */
.tp-process-3-item {
  transition: all 0.3s ease;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.tp-process-3-item:hover {
  transform: translateY(-5px);
}

/* Enhance the icons */
.tp-process-3-icon span {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  padding: 5px;
  transition: all 0.3s ease;
}

.tp-process-3-icon span img {
  width: 80%;
  height: 80%;
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.1));
  transition: all 0.3s ease;
}

.tp-process-3-item:hover .tp-process-3-icon span img {
  transform: scale(1.1);
  filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.15));
}

/* Enhance borders with subtle gradients */
.pink-border {
  border: 2px solid transparent;
  background-image: linear-gradient(white, white), 
                    linear-gradient(to right, #4F46E5, #F472B6);
  background-origin: border-box;
  background-clip: content-box, border-box;
  box-shadow: 0 6px 16px rgba(244, 114, 182, 0.15);
}

.gblue-border {
  border: 2px solid transparent;
  background-image: linear-gradient(white, white), 
                    linear-gradient(to right, #FCD34D, #F59E0B);
  background-origin: border-box;
  background-clip: content-box, border-box;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.15);
}

.lyellow-border {
  border: 2px solid transparent;
  background-image: linear-gradient(white, white), 
                    linear-gradient(to right, #EC4899, #BE185D);
  background-origin: border-box;
  background-clip: content-box, border-box;
  box-shadow: 0 6px 16px rgba(236, 72, 153, 0.15);
}

/* Enhance content area */
.tp-process-3-content {
  padding: 15px 10px;
}

.tp-process-3-title {
  font-weight: 700;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.tp-process-3-item:hover .tp-process-3-title {
  color: #0284c7;
}

/* Enhance the flow path */
.line-dash-path {
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  animation: dash 3s ease-in-out forwards;
}

@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}

/* Enhance headings */
.heading-with-bar {
  position: relative;
  display: inline-block;
}

.heading-with-bar.centered:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0EA5E9, #38BDF8);
  border-radius: 4px;
}

/* Subtle improvements to typography */
.tp-section-2-title {
  letter-spacing: -0.02em;
}

.tp-process-3-btn a {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.tp-process-3-btn a:hover {
  transform: translateY(-3px);
}

.tp-process-3-btn a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.tp-process-3-btn a:hover:after {
  transform: scaleX(1);
  transform-origin: left;
}
