/* ============================
   GIVE PAGE STYLES + ANIMATIONS
============================ */

:root {
  --primary: #6b46c1;
  --dark: #111;
  --text: #444;
  --light-bg: #f9f9fc;
  --border: #dcdcdc;
}

/* Background image section */
.give-background {
  position: relative;
  min-height: 100vh;
  background: url('../images/give-bg.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

.give-background .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Full page centering */
.give-wrapper {
  position: relative;
  z-index: 2;
  min-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  animation: fadeIn 1s ease;
}

/* Form box */
.give-form {
  width: 100%;
  max-width: 530px;
  background: #fff;
  padding: 35px 30px;
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.25);
  animation: slideUp 0.9s ease;
}

.form-title {
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.8rem;
  color: var(--dark);
  font-weight: 700;
}

/* Form groups */
.form-group {
  margin-bottom: 20px;
  animation: fadeUp 1s ease forwards;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: var(--dark);
  font-weight: 600;
}

/* Input fields */
.give-form input,
.give-form select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  font-size: 1rem;
  color: var(--text);
  outline: none;
  transition: 0.25s;
}

.give-form input:focus,
.give-form select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(107,70,193,0.18);
}

/* Button */
.btn-donate {
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  background: var(--primary);
  border: none;
  color: #fff;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  animation: fadeUp 1.3s ease forwards;
}

.btn-donate:hover {
  background: #5630a0;
  transform: translateY(-2px);
}

/* ============================
   ANIMATIONS
============================ */
@keyframes fadeIn {
  from { opacity: 0; } 
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(25px); }
  100% { opacity: 1; transform: translateY(0); }
}