/* =========================================================
   Krushnai Premium Home — Brand locked
   Green #123524 · Maroon #6B1F1F · Gold #D4AF37 · Cream #FFFDF7
   ========================================================= */

:root {
  --kf-deep: #123524;
  --kf-mid: #123524;
  --kf-maroon: #6B1F1F;
  --kf-gold: #D4AF37;
  --kf-gold-soft: #F6E7B0;
  --kf-cream: #FFFDF7;
  --kf-sand: #FFFDF7;
  --kf-white: #ffffff;
  --kf-ink: #1a1a1a;
  --kf-muted: #5d6b64;
  --kf-radius: 18px;
  --kf-shadow: 0 16px 40px rgba(18, 53, 36, .10);
  --kf-shadow-lg: 0 28px 60px rgba(18, 53, 36, .14);
  --font-display: "Poppins", "Noto Sans Devanagari", sans-serif;
  --font-ui: "Inter", "Noto Sans Devanagari", sans-serif;
}

/* ---------- Shared ---------- */
.kf-skip {
  position: absolute; left: -999px; top: 0; z-index: 9999;
  background: var(--kf-deep); color: #fff; padding: .6rem 1rem;
}
.kf-skip:focus { left: 12px; top: 12px; }

.kf-section { padding: 88px 0; }
.kf-section-cream { background: var(--kf-cream); }
.kf-section-soft {
  background: linear-gradient(180deg, #fff 0%, var(--kf-gold-soft) 48%, #fff 100%);
}
.kf-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}
.kf-section-head .eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--kf-maroon);
  margin-bottom: .55rem;
}
.kf-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  color: var(--kf-deep);
  margin: 0 0 .55rem;
  font-weight: 700;
}
.kf-section-head p { margin: 0; color: var(--kf-muted); font-size: 1.02rem; }

.kf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px;
  font-family: var(--font-ui); font-weight: 600; font-size: .92rem;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-decoration: none !important; position: relative; overflow: hidden;
}
.kf-btn:hover { transform: translateY(-2px); }
.kf-btn-gold {
  background: linear-gradient(135deg, #e4c25a, #D4AF37 45%, #b8922a);
  color: #1a1404 !important;
  box-shadow: 0 10px 28px rgba(212, 175, 55, .35);
}
.kf-btn-gold:hover { filter: brightness(1.05); color: #1a1404 !important; }
.kf-btn-green {
  background: var(--kf-deep);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(18, 53, 36, .25);
}
.kf-btn-green:hover { background: #0c2418; color: #fff !important; }
.kf-btn-maroon {
  background: var(--kf-maroon);
  color: #fff !important;
}
.kf-btn-maroon:hover { background: #551818; color: #fff !important; }
.kf-btn-outline {
  background: transparent;
  border-color: rgba(18,53,36,.2);
  color: var(--kf-deep) !important;
}
.kf-btn-outline:hover {
  border-color: var(--kf-deep);
  background: rgba(18,53,36,.04);
}
.kf-btn-ghost {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.4);
  color: #fff !important;
  backdrop-filter: blur(8px);
}
.kf-btn-ghost:hover { background: #fff; color: var(--kf-deep) !important; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal-left { transform: translateX(-28px); }
.reveal-right { transform: translateX(28px); }
.reveal-zoom { transform: scale(.94); }
.reveal-left.in, .reveal-right.in, .reveal-zoom.in { transform: none; }

/* ---------- Nav polish ---------- */
.kf-topbar {
  background: linear-gradient(90deg, #0c2418, #123524 55%, #0f2e20);
  color: var(--kf-gold-soft);
}
.kf-nav {
  background: rgba(18, 53, 36, .97) !important;
  backdrop-filter: blur(14px);
  transition: box-shadow .25s ease;
  padding: .35rem 0 !important;
}
.kf-nav.is-scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.kf-nav .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.kf-nav .navbar-nav {
  align-items: center;
}
.kf-nav .nav-link {
  font-size: .9rem !important;
  font-weight: 500;
  padding: .55rem .7rem !important;
  white-space: nowrap;
  letter-spacing: .01em;
}
.kf-logo {
  border: 2px solid var(--kf-maroon) !important;
  background: #fff8e7 !important;
  width: 46px !important;
  height: 46px !important;
}
.kf-brand-text strong {
  font-size: .95rem;
  line-height: 1.2;
}
.kf-brand-text small {
  font-size: .65rem;
  letter-spacing: .04em;
  opacity: .85;
}
.kf-nav-cta {
  margin-left: .65rem;
  min-height: 40px !important;
  padding: .45rem 1.15rem !important;
  font-size: .84rem !important;
}

/* ---------- Hero (overrides site.css 420px / hidden content) ---------- */
.kf-hero-wrap {
  position: relative;
  height: min(78vh, 720px);
  min-height: 480px;
  max-height: 780px;
  overflow: hidden;
  background: #0c2418;
  color: #fff;
  display: block;
}
.kf-hero-wrap .kf-hero-slider {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  line-height: normal !important;
  overflow: hidden;
  background: #0c2418;
  z-index: 0;
}
.kf-hero-wrap .kf-hero-slide {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}
.kf-hero-wrap .kf-hero-slide.is-active {
  opacity: 1;
  z-index: 1;
  position: absolute !important;
}
.kf-hero-wrap .kf-hero-img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.kf-hero-wrap .kf-hero-slide.is-active .kf-hero-img { transform: scale(1); }
.kf-hero-wrap .kf-hero-slide::after { display: none !important; }

.kf-hero-overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12,36,24,.25) 0%, rgba(12,36,24,.45) 45%, rgba(12,36,24,.82) 100%),
    linear-gradient(90deg, rgba(12,36,24,.55) 0%, rgba(12,36,24,.15) 55%, transparent 75%);
}
.kf-hero-particles {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden;
}
.kf-hero-particles span {
  position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: var(--kf-gold); opacity: .3;
  animation: kfFloat 12s linear infinite;
}
.kf-hero-particles span:nth-child(1) { left: 12%; top: 70%; }
.kf-hero-particles span:nth-child(2) { left: 28%; top: 40%; width: 4px; height: 4px; animation-delay: 2s; }
.kf-hero-particles span:nth-child(3) { left: 55%; top: 60%; animation-delay: 4s; }
.kf-hero-particles span:nth-child(4) { left: 72%; top: 35%; animation-delay: 1s; }
.kf-hero-particles span:nth-child(5) { left: 88%; top: 75%; animation-delay: 3s; }
@keyframes kfFloat {
  0% { transform: translateY(0); opacity: .15; }
  50% { opacity: .45; }
  100% { transform: translateY(-100px); opacity: 0; }
}

/* CRITICAL: site.css sets .kf-hero-content { display:none !important } */
.kf-hero-wrap .kf-hero-content,
.kf-hero-wrap .kf-hero-actions {
  display: flex !important;
}
.kf-hero-wrap .kf-hero-content {
  position: absolute !important;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  min-height: 0 !important;
  height: auto !important;
  align-items: flex-end;
  padding: 0 0 64px !important;
  margin: 0 !important;
  background: transparent !important;
}
.kf-hero-wrap .kf-slider-dots {
  position: absolute; left: auto; right: 24px; bottom: 22px; transform: none;
  z-index: 6; display: flex; gap: 7px; pointer-events: auto;
}
.kf-scroll-ind {
  position: absolute; left: 50%; bottom: 16px; z-index: 4;
  transform: translateX(-50%);
  color: rgba(255,255,255,.65); font-size: .68rem;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  text-decoration: none !important;
  pointer-events: none;
  opacity: .85;
}
.kf-hero-wrap .kf-hero-content .container {
  width: 100%;
  max-width: 1180px;
}
.kf-hero-kicker {
  display: inline-block !important;
  color: var(--kf-gold-soft);
  font-size: .75rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: .75rem;
}
.kf-hero-wrap .kf-hero-content h1 {
  font-family: var(--font-display);
  color: #fff !important;
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  max-width: 18ch;
  margin: 0 0 .75rem;
  line-height: 1.2;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.kf-hero-wrap .kf-hero-content .lead {
  display: block !important;
  color: rgba(255,255,255,.9);
  font-size: clamp(.95rem, 1.4vw, 1.12rem);
  max-width: 34rem;
  margin: 0 0 1.25rem;
  line-height: 1.55;
}
.kf-hero-wrap .kf-hero-actions {
  flex-wrap: wrap;
  justify-content: flex-start !important;
  align-items: center;
  gap: .7rem;
  margin: 0 !important;
  text-align: left !important;
}
.kf-scroll-ind i { animation: kfBounce 1.6s infinite; }
@keyframes kfBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
.kf-hero-wrap > .kf-slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(18,53,36,.72); color: #fff; backdrop-filter: blur(8px);
  cursor: pointer; pointer-events: auto;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.kf-hero-wrap > .kf-slider-btn:hover {
  background: rgba(212,175,55,.95); color: #123524;
  border-color: var(--kf-gold);
  transform: translateY(-50%) scale(1.06);
}
.kf-hero-wrap > .kf-slider-prev { left: 18px; }
.kf-hero-wrap > .kf-slider-next { right: 18px; }
.kf-hero-wrap .kf-dot {
  width: 8px; height: 8px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.45); padding: 0; cursor: pointer;
}
.kf-hero-wrap .kf-dot.is-active {
  background: var(--kf-gold); width: 20px; border-radius: 999px;
}

/* Intro alignment */
.kf-section { padding: 72px 0; }
.kf-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 40px 48px;
  align-items: center;
}
.kf-intro-copy .eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--kf-maroon);
  margin-bottom: .55rem;
}
.kf-intro-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  color: var(--kf-deep);
  margin: 0 0 1rem;
  font-weight: 700;
  line-height: 1.25;
}
.kf-intro-visual {
  position: relative;
  border-radius: var(--kf-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  min-height: 0;
  background:
    linear-gradient(145deg, rgba(18,53,36,.88), rgba(107,31,31,.55)),
    var(--kf-gold-soft);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--kf-shadow-lg);
}
.kf-intro-visual img {
  width: min(180px, 48%);
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,.9);
  background: #fff;
}
.kf-intro-badge {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(255,253,247,.96);
  color: var(--kf-maroon);
  font-weight: 700; font-size: .78rem;
  padding: .55rem .9rem; border-radius: 999px;
}

