* {
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
}

body, html {
  margin: 0;
  padding: 0;
}

/* Banner background */
.banner {
  background-image: url('https://aefpk.org/wp-content/uploads/2021/05/cta-bg.jpg');
  background-size: cover;
  background-position: center;
  height: 90vh;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 60px;
}

/* Donation form box */
.donation-form {
  background: #fff;
  border-radius: 12px;
  padding: 40px 30px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 4px 25px rgba(0, 90, 120, 0.15);
}

.donation-form h2 {
  color: #1E2A5E;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  line-height: 1.3;
}

.donation-form p {
  color: #333;
  text-align: center;
  margin-bottom: 25px;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
}

.tabs button {
  padding: 8px 15px;
  border: none;
  border-radius: 20px;
  background: #D9F4F9;
  cursor: pointer;
  font-weight: 600;
  color: #1E2A5E;
  transition: all 0.3s ease;
}

.tabs button.active {
  background: #0CAED6;
  color: #fff;
}

.amounts,
.types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.amounts button,
.types button {
  padding: 10px;
  border-radius: 25px;
  border: 1px solid #B7E5ED;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  color: #1E2A5E;
  transition: all 0.3s ease;
}

.amounts button:hover,
.types button:hover,
.types button.active {
  background: #0CAED6;
  color: #fff;
  border-color: #0CAED6;
}

/* Dropdown styling */
.donation-select {
  width: 100%;
  padding: 10px 15px;
  border-radius: 25px;
  border: 1px solid #B7E5ED;
  background: #fff;
  color: #1E2A5E;
  font-weight: 600;
  margin-bottom: 20px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%230CAED6' d='M6 8L0 0h12L6 8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
}

.donate-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 25px;
  background: #1E2A5E;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s ease;
}

.donate-btn:hover {
  background: #14204A;
}

.note {
  margin-top: 15px;
  font-size: 13px;
  color: #333;
  text-align: center;
  line-height: 1.5;
}

.secure {
  text-align: center;
  font-size: 12px;
  color: #7A8C99;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .banner {
    justify-content: center;
    padding: 20px;
    height: auto;
  }

  .donation-form {
    max-width: 100%;
    padding: 30px 20px;
  }
}

/* ===== Donation Details Page (AEF color palette) ===== */
.donation-details {
  background-color: #D9F4F9; /* light blue background tone */
  padding: 60px 20px;
  min-height: 90vh;
}

.donation-box {
  background-color: #fff;
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: 0 4px 25px rgba(0, 90, 120, 0.15);
  border: 1px solid #B7E5ED;
}

/* Heading bar consistent with main form style */
.form-section-title {
  background-color: #1E2A5E;
  color: #fff;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 8px;
  margin-bottom: 25px;
  font-size: 18px;
}

/* Form grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

/* Inputs styled like main donation form */
.form-grid input,
.form-grid select {
  width: 100%;
  padding: 10px 15px;
  border-radius: 25px;
  border: 1px solid #B7E5ED;
  background: #fff;
  font-size: 15px;
  color: #1E2A5E;
  font-weight: 500;
  transition: all 0.3s ease;
}

.form-grid input:focus,
.form-grid select:focus {
  border-color: #0CAED6;
  box-shadow: 0 0 5px rgba(12, 174, 214, 0.3);
  outline: none;
}

.form-grid select {
  grid-column: span 2;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%230CAED6' d='M6 8L0 0h12L6 8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
}

/* Button same navy color as Donate Now */
.next-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 25px;
  background: #1E2A5E;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  margin-top: 25px;
  transition: background 0.3s ease;
}

.next-btn:hover {
  background: #14204A;
}

@media (max-width: 767px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}


/* Active states for button selections */
.amount-btn.active,
.type-btn.active,
.tab-btn.active {
  background: #0CAED6;
  color: #fff;
  border-color: #0CAED6;
}

.amount-btn,
.type-btn,
.tab-btn {
  transition: all 0.3s ease;
}

/* Custom amount input */
.donation-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #B7E5ED;
  border-radius: 6px;
  margin-top: 5px;
  font-size: 15px;
  color: #1E2A5E;
}
