/* ============================================================================
   Korba Career Guru — Site styles (v2, modern refresh)
   Built on Bootstrap 5. White base, blue / indigo primary, teal accent.
   Mobile-first. Progressive enhancement (content visible without JS).
   ========================================================================== */

:root {
  /* Brand palette — from the Korba Career Guru logo */
  --kcg-primary:        #16276b;   /* KORBA deep navy    */
  --kcg-primary-600:    #1b3d94;
  --kcg-primary-500:    #1e6fd9;   /* CAREER bright blue */
  --kcg-indigo:         #3b86e8;   /* light blue partner */
  --kcg-accent:         #f5871f;   /* GURU orange        */
  --kcg-accent-500:     #f7941d;
  --kcg-accent-soft:    #fdecdb;
  --kcg-amber:          #f9b019;   /* logo star gold     */
  --kcg-amber-soft:     #fef3e0;

  --kcg-ink:            #14203c;   /* near-black text    */
  --kcg-body:           #414d63;   /* body copy          */
  --kcg-muted:          #66718a;   /* secondary text     */
  --kcg-line:           #e6ebf5;   /* hairline borders   */

  --kcg-bg:             #ffffff;
  --kcg-bg-soft:        #f2f6fd;   /* soft section bg    */
  --kcg-bg-tint:        #eaf1fc;

  --kcg-radius:         18px;
  --kcg-radius-sm:      12px;
  --kcg-radius-lg:      26px;

  --kcg-shadow-xs:      0 1px 2px rgba(22, 39, 107, .06);
  --kcg-shadow-sm:      0 6px 18px -6px rgba(22, 39, 107, .18);
  --kcg-shadow-md:      0 18px 40px -12px rgba(22, 39, 107, .22);
  --kcg-shadow-lg:      0 40px 80px -24px rgba(22, 39, 107, .30);

  --kcg-grad:           linear-gradient(135deg, var(--kcg-primary) 0%, var(--kcg-primary-500) 60%, var(--kcg-indigo) 100%);
  --kcg-grad-warm:      linear-gradient(120deg, var(--kcg-primary-500) 0%, var(--kcg-accent) 100%);
  --kcg-grad-soft:      linear-gradient(135deg, #eaf1fc 0%, #fdecdb 100%);

  --kcg-ease:           cubic-bezier(.22, 1, .36, 1);

  --font-sans:          "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display:       "Fraunces", "Georgia", "Times New Roman", serif;
}

/* ---- Base ------------------------------------------------------------- */
* { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }

body {
  font-family: var(--font-sans);
  color: var(--kcg-body);
  background: var(--kcg-bg);
  font-size: 1.02rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Display headings — warm editorial serif */
h1, h2, .u-display {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 500;
  color: var(--kcg-ink);
  letter-spacing: -.015em;
  line-height: 1.12;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.35rem); overflow-wrap: break-word; }
h2 { font-size: clamp(1.72rem, 3.3vw, 2.5rem); line-height: 1.16; }

/* Sub-headings stay in the sans for contrast */
h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--kcg-ink);
  letter-spacing: -.011em;
  line-height: 1.28;
}
h3 { font-size: 1.18rem; }
p  { color: var(--kcg-body); }
em { font-style: italic; }

a { color: var(--kcg-primary-500); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--kcg-primary-600); }

.lead {
  color: var(--kcg-muted);
  font-size: clamp(1.03rem, 1.3vw, 1.2rem);
  line-height: 1.62;
}

/* Bootstrap heading-size utility classes keep the sans face */
.h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--font-sans); font-weight: 700; letter-spacing: -.011em; }
.wa-band h2, .wa-band h3, .wa-band-title { font-family: var(--font-display); font-weight: 500; letter-spacing: -.015em; }
.wa-band-title { font-size: clamp(1.55rem, 2.6vw, 2.05rem); line-height: 1.2; margin-bottom: .5rem; }
.text-muted-2 { color: var(--kcg-muted) !important; }
.maxw-640 { max-width: 640px; }
.maxw-760 { max-width: 780px; }

.bg-soft        { background: var(--kcg-bg-soft); }
.bg-accent-soft { background: var(--kcg-accent-soft); }

.section { padding: clamp(44px, 6.5vw, 78px) 0; position: relative; }
.section.pt-0 { padding-top: 0; }
.section.pt-4 { padding-top: clamp(24px, 4vw, 44px) !important; }
.section--tight { padding: clamp(32px, 4vw, 52px) 0; }

/* Section intro */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--kcg-accent);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: .55;
}
.text-center .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: .55;
}
.text-center .eyebrow::before { display: none; }

