.franchise-buttons {
  padding: 1em 2em;
  margin: 10px;
  background: none;
  border: 1px solid #fff;
  font-size: 14px;
  color: white;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  border-radius: 12px;
  /*background-color: #f05c2b;*/
    background-color: #ad2627;
  font-weight: bolder;
}

.franchise-buttons a {
  color: white;
  /* Default color of the link */
  text-decoration: none;
  /* Ensure no underline for the link */
  transition: color 0.3s ease;
  /* Smooth color transition */
}

.franchise-buttons:hover a {
  color: white;
  /* Change link color to white on hover */
}

.franchise-buttons:before {
  content: "";
  position: absolute;
  width: 140px;
  height: 100%;
  background-color: orange;
  top: 50%;
  transform: skewX(30deg) translate(-150%, -50%);
  transition: all 0.5s;
}

.franchise-buttons:hover {
  color: white;
  /* Keep the button text white on hover */
}

.franchise-buttons:hover::before {
  transform: skewX(30deg) translate(150%, -50%);
  transition-delay: 0.1s;
}

.franchise-buttons:active {
  transform: scale(0.9);
}
