/* --- Footer Styles --- */
.main-footer {
    background-color: #0a0a0a;
    color: #ccc;
    padding: 5rem 2rem 2rem;
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.mt-2 { margin-top: 2rem; }

.footer-logos {
    display: flex;
    gap: 15px;
    margin-bottom: 2rem;
}

.footer-logos img {
    height: 70px;
    opacity: 0.8;
}

.legal-links a {
    color: #999;
    transition: color 0.3s;
}

.legal-links a:hover { color: #fff; }

.col-products ul {
    list-style: none;
}

.col-products ul li {
    margin-bottom: 0.8rem;
}

.col-products ul li a:hover {
    color: var(--brand-purple);
}

.col-contact p {
    margin-bottom: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 0.8rem; /* Matches the exact spacing you approved */
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 38px; /* Perfectly sizes the block around the icon */
    height: 38px;
    background-color: #1a1a1a; /* Maintains your dark theme background block */
    color: var(--brand-purple); /* Maintains your purple icon color */
    border-radius: 6px; /* Matches the rounded corners in your screenshot */
    font-size: 1.2rem;
    text-decoration: none;
    transition: transform 0.3s ease; /* STRICTLY animation, no color transitions */
}

.social-icon:hover {
    transform: translateY(-3px); /* Subtle lift effect, colors remain identical */
}

.badge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.badge {
    border: 1px dashed #444;
    padding: 1.5rem 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: #fff;
    border-radius: 4px;
}

/* --- Mobile Footer Adjustments --- */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        padding: 0 1rem;
    }

    /* Center the top-left logos */
    .footer-logos {
        justify-content: center;
    }

    /* Center the social media block */
    .social-icons {
        justify-content: center;
    }

    .badge-grid {
        justify-content: center;
        max-width: 300px;
        margin: 0 auto;
    }

    /* Add slight margin between stacked columns for breathing room */
    .footer-col {
        margin-bottom: 2.5rem;
    }
    
    .footer-col:last-child {
        margin-bottom: 0;
    }
}