:root {
  --primary: #0F8F87;
  --primary-light: #16B6AE;
  --primary-dark: #086C66;
  --bg: #F7F9FC;
  --card: #FFFFFF;
  --border: #E7EDF3;
  --heading: #162230;
  --paragraph: #667085;
  --gold-light: #FFD866;
  --gold-dark: #D9A321;
  --success: #16B6AE;
  --shadow: 0 18px 45px rgba(15,143,135,.08);
  --heavy-shadow: 0 28px 80px rgba(22,34,48,.12);
  --radius: 22px;
  --unit-size: 92px;
  --unit-gap: 8px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--heading);
  background:
    radial-gradient(circle at 10% 5%, rgba(22,182,174,.08), transparent 28%),
    radial-gradient(circle at 95% 12%, rgba(255,216,102,.12), transparent 22%),
    var(--bg);
  min-height: 100vh;
}

a { text-decoration: none; }

button,
input {
  font: inherit;
}

.site-header,
.shaagird-header {
  padding: 16px 0 0;
  transition: padding .28s ease, filter .28s ease;
  background: transparent;
  border-bottom: 0;
  z-index: 1040;
  pointer-events: none;
}

.site-header .navbar {
  padding: 0;
  pointer-events: auto;
}

.site-header .container-fluid {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(162px, 196px) minmax(0, 1fr) minmax(136px, 160px);
  background:
    radial-gradient(circle at 14% -36%, rgba(255,255,255,.98), rgba(255,255,255,.38) 34%, transparent 58%),
    radial-gradient(circle at 84% 0%, rgba(22,182,174,.12), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.86), rgba(255,255,255,.64));
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 32px;
  box-shadow:
    0 24px 64px rgba(22,34,48,.13),
    0 8px 22px rgba(22,34,48,.06),
    inset 0 1px 0 rgba(255,255,255,.94),
    inset 0 -1px 0 rgba(15,143,135,.06);
  min-height: 88px;
  max-width: none;
  width: min(96vw, 1740px);
  margin: 0 auto;
  overflow: visible;
  padding: 0 48px;
  position: relative;
  backdrop-filter: blur(28px) saturate(1.45);
  -webkit-backdrop-filter: blur(28px) saturate(1.45);
  transition: min-height .28s ease, box-shadow .28s ease, background .28s ease, border-color .28s ease, backdrop-filter .28s ease;
}

.site-header .container-fluid::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 31px;
  background:
    linear-gradient(110deg, rgba(255,255,255,.74), transparent 26%, rgba(255,255,255,.24) 55%, transparent 76%),
    radial-gradient(circle at 50% 0, rgba(255,255,255,.72), transparent 44%);
  pointer-events: none;
}

.site-header.scrolled,
.shaagird-header.scrolled {
  padding-top: 10px;
  background: transparent;
  filter: saturate(1.02);
}

.site-header.scrolled .container-fluid {
  min-height: 84px;
  background:
    radial-gradient(circle at 14% -36%, rgba(255,255,255,.98), rgba(255,255,255,.44) 34%, transparent 58%),
    radial-gradient(circle at 84% 0%, rgba(22,182,174,.14), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,.7));
  border-color: rgba(255,255,255,.82);
  box-shadow:
    0 30px 76px rgba(22,34,48,.16),
    0 12px 28px rgba(22,34,48,.08),
    inset 0 1px 0 rgba(255,255,255,.96),
    inset 0 -1px 0 rgba(15,143,135,.07);
  backdrop-filter: blur(34px) saturate(1.55);
  -webkit-backdrop-filter: blur(34px) saturate(1.55);
}

.shaagird-navbar {
  display: flex;
  justify-content: center;
  width: 100%;
}

.navbar-container {
  align-items: center;
  background-color: #fff;
  border: 1px solid rgba(231,237,243,.88);
  border-radius: 999px;
  box-shadow: 0 8px 26px rgba(42,62,79,.08);
  display: flex;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 18px 0 22px;
  width: min(90%, 1440px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--heading);
}

.brand-lockup strong {
  display: block;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 800;
}

.brand-lockup small {
  display: block;
  margin-top: 4px;
  color: var(--paragraph);
  font-size: 12px;
  font-weight: 500;
}

.site-header .navbar-brand {
  grid-column: 1;
  justify-self: start;
  margin-right: 0;
  padding: 0;
  position: relative;
  z-index: 2;
}

.site-header .navbar-collapse,
.site-header .navbar-toggler {
  position: relative;
  z-index: 2;
}

.shaagird-logo-link img {
  display: block;
  height: 62px;
  width: auto;
}

.site-header .navbar-nav {
  gap: clamp(24px, 2vw, 38px);
}

.site-header .navbar-collapse > .navbar-nav:first-child {
  grid-column: 2;
  justify-self: center;
}

.site-header .navbar-collapse > .navbar-nav:last-child {
  grid-column: 3;
  justify-self: end;
}

@media (min-width: 1200px) {
  .site-header .navbar-collapse {
    display: contents !important;
  }
}

.site-header .nav-link {
  color: #0f2140;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  padding: 14px 0;
  position: relative;
  white-space: nowrap;
  z-index: 1;
  transition: color .22s ease, transform .22s ease;
}

.site-header .nav-link::after {
  display: none;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
  color: var(--primary-dark);
  transform: translate3d(0, -1px, 0);
}

.header-dropdown {
  position: relative;
}

.nav-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin-left: 7px;
  font-size: 12px;
  line-height: 1;
  transform: translate3d(0, 0, 0) rotate(0deg);
  transition: transform .26s cubic-bezier(.2,.8,.2,1);
  transform-origin: center;
  will-change: transform;
}

.header-dropdown.is-open > .nav-link .nav-chevron {
  transform: translate3d(0, 0, 0) rotate(180deg);
}

.header-dropdown[data-mega-menu]::after {
  content: "";
  position: absolute;
  top: calc(100% - 2px);
  left: -120px;
  right: -120px;
  height: 42px;
  z-index: 49;
  pointer-events: auto;
}

.header-dropdown-menu {
  position: absolute;
  top: calc(100% + 24px);
  left: 50%;
  z-index: 50;
  width: min(920px, calc(100vw - 80px));
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,255,255,.58)),
    radial-gradient(circle at 10% 0, rgba(22,182,174,.16), transparent 34%),
    radial-gradient(circle at 90% 16%, rgba(255,216,102,.16), transparent 34%);
  box-shadow: 0 30px 86px rgba(22,34,48,.18), 0 12px 28px rgba(22,34,48,.08), inset 0 1px 0 rgba(255,255,255,.92);
  backdrop-filter: blur(30px) saturate(1.5);
  -webkit-backdrop-filter: blur(30px) saturate(1.5);
  opacity: 0;
  pointer-events: none;
  filter: blur(8px);
  transform: translate3d(-50%, -14px, 0) scale(.975);
  transform-origin: top center;
  transition: opacity .24s ease, transform .24s ease, filter .24s ease, visibility .24s ease;
  visibility: hidden;
  will-change: opacity, transform, filter;
}

.resources-menu {
  width: min(920px, calc(100vw - 80px));
}

.header-dropdown.is-open .header-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  filter: blur(0);
  transform: translate3d(-50%, 0, 0) scale(1);
  visibility: visible;
}

.mega-menu-panel::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 20px;
  height: 20px;
  border-left: 1px solid rgba(255,255,255,.72);
  border-top: 1px solid rgba(255,255,255,.72);
  border-radius: 5px 0 0 0;
  background: rgba(255,255,255,.78);
  transform: translateX(-50%) rotate(45deg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.mega-menu-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(250px, 310px) 1fr;
  gap: 22px;
  padding: 24px;
}

.mega-menu-list {
  display: grid;
  gap: 9px;
  padding-right: 20px;
  border-right: 1px solid rgba(42,62,79,.12);
}

.mega-menu-link {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr 18px;
  grid-template-areas:
    "icon title arrow"
    "icon desc arrow";
  align-items: center;
  gap: 2px 12px;
  min-height: 72px;
  padding: 12px 10px;
  border-radius: 16px;
  color: var(--heading);
  transition: background .22s ease, transform .22s ease, box-shadow .22s ease, color .22s ease;
}

.mega-menu-link span {
  grid-area: icon;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(22,182,174,.11);
  color: var(--primary-dark);
  font-size: 20px;
}

.mega-menu-link strong {
  grid-area: title;
  color: var(--heading);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.mega-menu-link small {
  grid-area: desc;
  color: #51627d;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.mega-menu-link > .bi-chevron-right {
  grid-area: arrow;
  color: #486284;
  font-size: 15px;
  transition: transform .22s ease, color .22s ease;
}

.mega-menu-link:hover,
.mega-menu-link:focus {
  background: rgba(22,182,174,.1);
  color: var(--primary-dark);
  transform: translate3d(4px, 0, 0);
  box-shadow: 0 14px 30px rgba(15,143,135,.08);
  outline: 0;
}

.mega-menu-link:hover > .bi-chevron-right,
.mega-menu-link:focus > .bi-chevron-right {
  color: var(--primary);
  transform: translateX(3px);
}

.mega-menu-feature-wrap {
  min-width: 0;
}

.mega-menu-feature-wrap > p {
  margin: 2px 0 16px;
  color: #3c4d66;
  font-size: 18px;
  font-weight: 500;
}

.mega-menu-feature-wrap > p strong {
  color: var(--primary-dark);
  font-weight: 800;
}

.mega-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mega-feature-card {
  position: relative;
  min-height: 130px;
  overflow: hidden;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  padding: 18px 12px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 18px;
  background: rgba(255,255,255,.56);
  color: var(--heading);
  text-align: center;
  box-shadow: 0 16px 36px rgba(22,34,48,.07), inset 0 1px 0 rgba(255,255,255,.8);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  will-change: transform;
}

.mega-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0 35%, rgba(255,255,255,.56) 48%, transparent 62% 100%);
  transform: translateX(-120%);
  transition: transform .5s ease;
}

.mega-feature-card i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(22,182,174,.12);
  color: var(--primary);
  font-size: 23px;
}

.mega-feature-card strong {
  color: var(--heading);
  font-size: 14px;
  font-weight: 800;
}

.mega-feature-card small {
  color: #51627d;
  font-size: 12px;
  line-height: 1.35;
}

.mega-feature-card:hover,
.mega-feature-card:focus {
  background: rgba(255,255,255,.78);
  box-shadow: 0 22px 46px rgba(22,34,48,.12);
  transform: translate3d(0, -4px, 0) scale(1.015);
  outline: 0;
}

.mega-feature-card:hover::before,
.mega-feature-card:focus::before {
  transform: translateX(120%);
}

.mega-cta-banner {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(22,182,174,.14), rgba(255,255,255,.5)),
    rgba(255,255,255,.5);
}

.mega-cta-banner span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(22,182,174,.12);
  color: var(--primary);
  font-size: 20px;
}

.mega-cta-banner strong {
  display: block;
  color: var(--heading);
  font-size: 14px;
  font-weight: 800;
}

.mega-cta-banner small {
  color: #51627d;
  font-size: 12px;
}

.mega-cta-banner a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border-radius: 10px;
  padding: 0 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  box-shadow: 0 14px 28px rgba(15,143,135,.22);
}

.site-header .navbar-toggler {
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: none;
  padding: 9px 11px;
}

