/* =====================================================================
   PROJECT PAGES — Shiksha Seva Foundation
   Palette: magenta #EC008C · charcoal #202121 · white #FFFFFF.
   Clean, natural lighting, compact interactive donation experience.
   ===================================================================== */
.pj {
  --m: #EC008C;
  --m-glow: rgba(236, 0, 140, 0.18);
  --m-soft: rgba(236, 0, 140, 0.08);
  --c: #202121;
  --w: #FFFFFF;
  --line: rgba(32, 33, 33, 0.12);
  --line-strong: rgba(32, 33, 33, 0.22);
  --bg-alt: #FFF5FA;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 14px rgba(32, 33, 33, 0.06);
  --shadow-md: 0 12px 32px -8px rgba(32, 33, 33, 0.12);
  --shadow-lg: 0 24px 48px -12px rgba(32, 33, 33, 0.18);
  --shadow-m: 0 8px 24px -4px rgba(236, 0, 140, 0.35);
  --ease: cubic-bezier(0.22, 0.8, 0.28, 1);
  --hdr: 132px;
  color: var(--c);
  background: var(--w);
  overflow-x: hidden;
}

.pj * { box-sizing: border-box; }
.pj h1, .pj h2, .pj h3 { color: var(--c); font-family: var(--font-head); }
.pj a { color: inherit; text-decoration: none; }
.pj :focus-visible { outline: 3px solid var(--m); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.pj-sec { padding: clamp(44px, 5.5vw, 80px) 0; }
.pj-sec:nth-child(even) { background: var(--bg-alt); }

.pj-sec-head { max-width: 680px; margin-bottom: clamp(28px, 3.5vw, 42px); }
.pj-sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }

.pj-sub-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 0.78rem var(--font-head);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--m);
  margin-bottom: 10px;
}
.pj-sub-tag::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--m);
}

.pj h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.16; font-weight: 700; margin: 0 0 12px; }
.pj-lead { font-size: clamp(0.96rem, 1.25vw, 1.08rem); line-height: 1.68; color: #202121; margin: 0; }

/* ---------- Buttons ---------- */
.pj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 24px;
  border: 2px solid var(--m);
  border-radius: 100px;
  background: var(--m);
  color: var(--w) !important;
  font: 600 0.95rem var(--font-head);
  cursor: pointer;
  box-shadow: 0 4px 14px -3px rgba(236, 0, 140, 0.4);
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s;
}
.pj-btn:hover {
  background: #202121;
  border-color: #EC008C;
  color: var(--w) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-m);
}
.pj-btn .ic { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.pj-btn:hover .ic { transform: translateX(4px); }

.pj-arr {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--c);
  background: var(--w);
  color: var(--c);
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.pj-arr .ic { width: 16px; height: 16px; }
.pj-arr:hover {
  background: var(--m);
  border-color: var(--m);
  color: var(--w);
  transform: scale(1.06);
}

/* =====================================================================
   1 · HERO (Clean Natural Photo Slider — NO Black Gradient)
   ===================================================================== */
.pj-hero {
  position: relative;
  min-height: clamp(480px, calc(100svh - var(--hdr)), 640px);
  display: flex;
  align-items: center;
  background: #FFF5FA;
  color: var(--c);
  overflow: hidden;
}
.pj-media { position: absolute; inset: 0; z-index: 1; }
.pj-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s var(--ease), visibility 1.1s;
}
.pj-bg.on { opacity: 1; visibility: visible; }
.pj-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 9s cubic-bezier(0.1, 0.2, 0.3, 1);
}
.pj-bg.on img { transform: scale(1); }

.pj-hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.84) 38%, rgba(255, 255, 255, 0.22) 65%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.pj-hero-in {
  position: relative;
  z-index: 3;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) 390px;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(28px, 4vw, 48px);
}

/* Hero Text Directly on the Slider (NO White Card Box, Clean & Left-Aligned) */
.pj-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: transparent;
  padding: 0;
  border: 0;
  box-shadow: none;
  color: var(--c);
}