/* ---- Buttons -------------------------------------------------------- */
.btn {
  --bs-btn-focus-box-shadow: none;
  border-radius: 999px;
  font-weight: 650;
  font-size: .98rem;
  padding: .72rem 1.55rem;
  border: 0;
  white-space: normal;
  transition: transform .25s var(--kcg-ease), box-shadow .25s var(--kcg-ease), background-color .2s ease, filter .2s ease;
}
.btn:focus-visible { outline: 3px solid var(--kcg-amber); outline-offset: 3px; }
.btn-lg { padding: .95rem 2rem; font-size: 1.02rem; }

.btn-primary {
  background: var(--kcg-grad);
  background-size: 160% 160%;
  background-position: 0% 50%;
  color: #fff;
  box-shadow: var(--kcg-shadow-sm);
}
.btn-primary:hover {
  color: #fff;
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: var(--kcg-shadow-md);
}
.btn-outline-primary {
  background: #fff;
  color: var(--kcg-primary);
  box-shadow: inset 0 0 0 1.5px var(--kcg-line);
}
.btn-outline-primary:hover {
  color: var(--kcg-primary-600);
  background: var(--kcg-bg-soft);
  box-shadow: inset 0 0 0 1.5px var(--kcg-primary-500);
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #12b85a 100%);
  color: #05300f;
  box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .6);
}
.btn-whatsapp:hover {
  color: #05300f;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(37, 211, 102, .7);
  filter: brightness(1.03);
}
.btn .wa-ico, .wa-ico { width: 1.15em; height: 1.15em; vertical-align: -.18em; margin-right: .5em; fill: currentColor; }

/* Arrow buttons */
.btn-arrow::after {
  content: "\2192";
  display: inline-block;
  margin-left: .5em;
  transition: transform .25s var(--kcg-ease);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---- Scroll progress bar ------------------------------------------ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--kcg-grad);
  z-index: 1080;
  transition: width .1s linear;
}

/* ---- Header ------------------------------------------------------- */
.navbar {
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, .95);
  border-bottom-color: var(--kcg-line);
  box-shadow: 0 10px 30px -18px rgba(18, 60, 143, .3);
}
.navbar-brand {
  display: flex;
  align-items: center;
  padding: .1rem 0;
}
.navbar-brand img { height: 58px; width: auto; display: block; }
@media (max-width: 575px) { .navbar-brand img { height: 46px; } }
.navbar .nav-link {
  position: relative;
  font-weight: 600;
  font-size: .96rem;
  color: var(--kcg-ink);
  padding: .5rem .95rem;
  border-radius: 9px;
  transition: color .2s ease;
}
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: .95rem; right: .95rem;
  bottom: .34rem;
  height: 2px;
  border-radius: 2px;
  background: var(--kcg-primary-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--kcg-ease);
}
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--kcg-primary); }
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { transform: scaleX(1); }
.navbar-toggler { border: 0; padding: .35rem; }
.navbar-toggler:focus { box-shadow: none; outline: 3px solid var(--kcg-amber); outline-offset: 2px; }

@media (max-width: 991.98px) {
  #mainNav {
    margin-top: .6rem;
    padding: .6rem;
    background: #fff;
    border: 1px solid var(--kcg-line);
    border-radius: var(--kcg-radius);
    box-shadow: var(--kcg-shadow-md);
  }
  .navbar .nav-link { padding: .8rem 1rem; border-radius: 10px; }
  .navbar .nav-link::after { display: none; }
  .navbar .nav-link:hover,
  .navbar .nav-link.active { background: var(--kcg-bg-soft); }
  #mainNav .btn { width: 100%; margin-top: .4rem; }
}

/* ---- Hero ------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(36px, 5vw, 60px) 0 clamp(44px, 6vw, 76px);
  background:
    radial-gradient(60% 55% at 88% 8%, rgba(37, 99, 235, .12), transparent 70%),
    radial-gradient(45% 50% at 6% 20%, rgba(13, 148, 136, .10), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, var(--kcg-bg-soft) 100%);
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .5;
  z-index: 0;
  pointer-events: none;
}
.hero::before {
  width: 420px; height: 420px;
  top: -140px; right: -80px;
  background: radial-gradient(circle, rgba(79, 70, 229, .35), transparent 70%);
  animation: floaty 14s ease-in-out infinite;
}
.hero::after {
  width: 360px; height: 360px;
  bottom: -160px; left: -120px;
  background: radial-gradient(circle, rgba(20, 184, 166, .3), transparent 70%);
  animation: floaty 18s ease-in-out infinite reverse;
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 span { color: var(--kcg-primary-500); }

/* Hero photo */
.hero-photo {
  position: relative;
  margin: 0;
  border-radius: var(--kcg-radius-lg);
  overflow: hidden;
  box-shadow: var(--kcg-shadow-lg);
  border: 6px solid #fff;
  outline: 1px solid var(--kcg-line);
}
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.hero-photo.is-illustration {
  border: 0;
  outline: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
}
.hero-photo.is-illustration img {
  aspect-ratio: auto;
  object-fit: contain;
  filter: drop-shadow(var(--kcg-shadow-lg));
}
.hero-photo-tag {
  position: absolute;
  left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  font-size: .78rem; font-weight: 650;
  color: var(--kcg-ink);
  box-shadow: var(--kcg-shadow-sm);
}
.is-illustration .hero-photo-tag { display: none; }
.hpt-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .25);
}