.site-header .navbar-toggler-icon {
  width: 22px;
  height: 16px;
  background-image:
    linear-gradient(#0f2140, #0f2140),
    linear-gradient(#0f2140, #0f2140),
    linear-gradient(#0f2140, #0f2140);
  background-repeat: no-repeat;
  background-size: 100% 2px, 100% 2px, 100% 2px;
  background-position: center top, center center, center bottom;
}

.shaagird-donate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  min-width: 130px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #21153A 0%, #07152f 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 0 26px;
  box-shadow: 0 14px 30px rgba(33,21,58,.18), inset 0 1px 0 rgba(255,255,255,.16);
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease;
  will-change: transform;
}

.shaagird-donate-btn::after {
  content: "\F138";
  display: inline-block;
  font-family: "bootstrap-icons";
  font-size: 15px;
  line-height: 1;
  transform: translate3d(-2px, 0, 0);
  opacity: 0;
  transition: transform .24s ease, opacity .24s ease;
}

.shaagird-donate-btn:hover {
  background: linear-gradient(135deg, #21153A 0%, #0F8F87 100%);
  color: #fff;
  box-shadow: 0 20px 42px rgba(33,21,58,.22), 0 10px 22px rgba(15,143,135,.18), inset 0 1px 0 rgba(255,255,255,.22);
  transform: translate3d(0, -3px, 0);
}

.shaagird-donate-btn:hover::after {
  opacity: 1;
  transform: translate3d(2px, 0, 0);
}

.site-header .navbar-toggler:focus {
  box-shadow: 0 0 0 4px rgba(22,182,174,.12);
}

.navbar-logo {
  flex: 0 0 auto;
}

.navbar-logo:hover {
  color: var(--heading);
}

.shaagird-logo-mark {
  align-items: center;
  background: #2a3e4f;
  border: 3px solid #fdcf44;
  border-radius: 50%;
  color: #fdcf44;
  display: inline-flex;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 27px;
  font-weight: 800;
  height: 54px;
  justify-content: center;
  line-height: 1;
  width: 54px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  position: relative;
  display: inline-block;
}

.brand-mark span {
  position: absolute;
  width: 19px;
  height: 19px;
  border-radius: 60% 60% 70% 70%;
  background: linear-gradient(145deg, #34d7cf, #0F8F87);
  box-shadow: inset 0 2px 4px rgba(255,255,255,.42);
}

.brand-mark span:nth-child(1) { left: 3px; top: 3px; }
.brand-mark span:nth-child(2) { right: 3px; top: 3px; }
.brand-mark span:nth-child(3) {
  left: 11px;
  bottom: 1px;
  transform: rotate(45deg);
  background: linear-gradient(145deg, #49d6ff, #1177d6);
  border-radius: 4px 12px 12px 12px;
}

.brand-mark.compact {
  width: 36px;
  height: 36px;
  transform: scale(.9);
}

.navbar-links {
  align-items: center;
  display: flex;
  gap: 2rem;
}

.navbar-links a,
.nav-main-link {
  color: #486284;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  text-decoration: none;
  transition: color .3s ease;
}

.navbar-links a::after {
  background: #299d8e;
  border-radius: 99px;
  bottom: -9px;
  content: "";
  height: 2px;
  left: 0;
  opacity: 0;
  position: absolute;
  transform: scaleX(.5);
  transition: opacity .25s ease, transform .25s ease;
  width: 100%;
}

.navbar-links a:hover,
.navbar-links a.active,
.nav-main-link:hover {
  color: #299d8e;
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.desktop-user-section {
  align-items: center;
  display: flex;
  gap: 12px;
}

.login-link {
  align-items: center;
  color: #2a3e4f;
  display: inline-flex;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  gap: 7px;
}

.donate-btn {
  align-items: center;
  background-color: #fdcf44;
  border: none;
  border-radius: 30px;
  color: #333;
  cursor: pointer;
  display: inline-flex;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: .85rem;
  font-weight: 600;
  justify-content: center;
  margin-right: 8px;
  min-width: 110px;
  padding: 10px 18px;
  transition: all .3s ease;
  white-space: nowrap;
}

.donate-btn:hover {
  background-color: #299d8e;
  color: #251134;
  transform: translateY(-2px);
}

.hamburger {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  flex-direction: column;
  height: 24px;
  justify-content: space-between;
  padding: 0;
  width: 30px;
}

.hamburger .bar,
.bar {
  background-color: #2a3e4f;
  display: block;
  height: 3px;
  margin: 0 auto;
  transition: all .3s ease;
  width: 25px;
}

.hamburger.open .bar:first-child {
  transform: translateY(10px) rotate(45deg);
}

.hamburger.open .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.open .bar:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.mobile-menu {
  background: #2a3e4f;
  bottom: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  left: 0;
  overflow-y: auto;
  padding: 20px;
  position: fixed;
  right: 0;
  top: 80px;
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 1039;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.mobile-menu .nav-main-link.mobile-nav-btn,
.mobile-dropdown-btn,
.mobile-menu .mobile-nav-btn {
  align-items: center;
  background: #fff;
  border: none;
  border-radius: 8px;
  color: #2a3e4f;
  cursor: pointer;
  display: flex;
  font-size: 18px;
  gap: 10px;
  justify-content: flex-start;
  padding: 18px 20px;
  text-decoration: none;
  transition: all .3s ease;
  width: 100%;
}

.mobile-menu .mobile-nav-btn:hover,
.mobile-menu .mobile-nav-btn.active {
  background: #1a2b3c;
  color: #fff;
}

.mobile-auth-section {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: auto;
  padding: 20px 0;
}

.mobile-login,
.mobile-donate {
  align-items: center;
  border-radius: 8px;
  display: flex;
  font-size: 16px;
  gap: 10px;
  justify-content: center;
  margin-bottom: 12px;
  padding: 15px;
  text-decoration: none;
  transition: all .3s ease;
}

.mobile-login {
  background: #fff;
  color: #2a3e4f;
}

.mobile-donate {
  background: #fdcf44;
  color: #2a3e4f;
  font-weight: 700;
}

.icon-pill,
.round-action {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  color: var(--heading);
  box-shadow: 0 12px 28px rgba(22,34,48,.06);
}

.btn {
  min-height: 46px;
  border-radius: 9px;
  padding: 12px 23px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn-primary-gradient {
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  box-shadow: 0 16px 34px rgba(15,143,135,.25);
}

.btn-primary-gradient:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 20px 44px rgba(15,143,135,.33);
}

.btn-outline-premium {
  border: 1px solid rgba(15,143,135,.55);
  background: rgba(255,255,255,.65);
  color: var(--primary-dark);
}

.hero-section {
  min-height: 700px;
  padding: 150px 0 64px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(231,237,243,.8);
  background:
    linear-gradient(
      90deg,
      rgba(245,251,253,1) 0%,
      rgba(245,251,253,.97) 18%,
      rgba(245,251,253,.82) 32%,
      rgba(245,251,253,.42) 46%,
      rgba(245,251,253,.08) 58%,
      rgba(245,251,253,0) 70%
    ),
    url("../images/Smile_school.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
}

.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 170px;
  background: linear-gradient(180deg, transparent, rgba(247,249,252,.95));
  pointer-events: none;
}

.hero-bg-elements .blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(35px);
  opacity: .55;
}

.blur-one {
  width: 310px;
  height: 310px;
  left: 39%;
  top: 92px;
  background: rgba(22,182,174,.16);
}

.blur-two {
  width: 230px;
  height: 230px;
  right: 10%;
  top: 120px;
  background: rgba(255,216,102,.16);
}

.bird {
  position: absolute;
  color: rgba(22,34,48,.32);
  font-size: 20px;
}

.b1 { left: 41%; top: 108px; }
.b2 { left: 43%; top: 128px; }
.b3 { left: 45%; top: 101px; }

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 440px;
}

.eyebrow {
  display: inline-block;
  color: var(--primary-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 14px;
  margin-bottom: 15px;
}

.hero-copy h1 {
  font-size: clamp(43px, 5vw, 66px);
  line-height: 1.04;
  margin: 0 0 18px;
  font-weight: 700;
  letter-spacing: 0;
  color: #102235;
}

.hero-copy h1 span {
  display: block;
  color: var(--primary-dark);
}

.hero-copy p {
  color: #475467;
  max-width: 390px;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.glass-card,
.app-board {
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(231,237,243,.96);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-section .col-xl-3 {
  align-self: flex-start;
}

.hero-progress {
  position: relative;
  z-index: 3;
  padding: 25px;
  max-width: 360px;
  margin-left: auto;
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(18px);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
}

.hero-progress h2 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 20px;
}

.heart-button {
  border: 0;
  background: transparent;
  color: #0d3148;
  font-size: 20px;
}

.metric-label,
.hero-metrics span {
  color: var(--paragraph);
  font-size: 13px;
  font-weight: 500;
}

.goal-value {
  display: block;
  margin: 4px 0 14px;
  color: var(--primary-dark);
  font-size: 28px;
  font-weight: 500;
}

.premium-progress {
  height: 9px;
  background: #edf1f4;
  border-radius: 99px;
}

.progress-bar {
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
  border-radius: inherit;
  transition: width .65s cubic-bezier(.22, 1, .36, 1);
}

.progress-percent {
  float: right;
  margin-top: -18px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
}

.hero-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 28px;
  border-top: 1px solid var(--border);
}

.hero-metrics div {
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.hero-metrics div:nth-child(odd) {
  border-right: 1px solid var(--border);
  padding-right: 18px;
}

.hero-metrics div:nth-child(even) {
  padding-left: 18px;
}

.hero-metrics strong {
  display: block;
  margin-top: 6px;
  color: var(--heading);
  font-size: 16px;
}

.hero-metrics i {
  color: var(--primary);
}

.other-donate-section {
  position: relative;
  z-index: 4;
  margin: -10px 0 34px;
  padding: 0;
}

.other-donate-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, .95fr) minmax(620px, 1.35fr);
  gap: 28px;
  align-items: stretch;
  overflow: hidden;
  padding: 32px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 34px;
  background:
    radial-gradient(circle at 5% 4%, rgba(255,255,255,.92), transparent 28%),
    radial-gradient(circle at 72% 2%, rgba(22,182,174,.13), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(240,250,250,.58));
  box-shadow:
    0 30px 90px rgba(22,34,48,.12),
    0 10px 34px rgba(15,143,135,.08),
    inset 0 1px 0 rgba(255,255,255,.94),
    inset 0 -1px 0 rgba(15,143,135,.05);
  backdrop-filter: blur(26px) saturate(1.28);
  -webkit-backdrop-filter: blur(26px) saturate(1.28);
}

.other-donate-shell::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 33px;
  background:
    linear-gradient(115deg, rgba(255,255,255,.72), transparent 26%, rgba(255,255,255,.25) 54%, transparent 78%);
  pointer-events: none;
}

.other-donate-intro,
.other-donate-actions {
  position: relative;
  z-index: 1;
}

.other-donate-intro {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 10px 2px 6px 4px;
}

.other-donate-mark {
  display: grid;
  width: 74px;
  height: 74px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 20%, rgba(255,255,255,.95), rgba(255,255,255,.26) 58%),
    linear-gradient(145deg, rgba(255,255,255,.6), rgba(13,148,136,.18));
  box-shadow:
    0 18px 42px rgba(22,34,48,.08),
    inset 0 1px 0 rgba(255,255,255,.96),
    inset 0 -12px 20px rgba(15,143,135,.11);
  color: var(--primary);
  font-size: 33px;
}

.other-donate-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 32px;
  margin-bottom: 20px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 999px;
  background: rgba(255,255,255,.56);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 10px 24px rgba(15,143,135,.07);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
  text-transform: uppercase;
}

.other-donate-intro h2 {
  max-width: 420px;
  margin: 0 0 18px;
  color: #102235;
  font-size: clamp(42px, 4.2vw, 66px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.04;
}

.other-donate-intro h2 span {
  display: block;
  color: var(--primary-dark);
}

.other-donate-intro > p {
  max-width: 440px;
  margin: 0;
  color: #21314d;
  font-size: 17px;
  line-height: 1.72;
}

.other-donate-intro > p strong {
  color: #102235;
  font-weight: 800;
}

.other-donate-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 38px;
}

.other-donate-benefits article {
  display: grid;
  gap: 13px;
  justify-items: center;
  min-width: 0;
  padding: 0 18px;
  text-align: center;
}

.other-donate-benefits article + article {
  border-left: 1px solid rgba(22,34,48,.1);
}

.other-donate-benefits article > span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 20%, rgba(255,255,255,.95), rgba(255,255,255,.32) 60%),
    linear-gradient(145deg, rgba(255,255,255,.68), rgba(22,182,174,.14));
  box-shadow:
    0 16px 34px rgba(22,34,48,.08),
    inset 0 1px 0 rgba(255,255,255,.94);
  color: var(--primary);
  font-size: 25px;
}

.other-donate-benefits h3 {
  margin: 0 0 9px;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.other-donate-benefits p {
  margin: 0;
  color: #22324e;
  font-size: 13.5px;
  line-height: 1.55;
}

.other-donate-actions {
  display: grid;
  grid-template-columns: minmax(250px, .88fr) minmax(330px, 1fr);
  gap: 18px;
  min-width: 0;
}

.donate-glass-card {
  display: flex;
  min-width: 0;
  min-height: 410px;
  flex-direction: column;
  align-items: stretch;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% -14%, rgba(255,255,255,.9), rgba(255,255,255,.42) 44%, transparent 72%),
    linear-gradient(145deg, rgba(255,255,255,.72), rgba(241,249,250,.54));
  box-shadow:
    0 22px 58px rgba(22,34,48,.1),
    inset 0 1px 0 rgba(255,255,255,.9),
    inset 0 -1px 0 rgba(15,143,135,.05);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
}

.donate-glass-card h3 {
  margin: 0;
  color: #102235;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.donate-title-rule {
  width: 38px;
  height: 3px;
  margin: 14px auto 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary-dark));
}

.qr-donate-card {
  align-items: center;
}

.qr-frame {
  display: grid;
  width: min(100%, 272px);
  aspect-ratio: 1;
  place-items: center;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.98), 0 16px 34px rgba(22,34,48,.08);
}

.qr-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: crisp-edges;
}

.upi-icon-row {
  display: flex;
  width: min(100%, 292px);
  margin-top: auto;
  padding: 10px 12px;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 18px;
  background: rgba(255,255,255,.46);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.84), 0 10px 25px rgba(22,34,48,.06);
  white-space: nowrap;
}