/* ---------- Counters ---------- */
.kf-counter-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.kf-counter-card {
  background: #fff;
  border: 1px solid rgba(18,53,36,.08);
  border-radius: var(--kf-radius);
  padding: 22px 14px;
  text-align: center;
  box-shadow: var(--kf-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.kf-counter-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--kf-shadow-lg);
}
.kf-counter-card .ico {
  width: 44px; height: 44px; margin: 0 auto 10px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,175,55,.15); color: var(--kf-maroon); font-size: 1.1rem;
}
.kf-counter-card .num {
  font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 700; color: var(--kf-deep); line-height: 1.1;
}
.kf-counter-card .lbl { font-size: .78rem; color: var(--kf-muted); margin-top: 4px; }

/* ---------- Objective cards ---------- */
.kf-obj-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.kf-obj-card {
  background: #fff;
  border: 1px solid rgba(18,53,36,.08);
  border-radius: var(--kf-radius);
  padding: 28px 22px 24px;
  box-shadow: var(--kf-shadow);
  border-top: 3px solid var(--kf-gold);
  transition: transform .25s ease, box-shadow .25s ease;
}
.kf-obj-card:hover { transform: translateY(-6px); box-shadow: var(--kf-shadow-lg); }
.kf-obj-card .ico {
  width: 48px; height: 48px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(18,53,36,.08); color: var(--kf-deep); margin-bottom: 14px;
}
.kf-obj-card h3 { font-size: 1.1rem; margin: 0 0 .5rem; color: var(--kf-deep); }
.kf-obj-card p { margin: 0; color: var(--kf-muted); font-size: .92rem; }

/* ---------- Timeline (Krutarta) ---------- */
.kf-timeline { position: relative; max-width: 820px; margin: 0 auto; }
.kf-timeline::before {
  content: ""; position: absolute; left: 28px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--kf-gold), rgba(212,175,55,.2));
}
.kf-tl-item {
  position: relative;
  padding: 0 0 36px 84px;
}
.kf-tl-badge {
  position: absolute; left: 0; top: 0;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--kf-deep); color: var(--kf-gold-soft);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .78rem;
  border: 3px solid var(--kf-gold);
  z-index: 1;
}
.kf-tl-card {
  background: #fff;
  border-radius: var(--kf-radius);
  border: 1px solid rgba(18,53,36,.08);
  padding: 18px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  box-shadow: var(--kf-shadow);
}
.kf-tl-card img {
  width: 88px; height: 88px; border-radius: 14px; object-fit: cover;
  border: 2px solid var(--kf-gold-soft);
}
.kf-tl-card h3 { font-size: 1.05rem; margin: 0 0 .25rem; color: var(--kf-deep); }
.kf-tl-card .role { font-size: .8rem; color: var(--kf-maroon); font-weight: 600; margin-bottom: .4rem; }
.kf-tl-card p { margin: 0; color: var(--kf-muted); font-size: .9rem; }

