/*
 * footer.css - site footer: deep maroon with a faint gold lotus pattern, a top band with the tirth's name
 * and the three most-used actions, four columns, and a dark bottom strip.
 */

.nk-footer {
    --f-gold: #e8b65a;
    --f-gold-soft: rgba(232, 182, 90, .28);
    --f-text: rgba(255, 244, 228, .86);
    --f-muted: rgba(255, 236, 210, .62);
    position: relative; overflow: hidden; color: var(--f-text); text-align: left;
    font-family: "Noto Sans Devanagari", Poppins, sans-serif; font-size: 15px; line-height: 1.6;
    background:
        radial-gradient(1200px 420px at 15% 0%, rgba(224, 112, 27, .22), transparent 60%),
        radial-gradient(900px 500px at 100% 100%, rgba(200, 16, 46, .25), transparent 60%),
        linear-gradient(180deg, #5c0716 0%, #3d0410 55%, #2a030b 100%);
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, #f0a500, var(--nk-saffron, #e0701b), #c8102e, var(--nk-saffron, #e0701b), #f0a500) 1;
}
.nk-footer-pattern {
    position: absolute; right: -180px; top: 40px; width: 620px; height: 620px; opacity: .08; pointer-events: none;
    background: url('../images/lotus-mandala.svg') center / contain no-repeat;
    animation: nkSpin 240s linear infinite;
}
.nk-footer .container { position: relative; }
.nk-footer a { color: var(--f-text); transition: color .2s ease; }
.nk-footer a:hover, .nk-footer a:focus-visible { color: #fff; }
.nk-footer a:focus-visible { outline: 2px solid var(--f-gold); outline-offset: 3px; border-radius: 4px; }
.nk-footer p { margin: 0; }
.nk-footer-main .row > div { text-align: left; }

/* top band */
.nk-footer-band { border-bottom: 1px solid var(--f-gold-soft); background: rgba(0, 0, 0, .14); }
.nk-footer-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: 28px 0; }
.nk-footer-brand { display: flex; align-items: center; gap: 16px; }
.nk-footer-brand-icon {
    flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%;
    color: var(--f-gold); font-size: 34px; border: 1px solid var(--f-gold-soft);
    background: radial-gradient(circle, rgba(232, 182, 90, .18), rgba(232, 182, 90, 0) 70%);
}
.nk-footer-brand-name { color: #fff; font-size: clamp(18px, 2vw, 22px); font-weight: 600; line-height: 1.35; }
.nk-footer-brand-mantra { color: var(--f-gold); font-size: 15px; letter-spacing: .02em; margin-top: 2px; }
.nk-footer-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.nk-footer-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 500; font-size: 15px;
    border: 1px solid rgba(255, 255, 255, .35); color: #fff !important; background: rgba(255, 255, 255, .06);
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.nk-footer-btn .nk-icon { font-size: 20px; color: var(--f-gold); }
.nk-footer-btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .14); border-color: var(--f-gold); }
.nk-footer-btn-solid { background: linear-gradient(135deg, #f0a500, var(--nk-saffron, #e0701b)); border-color: transparent; color: #3d0410 !important; box-shadow: 0 6px 18px rgba(240, 165, 0, .25); }
.nk-footer-btn-solid .nk-icon { color: #3d0410; }
.nk-footer-btn-solid:hover { background: linear-gradient(135deg, #ffbf2e, #f08a2c); color: #3d0410 !important; }

/* columns */
.nk-footer-main { padding: 48px 0 36px; }
.nk-footer-grid > div { margin-bottom: 32px; }
.nk-footer-title {
    position: relative; margin: 0 0 18px; padding-bottom: 10px; color: var(--f-gold);
    font: 600 18px/1.3 "Noto Sans Devanagari", Poppins, sans-serif; letter-spacing: .02em; text-transform: none;
}
.nk-footer-title::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 46px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--f-gold), transparent);
}
.nk-footer-title-sm { margin-top: 26px; font-size: 16px; }

.nk-footer-links { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 18px; }
.nk-footer-links li { break-inside: avoid; margin: 0 0 8px; }
.nk-footer-links a { position: relative; display: inline-block; padding-left: 16px; font-size: 15px; }
.nk-footer-links a::before {
    content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%;
    background: var(--f-gold); opacity: .7; transition: transform .2s ease, opacity .2s ease;
}
.nk-footer-links a:hover::before { transform: scale(1.4); opacity: 1; }

.nk-footer-contact { list-style: none; margin: 0; padding: 0; }
.nk-footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; }
.nk-footer-contact-icon {
    flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%;
    color: var(--f-gold); background: rgba(232, 182, 90, .12); border: 1px solid var(--f-gold-soft); font-size: 15px;
}
.nk-footer-address, .nk-footer-address * { color: var(--f-text); font-size: 14.5px; }
.nk-footer-address strong { color: #fff; font-weight: 600; display: block; margin-bottom: 2px; }
.nk-footer-phones { display: flex; flex-direction: column; gap: 4px; }
.nk-footer-phones a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.nk-footer-phone-number { font-variant-numeric: tabular-nums; white-space: nowrap; font-family: Poppins, sans-serif; font-size: 14.5px; }
.nk-footer-phone-label { color: var(--f-muted); font-size: 13px; }
.nk-footer-contact a[href^="mailto:"] { word-break: break-all; font-family: Poppins, sans-serif; font-size: 14.5px; }

.nk-footer-social { display: flex; flex-wrap: wrap; gap: 10px; }
.nk-footer-social a {
    display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--f-gold-soft); color: var(--f-gold); font-size: 17px; background: rgba(255, 255, 255, .04);
    transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.nk-footer-social a:hover { transform: translateY(-3px); color: #fff; border-color: transparent; }
.nk-footer-social .nk-social-facebook:hover { background: #1877f2; }
.nk-footer-social .nk-social-twitter:hover { background: #111; }
.nk-footer-social .nk-social-youtube:hover { background: #ff0000; }
.nk-footer-social .nk-social-instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }

.nk-footer-guides { display: grid; gap: 14px; }
.nk-footer-guide, .nk-footer-bank {
    position: relative; display: block; overflow: hidden; border-radius: 12px; border: 1px solid var(--f-gold-soft);
    background: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
}
.nk-footer-guide img { display: block; width: 100%; height: 118px; object-fit: cover; transition: transform .5s ease; }
.nk-footer-guide-label {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 8px; font-size: 13.5px; line-height: 1.3; color: #fff;
    background: linear-gradient(transparent, rgba(40, 3, 11, .92)); display: flex; justify-content: space-between; gap: 8px;
}
.nk-footer-guide:hover img, .nk-footer-bank:hover img { transform: scale(1.05); }
.nk-footer-bank img { display: block; width: 100%; transition: transform .5s ease; }
.nk-footer-bank-zoom {
    position: absolute; right: 10px; bottom: 10px; padding: 6px 14px; border-radius: 999px; font-size: 14px;
    color: #fff; background: rgba(61, 4, 16, .85);
}
.nk-footer-donate-link { display: inline-block; margin-top: 12px; color: var(--f-gold) !important; font-weight: 500; }
.nk-footer-donate-link:hover { color: #fff !important; }

/* bottom strip */
.nk-footer-bottom { position: relative; border-top: 1px solid var(--f-gold-soft); background: rgba(0, 0, 0, .3); }
.nk-footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding-top: 16px; padding-bottom: 16px; }
.nk-footer-copy { color: var(--f-muted); font-size: 13.5px; }
.nk-footer-blessing { color: var(--f-gold); font-weight: 600; letter-spacing: .04em; }
.nk-footer-credit { display: inline-flex; align-items: center; gap: 8px; color: var(--f-muted) !important; font-size: 12.5px; }
.nk-footer-credit img { height: 26px; width: auto; border-radius: 4px; background: #fff; padding: 2px 4px; }

@media (max-width: 991.98px) {
    .nk-footer-band-inner { justify-content: center; text-align: center; }
    .nk-footer-brand { flex-direction: column; gap: 10px; }
    .nk-footer-actions { justify-content: center; }
    .nk-footer-pattern { right: -260px; top: 120px; }
}
@media (max-width: 575.98px) {
    .nk-footer-main { padding-top: 36px; }
    .nk-footer-btn { padding: 9px 14px; font-size: 14px; }
    .nk-footer-guides { grid-template-columns: 1fr 1fr; }
    .nk-footer-guide img { height: 96px; }
    .nk-footer-bottom-inner { justify-content: center; text-align: center; }
    .nk-footer-blessing { order: -1; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .nk-footer-pattern { animation: none; }
    .nk-footer *, .nk-footer *::before { transition: none !important; }
}
.nk-footer-address strong + br { display: none; }

/* the guide maps column is narrower on wide screens: keep the pictures in proportion */
@media (min-width: 1200px) { .nk-footer-guide img { height: 104px; } }
