:root {
  --primary: #e85d04;
  --primary-dark: #bc4a02;
  --kesari: #ff7a18;
  --kesari-deep: #d9480f;
  --secondary: #fff4ec;
  --dark: #1a120e;
  --text: #2f221c;
  --muted: #6f5a50;
  --white: #ffffff;
  --border: #f0e2d8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #fffaf6;
  position: relative;
  overflow-x: hidden;
}

img,
video,
iframe {
  max-width: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("assets/kesari-logo.png");
  background-repeat: repeat;
  background-size: 160px 160px;
  opacity: 0.075;
}

body > * {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1150px, 92%);
  margin: 0 auto;
}

.section-spacing {
  padding: 4.2rem 0;
}

.topbar {
  background: linear-gradient(90deg, #c2410c 0%, #ea580c 45%, #f97316 100%);
  color: var(--white);
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.topbar-content {
  padding: 0.58rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.topbar-item {
  opacity: 0.96;
}

.topbar-item a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.55);
}

.topbar-item a:hover {
  border-bottom-color: #fff;
}

.topbar-highlight {
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 25;
  background: rgba(255, 250, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(232, 93, 4, 0.14);
  box-shadow: 0 8px 24px rgba(194, 65, 12, 0.06);
}

.nav-content {
  padding: 0.78rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
  flex: 1 1 auto;
}

.nav-toggle {
  display: none;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid rgba(234, 88, 12, 0.28);
  border-radius: 0.55rem;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.28rem;
  flex-shrink: 0;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  border-radius: 99px;
  background: #c2410c;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-links-cta {
  display: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-text strong {
  font-family: "Sora", "Poppins", sans-serif;
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: 0.35px;
  background: linear-gradient(90deg, #9a3412, #ea580c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.7rem;
  color: #9a6b4f;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.logo-img {
  width: 3.45rem;
  height: 3.45rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #ffd7b8;
  box-shadow:
    0 0 0 4px rgba(234, 88, 12, 0.14),
    0 8px 18px rgba(194, 65, 12, 0.22);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.navbar .brand .logo-img {
  width: 3.45rem;
  height: 3.45rem;
}

.brand:hover .logo-img {
  transform: scale(1.06) rotate(-3deg);
  box-shadow:
    0 0 0 5px rgba(234, 88, 12, 0.18),
    0 10px 22px rgba(194, 65, 12, 0.28);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-links a {
  text-decoration: none;
  color: #3d2a22;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.42rem 0.55rem;
  border-radius: 0.45rem;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: #c2410c;
  background: rgba(234, 88, 12, 0.08);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, #ea580c, #f97316);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.btn {
  border: none;
  border-radius: 0.55rem;
  padding: 0.74rem 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
}

.btn-wrap {
  white-space: normal;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #ea580c, #f97316);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #c2410c, #ea580c);
}

.nav-cta {
  white-space: nowrap;
  animation: softPulse 2.8s ease-in-out infinite;
}

@keyframes softPulse {
  0%,
  100% {
    box-shadow: 0 10px 24px rgba(234, 88, 12, 0.28);
  }
  50% {
    box-shadow: 0 12px 28px rgba(234, 88, 12, 0.42);
  }
}

.btn-outline {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background-image: url("https://images.unsplash.com/photo-1516574187841-cb9cc2ca948b?auto=format&fit=crop&w=1700&q=80");
  background-size: cover;
  background-position: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(15, 15, 15, 0.88), rgba(15, 15, 15, 0.4));
}

.hero-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-content {
  color: var(--white);
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  margin-bottom: 1.15rem;
  padding: 0.55rem 0.9rem 0.55rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 248, 242, 0.14);
  border: 1px solid rgba(255, 215, 184, 0.45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
  animation: brandRise 0.7s ease both;
}

.hero-logo {
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 3px solid #ffd7b8;
  box-shadow:
    0 0 0 4px rgba(249, 115, 22, 0.22),
    0 10px 24px rgba(0, 0, 0, 0.28);
  flex-shrink: 0;
}

.hero-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.hero-brand-text strong {
  font-family: "Sora", "Poppins", sans-serif;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #fff7f0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-brand-text small {
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #ffd7b8;
  letter-spacing: 0.2px;
}

@keyframes brandRise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.3rem 0.72rem;
  border-radius: 100px;
  font-size: 0.78rem;
  letter-spacing: 0.25px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 4.2vw, 2.85rem);
  line-height: 1.15;
  max-width: 660px;
  font-weight: 700;
}

.hero h1 span {
  color: #ffba9c;
}

.hero p {
  margin: 1.2rem 0 1.7rem;
  color: #f0f0f0;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  padding: 1.2rem;
}

.hero-card h3 {
  color: var(--dark);
}

.hero-card p {
  color: var(--muted);
  margin: 0.35rem 0 0.9rem;
}

.hero-card ul {
  list-style: none;
  margin-top: 1rem;
}

.hero-card li {
  font-size: 0.9rem;
  color: #4a4a4a;
  margin-bottom: 0.38rem;
}

.trust-bar {
  background: #fff5ef;
  border-top: 1px solid #ffe4d8;
  border-bottom: 1px solid #ffe4d8;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem 0;
}

.trust-grid p {
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: #9a4526;
}

.slok-section {
  background: linear-gradient(180deg, #fff5ef, #fffdfb);
}

.campaign {
  background: linear-gradient(180deg, #1b0000, #320404);
  color: #fff5f5;
}

.campaign-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  align-items: start;
}

.campaign-copy h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  color: #ffcac3;
}

.campaign-copy p {
  margin-top: 0.8rem;
  color: #ffe6e2;
}

.campaign-copy ul {
  list-style: none;
  margin: 1rem 0 1.2rem;
  display: grid;
  gap: 0.55rem;
}

.campaign-copy li {
  padding: 0.6rem 0.75rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.93rem;
}

.campaign-copy {
  max-width: 900px;
}

.campaign-slider {
  margin-top: 1rem;
}

.campaign-window {
  border-color: rgba(255, 255, 255, 0.22);
  background: #140202;
  height: min(74vh, 760px);
}

.campaign-window .gallery-track img {
  background: #140202;
}

.campaign-dots .campaign-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.campaign-dots .campaign-dot.active {
  background: #ffd4c9;
}

.campaign-help {
  color: #f5c9bf;
}

.quiz-section {
  background: linear-gradient(180deg, #fff7f3, #ffffff);
}

.quiz-box {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #ffe0d2;
  border-radius: 1rem;
  padding: 1.35rem 1.2rem 1.4rem;
  box-shadow: 0 14px 36px rgba(240, 90, 34, 0.08);
}

.quiz-progress {
  height: 6px;
  background: #ffe8de;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.quiz-progress span {
  display: block;
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, #f05a22, #cf4515);
  transition: width 0.35s ease;
}

.quiz-step {
  font-size: 0.82rem;
  color: #a14a2a;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.quiz-box h3 {
  color: var(--dark);
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
}

.quiz-options {
  display: grid;
  gap: 0.55rem;
}

.quiz-option {
  text-align: left;
  border: 1px solid #ecd7cd;
  background: #fffaf7;
  border-radius: 0.65rem;
  padding: 0.75rem 0.9rem;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.quiz-option:hover {
  border-color: #f05a22;
  background: #fff3ec;
  transform: translateY(-1px);
}

.quiz-option.correct {
  border-color: #1f9d57;
  background: #eaf9f0;
}

.quiz-option.wrong {
  border-color: #d64545;
  background: #fdeeee;
}

.quiz-feedback {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  color: #6a3a25;
}

.quiz-result {
  text-align: center;
  padding-top: 0.4rem;
}

.quiz-result-actions {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.btn-ghost {
  background: #fff;
  color: #c74415;
  border: 1px solid #f0c2af;
}

.pledge-section {
  background: #1a0905;
  color: #fff5f2;
}

.pledge-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.1rem;
  align-items: start;
}

.pledge-copy h2 {
  color: #ffc8b8;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.pledge-copy p {
  margin-top: 0.7rem;
  color: #ffddd2;
}

.pledge-points {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
}

.pledge-points li {
  padding: 0.65rem 0.8rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pledge-card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--dark);
  border-radius: 0.9rem;
  padding: 1.1rem;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}

.pledge-card form {
  margin-top: 0;
  grid-template-columns: 1fr;
}

.pledge-share {
  margin-top: 0.9rem;
}

.pledge-share-card {
  border: 1px dashed #f0b79d;
  border-radius: 0.7rem;
  background: #fff7f2;
  padding: 0.9rem;
  white-space: pre-wrap;
  font-size: 0.9rem;
  color: #5a2d1a;
  line-height: 1.55;
}

.pledge-share-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.moments-campaign,
.gallery-campaign {
  border-top: 1px solid rgba(255, 180, 160, 0.12);
}

.team-section {
  background: #fff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.team-card {
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 1.1rem 0.95rem;
  background: linear-gradient(180deg, #fff, #fff8f4);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.team-avatar {
  width: 4.2rem;
  height: 4.2rem;
  margin: 0 auto 0.7rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: var(--avatar, #f05a22);
  box-shadow: 0 8px 18px rgba(240, 90, 34, 0.25);
}

.team-card h3 {
  font-size: 1rem;
  color: var(--dark);
}

.team-role {
  color: #c74415;
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0.25rem 0 0.45rem;
}

.team-card p:last-child {
  color: var(--muted);
  font-size: 0.86rem;
}

.transparency-section {
  background: #fff4ee;
}

.transparency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.transparency-grid article {
  background: #fff;
  border: 1px solid #ffdccb;
  border-radius: 0.85rem;
  padding: 1.1rem;
}

.transparency-grid h3 {
  color: #b53b10;
  margin-bottom: 0.55rem;
}

.transparency-grid ul {
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.transparency-grid li {
  color: #5a4035;
  font-size: 0.92rem;
  padding-left: 1rem;
  position: relative;
}

.transparency-grid li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #f05a22;
  font-weight: 700;
}

.stats-grid div.is-visible strong {
  animation: popIn 0.45s ease;
}

@keyframes popIn {
  from {
    opacity: 0.3;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.slok-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.slok-card {
  background: #ffffff;
  border: 1px solid #ffe2d4;
  border-left: 4px solid var(--primary);
  border-radius: 0.75rem;
  padding: 0.95rem 0.9rem;
}

.slok-card p {
  color: #5d2b15;
  font-size: 0.92rem;
  line-height: 1.55;
}

.section-head {
  text-align: center;
  max-width: 710px;
  margin: 0 auto 1.8rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  color: var(--dark);
}

.section-head p {
  margin-top: 0.55rem;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  overflow: hidden;
  background: var(--white);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 1rem;
}

.card h3 {
  color: #cb4113;
  margin-bottom: 0.35rem;
}

.card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.stats {
  background: #fff8f4;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stats-grid div {
  border: 1px solid #ffe4d9;
  background: #fff;
  border-radius: 0.75rem;
  text-align: center;
  padding: 1.2rem 0.7rem;
}

.stats-grid strong {
  display: block;
  color: var(--primary);
  font-size: 2rem;
  line-height: 1.2;
}

.stats-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

.stories {
  background: #fff;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.story-card {
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  padding: 1rem;
  background: linear-gradient(180deg, #fff, #fff7f3);
}

.story-card h3 {
  color: #b53b10;
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.story-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.story-card span {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: #8b3c1d;
  background: #ffe8de;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.process {
  background: #fff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.process-grid article {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.1rem;
  background: #fff;
}

.process-grid span {
  width: 2rem;
  height: 2rem;
  border-radius: 100px;
  background: #ffe8de;
  color: #c74415;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.process-grid h3 {
  margin-bottom: 0.35rem;
}

.process-grid p {
  color: var(--muted);
  font-size: 0.92rem;
}

.join {
  background: #fff6f1;
}

.join-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.join-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 1.2rem;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}

.join-form h3 {
  color: var(--dark);
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
}

.join-form p {
  color: var(--muted);
  margin-top: 0.25rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

form {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  width: 100%;
  min-width: 0;
}

form > * {
  min-width: 0;
  max-width: 100%;
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid #dcdcdc;
  border-radius: 0.5rem;
  padding: 0.68rem 0.75rem;
  font: inherit;
  font-size: 1rem;
  background: #fff;
  box-sizing: border-box;
}

.field-label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.86rem;
  color: var(--muted);
  align-content: start;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.field-label input[type="date"] {
  width: 100%;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.86rem;
  color: var(--muted);
  border: 1px solid #dcdcdc;
  border-radius: 0.5rem;
  padding: 0.6rem 0.75rem;
  background: #fff;
  min-width: 0;
  max-width: 100%;
  line-height: 1.4;
}

.checkbox-field span {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.checkbox-field input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.human-verify {
  display: grid;
  gap: 0.65rem;
  min-width: 0;
  max-width: 100%;
}

.human-verify-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid #d3d3d3;
  border-radius: 0.35rem;
  padding: 0.7rem 0.85rem;
  background: #f9f9f9;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
}

.human-verify-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: #222;
  cursor: pointer;
  user-select: none;
  min-width: 0;
  flex: 1 1 12rem;
}

.human-verify-check span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
}

.human-verify-check input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: #1a73e8;
  cursor: pointer;
}

.human-verify-brand {
  text-align: right;
  line-height: 1.15;
  color: #555;
}

.human-verify-brand strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #f05a22;
}

.human-verify-brand small {
  font-size: 0.65rem;
  color: #888;
}

.captcha-challenge {
  display: grid;
  gap: 0.5rem;
  border: 1px solid #dcdcdc;
  border-radius: 0.5rem;
  padding: 0.75rem;
  background: #fff8f4;
}

.captcha-challenge p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#captcha-canvas {
  display: block;
  width: 160px;
  height: 48px;
  border-radius: 0.35rem;
  border: 1px solid #d0d0d0;
  background: #eee;
}

.captcha-refresh {
  min-width: 2.5rem;
  padding: 0.55rem 0.7rem;
  font-size: 1.1rem;
}

#captcha-answer {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

textarea {
  min-height: 95px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #f28355;
  box-shadow: 0 0 0 3px rgba(242, 131, 85, 0.16);
}

.full {
  grid-column: 1 / -1;
}

.gallery-slider {
  position: relative;
  margin-bottom: 0.8rem;
}

.gallery-window {
  overflow: hidden;
  border-radius: 0.8rem;
  border: 1px solid var(--border);
  background: #111;
  height: min(72vh, 640px);
}

.gallery-track {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.gallery-track img {
  width: 100%;
  flex: 0 0 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #111;
}

/*
  Work gallery + moments use a tall frame (matches phone photos)
  so the donor stays visible AND the photo fills edge-to-edge.
*/
#gallery-slider .gallery-window.campaign-window,
#moments-slider .gallery-window.campaign-window {
  width: min(100%, 520px);
  height: auto;
  aspect-ratio: 3 / 4;
  max-height: min(78vh, 720px);
  margin-inline: auto;
  overflow: hidden;
  background: #1a0905;
}

#gallery-slider .gallery-track,
#moments-slider .gallery-track {
  height: 100%;
}

#gallery-slider .gallery-track img,
#moments-slider .gallery-track img {
  width: 100%;
  flex: 0 0 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover !important;
  object-position: center center;
  background: transparent;
}

/* Full-body / group shots: keep donor (often mid-frame) in view */
#gallery-slider .gallery-track img[src*="work-02"],
#gallery-slider .gallery-track img[src*="work-03"],
#gallery-slider .gallery-track img[src*="work-06"],
#gallery-slider .gallery-track img[src*="work-08"],
#gallery-slider .gallery-track img[src*="work-12"],
#gallery-slider .gallery-track img[src*="work-13"],
#moments-slider .gallery-track img[src*="work-02"],
#moments-slider .gallery-track img[src*="work-03"],
#moments-slider .gallery-track img[src*="work-13"] {
  object-position: center 40%;
}

#gallery-slider .gallery-track img[src*="work-07"],
#moments-slider .gallery-track img[src*="work-07"] {
  object-position: center 35%;
}

/* Campaign posters keep full poster visible */
#campaign-slider .gallery-track img {
  object-fit: contain !important;
  object-position: center;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  border: none;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1rem;
}

