/* 1. Typography & Header Polish */
.footer-heading {
    font-size: 10px;
    font-weight: 900;
    /* font-black */
    text-transform: uppercase;
    letter-spacing: 0.3em;
    position: relative;
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    /* Balanced spacing */
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    /* -bottom-2 */
    left: 0;
    width: 1.5rem;
    /* w-6 */
    height: 1px;
    background-color: var(--primary-color, #004AAD);
    /* Falls back to blue if var is missing */
    opacity: 0.5;
}

/* 2. Column & List Refinement */
.footer-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* gap-4 */
    list-style: none;
    padding: 0;
}

.footer-link {
    font-size: 13px;
    font-weight: 700;
    /* font-bold */
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    color: rgba(219, 234, 254, 0.4);
}

.footer-link:hover {
    transform: translateX(4px);
    /* translate-x-1 */
    color: #ffffff;
}

/* The Dot Animation */
.footer-link::before {
    content: '';
    width: 0;
    height: 0;
    border-radius: 9999px;
    background-color: var(--primary-color, #004AAD);
    margin-right: 0;
    transition: all 0.3s ease;
    opacity: 0;
}

.footer-link:hover::before {
    width: 6px;
    height: 6px;
    margin-right: 12px;
    opacity: 1;
    box-shadow: 0 0 10px var(--primary-color, #004AAD);
}

/* 3. Social Integration */
.social-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    border-radius: 0.75rem;
    /* rounded-xl */
    padding: 0.25rem;
    margin-left: -0.25rem;
    text-decoration: none;
}

.social-icon-box {
    width: 2.5rem;
    /* w-10 */
    height: 2.5rem;
    border-radius: 0.75rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(219, 234, 254, 0.3);
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.social-row:hover {
    transform: translateY(-2px);
}

.social-row:hover .social-icon-box {
    background-color: var(--primary-color, #004AAD);
    color: #ffffff;
    border-color: var(--primary-color, #004AAD);
    transform: rotate(-6deg);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.social-label {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    transition: color 0.3s ease;
    color: rgba(219, 234, 254, 0.4);
}

.social-row:hover .social-label {
    color: #ffffff;
}

/* 4. Legal Links (Bottom Bar) */
.legal-link {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.25rem 0;
    text-decoration: none;
    color: rgba(219, 234, 254, 0.2);
}

.legal-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color, #004AAD);
    transition: width 0.3s ease;
}

.legal-link:hover {
    color: #ffffff;
}

.legal-link:hover::after {
    width: 100%;
}