/* --- Footer Styles --- */
.footer {
    /* Scoped CSS Variables for easy theming */

    --footer-text-color: #6c757d;
    --footer-heading-color: #343a40;
    --footer-border-color: #d3d3d3;
    --footer-link-hover-color: #000000;

    background-color: var(--footer-bg);
    color: var(--footer-text-color);
    font-family: sans-serif;
    border-top: 1px solid var(--footer-border-color);
    padding-left: 270px;
    
}

/* --- Typography & Content --- */
.footer h6 {
    font-weight: 100;
    color: var(--footer-heading-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer p {
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    line-height: 1.6;
}

.footer p i {
    color: var(--footer-heading-color);
    width: 20px;
    text-align: center;
    margin-right: 4px;
}

/* --- Legal & Privacy Links --- */
.footer-link {
    display: block;
    margin-bottom: 0.25rem;
    text-decoration: none;
    color: var(--footer-text-color);
    font-weight: 500;
    font-size: 0.8rem;
    transition: color 0.2s ease-in-out;
}

.footer-link:last-child {
    margin-bottom: 0;
}

.footer-link:hover {
    color: var(--footer-link-hover-color);
    text-decoration: underline;
}

@media (max-width: 767px) {
    .footer {
        padding-left: 70px;
        text-align: center;
    }

    .footer h6 {
        font-size: 0.9rem;
        /* REDUCED HEIGHT: Less space below the heading */
        margin-bottom: 0.5rem;
    }

    .footer p {
        font-size: 0.75rem;
        justify-content: center;
        /* REDUCED HEIGHT: Tighter line spacing */
        line-height: 1.4;
        /* REDUCED HEIGHT: Less space between paragraphs */
        margin-bottom: 0.25rem;
    }

    .footer-link {
        font-size: 0.75rem;
    }
}