/* ---------- Guides carousel ---------- */
.kf-guides-track {
  display: flex; gap: 18px; overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 20px;
  -webkit-overflow-scrolling: touch;
}
.kf-guides-track::-webkit-scrollbar { height: 6px; }
.kf-guides-track::-webkit-scrollbar-thumb { background: var(--kf-gold); border-radius: 999px; }
.kf-guide-card {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--kf-radius);
  border: 1px solid rgba(18,53,36,.08);
  padding: 28px 22px 24px;
  text-align: center;
  box-shadow: var(--kf-shadow);
  transition: transform .25s ease;
}
.kf-guide-card:hover { transform: translateY(-4px); }
.kf-guide-card img {
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--kf-gold);
  box-shadow: 0 0 0 6px rgba(212,175,55,.18);
  margin-bottom: 14px;
}
.kf-guide-card h3 { font-size: 1.1rem; margin: 0 0 .3rem; color: var(--kf-deep); }
.kf-guide-card .role { font-size: .82rem; color: var(--kf-maroon); margin-bottom: .6rem; }
.kf-guide-card p { font-size: .88rem; color: var(--kf-muted); min-height: 3.4em; margin: 0 0 1rem; }

/* Modal */
.kf-modal {
  position: fixed; inset: 0; z-index: 1050;
  display: none; align-items: center; justify-content: center;
  background: rgba(12,36,24,.72); padding: 20px;
}
.kf-modal.is-open { display: flex; }
.kf-modal-dialog {
  background: #fff; border-radius: 20px; max-width: 560px; width: 100%;
  padding: 28px; position: relative; max-height: 90vh; overflow: auto;
  box-shadow: var(--kf-shadow-lg);
}
.kf-modal-close {
  position: absolute; right: 14px; top: 12px;
  border: 0; background: transparent; font-size: 1.4rem; color: var(--kf-muted); cursor: pointer;
}

/* ---------- Testimonials ---------- */
.kf-testi-track {
  display: flex; gap: 18px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding-bottom: 12px;
}
.kf-testi-card {
  flex: 0 0 min(420px, 88vw);
  scroll-snap-align: start;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: var(--kf-radius);
  padding: 28px;
  box-shadow: var(--kf-shadow);
}
.kf-testi-card .qico { color: var(--kf-gold); font-size: 1.6rem; margin-bottom: .6rem; }
.kf-testi-card .quote { font-size: 1.02rem; color: var(--kf-ink); margin: 0 0 1.2rem; line-height: 1.7; }
.kf-testi-card .who { display: flex; align-items: center; gap: 12px; }
.kf-testi-card .who img {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--kf-gold);
}
.kf-testi-card .who strong { display: block; font-size: .92rem; }
.kf-testi-card .who span { font-size: .78rem; color: var(--kf-muted); }

/* ---------- Masonry gallery ---------- */
.kf-masonry {
  columns: 4 200px;
  column-gap: 12px;
}
.kf-masonry-item {
  break-inside: avoid;
  margin: 0 0 12px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  display: block;
  cursor: zoom-in;
}
.kf-masonry-item img {
  width: 100%; display: block;
  transition: transform .45s ease;
}
.kf-masonry-item:hover img { transform: scale(1.06); }
.kf-masonry-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 12px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
  color: #fff; font-size: .8rem; font-weight: 600;
  opacity: 0; transition: .25s ease;
}
.kf-masonry-item:hover .cap { opacity: 1; }
.kf-gal-filters {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 24px;
}
.kf-gal-filters button {
  border: 1px solid rgba(18,53,36,.15);
  background: #fff; border-radius: 999px;
  padding: .4rem .9rem; font-size: .82rem; font-weight: 600;
  color: var(--kf-deep); cursor: pointer;
}
.kf-gal-filters button.is-active {
  background: var(--kf-deep); color: #fff; border-color: var(--kf-deep);
}
.kf-lightbox {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(0,0,0,.88);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.kf-lightbox.is-open { display: flex; }
.kf-lightbox img { max-width: min(960px, 94vw); max-height: 88vh; border-radius: 12px; }
.kf-lightbox-close {
  position: absolute; top: 18px; right: 22px;
  color: #fff; font-size: 2rem; background: 0; border: 0; cursor: pointer;
}

/* ---------- Gallery page ---------- */
.kf-gallery-page {
  margin-top: -2.1rem;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 2;
}
.kf-gallery-tabs {
  display: inline-flex;
  gap: .35rem;
  padding: .35rem;
  background: #fff;
  border: 1px solid rgba(18,53,36,.08);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(18,53,36,.08);
  margin: 0 auto 1.5rem;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.kf-gallery-tabs a {
  min-width: 110px;
  text-align: center;
  padding: .55rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .88rem;
  color: var(--kf-deep) !important;
  text-decoration: none !important;
}
.kf-gallery-tabs a.is-active {
  background: var(--kf-deep);
  color: #fff !important;
}
.kf-gallery-tabs a:hover:not(.is-active) {
  background: rgba(18,53,36,.05);
}
.kf-gallery-empty {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(18,53,36,.08);
  box-shadow: 0 14px 36px rgba(18,53,36,.06);
  padding: 2.5rem 1.5rem;
  text-align: center;
}
@media (max-width: 575.98px) {
  .kf-gallery-page { margin-top: -1.5rem; }
}

/* ---------- Video cards ---------- */
.kf-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.kf-video-card {
  background: #fff; border-radius: var(--kf-radius);
  overflow: hidden; border: 1px solid rgba(18,53,36,.08);
  box-shadow: var(--kf-shadow); cursor: pointer;
  transition: transform .25s ease;
}
.kf-video-card:hover { transform: translateY(-4px); }
.kf-video-thumb {
  position: relative; aspect-ratio: 16/9;
  background: #0c2418 center/cover no-repeat;
}
.kf-video-thumb .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--kf-gold); color: #1a1404;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.kf-video-card .body { padding: 16px 16px 18px; }
.kf-video-card h3 { font-size: 1rem; margin: 0 0 .35rem; color: var(--kf-deep); }
.kf-video-card p { margin: 0; font-size: .84rem; color: var(--kf-muted); }

/* ---------- Literature books ---------- */
.kf-book-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.kf-book-card {
  background: #fff; border-radius: var(--kf-radius);
  overflow: hidden; border: 1px solid rgba(18,53,36,.08);
  box-shadow: var(--kf-shadow);
  text-decoration: none !important; color: inherit;
  transition: transform .25s ease;
}
.kf-book-card:hover { transform: translateY(-4px); color: inherit; }
.kf-book-cover {
  aspect-ratio: 3/4; background: var(--kf-gold-soft) center/cover no-repeat;
}
.kf-book-card .body { padding: 14px 14px 18px; }
.kf-book-card h3 { font-size: .98rem; margin: 0 0 .25rem; color: var(--kf-deep); }
.kf-book-card .meta { font-size: .78rem; color: var(--kf-muted); }

/* ---------- Sthan cards ---------- */
.kf-sthan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.kf-sthan-feat {
  display: block; background: #fff; border-radius: var(--kf-radius);
  overflow: hidden; border: 1px solid rgba(18,53,36,.08);
  box-shadow: var(--kf-shadow); text-decoration: none !important; color: inherit;
  transition: transform .25s ease;
}
.kf-sthan-feat:hover { transform: translateY(-5px); color: inherit; }
.kf-sthan-feat .media {
  aspect-ratio: 16/11; background: var(--kf-gold-soft) center/cover no-repeat;
  transition: transform .5s ease;
}
.kf-sthan-feat:hover .media { transform: scale(1.04); }
.kf-sthan-feat .body { padding: 16px 16px 18px; }
.kf-sthan-feat h3 { font-size: 1.05rem; margin: 0 0 .35rem; color: var(--kf-deep); }
.kf-sthan-feat .loc { font-size: .82rem; color: var(--kf-muted); margin-bottom: .45rem; }
.kf-sthan-feat p { font-size: .88rem; color: var(--kf-muted); margin: 0; }

/* ---------- Donate ---------- */
.kf-donate-band {
  background:
    linear-gradient(135deg, rgba(212,175,55,.95), rgba(184,146,42,.92)),
    var(--kf-gold);
  border-radius: 24px;
  padding: 52px 40px;
  text-align: center;
  color: #1a1404;
  box-shadow: var(--kf-shadow-lg);
  position: relative; overflow: hidden;
}
.kf-donate-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin: 0 0 .6rem; color: #1a1404;
}
.kf-donate-band p { max-width: 520px; margin: 0 auto 1.4rem; opacity: .85; }

