/* --- Base Footer Container --- */
.iara-footer-section {
    background-color: var(--primary-white);
    padding: 80px 0;
    overflow-x: hidden;
    width: 100%;
    display: block;
}

/* Fix for the "Disturbing" Container */
.iara-footer-section .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Ensures card doesn't touch screen edges */
    box-sizing: border-box;
}

/* --- The Glass Card --- */
.footer-glass-card {
    /* background: rgba(205, 181, 212, 0.95); */
    background: linear-gradient(rgb(151, 83, 197) 0%, rgba(138, 28, 28, 0) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(14, 13, 13, 0.1);
    border-radius: 30px;
    padding: 60px;
    color: rgb(2, 1, 1);
    box-shadow: 0 25px 50px rgba(167, 159, 159, 0.2);
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 40px;
    margin-bottom: 30px;
}

.footer-left {
    flex: 1;
    min-width: 280px;
}

.footer-right {
    flex: 1;
    min-width: 200px;
}

.sitemap-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-links li { margin-bottom: 12px; }

.sitemap-links a {
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    transition: 0.3s;
}

.sitemap-links a:hover { color: var(--accent-purple); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    color: rgba(82, 67, 67, 0.5);
}

/* --- Responsive Media Query --- */
@media (max-width: 768px) {
    .iara-footer-section { padding: 40px 0; }
    
    .footer-glass-card {
        padding: 40px 25px;
        border-radius: 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-left, .footer-right {
        width: 100%;
    }

    .logo-frame {
        margin: 0 auto 20px;
    }

    .footer-bottom {
        flex-direction: column-reverse; /* Copyright on bottom, links on top */
        text-align: center;
    }

    .legal-links {
        display: flex;
        gap: 20px;
    }
}