/* ===================================================================
   OncoKids Foundation — Design System
   Source: Hi-Fi design (claude.ai/design), colors/type/components
   Gold = hope, Purple = trust. Never clinical.
   =================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Mukta', sans-serif;
  background: #FAF8F5;
  color: #4A4453;
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }

.pop { font-family: 'Poppins', sans-serif; }
.h1 { font: 700 27px/1.3 'Poppins', sans-serif; color: #3E1D63; margin: 0; }
.h2 { font: 600 20px/1.35 'Poppins', sans-serif; color: #3E1D63; margin: 0; }
.h3 { font: 600 16px/1.4 'Poppins', sans-serif; color: #3E1D63; margin: 0; }
.mut { color: #8B8494; }
.sm { font-size: 13.5px; }

/* ===== Layout helpers ===== */
.r { display: flex; gap: 10px; align-items: center; }
.col { display: flex; flex-direction: column; gap: 8px; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.g3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.sect { padding: 26px 16px; display: flex; flex-direction: column; gap: 14px; }
.ribbon { display: flex; align-items: center; gap: 10px; justify-content: center; color: #F5A623; margin: 2px 0; }
.ribbon::before, .ribbon::after { content: ""; height: 2px; width: 56px; background: linear-gradient(90deg, transparent, #F5A623); border-radius: 2px; }
.ribbon::after { background: linear-gradient(90deg, #F5A623, transparent); }

/* ===== Header / nav ===== */
.hdr {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 14px; background: #fff;
  box-shadow: 0 2px 14px rgba(91, 45, 142, .10);
  position: sticky; top: 0; z-index: 100;
}
.brand { display: flex; align-items: center; gap: 7px; }
.brandtxt { font: 700 17px 'Poppins', sans-serif; letter-spacing: -.2px; }
.brandtxt .o1 { color: #5B2D8E; }
.brandtxt .o2 { color: #E79A0F; }
.navd { display: none; gap: 22px; font: 500 14px 'Poppins', sans-serif; color: #4A4453; }
.navd a.active { color: #5B2D8E; font-weight: 700; }
.hamburger { color: #5B2D8E; font-size: 20px; background: none; border: none; cursor: pointer; }
.hdr .cta { padding: 8px 14px; font-size: 13px; min-height: 0; }

@media (min-width: 1024px) {
  .navd { display: flex; margin-left: 26px; }
  .hamburger { display: none; }
  .hdr .cta { padding: 12px 22px; font-size: 15px; min-height: 48px; }
}

.lang { display: flex; border: 1.5px solid #E4DCEF; border-radius: 999px; overflow: hidden; font: 600 11.5px 'Poppins', sans-serif; flex: none; cursor: pointer; }
.lang span { padding: 4px 9px; }
.lang .lon { background: #5B2D8E; color: #fff; }
.lang .loff { color: #5B2D8E; background: #F7F4FB; }

/* Language toggle: default show English, hide Hindi copy */
[data-hi] { display: none; }
html[lang="hi"] [data-hi] { display: initial; }
html[lang="hi"] [data-en] { display: none; }

/* Mobile drawer */
.drawer-overlay { position: fixed; inset: 0; background: rgba(30,10,50,.45); z-index: 199; display: none; }
.drawer-overlay.open { display: block; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 280px;
  background: #3E1D63; z-index: 200; transform: translateX(100%);
  transition: transform .3s ease; display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.drawer nav { display: flex; flex-direction: column; padding: 10px; gap: 2px; }
.drawer nav a { padding: 12px 14px; border-radius: 10px; color: rgba(255,255,255,.8); font: 600 14px 'Poppins', sans-serif; }
.drawer nav a:hover, .drawer nav a.active { background: rgba(255,255,255,.08); color: #fff; }
.drawer-cta { padding: 16px; }

@media (min-width: 1024px) {
  .drawer, .drawer-overlay { display: none !important; }
}

/* ===== Buttons ===== */
.cta {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  background: linear-gradient(135deg, #FFC107, #F5A623); color: #3E1D63;
  font: 600 15px 'Poppins', sans-serif; border-radius: 999px; padding: 12px 22px;
  box-shadow: 0 4px 14px rgba(245, 166, 35, .38); cursor: pointer; min-height: 48px; text-align: center;
}
.cta:hover { box-shadow: 0 6px 20px rgba(245, 166, 35, .55); }
.cta:active { background: linear-gradient(135deg, #EDA80B, #DE9410); box-shadow: 0 2px 6px rgba(245, 166, 35, .35); }
.cta:disabled { background: #EFEAF6; color: #B4ABC2; box-shadow: none; cursor: not-allowed; }
.ctaSm { min-height: 0; padding: 8px 14px; font-size: 13px; }
.ctaWa { background: #25D366; color: #fff; box-shadow: 0 4px 14px rgba(37, 211, 102, .35); }
.ghost {
  display: inline-flex; align-items: center; justify-content: center; border: 2px solid #5B2D8E;
  color: #5B2D8E; background: transparent; font: 600 15px 'Poppins', sans-serif;
  border-radius: 999px; padding: 10px 22px; min-height: 48px; cursor: pointer; text-align: center;
}
.ghost:hover { background: #5B2D8E; color: #fff; }
.ghost-red { border-color: #C43A3A; color: #C43A3A; }
.ghost-red:hover { background: #C43A3A; color: #fff; }

/* ===== Cards ===== */
.card { background: #fff; border-radius: 16px; box-shadow: 0 6px 24px rgba(62, 29, 99, .09); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.gtop { height: 4px; background: linear-gradient(90deg, #F5A623, #FFC107); border-radius: 99px 99px 0 0; margin: -16px -16px 8px; }
.prog { height: 10px; background: #EDE6F6; border-radius: 99px; overflow: hidden; }
.prog.sm { height: 7px; }
.fill { height: 100%; background: linear-gradient(90deg, #F5A623, #FFC107); border-radius: 99px; }
.vbadge { display: inline-flex; align-items: center; gap: 5px; background: #E8F5EE; color: #1F7A4D; font: 600 11px 'Poppins', sans-serif; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.vbadge.tint { background: #F3EFF9; color: #5B2D8E; }
.bgb { width: 44px; height: 44px; border-radius: 50%; border: 2.5px solid #D64545; color: #C43A3A; display: flex; align-items: center; justify-content: center; font: 700 15px 'Poppins', sans-serif; background: #fff; flex: none; }
.urg { background: #FCEDED; color: #C43A3A; font: 600 11px 'Poppins', sans-serif; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.urg.tint { background: #F6F1FB; color: #5B2D8E; }

/* ===== Photo / media placeholders ===== */
.photo {
  position: relative; display: flex; align-items: flex-end; border-radius: 12px; padding: 10px 12px;
  background: linear-gradient(135deg, #4A2374 0%, #7C4FB0 48%, #E9A63C 125%);
  color: rgba(255, 255, 255, .9); font: 11px ui-monospace, monospace; overflow: hidden;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo .tint { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(91,45,142,.35), rgba(245,166,35,.2)); mix-blend-mode: multiply; }
.photo .credit { position: relative; background: rgba(30,10,50,.5); padding: 2px 8px; border-radius: 6px; }
.photo.center { align-items: center; justify-content: center; }

/* ===== Forms ===== */
.field { position: relative; display: flex; flex-direction: column; }
.field label { position: absolute; top: 6px; left: 14px; font: 600 10.5px 'Poppins', sans-serif; color: #8B8494; letter-spacing: .4px; text-transform: uppercase; pointer-events: none; }
.field input, .field select, .field textarea {
  border: 1.5px solid #E0D9EA; border-radius: 12px; padding: 21px 14px 7px; background: #fff;
  font: 16px 'Mukta', sans-serif; color: #2E1A47; min-height: 48px; box-sizing: border-box; width: 100%;
}
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #5B2D8E; box-shadow: 0 0 0 3px rgba(91, 45, 142, .16); }
.field.error input, .field.error select, .field.error textarea { border-color: #D64545; box-shadow: 0 0 0 3px rgba(214, 69, 69, .12); }
.field.error label { color: #C43A3A; }
.emsg { color: #C43A3A; font-size: 12.5px; margin-top: 3px; }

.chip { display: inline-flex; align-items: center; border: 1.5px solid #E0D9EA; border-radius: 12px; padding: 9px 14px; font: 600 14px 'Poppins', sans-serif; color: #4A4453; background: #fff; white-space: nowrap; cursor: pointer; }
.chip.on, .chip:hover { border-color: #F5A623; background: #FFF6E1; color: #7A5200; }
.chip.urgent { border-color: #D64545; background: #FCEDED; color: #C43A3A; }

.toggle { width: 46px; height: 26px; border-radius: 99px; background: #EDE6F6; display: flex; align-items: center; padding: 2px; cursor: pointer; transition: background .2s; }
.toggle.on { background: linear-gradient(135deg, #FFC107, #F5A623); justify-content: flex-end; }
.toggle .knob { width: 22px; height: 22px; background: #fff; border-radius: 50%; box-shadow: 0 1px 4px rgba(0,0,0,.25); }

/* ===== Stats / steppers ===== */
.stnum { font: 700 26px 'Poppins', sans-serif; color: #5B2D8E; line-height: 1.1; }
.stp { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 700 13px 'Poppins', sans-serif; flex: none; }
.stp.on { background: linear-gradient(135deg, #FFC107, #F5A623); color: #3E1D63; box-shadow: 0 3px 10px rgba(245, 166, 35, .4); }
.stp.off { background: #EDE6F6; color: #8B8494; }

/* ===== Accordion (FAQ) ===== */
.faq-item { background: #fff; border-radius: 16px; box-shadow: 0 6px 24px rgba(62, 29, 99, .09); overflow: hidden; }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; cursor: pointer; font: 600 15px 'Mukta', sans-serif; color: #2E1A47; }
.faq-q .plus { color: #5B2D8E; font: 700 18px 'Poppins', sans-serif; transition: transform .2s; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; padding: 0 20px; color: #4A4453; transition: max-height .25s ease, padding .25s ease; }
.faq-item.open .faq-a { max-height: 300px; padding: 0 20px 16px; }

/* ===== Footer ===== */
.foot { background: #3E1D63; color: #CBBBE3; padding: 30px 18px; display: flex; flex-direction: column; gap: 16px; font-size: 14.5px; }
.foot .fh { font: 600 13px 'Poppins', sans-serif; color: #FFC107; text-transform: uppercase; letter-spacing: .8px; }
.foot a:hover { color: #fff; }
.foot .soc { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: flex; align-items: center; justify-content: center; font-size: 14px; color: #FFC107; }
.foot .bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 12px; font-size: 13px; }

@media (min-width: 1024px) {
  .foot { padding: 44px 48px; }
  .foot .grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; }
}

/* ===== Responsive section padding ===== */
@media (min-width: 1024px) {
  .sect { padding: 44px 48px; }
  .hdr { padding: 14px 48px; gap: 14px; }
  .g3-desktop { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
  .g2-desktop { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .hide-desktop { display: none !important; }
}
@media (max-width: 1023px) {
  .hide-mobile { display: none !important; }
}

/* ===== Hero ===== */
.hero { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; padding: 56px 48px !important; }
}

/* Sticky donate bar (campaign detail, mobile) */
.sticky-donate {
  position: sticky; bottom: 0; background: #fff; box-shadow: 0 -6px 24px rgba(62, 29, 99, .14);
  padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; z-index: 50;
}
@media (min-width: 1024px) {
  .sticky-donate { display: none; }
}
