/* Site footer */
.site-footer {
    margin-top: 2rem;
    font-family: var(--bn-font-body, 'SolaimanLipi', 'Kalpurush', sans-serif);
}

.site-footer__top {
    background: #fff;
    border-top: 1px solid #e8eaef;
    padding: 1.25rem 0;
}

.site-footer__brand-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-footer__logo img {
    height: 42px;
    width: auto;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
    justify-content: flex-end;
}

.site-footer__nav a {
    color: #2d3134;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    white-space: nowrap;
}

.site-footer__nav a:hover {
    color: var(--tt_primary_color, #c20000);
}

.site-footer__main {
    background: #f7f8fa;
    padding: 1.75rem 0;
    border-top: 1px solid #e8eaef;
}

.site-footer__heading {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.site-footer__text {
    color: #5c6370;
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 0.5rem;
}

.site-footer__contact-line {
    color: #333;
    font-size: 0.92rem;
    margin-bottom: 0.35rem;
}

.site-footer__contact-line a {
    color: inherit;
    text-decoration: none;
}

.site-footer__contact-line a:hover {
    color: var(--tt_primary_color, #c20000);
}

.site-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.site-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #dee2e6;
    color: #333;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.15s ease;
}

.site-footer__social a:hover {
    background: var(--tt_primary_color, #c20000);
    border-color: var(--tt_primary_color, #c20000);
    color: #fff;
}

.site-footer__apps a {
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.site-footer__apps a:hover {
    color: var(--tt_primary_color, #c20000);
}

.site-footer__bottom {
    background: #1a1a1a;
    color: #d8dde3;
    padding: 0.85rem 0;
    font-size: 0.85rem;
}

.site-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.site-footer--compact {
    background: #1a1a1a;
    color: #d8dde3;
    padding: 1rem 0;
    margin-top: 2rem;
}

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

.site-footer--compact a:hover {
    color: #ffb3b3;
}

.site-footer--compact .site-footer__compact-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.site-footer--compact .site-footer__compact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

@media (max-width: 767px) {
    .site-footer__brand-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer__nav {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.25rem;
        width: 100%;
        -webkit-overflow-scrolling: touch;
    }

    .site-footer__main {
        padding: 1.35rem 0;
    }

    .site-footer__main .row > [class*='col-'] {
        margin-bottom: 0.25rem;
    }

    .site-footer__text,
    .site-footer__contact-line {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .site-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .site-footer__bottom-inner > div {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .site-footer--compact .site-footer__compact-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-footer--compact .site-footer__compact-links {
        justify-content: center;
    }
}

#techtaranga_backToTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: max(20px, calc((100vw - 1400px) / 2 + 20px));
    z-index: 1035;
    border: none;
    outline: none;
    background-color: var(--tt_primary_color, #c20000);
    color: #fff;
    cursor: pointer;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    font-size: 18px;
    line-height: 42px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

#techtaranga_backToTop:hover {
    background-color: #a30000;
    color: #fff;
}
