:root {
  --primary: #131173;
  --secondary: #de208a;
  --accent: #6b7280;
}

/* Enhanced Process Steps Styling */
.our-step {
  position: relative;
}

.our-step::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 100px;
  top: 50%;
  left: 125%;
  transform: translateY(-50%);
  border-top: 1px dashed #6366f1;
  transition: all 0.3s ease;
}

.our-step::before {
  content: "";
  position: absolute;
  height: 2px;
  width: 100px;
  top: 50%;
  right: 125%;
  transform: translateY(-50%);
  border-top: 1px dashed #6366f1;
  transition: all 0.3s ease;
}

.our-step.right-most::after,
.our-step.left-most::before {
  display: none;
}

@media (max-width: 767px) {
  .our-step.right-most::after,
  .our-step.left-most::before {
    display: block;
  }

  .our-step::after,
  .our-step::before {
    width: 50px;
  }
}

.process-box {
  background-color: #eef2ff;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  height: 100%;
  width: 100%;
  margin-top: 4rem;
  transition: all 0.5s ease;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  font-family: "Inter", sans-serif !important;
}

.process-icon {
  width: 3.5rem;
  height: 3.5rem;
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 9999px;
  background-color: #131173;
  transition: all 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(19, 17, 115, 0.3);
}

.process-item-text {
  font-size: 12px;
  transition: all 0.5s ease;
  line-height: 1.5;
}

.process-item-heading {
  color: #131173;
  transition: all 0.5s ease;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Base styles (non-hovered) */
.step-container-third .step-number {
  background-color: #131173;
  color: white;
}

.step-container-third .process-icon {
  background-color: #eef2ff;
}

.step-container-third .process-icon path {
  stroke: black;
}

.step-container-third .process-box {
  background-color: #131173;
}

.step-container-third .process-item-heading {
  color: white;
}

.step-container-third .process-item-text {
  color: white;
}

/* Normal styles applied via JS on hover */
.step-container-third.hovered .step-number {
  background-color: transparent;
  color: black;
}

.step-container-third.hovered .process-icon {
  background-color: #131173;
}

.step-container-third.hovered .process-icon path {
  stroke: white;
}

.step-container-third.hovered .process-box {
  background-color: #eef2ff;
}

.step-container-third.hovered .process-item-heading {
  color: #131173;
}

.step-container-third.hovered .process-item-text {
  color: #6b7280;
}

.step-number,
.process-icon,
.process-icon path,
.process-box,
.process-item-heading,
.process-item-text {
  transition: all 0.5s ease-in;
}

.step-container:hover .step-number {
  background-color: #131173;
  color: white !important;
  transition: all 500ms ease-in;
}

.step-container:hover .process-icon {
  background-color: #eef2ff;
  transition: all 500ms ease-in;
}

.step-container:hover .process-icon path {
  stroke: black;
  transition: all 500ms ease-in;
}

.step-container:hover .process-box {
  background-color: #131173;
  transition: all 500ms ease-in;
}

.step-container:hover .process-item-heading {
  color: white !important;
  transition: all 500ms ease-in;
}

.step-container:hover .process-item-text {
  color: #ffffff !important;
  transition: all 500ms ease-in;
}

/* Enhanced Employee Cards */
.employee-border {
  border: 2px solid transparent;
  transition: all 0.5s ease;
  object-fit: cover;
}

.employee-card {
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: "Inter", sans-serif !important;
}

.employee-card:hover {
  transform: translateY(-5px);
}

.employee-card:hover .employee-name {
  color: #4f46e5;
  transition: all 500ms ease-in;
  transform: scale(1.05);
}

.employee-card:hover .employee-border {
  border: 2px solid #4f46e5;
  transition: all 500ms ease-in;
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
  transform: scale(1.05);
}

.employee-card:hover .employee-role {
  color: #111827;
  transition: all 500ms ease-in;
  font-weight: 500;
}

.employee-name{
  color: #111827 ;
}

.employee-role{
  color:  #6B7280;
}

.employee-name,
.employee-role {
  transition: all 0.3s ease;
}

/* Additional animations */
.gradient-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-animation {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Counter Animation */
.counter {
  font-weight: bold;
  font-size: 2.5rem;
}

@media (max-width: 768px) {
  .counter {
    font-size: 2rem;
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: countUp 0.6s ease-in-out;
}
