/* accordion custom styling */
.payment-accordion .accordion-item {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 1rem !important;
  margin-bottom: 1.25rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.2s ease;
}

.payment-accordion .accordion-item:last-child {
  margin-bottom: 0;
}

.payment-accordion .accordion-button {
  background-color: #ffffff;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 1.1rem 1.5rem;
  color: #1f2d3d;
  border: none;
  box-shadow: none;
  gap: 0.75rem;
}

.payment-accordion .accordion-button:not(.collapsed) {
  background-color: #f8fafc;
  color: #198754;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.payment-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: rgba(25, 135, 84, 0.3);
}

.payment-accordion .accordion-button::after {
  background-size: 1rem;
  width: 1rem;
  height: 1rem;
  margin-left: auto;
}

.payment-accordion .accordion-body {
  padding: 1.5rem;
  background: #ffffff;
}

/* step list styling */
.payment-steps {
  counter-reset: step-counter;
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.25rem;
}

.payment-steps li {
  counter-increment: step-counter;
  margin-bottom: 0.9rem;
  font-size: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed #eef2f6;
}

.payment-steps li:last-child {
  border-bottom: none;
}

.payment-steps li::before {
  content: counter(step-counter);
  background-color: #198754;
  color: white;
  font-weight: 600;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* bank steps */
.bank-steps .payment-steps li::before {
  background-color: #0d6efd;
}

.cbo-badge {
  background: #e9ecef;
  border-left: 4px solid #198754;
  padding: 0.5rem 1rem;
  font-weight: 500;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.info-note {
  background: #f1f8fe;
  border-radius: 0.9rem;
  padding: 0.9rem 1.2rem;
  margin-top: 1rem;
}

.btn-mpesa-outline {
  border: 1px solid #198754;
  background: white;
  color: #198754;
  transition: 0.2s;
}

.btn-mpesa-outline:hover {
  background: #198754;
  color: white;
}

@media (max-width: 576px) {
  .payment-steps li {
    font-size: 0.88rem;
    gap: 0.7rem;
  }

  .payment-steps li::before {
    width: 1.6rem;
    height: 1.6rem;
    font-size: 0.75rem;
  }

  .payment-accordion .accordion-button {
    padding: 0.9rem 1rem;
    font-size: 1rem;
  }
}



.donation-section {
  background: #f5f7fb;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
}

.donation-card {
  background: #fff;
  width: 100%;
  max-width: 850px;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.donation-card h2 {
  color: #1f3b7a;
}

.tabs {
  display: flex;
  margin-bottom: 20px;
}

.tab {
  flex: 1;
  padding: 12px;
  border: 2px solid #1f3b7a;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  margin-right: 10px;
}

.tab.active {
  background: #f4a742;
  color: white;
  border: none;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 20px 0;
}

.amount-grid div {
  background: #0b9e00c7;
  color: white;
  padding: 15px;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
}

.custom-amount {
  display: flex;
  gap: 10px;
  align-items: center;
}

input, select {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin: 10px 0;
}

.form-row {
  display: flex;
  gap: 10px;
}

.total {
  text-align: center;
  font-weight: bold;
  margin-top: 10px;
}

.donate-btn1 {
  width: 100%;
  padding: 15px;
  background: #fe9d01e9;
  color: white;
  border: none;
  border-radius: 10px;
  margin-top: 20px;
  cursor: pointer;
}

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

  .form-row {
    flex-direction: column;
  }
}

.donation-section {
  display: flex;
  justify-content: center;
  padding: 50px;
  background: #f5f5f5;
}

.donation-card {
  background: #a27202;
  padding: 30px;
  width: 400px;
  border-radius: 10px;
  text-align: center;
}

.tabs {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.tab {
  flex: 1;
  padding: 10px;
  border: none;
  cursor: pointer;
  background: #ddd;
}

.tab.active {
  background: #0070ba;
  color: #fff;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.amount-grid div {
  padding: 15px;
  background: #69b3c2;
  cursor: pointer;
  border-radius: 5px;
}

.amount-grid div:hover {
  background: #0070ba;
  color: white;
}

.custom-amount {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.custom-amount span {
  padding: 10px;
  background: #019813;
}

.custom-amount input {
  flex: 1;
  padding: 10px;
}

.total {
  font-weight: bold;
  margin: 15px 0;
}

.donate-btn1 {
  width: 100%;
  padding: 15px;
  background: #0070ba;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
}