.upi-chip {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.84);
  border-radius: 50%;
  background: rgba(255,255,255,.86);
  box-shadow: 0 8px 18px rgba(22,34,48,.08), inset 0 1px 0 rgba(255,255,255,.9);
  font-family: "Inter", "Poppins", sans-serif;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.upi-google { color: #1a73e8; }
.upi-phonepe { color: #5f259f; font-size: 12px; }
.upi-paytm { color: #00baf2; font-size: 8px; }
.upi-bhim { color: #f58220; }
.upi-amazon { color: #111827; }
.upi-upi {
  color: #2f3337;
  font-style: italic;
}

.upi-logo-chip {
  padding: 5px;
}

.upi-logo-chip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.upi-logo-chip[title="Amazon Pay"] img,
.upi-logo-chip[title="UPI"] img,
.upi-logo-chip[title="BHIM"] img,
.upi-logo-chip[title="Google Pay"] img,
.upi-logo-chip[title="PhonePe"] img {
  width: 92%;
}

.bank-donate-card {
  justify-content: space-between;
}

.account-highlight {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 17px;
  align-items: center;
  margin: 22px 0 14px;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 16%, rgba(255,255,255,.34), transparent 30%),
    linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow:
    0 18px 34px rgba(8,108,102,.24),
    inset 0 1px 0 rgba(255,255,255,.28);
  color: #fff;
}

.account-highlight > span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.34);
  font-size: 28px;
}

.account-highlight small {
  display: block;
  margin-bottom: 3px;
  color: rgba(255,255,255,.88);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
}

.account-highlight strong {
  display: block;
  color: #fff;
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.bank-detail-list {
  margin: 0;
}

.bank-detail-list div {
  display: grid;
  grid-template-columns: minmax(126px, .55fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 13px 2px;
  border-bottom: 1px solid rgba(22,34,48,.08);
}

.bank-detail-list dt,
.bank-detail-list dd {
  margin: 0;
}

.bank-detail-list dt {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #263653;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.bank-detail-list dt i {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 50%;
  background: rgba(255,255,255,.62);
  color: #102235;
  font-size: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

.bank-detail-list dd {
  color: #102235;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.55;
}

.bank-transfer-cta {
  display: inline-flex;
  min-height: 56px;
  margin-top: 18px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 15px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.3), transparent 38%),
    linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  box-shadow: 0 18px 34px rgba(8,108,102,.22), inset 0 1px 0 rgba(255,255,255,.27);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.bank-transfer-cta:hover,
.bank-transfer-cta:focus-visible {
  color: #fff;
  filter: saturate(1.04);
  transform: translateY(-1px);
  box-shadow: 0 22px 42px rgba(8,108,102,.28), inset 0 1px 0 rgba(255,255,255,.32);
}

.bank-transfer-cta i {
  font-size: 22px;
}

@media (max-width: 1199.98px) {
  .other-donate-shell {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px;
  }

  .other-donate-intro {
    align-content: start;
  }

  .other-donate-intro h2,
  .other-donate-intro > p {
    max-width: 680px;
  }

  .other-donate-actions {
    grid-template-columns: minmax(260px, .9fr) minmax(330px, 1.1fr);
  }
}

@media (max-width: 991.98px) {
  .other-donate-section {
    margin: 22px 0 30px;
  }

  .other-donate-shell {
    border-radius: 28px;
    padding: 24px;
  }

  .other-donate-actions {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .donate-glass-card {
    min-height: 390px;
    padding: 22px;
  }

  .other-donate-benefits article {
    padding: 0 12px;
  }

  .bank-detail-list div {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 10px 0;
  }
}

@media (max-width: 767.98px) {
  .other-donate-section {
    margin: 18px 0 26px;
    padding: 0 8px;
  }

  .other-donate-shell {
    padding: 20px;
    border-radius: 26px;
  }

  .other-donate-shell::before {
    border-radius: 25px;
  }

  .other-donate-mark {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    font-size: 29px;
  }

  .other-donate-intro {
    justify-items: center;
    padding: 2px 0 0;
    text-align: center;
  }

  .other-donate-eyebrow {
    min-height: 30px;
    margin-bottom: 16px;
    padding: 0 14px;
    font-size: 11px;
  }

  .other-donate-intro h2 {
    max-width: 320px;
    margin-bottom: 14px;
    font-size: clamp(32px, 10.6vw, 42px);
    line-height: 1.08;
  }

  .other-donate-intro > p {
    max-width: 330px;
    font-size: 15px;
    line-height: 1.62;
  }

  .other-donate-benefits {
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    margin-top: 24px;
  }

  .other-donate-benefits article {
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    gap: 13px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.58);
    border-radius: 18px;
    background: rgba(255,255,255,.36);
    text-align: left;
  }

  .other-donate-benefits article + article {
    border-left: 1px solid rgba(255,255,255,.58);
  }

  .other-donate-benefits article > span {
    width: 46px;
    height: 46px;
    font-size: 21px;
  }

  .other-donate-benefits h3 {
    margin-bottom: 4px;
    font-size: 13px;
  }

  .other-donate-benefits p {
    font-size: 12.5px;
    line-height: 1.45;
  }

  .other-donate-actions {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .donate-glass-card {
    min-height: 0;
    padding: 20px;
    border-radius: 22px;
  }

  .donate-glass-card h3 {
    font-size: 20px;
  }

  .donate-title-rule {
    margin-bottom: 18px;
  }

  .qr-frame {
    width: min(100%, 246px);
    padding: 13px;
  }

  .upi-icon-row {
    width: min(100%, 270px);
    margin-top: 18px;
    gap: 5px;
    padding: 9px 10px;
  }

  .upi-chip {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 8px;
  }

  .upi-phonepe {
    font-size: 11px;
  }

  .upi-paytm {
    font-size: 7px;
  }

  .account-highlight {
    grid-template-columns: auto minmax(0, 1fr);
    margin: 18px 0 12px;
    padding: 14px;
    text-align: left;
  }

  .account-highlight > span {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .account-highlight small {
    font-size: 14px;
  }

  .account-highlight strong {
    font-size: 24px;
  }

  .bank-detail-list dt,
  .bank-detail-list dd {
    font-size: 14px;
  }

  .bank-transfer-cta {
    min-height: 52px;
    margin-top: 16px;
    padding: 0 14px;
    font-size: 14.5px;
  }
}

@media (max-width: 379.98px) {
  .other-donate-shell {
    padding: 16px;
  }

  .upi-icon-row {
    gap: 4px;
    padding: 8px;
  }

  .upi-chip {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }
}

/* Human-scaled donation panel refinement */
.other-donate-section {
  margin: 18px 0 34px;
}

.other-donate-shell {
  grid-template-columns: minmax(330px, .9fr) minmax(620px, 1.25fr);
  gap: 22px;
  padding: 24px;
  border-radius: 30px;
  box-shadow:
    0 26px 72px rgba(22,34,48,.11),
    0 10px 34px rgba(15,143,135,.08),
    inset 0 1px 0 rgba(255,255,255,.94),
    inset 0 -1px 0 rgba(15,143,135,.05);
}

.other-donate-shell::before {
  border-radius: 29px;
}

.other-donate-intro {
  padding: 4px 2px;
}

.other-donate-mark {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  font-size: 24px;
}

.other-donate-eyebrow {
  min-height: 26px;
  margin-bottom: 18px;
  padding: 0 15px;
  font-size: 11px;
}

.other-donate-intro h2 {
  max-width: 360px;
  margin-bottom: 14px;
  font-size: clamp(36px, 3.15vw, 50px);
  line-height: 1.07;
}

.other-donate-intro > p {
  max-width: 405px;
  font-size: 15px;
  line-height: 1.62;
}

.other-donate-benefits {
  margin-top: 30px;
}

.other-donate-benefits article {
  gap: 10px;
  padding: 0 14px;
}

.other-donate-benefits article > span {
  width: 44px;
  height: 44px;
  font-size: 20px;
}

.other-donate-benefits h3 {
  margin-bottom: 6px;
  font-size: 12.5px;
}

.other-donate-benefits p {
  font-size: 12.5px;
  line-height: 1.48;
}

.other-donate-actions {
  grid-template-columns: minmax(240px, .86fr) minmax(340px, 1fr);
  gap: 16px;
}

.donate-glass-card {
  min-height: 350px;
  padding: 20px;
  border-radius: 24px;
  box-shadow:
    0 18px 48px rgba(22,34,48,.09),
    inset 0 1px 0 rgba(255,255,255,.9),
    inset 0 -1px 0 rgba(15,143,135,.05);
}

.donate-glass-card h3 {
  font-size: 18px;
}

.donate-title-rule {
  width: 34px;
  height: 2px;
  margin: 12px auto 18px;
}

.qr-frame {
  width: min(100%, 218px);
  padding: 13px;
  border-radius: 16px;
}

.upi-icon-row {
  width: min(100%, 242px);
  gap: 5px;
  padding: 8px 10px;
  border-radius: 15px;
}

.upi-chip {
  width: 27px;
  height: 27px;
  flex-basis: 27px;
  font-size: 7.5px;
}

.upi-phonepe {
  font-size: 10px;
}

.upi-paytm {
  font-size: 7px;
}

.upi-logo-chip {
  padding: 4px;
}

.account-highlight {
  gap: 14px;
  margin: 18px 0 12px;
  padding: 14px 18px;
  border-radius: 15px;
}

.account-highlight > span {
  width: 48px;
  height: 48px;
  font-size: 23px;
}

.account-highlight small {
  font-size: 13.5px;
}

.account-highlight strong {
  font-size: clamp(24px, 1.7vw, 29px);
}

.bank-detail-list div {
  grid-template-columns: minmax(120px, .5fr) minmax(0, 1fr);
  gap: 14px;
  padding: 10px 2px;
}

.bank-detail-list dt {
  gap: 9px;
  font-size: 13.5px;
}

.bank-detail-list dt i {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
  font-size: 12px;
}

.bank-detail-list dd {
  font-size: 13.5px;
}

.bank-transfer-cta {
  min-height: 48px;
  margin-top: 15px;
  gap: 12px;
  border-radius: 14px;
  font-size: 15px;
}

.bank-transfer-cta i {
  font-size: 19px;
}

@media (max-width: 1199.98px) {
  .other-donate-shell {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .other-donate-intro h2,
  .other-donate-intro > p {
    max-width: 600px;
  }
}

@media (max-width: 991.98px) {
  .other-donate-shell {
    padding: 22px;
  }

  .donate-glass-card {
    min-height: 340px;
  }
}

@media (max-width: 767.98px) {
  .other-donate-section {
    margin: 16px 0 24px;
  }

  .other-donate-shell {
    padding: 18px;
    border-radius: 24px;
  }

  .other-donate-shell::before {
    border-radius: 23px;
  }

  .other-donate-mark {
    width: 50px;
    height: 50px;
    margin-bottom: 14px;
    font-size: 23px;
  }

  .other-donate-eyebrow {
    margin-bottom: 14px;
    font-size: 10.5px;
  }

  .other-donate-intro h2 {
    max-width: 290px;
    font-size: clamp(30px, 9.2vw, 38px);
    line-height: 1.1;
  }

  .other-donate-intro > p {
    max-width: 320px;
    font-size: 14px;
  }

  .other-donate-benefits {
    margin-top: 22px;
  }

  .donate-glass-card {
    padding: 18px;
  }

  .qr-frame {
    width: min(100%, 220px);
  }

  .upi-icon-row {
    width: min(100%, 238px);
  }

  .account-highlight {
    padding: 13px 14px;
  }

  .account-highlight > span {
    width: 44px;
    height: 44px;
    font-size: 21px;
  }

  .account-highlight strong {
    font-size: 22px;
  }

  .bank-transfer-cta {
    min-height: 48px;
    font-size: 13.5px;
  }
}

/* Tighter donation panel spacing */
.other-donate-shell {
  align-items: center;
}

.other-donate-actions {
  align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.other-donate-intro h2 {
  max-width: 560px;
  font-size: clamp(34px, 2.45vw, 44px);
  line-height: 1.08;
  white-space: nowrap;
}

.other-donate-intro h2 span {
  display: inline;
}

.other-donate-intro > p {
  max-width: 520px;
  font-size: 15px;
  line-height: 1.55;
}

.other-donate-benefits {
  margin-top: 24px;
}

.donate-glass-card {
  min-height: 0;
}

.qr-donate-card {
  justify-content: space-between;
  padding-bottom: 20px;
}

.qr-frame {
  width: min(100%, 214px);
}

.upi-icon-row {
  width: min(100%, 316px);
  margin-top: 18px;
  gap: 10px;
  padding: 10px 13px;
}

.upi-chip {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
}

.upi-logo-chip {
  padding: 7px;
}

.upi-logo-chip[title="Google Pay"],
.upi-logo-chip[title="PhonePe"],
.upi-logo-chip[title="Paytm"],
.upi-logo-chip[title="BHIM"],
.upi-logo-chip[title="Amazon Pay"],
.upi-logo-chip[title="UPI"] {
  border-radius: 14px;
}

.upi-logo-chip[title="Google Pay"] img,
.upi-logo-chip[title="PhonePe"] img,
.upi-logo-chip[title="Paytm"] img,
.upi-logo-chip[title="BHIM"] img,
.upi-logo-chip[title="Amazon Pay"] img,
.upi-logo-chip[title="UPI"] img {
  width: 100%;
  max-width: 32px;
}

.bank-donate-card {
  padding-bottom: 18px;
}

.account-highlight {
  margin-top: 16px;
}

.bank-detail-list div {
  padding: 9px 2px;
}

@media (max-width: 1199.98px) {
  .other-donate-intro h2 {
    white-space: normal;
  }

  .other-donate-intro h2 span {
    display: block;
  }
}

@media (max-width: 767.98px) {
  .other-donate-actions {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .other-donate-intro h2 {
    max-width: 320px;
    font-size: clamp(30px, 9.2vw, 38px);
    white-space: normal;
  }

  .other-donate-intro h2 span {
    display: block;
  }

  .other-donate-intro > p {
    max-width: 320px;
    font-size: 14px;
  }

  .qr-frame {
    width: min(100%, 208px);
  }

  .upi-icon-row {
    width: min(100%, 300px);
    margin-top: 14px;
    gap: 7px;
    padding: 9px 10px;
  }

  .upi-chip {
    width: 35px;
    height: 35px;
    flex-basis: 35px;
  }

  .upi-logo-chip {
    padding: 6px;
  }
}

/* Final mobile fit for the donation panel */
@media (max-width: 767.98px) {
  .other-donate-section {
    margin: 16px 0 22px;
    padding: 0;
  }

  .other-donate-section .container-fluid {
    padding-right: 12px;
    padding-left: 12px;
  }

  .other-donate-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    padding: 16px;
    border-radius: 22px;
  }

  .other-donate-shell::before {
    border-radius: 21px;
  }

  .other-donate-intro {
    justify-items: start;
    text-align: left;
  }

  .other-donate-mark {
    width: 46px;
    height: 46px;
    margin: 0 0 12px;
    font-size: 21px;
  }

  .other-donate-eyebrow {
    min-height: 24px;
    margin-bottom: 12px;
    padding: 0 12px;
    font-size: 10px;
  }

  .other-donate-intro h2 {
    max-width: 100%;
    margin-bottom: 10px;
    font-size: clamp(28px, 8.4vw, 36px);
    line-height: 1.12;
    white-space: normal;
  }

  .other-donate-intro h2 span {
    display: block;
  }

  .other-donate-intro > p {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.55;
  }

  .other-donate-benefits {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 18px;
  }

  .other-donate-benefits article {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    padding: 10px;
    border-radius: 15px;
  }

  .other-donate-benefits article > span {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .other-donate-benefits h3 {
    margin-bottom: 3px;
    font-size: 12.5px;
  }

  .other-donate-benefits p {
    font-size: 12px;
    line-height: 1.42;
  }

  .other-donate-actions {
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }

  .donate-glass-card {
    width: 100%;
    padding: 16px;
    border-radius: 19px;
  }

  .donate-glass-card h3 {
    font-size: 17px;
  }

  .donate-title-rule {
    margin: 9px auto 14px;
  }

  .qr-frame {
    width: min(100%, 196px);
    padding: 11px;
  }

  .upi-icon-row {
    width: min(100%, 228px);
    margin-top: 12px;
    gap: 4px;
    padding: 7px 8px;
    overflow: hidden;
  }

  .upi-chip {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
  }

  .upi-logo-chip {
    padding: 4px;
  }

  .account-highlight {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
    margin: 14px 0 10px;
    padding: 12px;
    border-radius: 14px;
  }

  .account-highlight > span {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .account-highlight small {
    font-size: 12.5px;
  }

  .account-highlight strong {
    font-size: clamp(20px, 6.4vw, 24px);
    overflow-wrap: anywhere;
  }

  .bank-detail-list div {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 9px 0;
  }

  .bank-detail-list dt {
    gap: 8px;
    font-size: 12.5px;
  }

  .bank-detail-list dt i {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    font-size: 11px;
  }

  .bank-detail-list dd {
    padding-left: 32px;
    font-size: 13px;
    line-height: 1.45;
  }

  .bank-transfer-cta {
    width: 100%;
    min-height: 46px;
    margin-top: 12px;
    padding: 0 12px;
    gap: 9px;
    border-radius: 13px;
    font-size: 13px;
  }

  .bank-transfer-cta i {
    font-size: 17px;
  }
}

@media (max-width: 379.98px) {
  .other-donate-section .container-fluid {
    padding-right: 10px;
    padding-left: 10px;
  }

  .other-donate-shell {
    padding: 13px;
  }

  .other-donate-intro h2 {
    font-size: clamp(26px, 8.2vw, 32px);
  }

  .qr-frame {
    width: min(100%, 184px);
  }

  .upi-icon-row {
    width: min(100%, 210px);
    gap: 3px;
    padding: 6px;
  }

  .upi-chip {
    width: 23px;
    height: 23px;
    flex-basis: 23px;
  }

  .account-highlight strong {
    font-size: 20px;
  }
}

/* Final UPI logo and equal-card sizing */
.other-donate-actions {
  align-items: stretch;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.qr-donate-card,
.bank-donate-card {
  width: 100%;
  height: 100%;
  min-height: 360px;
}

.qr-donate-card {
  justify-content: space-between;
}

.upi-icon-row {
  width: min(100%, 326px);
  gap: 10px;
  padding: 10px 14px;
}

.upi-chip {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
}

.upi-logo-chip {
  padding: 7px;
}

.upi-logo-chip img {
  max-width: 34px;
  max-height: 24px;
}

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

  .qr-donate-card,
  .bank-donate-card {
    height: auto;
    min-height: 0;
  }

  .upi-icon-row {
    width: min(100%, 268px);
    gap: 5px;
    padding: 8px 9px;
  }

  .upi-chip {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .upi-logo-chip {
    padding: 6px;
  }

  .upi-logo-chip img {
    max-width: 28px;
    max-height: 20px;
  }
}

@media (max-width: 379.98px) {
  .upi-icon-row {
    width: min(100%, 250px);
    gap: 4px;
    padding: 7px 8px;
  }

  .upi-chip {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .upi-logo-chip {
    padding: 5px;
  }
}

/* Make UPI brand logos readable */
.upi-icon-row {
  width: min(100%, 430px);
  justify-content: center;
  gap: 9px;
  padding: 10px 12px;
}

.upi-chip {
  width: 58px;
  height: 42px;
  flex: 0 0 58px;
  border-radius: 14px;
}

.upi-logo-chip {
  padding: 6px 8px;
}

.upi-logo-chip img {
  width: 100%;
  height: 100%;
  max-width: 48px;
  max-height: 28px;
  object-fit: contain;
}

.upi-logo-chip[title="PhonePe"] img,
.upi-logo-chip[title="BHIM"] img,
.upi-logo-chip[title="Amazon Pay"] img,
.upi-logo-chip[title="UPI"] img {
  max-width: 44px;
}

@media (max-width: 767.98px) {
  .upi-icon-row {
    width: min(100%, 336px);
    gap: 5px;
    padding: 8px;
  }

  .upi-chip {
    width: 48px;
    height: 38px;
    flex-basis: 48px;
  }

  .upi-logo-chip {
    padding: 5px 7px;
  }

  .upi-logo-chip img {
    max-width: 40px;
    max-height: 24px;
  }
}

@media (max-width: 379.98px) {
  .upi-icon-row {
    width: min(100%, 306px);
    gap: 4px;
    padding: 7px;
  }

  .upi-chip {
    width: 43px;
    height: 35px;
    flex-basis: 43px;
  }

  .upi-logo-chip {
    padding: 5px 6px;
  }

  .upi-logo-chip img {
    max-width: 35px;
    max-height: 22px;
  }
}

/* Compact premium hero */
.hero-section {
  min-height: 540px;
  padding: 104px 0 34px;
  background:
    linear-gradient(
      90deg,
      rgba(245,251,253,1) 0%,
      rgba(245,251,253,.97) 18%,
      rgba(245,251,253,.82) 32%,
      rgba(245,251,253,.42) 46%,
      rgba(245,251,253,.08) 58%,
      rgba(245,251,253,0) 70%
    ),
    url("../images/Smile_school.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
}

.hero-section .row {
  --bs-gutter-x: 1.1rem;
  --bs-gutter-y: 1rem;
  min-height: 420px;
}

.hero-section::after {
  height: 110px;
}

.hero-bg-elements .blur {
  filter: blur(28px);
  opacity: .44;
}

.blur-one {
  width: 230px;
  height: 230px;
  top: 82px;
}

.blur-two {
  width: 170px;
  height: 170px;
  top: 108px;
}

.hero-copy {
  max-width: 380px;
  padding: 24px 30px 24px 0;
}

.eyebrow {
  font-size: 12px;
  margin-bottom: 10px;
}

.hero-copy h1 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.06;
  margin-bottom: 12px;
}

.hero-copy p {
  max-width: 330px;
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 18px;
}

.hero-actions {
  gap: 10px;
}

.hero-actions .btn {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 14px;
}

.hero-progress {
  width: min(100%, 340px);
  max-width: 340px;
  margin-top: 28px;
  padding: 16px 18px;
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(18px);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
}

.hero-progress h2 {
  font-size: 14px;
  margin-bottom: 10px;
}

.heart-button {
  width: 30px;
  height: 30px;
  font-size: 16px;
}

.metric-label,
.hero-metrics span {
  font-size: 11px;
}

.goal-value {
  margin: 2px 0 9px;
  font-size: 22px;
}

.premium-progress {
  height: 6px;
}

.progress-percent {
  margin-top: -15px;
  font-size: 12px;
}

.hero-metrics {
  margin-top: 14px;
}

.hero-metrics div {
  padding: 8px 0;
}

.hero-metrics div:nth-child(odd) {
  padding-right: 11px;
}

.hero-metrics div:nth-child(even) {
  padding-left: 11px;
}

.hero-metrics div:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  border-right: 0;
  padding-right: 0;
}

.hero-metrics strong {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.25;
}

.wall-shell {
  padding: 28px 0 64px;
}

.wall-shell .container-fluid {
  min-width: 0;
}

.app-board {
  padding: 18px;
  border-radius: 24px;
}

@media (min-width: 1200px) {
  .wall-shell .dashboard-layout {
    display: grid;
    grid-template-columns: minmax(255px, .9fr) minmax(520px, 1.8fr) minmax(270px, .9fr);
    align-items: stretch !important;
    gap: 14px;
    margin-left: 0;
    margin-right: 0;
  }

  .wall-shell .dashboard-layout > .dashboard-column {
    display: flex;
    flex-direction: column;
    width: auto;
    max-width: none;
    min-width: 0;
    min-height: 0;
    height: 100%;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  .wall-shell .dashboard-column--left .left-panel,
  .wall-shell .dashboard-column--center .wall-card {
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
  }

  .wall-shell .dashboard-column--center .wall-card,
  .wall-shell .dashboard-column--right {
    display: flex;
    flex-direction: column;
  }

  .wall-shell .dashboard-column--center .wall-grid-wrap {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
  }

  .wall-shell .dashboard-column--center .bottom-info-card {
    flex: 0 0 auto;
  }

  .wall-shell .dashboard-column--right .right-panel {
    flex: 0 0 auto;
  }

  .wall-shell .dashboard-column--right .recent-donors-card {
    flex: 1 1 auto;
    height: auto;
    max-height: none;
    min-height: 0;
    margin-bottom: 0;
  }
}

@media (min-width: 1400px) {
  .wall-shell .dashboard-layout {
    grid-template-columns: minmax(280px, .9fr) minmax(600px, 1.8fr) minmax(300px, .9fr);
  }
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.top-toolbar {
  min-height: 70px;
}

.toolbar-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 265px;
}

.toolbar-brand strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
}

.toolbar-brand small {
  display: block;
  color: var(--paragraph);
  font-size: 12px;
}

.search-box {
  flex: 1;
  min-width: 260px;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  padding: 0 13px 0 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 8px 22px rgba(22,34,48,.04);
}

.search-box input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--heading);
  min-width: 0;
}

.search-box input::placeholder {
  color: #98a2b3;
}

.search-box kbd {
  border: 1px solid var(--border);
  color: #475467;
  background: #f2f4f7;
  border-radius: 8px;
  font-size: 11px;
  padding: 4px 8px;
}

.filter-group,
.tool-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-chip,
.soft-action {
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.94);
  color: var(--heading);
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 10px 25px rgba(22,34,48,.05);
}

.filter-chip.active {
  border-color: rgba(22,182,174,.34);
  box-shadow: 0 0 0 4px rgba(22,182,174,.08);
}

.custom-contribution-section {
  margin: 24px 0 0;
}

.custom-contribution-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.custom-contribution-card,
.custom-contribution-layout .faq-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.72);
  background:
    radial-gradient(circle at 10% 0, rgba(255,255,255,.9), transparent 36%),
    radial-gradient(circle at 86% 4%, rgba(22,182,174,.12), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.86), rgba(255,255,255,.62));
  box-shadow: 0 30px 86px rgba(22,34,48,.12), inset 0 1px 0 rgba(255,255,255,.92);
  backdrop-filter: blur(28px) saturate(1.45);
  -webkit-backdrop-filter: blur(28px) saturate(1.45);
  height: 100%;
}

.custom-contribution-card {
  display: flex;
  flex-direction: column;
}

.custom-contribution-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 27px;
  background: linear-gradient(115deg, rgba(255,255,255,.7), transparent 32%, rgba(255,255,255,.2) 62%, transparent);
  pointer-events: none;
}

.custom-contribution-card > * {
  position: relative;
  z-index: 1;
}

.custom-contribution-head {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.custom-contribution-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  border: 1px solid rgba(22,182,174,.16);
  background: linear-gradient(135deg, rgba(22,182,174,.13), rgba(255,255,255,.72));
  color: var(--primary-dark);
  font-size: 28px;
  box-shadow: 0 18px 42px rgba(15,143,135,.1), inset 0 1px 0 rgba(255,255,255,.85);
}

.custom-contribution-head h2 {
  margin: 0 0 4px;
  color: #0f2140;
  font-size: clamp(22px, 1.7vw, 28px);
  font-weight: 800;
  letter-spacing: 0;
}

.custom-contribution-head p {
  max-width: 700px;
  margin: 0;
  color: #52637d;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

.custom-amount-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.custom-amount-card {
  position: relative;
  min-height: 56px;
  border: 1px solid rgba(218,228,236,.92);
  border-radius: 18px;
  background: rgba(255,255,255,.68);
  color: #0f2140;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(22,34,48,.06), inset 0 1px 0 rgba(255,255,255,.82);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease, color .24s ease;
  will-change: transform;
}

.custom-amount-card i {
  position: absolute;
  top: 10px;
  right: 12px;
  opacity: 0;
  transform: scale(.75);
  transition: opacity .2s ease, transform .2s ease;
}

.custom-amount-card:hover,
.custom-amount-card:focus-visible {
  outline: 0;
  transform: translate3d(0, -4px, 0) scale(1.015);
  border-color: rgba(22,182,174,.32);
  box-shadow: 0 22px 46px rgba(22,34,48,.1);
}

.custom-amount-card.is-selected {
  border-color: rgba(22,182,174,.44);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  box-shadow: 0 20px 48px rgba(15,143,135,.22), inset 0 1px 0 rgba(255,255,255,.28);
}

.custom-amount-card.is-selected i {
  opacity: 1;
  transform: scale(1);
}

.custom-input-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(220px, 320px);
  align-items: center;
  gap: 14px;
  min-height: 88px;
  margin-bottom: 4px;
  padding: 16px 20px;
  border: 1px solid rgba(218,228,236,.86);
  border-radius: 24px;
  background: rgba(255,255,255,.62);
  box-shadow: 0 18px 42px rgba(22,34,48,.07), inset 0 1px 0 rgba(255,255,255,.88);
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.custom-input-card:focus-within {
  border-color: rgba(22,182,174,.45);
  background: rgba(255,255,255,.75);
  box-shadow: 0 22px 52px rgba(22,34,48,.1), 0 0 0 5px rgba(22,182,174,.1);
}

.custom-input-symbol {
  color: #0f2140;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.custom-input-wrap {
  min-width: 0;
}

.custom-input-wrap small {
  display: block;
  margin-bottom: 4px;
  color: #667085;
  font-size: 11px;
  font-weight: 700;
}

.custom-input-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0f2140;
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 800;
  letter-spacing: 0;
}

.custom-input-wrap input::placeholder {
  color: #9aa8bd;
}

.custom-security-badge {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding-left: 16px;
  border-left: 1px solid rgba(42,62,79,.12);
}

.custom-security-badge > i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(22,182,174,.11);
  color: var(--primary-dark);
}

.custom-security-badge strong,
.custom-security-badge small {
  display: block;
}

.custom-security-badge strong {
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
}

.custom-security-badge small {
  color: #52637d;
  font-size: 11px;
  line-height: 1.35;
}

.custom-amount-error {
  min-height: 18px;
  margin: 0 0 10px;
  color: #c43232;
  font-size: 12px;
  font-weight: 800;
}

.support-matters-banner {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(170px, 230px);
  align-items: center;
  gap: 14px;
  min-height: 106px;
  padding: 14px 18px;
  border: 1px solid rgba(22,182,174,.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 0, rgba(22,182,174,.18), transparent 42%),
    linear-gradient(135deg, rgba(22,182,174,.11), rgba(255,255,255,.68));
  box-shadow: 0 18px 44px rgba(15,143,135,.08), inset 0 1px 0 rgba(255,255,255,.78);
}

.support-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  background: radial-gradient(circle at 30% 18%, #2fd0c7, var(--primary-dark));
  box-shadow: 0 18px 36px rgba(15,143,135,.2), inset 0 1px 0 rgba(255,255,255,.35);
}

.support-matters-banner h3 {
  margin: 0 0 4px;
  color: #0f2140;
  font-size: 16px;
  font-weight: 800;
}

.support-matters-banner p {
  max-width: 580px;
  margin: 0;
  color: #52637d;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
}

.education-illustration {
  position: relative;
  min-height: 112px;
}

.education-illustration span {
  position: absolute;
  display: block;
}

.book-open {
  left: 4px;
  bottom: 8px;
  width: 118px;
  height: 34px;
  border-radius: 50% 50% 8px 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(22,182,174,.16));
  border-bottom: 5px solid rgba(15,143,135,.28);
  box-shadow: 0 14px 24px rgba(15,143,135,.1);
}

.book-stack-one,
.book-stack-two {
  right: 10px;
  width: 92px;
  height: 18px;
  border-radius: 6px;
  background: rgba(22,182,174,.38);
  box-shadow: 0 10px 22px rgba(15,143,135,.1);
}

.book-stack-one { bottom: 24px; transform: rotate(5deg); }
.book-stack-two { bottom: 4px; background: rgba(15,143,135,.65); transform: rotate(-4deg); }

.school-mark {
  right: 84px;
  bottom: 44px;
  width: 54px;
  height: 54px;
  display: grid !important;
  place-items: center;
  border-radius: 16px;
  background: rgba(255,255,255,.68);
  color: var(--primary-dark);
  font-size: 28px;
  box-shadow: 0 14px 28px rgba(15,143,135,.08);
}

.leaf {
  width: 12px;
  height: 34px;
  border-radius: 12px 12px 0 12px;
  background: rgba(22,182,174,.42);
}

.leaf-one { right: 152px; top: 8px; transform: rotate(-24deg); }
.leaf-two { right: 132px; top: 2px; transform: rotate(18deg); }

.custom-trust-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.custom-trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(218,228,236,.76);
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  color: #52637d;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(22,34,48,.05), inset 0 1px 0 rgba(255,255,255,.86);
}

.custom-trust-strip i {
  color: var(--primary-dark);
}

.custom-contribute-btn {
  position: relative;
  width: min(460px, 100%);
  height: 56px;
  margin: 0 auto;
  border: 0;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  box-shadow: 0 22px 48px rgba(15,143,135,.24), inset 0 1px 0 rgba(255,255,255,.28);
  font-size: 18px;
  font-weight: 800;
  transition: transform .24s ease, box-shadow .24s ease;
  overflow: hidden;
  will-change: transform;
}

.custom-contribute-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0 34%, rgba(255,255,255,.34) 48%, transparent 62% 100%);
  transform: translateX(-120%);
  transition: transform .55s ease;
}

