/* ============================================================
   Dharambeer Singh Dhillon — "Civic Gazette" design system
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;0,9..144,800;1,9..144,500&family=Manrope:wght@400;500;600;700;800&family=Tiro+Devanagari+Hindi&display=swap');

:root{
  /* ---- brand ---- */
  --navy: #002366;
  --navy-deep: #001433;
  --saffron: #FF9833;
  --saffron-deep: #E67E12;
  --green: #198D0E;
  --cream: #FBF6EC;
  --paper: #F5EEDF;
  --ink: #1A1F2E;
  --ink-soft: #4B5468;

  /* ---- semantic ---- */
  --bg: var(--cream);
  --bg-alt: var(--paper);
  --text: var(--ink);
  --text-soft: var(--ink-soft);
  --line: rgba(0,35,102,0.14);
  --line-strong: rgba(0,35,102,0.28);

  /* ---- type ---- */
  --font-display: 'Fraunces', ui-serif, Georgia, serif;
  --font-hindi: 'Tiro Devanagari Hindi', 'Fraunces', serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 14px;
  --shadow-card: 0 1px 2px rgba(0,20,51,0.04), 0 8px 24px -8px rgba(0,20,51,0.14);
  --shadow-lift: 0 20px 50px -12px rgba(0,20,51,0.35);
}

/* ---- reset ---- */
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-sans);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:clip;
  overflow-wrap:break-word;
  word-break:break-word;
}
/* Pins the footer to the viewport bottom on short pages instead of leaving a gap.
   nav.js replaces the #site-footer placeholder with a real <footer class="site-footer">. */
.site-footer{margin-top:auto;}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}
h1,h2,h3,h4{margin:0;font-family:var(--font-display);font-weight:600;letter-spacing:-0.01em;}
p{margin:0;}
button{font-family:inherit;cursor:pointer;}
input,textarea,select{font-family:inherit;font-size:1rem;}

.hindi{font-family:var(--font-hindi);}

.container{max-width:1180px;margin:0 auto;padding:0 24px;}
.section{padding:88px 0;}
.section--tight{padding:56px 0;}
@media (max-width:760px){
  .section{padding:56px 0;}
}

/* ---- texture: subtle paper grain + seal watermark ---- */
body::before{
  content:"";
  position:fixed; inset:0; z-index:-1;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0,35,102,0.05) 1px, transparent 0);
  background-size: 22px 22px;
  pointer-events:none;
}

/* ============================================================
   Tricolor stripe — recurring civic motif
   ============================================================ */
