:root {
  --idt-saffron: #f4a51c;
  --idt-maroon: #8a1f2d;
  --idt-rose: #c83f54;
  --idt-ink: #26212a;
  --idt-muted: #6c6470;
  --idt-cream: #fff8ec;
  --idt-line: #eadfd0;
}

body {
  color: var(--idt-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

a {
  color: var(--idt-maroon);
}

.topbar {
  background: var(--idt-maroon);
  color: #fff;
  font-size: .92rem;
}

.topbar a {
  color: #fff;
  text-decoration: none;
}

.navbar {
  box-shadow: 0 6px 20px rgba(38, 33, 42, .08);
}

.brand-logo {
  height: 56px;
  width: 56px;
  object-fit: contain;
}

.nav-link {
  color: var(--idt-ink);
  font-weight: 700;
}

.nav-link.active,
.nav-link:hover {
  color: var(--idt-maroon);
}

.hero {
  min-height: 520px;
  background:
    linear-gradient(90deg, rgba(38, 19, 19, .84), rgba(78, 25, 32, .54), rgba(78, 25, 32, .12)),
    url("../img/srila-prabhupada.jpg") center / cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
}

.hero h1,
.page-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  font-size: 1.2rem;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(138, 31, 45, .94), rgba(200, 63, 84, .8)),
    url("../img/srila-prabhupada.jpg") center / cover no-repeat;
  color: #fff;
  padding: 5rem 0;
}

.section-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.btn-idt {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--idt-maroon);
  --bs-btn-border-color: var(--idt-maroon);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #6f1824;
  --bs-btn-hover-border-color: #6f1824;
  --bs-btn-focus-shadow-rgb: 138, 31, 45;
  font-weight: 800;
}

.btn-saffron {
  --bs-btn-color: #351c05;
  --bs-btn-bg: var(--idt-saffron);
  --bs-btn-border-color: var(--idt-saffron);
  --bs-btn-hover-color: #251302;
  --bs-btn-hover-bg: #e7960f;
  --bs-btn-hover-border-color: #e7960f;
  font-weight: 800;
}

.soft-band {
  background: var(--idt-cream);
}

.stat-card,
.donation-card,
.team-card,
.info-card {
  border: 1px solid var(--idt-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(60, 31, 25, .07);
}

.stat-card {
  min-height: 140px;
}

.stat-value {
  color: var(--idt-maroon);
  font-size: 2rem;
  font-weight: 900;
}

.promise-band {
  background: linear-gradient(90deg, var(--idt-maroon), var(--idt-rose));
  color: #fff;
}

.check-list li,
.step-list li {
  margin-bottom: .85rem;
}

.bank-table th {
  width: 190px;
  color: var(--idt-maroon);
}

.qr-code {
  width: 210px;
  max-width: 100%;
}

.team-photo {
  width: 96px;
  height: 116px;
  object-fit: cover;
  border-radius: 8px;
}

.team-card a {
  overflow-wrap: anywhere;
}

.footer {
  background: #201820;
  color: rgba(255, 255, 255, .78);
}

.footer h2,
.footer h3 {
  color: #fff;
  font-size: 1.1rem;
}

.footer a {
  color: rgba(255, 255, 255, .86);
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

.footer-logo {
  max-width: 199px;
  height: auto;
}

.social-link {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
}

.payment-note {
  border-left: 4px solid var(--idt-saffron);
  background: #fff9e8;
}

.flow-note,
.donation-summary,
.review-tile {
  border: 1px solid var(--idt-line);
  border-radius: 8px;
  background: #fffaf1;
}

.donation-summary,
.review-tile {
  padding: 1rem;
}

.review-tile {
  display: grid;
  gap: .15rem;
}

.readonly-field {
  min-height: 76px;
  display: grid;
  gap: .2rem;
  align-content: start;
  border: 1px solid var(--idt-line);
  border-radius: 8px;
  background: #fff;
  padding: 1rem;
}

.readonly-field span {
  color: var(--idt-muted);
  font-size: .85rem;
}

.readonly-field strong {
  font-weight: 800;
  overflow-wrap: anywhere;
}

.flow-step {
  scroll-margin-top: 112px;
}

.auth-card {
  width: 100%;
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 2px solid var(--idt-line);
  border-radius: 8px;
  background: #fff;
  padding: 1rem;
  color: var(--idt-ink);
  font-weight: 800;
  text-align: left;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.auth-card i {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #fff0d1;
  color: var(--idt-maroon);
  font-size: 1.25rem;
}

.auth-card:hover,
.auth-card:focus {
  border-color: var(--idt-maroon);
  box-shadow: 0 12px 28px rgba(60, 31, 25, .09);
  transform: translateY(-1px);
}

.auth-card.guest {
  background: #fff8e8;
}

.cause-option {
  position: relative;
  min-height: 188px;
  display: block;
  border: 2px solid var(--idt-line);
  border-radius: 8px;
  background: #fff;
  padding: 1.5rem;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.cause-option:hover {
  border-color: rgba(138, 31, 45, .45);
  box-shadow: 0 16px 34px rgba(60, 31, 25, .09);
  transform: translateY(-2px);
}

.btn-check:focus + .cause-option,
.btn-check:checked + .cause-option {
  border-color: var(--idt-maroon);
  box-shadow: 0 0 0 .22rem rgba(138, 31, 45, .16);
}

.btn-check:checked + .cause-option::after {
  content: "\F26A";
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--idt-maroon);
  font-family: bootstrap-icons;
  font-size: 1.35rem;
  line-height: 1;
}

.cause-icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 8px;
  background: #fff0d1;
  color: var(--idt-maroon);
  font-size: 1.25rem;
}

.donation-sidebar {
  top: 98px;
}

.amount-chip.active {
  color: #fff;
  background: var(--idt-maroon);
  border-color: var(--idt-maroon);
}

.paypal-image-button {
  width: auto;
  max-width: 100%;
  height: auto;
  border: 0;
}

.policy-content {
  max-width: 920px;
  margin: 0 auto;
}

.policy-content h2 {
  margin-top: 2rem;
  margin-bottom: .75rem;
  color: var(--idt-maroon);
  font-size: 1.35rem;
  font-weight: 800;
}

.policy-content h2:first-of-type {
  margin-top: 0;
}

.policy-content ul {
  padding-left: 1.25rem;
}

.razorpay-preview {
  border: 1px dashed #9bc8a4;
  border-radius: 8px;
  background: #f7fff8;
}

@media (max-width: 575.98px) {
  .hero {
    min-height: 470px;
  }

  .topbar {
    font-size: .82rem;
  }

  .brand-logo {
    height: 48px;
    width: 48px;
  }

  .cause-option {
    min-height: auto;
  }
}