.custom-contribute-btn > * {
  position: relative;
  z-index: 1;
}

.custom-contribute-btn .bi-heart {
  animation: customHeartPulse 1.8s ease-in-out infinite;
}

.custom-contribute-btn .bi-arrow-right {
  transition: transform .24s ease;
}

.custom-contribute-btn:hover,
.custom-contribute-btn:focus-visible {
  outline: 0;
  transform: translate3d(0, -4px, 0);
  box-shadow: 0 28px 60px rgba(15,143,135,.3), 0 10px 24px rgba(22,182,174,.16);
}

.custom-contribute-btn:hover::before,
.custom-contribute-btn:focus-visible::before {
  transform: translateX(120%);
}

.custom-contribute-btn:hover .bi-arrow-right,
.custom-contribute-btn:focus-visible .bi-arrow-right {
  transform: translate3d(6px, 0, 0);
}

.custom-contribute-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

@keyframes customHeartPulse {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.16); }
}

.dot {
  width: 13px;
  height: 13px;
  border-radius: 4px;
  display: inline-block;
}

.dot.available { background: linear-gradient(135deg, #44d8c7, var(--primary)); }
.dot.sponsored { background: linear-gradient(135deg, #FFD866, #D9A321); }
.dot.selected { background: #ff2d3d; }

.reset-strong {
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
}

.left-panel,
.right-panel,
.recent-donors-card,
.faq-card {
  padding: 24px;
}

.left-panel h3,
.right-panel h3,
.recent-donors-card h3,
.faq-card h3,
.timeline-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 10px;
}

.left-panel h3 span {
  display: block;
  color: var(--primary-dark);
  font-size: 20px;
}

.left-panel p {
  color: var(--paragraph);
  line-height: 1.55;
  margin-bottom: 18px;
}

.progress-ring {
  width: 190px;
  height: 190px;
  margin: 9px auto 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 57%, transparent 58%),
    conic-gradient(var(--primary) calc(var(--value) * 1%), #d8f0ef 0);
  box-shadow: inset 0 0 0 1px #e2f1ef;
}

.progress-ring div {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  align-content: center;
}

.progress-ring strong {
  font-size: 40px;
  line-height: 1;
}

.progress-ring span {
  color: var(--paragraph);
  font-size: 12px;
}

.panel-label {
  display: block;
  text-transform: uppercase;
  color: var(--paragraph);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.raised-total {
  display: block;
  font-size: 22px;
  margin-bottom: 4px;
}

.left-panel small {
  color: var(--paragraph);
}

.mini-totals {
  display: flex;
  justify-content: space-between;
  margin: 18px 0 10px;
  color: var(--heading);
  font-weight: 800;
  font-size: 13px;
}

.mini-totals span:last-child {
  text-align: right;
}

.thin-progress {
  height: 7px;
  margin-bottom: 22px;
  background: #e7edf3;
}

.stats-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.stats-list li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 8px;
  color: #475467;
  font-size: 13px;
}

.stats-list i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: rgba(22,182,174,.12);
}

.stats-list strong {
  color: var(--heading);
}

.trust-line {
  color: #667085;
  font-size: 12px;
  text-align: center;
  margin-top: 15px;
}

.wall-card {
  padding: 18px;
}

.wall-grid-wrap {
  position: relative;
  height: 520px;
  overflow: auto;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  border-radius: 16px;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(8,108,102,.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(8,108,102,.04) 1px, transparent 1px),
    linear-gradient(180deg, #f7fbfb, #edf7f6);
  background-size: 28px 28px, 28px 28px, auto;
  border: 1px solid var(--border);
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  cursor: grab;
  overscroll-behavior: contain;
  contain: layout paint;
  will-change: scroll-position;
}

.wall-grid {
  display: grid;
  grid-template-columns: repeat(50, var(--unit-size));
  grid-auto-rows: 44px;
  gap: var(--unit-gap);
  transform-origin: top left;
  width: calc(50 * var(--unit-size) + 49 * var(--unit-gap));
  min-width: calc(50 * var(--unit-size) + 49 * var(--unit-gap));
  max-width: none;
  contain: layout paint;
  position: relative;
}

.wall-grid-wrap.is-panning {
  cursor: grabbing;
  scroll-behavior: auto;
}

.smile-unit {
  border: 1px solid rgba(231,237,243,.96);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f8fbfd);
  color: #102235;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 4px 10px rgba(22,34,48,.045), inset 0 1px 0 rgba(255,255,255,.92);
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  contain: layout paint;
}

.smile-unit.available {
  background: linear-gradient(145deg, var(--primary-light), var(--primary));
  color: #fff;
  border-color: rgba(255,255,255,.35);
  box-shadow: 0 5px 12px rgba(15,143,135,.14), inset 0 1px 0 rgba(255,255,255,.28);
}

.smile-unit.sponsored,
.smile-unit[data-state="sponsored"],
.smile-unit[data-payment-status="PAID"],
.smile-unit[data-payment-status="SUCCESS"],
.smile-unit[data-payment-status="COMPLETED"] {
  background:
    linear-gradient(145deg, rgba(255,255,255,.34), transparent 26%),
    linear-gradient(135deg, #ffe071 0%, #f0bd30 48%, #d99f16 100%);
  border: 3px solid #fff7d8;
  color: #2f250c;
  opacity: 1 !important;
  box-shadow: 0 0 0 3px rgba(217,163,33,.22), 0 8px 18px rgba(217,163,33,.2), inset 0 1px 0 rgba(255,255,255,.72);
  cursor: not-allowed;
}

.smile-unit.selected {
  background:
    linear-gradient(145deg, rgba(255,255,255,.28), transparent 24%),
    linear-gradient(135deg, #ffe071 0%, #f0bd30 48%, #d99f16 100%);
  color: #2f250c;
  border: 3px solid #fff7d8;
  box-shadow: 0 0 0 3px rgba(217,163,33,.32), 0 10px 22px rgba(217,163,33,.26);
  animation: selectPop .25s ease both;
}

.smile-unit.sponsored.selected {
  background:
    linear-gradient(145deg, rgba(255,255,255,.34), transparent 26%),
    linear-gradient(135deg, #ffe071 0%, #f0bd30 48%, #d99f16 100%);
  border: 3px solid #fff7d8;
  color: #2f250c;
  opacity: 1 !important;
  box-shadow: 0 0 0 4px rgba(217,163,33,.28), 0 14px 30px rgba(217,163,33,.28), inset 0 1px 0 rgba(255,255,255,.72);
  animation: none;
}

.wall-grid.is-bulk-selecting .smile-unit,
.wall-grid.is-bulk-selecting .smile-unit::before,
.wall-grid.has-large-selection .smile-unit.selected,
.wall-grid.has-large-selection .smile-unit.selected::before {
  animation: none !important;
  transition: none !important;
}

.wall-grid .smile-unit.sponsored::before {
  animation: none;
}

.smile-unit.hidden {
  opacity: .08;
  pointer-events: none;
}

.smile-unit .avatar {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.78);
  background: radial-gradient(circle at 35% 28%, #ffd0b5 0 25%, #6f402d 26% 46%, #f2b28e 47% 100%);
}

.smile-unit.selected::after,
.smile-unit.sponsored::after,
.smile-unit[data-state="sponsored"]::after,
.smile-unit[data-payment-status="PAID"]::after,
.smile-unit[data-payment-status="SUCCESS"]::after,
.smile-unit[data-payment-status="COMPLETED"]::after {
  content: "✓";
  position: absolute;
  right: 8px;
  top: 7px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--gold-dark);
  font-size: 12px;
}

.zoom-controls {
  position: sticky;
  left: calc(100% - 54px);
  bottom: 118px;
  width: 44px;
  display: grid;
  gap: 10px;
  z-index: 4;
  pointer-events: none;
}

.zoom-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.96);
  color: var(--heading);
  box-shadow: 0 14px 30px rgba(22,34,48,.1);
  pointer-events: auto;
}

/* Keep Smile Unit glow and selected borders from being clipped */
.wall-grid-wrap {
  padding: 24px 18px 28px;
  scroll-padding: 24px 18px 28px;
}

.wall-grid {
  padding: 6px;
  width: calc(50 * var(--unit-size) + 49 * var(--unit-gap) + 12px);
  min-width: calc(50 * var(--unit-size) + 49 * var(--unit-gap) + 12px);
  contain: layout;
}

.smile-unit {
  overflow: visible;
}

.pan-help {
  position: sticky;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 20px);
  padding: 8px 17px;
  border: 1px solid var(--border);
  border-radius: 99px;
  background: rgba(255,255,255,.94);
  color: #475467;
  font-size: 12px;
  box-shadow: 0 12px 26px rgba(22,34,48,.08);
}

.bottom-info-card {
  display: grid;
  grid-template-columns: 150px minmax(118px, 1fr) minmax(80px,.45fr) minmax(90px,.5fr) 240px;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  padding: 18px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 35px rgba(22,34,48,.08);
}

.unit-gold {
  height: 82px;
  border-radius: 16px;
  transform: perspective(300px) rotateX(18deg) rotateZ(-8deg);
  display: grid;
  place-items: center;
  color: #876215;
  font-style: italic;
  font-size: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.7), transparent 32%),
    linear-gradient(135deg, #ffe8a1, #d19a18 72%);
  box-shadow: 0 22px 34px rgba(143,102,19,.26), inset 0 1px 1px rgba(255,255,255,.8);
}

.bottom-copy h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 11px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
}

