/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Astra child theme for the Visa & Immigration site. Adds a custom multi-column footer.
Author: Visa Imigration
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/

/* ==========================================================================
   Custom Footer (Hashnode-style)
   ========================================================================== */
.site-footer-custom {
    background: #ffffff;
    border-top: 1px solid #e9eef4;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
}
.site-footer-custom .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px 32px;
}
.site-footer-custom .footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
}

/* Brand column */
.site-footer-custom .footer-brand .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #123C69;
    text-decoration: none;
    margin-bottom: 14px;
}
.site-footer-custom .footer-brand .footer-logo .logo-dot {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--e-global-color-primary ), #123C69);
    display: inline-block;
    transform: rotate(45deg);
}
.site-footer-custom .footer-brand p {
    max-width: 300px;
    color: #6b7280;
    margin: 0 0 20px;
}
.site-footer-custom .footer-social {
    display: flex;
    gap: 14px;
    align-items: center;
}
.site-footer-custom .footer-social a {
    color: #9aa4b2;
    display: inline-flex;
    transition: color .2s ease, transform .2s ease;
}
.site-footer-custom .footer-social a:hover {
    color: #123C69;
    transform: translateY(-2px);
}
.site-footer-custom .footer-social svg { width: 20px; height: 20px; fill: currentColor; }

.site-footer-custom .footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    padding: 8px 14px;
    border: 1px solid #e5e9f0;
    border-radius: 999px;
    font-size: 13px;
    color: #374151;
}
.site-footer-custom .footer-badge .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34,197,94,.15);
}

/* Link columns */
.site-footer-custom .footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 16px;
    letter-spacing: .01em;
}
.site-footer-custom .footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-footer-custom .footer-col li { margin: 0 0 12px; }
.site-footer-custom .footer-col a {
    color: #6b7280;
    text-decoration: none;
    transition: color .2s ease;
}
.site-footer-custom .footer-col a:hover { color: var(--e-global-color-primary ); }

/* Bottom bar */
.site-footer-custom .footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 24px;
    border-top: 1px solid #eef2f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    color: #8a94a3;
}
.site-footer-custom .footer-bottom .footer-bottom-links {
    display: flex;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-footer-custom .footer-bottom .footer-bottom-links a {
    color: #6b7280;
    text-decoration: none;
    transition: color .2s ease;
}
.site-footer-custom .footer-bottom .footer-bottom-links a:hover { color: #123C69; }

/* Responsive */
@media (max-width: 921px) {
    .site-footer-custom .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .site-footer-custom .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 544px) {
    .site-footer-custom .footer-grid { grid-template-columns: 1fr; }
    .site-footer-custom .footer-bottom { flex-direction: column; align-items: flex-start; }
}
