/* =========================================================
   Footer – refreshed UI (matches new admin dashboard)
   File: public/css/web/common/footer.css
   Load AFTER your existing global CSS (same place as navbar.css).
   Everything is scoped to footer.site_footer so the old footer
   rules in common.css can't affect it.
   ========================================================= */
footer.site_footer{
    --ft-primary: #4f46e5;
    --ft-primary-dark: #4338ca;
    --ft-soft: #eef0ff;
    --ft-text: #111827;
    --ft-muted: #6b7280;
    --ft-border: #eceef5;

    margin: 0;
    padding: 64px 0 0;
    background: #fff;
    border-top: 1px solid var(--ft-border);
    color: var(--ft-text);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Brand ---------- */
footer.site_footer .ft_logo{
    display: inline-block;
}
footer.site_footer .ft_logo img{
    width: auto;
    height: 40px;
    max-width: 180px;
    margin: 0;
    object-fit: contain;
}
footer.site_footer .ft_about{
    max-width: 430px;
    margin: 18px 0 26px;
    padding: 0;
    color: var(--ft-muted);
    font-size: 15px;
    line-height: 1.7;
    text-align: left;
}
footer.site_footer .ft_connect{
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ft-text);
}

/* ---------- Social ---------- */
footer.site_footer .ft_social{
    display: flex;
    gap: 10px;
}
footer.site_footer .ft_social a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #fff;
    border: 1px solid var(--ft-border);
    border-radius: 12px;
    transition: transform .15s, border-color .15s, background .15s, box-shadow .15s;
}
footer.site_footer .ft_social a:hover{
    transform: translateY(-3px);
    background: var(--ft-soft);
    border-color: #c7caf7;
    box-shadow: 0 8px 18px rgba(79,70,229,.16);
}
footer.site_footer .ft_social img{
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* ---------- Link columns ---------- */
footer.site_footer .ft_title{
    width: auto;
    margin: 0 0 18px;
    padding: 0;
    color: var(--ft-text);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-align: left;
    text-transform: uppercase;
}
footer.site_footer .ft_links{
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}
footer.site_footer .ft_links li{
    margin: 0 0 12px;
    color: var(--ft-muted);
    cursor: default;
}
footer.site_footer .ft_links a{
    display: inline-block;
    color: #4b5563;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color .15s, transform .15s;
}
footer.site_footer .ft_links a:hover{
    color: var(--ft-primary);
    transform: translateX(4px);
}

/* ---------- Bottom bar ---------- */
footer.site_footer .ft_bottom{
    margin-top: 48px;
    padding: 22px 0;
    border-top: 1px solid var(--ft-border);
    color: var(--ft-muted);
    font-size: 14px;
    text-align: center;
}

/* ---------- Responsive ---------- */
@media(max-width: 991px){
    footer.site_footer{
        padding-top: 48px;
    }
    footer.site_footer .ft_about{
        max-width: 100%;
    }
}
@media(max-width: 576px){
    footer.site_footer{
        padding-top: 40px;
    }
    footer.site_footer .ft_bottom{
        margin-top: 32px;
        padding: 18px 0;
        font-size: 13px;
    }
}