.pj-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: var(--m-soft);
  border: 1px solid rgba(236, 0, 140, 0.25);
  border-radius: 100px;
  font: 700 0.74rem var(--font-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--m);
  margin-bottom: 14px;
}
.pj-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--m);
  box-shadow: 0 0 0 0 rgba(236, 0, 140, 0.7);
  animation: pjPulse 2s infinite;
}
@keyframes pjPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(236, 0, 140, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(236, 0, 140, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(236, 0, 140, 0); }
}

.pj-hero-title {
  color: var(--c) !important;
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.pj-hero-lead {
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.65;
  color: #202121;
  margin: 0 0 20px;
  max-width: 54ch;
}

/* Trust Badges Row */
.pj-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 16px 0 0;
  border-top: 1px solid var(--line-strong);
  width: 100%;
}
.pj-t-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pj-t-item .ic {
  width: 20px;
  height: 20px;
  color: var(--m);
  stroke: var(--m);
  flex-shrink: 0;
}
.pj-t-item div { display: flex; flex-direction: column; line-height: 1.2; }
.pj-t-item b { font-size: 0.85rem; color: var(--c); font-weight: 700; }
.pj-t-item span { font-size: 0.72rem; color: #202121; text-transform: uppercase; letter-spacing: 0.04em; }

/* =====================================================================
   COMPACT DONATION FORM (Reduced Height & Essential Fields Only)
   ===================================================================== */
.pj-form-wrap { width: 100%; }
.pj-form {
  background: var(--w);
  border-radius: var(--radius-md);
  padding: 20px 20px 16px;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.16);
  color: var(--c);
  scroll-margin-top: 110px;
  border: 1px solid var(--line);
  position: relative;
}

.pj-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.pj-form-h {
  font-size: 1.12rem !important;
  margin: 0;
  font-weight: 700;
  line-height: 1.25;
}
.pj-badge-80g {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font: 700 0.68rem var(--font-head);
  color: var(--m);
  background: var(--m-soft);
  padding: 3px 8px;
  border-radius: 100px;
  white-space: nowrap;
}
.pj-badge-80g .ic { width: 12px; height: 12px; stroke: currentColor; }

/* Amount Chips */
.pj-amts {
  border: 0;
  margin: 0 0 8px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.pj-chip { position: relative; display: block; cursor: pointer; }
.pj-chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pj-chip span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font: 700 0.88rem var(--font-head);
  background: #FFFFFF;
  color: var(--c);
  transition: all 0.18s var(--ease);
}
.pj-chip:hover span { border-color: var(--m); background: #fff; }
.pj-chip input:checked + span {
  background: var(--m);
  border-color: var(--m);
  color: var(--w);
  box-shadow: 0 3px 8px rgba(236, 0, 140, 0.35);
}

/* Custom Amount */
.pj-field { margin-bottom: 10px; }
.pj-inp {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  border: 1.5px solid #EC008C;
  border-radius: var(--radius-sm);
  min-height: 44px;
  background: #fff;
  transition: border-color 0.2s, background 0.2s;
}
.pj-inp:focus-within {
  border-color: var(--m);
  background: #fff;
  outline: 0;
  box-shadow: 0 0 0 3px var(--m-glow);
}
.pj-inp input,
.pj-inp input:focus,
.pj-inp input:focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 0;
}
.pj-inp span { padding: 0 4px 0 12px; font-weight: 700; font-size: 0.88rem; color: #202121; }
.pj-inp input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 8px 10px 8px 2px;
  font: 600 0.9rem var(--font-body);
  color: var(--c);
  outline: 0;
}
.pj-form.bad .pj-inp { border-color: var(--m); border-width: 2px; }
.pj-err { font-size: 0.78rem; font-weight: 600; color: #202121; margin: 4px 0 0; padding-left: 8px; border-left: 3px solid #202121; }

/* Live Impact Preview (Compact single box) */
.pj-impact-preview {
  margin: 0 0 12px;
  padding: 8px 10px;
  background: var(--m-soft);
  border-left: 3px solid var(--m);
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--c);
}
.pj-impact-preview .ic {
  width: 14px;
  height: 14px;
  color: var(--m);
  flex-shrink: 0;
}
.pj-impact-preview span { flex: 1; font-weight: 500; }

