/* ===== FOOTER MAIN ===== */
.rb-footer {
    --rb-navy: #0a0f1e;
    --rb-panel: #121a2e;
    --rb-saffron: #FF9933;
    --rb-green: #128807;
    --rb-white: #ffffff;
    --rb-muted: #ffffff;
    --rb-muted-soft: #ffffff;

    background: var(--rb-navy);
    color: #fff;
    font-family: 'Hind', Arial, Helvetica, sans-serif;
    margin-top: 30px;
    position: relative;
}

/* Tricolor edge — a quiet nod to a govt-info site, not a costume */
.rb-footer::before {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--rb-saffron) 0%, var(--rb-saffron) 33%,
        #e9edf3 33%, #e9edf3 66%,
        var(--rb-green) 66%, var(--rb-green) 100%
    );
}

.rb-footer-container {
    width: 100%;
    max-width: 1140px;
    margin: auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ===== TRUST STRIP ===== */
.rb-trust-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 0 0;
    color: var(--rb-muted);
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding-bottom: 22px;
}

.rb-trust-strip svg { flex-shrink: 0; }

/* ===== FOOTER TOP ===== */
.rb-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 32px 0 30px;
    gap: 36px;
}

.rb-footer-column { flex: 1; min-width: 0; }

.rb-footer-column h3 {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #fff;
    margin: 0 0 18px;
    font-weight: 600;
    position: relative;
    padding-left: 14px;
}

/* small tick mark instead of a generic underline — reads as a checklist/notice-board cue */
.rb-footer-column h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 5px;
    height: 5px;
    background: var(--rb-saffron);
    transform: rotate(45deg);
}

.rb-footer-about p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--rb-muted);
    margin: 0 0 16px;
}

/* ===== VERIFIED BADGE (signature element) ===== */
.rb-verified {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(18, 136, 7, 0.12);
    border: 1px solid rgba(18, 136, 7, 0.4);
    color: #6fcf6a;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px 5px 9px;
    border-radius: 999px;
}

.rb-verified svg { flex-shrink: 0; }

/* ===== FOOTER LINKS ===== */
.rb-footer-links { list-style: none; margin: 0; padding: 0; }

.rb-footer-links li { margin-bottom: 10px; }

.rb-footer-links li a {
    color: var(--rb-muted);
    text-decoration: none;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease, gap 0.2s ease;
}

.rb-footer-links li a::before {
    content: "›";
    color: var(--rb-muted-soft);
    font-weight: 700;
}

.rb-footer-links li a:hover {
    color: #fff;
    gap: 11px;
}

.rb-footer-links li a:hover::before { color: var(--rb-saffron); }

/* ===== STAY CONNECTED (Telegram / WhatsApp) =====
   Sarkari-result readers live on Telegram/WhatsApp update channels far
   more than RSS/newsletters — this is the one place we spend real design
   effort, since it's the actual habit of the audience. */
.rb-connect-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 11px 14px;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: transform 0.15s ease, filter 0.15s ease;
}

.rb-connect-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }

.rb-connect-btn.telegram { background: #229ED9; }
.rb-connect-btn.whatsapp { background: #25D366; }

.rb-connect-btn .rb-btn-sub {
    display: block;
    font-size: 13px;
    font-weight: 400;
    opacity: 0.85;
}

/* ===== FOOTER BOTTOM ===== */
.rb-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.rb-footer-bottom p {
    margin: 0;
    color: var(--rb-muted-soft);
    font-size: 14px;
    line-height: 1.6;
}

.rb-footer-bottom a { color: var(--rb-muted); text-decoration: none; font-weight: 600; }
.rb-footer-bottom a:hover { color: #fff; text-decoration: underline; }

.rb-footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.rb-footer-legal a { font-size: 14px; font-weight: 400 !important; color: var(--rb-muted-soft) !important; }
.rb-footer-legal a:hover { color: #fff !important; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .rb-footer-top { flex-direction: column; gap: 28px; padding: 26px 0; }
    .rb-trust-strip { padding-top: 16px; }
    .rb-footer-bottom { flex-direction: column; align-items: flex-start; }
}
