/* Support page Specific Styles */
.donation-container {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: #222;
}

/* Container Box Header Layout Turned into Hero Wrapper */
.donation-header {
  max-width: 1100px;
  margin: 2.5rem auto 3.5rem auto;
  padding: 2.5rem 2rem;
  
  /* Hero Image Assignment */
  background-image: url('/assets/images/child-working.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden; /* Encapsulates the overlay corners */
  
  border: 1px solid #eaeaea;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}

/* Translucent dark purple overlay mask to protect typography legibility */
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(84, 13, 110, 0.55); /* 55% tint using your main purple */
  z-index: 1;
}

/* Push text and cards above the overlay layer */
.header-content, .league-card {
  position: relative;
  z-index: 2;
}

/* Side-by-Side arrangement on desktops */
@media (min-width: 768px) {
  .donation-header {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 3.5rem;
  }
  
  .header-content {
    flex: 1.2;
    padding-right: 2rem;
  }
  
  .league-card {
    flex: 0.8;
  }
}

/* Typography Enhancements changed to White for Contrast over Image */
.donation-header h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff;
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.header-subtitle {
  font-size: 1.45rem;
  color: #ffffff;
   font-weight: bold;
  line-height: 1.5;
  margin: 0;
}

/* Colored Dots for your Brand Name */ 
.donation-header h1 .brand-name {
  color: #ffffff; font-weight: bold; white-space: nowrap;
}
 
/* Revamped Literacy League Card */
.league-card {
  background-color: var(--color-cream);  
  border: 3px solid black;  
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 6px 6px 0px var(--color-yellow); /* Clean flat graphic shadow */
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.card-badge {
  background-color: black;
  color: var(--color-yellow);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.league-card h2 {
  color: black; 
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0 0 0.5rem 0;
}

.league-card p {
  color: #444;
  font-size: 0.95rem;
  margin: 0 0 1.5rem 0;
  line-height: 1.4;
}

/* Responsive Grid System */
.donation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .donation-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card Foundations with Flat 3D Shadows */
.donation-card {
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.donation-card h3 {
  margin: 0;
  padding: 1.25rem;
  color: #ffffff;
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex-grow: 1;
  background-color: #ffffff;
}

/* Color Identity Themes bound directly to global variable assets */
.card-green { border: 3px solid var(--color-green); box-shadow: 6px 6px 0px var(--color-green); }
.card-green h3 { background-color: var(--color-green) !important; }

.card-blue { border: 3px solid var(--color-blue); box-shadow: 6px 6px 0px var(--color-blue); }
.card-blue h3 { background-color: var(--color-blue) !important; }

.card-red { border: 3px solid var(--color-red); box-shadow: 6px 6px 0px var(--color-red); }
.card-red h3 { background-color: var(--color-red) !important; }

/* Total Hover Color Lock Overrides using variables */
.card-green:hover h3 { background-color: var(--color-green) !important; }
.card-green:hover .card-content { background-color: #ffffff !important; }

.card-blue:hover h3 { background-color: var(--color-blue) !important; }
.card-blue:hover .card-content { background-color: #ffffff !important; }

.card-red:hover h3 { background-color: var(--color-red) !important; }
.card-red:hover .card-content { background-color: #ffffff !important; }

/* Accessible UI Action Buttons */
.btn {
  display: block;
  text-align: center;
  padding: 0.75rem 1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  color: #ffffff;
  transition: transform 0.1s ease, background-color 0.1s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-purple { background-color: black; color: var(--color-yellow); }
.btn-purple:hover { background-color: black; }

.btn-green  { background-color: var(--color-green); }
.btn-green:hover { background-color: #0D9668; }

.btn-blue   { background-color: var(--color-blue); }
.btn-blue:hover { background-color: var(--color-blue-dark); }

.btn-red    { background-color: var(--color-red); }
.btn-red:hover { background-color: #D6284D; }

/* Context Detail Blocks */
.bank-transfer-details h4, 
.check-details h4 {
  margin: 0 0 0.75rem 0;
  color: #222;
  font-size: 1.1rem;
  border-bottom: 2px solid #eaeaea;
  padding-bottom: 0.35rem;
}


.hebrew-text {
  font-family: system-ui, -apple-system, sans-serif;
  direction: rtl;
  text-align: right;
  font-weight: bold;
  line-height: 1.5;
  background: #f8f9fa;
  border: 1px solid #eaeaea;
  padding: 0.85rem;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #444;
   
} 

.note {
  font-size: 0.95rem;
  color: #664d03;
  background-color: #fff3cd;
  padding: 0.75rem;
  border-left: 4px solid #ffd23f;
  border-radius: 0 6px 6px 0;
  margin: 0;
  line-height: 1.4;
}

address {
  font-style: normal;
  line-height: 1.5;
  background: #f8f9fa;
  border: 1px solid #eaeaea;
  padding: 0.85rem;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #444;
}

address p {
  margin: 0 0 0.75rem 0;
}