.pj-submit {
  width: 100%;
  border-radius: var(--radius-sm);
  min-height: 44px;
  font-size: 0.95rem;
  font-weight: 700;
  gap: 8px;
  box-shadow: 0 3px 12px rgba(236, 0, 140, 0.35);
}
.pj-spin {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: pjSpin 0.8s linear infinite;
}
.pj-form.loading .pj-spin { display: inline-block; }
.pj-form.loading .pj-submit { pointer-events: none; opacity: 0.85; }

.pj-status { font-size: 0.8rem; margin: 8px 0 0; padding-left: 8px; border-left: 3px solid var(--m); }
.pj-status a { text-decoration: underline; font-weight: 700; color: var(--m); }

.pj-form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #202121;
  margin: 10px 0 0;
  text-align: center;
}
.pj-form-note .ic { width: 13px; height: 13px; color: #EC008C; stroke: #EC008C; flex-shrink: 0; }

/* =====================================================================
   2 · INTERACTIVE STORY & ACTION HUB
   ===================================================================== */
.pj-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: center;
}

.pj-tab-nav {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 22px;
}
.pj-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  background: transparent;
  font: 700 0.88rem var(--font-head);
  color: #202121;
  cursor: pointer;
  transition: all 0.22s var(--ease);
}
.pj-tab-btn:hover { color: var(--c); }
.pj-tab-btn.on {
  color: var(--m);
  border-bottom-color: var(--m);
}
.pj-tab-i {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(32, 33, 33, 0.08);
}
.pj-tab-btn.on .pj-tab-i {
  background: var(--m);
  color: var(--w);
}

.pj-tab-panel {
  display: none;
  animation: pjFadeIn 0.35s var(--ease);
}
.pj-tab-panel.on { display: block; }
@keyframes pjFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.pj-panel-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--m-soft);
  color: var(--m);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}
.pj-panel-icon .ic { width: 20px; height: 20px; }

.pj-tab-panel h3 { font-size: 1.25rem; margin: 0 0 8px; font-weight: 700; }
.pj-tab-panel p { font-size: 1rem; line-height: 1.68; color: #202121; margin: 0 0 16px; }

.pj-panel-stat {
  padding: 12px 16px;
  background: var(--w);
  border-left: 4px solid var(--m);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
  line-height: 1.5;
}
.pj-panel-stat b { color: var(--m); font-weight: 700; }

/* Visual Column */
.pj-fig {
  margin: 0;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}
.pj-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 1.2s var(--ease);
}
.pj-fig:hover img { transform: scale(1); }

.pj-fig-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid var(--m);
}
.pj-fig-badge .ic {
  width: 22px;
  height: 22px;
  color: var(--m);
  stroke: var(--m);
  flex-shrink: 0;
}
.pj-fig-badge div { display: flex; flex-direction: column; }
.pj-fig-badge b { font-size: 0.88rem; font-family: var(--font-head); color: var(--c); }
.pj-fig-badge span { font-size: 0.72rem; color: #202121; text-transform: uppercase; letter-spacing: 0.04em; }

/* =====================================================================
   3 · JOURNEY OF YOUR CONTRIBUTION
   ===================================================================== */
.pj-journey { background: #fff; }
.pj-journey-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  position: relative;
}

.pj-step {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 26px 26px;
  position: relative;
  height: 100%;
  transition: transform 0.28s var(--ease), box-shadow 0.28s, border-color 0.28s;
}
.pj-step:hover {
  transform: translateY(-5px);
  border-color: var(--m);
  box-shadow: var(--shadow-md);
  background: #fff;
}

.pj-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.pj-step-num {
  font: 800 1.5rem var(--font-head);
  color: var(--m);
  line-height: 1;
}
.pj-step-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--m-soft);
  color: var(--m);
  display: grid;
  place-items: center;
}
.pj-step-icon .ic { width: 17px; height: 17px; }

