body {
  font-family:Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f0f9ff;
  line-height: 1.5;
}

header {
  text-align: center;
  background-color: #c9e8fbe6;
  color: white;
  padding: 20px 40px;
}

section h2 {
  text-align: center;
  margin-top: 30px;
  color: #333;
}

.sort {
  display: block;
  margin: 10px auto;
  padding: 10px;
  font-size: 16px;
}

.card {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 20px;
  gap: 20px;
  justify-content: center;
}

.volunteer {
  background-color: white;
  width: 250px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 15px;
  text-align: center;
  transition: transform 0.3s;
}

.volunteer:hover {
  transform: scale(1.05);
}

.volunteer img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

.volunteer button {
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #009688;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.volunteer button:hover {
  background-color: #00796b;
}

.overall-rating {
  text-align: center;
  font-weight: bold;
}

.review-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.review-card {
  background-color: #e8f5e9;
  width: 80%;
  max-width: 500px;
  border-left: 6px solid #388e3c;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
}

#feedback form {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

textarea {
  width: 100%;
  height: 100px;
  font-size: 16px;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.emoji-rating span {
  font-size: 24px;
  margin: 5px;
  cursor: pointer;
  transition: transform 0.2s;
}

.emoji-rating span:hover {
  transform: scale(1.3);
}

.form-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

button[type="submit"] {
  background-color: #00796b;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
}

.cancel-btn {
  background-color: #9e9e9e;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
}

button:hover {
  opacity: 0.85;
}

footer {
  background-color: #004c99;
  color: white;
  text-align: center;
  padding: 40px 40px 20px;
  margin: 0px 0px 2px;
}
