To achieve the desired effect, I need to change the border color to red when a specific page is active. When the phone option is clicked, the border should stay red consistently on that same page, and when the email option is clicked, the border should turn red while the phone border reverts back to black.
.EPbutton{
font-size: 14px;
font-weight: bold;
display: inline-block;
text-decoration: none;
color:black;
border-bottom: 2px solid black;
width: 130px;
height: 20px;
margin-top: 12px;
margin-bottom: 5px;
}