.pj-step h3 { font-size: 1.04rem; font-weight: 700; margin: 0 0 8px; line-height: 1.3; }
.pj-step p { font-size: 0.9rem; line-height: 1.58; color: #202121; margin: 0; }

/* =====================================================================
   4 · IMPACT NUMBERS
   ===================================================================== */
.pj-impact {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pj-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}
.pj-stats > li { display: flex; }
.pj-stat-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  box-sizing: border-box;
  min-height: 150px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.pj-stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--m);
  box-shadow: 0 10px 24px -5px var(--m-glow);
}
.pj-num {
  display: block;
  font: 800 clamp(2.1rem, 3.8vw, 3rem) / 1 var(--font-head);
  color: var(--m);
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}
.pj-stat-lbl {
  display: block;
  min-height: 2.9em; /* reserve two lines so every card matches */
  font-size: 0.9rem;
  line-height: 1.45;
  color: #202121;
  font-weight: 500;
}
.pj-src {
  margin-top: 22px;
  font-size: 0.76rem;
  text-align: center;
  color: #202121;
}
.pj-src a { text-decoration: underline; color: var(--c); font-weight: 600; }

/* =====================================================================
   5 · WHY YOUR DONATION MATTERS
   ===================================================================== */
.pj-why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: start;
}
.pj-why-cta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.pj-cta-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--m);
}
.pj-cta-hint .ic { width: 15px; height: 15px; }

.pj-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.pj-points li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  transition: transform 0.22s var(--ease), border-color 0.22s, box-shadow 0.22s;
}
.pj-points li:hover {
  transform: translateX(4px);
  border-color: var(--m);
  box-shadow: var(--shadow-sm);
}
.pj-n {
  font: 800 1.5rem var(--font-head);
  color: var(--m);
  line-height: 1;
}
.pj-points h3 { font-size: 1.04rem; font-weight: 700; margin: 0 0 4px; }
.pj-points p { font-size: 0.92rem; line-height: 1.58; color: #202121; margin: 0; }

/* =====================================================================
   7 · OTHER PROJECTS CAROUSEL
   ===================================================================== */
.pj-others { border-top: 1px solid var(--line); }
.pj-ohead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 22px;
}
.pj-ocl { display: flex; gap: 10px; }

.pj-track {
  list-style: none;
  margin: 0;
  padding: 12px 2px 14px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 22px * 3) / 4);   /* exactly 4 cards fit the width */
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.pj-track::-webkit-scrollbar { display: none; height: 0; }
.pj-card { scroll-snap-align: start; min-width: 0; }
@media (max-width: 1099px) { .pj-track { grid-auto-columns: calc((100% - 22px * 2) / 3); } }
@media (max-width: 799px)  { .pj-track { grid-auto-columns: calc((100% - 22px) / 2); } }
@media (max-width: 559px)  { .pj-track { grid-auto-columns: 82%; gap: 16px; } }
.pj-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--w);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), border-color 0.28s, box-shadow 0.28s;
}
.pj-card a:hover {
  transform: translateY(-5px);
  border-color: var(--m);
  box-shadow: var(--shadow-md);
}
.pj-card-img {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}
.pj-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.pj-card a:hover img { transform: scale(1.06); }