.status-pill.selected,
.selection-count {
  background: #fff4c8;
  color: #7b5910;
}

.status-pill.available {
  background: rgba(22,182,174,.12);
  color: var(--primary-dark);
}

.status-pill.sponsored {
  background: #fff4c8;
  color: #7b5910;
}

.bottom-copy strong {
  display: block;
  margin: 8px 0 6px;
  color: var(--primary-dark);
  font-size: 14px;
}

.bottom-copy p {
  margin: 0;
  color: var(--paragraph);
  font-size: 14px;
}

.bottom-detail {
  padding-left: 22px;
  border-left: 1px solid var(--border);
}

.bottom-detail span {
  display: block;
  color: var(--paragraph);
  font-size: 13px;
  margin-bottom: 6px;
}

.bottom-detail strong {
  color: var(--heading);
  font-size: 14px;
}

.sponsor-this {
  position: relative;
  isolation: isolate;
  width: 240px;
  min-width: 240px;
  max-width: 260px;
  height: 64px;
  min-height: 64px;
  padding: 0 clamp(4px, .42vw, 10px);
  border: 1px solid transparent;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  box-shadow: 0 16px 34px rgba(15,143,135,.25);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .2px;
  line-height: 1;
  white-space: nowrap;
  transform: translateZ(0);
  transition: transform .3s ease-in-out, box-shadow .3s ease-in-out, filter .3s ease-in-out, opacity .3s ease-in-out;
  will-change: transform;
}