.tricolor-rule{
  height:5px;
  background:linear-gradient(90deg, var(--saffron) 0 33.3%, #fff 33.3% 66.6%, var(--green) 66.6% 100%);
}
.tricolor-tick{
  display:inline-flex; gap:4px; align-items:center; margin-bottom:14px;
}
.tricolor-tick span{width:18px;height:4px;border-radius:2px;}
.tricolor-tick span:nth-child(1){background:var(--saffron);}
.tricolor-tick span:nth-child(2){background:#fff;border:1px solid var(--line-strong);}
.tricolor-tick span:nth-child(3){background:var(--green);}

/* ============================================================
   Seal / Emblem mark (used as the "logo")
   ============================================================ */
.seal{
  --seal-size: 54px;
  width:var(--seal-size); height:var(--seal-size);
  border-radius:50%;
  position:relative;
  display:grid; place-items:center;
  background:
    radial-gradient(circle at 32% 28%, #ffb066, var(--saffron) 45%, var(--saffron-deep) 100%);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.5), 0 2px 6px rgba(0,0,0,0.2);
  flex-shrink:0;
}
.seal::before{
  content:"";
  position:absolute; inset:5px;
  border-radius:50%;
  border:1.5px dashed rgba(255,255,255,0.85);
}
.seal .seal-mono{
  font-family:var(--font-display);
  font-weight:700;
  font-size:calc(var(--seal-size) * 0.34);
  color:var(--navy-deep);
  line-height:1;
}

/* ============================================================
   Header
   ============================================================ */
.topbar{
  background:var(--navy-deep);
  color:rgba(255,255,255,0.75);
  font-size:0.82rem;
}
.topbar .container{
  display:flex; align-items:center; justify-content:space-between;
  height:38px;
}
.topbar-left{display:flex; align-items:center; gap:22px;}
.topbar a{color:inherit; display:inline-flex; align-items:center; gap:6px;}
.topbar a:hover{color:#fff;}
.topbar-social{display:flex; gap:14px; align-items:center;}
.topbar-social a{width:26px;height:26px;border-radius:50%;background:rgba(255,255,255,0.1);display:grid;place-items:center;transition:background .2s;}
.topbar-social a:hover{background:var(--saffron);}
.topbar-social svg{width:13px;height:13px;fill:currentColor;}
@media (max-width:480px){
  .topbar .container{height:auto; padding-top:8px; padding-bottom:8px;}
  .topbar-left span{display:none;}
}

.site-header{
  background:var(--cream);
  border-bottom:1px solid var(--line);
  position:sticky; top:0; z-index:50;
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  height:84px;
}
.brand{display:flex; align-items:center; gap:14px;}
.brand-text .brand-name{
  font-family:var(--font-display); font-weight:700; font-size:1.28rem; color:var(--navy);
  line-height:1.15;
}
.brand-text .brand-tagline{
  font-family:var(--font-hindi); font-size:0.86rem; color:var(--saffron-deep); letter-spacing:0.02em;
}

.main-nav{display:flex; align-items:center; gap:0;}
.main-nav a{
  padding:10px 11px; font-weight:600; font-size:0.86rem; color:var(--navy);
  position:relative; border-radius:8px; transition:color .2s; white-space:nowrap;
}
.main-nav a::after{
  content:""; position:absolute; left:11px; right:11px; bottom:6px; height:2px;
  background:var(--saffron); transform:scaleX(0); transform-origin:left; transition:transform .25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after{transform:scaleX(1);}
.main-nav a.active{color:var(--saffron-deep);}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-weight:700; font-size:0.95rem;
  padding:13px 26px; border-radius:999px; border:none;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space:nowrap;
}
.btn-primary{background:var(--saffron); color:var(--navy-deep); box-shadow:0 8px 20px -6px rgba(255,152,51,0.65);}
.btn-primary:hover{transform:translateY(-2px); box-shadow:0 12px 26px -6px rgba(255,152,51,0.75);}
.btn-outline{background:transparent; color:var(--navy); border:1.5px solid var(--line-strong);}
.btn-outline:hover{border-color:var(--navy); background:rgba(0,35,102,0.04);}
.btn-ghost-light{background:rgba(255,255,255,0.12); color:#fff; border:1.5px solid rgba(255,255,255,0.3);}
.btn-ghost-light:hover{background:rgba(255,255,255,0.2);}
.btn-block{width:100%;}
.btn-sm{padding:10px 20px; font-size:0.86rem;}

.hamburger{display:none; flex-direction:column; gap:5px; background:none; border:none; padding:8px;}
.hamburger span{width:24px; height:2px; background:var(--navy); border-radius:2px;}

/* ============================================================
   Footer
   ============================================================ */
.site-footer{background:var(--navy-deep); color:rgba(255,255,255,0.72);}
.footer-top{padding:64px 0 40px;}
.footer-grid{display:grid; grid-template-columns:1.6fr 1fr 1fr 1.3fr; gap:40px;}
.footer-brand{display:flex; gap:14px; margin-bottom:16px;}
.footer-brand .brand-name{color:#fff;}
.footer-desc{font-size:0.92rem; line-height:1.7; max-width:320px; margin-bottom:20px;}
.footer-social{display:flex; gap:10px;}
.footer-social a{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,0.08);display:grid;place-items:center;transition:.2s;}
.footer-social a:hover{background:var(--saffron); }
.footer-social svg{width:16px;height:16px;fill:#fff;}
.footer-h{color:#fff; font-family:var(--font-sans); font-weight:700; font-size:0.86rem; text-transform:uppercase; letter-spacing:0.08em; margin-bottom:18px;}
.footer-links li{margin-bottom:11px;}
.footer-links a{font-size:0.92rem; transition:color .2s;}
.footer-links a:hover{color:var(--saffron);}
.footer-contact li{font-size:0.9rem; margin-bottom:14px; display:flex; gap:10px; align-items:flex-start; line-height:1.5;}
.footer-contact svg{width:16px;height:16px;flex-shrink:0;margin-top:3px;fill:var(--saffron);}
.footer-bottom{border-top:1px solid rgba(255,255,255,0.1); padding:22px 0; font-size:0.82rem; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;}

@media (max-width:900px){
  .footer-grid{grid-template-columns:1fr 1fr; row-gap:36px;}
}
@media (max-width:560px){
  .site-footer .container{padding-left:16px; padding-right:16px;}
  .footer-top{padding:64px 0 12px;}
  .footer-grid{grid-template-columns:1fr; row-gap:0; gap:0;}
  .footer-grid > div{padding:40px 0; border-top:1px solid rgba(255,255,255,0.1);}
  .footer-grid > div:first-child{padding-top:0; border-top:none;}
  .footer-desc{max-width:none; font-size:0.98rem; line-height:1.8;}
  .footer-brand{margin-bottom:20px;}
  .footer-social{gap:14px;}
  .footer-social a{width:42px; height:42px;}
  .footer-h{font-size:0.92rem; margin-bottom:24px;}
  .footer-links li{margin-bottom:4px;}
  .footer-links a{display:block; padding:10px 0; font-size:1rem;}
  .footer-contact li{margin-bottom:22px; font-size:0.96rem; line-height:1.6;}
  .footer-contact li:last-child{margin-bottom:0;}
  .footer-bottom{flex-direction:column; align-items:flex-start; gap:10px; padding:28px 0 96px; font-size:0.86rem;}
}

/* ============================================================
   Buttons floating (WhatsApp)
   ============================================================ */
.wa-float{
  position:fixed; bottom:26px; right:26px; z-index:60;
  width:58px; height:58px; border-radius:50%;
  background:#25D366; display:grid; place-items:center;
  box-shadow:0 10px 26px -6px rgba(37,211,102,0.6);
  animation:wa-pulse 2.6s ease-in-out infinite;
}
.wa-float svg{width:28px;height:28px;fill:#fff;}
@keyframes wa-pulse{
  0%,100%{transform:scale(1);}
  50%{transform:scale(1.07);}
}

/* ============================================================
   Hero (home)
   ============================================================ */
.hero{
  position:relative;
  background:var(--navy-deep);
  color:#fff;
  overflow:hidden;
}
.hero-grid{
  display:grid; grid-template-columns:1.05fr 0.95fr; align-items:center; min-height:640px;
}
.hero-copy{padding:80px 0 80px 0; position:relative; z-index:2;}
.hero-eyebrow{
  font-weight:700; font-size:0.82rem; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--saffron); margin-bottom:18px; display:block;
}
.hero-title{
  font-size:clamp(2.4rem, 4.6vw, 3.9rem); line-height:1.08; color:#fff; margin-bottom:22px;
  font-family:var(--font-hindi); font-weight:400;
}
.hero-title em{font-style:normal; color:var(--saffron);}
.hero-sub{font-size:1.08rem; color:rgba(255,255,255,0.78); max-width:480px; margin-bottom:34px; line-height:1.75;}
.hero-cta{display:flex; gap:16px; flex-wrap:wrap;}
.hero-signature{margin-top:46px; display:flex; align-items:center; gap:14px; color:rgba(255,255,255,0.65); font-size:0.9rem;}
.hero-signature .sig-line{width:44px;height:1px;background:rgba(255,255,255,0.3);}

.hero-photo-wrap{
  position:relative; height:100%; min-height:640px;
}
.hero-photo-wrap img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:top center;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-photo-wrap::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(100deg, var(--navy-deep) 0%, rgba(0,20,51,0) 26%);
}
.hero-photo-frame{
  position:absolute; left:8%; bottom:56px; z-index:3;
  background:var(--cream); color:var(--navy); padding:18px 24px; border-radius:12px;
  box-shadow:var(--shadow-lift);
  max-width:230px;
}
.hero-photo-frame .num{font-family:var(--font-display); font-size:2rem; font-weight:700; color:var(--saffron-deep); line-height:1;}
.hero-photo-frame .lbl{font-size:0.82rem; color:var(--text-soft); margin-top:4px;}

@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr; min-height:0;}
  .hero-copy{padding:56px 0 40px;}
  .hero-photo-wrap{min-height:340px;}
  .hero-photo-wrap img{clip-path:none;}
  .hero-photo-frame{left:20px; bottom:20px;}
}

/* ============================================================
   Stat band
   ============================================================ */
.stat-band{background:var(--navy); color:#fff;}
.stat-grid{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
.stat-cell{
  padding:44px 20px; text-align:center; border-left:1px solid rgba(255,255,255,0.12);
}
.stat-cell:first-child{border-left:none;}
.stat-num{font-family:var(--font-display); font-size:clamp(2rem,3.4vw,2.8rem); font-weight:700; color:var(--saffron);}
.stat-lbl{font-size:0.86rem; color:rgba(255,255,255,0.7); margin-top:6px;}
@media (max-width:760px){
  .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .stat-cell{border-left:none; border-top:1px solid rgba(255,255,255,0.12);}
  .stat-cell:nth-child(1),.stat-cell:nth-child(2){border-top:none;}
}

/* ============================================================
   Section headers
   ============================================================ */
.section-head{max-width:640px; margin-bottom:52px;}
.section-head.center{margin-left:auto; margin-right:auto; text-align:center;}
.eyebrow{
  font-weight:700; font-size:0.8rem; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--saffron-deep); display:block; margin-bottom:10px;
}
.section-title{font-size:clamp(1.8rem,3vw,2.5rem); color:var(--navy); margin-bottom:10px;}
.section-title .hi{font-family:var(--font-hindi); font-weight:400;}
.section-desc{color:var(--text-soft); font-size:1.02rem; line-height:1.7;}

/* ============================================================
   About / bio section
   ============================================================ */
.bio-grid{display:grid; grid-template-columns:0.85fr 1.15fr; gap:64px; align-items:start;}
.bio-photo{position:relative; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-card);}
.bio-photo img{width:100%; aspect-ratio:4/5; object-fit:cover;}
.bio-kicker{color:var(--saffron-deep); font-weight:700; font-size:0.86rem; text-transform:uppercase; letter-spacing:0.08em; margin-bottom:10px; display:block;}
.bio-name{font-family:var(--font-hindi); font-size:2rem; color:var(--navy); margin-bottom:20px; font-weight:400;}
.bio-text p{color:var(--text-soft); margin-bottom:16px; line-height:1.8;}
.bio-quote{
  margin-top:26px; padding:24px 28px; background:var(--bg-alt); border-left:4px solid var(--saffron);
  border-radius:0 10px 10px 0;
}
.bio-quote p{font-family:var(--font-hindi); font-size:1.15rem; color:var(--navy); font-style:normal; margin-bottom:8px;}
.bio-quote cite{font-size:0.86rem; color:var(--text-soft); font-style:normal;}

@media (max-width:900px){
  .bio-grid{grid-template-columns:1fr; gap:36px;}
  .bio-photo{max-width:340px;}
}

/* ============================================================
   Values / journey list
   ============================================================ */
.values-grid{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px;}
.value-card{background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:32px 28px; box-shadow:var(--shadow-card);}
.value-num{font-family:var(--font-display); font-size:1.1rem; color:var(--saffron-deep); font-weight:700; margin-bottom:14px;}
.value-title{font-size:1.2rem; color:var(--navy); margin-bottom:6px;}
.value-sub{font-size:0.82rem; color:var(--text-soft); text-transform:uppercase; letter-spacing:0.05em; margin-bottom:12px;}
.value-desc{font-family:var(--font-hindi); color:var(--text-soft); line-height:1.7;}
@media (max-width:760px){.values-grid{grid-template-columns:1fr;}}

.journey-list{list-style:none; display:flex; flex-wrap:wrap; gap:10px 0;}
.journey-item{
  display:flex; gap:16px; padding:16px 0; border-bottom:1px solid var(--line); width:100%;
}
.journey-item svg{width:20px; height:20px; flex-shrink:0; margin-top:2px; fill:var(--green);}
.journey-item span{font-family:var(--font-hindi); color:var(--text-soft); line-height:1.6;}

.timeline{position:relative; padding-left:32px;}
.timeline::before{content:""; position:absolute; left:6px; top:6px; bottom:6px; width:2px; background:var(--line-strong);}
.timeline-item{position:relative; padding-bottom:38px;}
.timeline-item:last-child{padding-bottom:0;}
.timeline-item::before{
  content:""; position:absolute; left:-32px; top:4px; width:14px; height:14px; border-radius:50%;
  background:var(--saffron); border:3px solid var(--cream); box-shadow:0 0 0 2px var(--saffron);
}
.timeline-year{font-family:var(--font-display); font-weight:700; color:var(--saffron-deep); font-size:1.1rem; margin-bottom:4px;}
.timeline-title{color:var(--navy); font-size:1.1rem; margin-bottom:4px;}
.timeline-desc{font-family:var(--font-hindi); color:var(--text-soft); line-height:1.6;}

/* ============================================================
   Achievements — editorial dossier style
   ============================================================ */
.ach-category{margin-bottom:60px;}
.ach-category:last-child{margin-bottom:0;}
.ach-cat-head{display:flex; align-items:baseline; gap:16px; margin-bottom:28px; border-bottom:2px solid var(--navy); padding-bottom:14px;}
.ach-cat-head h3{font-size:1.5rem; color:var(--navy);}
.ach-cat-head span{font-size:0.86rem; color:var(--text-soft); text-transform:uppercase; letter-spacing:0.06em;}
.ach-grid{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; background:var(--line);}
.ach-card{background:var(--bg); padding:32px 28px;}
.ach-stat{font-family:var(--font-display); font-size:2.2rem; font-weight:700; color:var(--saffron-deep); line-height:1;}
.ach-stat-lbl{font-family:var(--font-hindi); font-size:0.88rem; color:var(--text-soft); margin:6px 0 18px;}
.ach-title{font-size:1.08rem; color:var(--navy); margin-bottom:4px;}
.ach-title-en{font-size:0.8rem; color:var(--text-soft); text-transform:uppercase; letter-spacing:0.04em; margin-bottom:12px;}
.ach-desc{font-family:var(--font-hindi); color:var(--text-soft); font-size:0.95rem; line-height:1.7;}
@media (max-width:900px){.ach-grid{grid-template-columns:1fr;}}

/* ============================================================
   News — gazette listing
   ============================================================ */
.news-list{display:flex; flex-direction:column;}
.news-row{
  display:grid; grid-template-columns:160px 1fr; gap:32px; padding:32px 0; border-bottom:1px solid var(--line);
  align-items:start;
}
.news-row:first-child{padding-top:0;}
.news-thumb{border-radius:10px; overflow:hidden; aspect-ratio:4/3;}
.news-thumb img{width:100%; height:100%; object-fit:cover;}
.news-meta{display:flex; gap:14px; align-items:center; margin-bottom:10px;}
.news-tag{background:var(--saffron); color:var(--navy-deep); font-size:0.72rem; font-weight:800; text-transform:uppercase; letter-spacing:0.05em; padding:4px 11px; border-radius:999px;}
.news-date{font-size:0.84rem; color:var(--text-soft);}
.news-title{font-family:var(--font-hindi); font-size:1.35rem; color:var(--navy); margin-bottom:8px; font-weight:400; line-height:1.4;}
.news-title-en{font-size:0.82rem; color:var(--saffron-deep); font-weight:700; margin-bottom:10px;}
.news-body{font-family:var(--font-hindi); color:var(--text-soft); line-height:1.75;}
@media (max-width:640px){
  .news-row{grid-template-columns:1fr;}
}

.news-teaser-grid{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px;}
@media (max-width:900px){.news-teaser-grid{grid-template-columns:1fr;}}

.news-card{background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-card); display:flex; flex-direction:column;}
.news-card img{aspect-ratio:16/10; object-fit:cover;}
.news-card-body{padding:22px 24px; display:flex; flex-direction:column; gap:10px; flex:1;}

/* Decorative stand-in for news posts without a photo (gazette date-stamp motif) */
.news-stamp{
  background:var(--navy); border-radius:10px; aspect-ratio:4/3;
  display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:10px;
  padding:14px; position:relative; overflow:hidden;
}
.news-stamp::before{
  content:""; position:absolute; inset:0;
  background-image:radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size:14px 14px;
}
.news-stamp-date{position:relative; font-family:var(--font-display); color:var(--saffron); font-size:1rem; font-weight:700; letter-spacing:0.03em;}
.news-stamp-tag{position:relative; color:rgba(255,255,255,0.85); font-size:0.82rem;}
.news-stamp--card{aspect-ratio:16/10; border-radius:0;}

/* ============================================================
   Gallery — masonry-ish grid
   ============================================================ */
.gallery-grid{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px;}
.gallery-item{position:relative; border-radius:10px; overflow:hidden; aspect-ratio:1; cursor:pointer;}
.gallery-item img{width:100%; height:100%; object-fit:cover; transition:transform .5s ease;}
.gallery-item:hover img{transform:scale(1.08);}
.gallery-item .cap{
  position:absolute; left:0; right:0; bottom:0; padding:14px 14px 10px;
  background:linear-gradient(to top, rgba(0,20,51,0.85), transparent);
  color:#fff; font-family:var(--font-hindi); font-size:0.86rem; opacity:0; transition:opacity .25s;
}
.gallery-item:hover .cap{opacity:1;}
@media (max-width:900px){.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media (max-width:600px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px;}}

.lightbox{
  position:fixed; inset:0; background:rgba(0,10,25,0.92); z-index:200;
  display:none; align-items:center; justify-content:center; padding:40px;
}
.lightbox.open{display:flex;}
.lightbox img{max-width:min(900px,90vw); max-height:85vh; border-radius:8px; box-shadow:0 20px 60px rgba(0,0,0,0.5);}
.lightbox-close{position:absolute; top:24px; right:32px; width:44px; height:44px; border-radius:50%; background:rgba(255,255,255,0.12); border:none; display:grid; place-items:center;}
.lightbox-close svg{width:20px;height:20px;stroke:#fff;fill:none;stroke-width:2;}

/* ============================================================
   Forms
   ============================================================ */
.form-panel{background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:40px; box-shadow:var(--shadow-card);}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:20px;}
.field{margin-bottom:20px;}
.field label{display:block; font-weight:700; font-size:0.88rem; color:var(--navy); margin-bottom:8px;}
.field .hint{font-weight:400; color:var(--text-soft); font-size:0.82rem;}
.field input, .field textarea, .field select{
  width:100%; padding:13px 16px; border:1.5px solid var(--line); border-radius:10px;
  background:var(--bg); color:var(--text); transition:border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus{
  outline:none; border-color:var(--saffron); background:#fff;
}
.field textarea{resize:vertical; min-height:100px;}
.radio-group{display:flex; flex-direction:column; gap:10px;}
.radio-option{
  display:flex; align-items:center; gap:12px; padding:14px 16px; border:1.5px solid var(--line);
  border-radius:10px; cursor:pointer; transition:border-color .2s, background .2s;
}
.radio-option:has(input:checked){border-color:var(--saffron); background:rgba(255,152,51,0.07);}
.radio-option input{width:auto;}
.form-note{font-size:0.82rem; color:var(--text-soft); text-align:center; margin-top:14px;}

.toast{
  position:fixed; bottom:104px; right:24px; transform:translateY(20px); z-index:300;
  background:var(--navy-deep); color:#fff; padding:16px 26px; border-radius:12px; box-shadow:var(--shadow-lift);
  opacity:0; pointer-events:none; transition:opacity .3s, transform .3s; max-width:min(90vw, 380px); text-align:left;
  border-left:4px solid var(--saffron);
}
.toast.show{opacity:1; transform:translateY(0);}
.toast.error{border-left-color:#E5484D;}
@media (max-width:560px){
  .toast{left:16px; right:16px; bottom:96px; max-width:none;}
}

/* ============================================================
   Donate page
   ============================================================ */
.donate-grid{display:grid; grid-template-columns:1fr 0.9fr; gap:40px; align-items:start;}
.donate-reasons li{display:flex; gap:12px; padding:10px 0; font-family:var(--font-hindi); color:var(--text-soft);}
.donate-reasons svg{width:18px;height:18px;fill:var(--green); flex-shrink:0; margin-top:3px;}
.amount-chips{display:flex; gap:12px; margin-top:24px; flex-wrap:wrap;}
.amount-chip{
  padding:14px 20px; border:1.5px solid var(--line); border-radius:12px; text-align:center; flex:1; min-width:120px;
}
.amount-chip .amt{font-family:var(--font-display); font-weight:700; color:var(--navy); font-size:1.2rem;}
.amount-chip .lbl{font-family:var(--font-hindi); font-size:0.78rem; color:var(--text-soft); margin-top:2px;}

.upi-card{background:var(--navy-deep); color:#fff; border-radius:var(--radius); padding:34px; text-align:center;}
.upi-card h3{color:#fff; font-size:1.3rem; margin-bottom:6px;}
.upi-card .sub{color:rgba(255,255,255,0.6); font-size:0.86rem; margin-bottom:24px;}
.qr-frame{background:#fff; padding:16px; border-radius:12px; display:inline-block; margin-bottom:20px;}
.qr-frame img{width:190px; height:190px; object-fit:contain;}
.upi-id-box{background:rgba(255,255,255,0.08); border-radius:10px; padding:14px; margin-bottom:12px;}
.upi-id-box .lbl{font-size:0.74rem; color:rgba(255,255,255,0.55); text-transform:uppercase; letter-spacing:0.06em;}
.upi-id-box .val{font-family:var(--font-display); font-weight:700; font-size:1.05rem; margin-top:4px;}
.bank-note{font-size:0.82rem; color:rgba(255,255,255,0.6);}

@media (max-width:900px){.donate-grid{grid-template-columns:1fr;}}

/* ============================================================
   Contact page
   ============================================================ */
.contact-grid{display:grid; grid-template-columns:0.9fr 1.1fr; gap:48px;}
.contact-info-item{display:flex; gap:16px; padding:20px 0; border-bottom:1px solid var(--line);}
.contact-info-item:last-child{border-bottom:none;}
.contact-icon{width:46px;height:46px;border-radius:12px;background:var(--bg-alt);display:grid;place-items:center;flex-shrink:0;}
.contact-icon svg{width:20px;height:20px;fill:var(--saffron-deep);}
.contact-info-item h4{font-size:0.98rem; color:var(--navy); margin-bottom:4px;}
.contact-info-item p{color:var(--text-soft); font-size:0.94rem; line-height:1.6;}
.map-frame{border-radius:var(--radius); overflow:hidden; margin-top:28px; border:1px solid var(--line);}
.map-frame iframe{width:100%; height:260px; border:0; display:block;}

@media (max-width:900px){.contact-grid{grid-template-columns:1fr;}}

/* ============================================================
   Join CTA banner (reused across pages)
   ============================================================ */
.cta-banner{
  background:linear-gradient(120deg, var(--navy-deep), var(--navy));
  color:#fff; border-radius:24px; padding:60px 50px; text-align:center; position:relative; overflow:hidden;
}
.cta-banner::before{
  content:""; position:absolute; top:-60%; right:-10%; width:400px; height:400px; border-radius:50%;
  background:radial-gradient(circle, rgba(255,152,51,0.25), transparent 70%);
}
.cta-banner h2{color:#fff; font-size:clamp(1.6rem,3vw,2.3rem); margin-bottom:14px; position:relative;}
.cta-banner p{color:rgba(255,255,255,0.75); max-width:520px; margin:0 auto 30px; position:relative;}
.cta-banner .hero-cta{justify-content:center; position:relative;}

/* ============================================================
   404
   ============================================================ */
.error-page{min-height:60vh; display:flex; align-items:center; justify-content:center; text-align:center;}
.error-code{font-family:var(--font-display); font-size:7rem; color:var(--saffron); line-height:1; font-weight:700;}

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
.reveal{opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease;}
.reveal.in{opacity:1; transform:none;}
.reveal-stagger.in > *{animation:none;}

@media (max-width:900px){
  .main-nav, .site-header .btn-primary{display:none;}
  .hamburger{display:flex;}
  .stat-grid, .ach-grid, .values-grid{grid-template-columns:1fr;}
}

/* mobile nav drawer */
.mobile-nav{
  position:fixed; inset:0; background:var(--navy-deep); z-index:100;
  transform:translateX(100%); transition:transform .3s ease;
  display:flex; flex-direction:column; padding:22px 26px 26px;
  overflow-y:auto;
}
.mobile-nav.open{transform:translateX(0);}
.mobile-nav-texture{
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image:radial-gradient(rgba(255,255,255,0.05) 1.5px, transparent 1.5px);
  background-size:20px 20px;
}
.mobile-nav-ring{
  position:absolute; z-index:0; pointer-events:none;
  right:-90px; bottom:120px; width:260px; height:260px; border-radius:50%;
  border:1.5px dashed rgba(255,152,51,0.16);
}
.mobile-nav-ring::before{content:""; position:absolute; inset:30px; border-radius:50%; border:1px solid rgba(255,255,255,0.07);}
.mobile-nav-top{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px; position:relative; z-index:1;}
.mobile-nav-brand{display:flex; align-items:center; gap:12px; min-width:0;}
.mobile-nav-brand .seal{width:42px; height:42px; flex-shrink:0;}
.mobile-nav-brand .brand-name{color:#fff; font-family:var(--font-display); font-weight:700; font-size:1rem; line-height:1.25;}
.mobile-nav-brand .brand-tagline{color:var(--saffron); font-family:var(--font-hindi); font-size:0.78rem;}
.mobile-nav-close{background:rgba(255,255,255,0.1); border:none; width:40px; height:40px; border-radius:50%; display:grid; place-items:center; flex-shrink:0;}
.mobile-nav-close svg{width:17px;height:17px;stroke:#fff;fill:none;stroke-width:2;}
.mobile-nav-links{position:relative; z-index:1; margin-top:18px; display:flex; flex-direction:column;}
.mobile-nav-links a{
  display:flex; align-items:center; gap:14px; color:#fff;
  padding:14px 10px; border-radius:10px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.mobile-nav-links a svg{width:20px; height:20px; fill:rgba(255,255,255,0.5); flex-shrink:0;}
.mobile-nav-links a .hindi{font-size:1.15rem; flex:1;}
.mobile-nav-links a .mobile-nav-en{font-size:0.74rem; text-transform:uppercase; letter-spacing:0.04em; color:rgba(255,255,255,0.4);}
.mobile-nav-links a.active{background:rgba(255,152,51,0.12);}
.mobile-nav-links a.active svg{fill:var(--saffron);}
.mobile-nav-links a.active .hindi{color:var(--saffron);}
.mobile-nav .btn{margin-top:22px; position:relative; z-index:1;}
.mobile-nav-foot{
  position:relative; z-index:1; margin-top:auto; padding-top:24px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  border-top:1px solid rgba(255,255,255,0.1);
}
.mobile-nav-foot > a{color:rgba(255,255,255,0.8); font-weight:700; font-size:0.92rem;}
.mobile-nav-social{display:flex; gap:10px;}
.mobile-nav-social a{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,0.08);display:grid;place-items:center;}
.mobile-nav-social svg{width:16px;height:16px;fill:#fff;}
