/* Modal Popup Styles */
.donation-banner {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  animation: fadeIn 0.3s ease-in-out;
}

.donation-banner.closing {
  animation: fadeOut 0.3s ease-in-out forwards;
}

.donation-banner p {
    font-size: 22px;
    color: black;
    text-align: left;
}

.donation-banner h2 {
    color: #901921;
    text-align: center;
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #FFE367;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 90%;
  text-align: center;
  animation: slideIn 0.3s ease-out;
}

.donation-banner.closing .banner-content {
  animation: slideOut 0.3s ease-in forwards;
}

.banner-text {
  margin: 0 0 15px 0;
  font-size: 20px;
  line-height: 1.5;
  color: #666;
}

.banner-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  color: #484848;
  opacity: 0.8;
  transition: opacity 0.3s;
  line-height: 1;
}

.banner-close:hover {
  opacity: 1;
  color: white;
}

.donation-btn {
  background-color: #0C4C8A;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.donation-btn:hover {
  background-color: #0a3d73;
  color: white;
  text-decoration: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes slideIn {
  from { 
      opacity: 0;
      transform: translate(-50%, -60%);
  }
  to { 
      opacity: 1;
      transform: translate(-50%, -50%);
  }
}

@keyframes slideOut {
  from { 
      opacity: 1;
      transform: translate(-50%, -50%);
  }
  to { 
      opacity: 0;
      transform: translate(-50%, -60%);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .banner-content {
      max-width: 95%;
      width: 95%;
      max-height: 80vh;
      overflow-y: auto;
      padding: 20px;
  }
  
  .donation-banner h2 {
      font-size: 24px;
  }
  
  .banner-text {
      font-size: 16px;
  }
  
  .banner-close {
      font-size: 28px;
      top: 8px;
      right: 12px;
  }
}