.animated-link {
    position: relative;
    display: inline-block;
    font-size: 24px;          /* adjust heading size */
    color: #000;           /* normal text color */
    text-decoration: none;
    padding-bottom: 3px;
    transition: color 0.3s ease;
}

/* Underline Base */
.animated-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: #720d05;   /* underline color */
    transition: width 0.35s ease;
}

/* Hover Effect: underline slides left → right */
.animated-link:hover::after {
    width: 100%;
}

/* Text color change on hover */
.animated-link:hover {
    color: #720d05;              /* change text color */
}