
/* ==========================================
   DBIM FOOTER - RESPONSIVE DESIGN
   ========================================== */

.dbim-footer {
    font-family: 'Noto Sans', Arial, sans-serif;
    color: #ffffff;
    background: #173968;
    width: 100%;
    font-size: 14px;
    line-height: 1.7;
}

.dbim-footer *,
.dbim-footer *::before,
.dbim-footer *::after {
    box-sizing: border-box;
}

/* Footer Logo Slider */
.dbim-footer-slider {
    background: #ffffff;
    color: #222222;
    width: 100%;
    overflow: hidden;
}

/* Tricolour */
.dbim-footer-tricolour {
    display: flex;
    height: 5px;
    width: 100%;
}

.dbim-footer-tricolour span {
    flex: 1;
}

.dbim-footer-tricolour .saffron {
    /* background: #ff9933; */
}

.dbim-footer-tricolour .white {
    /* background: #ffffff; */
}

.dbim-footer-tricolour .green {
    /* background: #138808; */
}

/* Container */
.dbim-footer-container {
    width: min(100% - 40px, 1200px);
    margin: 0 auto;
}

/* Main Footer */
.dbim-footer-main {
    padding: 48px 0 40px;
}

.dbim-footer-main > .dbim-footer-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 48px;
}

.dbim-footer-column {
    min-width: 0;
}

/* Headings */
.dbim-footer-heading {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 22px;
    padding-bottom: 12px;
    position: relative;
}

.dbim-footer-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 42px;
    height: 3px;
    background: #ffffff;
}

/* About */
.dbim-footer-location {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 12px;
}

.dbim-footer-description {
    color: #e0e8f4;
    margin: 0;
    max-width: 340px;
}

/* Dynamic Footer Links */
.dbim-footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dbim-footer-links li {
    margin-bottom: 9px;
}

.dbim-footer-links a {
    color: #ffffff;
    display: inline-block;
    text-decoration: none;
    padding: 4px 0;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.dbim-footer-links a:hover {
    color: #ffd49b;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.dbim-footer a:focus-visible {
    outline: 3px solid #ffca7a;
    outline-offset: 4px;
    border-radius: 2px;
}

/* Office Information */
.dbim-footer-hours p {
    margin: 0 0 16px;
}

.dbim-footer-hours strong {
    display: block;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 3px;
}

.dbim-footer-hours span {
    display: block;
    color: #e0e8f4;
}

/* Footer Bottom */
.dbim-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.25);
    background: #102c52;
    padding: 20px 0;
}

.dbim-footer-bottom > .dbim-footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 30px;
    flex-wrap: wrap;
}

.dbim-footer-copyright {
    margin: 0;
    color: #ffffff;
    font-size: 13px;
}

.dbim-footer-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 13px;
}

.dbim-footer-meta strong {
    color: #ffffff;
    font-weight: 600;
}

.dbim-footer-separator {
    opacity: 0.55;
}

/* Tablet */
@media (max-width: 991px) {
    .dbim-footer-main > .dbim-footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }

    .dbim-footer-about {
        grid-column: 1 / -1;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .dbim-footer-container {
        width: calc(100% - 32px);
    }

    .dbim-footer-main {
        padding: 32px 0 24px;
    }

    .dbim-footer-main > .dbim-footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .dbim-footer-about {
        grid-column: auto;
    }

    .dbim-footer-heading {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .dbim-footer-bottom {
        padding: 18px 0;
    }

    .dbim-footer-bottom > .dbim-footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .dbim-footer-meta {
        gap: 8px;
        font-size: 12px;
    }

    .dbim-footer-copyright {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dbim-footer-links a {
        transition: none;
    }
}
