/* ── FOOTER ────────────────────────────────────────────── */
.duralean-footer {
    background: #001F3F !important;
    border-top: 1px solid #003D7A;
    padding: 60px 80px 30px;
    font-family: 'Barlow', sans-serif;
    box-sizing: border-box;
}

.duralean-footer *,
.duralean-footer *::before,
.duralean-footer *::after {
    box-sizing: border-box;
}

/* Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

/* Column 1 — Brand */
.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    max-width: 240px;
    /* Limits the horizontal sprawl */
    height: auto;
    /* Prevents vertical stretching seen in image_fb254a.png */
    display: block;
    margin-bottom: 20px;
}

.footer-brand-text {
    color: #A3B8CC;
    /* Improved brightness for readability */
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    max-width: 320px;
    margin-bottom: 20px;
}

.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #A3B8CC;
    /* Brighter color for crisp text legibility */
    font-size: 13px;
    line-height: 1.4;
}

.footer-contact-icon {
    flex-shrink: 0;
    color: #E7802C;
    /* Gives icons a nice pop matching the headings */
    margin-top: 2px;
}

.footer-contact-icon i {
    font-size: 14px;
}

.footer-contact-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Specific override to fix dark/invisible contact links */
.duralean-footer .footer-contact-item a.external-contact-link,
.duralean-footer .footer-contact-item a.external-contact-link:link,
.duralean-footer .footer-contact-item a.external-contact-link:visited {
    color: #A3B8CC !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    display: inline-block !important;
}

/* Crisp white highlight on hover */
.duralean-footer .footer-contact-item a.external-contact-link:hover,
.duralean-footer .footer-contact-item a.external-contact-link:focus,
.duralean-footer .footer-contact-item a.external-contact-link:active {
    color: #FFFFFF !important;
    text-decoration: none !important;
}

/* Columns 2 3 4 */
.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col-title {
    font-family: 'Barlow Condensed', sans-serif !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    /* Increased from 11px for much better visibility */
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #E7802C !important;
    margin-bottom: 20px !important;
    margin-top: 0 !important;
    line-height: 1.3 !important;
}

.footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    color: #A3B8CC !important;
    /* Increased brightness from muddy dark blue/gray */
    font-size: 14px !important;
    font-family: 'Barlow', sans-serif !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    transition: color 0.2s, padding-left 0.2s !important;
    display: inline-block !important;
}

.footer-link:hover {
    color: #FFFFFF !important;
    /* Clean white hover accent */
    padding-left: 4px !important;
}

/* Divider */
.footer-divider {
    height: 1px;
    background: #003D7A;
    margin-bottom: 25px;
}

/* Bottom bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    background: transparent !important;
    /* Overrides the dark gray strip in image_fb254a.png */
    padding: 0 !important;
}

.footer-copy,
.footer-assoc {
    color: #8899AA !important;
    /* Clean, elegant contrast against the deep blue background */
    font-size: 13px !important;
    font-family: 'Barlow', sans-serif !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

/* ── RESPONSIVE ──────────────────────────────────────── */

/* Tablets & Small Desktops */
@media (max-width: 1024px) {
    .duralean-footer {
        padding: 50px 40px 25px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .duralean-footer {
        padding: 40px 20px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand {
        align-items: flex-start;
    }

    .footer-brand-text {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
}