.sponsor-this::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 28% 12%, rgba(255,255,255,.52), transparent 34%),
    linear-gradient(135deg, #20c8bf 0%, var(--primary) 100%);
  opacity: 0;
  transition: opacity .3s ease-in-out;
}

.sponsor-this::after {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -2;
  border-radius: 28px;
  background: radial-gradient(circle, rgba(39,194,181,.34), transparent 66%);
  opacity: 0;
  filter: blur(12px);
  transition: opacity .3s ease-in-out;
}

.sponsor-this__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, .42vw, 10px);
  width: 100%;
  min-width: 0;
  white-space: nowrap;
}

.sponsor-this__label {
  flex: 0 1 auto;
  min-width: max-content;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.sponsor-this__icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transform: translateZ(0);
  transition: transform .3s ease-in-out;
}

.sponsor-this__arrow {
  flex-basis: 19px;
  width: 19px;
}

.sponsor-this:hover,
.sponsor-this:focus-visible {
  color: #fff;
  filter: brightness(1.04);
  transform: translate3d(0, -3px, 0);
  box-shadow:
    0 20px 44px rgba(15,143,135,.33),
    0 0 24px rgba(22,182,174,.22),
    inset 0 1px 0 rgba(255,255,255,.54);
}

.sponsor-this:hover::before,
.sponsor-this:focus-visible::before,
.sponsor-this:hover::after,
.sponsor-this:focus-visible::after {
  opacity: 1;
}

.sponsor-this:hover .sponsor-this__arrow,
.sponsor-this:focus-visible .sponsor-this__arrow {
  transform: translate3d(6px, 0, 0);
}

.sponsor-this:hover .sponsor-this__heart,
.sponsor-this:focus-visible .sponsor-this__heart {
  transform: scale(1.08) translateZ(0);
}

.sponsor-this:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 4px rgba(39,194,181,.22),
    0 0 0 7px rgba(255,255,255,.9),
    0 24px 50px rgba(17,156,149,.38),
    inset 0 1px 0 rgba(255,255,255,.54);
}

.sponsor-this:active {
  transform: scale(.98) translateZ(0);
}

.sponsor-this:disabled,
.sponsor-this[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .72;
  transform: none;
}

.sponsor-this.is-loading {
  pointer-events: none;
}

.sponsor-this.is-sponsored {
  background:
    linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 42%),
    linear-gradient(180deg, #29bf8f 0%, #11985f 100%);
  box-shadow:
    0 18px 38px rgba(17,152,95,.24),
    inset 0 1px 0 rgba(255,255,255,.4);
  opacity: 1;
}

.sponsor-this__spinner {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  border: 2px solid rgba(255,255,255,.46);
  border-top-color: #fff;
  border-radius: 50%;
  animation: sponsorCtaSpin .75s linear infinite;
}

@keyframes sponsorCtaSpin {
  to {
    transform: rotate(360deg);
  }
}

.close-card {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: #475467;
}

.right-panel {
  margin-bottom: 18px;
}

.left-panel {
  padding: 22px 22px 20px;
}

.left-panel p {
  margin-bottom: 14px;
}

.progress-ring {
  margin: 8px auto 18px;
}

.stats-list {
  margin: 0 0 16px;
  gap: 11px;
}

.right-panel {
  margin-bottom: 14px;
}

.recent-donors-card {
  margin-bottom: 16px;
  height: 404px;
  max-height: 404px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.recent-donors-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.recent-donors-head h3 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.recent-donors-head h3 i {
  color: var(--primary);
  font-size: 16px;
}

.recent-donors-view {
  border: 1px solid var(--border);
  border-radius: 99px;
  background: rgba(255,255,255,.72);
  color: var(--primary-dark);
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.recent-donors-view:hover,
.recent-donors-view:focus-visible {
  border-color: rgba(15,143,135,.28);
  background: #fff;
  box-shadow: 0 10px 24px rgba(16,34,53,.08);
  transform: translateY(-1px);
}

.recent-donors-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  padding-right: 4px;
  margin-right: -4px;
}

.recent-donors-list::-webkit-scrollbar {
  width: 6px;
}

.recent-donors-list::-webkit-scrollbar-track {
  background: transparent;
}

.recent-donors-list::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: rgba(15,143,135,.26);
}

.recent-donors-list {
  scrollbar-width: thin;
  scrollbar-color: rgba(15,143,135,.35) transparent;
}

.recent-donor-row {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 10px 8px;
  background: transparent;
  color: inherit;
  text-align: left;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.recent-donor-row + .recent-donor-row {
  margin-top: 4px;
}

.recent-donor-row:hover,
.recent-donor-row:focus-visible {
  border-color: rgba(15,143,135,.12);
  background: rgba(255,255,255,.68);
  box-shadow: 0 10px 24px rgba(16,34,53,.06);
  transform: translateY(-1px);
}

.recent-donor-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(22,182,174,.16), rgba(255,216,102,.24));
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.78);
}

.recent-donor-main {
  min-width: 0;
}