.hero-illustration { width: 100%; height: auto; filter: drop-shadow(var(--kcg-shadow-lg)); }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after { animation: none; }
}

/* ---- Trust strip --------------------------------------------- */
.trust-strip {
  margin-top: clamp(-28px, -3vw, -16px);
  padding-bottom: clamp(36px, 5vw, 56px);
  position: relative;
  z-index: 2;
}
.trust-card {
  background: #fff;
  border: 1px solid var(--kcg-line);
  border-radius: var(--kcg-radius);
  box-shadow: var(--kcg-shadow-sm);
  padding: 1.4rem;
  height: 100%;
}
.trust-item { display: flex; gap: .85rem; align-items: flex-start; }
.trust-item .ti-ico {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--kcg-bg-tint);
  color: var(--kcg-primary-500);
  display: grid; place-items: center;
}
.trust-item .ti-ico svg { width: 22px; height: 22px; }
.trust-item strong { color: var(--kcg-ink); font-weight: 700; display: block; margin-bottom: .15rem; }

/* ---- Cards ------------------------------------------------- */
.card-kcg {
  position: relative;
  background: #fff;
  border: 1px solid var(--kcg-line);
  border-radius: var(--kcg-radius);
  padding: 1.75rem;
  height: 100%;
  box-shadow: var(--kcg-shadow-xs);
  transition: transform .3s var(--kcg-ease), box-shadow .3s var(--kcg-ease), border-color .3s ease;
  overflow: hidden;
}
.card-kcg::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--kcg-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--kcg-ease);
}
.card-kcg:hover {
  transform: translateY(-6px);
  box-shadow: var(--kcg-shadow-md);
  border-color: #d5e1f8;
}
.card-kcg:hover::after { transform: scaleX(1); }
.card-kcg h3 { color: var(--kcg-ink); margin-bottom: .5rem; }

.icon-badge {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--kcg-grad);
  color: #fff;
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
  box-shadow: 0 12px 24px -10px rgba(37, 99, 235, .55);
}
.icon-badge svg { width: 26px; height: 26px; }

/* ---- Steps ------------------------------------------------ */
.steps-grid { position: relative; margin-top: 2.6rem; }
.step-card { padding-top: 2.6rem; overflow: visible; }
.step-card::after { display: none; }
.step-num {
  position: absolute;
  top: -23px; left: 1.6rem;
  width: 48px; height: 48px;
  border-radius: 15px;
  background: var(--kcg-grad);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: grid; place-items: center;
  box-shadow: 0 14px 26px -10px rgba(37, 99, 235, .6);
  transition: transform .3s var(--kcg-ease);
}
.step-card:hover .step-num { transform: translateY(-3px) scale(1.05); }