.pj-card-b {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 20px;
  font-size: 0.88rem;
  line-height: 1.5;
  flex: 1;
}
.pj-card-cat {
  font: 700 0.7rem var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--m);
}
.pj-card-b b { font: 700 1.05rem var(--font-head); color: var(--c); line-height: 1.25; min-height: 2.5em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pj-card-b span { color: #202121; }
.pj-card-b span:not(.pj-card-cat) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.5em; }
.pj-card-b em {
  font: 700 0.86rem var(--font-head);
  font-style: normal;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--m);
  margin-top: auto;
  padding-top: 8px;
}
.pj-card-b em .ic { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.pj-card a:hover em .ic { transform: translateX(4px); }

/* =====================================================================
   8 · FLOATING QUICK-DONATE BAR
   ===================================================================== */
.pj-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-strong);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  transform: translateY(105%);
  transition: transform 0.35s var(--ease);
}
.pj-sticky-bar.visible { transform: translateY(0); }
.pj-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.pj-sticky-meta { display: flex; align-items: center; gap: 10px; }
.pj-sticky-badge {
  padding: 3px 8px;
  border-radius: 100px;
  background: var(--m-soft);
  color: var(--m);
  font: 700 0.7rem var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pj-sticky-title { font: 700 1rem var(--font-head); color: var(--c); }
.pj-sticky-actions { display: flex; align-items: center; gap: 8px; }
.pj-sticky-chip {
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font: 700 0.84rem var(--font-head);
  cursor: pointer;
  transition: all 0.2s;
}
.pj-sticky-chip:hover { border-color: var(--m); color: var(--m); }
.pj-sticky-cta { min-height: 38px; padding: 6px 18px; font-size: 0.88rem; }

/* =====================================================================
   9 · SHARE MODAL & TOAST
   ===================================================================== */
.pj-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(18, 19, 20, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: grid;
  place-items: center;
  padding: 20px;
}
.pj-modal-overlay[hidden] { display: none; }
.pj-modal-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px 26px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  animation: pjPopIn 0.25s var(--ease);
}
@keyframes pjPopIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.pj-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.pj-modal-head h3 { font-size: 1.25rem; margin: 0; font-weight: 700; }
.pj-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #FFF5FA;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.pj-modal-close .ic { width: 16px; height: 16px; }
.pj-modal-sub { font-size: 0.88rem; color: #202121; margin: 0 0 18px; }

.pj-share-links { display: grid; gap: 8px; margin-bottom: 18px; }
.pj-share-opt {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font: 700 0.88rem var(--font-head);
  text-decoration: none;
  transition: opacity 0.2s;
}
.pj-share-opt.wa { background: #EC008C; color: #fff; }
.pj-share-opt.tw { background: #202121; color: #fff; }
.pj-share-opt.in { background: #EC008C; color: #fff; }
.pj-share-opt:hover { opacity: 0.9; }

.pj-copy-link-wrap {
  display: flex;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 4px 4px 4px 10px;
  background: #FFFFFF;
}
.pj-copy-link-wrap input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: 0;
  font-size: 0.84rem;
  color: var(--c);
}
.pj-copy-link-wrap button { min-height: 36px; padding: 6px 14px; font-size: 0.82rem; }

/* Toast */
.pj-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: var(--c);
  color: #fff;
  padding: 10px 20px;
  border-radius: 100px;
  font: 600 0.84rem var(--font-head);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  animation: pjToastUp 0.3s var(--ease);
}
.pj-toast[hidden] { display: none; }
@keyframes pjToastUp {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* Reveal on scroll */
.pj-js .pj-rv {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.pj-js .pj-rv.in {
  opacity: 1;
  transform: none;
}

@keyframes pjSpin { to { transform: rotate(360deg); } }

/* =====================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ===================================================================== */
@media (max-width: 1080px) {
  .pj-hero-in { grid-template-columns: minmax(0, 1.15fr) 360px; gap: 28px; }
  .pj-journey-track { gap: 18px; }
}

@media (max-width: 880px) {
  .pj-hero {
    min-height: auto;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .pj-hero-in {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .pj-story-grid,
  .pj-why-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pj-story-visual { order: -1; }
  .pj-sticky-title { display: none; }
}

@media (max-width: 860px) {
  .pj-journey-track { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

@media (max-width: 600px) {
  .pj-amts { grid-template-columns: repeat(2, 1fr); }
  .pj-journey-track { grid-template-columns: 1fr; }
  /* impact boxes: two per row, a lone last box (3 boxes) sits in the middle */
  .pj-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .pj-stats > li { flex: 0 0 calc(50% - 6px); min-width: 0; }
  .pj-stat-card { min-height: 128px; padding: 18px 12px; align-items: center; justify-content: center; text-align: center; }
  .pj-num { font-size: clamp(1.45rem, 7vw, 1.9rem); margin-bottom: 6px; max-width: 100%; overflow-wrap: anywhere; }
  .pj-stat-lbl { min-height: 0; font-size: 0.82rem; line-height: 1.35; }
  .pj-tab-nav { flex-wrap: wrap; }
  .pj-sticky-actions .pj-sticky-chip { display: none; }
  .pj-trust-row { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .pj *, .pj *::before, .pj *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .pj-bg img, .pj-fig img { transform: none !important; }
  .pj-js .pj-rv { opacity: 1; transform: none; }
}

/* ---------- Optional project sections: strategy list, SDGs, CSR partnership ---------- */
.pj-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.pj-list li { position: relative; padding-left: 22px; font-size: 0.94rem; line-height: 1.58; color: #202121; }
.pj-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 9px; height: 9px; border-radius: 50%; background: var(--m); }
.pj-list b { color: var(--c); font-weight: 700; }

.pj-sdgs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pj-sdgs li { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--m); border-radius: var(--radius-md); padding: 18px 16px; display: flex; flex-direction: column; gap: 6px; text-align: center; }
.pj-sdgs b { font: 800 1.3rem var(--font-head); color: var(--m); }
.pj-sdgs span { font-size: 0.92rem; line-height: 1.45; color: #202121; }

.pj-csr { background: var(--c) !important; color: #fff; }
.pj-csr-in { max-width: 820px; margin: 0 auto; text-align: center; }
.pj-csr .pj-sub-tag { color: #fff; }
.pj-csr .pj-sub-tag::before { background: #fff; }
.pj-csr h2 { color: #fff; margin-bottom: 10px; }
.pj-csr-sub { font: 700 clamp(1.05rem, 1.8vw, 1.3rem) var(--font-head); color: #fff; margin: 0 0 14px; }
.pj-csr-p { font-size: 1rem; line-height: 1.7; color: #FFFFFF; margin: 0 auto 26px; max-width: 700px; }
.pj-csr-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pj-btn.pj-btn-line { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.7); box-shadow: none; }
.pj-btn.pj-btn-line:hover { background: #fff; color: var(--c); border-color: #fff; }
@media (max-width: 980px) { .pj-sdgs { grid-template-columns: repeat(2, 1fr); } .pj-sdgs li:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .pj-csr-btns .pj-btn { width: 100%; justify-content: center; } }

/* 3 amount chips + "Recommended" tag (same chip design as before) */
.pj-amts.n3 { grid-template-columns: repeat(3, 1fr); padding-top: 12px; margin-bottom: 10px; gap: 8px; }
.pj-amts.n3 .pj-chip span { min-height: 44px; padding-top: 5px; }
.pj-chip .pj-rec { position: absolute; left: 50%; top: -9px; transform: translateX(-50%); z-index: 2; font: 700 .56rem/1 var(--font-head); letter-spacing: .05em; text-transform: uppercase; background: #fff; color: var(--m); border: 1.5px solid var(--m); padding: 3px 7px; border-radius: 100px; white-space: nowrap; font-style: normal; pointer-events: none; }
.pj-chip.is-rec input:checked ~ .pj-rec { background: #fff; color: var(--m); }

/* Mobile: 3 amount chips stay in one row, long amounts (e.g. ₹1,82,900) never wrap or overflow */
@media (max-width: 600px) {
  .pj-amts.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .pj-amts.n3 .pj-chip span { font-size: .84rem; padding-left: 2px; padding-right: 2px; white-space: nowrap; }
  .pj-chip .pj-rec { font-size: .5rem; padding: 3px 6px; letter-spacing: .03em; }
}
@media (max-width: 360px) {
  .pj-amts.n3 .pj-chip span { font-size: .76rem; }
  .pj-chip .pj-rec { font-size: .46rem; padding: 2px 5px; }
}
/* Mobile hero image focus point (set per slide via posM) */
@media (max-width: 767px) {
  .pj-bg picture { display:block; width:100%; height:100%; }
  .pj-bg img[style*="--pm"] { object-position: var(--pm) !important; }
}

/* Mobile only: no gradient over the hero image */
@media (max-width: 767px) {
  .pj-hero-fade { display: none; }
}

/* Mobile only: smaller hero heading and description */
@media (max-width: 767px) {
  .pj-hero-title {
    font-size: 1.45rem;
    line-height: 1.2;
    margin: 0 0 8px;
  }
  .pj-hero-lead {
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;      /* show max 3 lines; remove these 3 lines to show full text */
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* ---------- Saksham: corporate scholarship preferences + Our Collaborators marquee ---------- */
.pj-sec.pj-cz { background: var(--bg-alt); }
.pj-sec.pj-marq-sec { background: #fff; padding-bottom: clamp(36px, 4.5vw, 64px); overflow: hidden; }
.pj-cz-cards { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pj-cz-cards li { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--m); border-radius: var(--radius-md); padding: 26px 22px; box-shadow: var(--shadow-sm); }
.pj-cz-cards .pj-n { font: 800 0.78rem var(--font-head); color: var(--m); letter-spacing: .1em; text-transform: uppercase; }
.pj-cz-cards h3 { font-size: 1.15rem; margin: 8px 0 6px; }
.pj-cz-cards p { margin: 0; font-size: 0.94rem; line-height: 1.6; color: #202121; }
.pj-cz-cards .pj-cz-amt { font: 800 1.5rem var(--font-head); color: var(--c); margin-bottom: 8px; }
.pj-cz-cards .pj-cz-amt small { font: 500 0.82rem var(--font-head); color: #202121; }
.pj-cz-cta { text-align: center; }
.pj-marq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #202121 8%, #202121 92%, transparent); mask-image: linear-gradient(90deg, transparent, #202121 8%, #202121 92%, transparent); }
.pj-marq-track { list-style: none; margin: 0; padding: 6px 0; display: flex; align-items: center; gap: 18px; width: max-content; animation: pjMarq 38s linear infinite; }
.pj-marq:hover .pj-marq-track, .pj-marq:focus-within .pj-marq-track { animation-play-state: paused; }
.pj-marq-track li { flex: none; width: 190px; height: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); display: grid; place-items: center; padding: 16px 20px; }
.pj-marq-track img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@keyframes pjMarq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 900px) { .pj-cz-cards { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pj-marq-track li { width: 150px; height: 84px; } }
@media (prefers-reduced-motion: reduce) {
  .pj-marq { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
  .pj-marq-track { animation: none; }
}

/* ---- Project FAQ ---- */
.pj-faq-wrap{max-width:860px}
.pj-faq h2{margin:8px 0 22px}
.pj-faq-item{border:1px solid rgba(32,33,33,.14);border-radius:14px;background:#fff;margin-bottom:12px;overflow:hidden}
.pj-faq-item summary{cursor:pointer;list-style:none;padding:18px 52px 18px 20px;font-weight:600;position:relative;line-height:1.4}
.pj-faq-item summary::-webkit-details-marker{display:none}
.pj-faq-item summary::after{content:"+";position:absolute;right:20px;top:50%;translate:0 -50%;font-size:1.5rem;color:#EC008C;transition:rotate .2s}
.pj-faq-item[open] summary::after{rotate:45deg}
.pj-faq-item summary:focus-visible{outline:3px solid rgba(236,0,140,.35);outline-offset:-3px}
.pj-faq-item p{padding:0 20px 18px;margin:0;line-height:1.65}
.pj-faq-more{margin-top:16px}
.pj-faq-more a{color:#EC008C;text-decoration:underline}

/* Static collaborator logos (Saksham) */
.pj-collab-static { list-style: none; margin: 0 auto; padding: 6px 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 22px; max-width: 760px; }
.pj-collab-static li { flex: 1 1 280px; max-width: 340px; min-height: 170px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); display: grid; place-items: center; padding: 22px 28px; }
.pj-collab-static img { max-width: 100%; max-height: 120px; width: auto; height: auto; object-fit: contain; }