.recent-donor-name,
.recent-donor-amount {
  display: block;
  color: var(--heading);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.recent-donor-location,
.recent-donor-time {
  display: block;
  color: var(--paragraph);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.recent-donor-name,
.recent-donor-location {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-donor-meta {
  text-align: right;
  white-space: nowrap;
}

.recent-donor-empty {
  min-height: 180px;
  display: grid;
  place-items: center;
  color: var(--paragraph);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.recent-donors-note {
  flex: 0 0 auto;
  margin-top: 14px;
  border: 1px solid rgba(15,143,135,.12);
  border-radius: 14px;
  background: rgba(22,182,174,.08);
  color: #475467;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.recent-donors-note i {
  color: var(--primary);
  margin-right: 4px;
}

.recent-donors-modal {
  position: fixed;
  inset: 0;
  z-index: 2060;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(10,24,36,.24);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.recent-donors-dialog {
  width: min(520px, 100%);
  max-height: min(720px, calc(100vh - 32px));
  display: flex;
  flex-direction: column;
}

.recent-donors-dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.recent-donors-dialog-head h3 {
  margin: 0;
}

.recent-donors-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--heading);
}

.selection-count {
  border-radius: 99px;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.selection-quantity {
  margin-top: 18px;
}

.selection-quantity label {
  display: block;
  margin-bottom: 8px;
  color: var(--heading);
  font-size: 12px;
  font-weight: 900;
}

.selection-quantity-control {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.82);
  overflow: hidden;
}

.selection-quantity-control button {
  width: 38px;
  height: 46px;
  border: 0;
  background: transparent;
  color: var(--heading);
  font-size: 18px;
}

.selection-quantity-control input {
  width: 100%;
  height: 46px;
  border: 0;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: transparent;
  color: var(--heading);
  text-align: center;
  font-weight: 900;
  outline: 0;
}

.selection-quantity-control input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.selection-quantity-control input[type="number"]::-webkit-outer-spin-button,
.selection-quantity-control input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.selection-list {
  margin: 14px 0 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-height: 255px;
  overflow: auto;
}

.empty-selection {
  margin: 18px 0;
  color: var(--paragraph);
  font-size: 13px;
}

.selection-item {
  display: grid;
  grid-template-columns: 1fr auto 30px;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.selection-item--grouped {
  grid-template-columns: minmax(0,1fr) auto 30px;
  padding: 10px 0;
}

.selection-item--grouped > span {
  color: var(--heading);
  font-weight: 900;
  white-space: nowrap;
}

.selection-item-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.selection-item-main small {
  color: var(--paragraph);
  font-size: 11px;
  font-weight: 700;
}

.selection-item:last-child {
  border-bottom: 0;
}

.selection-item button {
  border: 0;
  background: transparent;
  color: var(--heading);
  font-size: 16px;
}

.contribution-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-weight: 800;
}

.contribution-row strong {
  color: var(--primary-dark);
  font-size: 26px;
}

.custom-contribution-layout .faq-card {
  display: flex;
  flex-direction: column;
}

.custom-contribution-layout .faq-card h3 {
  margin-bottom: 10px;
}

.custom-contribution-layout .faq-card .accordion {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.custom-contribution-layout .faq-card .accordion-item {
  border-color: var(--border);
  background: transparent;
}

.custom-contribution-layout .faq-card .accordion-item:last-child {
  margin-bottom: 0;
}

.custom-contribution-layout .faq-card .accordion-button {
  padding: 16px 0;
  font-size: 13px;
  font-weight: 700;
  box-shadow: none;
  color: var(--heading);
  background: transparent;
}

.custom-contribution-layout .faq-card .accordion-button:not(.collapsed) {
  color: var(--primary-dark);
}

.custom-contribution-layout .faq-card .accordion-body {
  padding: 0 0 16px;
  color: var(--paragraph);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1199px) {
  .custom-contribution-layout {
    grid-template-columns: 1fr;
  }

  .custom-contribution-card,
  .custom-contribution-layout .faq-card {
    padding: 24px;
  }

  .recent-donors-card {
    margin-bottom: 18px;
    height: 430px;
    max-height: 430px;
  }
}

@media (max-width: 991px) {
  .custom-amount-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .custom-input-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .custom-security-badge {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid rgba(42,62,79,.12);
    padding-left: 0;
    padding-top: 10px;
  }

  .support-matters-banner {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .education-illustration {
    display: none;
  }
}

@media (max-width: 575px) {
  .custom-contribution-card,
  .custom-contribution-layout .faq-card {
    padding: 20px 16px;
  }

  .custom-amount-grid {
    grid-template-columns: 1fr;
  }

  .custom-contribution-head {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .custom-contribution-icon {
    margin-bottom: 2px;
  }
}

.impact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.94);
}

.impact-strip article {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 24px;
  border-right: 1px solid var(--border);
}

.impact-strip article:last-child {
  border-right: 0;
}

.impact-strip span {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--primary-dark);
  background: rgba(22,182,174,.11);
  font-size: 25px;
}

.impact-strip h3 {
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 6px;
}

.impact-strip p {
  margin: 0;
  color: var(--paragraph);
  font-size: 13px;
  line-height: 1.5;
}

.timeline-card {
  margin-top: 18px;
  padding: 24px;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 35px;
  border-top: 1px dashed #b8c2cc;
}

.timeline-step {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 7px;
}

.timeline-step span {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid var(--border);
  background: #fff;
  color: #344054;
  font-size: 26px;
  box-shadow: 0 14px 30px rgba(22,34,48,.06);
}

.timeline-step.completed span,
.timeline-step.current span {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg, var(--primary-light), var(--primary));
}

.timeline-step strong {
  font-size: 13px;
}

.timeline-step small {
  color: var(--paragraph);
}

.timeline-step em {
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 99px;
  background: #eef2f4;
  color: #667085;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.timeline-step.completed em {
  background: rgba(22,182,174,.18);
  color: var(--primary-dark);
}

.site-footer,
.shaagird-footer {
  background: #fff;
  border-top: 1px solid #ecd8af;
  color: #030817;
  font-family: "Poppins", "Inter", sans-serif;
  padding: 0;
}

.site-footer .row {
  align-items: flex-start;
  padding-bottom: 42px;
}

.site-footer h3 {
  color: #162230;
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.site-footer p {
  color: #667085;
  font-size: 14px;
  line-height: 1.65;
  margin: 16px 0 0;
  max-width: 340px;
}

.site-footer a {
  color: #344054;
  display: table;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 11px;
  transition: color .2s ease, transform .2s ease;
}

.site-footer a:hover {
  color: var(--primary-dark);
  transform: translateX(2px);
}

.site-footer .footer-brand {
  display: inline-flex;
  margin-bottom: 4px;
}

.site-footer .socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.site-footer .socials a {
  align-items: center;
  background: rgba(22,182,174,.1);
  border: 1px solid rgba(22,182,174,.16);
  border-radius: 50%;
  color: var(--primary-dark);
  display: inline-grid;
  height: 40px;
  justify-content: center;
  margin: 0;
  width: 40px;
}

.site-footer .socials a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-main {
  display: grid;
  grid-template-columns: 120px 195px 235px 230px 145px;
  gap: 35px;
  justify-content: center;
  align-items: start;
  max-width: 1120px;
  min-height: 306px;
  margin: 0 auto;
  padding: 43px 24px 38px;
}

.shaagird-footer-logo img {
  display: block;
  height: 64px;
  width: auto;
}

.footer-logo-column {
  display: flex;
  justify-content: flex-start;
  padding-top: 2px;
}

.shaagird-footer-logo {
  color: #2a3e4f;
  display: inline-block;
  line-height: .76;
  position: relative;
  transition: opacity .25s ease, transform .25s ease;
}

.shaagird-footer-logo:hover {
  color: #2a3e4f;
  opacity: .92;
  transform: translateY(-2px);
}

.shaagird-logo-text {
  display: block;
  font-size: 31px;
  font-weight: 800;
  letter-spacing: 0;
}

.shaagird-logo-line {
  display: block;
}

.shaagird-logo-line.lower {
  margin-left: 47px;
  margin-top: -1px;
}

.logo-orbit {
  border: 3px solid #2ea398;
  border-radius: 50%;
  color: transparent;
  display: inline-block;
  height: 31px;
  margin-left: 1px;
  position: relative;
  transform: translateY(3px);
  width: 31px;
}

.logo-orbit::after {
  background: #f0c349;
  border-radius: 50%;
  content: "";
  height: 6px;
  left: 10px;
  position: absolute;
  top: 10px;
  width: 6px;
}

.shaagird-footer-logo small {
  display: block;
  font-size: 5px;
  font-weight: 600;
  line-height: 1;
  margin-left: 97px;
  margin-top: -2px;
}

.footer-link-column,
.footer-social-column {
  display: flex;
  flex-direction: column;
}

.footer-link-column {
  gap: 12px;
  padding-top: 5px;
}

.footer-link-column a,
.footer-social-column a {
  color: #020819;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.1;
  transition: color .22s ease, transform .22s ease;
}

.footer-link-column a:hover,
.footer-social-column a:hover {
  color: #299d8e;
  transform: translateX(3px);
}

.footer-efficiency {
  padding-top: 0;
  text-align: center;
}

.footer-efficiency h2 {
  color: #030817;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 21px;
}

.efficiency-visual {
  align-items: center;
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 30px;
}

.efficiency-chart {
  background:
    radial-gradient(circle at center, #fff 0 38%, transparent 39%),
    conic-gradient(from -118deg, #2ea398 0 75%, #050505 75% 92%, #c7c7c7 92% 100%);
  border-radius: 50%;
  flex: 0 0 80px;
  height: 80px;
  width: 80px;
}

.efficiency-legend {
  display: grid;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.efficiency-legend li {
  align-items: center;
  color: #050915;
  display: flex;
  font-size: 12.5px;
  font-weight: 400;
  gap: 8px;
  line-height: 1;
  white-space: nowrap;
}

.efficiency-legend span {
  border-radius: 50%;
  display: inline-block;
  height: 10px;
  width: 10px;
}

.efficiency-legend .program { background: #2ea398; }
.efficiency-legend .management { background: #050505; }
.efficiency-legend .fundraising { background: #c7c7c7; }

.footer-donate-btn {
  align-items: center;
  background: #2ea398;
  border-radius: 3px;
  color: #030817;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 4px;
  justify-content: center;
  min-height: 37px;
  min-width: 97px;
  padding: 9px 15px;
  transition: background .22s ease, box-shadow .22s ease, color .22s ease, transform .22s ease;
}

.footer-donate-btn i {
  font-size: 12px;
  line-height: 1;
}

.footer-donate-btn:hover {
  background: #249287;
  box-shadow: 0 10px 22px rgba(46,163,152,.24);
  color: #fff;
  transform: translateY(-2px);
}

.footer-social-column {
  gap: 23px;
  padding-top: 9px;
}

.footer-social-column a {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 21px 1fr;
}

.footer-social-column i {
  color: #98a4b4;
  font-size: 20px;
  line-height: 1;
  text-align: center;
  transition: color .22s ease, transform .22s ease;
}

.footer-social-column a:hover i {
  color: #299d8e;
  transform: scale(1.07);
}

.newsletter {
  display: flex;
  border: 1px solid rgba(42,62,79,.14);
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 14px;
}

.newsletter input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 13px 14px;
  background: transparent;
  color: #2a3e4f;
}

.newsletter button {
  width: 48px;
  border: 0;
  background: #fdcf44;
  color: #2a3e4f;
}

.rippling {
  position: relative;
  overflow: hidden;
}

.rippling::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  transform: translate(-50%, -50%);
  animation: ripple .45s ease-out;
}

.show-grid-lines {
  background-size: 18px 18px, 18px 18px, auto;
}

.footer-bottom,
.copyright,
.footer-copyright-bar {
  align-items: center;
  background: #2ea398;
  border-top: 1px solid #ead36a;
  color: #fff;
  display: flex;
  font-size: 12.5px;
  font-weight: 700;
  justify-content: center;
  line-height: 1.35;
  min-height: 34px;
  padding: 7px 24px;
  text-align: center;
  font-family: 'Poppins';
  font-weight: 100;
}

body.dark-mode {
  --bg: #101820;
  --card: #111d28;
  --border: rgba(231,237,243,.12);
  --heading: #eef7f8;
  --paragraph: #a9b7c8;
  background: #101820;
  color: var(--heading);
}

body.dark-mode .glass-card,
body.dark-mode .app-board,
body.dark-mode .search-box,
body.dark-mode .filter-chip,
body.dark-mode .soft-action,
body.dark-mode .impact-strip,
body.dark-mode .bottom-info-card,
body.dark-mode .close-card {
  background: rgba(17,29,40,.88);
  color: var(--heading);
}

body.dark-mode .smile-unit:not(.available):not(.sponsored):not(.selected) {
  background: linear-gradient(180deg, #162432, #101a24);
  color: #e5eef6;
}

.gallery-updates {
  margin-top: 18px;
  padding: 28px;
  overflow: hidden;
}

.gallery-head {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 520px);
  gap: 24px;
  align-items: start;
  margin-bottom: 26px;
}

.gallery-head h2 {
  margin: 0 0 8px;
  color: var(--heading);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0;
}

.gallery-head p {
  max-width: 640px;
  margin: 0;
  color: var(--paragraph);
  font-size: 15px;
  line-height: 1.6;
}

.gallery-search {
  display: grid;
  grid-template-columns: 24px 1fr 42px;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 14px 0 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 12px 30px rgba(22,34,48,.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.gallery-search i {
  color: #51627d;
  font-size: 20px;
}

.gallery-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--heading);
  font-size: 14px;
}

.gallery-search input::placeholder {
  color: #98a2b3;
}

.gallery-search button,
.gallery-card-arrow,
.gallery-meta button,
.lightbox-actions button,
.lightbox-nav,
.lightbox-thumbs button {
  border: 0;
  display: inline-grid;
  place-items: center;
}

.gallery-search button {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,.72);
  color: #51627d;
}

.gallery-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.gallery-filter {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(255,255,255,.82);
  color: #51627d;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(22,34,48,.05);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.gallery-filter:hover,
.gallery-filter:focus {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(22,34,48,.08);
}

.gallery-filter.active {
  border-color: rgba(22,182,174,.36);
  background: linear-gradient(145deg, var(--primary-light), var(--primary));
  color: #fff;
  box-shadow: 0 18px 36px rgba(15,143,135,.22);
}

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

.gallery-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(231,237,243,.92);
  border-radius: 9px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 16px 34px rgba(22,34,48,.08);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.gallery-card:hover,
.gallery-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(22,182,174,.25);
  box-shadow: 0 22px 46px rgba(22,34,48,.12);
}

.gallery-carousel {
  position: relative;
  aspect-ratio: 1.92 / 1;
  min-height: 176px;
  overflow: hidden;
  background: #e9f1f3;
  contain: layout paint;
}

.gallery-track {
  height: 100%;
  display: flex;
  transform: translate3d(calc(var(--gallery-index, 0) * -100%), 0, 0);
  transition: transform .48s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-slide picture,
.gallery-slide img,
.lightbox-stage picture,
.lightbox-stage img {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-slide img {
  object-fit: cover;
  transform: translateZ(0);
}

.gallery-category,
.gallery-photo-badge,
.gallery-card-counter {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 8px;
  padding: 5px 10px;
  color: #0f2030;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  background: rgba(255,255,255,.58);
  box-shadow: 0 10px 22px rgba(22,34,48,.12), inset 0 1px 0 rgba(255,255,255,.72);
  backdrop-filter: blur(14px) saturate(1.35);
  -webkit-backdrop-filter: blur(14px) saturate(1.35);
}

.gallery-category {
  left: 14px;
  bottom: 12px;
}

.gallery-category.construction { background: rgba(255,216,102,.8); }
.gallery-category.donors { background: rgba(121,220,177,.82); }
.gallery-category.school { background: rgba(142,124,255,.8); color: #fff; }
.gallery-category.volunteers { background: rgba(117,213,229,.82); }
.gallery-category.events { background: rgba(255,167,176,.84); }
.gallery-category.mentors { background: rgba(111,154,255,.82); color: #fff; }

.gallery-photo-badge {
  top: 12px;
  right: 12px;
  gap: 6px;
  color: #fff;
  background: rgba(15,31,47,.54);
}

.gallery-card-counter {
  right: 12px;
  bottom: 12px;
  color: #fff;
  background: rgba(15,31,47,.54);
}

.gallery-card-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.78);
  color: var(--heading);
  opacity: 0;
  transform: translateY(-50%) scale(.94);
  box-shadow: 0 14px 28px rgba(22,34,48,.16);
  transition: opacity .18s ease, transform .18s ease, background .18s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.gallery-card-arrow.prev { left: 12px; }
.gallery-card-arrow.next { right: 12px; }

.gallery-card:hover .gallery-card-arrow,
.gallery-card:focus-within .gallery-card-arrow {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.gallery-card-arrow:hover,
.gallery-card-arrow:focus {
  background: #fff;
}

.gallery-card-body {
  padding: 18px 18px 17px;
}

.gallery-card-body h3 {
  margin: 0 0 7px;
  color: var(--heading);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
}

.gallery-card-body p {
  min-height: 48px;
  margin: 0 0 16px;
  color: #667085;
  font-size: 13.5px;
  line-height: 1.55;
}

.gallery-meta {
  display: grid;
  grid-template-columns: 1fr 1fr 36px;
  align-items: center;
  gap: 10px;
  color: #51627d;
  font-size: 11px;
  font-weight: 600;
}

.gallery-meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-meta i {
  margin-right: 4px;
}

.gallery-meta button {
  width: 36px;
  height: 36px;
  justify-self: end;
  border: 1px solid rgba(22,182,174,.48);
  border-radius: 9px;
  background: rgba(255,255,255,.86);
  color: var(--primary);
  transition: background .18s ease, color .18s ease;
}

.gallery-meta button:hover,
.gallery-meta button:focus {
  background: var(--primary);
  color: #fff;
}

.gallery-load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 260px;
  min-height: 52px;
  margin: 30px auto 0;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(255,255,255,.84);
  color: var(--heading);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(22,34,48,.06);
}

.gallery-load-more[hidden] {
  display: none;
}

.gallery-modal-open {
  overflow: hidden;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(22,182,174,.18), transparent 28%),
    rgba(4,10,18,.84);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
}

.gallery-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  height: min(780px, calc(100vh - 40px));
  display: grid;
  grid-template-rows: 54px minmax(0, 1fr) auto 96px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(12,22,33,.72);
  box-shadow: 0 34px 100px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.18);
}

.lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 10px 18px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: #fff;
}

.lightbox-counter {
  font-size: 13px;
  font-weight: 800;
}

.lightbox-actions {
  display: flex;
  gap: 8px;
}

.lightbox-actions button {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  color: #fff;
}

.lightbox-stage {
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 14px 72px;
  overflow: hidden;
}

.lightbox-stage picture,
.lightbox-stage img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
}

.lightbox-stage img {
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  transition: transform .22s ease;
  cursor: zoom-in;
}

.gallery-lightbox.zoomed .lightbox-stage {
  overflow: auto;
}

.gallery-lightbox.zoomed .lightbox-stage img {
  max-width: none;
  max-height: none;
  width: min(1500px, 150vw);
  transform: scale(1.05);
  cursor: zoom-out;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  color: #fff;
  transform: translateY(-50%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.lightbox-nav.prev { left: 18px; }
.lightbox-nav.next { right: 18px; }

.lightbox-nav:hover,
.lightbox-nav:focus,
.lightbox-actions button:hover,
.lightbox-actions button:focus {
  background: rgba(255,255,255,.24);
}

.lightbox-caption {
  min-height: 82px;
  padding: 13px 22px 16px;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.1);
}

.lightbox-caption strong {
  display: inline-block;
  margin-right: 12px;
  font-size: 17px;
  font-weight: 800;
}

.lightbox-caption span {
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 700;
}

.lightbox-caption p {
  margin: 5px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 13.5px;
}

.lightbox-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 18px 16px;
  border-top: 1px solid rgba(255,255,255,.1);
  scrollbar-width: thin;
}

.lightbox-thumbs button {
  flex: 0 0 82px;
  width: 82px;
  height: 64px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  opacity: .64;
  transition: opacity .18s ease, border-color .18s ease, transform .18s ease;
}

.lightbox-thumbs button.active,
.lightbox-thumbs button:hover,
.lightbox-thumbs button:focus {
  opacity: 1;
  border-color: var(--primary-light);
  transform: translateY(-1px);
}

.lightbox-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.dark-mode .gallery-updates,
body.dark-mode .gallery-card,
body.dark-mode .gallery-search,
body.dark-mode .gallery-filter,
body.dark-mode .gallery-load-more {
  background: rgba(17,29,40,.88);
  color: var(--heading);
}

body.dark-mode .gallery-card-body p,
body.dark-mode .gallery-meta {
  color: var(--paragraph);
}
.hero-image{
    display:flex;
    justify-content:center;
    align-items:center;
}

.hero-image img{
    width:100%;
    max-width:650px;
    height:auto;
    display:block;
    border-radius:20px;
    object-fit:contain;
}

.hero-section[style*="--cms-hero-bg"] {
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,255,255,.72)),
    var(--cms-hero-bg);
  background-position: center;
  background-size: cover;
}

.cms-banner {
  align-items: center;
  background: rgba(15,118,110,.94);
  color: #fff;
  display: flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  position: relative;
  text-align: center;
  text-decoration: none;
  z-index: 1100;
}

.cms-banner-bottom {
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
}

.qr-donate-card .qr-frame {
  width: min(100%, 340px);
  padding: 10px;
  background: #fff;
}

@media (max-width: 575.98px) {
  .qr-donate-card .qr-frame {
    width: min(100%, 286px);
    padding: 8px;
  }
}

/* Final responsive fit for the UPI logo strip */
.qr-donate-card .upi-icon-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: min(100%, 340px);
  gap: 8px;
  padding: 10px;
  justify-content: initial;
}

.qr-donate-card .upi-chip {
  width: 100%;
  min-width: 0;
  height: 42px;
  flex-basis: auto;
  border-radius: 12px;
  padding: 7px;
}

.qr-donate-card .upi-logo-chip img {
  width: 100%;
  max-width: 42px;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 575.98px) {
  .qr-donate-card .upi-icon-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 286px);
    gap: 8px;
    margin-top: 14px;
    padding: 9px;
    white-space: normal;
  }

  .qr-donate-card .upi-chip {
    height: 44px;
    padding: 8px;
  }

  .qr-donate-card .upi-logo-chip img {
    max-width: 54px;
  }
}

