/* Donate Hero */
.donate-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--secondary-color);
  padding: 8rem 0 5rem;
  margin-top: 76px;
  position: relative;
  overflow: hidden;
}

.donate-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.donate-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.donate-hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-impact-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.impact-stat {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.impact-number {
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
}

.impact-text {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donation-circle {
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.2);
  border: 3px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  animation: pulse 2s infinite;
  position: relative;
  z-index: 2;
}

.circle-content {
  text-align: center;
}

.circle-content i {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  display: block;
}

.circle-content span {
  font-weight: 600;
  font-size: 0.9rem;
}

.floating-icons {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  backdrop-filter: blur(10px);
  animation: float 3s ease-in-out infinite;
}

.icon-1 {
  top: 10%;
  right: 20%;
  animation-delay: 0s;
}

.icon-2 {
  bottom: 10%;
  right: 10%;
  animation-delay: 1s;
}

.icon-3 {
  bottom: 20%;
  left: 10%;
  animation-delay: 2s;
}

.icon-4 {
  top: 20%;
  left: 20%;
  animation-delay: 3s;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Donation Form */
.donation-form-section {
  padding: 5rem 0;
}

.donation-form-container {
  background: var(--secondary-color);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
  border-top: 5px solid var(--primary-color);
}

.form-title {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
}

.section-title {
  color: var(--text-dark);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
}

/* Donation Type Options */
.donation-type-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.type-option input[type="radio"] {
  display: none;
}

.type-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border: 2px solid var(--border-color);
  background: var(--bg-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.type-label:hover,
.type-option input[type="radio"]:checked + .type-label {
  border-color: var(--primary-color);
  background: var(--secondary-color);
  box-shadow: var(--shadow);
}

.type-label i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.type-label span {
  font-weight: 500;
  color: var(--text-dark);
}

/* Program Options */
.program-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.program-option input[type="radio"] {
  display: none;
}

.program-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border: 2px solid var(--border-color);
  background: var(--bg-light);
  cursor: pointer;
  transition: all 0.3s ease;
  height: 100%;
}

.program-label:hover,
.program-option input[type="radio"]:checked + .program-label {
  border-color: var(--primary-color);
  background: var(--secondary-color);
  box-shadow: var(--shadow);
}

.program-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--secondary-color);
  flex-shrink: 0;
}

.general-program {
  background: var(--primary-color);
}

.health-program {
  background: #ef4444;
}

.climate-program {
  background: var(--primary-color);
}

.economic-program {
  background: #f59e0b;
}

.program-info h5 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.program-info p {
  color: var(--text-light);
  margin: 0;
  font-size: 0.9rem;
}

/* Amount Options */
.amount-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.amount-option input[type="radio"] {
  display: none;
}

.amount-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  border: 2px solid var(--border-color);
  background: var(--bg-light);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.amount-label:hover,
.amount-option input[type="radio"]:checked + .amount-label {
  border-color: var(--primary-color);
  background: var(--secondary-color);
  box-shadow: var(--shadow);
}

.amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.impact {
  font-size: 0.9rem;
  color: var(--text-light);
}

.custom-amount .amount-label {
  gap: 1rem;
}

.custom-input {
  border: 1px solid var(--border-color);
  padding: 0.5rem;
  width: 100%;
  max-width: 150px;
  text-align: center;
  font-size: 1rem;
}

.custom-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Payment Methods */
.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.payment-method input[type="radio"] {
  display: none;
}

.payment-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border: 2px solid var(--border-color);
  background: var(--bg-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-label:hover,
.payment-method input[type="radio"]:checked + .payment-label {
  border-color: var(--primary-color);
  background: var(--secondary-color);
  box-shadow: var(--shadow);
}

.payment-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--secondary-color);
  flex-shrink: 0;
}

.mpesa-icon {
  background: #00a651;
}

.card-icon {
  background: #1e40af;
}

