/* Donate Page Specific Styles */


.lottie-animation-container {
  background-image: url("../images/image\ \(61\).jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: brightness(80%);
}

.hero {
  padding-top: 25vh;
}


/* Donate Section */
.donate-options {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 30px;
}

.donate-card {
  background: white;
  border-radius: 32px;
  padding: 40px 30px;
  flex: 1 1 280px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid #f0e4f0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.donate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(180, 63, 139, 0.05) 0%, rgba(142, 43, 107, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.donate-card:hover {
  transform: translateY(-12px);
  border-color: var(--primary-purple);
  box-shadow: 0 25px 50px rgba(180, 63, 139, 0.15);
}

.donate-card:hover::before {
  opacity: 1;
}

.donate-card i {
  font-size: 3.5rem;
  color: var(--primary-purple);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.donate-card:hover i {
  transform: scale(1.1) rotate(5deg);
}

.donate-card .donate-card-icon {
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(180, 63, 139, 0.2));
  transition: transform 0.3s ease;
}

.donate-card:hover .donate-card-icon {
  transform: scale(1.1);
}

.donate-card h4 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #251b32;
  position: relative;
  z-index: 1;
}

.donate-card p {
  color: #3e3e52;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.donate-card .btn {
  position: relative;
  z-index: 1;
}

.donate-note {
  margin-top: 40px;
  font-size: 1.1rem;
  color: #5b4b6b;
  text-align: center;
}

