.portal-footer {
    background: #e9edf3;
    border-top: 1px solid #d5dbe5;
    padding: 32px 0 36px;
    text-align: center;
    margin-top: 40px;
}

.portal-footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.portal-footer-links a,
.portal-footer-links span {
    color: #556274;
    font-weight: 600;
}

.portal-footer-copy {
    color: #7a8798;
    font-size: 0.95rem;
}
.portal-footer {
    background: linear-gradient(180deg, #eef1f5 0%, #e5eaf1 100%);
    border-top: 1px solid #d5dde8;
    margin-top: 40px;
}

.portal-footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 40px;
    padding: 34px 0 24px;
}

.portal-footer-logo {
    display: inline-block;
    font-size: 1.65rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    margin-bottom: 14px;
}

.portal-footer-text {
    color: #5f6f86;
    font-size: 0.98rem;
    line-height: 1.7;
    max-width: 460px;
    margin: 0;
}

.portal-footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.portal-footer-column h4 {
    font-size: 1rem;
    font-weight: 900;
    color: #17335c;
    margin: 0 0 14px;
}

.portal-footer-column a {
    display: block;
    color: #5f6f86;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.portal-footer-column a:hover {
    color: #1f5cae;
}

.portal-footer-bottom {
    border-top: 1px solid #d5dde8;
    padding: 18px 0 26px;
    text-align: center;
}

.portal-footer-bottom-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.portal-footer-bottom-links a {
    color: #52627a;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
}

.portal-footer-bottom-links a:hover {
    color: #1f5cae;
}

.portal-footer-bottom-links span {
    color: #7b8797;
    font-weight: 700;
}

.portal-footer-copy {
    color: #7b8797;
    font-size: 0.95rem;
}

@media (max-width: 991px) {
    .portal-footer-top {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .portal-footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .portal-footer-logo {
        font-size: 1.4rem;
    }

    .portal-footer-links {
        grid-template-columns: 1fr;
    }

    .portal-footer-bottom-links {
        gap: 8px;
    }
}