:root {
  --bg-color: #faf8f3;
  --text-color: #3a4149;
  --primary-color: #2c5f2d;
  --accent-color: #b8945f;
  --headline-font: 'Playfair Display', serif;
  --body-font: 'Lora', serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--body-font);
  margin: 0;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--headline-font);
  color: var(--primary-color);
}

/* ----------------------------- NAV BAR ---------------------------- */
/* ---------------------- nav bar location */
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
/* ----------------------nav bar items align right */
ul li {
  float: right;
}
/* ---------------------- nav bar item styling */
ul li a {
  font-family: "Playfair Display";
  display: block;
  color: #3a4149;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}
/* ---------------------- nav bar item hover effect */
ul li a:hover {
  color: #b8945f; 
  text-decoration: underline;
  font-weight: bold;
}
/* ---------------------- nav bar container */
#nav_bar {
  background-color: white;
  padding: 16px 72px;
  border-bottom: 2px solid #b8945f;
}

#logo{
  color:#2c5f2d;
  font-family: "Playfair Display";
  font-weight: bold;
  font-size: 18px;
  padding: 14px 16px;
}


.container {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 20px;
}

/* FOOTER --------------------------------------------------------- */
#footer-content{
  background-color: #2c5f2d;
  color:#faf8f3;
  padding: 32px;
}

#copyright{
  text-align: center;
}

.herosection{
  background-image: url(https://i.imgur.com/0P8YqBx.jpeg);
  background-size: cover;
  background-position: center; 
  height: 400px; 
  display: flex; align-items: center; 
  justify-content: flex-start;padding-left: 50px;
  margin-bottom: 50px;
}
.herotext {
  background-color: white;
  padding: 40px;
  border-radius: 5px;
  max-width: 450px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.herotext h1 {
  margin-top: 0;
  margin-bottom: 15px;
}

.herotext p {
  margin: 0;
}


.donationlayout {
  display: flex;
  gap: 60px;
  align-items: stretch;
  margin-top: 40px;
  padding-bottom: 40px;
}

.impact {
  flex: 1;
  padding-top: 40px;
  display: flex;
  flex-direction: column;
}

.impactitems{
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  flex: 1;                        
  gap: 15px;                      
  margin-top: 15px;
}

.impactitem {
  background-color: white; 
  padding: 20px 25px;
  border-radius: 12px;
  border-left: 6px solid var(--primary-color); 
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04); 
  transition: all 0.3s ease; 
}

.impactitem:hover {
  transform: translateY(-8px); 
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); 
  border-left-color: var(--accent-color); 
}

.impactitem h3{
  font-size: 2.8rem;
  color: var(--primary-color);
  margin: 0 0 5px 0;
  font-family: var(--headline-font);
}

.impactitem p{
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-color);
}

.impact h2,
.donationcard h2{
  margin-top: 0;
}

.donationcard{
  flex: 1;
  background-color: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); 
  max-width: 450px;
}

.formgroup{
  margin-bottom: 20px;
}

.amountbuttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.amountbutton {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  background-color: white;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-family: var(--body-font);
  color: var(--text-color);
}


.inputfield{
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: var(--body-font);
  box-sizing: border-box;
}

.submitbutton{
  width: 100%;
  padding: 15px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  display: flex;
  justify-content: center; 
  align-items: center; 
  gap: 10px;
}

.selectedamount {
  border: 2px solid var(--primary-color); 
  color: var(--primary-color); 
  font-weight: bold;
  background-color: #f0f7f0; 
}
