/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 03 2025 | 06:55:06 */
.service_txt {
  --primary-color: #111;
  --hovered-color: #c84747;
  position: relative;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  font-weight: 600;
  font-size: 20px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  text-decoration: none;
}

/* Text inside */
.service_txt span {
  position: relative;
  color: var(--primary-color);
  font-size: 20px;
}

/* Underline effect */
.service_txt::after {
  position: absolute;
  content: "";
  width: 0;
  left: 0;
  bottom: -7px;
  background: var(--hovered-color);
  height: 2px;
  transition: 0.3s ease-out;
}

/* Hover overlay text */
.service_txt span::before {
  position: absolute;
  content: attr(data-text);
  width: 0%;
  inset: 0;
  color: var(--hovered-color);
  overflow: hidden;
  transition: 0.3s ease-out;
}

/* Hover actions */
.service_txt:hover::after {
  width: 100%;
}
.service_txt:hover span::before {
  width: 100%;
}
.service_txt:hover svg {
  transform: translateX(4px);
  color: var(--hovered-color);
}

/* SVG */
.service_txt svg {
  color: var(--primary-color);
  width: 15px;
  transition: 0.2s;
  transition-delay: 0.2s;
}