/* ---------- Reports ---------- */
.kf-report-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.kf-report-card {
  background: #fff; border-radius: 14px; padding: 18px;
  border: 1px solid rgba(18,53,36,.08); box-shadow: var(--kf-shadow);
}
.kf-report-card .yr { color: var(--kf-maroon); font-weight: 700; font-size: .8rem; }
.kf-report-card h3 { font-size: .95rem; margin: .35rem 0 .6rem; color: var(--kf-deep); }

/* ---------- Contact page ---------- */
.kf-contact-banner {
  padding-bottom: 4.2rem !important;
}
.kf-contact-page {
  margin-top: -2.4rem;
  margin-bottom: 0;
  padding-bottom: 3.5rem;
  position: relative;
  z-index: 2;
  overflow: visible;
}
.kf-contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1.35rem;
  align-items: stretch;
}
.kf-contact-card {
  background: #fff;
  border: 1px solid rgba(18,53,36,.08);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(18,53,36,.09);
  padding: 1.6rem 1.55rem 1.65rem;
  min-width: 0;
}
.kf-contact-info {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.kf-contact-form-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.kf-contact-card-head {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(18,53,36,.08);
}
.kf-contact-card-head h2 {
  margin: 0 0 .2rem;
  font-size: 1.22rem;
  color: var(--kf-deep);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
}
.kf-contact-card-head p {
  margin: 0;
  color: var(--kf-muted);
  font-size: .9rem;
  line-height: 1.45;
}
.kf-contact-icon {
  width: 44px; height: 44px; flex: 0 0 44px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(212,175,55,.18);
  color: var(--kf-maroon);
  font-size: 1.05rem;
}
.kf-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .7rem;
}
.kf-contact-list li {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: .85rem .95rem;
  border-radius: 14px;
  background: var(--kf-cream);
  border: 1px solid rgba(18,53,36,.05);
}
.kf-contact-li-icon {
  width: 36px; height: 36px; flex: 0 0 36px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(212,175,55,.16);
  color: var(--kf-gold);
  font-size: .92rem;
}
.kf-contact-list .lbl {
  display: block;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--kf-muted);
  margin-bottom: .2rem;
  font-weight: 700;
}
.kf-contact-list strong,
.kf-contact-list a {
  color: var(--kf-deep) !important;
  font-weight: 600;
  font-size: .95rem;
  word-break: break-word;
  text-decoration: none !important;
  line-height: 1.4;
}
.kf-contact-list a:hover { color: var(--kf-maroon) !important; }
.kf-contact-info-foot {
  margin-top: auto;
  padding-top: 1.25rem;
}
.kf-contact-mantra {
  margin: 0 0 .95rem;
  color: var(--kf-maroon);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
}
.kf-contact-aside-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
}
.kf-contact-aside-actions .kf-btn {
  min-height: 44px;
  padding: .55rem .9rem;
  font-size: .86rem;
  width: 100%;
}
.kf-contact-form {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.kf-contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}
.kf-contact-form .form-group { margin-bottom: 1rem; }
.kf-contact-form .kf-contact-msg { flex: 1; display: flex; flex-direction: column; }
.kf-contact-form label {
  display: block;
  font-size: .84rem;
  font-weight: 600;
  color: var(--kf-deep);
  margin-bottom: .4rem;
}
.kf-contact-form .form-control {
  border-radius: 12px;
  border: 1px solid rgba(18,53,36,.14);
  min-height: 48px;
  padding: .7rem 1rem;
  background: #fff;
  color: var(--kf-ink);
  box-shadow: none;
  width: 100%;
  font-size: .95rem;
}
.kf-contact-form .form-control:focus {
  border-color: rgba(212,175,55,.75);
  box-shadow: 0 0 0 3px rgba(212,175,55,.18);
  outline: 0;
}
.kf-contact-form textarea.form-control {
  min-height: 140px;
  resize: vertical;
  flex: 1;
}
.kf-contact-submit {
  margin-top: .35rem;
  align-self: flex-start;
  min-width: 190px;
}
.kf-contact-privacy-note {
  font-size: .82rem;
  color: var(--kf-muted, #5d6b64);
  line-height: 1.5;
}
.kf-contact-form .kf-btn[disabled] {
  opacity: .7;
  cursor: wait;
  transform: none;
}
.kf-contact-page #contactAlert {
  border-radius: 12px;
  margin-bottom: 1rem;
}
.kf-contact-map-block {
  margin-top: 1.35rem;
  background: #fff;
  border: 1px solid rgba(18,53,36,.08);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(18,53,36,.09);
  padding: 1.25rem 1.25rem 1.25rem;
}
.kf-contact-map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.kf-contact-map-head .eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--kf-maroon);
  margin-bottom: .25rem;
}
.kf-contact-map-head h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--kf-deep);
  font-family: var(--font-display);
  font-weight: 700;
}
.kf-contact-map-head .kf-btn {
  min-height: 40px;
  padding: .45rem 1rem;
  font-size: .82rem;
}
.kf-contact-map {
  border-radius: 14px;
  overflow: hidden;
  background: var(--kf-gold-soft);
  border: 1px solid rgba(18,53,36,.06);
}
.kf-contact-map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}
@media (max-width: 991.98px) {
  .kf-contact-shell { grid-template-columns: 1fr; }
  .kf-contact-aside-actions { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
  .kf-contact-page { margin-top: -1.6rem; padding-bottom: 2.5rem; }
  .kf-contact-form-row { grid-template-columns: 1fr; }
  .kf-contact-aside-actions { grid-template-columns: 1fr; }
  .kf-contact-card { padding: 1.25rem 1.15rem 1.35rem; }
  .kf-contact-map iframe { height: 260px; }
  .kf-contact-submit { width: 100%; }
}

/* ---------- About page ---------- */
.kf-about-banner { padding-bottom: 4.2rem !important; }
.kf-about-page {
  margin-top: -2.4rem;
  padding-bottom: 3.5rem;
  position: relative;
  z-index: 2;
}
.kf-about-shell {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr);
  gap: 1.35rem;
  align-items: stretch;
  margin-bottom: 2.5rem;
}
.kf-about-visual-card,
.kf-about-copy-card {
  background: #fff;
  border: 1px solid rgba(18,53,36,.08);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(18,53,36,.09);
  min-width: 0;
}
.kf-about-visual-card {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.kf-about-visual-inner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 260px;
  flex: 1;
  background:
    linear-gradient(145deg, rgba(18,53,36,.9), rgba(107,31,31,.55)),
    var(--kf-gold-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1.25rem;
}
.kf-about-logo {
  width: min(150px, 46%);
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.25));
}
.kf-about-badge {
  color: var(--kf-gold-soft);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  text-align: center;
}
.kf-about-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.kf-about-meta li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: .7rem .8rem;
  border-radius: 12px;
  background: var(--kf-cream);
  color: var(--kf-deep);
  font-size: .9rem;
  font-weight: 600;
}
.kf-about-meta i {
  width: 16px;
  flex: 0 0 16px;
  margin-top: .15rem;
  color: var(--kf-gold);
}
.kf-about-meta a {
  color: var(--kf-deep) !important;
  text-decoration: none !important;
  word-break: break-word;
}
.kf-about-meta a:hover { color: var(--kf-maroon) !important; }
.kf-about-copy-card {
  padding: 1.7rem 1.65rem 1.75rem;
  display: flex;
  flex-direction: column;
}
.kf-about-copy-card .eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--kf-maroon);
  margin-bottom: .55rem;
}
.kf-about-copy-card h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  color: var(--kf-deep);
  font-weight: 700;
  line-height: 1.3;
}
.kf-about-lead {
  font-size: 1.05rem;
  color: var(--kf-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.kf-about-body,
.kf-about-copy-card > p {
  color: var(--kf-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: .98rem;
}
.kf-about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: auto;
  padding-top: 1.25rem;
}
.kf-about-focus {
  margin-bottom: 2.5rem;
}
.kf-about-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
.kf-about-pillar {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(18,53,36,.08);
  border-radius: 18px;
  padding: 1.4rem 1.25rem 1.3rem;
  box-shadow: 0 12px 28px rgba(18,53,36,.06);
  text-decoration: none !important;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
  min-height: 100%;
}
.kf-about-pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(18,53,36,.12);
}
.kf-about-pillar .ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(212,175,55,.18);
  color: var(--kf-maroon);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.kf-about-pillar h3 {
  margin: 0 0 .45rem;
  font-size: 1.08rem;
  color: var(--kf-deep);
  font-family: var(--font-display);
  font-weight: 700;
}
.kf-about-pillar p {
  margin: 0 0 1rem;
  color: var(--kf-muted);
  font-size: .9rem;
  line-height: 1.6;
  flex: 1;
}
.kf-about-pillar .more {
  font-size: .84rem;
  font-weight: 700;
  color: var(--kf-deep);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.kf-about-pillar:hover .more { color: var(--kf-maroon); }
.kf-about-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}
.kf-about-link-grid a {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .95rem 1.05rem;
  background: #fff;
  border: 1px solid rgba(18,53,36,.08);
  border-radius: 14px;
  color: var(--kf-deep) !important;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(18,53,36,.05);
  transition: background .2s ease, transform .2s ease;
}
.kf-about-link-grid a i {
  width: 18px;
  color: var(--kf-gold);
  text-align: center;
}
.kf-about-link-grid a:hover {
  background: var(--kf-cream);
  transform: translateY(-2px);
  color: var(--kf-maroon) !important;
}
@media (max-width: 991.98px) {
  .kf-about-shell,
  .kf-about-pillars,
  .kf-about-link-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .kf-about-page { margin-top: -1.6rem; padding-bottom: 2.5rem; }
  .kf-about-actions .kf-btn { width: 100%; }
}
@media (min-width: 576px) and (max-width: 991.98px) {
  .kf-about-pillars,
  .kf-about-link-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Footer premium ---------- */
.kf-footer {
  background: linear-gradient(180deg, #0c2418 0%, #123524 100%) !important;
  color: rgba(255,255,255,.8);
  margin-top: 0 !important;
  padding: 64px 0 28px !important;
  border-top: 1px solid rgba(212,175,55,.22);
}
.kf-footer-brand { color: #fff !important; font-family: var(--font-display); }
.kf-footer-text { color: rgba(255,255,255,.72) !important; line-height: 1.65; }
.kf-footer .kf-mantra { color: var(--kf-gold-soft) !important; }
.kf-footer-title {
  color: #fff !important;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .76rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.kf-footer-links a,
.kf-footer-contact a,
.kf-footer .kf-legal-inline a {
  color: rgba(255,255,255,.78) !important;
  text-decoration: none !important;
  word-break: break-word;
}
.kf-footer-links a:hover,
.kf-footer-contact a:hover,
.kf-footer .kf-legal-inline a:hover {
  color: var(--kf-gold-soft) !important;
}
.kf-footer-contact li {
  color: rgba(255,255,255,.78) !important;
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  line-height: 1.55;
  margin-bottom: .55rem;
}
.kf-footer-contact i {
  width: 18px;
  flex: 0 0 18px;
  margin-top: .2rem;
  color: var(--kf-gold) !important;
}
.kf-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .35rem;
}
.kf-footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff !important;
  text-decoration: none !important;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.kf-footer-social a:hover {
  background: var(--kf-gold);
  border-color: var(--kf-gold);
  color: #123524 !important;
}
.kf-footer .kf-newsletter {
  display: flex; gap: 8px; margin-top: 1rem; flex-wrap: wrap;
}
.kf-footer .kf-newsletter input {
  flex: 1 1 140px; min-width: 0; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08); color: #fff;
  padding: .65rem 1rem; font-size: .88rem; outline: none;
}
.kf-footer .kf-newsletter input::placeholder { color: rgba(255,255,255,.45); }
.kf-footer .kf-newsletter input:focus {
  border-color: rgba(212,175,55,.65);
  box-shadow: 0 0 0 3px rgba(212,175,55,.18);
}
.kf-footer .kf-newsletter button {
  border: 0; border-radius: 999px; background: var(--kf-gold);
  color: #1a1404; font-weight: 700; padding: .65rem 1.1rem;
  white-space: nowrap; cursor: pointer;
}
.kf-footer .kf-newsletter button:hover { filter: brightness(1.05); }
.kf-footer-gal {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: .5rem;
}
.kf-footer-gal a {
  aspect-ratio: 1; border-radius: 8px;
  background-size: cover; background-position: center; display: block;
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.kf-footer-gal a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
}
.kf-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12) !important;
  margin-top: 1.75rem !important;
  padding-top: 1.1rem !important;
  gap: .75rem 1.25rem;
}
.kf-footer .kf-copy { color: rgba(255,255,255,.55); }

/* Hide old home panel under new hero */
.kf-home-panel { display: none !important; }

/* ---------- Page banner (brand) ---------- */
.kf-page-banner {
  background:
    linear-gradient(125deg, rgba(18,53,36,.96), rgba(18,53,36,.82) 55%, rgba(107,31,31,.72)),
    #123524 !important;
  color: #fff;
  padding: 2.4rem 0 3.6rem !important;
  position: relative;
  overflow: hidden;
}
.kf-page-banner::after {
  content: "";
  position: absolute;
  right: -8%; bottom: -40%;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(212,175,55,.12);
  pointer-events: none;
}
.kf-page-banner .container { position: relative; z-index: 1; }
.kf-page-banner h1 { color: #fff; margin: 0 0 .4rem; }
.kf-page-banner p { color: rgba(255,255,255,.88); margin: 0; max-width: 520px; }
.kf-page-eyebrow { color: var(--kf-gold-soft) !important; }
.kf-page-banner-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: .85rem;
}
.kf-page-banner-actions { gap: .65rem; }
.kf-page-banner .kf-btn-outline {
  border-color: rgba(255,255,255,.4) !important;
  color: #fff !important;
}
.kf-crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem;
  list-style: none; margin: 0; padding: 0;
  font-size: .84rem;
}
.kf-crumb a { color: rgba(255,255,255,.78); }
.kf-crumb a:hover { color: var(--kf-gold-soft); }
.kf-crumb .sep { color: rgba(255,255,255,.4); }
.kf-crumb .current { color: #fff; font-weight: 600; }

/* ---------- Sthan Darshan page ---------- */
.kf-sd-banner { padding-bottom: 3.4rem !important; }
.kf-sd-page {
  max-width: 1180px !important;
  margin-top: -2.1rem !important;
  margin-bottom: 3.5rem !important;
  position: relative;
  z-index: 2;
}
.kf-sd-shell {
  display: grid !important;
  grid-template-columns: 300px minmax(0, 1fr) !important;
  gap: 1.25rem !important;
  align-items: start;
}
.kf-sd-panel,
.kf-sd-results {
  background: #fff !important;
  border: 1px solid rgba(18,53,36,.08) !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 36px rgba(18,53,36,.08) !important;
}
.kf-sd-panel {
  padding: 1.35rem 1.25rem 1.4rem !important;
  position: sticky;
  top: 92px;
}
.kf-sd-panel-head {
  margin-bottom: 1.05rem !important;
  padding-bottom: .85rem !important;
  border-bottom: 1px solid rgba(18,53,36,.08) !important;
}
.kf-sd-panel-head h2 {
  font-family: var(--font-display) !important;
  font-size: 1.2rem !important;
  margin: 0 0 .25rem !important;
  color: #123524 !important;
  font-weight: 700;
}
.kf-sd-panel-head p {
  margin: 0 !important;
  color: var(--kf-muted) !important;
  font-size: .86rem !important;
}
.kf-sd-field { margin-bottom: 1rem !important; }
.kf-sd-label {
  display: block;
  font-weight: 600;
  color: #123524 !important;
  font-size: .8rem !important;
  margin: 0 0 .4rem !important;
  letter-spacing: .02em;
}
.kf-sd-input {
  border: 1px solid rgba(18,53,36,.14) !important;
  border-radius: 12px !important;
  min-height: 46px !important;
  padding: .55rem .9rem !important;
  background: #FFFDF7 !important;
  color: #1a1a1a !important;
  font-size: .92rem !important;
  width: 100%;
  box-shadow: none !important;
}
.kf-sd-input:focus {
  border-color: #D4AF37 !important;
  background: #fff !important;
  box-shadow: 0 0 0 .15rem rgba(212,175,55,.2) !important;
  outline: 0;
}
.kf-sd-actions {
  display: grid !important;
  gap: .55rem !important;
  margin-top: .15rem !important;
}
.kf-sd-actions .kf-btn {
  width: 100%;
  justify-content: center;
  border-radius: 12px !important;
  min-height: 46px;
}
.kf-sd-quick {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(18,53,36,.08);
}
.kf-sd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: .55rem;
}
.kf-sd-chip {
  display: inline-flex;
  align-items: center;
  padding: .35rem .7rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  text-decoration: none !important;
  color: #123524 !important;
  background: #F6E7B0;
  border: 1px solid transparent;
  transition: .2s ease;
  line-height: 1.2;
}
.kf-sd-chip:hover,
.kf-sd-chip.is-active {
  background: #123524;
  color: #fff !important;
  border-color: #123524;
}

