/*  style/donate.css  */

.donate-page {
  max-width: 700px;
  margin: 2rem auto;
  padding: 0 1rem;
  font-family: Arial, sans-serif;
  color: #222;
}

.donate-page h1,
.donate-page h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: #333;
}

.donate-content {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

.donate-content a.button {
  display: inline-block;
  background-color: #ff9900;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 1.5rem;
  transition: background-color 0.3s ease;
}

.donate-content a.button:hover,
.donate-content a.button:focus {
  background-color: #e68200;
  outline: none;
}

/* --- Donate Section Styles --- */
.donate-section {
  padding: 80px 20px;
  background: #f9f9f9;
}

.donate-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.donate-image {
  flex: 1 1 350px;
  max-width: 400px;
  text-align: center;
}

.donate-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  max-height: 400px; /* ensures image never dominates */
}

.donate-content {
  flex: 1 1 500px;
  max-width: 600px;
}

.donate-title {
  font-size: 2rem;
  color: #222;
  margin-bottom: 10px;
}

.donate-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 20px;
}

.donate-text {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 25px;
}

.btn.primary {
  display: inline-block;
  padding: 12px 28px;
  background-color: #b32e2e;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn.primary:hover {
  background-color: #a12020;
}

/* --- Responsive Styles --- */
@media (max-width: 768px) {
  .donate-container {
    flex-direction: column;
    text-align: center;
  }

  .donate-image {
    max-width: 90%;
  }

  .donate-content {
    max-width: 90%;
  }
}
