/* ============= GENERAL RESET ============= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: 'Poppins', sans-serif;
  color: #1a1a1a;
  background: #f8fafc;
  line-height: 1.6;
}

/* ============= CONTAINERS ============= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ============= HERO SECTION ============= */
.hero-top {
  background: linear-gradient(135deg, #003366, #0055aa);
  color: #fff;
  padding: 3rem 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-inner {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}

.logo {
  width: 100px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.org-name {
  font-weight: 700;
  font-size: 1.6rem;
  margin-top: 0.5rem;
}

.tagline {
  font-weight: 400;
  font-size: 1rem;
  opacity: 0.9;
}

/* ============= PAGE CARD ============= */
.page-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  margin-top: -2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.intro {
  text-align: center;
  margin-bottom: 2rem;
}

.page-title {
  font-weight: 600;
  color: #003366;
  margin-bottom: 0.5rem;
}

.note {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 0.8rem;
}

.note a {
  color: #0055aa;
  text-decoration: underline;
}

.lead {
  color: #444;
  font-size: 1rem;
}

/* ============= LAYOUT ============= */
.donate-layout {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.amounts-col, .form-col {
  flex: 1;
  min-width: 300px;
}

.amounts-col h3,
.form-col h3 {
  color: #003366;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ============= AMOUNT CARDS ============= */
.amounts {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.amount-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f2f7ff;
  border: 2px solid transparent;
  border-radius: 50px;
  padding: 0.9rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.amount-card:hover {
  background: #eaf3ff;
  border-color: #0055aa;
  transform: scale(1.02);
}

.amount-card.active {
  background: #0055aa;
  color: #fff;
  border-color: #003366;
}

.amount-card.other {
  background: #ffb703;
  color: #fff;
  font-weight: 600;
}

.amount-card.other:hover {
  background: #ffcb3d;
}

.amount-card .amt {
  font-size: 1rem;
  font-weight: 600;
}

.amount-card .meta {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* ============= CUSTOM INPUT ============= */
.custom-wrap {
  margin-top: 1rem;
  display: none;
}

.custom-wrap label {
  display: block;
  font-size: 0.9rem;
  color: #003366;
  margin-bottom: 0.4rem;
}

.custom-wrap input {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border 0.2s;
}

.custom-wrap input:focus {
  border-color: #0055aa;
}

/* ============= FORM ============= */
.form-card {
  background: #f9fbff;
  border-radius: 16px;
  padding: 1.8rem;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.field label {
  font-size: 0.9rem;
  color: #003366;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.field input,
.field textarea {
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border 0.2s;
}

.field input:focus,
.field textarea:focus {
  border-color: #0055aa;
}

.row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.row .full {
  flex: 1 1 100%;
}

textarea {
  resize: none;
  min-height: 80px;
}

/* ============= BUTTONS ============= */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

button {
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #0055aa;
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
}

.btn-primary:hover {
  background: #003f82;
}

.btn-outline {
  background: transparent;
  color: #0055aa;
  border: 2px solid #0055aa;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
}

.btn-outline:hover {
  background: #0055aa;
  color: #fff;
}

.small-note {
  font-size: 0.8rem;
  color: #666;
  margin-top: 1rem;
}

/* ============= RESPONSIVE ============= */
@media (max-width: 768px) {
  .donate-layout {
    flex-direction: column;
  }

  .hero-top {
    padding: 2rem 1rem;
  }

  .org-name {
    font-size: 1.3rem;
  }

  .page-card {
    padding: 1.5rem;
  }
}