.kf-sd-results {
  padding: 1.35rem 1.4rem 1.5rem !important;
}
.kf-sd-results-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  margin-bottom: 1.15rem !important;
  padding-bottom: 1rem !important;
  border-bottom: 1px solid rgba(18,53,36,.08) !important;
}
.kf-sd-eyebrow {
  color: #6B1F1F !important;
  font-weight: 700 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  font-size: .7rem !important;
  margin-bottom: .3rem !important;
}
.kf-sd-results-head h2 {
  font-family: var(--font-display) !important;
  font-size: 1.4rem !important;
  margin: 0 !important;
  color: #123524 !important;
  font-weight: 700;
  line-height: 1.25;
}
.kf-sd-filter-note {
  margin: .35rem 0 0 !important;
  font-size: .86rem;
  color: var(--kf-muted);
}
.kf-sd-count {
  background: rgba(212,175,55,.18) !important;
  color: #123524 !important;
  border: 1px solid rgba(212,175,55,.35) !important;
  border-radius: 999px !important;
  padding: .4rem .9rem !important;
  font-size: .8rem !important;
  font-weight: 700 !important;
  white-space: nowrap;
  flex-shrink: 0;
}

.kf-sd-directory {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  gap: 1rem !important;
}
.kf-sd-group {
  background: #fff !important;
  border: 1px solid rgba(18,53,36,.08) !important;
  border-radius: 16px !important;
  padding: 1rem .9rem .75rem !important;
  box-shadow: 0 4px 16px rgba(18,53,36,.04);
  transition: transform .2s ease, box-shadow .2s ease;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.kf-sd-group:hover {
  box-shadow: 0 12px 28px rgba(18,53,36,.1);
  transform: translateY(-2px);
}
.kf-sd-group h3 {
  font-family: var(--font-display) !important;
  font-size: .98rem !important;
  font-weight: 700 !important;
  color: #123524 !important;
  margin: 0 0 .65rem !important;
  padding-bottom: .55rem !important;
  border-bottom: 2px solid #F6E7B0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: .5rem;
}
.kf-sd-group h3 small {
  font-size: .72rem !important;
  font-weight: 700 !important;
  color: #6B1F1F !important;
  background: rgba(107,31,31,.08) !important;
  border-radius: 999px !important;
  padding: .15rem .5rem !important;
}
.kf-sd-group ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  flex: 1;
}
.kf-sd-group li { margin: 0; }
.kf-sd-group a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: .55rem;
  color: #123524 !important;
  text-decoration: none !important;
  padding: .5rem .5rem !important;
  border-radius: 10px !important;
  transition: background .15s ease, transform .15s ease;
  border-bottom: 1px solid rgba(18,53,36,.04);
}
.kf-sd-group li:last-child a { border-bottom: 0; }
.kf-sd-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.kf-sd-link strong {
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.3;
  color: #123524;
}
.kf-sd-link em {
  font-style: normal;
  font-size: .74rem;
  color: var(--kf-muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kf-sd-group a i {
  font-size: .7rem !important;
  color: #D4AF37 !important;
  opacity: 0 !important;
  transform: translateX(-4px);
  transition: .15s ease;
  flex-shrink: 0;
}
.kf-sd-group a:hover {
  background: rgba(18,53,36,.05) !important;
}
.kf-sd-group a:hover i {
  opacity: 1 !important;
  transform: translateX(0);
}
.kf-sd-empty {
  text-align: center;
  padding: 3rem 1.25rem !important;
  color: var(--kf-muted);
}
.kf-sd-empty i {
  font-size: 2rem;
  color: #D4AF37;
  opacity: .7;
  margin-bottom: .75rem;
  display: block;
}
.kf-sd-empty h3 {
  color: #123524;
  font-size: 1.2rem;
  margin: 0 0 .4rem;
}

/* Nested grouped accordion */
.kf-sd-head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  justify-content: flex-end;
}
.kf-sd-tog-all {
  border: 1px solid rgba(18,53,36,.15);
  background: #fff;
  color: #123524;
  border-radius: 999px;
  padding: .35rem .75rem;
  font-size: .75rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
}
.kf-sd-tog-all:hover {
  background: #123524;
  color: #fff;
  border-color: #123524;
}
.kf-sd-accordions {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.kf-sd-acc {
  border: 1px solid rgba(18,53,36,.1);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(18,53,36,.04);
}
.kf-sd-acc[open] {
  box-shadow: 0 10px 28px rgba(18,53,36,.08);
  border-color: rgba(212,175,55,.45);
}
.kf-sd-acc-sum {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: linear-gradient(180deg, #FFFDF7 0%, #fff 100%);
  user-select: none;
}
.kf-sd-acc-sum::-webkit-details-marker { display: none; }
.kf-sd-acc-title {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #123524;
}
.kf-sd-acc-title i { color: #D4AF37; font-size: .95rem; }
.kf-sd-acc-meta {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  flex-shrink: 0;
}
.kf-sd-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .2rem .55rem;
  font-size: .72rem;
  font-weight: 700;
  background: rgba(18,53,36,.07);
  color: #123524;
}
.kf-sd-pill-gold {
  background: rgba(212,175,55,.2);
  color: #6B1F1F;
}
.kf-sd-chev {
  color: #123524;
  opacity: .55;
  transition: transform .2s ease;
  margin-left: .15rem;
}
.kf-sd-acc[open] .kf-sd-chev { transform: rotate(180deg); }
.kf-sd-acc-body {
  padding: .25rem 1.1rem 1.15rem;
  border-top: 1px solid rgba(18,53,36,.06);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: .9rem 1rem;
}
.kf-sd-village {
  background: #FFFDF7;
  border: 1px solid rgba(18,53,36,.07);
  border-radius: 14px;
  padding: .75rem .7rem .55rem;
}
.kf-sd-village-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin: 0 0 .5rem;
  padding-bottom: .45rem;
  border-bottom: 2px solid #F6E7B0;
  font-size: .92rem;
  font-weight: 700;
  color: #123524;
  font-family: var(--font-display);
}
.kf-sd-village-title small {
  background: rgba(107,31,31,.08);
  color: #6B1F1F;
  border-radius: 999px;
  padding: .12rem .45rem;
  font-size: .7rem;
  font-weight: 700;
}
.kf-sd-temple-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.kf-sd-temple-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .42rem .4rem;
  border-radius: 9px;
  text-decoration: none !important;
  color: #123524 !important;
  border-bottom: 1px solid rgba(18,53,36,.04);
}
.kf-sd-temple-list li:last-child a { border-bottom: 0; }
.kf-sd-temple-list a:hover { background: rgba(18,53,36,.05); }
.kf-sd-temple-list a i {
  font-size: .68rem;
  color: #D4AF37;
  opacity: 0;
  transition: .15s ease;
}
.kf-sd-temple-list a:hover i { opacity: 1; }

.kf-sd-prompt .kf-sd-chips-center {
  justify-content: center;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.kf-sd-village-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
  gap: .75rem !important;
  padding-top: .85rem !important;
}
.kf-sd-village-card {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding: .9rem .85rem;
  border-radius: 14px;
  background: #FFFDF7;
  border: 1px solid rgba(18,53,36,.1);
  text-decoration: none !important;
  color: #123524 !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.kf-sd-village-card:hover {
  transform: translateY(-2px);
  border-color: rgba(212,175,55,.55);
  box-shadow: 0 10px 24px rgba(18,53,36,.1);
  color: #123524 !important;
}
.kf-sd-village-name {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  font-size: .95rem;
  font-family: var(--font-display);
}
.kf-sd-village-name i { color: #D4AF37; }
.kf-sd-village-count {
  font-size: .78rem;
  font-weight: 600;
  color: #6B1F1F;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .35rem;
}
.kf-sd-sthan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .45rem;
}
.kf-sd-sthan-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem 1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(18,53,36,.08);
  text-decoration: none !important;
  color: #123524 !important;
  box-shadow: 0 4px 14px rgba(18,53,36,.04);
  transition: .2s ease;
}
.kf-sd-sthan-list a:hover {
  border-color: rgba(212,175,55,.5);
  box-shadow: 0 10px 24px rgba(18,53,36,.1);
  transform: translateY(-1px);
}
.kf-sd-sthan-list a i {
  color: #D4AF37;
  opacity: .7;
}