.gallery-nav.prev {
  left: 0.55rem;
}

.gallery-nav.next {
  right: 0.55rem;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
}

.gallery-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  border: none;
  background: #d7d7d7;
  cursor: pointer;
}

.gallery-dot.active {
  background: var(--primary);
}

.gallery-help {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center;
  background: #111;
  border-radius: 0.7rem;
  border: 1px solid #2a2a2a;
}

.cta-strip {
  background: linear-gradient(90deg, #fdf0e9, #ffe5d9);
  border-top: 1px solid #ffdbc9;
  border-bottom: 1px solid #ffdbc9;
}

.cta-content {
  padding: 1.7rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cta-content h3 {
  color: #1c1c1c;
  font-size: 1.35rem;
}

.cta-content p {
  color: #6b6b6b;
}

.footer {
  background: #141414;
  color: #eeeeee;
  padding-top: 2.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1rem;
  padding-bottom: 1.4rem;
}

.footer-note {
  margin-top: 0.8rem;
  color: #bdbdbd;
  max-width: 330px;
  font-size: 0.9rem;
}

.footer h4 {
  margin-bottom: 0.5rem;
}

.footer ul {
  list-style: none;
}

.footer li + li {
  margin-top: 0.28rem;
}

.footer a,
.footer p {
  color: #d3d3d3;
  text-decoration: none;
}

.copyright {
  text-align: center;
  border-top: 1px solid #292929;
  color: #a8a8a8;
  font-size: 0.84rem;
  padding: 0.9rem 0;
}

.floating-actions {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.float-btn {
  text-decoration: none;
  padding: 0.62rem 0.85rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.float-btn-short {
  display: none;
}

.float-btn.call {
  background: #f05a22;
}

.float-btn.whatsapp {
  background: #22a85a;
}

@media (max-width: 1050px) {
  .nav-content {
    flex-wrap: wrap;
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
    order: 2;
  }

  .brand {
    order: 1;
    flex: 1 1 auto;
    max-width: calc(100% - 3.2rem);
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    order: 3;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.55rem 0 0.2rem;
    border-top: 1px solid rgba(232, 93, 4, 0.14);
    margin-top: 0.35rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 0.7rem 0.75rem;
    font-size: 0.92rem;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links-cta {
    display: list-item;
    margin-top: 0.35rem;
  }

  .nav-links-cta .btn {
    width: 100%;
  }

  .hero-wrap,
  .join-grid,
  .campaign-grid,
  .pledge-grid,
  .transparency-grid,
  .stats-grid,
  .process-grid,
  .slok-grid,
  .team-grid,
  .stories-grid {
    grid-template-columns: 1fr 1fr;
  }

  form {
    grid-template-columns: 1fr;
  }

  .hero-card {
    grid-column: 1 / -1;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1150px, 92%);
    padding-inline: 0;
  }

  .section-spacing {
    padding: 2.6rem 0;
  }

  main {
    padding-bottom: 4.5rem;
  }

  .pledge-card,
  .join-form,
  .quiz-box {
    padding: 1rem 0.9rem;
    width: 100%;
    box-sizing: border-box;
  }

  .pledge-copy,
  .join-form,
  .pledge-card,
  .pledge-points,
  .pledge-points li,
  .field-label,
  .checkbox-field,
  .human-verify,
  .captcha-challenge {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .pledge-points li {
    padding: 0.65rem 0.75rem;
    font-size: 0.86rem;
  }

  .join-form h3 {
    font-size: 1.05rem;
  }

  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    font-size: 16px;
  }

  .btn,
  .btn-wrap {
    white-space: normal;
    line-height: 1.35;
    padding: 0.8rem 0.95rem;
  }

  .pledge-share-actions {
    flex-direction: column;
  }

  .pledge-share-actions .btn {
    width: 100%;
  }

  .human-verify-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .human-verify-brand {
    text-align: left;
  }

  .float-btn-full {
    display: none;
  }

  .float-btn-short {
    display: inline;
  }

  .topbar {
    font-size: 0.74rem;
  }

  .topbar-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
  }

  .topbar-highlight {
    white-space: normal;
    line-height: 1.35;
  }

  .brand-text strong {
    font-size: 0.92rem;
    overflow-wrap: anywhere;
  }

  .brand-text small {
    font-size: 0.62rem;
  }

  .navbar .brand .logo-img {
    width: 2.85rem;
    height: 2.85rem;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0 1.6rem;
    align-items: flex-start;
  }

  .hero-brand {
    width: 100%;
    max-width: 100%;
    border-radius: 1rem;
    gap: 0.65rem;
    padding: 0.45rem 0.7rem 0.45rem 0.45rem;
  }

  .hero-logo {
    width: 3.2rem;
    height: 3.2rem;
  }

  .hero-brand-text small {
    font-size: 0.64rem;
  }

  .hero h1 {
    font-size: clamp(1.45rem, 7vw, 1.9rem);
    overflow-wrap: anywhere;
  }

  .hero p {
    margin: 0.9rem 0 1.2rem;
    font-size: 0.92rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-card .btn {
    white-space: normal;
    line-height: 1.35;
  }

  .hero-wrap,
  .card-grid,
  .campaign-grid,
  .pledge-grid,
  .transparency-grid,
  .stats-grid,
  .process-grid,
  .slok-grid,
  .stories-grid,
  .join-grid,
  .team-grid,
  .gallery-grid,
  .footer-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .campaign-window {
    height: min(62vh, 520px);
  }

  .gallery-window {
    height: min(58vh, 480px);
  }

  #gallery-slider .gallery-window.campaign-window,
  #moments-slider .gallery-window.campaign-window {
    width: 100%;
    max-height: min(70vh, 560px);
  }

  .gallery-track img {
    height: 100%;
  }

  .gallery-nav {
    width: 2rem;
    height: 2rem;
  }

  .quiz-box {
    padding: 1.05rem 0.85rem 1.15rem;
  }

  .quiz-option {
    padding: 0.7rem 0.75rem;
    font-size: 0.9rem;
  }

  .join-form {
    padding: 1rem 0.85rem;
  }

  form {
    grid-template-columns: 1fr;
  }

  .captcha-row {
    flex-wrap: wrap;
  }

  .cta-content {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .cta-content .btn {
    width: 100%;
  }

  .cta-content h3 {
    font-size: 1.15rem;
  }

  .footer-note {
    max-width: 100%;
  }

  .floating-actions {
    right: 0.65rem;
    bottom: 0.65rem;
    max-width: calc(100vw - 1.3rem);
  }

  .float-btn {
    font-size: 0.78rem;
    padding: 0.55rem 0.75rem;
    white-space: nowrap;
    max-width: 100%;
  }

  .section-head h2,
  .campaign-copy h2,
  .pledge-copy h2 {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 420px) {
  .brand-text small {
    display: none;
  }

  .float-btn {
    padding: 0.55rem 0.7rem;
  }
}
