/* --- FOOTER MAIN WRAPPER --- */
.footer-wrapper {
    background-color: var(--brand-dark, #0B0F19) !important;
    color: var(--text-light, #94A3B8);
    padding-top: 5rem;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- 4-COLUMN GRID LAYOUT --- */
.footer-grid {
    display: grid;
    /* 4 perfectly balanced columns */
    grid-template-columns: 2fr 1fr 1fr 1.5fr; 
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- BRAND COLUMN (Col 1) --- */
.footer-brand .brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-brand .brand-logo-img {
    height: 36px;
}

.footer-brand .brand-name.text-white {
    color: var(--text-white);
    font-weight: 800;
    font-size: 1.2rem;
    display: block;
}

.footer-brand .brand-tag {
    color: var(--brand-purple);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.footer-desc {
    margin: 1.25rem 0;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 280px;
}

/* Boxed Social Icons */
.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--border-light, #CBD5E1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: var(--brand-purple);
    color: var(--text-white);
    transform: translateY(-2px);
}

/* --- NAVIGATION COLUMNS (Col 2, 3, 4) --- */
.footer-col {
    /* Subtle vertical dividers between columns */
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    padding-left: 2rem;
}

/* Remove left border from the first navigation column so it doesn't clash with Brand */
.footer-col:nth-child(2) {
    border-left: none;
    padding-left: 0;
}

.footer-col h4 {
    color: var(--text-white);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

/* The subtle purple underline accent on headers */
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.6rem;
    width: 24px;
    height: 2px;
    background-color: var(--brand-purple);
    border-radius: 2px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-col ul li a, 
.footer-col ul li span {
    font-size: 0.9rem;
    color: var(--text-light, #94A3B8);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Animated right arrow (→) on hover for Explore/Candidates links */
.footer-col:not(.contact-col) ul li a::after {
    content: '→';
    color: var(--brand-purple);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.2s ease;
}

.footer-col ul li a:hover {
    color: var(--text-white);
}

.footer-col:not(.contact-col) ul li a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* --- COPYRIGHT BOTTOM BAR --- */
.footer-bottom {
    padding: 1.5rem 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer-col {
        border-left: none;
        padding-left: 0;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}