/* ---- WhatsApp band ------------------------------------- */
.wa-band {
  position: relative;
  background: var(--kcg-grad);
  color: #fff;
  border-radius: var(--kcg-radius-lg);
  padding: clamp(2rem, 5vw, 3.4rem);
  box-shadow: var(--kcg-shadow-lg);
  overflow: hidden;
}
.wa-band::before {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  right: -80px; top: -120px;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%);
  border-radius: 50%;
}
.wa-band > * { position: relative; z-index: 1; }
.wa-band h2, .wa-band h3 { color: #fff; }
.wa-band p { color: rgba(255, 255, 255, .92); }

/* ---- Check list -------------------------------------- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: .8rem;
  color: var(--kcg-body);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .3rem;
  width: 1.3rem; height: 1.3rem;
  border-radius: 50%;
  background: var(--kcg-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ef7a1a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ---- Footer ---------------------------------------- */
.site-footer {
  position: relative;
  color: #c8d4ee;
  background:
    radial-gradient(60% 80% at 90% 0%, rgba(79, 70, 229, .35), transparent 60%),
    linear-gradient(180deg, #142a68 0%, #0c1c48 55%, #0a1738 100%);
}
.site-footer a { color: #c8d4ee; text-decoration: none; transition: color .2s ease; }
.site-footer a:hover { color: #fff; }
.site-footer h5 {
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}

/* portals strip */
.footer-portals {
  background: rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer-portals .container {
  display: flex; flex-wrap: wrap;
  align-items: center; gap: .6rem 1.4rem;
  padding-top: .95rem; padding-bottom: .95rem;
}
.fp-label { font-size: .82rem; font-weight: 600; color: #aab8dd; }
.fp-label [lang="hi"] { color: #8493c2; font-weight: 500; }
.fp-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.fp-links a {
  font-size: .82rem; font-weight: 600;
  padding: .32rem .8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
}
.fp-links a:hover { background: rgba(255, 255, 255, .16); color: #fff; }

/* main */
.footer-main { padding: clamp(40px, 6vw, 64px) 0 clamp(28px, 4vw, 40px); }
.footer-logo-card {
  display: inline-block;
  background: #fff;
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5);
  margin-bottom: 1.1rem;
}
.footer-logo-card img { height: 52px; width: auto; display: block; }
.footer-desc { font-size: .92rem; line-height: 1.7; color: #aebcdf; max-width: 34ch; }
.footer-desc[lang="hi"] { color: #93a2ca; font-size: .9rem; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { font-size: .92rem; }
.footer-links .ext { font-size: .72rem; color: #7f8fbd; margin-left: .15rem; }

.footer-contact { list-style: none; padding: 0; margin: 0 0 .4rem; }
.footer-contact li {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: .9rem; line-height: 1.55; color: #aebcdf;
  margin-bottom: .7rem;
}
.footer-contact svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: .18rem; color: #7f8fbd; }

.visitor-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  margin-top: 1.1rem;
  padding: .5rem .9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
}
.vb-label { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #93a2ca; }
.vb-count {
  font-family: "Inter", monospace;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--kcg-amber);
  font-size: 1.05rem;
}

.footer-social a {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .08);
  margin-right: .5rem;
  transition: background-color .2s ease, transform .2s ease;
}
.footer-social a:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; fill: #fff; }

/* bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .18);
  padding: 1.4rem 0 1.6rem;
}
.footer-disclaimer {
  font-size: .8rem; line-height: 1.65;
  color: #8a99c4;
  margin-bottom: 1rem;
}
.fb-row {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center;
  gap: .6rem 1.5rem;
  font-size: .84rem; color: #9aa8ce;
}
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; padding: 0; margin: 0; }
.footer-legal a { font-size: .84rem; }

/* ---- Floating WhatsApp ---------------------------- */
.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: linear-gradient(135deg, #25D366 0%, #12b85a 100%);
  color: #05300f;
  font-weight: 700;
  padding: .85rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 14px 32px -8px rgba(37, 211, 102, .6);
  transition: transform .25s var(--kcg-ease), box-shadow .25s var(--kcg-ease);
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid #25D366;
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { opacity: .6; transform: scale(1); }
  70%  { opacity: 0;  transform: scale(1.35); }
  100% { opacity: 0;  transform: scale(1.35); }
}
.wa-float:hover { transform: translateY(-3px); color: #05300f; box-shadow: 0 20px 40px -8px rgba(37, 211, 102, .7); }
.wa-float svg { width: 22px; height: 22px; fill: currentColor; position: relative; }
@media (max-width: 575px) {
  .wa-float { padding: .9rem; right: 14px; bottom: 14px; }
  .wa-float .wa-float-text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float::before { animation: none; }
}

/* ---- Inner page hero ----------------------------- */
.page-hero {
  position: relative;
  padding: clamp(40px, 5.5vw, 64px) 0 clamp(24px, 3.5vw, 40px);
  background:
    radial-gradient(50% 60% at 90% 0%, rgba(37, 99, 235, .10), transparent 70%),
    linear-gradient(180deg, var(--kcg-bg-soft) 0%, #fff 100%);
  overflow: hidden;
}
.page-hero h1 { margin-bottom: .6rem; }
.breadcrumb-kcg { font-size: .88rem; color: var(--kcg-muted); margin-bottom: 1rem; }
.breadcrumb-kcg a { color: var(--kcg-muted); text-decoration: none; }
.breadcrumb-kcg a:hover { color: var(--kcg-primary); }
.divider-dot { color: var(--kcg-line); margin: 0 .35rem; }

/* ---- Legal pages -------------------------------- */
.legal-content .card-kcg { height: auto; }
.legal-content > h2 {
  font-size: 1.32rem;
  margin-top: 2.6rem;
  padding-top: .4rem;
  scroll-margin-top: 100px;
}
.legal-content > h2:first-of-type { margin-top: 0; }
.legal-content h3 { font-size: 1.05rem; margin-top: 1.5rem; color: var(--kcg-ink); }
.legal-content ul { padding-left: 1.25rem; }
.legal-content li { margin-bottom: .45rem; }
.legal-content p { margin-bottom: 1rem; }
.legal-toc {
  position: sticky;
  top: 96px;
  border-left: 2px solid var(--kcg-line);
  padding-left: 1rem;
}
.legal-toc p { font-size: .72rem; letter-spacing: .12em; color: var(--kcg-muted); margin-bottom: .6rem; }
.legal-toc a {
  display: block;
  padding: .32rem 0;
  color: var(--kcg-muted);
  text-decoration: none;
  font-size: .9rem;
  line-height: 1.4;
  transition: color .2s ease;
}
.legal-toc a:hover { color: var(--kcg-primary); }

/* ---- Forms ------------------------------------- */
.form-control, .form-select {
  border-radius: var(--kcg-radius-sm);
  border-color: var(--kcg-line);
  padding: .8rem 1rem;
  font-size: .97rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control:focus, .form-select:focus {
  border-color: var(--kcg-primary-500);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}
.form-label { font-weight: 650; font-size: .9rem; color: var(--kcg-ink); margin-bottom: .4rem; }
.form-note { font-size: .84rem; color: var(--kcg-muted); }
.form-check-input:checked { background-color: var(--kcg-primary-500); border-color: var(--kcg-primary-500); }

/* ---- Reveal animation -------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--kcg-ease), transform .7s var(--kcg-ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto; }
}

/* ---- Misc ------------------------------------- */
.icon-inline { width: 1.1em; height: 1.1em; vertical-align: -.15em; }

/* ---- Hindi / Devanagari ----------------------- */
[lang="hi"] {
  font-family: "Noto Sans Devanagari", "Inter", system-ui, sans-serif;
  line-height: 1.85;
}
.hero-hindi {
  margin-top: 1rem;
  padding: .85rem 1.1rem;
  border-left: 3px solid var(--kcg-accent);
  background: var(--kcg-amber-soft);
  border-radius: 0 12px 12px 0;
  color: var(--kcg-ink);
  font-size: 1rem;
  max-width: 46ch;
}
.hindi-band { background: linear-gradient(135deg, #fff 0%, var(--kcg-amber-soft) 100%); }
.hindi-band h2 { line-height: 1.35; }
.hindi-band .check-list li { line-height: 1.7; }

/* ---- Scene photos / illustrations ---------------------- */
.img-scene {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--kcg-radius-lg);
  border: 6px solid #fff;
  outline: 1px solid var(--kcg-line);
  box-shadow: var(--kcg-shadow-md);
}
.img-scene.is-illustration {
  aspect-ratio: auto;
  object-fit: contain;
  border: 0;
  outline: 0;
  box-shadow: none;
  filter: drop-shadow(var(--kcg-shadow-md));
}

/* ---- Resource cards -------------------------- */
.resource-card h3 { font-size: 1.05rem; margin-bottom: .7rem; }
.resource-card .icon-badge { width: 46px; height: 46px; border-radius: 13px; margin-bottom: .9rem; }
.resource-card .icon-badge svg { width: 22px; height: 22px; }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { margin-bottom: .5rem; }
.link-list a {
  font-size: .92rem;
  color: var(--kcg-body);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: .35rem;
}
.link-list a::after {
  content: "\2197";
  font-size: .78rem;
  color: var(--kcg-muted);
  transition: transform .2s var(--kcg-ease);
}
.link-list a:hover { color: var(--kcg-primary); }
.link-list a:hover::after { transform: translate(2px, -2px); color: var(--kcg-primary); }

@media (max-width: 575px) {
  .btn-lg { padding: .85rem 1.4rem; font-size: 1rem; }
  .hero .d-flex.flex-wrap .btn { flex: 1 1 100%; }
  .section > .container > .text-center .btn-lg { width: 100%; }
  .wa-band .btn-whatsapp { width: 100%; }
  .footer-portals .container { flex-direction: column; align-items: flex-start; }
  .fb-row { flex-direction: column; align-items: flex-start; }
  .footer-main [class*="col-"] { width: 100%; flex: 0 0 100%; max-width: 100%; }
  .footer-main h5 { margin-top: .5rem; margin-bottom: .7rem; }
}
.site-footer h5 { letter-spacing: .08em; }
