.fancy-link {
    position: relative;
    display: inline-block;
    color: #1e3a8a; /* رنگ سورمه‌ای */
    text-decoration: none;
    padding-bottom: 5px;
    transition: color 0.3s ease;
    font-weight: 500;
}

.fancy-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #38bdf8, #1e3a8a); /* آبی آسمانی تا سرمه‌ای */
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.fancy-link:hover {
    color: #0c4a6e;
}

.fancy-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