.bank-icon {
  background: #7c3aed;
}

.payment-info h5 {
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.payment-info p {
  color: var(--text-light);
  margin: 0;
  font-size: 0.9rem;
}

/* Form Controls */
.form-control,
.form-select {
  border: 2px solid var(--border-color);
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  border-radius: 0;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.25);
}

.form-label {
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* Donation Summary */
.summary-card {
  background: var(--bg-light);
  padding: 2rem;
  border-left: 4px solid var(--primary-color);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-row.total {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-color);
  border-top: 2px solid var(--primary-color);
  margin-top: 1rem;
  padding-top: 1rem;
}

/* Donate Button */
.donate-btn {
  padding: 1rem 3rem;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--primary-color);
  border: none;
  transition: all 0.3s ease;
}

.donate-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.security-note {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

/* Other Ways Section */
.other-ways-section {
  padding: 5rem 0;
}

.support-card {
  background: var(--secondary-color);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  height: 100%;
  transition: all 0.3s ease;
}

.support-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.support-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.support-card h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.support-card p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Impact Stories */
.impact-stories {
  padding: 5rem 0;
}

.impact-story-card {
  background: var(--secondary-color);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.3s ease;
}

.impact-story-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.story-image {
  height: 200px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder {
  text-align: center;
  color: var(--primary-color);
}

.image-placeholder i {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  display: block;
}

.image-placeholder span {
  font-weight: 500;
}

.story-content {
  padding: 2rem;
}

.story-content h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.story-content p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.story-impact {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.impact-tag {
  background: var(--primary-color);
  color: var(--secondary-color);
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Transparency Section */
.transparency-section {
  padding: 5rem 0;
}

.transparency-chart {
  background: var(--secondary-color);
  padding: 3rem;
  box-shadow: var(--shadow);
}

.chart-title {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 600;
}

.expense-breakdown {
  margin-bottom: 2rem;
}

.expense-item {
  margin-bottom: 1.5rem;
}

.expense-bar {
  width: 100%;
  height: 30px;
  background: var(--bg-light);
  position: relative;
  margin-bottom: 0.5rem;
}

.expense-fill {
  height: 100%;
  transition: width 1s ease;
}

.expense-fill.programs {
  background: var(--primary-color);
}

.expense-fill.admin {
  background: #f59e0b;
}

.expense-fill.fundraising {
  background: #3b82f6;
}

.expense-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.expense-label {
  color: var(--text-dark);
  font-weight: 500;
}

.expense-percentage {
  color: var(--primary-color);
  font-weight: 700;
}

.transparency-note {
  background: var(--bg-light);
  padding: 1.5rem;
  border-left: 4px solid var(--primary-color);
}

.transparency-note p {
  margin: 0;
  color: var(--text-light);
}

/* Payment Modal */
.payment-status {
  padding: 2rem;
}

.mpesa-icon,
.success-icon,
.error-icon {
  margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .donate-hero-title {
    font-size: 2.5rem;
  }

  .hero-impact-stats {
    margin-top: 2rem;
  }

  .impact-stat {
    padding: 0.75rem 1rem;
  }

  .hero-visual {
    height: 300px;
  }

  .donation-circle {
    width: 150px;
    height: 150px;
  }

  .circle-content i {
    font-size: 2.5rem;
  }

  .floating-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .donation-form-container {
    padding: 2rem;
  }

  .donation-type-options {
    grid-template-columns: 1fr;
  }

  .program-options {
    grid-template-columns: 1fr;
  }

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

  .payment-methods {
    grid-template-columns: 1fr;
  }

  .support-card {
    margin-bottom: 2rem;
  }

  .impact-story-card {
    margin-bottom: 2rem;
  }

  .transparency-chart {
    padding: 2rem;
  }
}

@media (max-width: 576px) {
  .amount-options {
    grid-template-columns: 1fr;
  }

  .type-label,
  .program-label,
  .payment-label {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}
