/* DBIM footer. Full-bleed navy band, content aligned to the 1440px container; scrollbar-aware via --vw. */
.dbim-footer {
    --f-bg: #162f6a;
    --f-line: rgba(255, 255, 255, .38);
    font-family: 'Noto Sans', Arial, Helvetica, sans-serif;
    clear: both;
    width: var(--vw, 100vw);
    margin-left: calc(50% - var(--vw, 100vw) / 2);
    background: var(--f-bg);
    color: #fff;
    line-height: 1.5;
    text-align: left;
}

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

.dbim-footer a {
    color: #fff;
    text-decoration: none;
}

.dbim-footer a:hover {
    text-decoration: underline;
}

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

.df-in {
    max-width: 1440px;
    margin: 0 auto;
    padding: 34px 16px 30px;
}

/* top row */
.df-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px 40px;
}

.df-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.df-brand:hover {
    text-decoration: none;
}

.df-emblem {
    flex: 0 0 auto;
    width: 42px;
    height: 66px;
    background: url(../images/Emblem_of_India.svg) no-repeat;
    filter: brightness(0) invert(1);
    background-size: contain;
}

.df-brand-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.df-brand-text strong {
    font-size: var(--dbim-fs-h3);
    font-weight: 700;
    line-height: 1.2;
}

.df-brand-text span {
    font-size: var(--dbim-fs-p1);
    font-weight: 500;
    line-height: 1.2;
}

.df-contact {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: var(--dbim-fs-p2);
    margin-top: 4px;
}

.df-bar {
    font-style: normal;
    margin: 0 10px;
    opacity: .85;
}

.df-rule {
    border: 0;
    border-top: 1px solid var(--f-line);
    margin: 22px 0 26px;
}

/* bottom block */
.df-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
}

.df-bottom p {
    margin: 0;
}

.df-disclaimer {
    font-size: var(--dbim-fs-p2);
}

.df-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 30px;
}

.df-links a {
    font-size: var(--dbim-fs-p2);
    padding: 2px 0;
}

.df-copy {
    font-size: var(--dbim-fs-p2);
    margin-top: -6px;
}

.df-copy a {
    text-decoration: underline;
}

.df-meta {
    font-size: var(--dbim-fs-p2);
    margin-top: -4px;
}

/* tablet */
@media (max-width: 991px) {
    .df-in {
        padding: 28px 16px 26px;
    }

    .df-top {
        flex-direction: column;
        gap: 20px;
    }

    .df-contact {
        max-width: none;
    }
}

/* phone */
@media (max-width: 575px) {
    .df-in {
        padding: 24px 14px 22px;
    }

    .df-emblem {
        width: 42px;
        height: 66px;
        background-size: contain;
        background-position: center;
    }

    .df-rule {
        margin: 18px 0 20px;
    }

    .df-bottom {
        gap: 18px;
    }

    .df-links ul {
        gap: 4px 0;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .df-links li {
        width: 100%;
        text-align: center;
    }

    .df-links a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .15);
    }

    .df-links li:last-child a {
        border-bottom: 0;
    }

    .df-copy,
    .df-meta {
        margin-top: 0;
    }

    .df-meta {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .df-meta .df-bar {
        display: none;
    }
}

html.a11y-images .df-emblem {
    visibility: hidden;
}

/* wide screens: keep each contact line on one line, as in the design */
@media (min-width: 1200px) {
    .df-contact span {
        white-space: nowrap;
    }
}

@media (max-width: 991px) {
    .df-contact {
        max-width: none;
    }
}

/* lineage statement (DBIM 5.6) */
.df-lineage {
    font-size: var(--dbim-fs-p2);
    font-weight: 600;
    margin-top: -4px;
}

/* chatbot launcher: DBIM typeface and scale */
#shalom-mitra-btn {
    font-family: var(--dbim-font);
    font-size: var(--dbim-fs-p2);
}