/* Donation Modals */
.donation-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(37, 27, 50, 0.6);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.donation-modal-content {
  background: linear-gradient(135deg, #ffffff 0%, #fefaff 100%);
  margin: 2% auto;
  padding: 40px;
  border-radius: 32px;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

@keyframes slideUp {
  from {
    transform: translateY(60px) scale(0.95);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.modal-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(180, 63, 139, 0.1);
}

.modal-header h3 {
  font-size: 2.2rem;
  color: #251b32;
  margin-bottom: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.modal-subtitle {
  color: #5b4b6b;
  text-align: center;
  margin-bottom: 0;
  font-size: 1rem;
}

.modal-body {
  margin-bottom: 30px;
}

.donation-section {
  margin-bottom: 40px;
  background: rgba(180, 63, 139, 0.02);
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(180, 63, 139, 0.05);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 24px;
}

.section-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-purple), #8e2b6b);
  color: white;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(180, 63, 139, 0.3);
}

.section-header h4 {
  font-size: 1.4rem;
  color: #251b32;
  margin: 0;
  font-weight: 700;
}

.close-modal {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 40px;
  height: 40px;
  background: #f5f0f8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #5b4b6b;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.close-modal:hover {
  background: var(--primary-purple);
  color: white;
  transform: rotate(90deg);
}

/* Amount Selection */
.amount-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 15px;
  margin-bottom: 15px;
}

.amount-btn {
  padding: 24px 16px;
  border: 2px solid #ede4f4;
  background: white;
  border-radius: 20px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: #3e3e52;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 110px;
  justify-content: center;
}

.amount-btn .amount {
  font-size: 1.6rem;
  color: var(--primary-purple);
  font-weight: 800;
}

.amount-btn .amount-label {
  font-size: 0.8rem;
  color: #8a7b8e;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.amount-btn:hover {
  border-color: var(--primary-purple);
  color: var(--primary-purple);
  box-shadow: 0 10px 20px rgba(180, 63, 139, 0.1);
  transform: translateY(-4px);
}

.amount-btn.active {
  background: linear-gradient(135deg, var(--primary-purple), #8e2b6b);
  border-color: var(--primary-purple);
  color: white;
  box-shadow: 0 15px 30px rgba(180, 63, 139, 0.3);
  transform: scale(1.05);
}

.amount-btn.active .amount,
.amount-btn.active .amount-label {
  color: white;
}

.amount-btn.custom-amount-btn {
  background: #f8f5fa;
  border-color: #ede4f4;
}

.amount-btn.custom-amount-btn.active {
  background: linear-gradient(135deg, var(--primary-purple), #8e2b6b);
}

/* Custom Amount Input */
.custom-amount-input {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  animation: fadeInDown 0.4s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.custom-amount-input input {
  flex: 1;
  padding: 16px 20px;
  border: 2px solid #ede4f4;
  border-radius: 16px;
  background: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.custom-amount-input input:focus {
  outline: none;
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 4px rgba(180, 63, 139, 0.1);
}

.custom-amount-input button {
  padding: 0 28px;
  background: var(--primary-purple);
  color: white;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s ease;
}

.custom-amount-input button:hover {
  background: #8e2b6b;
  box-shadow: 0 8px 20px rgba(180, 63, 139, 0.2);
}

.selected-display {
  display: flex !important;
  align-items: center;
  gap: 15px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #fefaff, #f5f0fb);
  border-left: 5px solid var(--primary-purple);
  border-radius: 16px;
  margin-top: 20px;
  animation: slideInLeft 0.5s cubic-bezier(0.175, 0.885, 0.32, 1);
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.selected-display i {
  color: #27ae60;
  font-size: 1.8rem;
}

.selected-display span {
  color: #251b32;
  font-size: 1.1rem;
  font-weight: 600;
}

.selected-display strong {
  color: var(--primary-purple);
  font-weight: 800;
  font-size: 1.3rem;
}

/* Payment Methods */
.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.payment-option {
  padding: 30px 20px;
  border: 2px solid #ede4f4;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1);
  text-align: center;
  background: white;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.payment-option:hover {
  border-color: var(--primary-purple);
  box-shadow: 0 12px 25px rgba(180, 63, 139, 0.12);
  transform: translateY(-5px);
}

.payment-option.active {
  background: linear-gradient(135deg, #fefaff, #f5f0fb);
  border-color: var(--primary-purple);
  box-shadow: 0 15px 35px rgba(180, 63, 139, 0.2);
}

.payment-option.active::after {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 15px;
  right: 15px;
  color: var(--primary-purple);
  font-size: 1.4rem;
}

.payment-option .payment-icon {
  width: 80px;
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.05));
  transition: transform 0.3s ease;
}

.payment-option:hover .payment-icon {
  transform: scale(1.1);
}

.payment-option h5 {
  font-size: 1.1rem;
  color: #251b32;
  margin: 0;
  font-weight: 700;
}

.payment-option p {
  font-size: 0.9rem;
  color: #5b4b6b;
  margin: 0;
  font-weight: 500;
}

/* Mobile Money Providers (Specific Grid) */
.mobile-providers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 10px;
}

/* Mobile Money Details */
.mobile-numbers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.mobile-option {
  padding: 24px;
  background: linear-gradient(135deg, #ffffff, #fefaff);
  border-radius: 20px;
  border: 1px solid #ede4f4;
  border-left: 6px solid var(--primary-purple);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mobile-option::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, transparent 50%, rgba(180, 63, 139, 0.03) 50%);
  border-radius: 0 0 0 100%;
}

.mobile-option:hover {
  box-shadow: 0 12px 30px rgba(180, 63, 139, 0.08);
  transform: scale(1.02);
}

.mobile-option h5 {
  font-size: 1.2rem;
  color: #251b32;
  margin: 0 0 12px 0;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-number {
  font-size: 1.4rem;
  color: var(--primary-purple);
  font-weight: 800;
  margin: 8px 0;
  font-family: 'Space Mono', 'Courier New', monospace;
  letter-spacing: 1px;
  background: rgba(180, 63, 139, 0.05);
  padding: 10px 15px;
  border-radius: 12px;
  display: inline-block;
}

.account-name {
  color: #5b4b6b;
  font-size: 1rem;
  margin: 10px 0 0 0;
  font-weight: 600;
}

/* Bank Transfer Details */
.bank-info {
  display: grid;
  gap: 15px;
  margin-top: 10px;
}

.info-item {
  padding: 20px 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #ede4f4;
  border-left: 6px solid #8e2b6b;
  transition: all 0.3s ease;
}

.info-item:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  transform: translateX(8px);
}

.info-item label {
  font-weight: 800;
  color: #8a7b8e;
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.info-item p {
  color: #251b32;
  font-weight: 700;
  margin: 0;
  font-size: 1.2rem;
}

/* Stripe/Visa branding colors */
.payment-option[data-method="stripe"].active {
  background: linear-gradient(135deg, #f6f9fc, #f1f4f8);
  border-color: #6772e5;
}

.payment-option[data-method="visa"].active {
  background: linear-gradient(135deg, #f7faff, #f0f4f9);
  border-color: #1a1f71;
}

/* Proceed Button */
.btn-primary.btn-large {
  width: 100%;
  padding: 22px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background: linear-gradient(135deg, var(--primary-purple), #8e2b6b);
  box-shadow: 0 15px 35px rgba(180, 63, 139, 0.3);
  margin-top: 20px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1);
  letter-spacing: 0.5px;
}

.btn-primary.btn-large:hover:not(:disabled) {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(180, 63, 139, 0.4);
}

.btn-primary.btn-large:disabled {
  background: #d0b8d5;
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Responsive Donation Modal */
@media (max-width: 768px) {
  .donation-modal-content {
    margin: 0;
    width: 100%;
    height: 100%;
    max-height: 100vh;
    border-radius: 0;
    padding: 30px 20px;
  }

  .modal-header h3 {
    font-size: 1.8rem;
  }

  .amount-buttons {
    grid-template-columns: repeat(2, 1fr);
  }

  .payment-methods {
    grid-template-columns: 1fr;
  }

  .custom-amount-input {
    flex-direction: column;
  }
}