/* ========== FOOTER STYLES ========== */
footer.footer-container {
    width: 100%;
    background: linear-gradient(135deg, #6f42c1 0%, #8B5FBF 50%, #6f42c1 100%);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    margin-top: 30px;
    box-sizing: border-box;
}

footer.footer-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        linear-gradient(45deg, rgba(255,255,255,0.07) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.07) 75%),
        linear-gradient(45deg, rgba(255,255,255,0.07) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.07) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
    pointer-events: none;
    z-index: 0;
}

/* ── OUTER 3-COLUMN GRID ── */
footer.footer-container .footer-top {
    display: grid !important;
    grid-template-columns: 1.1fr 1fr 1.1fr !important;
    gap: 0 !important;
    position: relative;
    z-index: 1;
    padding: 32px 48px 24px;
    align-items: start;
}

/* ── COLUMN BASE ── */
footer.footer-container .footer-col-left {
    padding-right: 36px !important;
    padding-left: 0 !important;
}

footer.footer-container .footer-col-middle {
    border-left: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.25) !important;
    padding: 0 36px !important;
}

footer.footer-container .footer-col-right {
    padding-left: 36px !important;
    padding-right: 0 !important;
}

/* ── LEFT COL: DEPT HEADING ── */
footer.footer-container .footer-dept-heading {
    font-family: 'Georgia', 'Times New Roman', serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    margin: 0 0 14px 0 !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid rgba(255, 215, 0, 0.6) !important;
    display: block !important;
    text-align: center !important;
    background: none !important;
}

/* ── LEFT COL: ADDRESS + EMAIL SIDE BY SIDE ── */
footer.footer-container .footer-info-row {
    display: flex !important;
    gap: 20px !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    margin-bottom: 12px !important;
}

footer.footer-container .footer-info-row .footer-text {
    flex: 1 !important;
    min-width: 0 !important;
}

/* ── LEFT COL: LAST UPDATED ── */
footer.footer-container .footer-lastupdated {
    text-align: center !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding-top: 10px !important;
    margin-top: 4px !important;
}

/* ── MIDDLE COL: HEADING ── */
footer.footer-container .footer-col-heading {
    font-family: 'Georgia', 'Times New Roman', serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #FFD700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    margin: 0 0 14px 0 !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid rgba(255, 215, 0, 0.6) !important;
    display: block !important;
    text-align: center !important;
    background: none !important;
}

/* ── MIDDLE COL: TWO SUB-COLUMNS OF LINKS ── */
footer.footer-container .footer-links-row {
    display: flex !important;
    gap: 12px !important;
    align-items: flex-start !important;
}

footer.footer-container .footer-links-row .footer-links-list {
    flex: 1 !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ── LINKS LIST ── */
footer.footer-container .footer-links-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

footer.footer-container .footer-links-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    background: none !important;
    text-align: left !important;
}

footer.footer-container .footer-links-list li:last-child {
    border-bottom: none !important;
}

footer.footer-container .footer-links-list li::before,
footer.footer-container .footer-links-list li::marker {
    display: none !important;
    content: none !important;
}

footer.footer-container .footer-nav-link {
    display: block !important;
    padding: 4px 0 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-family: 'Georgia', 'Times New Roman', serif !important;
    font-size: 11.5px !important;
    letter-spacing: 0.5px !important;
    font-weight: 500 !important;
    transition: color 0.2s ease, padding-left 0.2s ease;
    text-align: left !important;
}

footer.footer-container .footer-nav-link:hover {
    color: #FFD700 !important;
    padding-left: 5px !important;
}

/* ── BODY TEXT ── */
footer.footer-container .footer-text {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 12.5px !important;
    line-height: 1.8 !important;
    font-family: 'Georgia', 'Times New Roman', serif !important;
    letter-spacing: 0.4px !important;
    text-align: left !important;
}

/* ── ICONS ── */
footer.footer-container .footer-icon {
    font-size: 13px;
    margin-right: 4px;
}

/* ── EMAIL / GENERAL LINKS ── */
footer.footer-container .footer-link {
    color: #FFD700 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.25s ease;
    font-size: 12px !important;
}

footer.footer-container .footer-link:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* ── MAP ── */
footer.footer-container .footer-map-wrapper {
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

footer.footer-container .footer-map-wrapper iframe {
    width: 100% !important;
    height: 190px !important;
    display: block !important;
}

/* ── BOTTOM COPYRIGHT BAR ── */
footer.footer-container .footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding: 12px 48px;
    text-align: center !important;
}

footer.footer-container .footer-copyright-text {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-family: 'Georgia', 'Times New Roman', serif !important;
    font-size: 12px !important;
    letter-spacing: 0.6px !important;
    text-align: center !important;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    footer.footer-container .footer-top {
        grid-template-columns: 1fr 1fr !important;
        padding: 28px 24px 20px !important;
    }
    footer.footer-container .footer-col-right {
        grid-column: 1 / -1 !important;
        padding: 20px 0 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.25);
        border-left: none !important;
        border-right: none !important;
    }
    footer.footer-container .footer-col-middle {
        border-right: none !important;
    }
    footer.footer-container .footer-map-wrapper iframe {
        height: 170px !important;
    }
}

@media (max-width: 768px) {
    footer.footer-container .footer-top {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 24px 18px 18px !important;
    }
    footer.footer-container .footer-col-left,
    footer.footer-container .footer-col-middle,
    footer.footer-container .footer-col-right {
        padding: 0 !important;
        border-left: none !important;
        border-right: none !important;
    }
    footer.footer-container .footer-col-middle,
    footer.footer-container .footer-col-right {
        border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
        padding-top: 20px !important;
    }
    footer.footer-container .footer-info-row {
        flex-direction: column !important;
        gap: 14px !important;
    }
    footer.footer-container .footer-bottom {
        padding: 12px 18px !important;
    }
    footer.footer-container .footer-map-wrapper iframe {
        height: 180px !important;
    }
}

@media (max-width: 480px) {
    footer.footer-container .footer-top {
        padding: 18px 12px 14px !important;
    }
    footer.footer-container .footer-text,
    footer.footer-container .footer-nav-link {
        font-size: 11px !important;
    }
    footer.footer-container .footer-links-row {
        flex-direction: column !important;
        gap: 0 !important;
    }
    footer.footer-container .footer-copyright-text {
        font-size: 11px !important;
    }
}