a.kf-sd-tog-all {
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .kf-counter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kf-book-grid, .kf-report-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .kf-intro-grid, .kf-contact-shell { grid-template-columns: 1fr; }
  .kf-obj-grid, .kf-sthan-grid, .kf-video-grid { grid-template-columns: 1fr 1fr; }
  .kf-masonry { columns: 3 160px; }
  .kf-hero-wrap {
    height: min(70vh, 620px);
    min-height: 420px;
  }
  .kf-hero-wrap .kf-hero-content { padding-bottom: 48px !important; }
  .kf-hero-wrap .kf-slider-dots { bottom: 36px; }
  .kf-nav .navbar-collapse {
    background: #0f2e20; border-radius: 14px; margin-top: 10px; padding: 12px;
  }
  .kf-sd-shell {
    grid-template-columns: 1fr !important;
  }
  .kf-sd-panel {
    position: static !important;
  }
  .kf-sd-directory {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
  }
  .kf-sd-acc-body {
    grid-template-columns: 1fr;
  }
  .kf-sd-acc-sum {
    flex-direction: column;
    align-items: flex-start;
  }
  .kf-page-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 575.98px) {
  .kf-section { padding: 52px 0; }
  .kf-counter-grid, .kf-obj-grid, .kf-sthan-grid, .kf-video-grid,
  .kf-book-grid, .kf-report-grid { grid-template-columns: 1fr; }
  .kf-masonry { columns: 2 120px; }
  .kf-tl-item { padding-left: 72px; }
  .kf-tl-card { grid-template-columns: 1fr; }
  .kf-tl-card img { width: 72px; height: 72px; }
  .kf-hero-wrap {
    height: min(62vh, 520px);
    min-height: 380px;
  }
  .kf-hero-wrap .kf-hero-content h1 { font-size: 1.65rem; max-width: none; }
  .kf-hero-wrap > .kf-slider-btn { display: none; }
  .kf-hero-wrap .kf-slider-dots { bottom: 32px; }
  .kf-scroll-ind { display: none; }
  .kf-donate-band { padding: 36px 20px; }
  .kf-sd-directory {
    grid-template-columns: 1fr !important;
  }
  .kf-sd-results-head {
    flex-direction: column;
  }
  .kf-sd-page {
    margin-top: -1.5rem !important;
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* ---------- Nivas Kosh (महानुभाव निवास कोश) ---------- */
.kf-nk-acc-body {
  display: block;
}
.kf-nk-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 18px;
}
.kf-nk-summary-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #9a927e;
  margin: 2px 0 10px;
}
.kf-nk-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
}
.kf-nk-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFDF7;
  border: 1px solid #eee6d3;
  border-radius: 12px;
  padding: 10px 16px;
  min-width: 128px;
}
.kf-nk-stat i {
  font-size: 1.05rem;
  color: #D4AF37;
  width: 20px;
  text-align: center;
}
.kf-nk-stat span { display: flex; flex-direction: column; line-height: 1.25; }
.kf-nk-stat-num { font-weight: 700; font-size: 1.05rem; color: #123524; }
.kf-nk-stat-label { font-size: .72rem; color: #6b6558; }
.kf-nk-stat.is-total {
  background: #123524;
  border-color: #123524;
}
.kf-nk-stat.is-total i { color: #D4AF37; }
.kf-nk-stat.is-total .kf-nk-stat-num,
.kf-nk-stat.is-total .kf-nk-stat-label { color: #fff; }
.kf-nk-page {
  max-width: 1180px !important;
  margin-top: 2.2rem !important;
  margin-bottom: 3.5rem !important;
}
.kf-nk-map-page {
  height: 70vh;
  min-height: 420px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eee6d3;
  margin-bottom: 2rem;
}
.kf-nk-village-group {
  margin-bottom: 30px;
}
.kf-nk-village-group-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #123524;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #e3ded0;
}
.kf-nk-village-group-title i { color: #D4AF37; }
.kf-nk-ashram-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.kf-nk-ashram-card {
  background: #fff;
  border: 1px solid #eee6d3;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(18, 53, 36, .05);
}
.kf-nk-ashram-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}
.kf-nk-ashram-head h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: #123524;
  margin: 0;
}
.kf-nk-ashram-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.kf-nk-ashram-addr {
  font-size: .88rem;
  color: #6b6558;
  margin-bottom: 10px;
  display: flex;
  gap: 6px;
  align-items: flex-start;
}
.kf-nk-ashram-addr i { color: #D4AF37; margin-top: 3px; }
.kf-nk-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: #123524;
  margin-bottom: 10px;
}
.kf-nk-members {
  border-top: 1px dashed #eee6d3;
  margin-top: 10px;
  padding-top: 10px;
}
.kf-nk-member {
  font-size: .87rem;
  margin-bottom: 6px;
}
.kf-nk-member strong {
  display: block;
  color: #123524;
}
.kf-nk-member-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 3px;
}
.kf-nk-member-contacts a {
  color: #6b6558;
  text-decoration: none;
}
.kf-nk-member-contacts a:hover { color: #D4AF37; }
@media (max-width: 575.98px) {
  .kf-nk-ashram-list { grid-template-columns: 1fr; }
}
