body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-image: url('../assets/donatefood.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #342E1D;
  display: flex;
  justify-content: center;
  align-items: start;
  min-height: 100vh;
}

.donate-food-wrapper {
  background-color: rgba(255, 255, 240, 0.75);
  backdrop-filter: blur(1.5px);
  border-radius: 20px;
  padding: 60px 40px;
  max-width: 850px;
  margin: 60px auto;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  text-align: center;
}

.donate-food-wrapper h1 {
  font-size: 2.5rem;
  color: #A40865;
  margin-bottom: 20px;
}

.donate-food-wrapper p {
  font-size: 1.1rem;
  color: #3A1900;
  margin-bottom: 40px;
}

/* Organization cards */
.org-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.org-card {
  background: linear-gradient(to bottom right, #A0D468, #FFA500);
  padding: 20px;
  border-radius: 16px;
  color: white;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.org-card h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.org-card p {
  font-size: 1rem;
  margin-bottom: 10px;
}

.org-card a {
  color: white;
  text-decoration: underline;
  font-weight: bold;
}

/* Form styling */
.donate-form h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #850001;
}

.donate-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 20px;
}

.donate-form label {
  font-weight: bold;
  text-align: left;
}

.donate-form input,
.donate-form textarea {
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  background-color: #FFF6EE;
  font-size: 1rem;
  transition: box-shadow 0.3s ease;
}

.donate-form input:focus,
.donate-form textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px #FFA500;
}

.donate-form button {
  padding: 14px 32px;
  background: linear-gradient(to right, #FFA500, #E45811);
  color: white;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.donate-form button:hover {
  transform: scale(1.05);
}

/* Confirmation Message */
#food-success {
  background-color: #A0D468;
  color: white;
  padding: 20px;
  margin-top: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  font-size: 1rem;
}

/* Back Buttons */
.back-buttons {
  margin-top: 40px;
}

.back-buttons a {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(to right, #A40865, #E45811);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.back-buttons a:hover {
  transform: scale(1.05);
}
