/* Public site header, shared by the home page and the guest pages (login, tickets, password reset).
   Everything is scoped under .kit-hd so it never touches the older theme. */
.kit-hd{
  --navy:#14304d; --navy-2:#1d4268; --ink:#1b2430; --muted:#5b6675; --line:#d8dde4; --tint:#eef2f6;
  --sans:'Source Sans 3','Segoe UI',system-ui,-apple-system,sans-serif;
  font-family:var(--sans); font-size:15px; line-height:1.55; color:var(--ink);
}
.kit-hd *,.kit-hd *::before,.kit-hd *::after{box-sizing:border-box}
.kit-hd .container{width:100%;max-width:1200px;margin:0 auto;padding-left:max(20px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-right,0px))}
.kit-hd .gov{background:var(--navy);color:#cfd9e6;font-size:12.5px}
.kit-hd .gov .container{display:flex;justify-content:flex-end;gap:12px;padding-block:6px;flex-wrap:wrap}
.kit-hd .site-head{background:#fff;border-bottom:1px solid var(--line)}
.kit-hd .site-head .container{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:14px;flex-wrap:wrap}
.kit-hd .brand{display:flex;flex-direction:column;align-items:flex-start;gap:5px;text-decoration:none;color:var(--ink)}
.kit-hd .logo-ph{display:inline-flex;align-items:center;justify-content:center;min-width:150px;height:46px;padding:0 18px;border:2px dashed #8a97a8;border-radius:6px;color:var(--muted);font:600 14px var(--sans);letter-spacing:.04em}
.kit-hd .tagline{font:600 12.5px var(--sans);color:var(--muted);letter-spacing:.01em}
.kit-hd .nav{display:flex;gap:4px;align-items:center;flex-wrap:wrap}
.kit-hd .nav a,.kit-hd .nav button.link{color:var(--ink);text-decoration:none;padding:8px 12px;border-radius:4px;font:500 14px var(--sans);background:none;border:0;cursor:pointer}
.kit-hd .nav a:hover,.kit-hd .nav button.link:hover{background:var(--tint)}
.kit-hd .nav a.on{color:var(--navy);box-shadow:inset 0 -2px 0 var(--navy);border-radius:0}
.kit-hd .who{font-size:13px;color:var(--muted);padding:0 8px;text-align:right;line-height:1.3}
.kit-hd .who b{display:block;color:var(--ink);font-weight:600}
.kit-hd .btn{display:inline-block;background:var(--navy);color:#fff;border:1px solid var(--navy);border-radius:4px;padding:10px 20px;font:600 14.5px var(--sans);text-decoration:none;cursor:pointer}
.kit-hd .btn.sm{padding:6px 12px;font-size:13px}
.kit-hd .nav a.btn.cta{background:#e3c776;color:#14304d;border-color:#d4b45a;font-weight:700;padding:6px 14px}
.kit-hd .nav a.btn.cta:hover{background:#edd48a;color:#14304d}
@media(max-width:600px){
  .kit-hd .site-head .container{padding-block:10px;gap:10px}
  .kit-hd .nav{width:100%;gap:2px}
  .kit-hd .nav a,.kit-hd .nav button.link{padding:9px 10px}
  .kit-hd .logo-ph{min-width:130px;height:40px}
}

/* banner behind the page title on the guest pages (login, tickets, password reset) */
.kit-guest-banner{background:linear-gradient(180deg,#14304d 0,#1d4268 100%)}
.kit-guest-banner .bannerimg{background:none}
.kit-guest-banner .py-7{padding-top:2.5rem !important;padding-bottom:2.5rem !important}

/* footer shared by the home page and the guest pages */
.kit-ft{--sans:'Source Sans 3','Segoe UI',system-ui,-apple-system,sans-serif;font-family:var(--sans);font-size:13.5px;line-height:1.55}
.kit-ft *,.kit-ft *::before,.kit-ft *::after{box-sizing:border-box}
.kit-ft footer.site{background:#14304d;color:#b7c6d9}
.kit-ft .container{width:100%;max-width:1200px;margin:0 auto;padding:26px max(20px,env(safe-area-inset-right,0px));display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.kit-ft .logo-ph{display:inline-flex;align-items:center;justify-content:center;min-width:130px;height:40px;padding:0 18px;border:2px dashed rgba(255,255,255,.55);border-radius:6px;color:#fff;font:600 14px var(--sans);letter-spacing:.04em}

/* animated kit icons behind the title on the guest pages, same as the home banner */
.kit-guest-banner{position:relative;overflow:hidden}
.kit-guest-banner .bannerimg{position:relative;z-index:1}
.kit-guest-banner .py-7{padding-top:3.5rem !important;padding-bottom:3.5rem !important}
.kit-guest-banner .hero-bg{position:absolute;inset:0;z-index:0;pointer-events:none}
.kit-guest-banner .hero-bg .hi{
  position:absolute;left:var(--x);top:var(--y);width:var(--s);height:var(--s);
  fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;
  color:rgba(255,255,255,.16);
  transform:rotate(var(--r));
  animation:kfloat var(--t) ease-in-out var(--d) infinite;
  will-change:transform;
}
.kit-guest-banner .hero-bg .hi.g{color:rgba(227,199,118,.30)}
.kit-guest-banner .hero-bg .hi.faint{color:rgba(255,255,255,.08)}
@keyframes kfloat{
  0%,100%{transform:translateY(0) rotate(var(--r))}
  50%{transform:translateY(-18px) rotate(calc(var(--r) + 9deg))}
}
@media(prefers-reduced-motion:reduce){.kit-guest-banner .hero-bg .hi{animation:none}}
@media(max-width:600px){
  .kit-guest-banner .hero-bg .hi{color:rgba(255,255,255,.11)}
  .kit-guest-banner .hero-bg .hi.g{color:rgba(227,199,118,.2)}
  .kit-guest-banner .hero-bg .hi.faint{display:none}
}

/* Census of India 2027 logo */
.kit-hd .census-logo{display:block;height:80px;width:auto;border-radius:8px}
.kit-ft .census-logo{display:block;height:80px;width:auto;border-radius:8px}
@media(max-width:560px){.kit-hd .census-logo{height:64px}}
