/* ================================
   MODERN UNIVERSITY FOOTER
================================ */
.modern-footer__column,
.modern-footer__brand {
    padding: 2rem 1rem;
}

.modern-footer {
    --footer-bg: #101f35;
    --footer-accent: #d6b66c;
    --footer-text: #c4cfdd;

    position: relative;
    overflow: hidden;
    background: radial-gradient(
            circle at 10% 10%,
            rgba(43, 79, 119, 0.35),
            transparent 35%
    ),
    linear-gradient(135deg, #142941, #0b182b 75%);

    color: #fff;
    padding: 65px 0 0;
    font-family: inherit;
}

.modern-container {
    padding-inline: 3rem;
}

/* خط طلایی بالای فوتر */
.modern-footer::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
            90deg,
            transparent,
            var(--footer-accent),
            transparent
    );
    opacity: 0.8;
}

/* ساختار اصلی */
.modern-footer__main {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

/* معرفی دانشگاه */
.modern-footer__brand {
    min-width: 0;
}

.modern-footer__logo {
    display: inline-flex;
    margin-bottom: 20px;
}

.modern-footer__logo img {
    display: block;
    max-width: 190px;
    max-height: 85px;
    object-fit: contain;
}

.modern-footer__description {
    color: #e0e8f1;
    font-size: 14px;
    line-height: 2;
    margin: 0 0 20px;
}

.modern-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.modern-footer__contact > a,
.modern-footer__contact > div {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--footer-text);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.25s ease;
}

.modern-footer__contact i {
    color: var(--footer-accent);
    font-size: 17px;
    flex-shrink: 0;
}

.modern-footer__contact a:hover {
    color: #fff;
}

/* شبکه های اجتماعی */
.modern-footer__social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
}

.modern-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--footer-accent);
    font-size: 17px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.modern-footer__social a:hover {
    background: var(--footer-accent);
    color: #142941;
    border-color: var(--footer-accent);
    transform: translateY(-4px);
}

/* عنوان ستون ها */
.modern-footer__title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 25px;
    padding-bottom: 14px;
}

.modern-footer__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 38px;
    height: 2px;
    background: var(--footer-accent);
    border-radius: 5px;
}

.modern-footer__title > i {
    color: var(--footer-accent);
    font-size: 20px;
}

/* لیست لینک ها */
.modern-footer__links {
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.modern-footer__links li {
    position: relative;
    padding-right: 15px;
}

.modern-footer__links li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--footer-accent);
    transition: transform 0.25s ease;
}

.modern-footer__links a {
    display: inline-block;
    color: var(--footer-text);
    font-size: 13px;
    line-height: 1.9;
    text-decoration: none;
    transition: all 0.25s ease;
}

.modern-footer__links li:hover::before {
    transform: scale(1.6);
}

.modern-footer__links a:hover {
    color: #fff;
    transform: translateX(-4px);
}

/* آمار بازدید */
.modern-footer__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.modern-footer__stat {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 13px 11px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
    transition: background 0.25s ease;
}

.modern-footer__stat:hover {
    background: rgba(255, 255, 255, 0.09);
}

.modern-footer__stat span {
    color: #aebdd0;
    font-size: 11px;
}

.modern-footer__stat strong {
    color: var(--footer-accent);
    font-size: 16px;
    direction: ltr;
    text-align: right;
    font-weight: 700;
}

/* کپی رایت */
.modern-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.modern-footer__copyright {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #aebdd0;
    font-size: 12px;
    line-height: 1.9;
}

.modern-footer__designer {
    flex-shrink: 0;
    color: var(--footer-accent);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.25s ease;
}

.modern-footer__designer:hover {
    color: #fff;
}

/* ================================
RESPONSIVE
================================ */

/* لپ تاپ */
@media (max-width: 1199.98px) {
    .modern-footer__main {
        flex-wrap: wrap;
    }
}

/* تبلت */
@media (max-width: 767.98px) {
    .modern-footer__main {
        flex-wrap: wrap;
    }

    .modern-footer {
        padding-top: 45px;
    }

    .modern-footer__brand {
        grid-column: 1 / -1;
        padding-bottom: 25px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .modern-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }
}

/* موبایل */
@media (max-width: 480px) {

    .modern-footer__main {
        flex-wrap: wrap;
    }

    .modern-footer__brand {
        grid-column: auto;
    }

    .modern-footer__title {
        margin-bottom: 20px;
    }

    .modern-footer__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .modern-footer__bottom {
        padding: 20px 0;
    }

    .modern-footer__copyright {
        font-size: 11px;
    }
}