/* Keep the bank transfer heading on one line on mobile. */
@media (max-width: 575.98px) {
  .other-donate-intro h2 {
    max-width: none;
    font-size: clamp(25px, 7.4vw, 31px);
    line-height: 1.08;
    white-space: nowrap;
  }

  .other-donate-intro h2 span {
    display: inline;
  }
}

/* Compact, calmer mobile sponsor form */
@media (max-width: 640px) {
  .sponsor-dialog:not(.is-processing-dialog) {
    color: #17223a !important;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%) !important;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  }

  .sponsor-head h2 {
    color: #101a2e !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.14 !important;
  }

  .sponsor-head p {
    color: #65708b !important;
    font-size: 12px !important;
    line-height: 1.28 !important;
    font-weight: 400 !important;
  }

  .sponsor-head-icon {
    background: #13aaa0 !important;
  }

  .sponsor-badge {
    min-height: 25px !important;
    padding: 0 11px !important;
    color: #087c74 !important;
    background: #dcf7f3 !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
  }

  .sponsor-section-title,
  .sponsor-summary-title {
    color: #17223a !important;
    font-size: 14px !important;
    font-weight: 700 !important;
  }

  .sponsor-field label {
    color: #17223a !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
  }

  .sponsor-field input {
    height: 36px !important;
    color: #17223a !important;
    font-size: 12.5px !important;
    font-weight: 400 !important;
  }

  .sponsor-field input::placeholder {
    color: #8994ad !important;
    font-size: 12.5px !important;
    font-weight: 400 !important;
  }

  .sponsor-input-wrap i {
    color: #24304a !important;
    font-size: 15px !important;
  }

  .sponsor-field small,
  .sponsor-error {
    font-size: 9.5px !important;
    line-height: 1.18 !important;
    font-weight: 600 !important;
  }

  .sponsor-unit-row strong {
    color: #17223a !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
  }

  .sponsor-unit-row span {
    color: #17223a !important;
    font-size: 11px !important;
    font-weight: 700 !important;
  }

  .sponsor-primary,
  .sponsor-secondary {
    height: 38px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }

  .sponsor-primary {
    background: linear-gradient(135deg, #22c7bc, #0c9a91) !important;
    box-shadow: 0 10px 22px rgba(12,154,145,.2) !important;
  }

  .sponsor-primary::after {
    margin-left: 6px !important;
    font-size: 15px !important;
  }

  .sponsor-secondary {
    color: #303b57 !important;
    background: #fff !important;
  }

  .sponsor-secure-footer {
    color: #68738a !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
  }
}

/* Minimal typography polish for the liquid glass UI */
body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar,
.btn,
button,
input,
textarea {
  font-family: inherit;
  letter-spacing: 0;
}

.hero-copy h1,
.other-donate-intro h2,
.custom-contribution-head h2,
.gallery-head h2,
.timeline-card h3,
.faq-card h3,
.left-panel h3,
.right-panel h3,
.recent-donors-head h3,
.footer-efficiency h2 {
  color: #13223a;
  font-weight: 700;
  letter-spacing: 0;
}

.custom-contribution-head h2 {
  max-width: 620px;
  font-size: clamp(20px, 1.45vw, 24px);
  line-height: 1.24;
}

.custom-contribution-head p {
  max-width: 620px;
  color: #5f6e86;
  font-size: 13.5px;
  line-height: 1.58;
  font-weight: 400;
}

.custom-amount-card {
  min-height: 52px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 650;
}

.custom-input-symbol,
.custom-input-wrap input {
  font-weight: 700;
}

.custom-input-wrap input {
  font-size: clamp(22px, 1.9vw, 28px);
}

.support-matters-banner h3,
.gallery-card-body h3,
.impact-strip h3,
.bank-donate-card h3,
.qr-donate-card h3,
.other-donate-benefits h3 {
  font-weight: 700;
}

.gallery-head h2 {
  max-width: 620px;
  font-size: clamp(20px, 1.55vw, 24px);
  line-height: 1.22;
}

.gallery-head p {
  max-width: 640px;
  color: #5f6e86;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 400;
}

.gallery-filter,
.gallery-load-more,
.gallery-category,
.gallery-photo-badge,
.gallery-card-counter,
.recent-donors-view,
.selection-count {
  font-weight: 650;
}

.gallery-card-body h3 {
  font-size: 15px;
  line-height: 1.32;
}

.gallery-card-body p {
  color: #5f6e86;
  font-size: 13px;
  line-height: 1.56;
  font-weight: 400;
}

.toolbar-brand strong,
.nav-link,
.shaagird-donate-btn,
.btn-primary-gradient,
.btn-outline-premium,
.soft-action,
.filter-chip,
.custom-contribute-btn,
.bank-transfer-cta,
.footer-donate-btn {
  font-weight: 650;
}

.hero-copy p,
.other-donate-intro p,
.left-panel p,
.bottom-copy p,
.recent-donors-note,
.accordion-body {
  font-weight: 400;
}

/* Final repair: keep the bank/QR donation area from collapsing after upload */
.other-donate-section {
  width: 100%;
  margin: 24px 0 34px !important;
  padding: 0 !important;
  position: relative;
  z-index: 2;
}

.other-donate-section .container-fluid {
  width: 100%;
}

.other-donate-shell {
  display: grid !important;
  grid-template-columns: minmax(300px, .86fr) minmax(560px, 1.14fr) !important;
  gap: 22px !important;
  align-items: stretch !important;
  width: 100% !important;
  padding: 28px !important;
  border: 1px solid rgba(255,255,255,.74) !important;
  border-radius: 26px !important;
  background:
    radial-gradient(circle at 8% 0, rgba(255,255,255,.88), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(22,182,174,.1), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(242,250,250,.62)) !important;
  box-shadow: 0 24px 68px rgba(22,34,48,.1), inset 0 1px 0 rgba(255,255,255,.9) !important;
  overflow: hidden !important;
  backdrop-filter: blur(24px) saturate(1.25);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
}

.other-donate-intro {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0 !important;
  padding: 4px 0 !important;
}

.other-donate-mark {
  width: 48px !important;
  height: 48px !important;
  margin: 0 0 14px !important;
  border-radius: 16px !important;
  font-size: 20px !important;
}

.other-donate-eyebrow {
  min-height: 0 !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #0f766e !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  text-transform: none !important;
}

.other-donate-intro h2 {
  max-width: 440px !important;
  margin: 0 0 10px !important;
  color: #13223a !important;
  font-size: clamp(26px, 2.35vw, 38px) !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  white-space: normal !important;
}

.other-donate-intro h2 span {
  display: inline !important;
  color: inherit !important;
}

.other-donate-intro > p {
  max-width: 560px !important;
  margin: 0 !important;
  color: #52637d !important;
  font-size: 14px !important;
  line-height: 1.58 !important;
  font-weight: 400 !important;
}

.other-donate-intro > p strong {
  color: #13223a !important;
  font-weight: 700 !important;
}

.other-donate-benefits {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  margin-top: 22px !important;
}

.other-donate-benefits article {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: center !important;
  justify-items: stretch !important;
  min-width: 0 !important;
  padding: 12px !important;
  border: 1px solid rgba(218,228,236,.72) !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,.58) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82) !important;
  text-align: left !important;
}

.other-donate-benefits article + article {
  border-left: 1px solid rgba(218,228,236,.72) !important;
}

.other-donate-benefits article > span {
  display: grid !important;
  width: 38px !important;
  height: 38px !important;
  margin: 0 !important;
  place-items: center !important;
  border-radius: 12px !important;
  font-size: 16px !important;
}

.other-donate-benefits h3 {
  margin: 0 0 2px !important;
  color: #13223a !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

.other-donate-benefits p {
  margin: 0 !important;
  color: #5f6e86 !important;
  font-size: 12.5px !important;
  line-height: 1.42 !important;
}

.other-donate-actions {
  display: grid !important;
  grid-template-columns: minmax(220px, .8fr) minmax(300px, 1fr) !important;
  gap: 16px !important;
  min-width: 0 !important;
  align-items: stretch !important;
}

.donate-glass-card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: 100% !important;
  padding: 20px !important;
  border: 1px solid rgba(218,228,236,.76) !important;
  border-radius: 20px !important;
  background:
    radial-gradient(circle at 50% 0, rgba(255,255,255,.92), transparent 48%),
    linear-gradient(145deg, rgba(255,255,255,.78), rgba(245,251,251,.66)) !important;
  box-shadow: 0 18px 42px rgba(22,34,48,.08), inset 0 1px 0 rgba(255,255,255,.9) !important;
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

.donate-glass-card h3 {
  margin: 0 !important;
  color: #13223a !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-align: center !important;
}

.qr-donate-card {
  align-items: center !important;
}

.qr-donate-card .qr-frame,
.qr-frame {
  display: grid !important;
  width: min(100%, 260px) !important;
  aspect-ratio: 1 !important;
  place-items: center !important;
  margin: 0 auto !important;
  padding: 12px !important;
  border-radius: 16px !important;
  background: #fff !important;
}

.qr-frame img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.qr-donate-card .upi-icon-row,
.upi-icon-row {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  width: min(100%, 300px) !important;
  gap: 7px !important;
  margin: 14px auto 0 !important;
  padding: 8px !important;
  border-radius: 14px !important;
}

.qr-donate-card .upi-chip,
.upi-chip {
  width: 100% !important;
  min-width: 0 !important;
  height: 34px !important;
  border-radius: 10px !important;
  padding: 6px !important;
}

.bank-donate-card {
  justify-content: space-between !important;
}

.account-highlight {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
  margin: 16px 0 10px !important;
  padding: 14px !important;
  border-radius: 16px !important;
}

.account-highlight > span {
  width: 44px !important;
  height: 44px !important;
  font-size: 20px !important;
}

.account-highlight small {
  font-size: 12px !important;
  font-weight: 500 !important;
}

.account-highlight strong {
  font-size: clamp(18px, 1.6vw, 24px) !important;
  font-weight: 700 !important;
}

.bank-detail-list div {
  display: grid !important;
  grid-template-columns: minmax(118px, .45fr) minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: start !important;
  padding: 10px 0 !important;
}

.bank-detail-list dt {
  font-size: 13px !important;
  font-weight: 500 !important;
}

.bank-detail-list dd {
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.48 !important;
}

.bank-transfer-cta {
  min-height: 46px !important;
  margin-top: 14px !important;
  border-radius: 14px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

@media (max-width: 1199.98px) {
  .other-donate-shell {
    grid-template-columns: 1fr !important;
  }

  .other-donate-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767.98px) {
  .other-donate-section {
    margin: 18px 0 26px !important;
  }

  .other-donate-shell {
    padding: 18px !important;
    border-radius: 22px !important;
  }

  .other-donate-intro {
    align-items: center !important;
    text-align: center !important;
  }

  .other-donate-mark {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .other-donate-intro h2 {
    max-width: 300px !important;
    font-size: clamp(22px, 6.4vw, 28px) !important;
  }

  .other-donate-intro > p {
    max-width: 310px !important;
    font-size: 13px !important;
  }

  .other-donate-benefits article {
    grid-template-columns: 34px minmax(0, 1fr) !important;
    padding: 10px !important;
  }

  .other-donate-benefits article > span {
    width: 34px !important;
    height: 34px !important;
    border-radius: 11px !important;
    font-size: 15px !important;
  }

  .other-donate-actions {
    grid-template-columns: 1fr !important;
  }

  .donate-glass-card {
    padding: 18px !important;
  }

  .qr-donate-card .qr-frame,
  .qr-frame {
    width: min(100%, 260px) !important;
  }

  .qr-donate-card .upi-icon-row,
  .upi-icon-row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: min(100%, 260px) !important;
  }

  .bank-detail-list div {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
  }
}
