/* Reset & Base Styles */
* {
  box-sizing: border-box;
  font-family: sans-serif;
  color: #000;
  border-radius: 0.14vw;
  margin: 0.35vw;
}
html, body {
  max-width: 100%;
  overflow-x: hidden;
}



body {
  margin: 0;
  padding: 1.39vw;
  background: #fff;
  border: double 0.49vw green;
}

/* Header */
header {
  display: flex;
  align-items: center;
  padding: 0.69vw;
  background-color: orange;
  height: 14.58vw;
}

header img {
  width: 15%;
  height: auto;
  margin-right: 1.39vw;
  display: block;
}

.header-title {
  padding: 0;
  background-color: #ffa500;
  border: none;
  border-radius: 0.35vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: -2.08vw;
}

header h1 {
  font-size: 3.5em;
  font-weight: 900;
  font-family: 'Harrington', cursive, serif;
  color: #000;
}

h4 {
  margin-left: 0.69vw;
  color: green;
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.5em;
}

/* Navigation */
nav {
  background-color: darkgreen;
  padding: 0.69vw 0;
}

nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
}

nav li {
  margin: 0 1.04vw;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a.active {
  background-color: yellow;
  color: darkgreen;
  padding: 0.35vw 0.69vw;
  border-radius: 0.35vw;
}

/* Marquee */
marquee {
  background-color: #ffe600;
  padding: 0.56vw;
  font-weight: bold;
  margin: 0 4.86vw;
}

/* General Sections */
section, div {
  padding: 1.39vw;
  margin: 0 4.86vw;
  border: 0.14vw solid green;
  border-radius: 0.35vw;
  background-color: #fff;
}

.homecontent {
  margin: 0.69vw;
  padding: 2.43vw 2.43vw 2.43vw 4.17vw;
  font-size: 1.2em;
}

/* Button */
button {
  background-color: #4CAF50;
  color: white;
  padding: 0.83vw;
  border: none;
  border-radius: 0.56vw;
  font-size: 1em;
  cursor: pointer;
  box-shadow: 0.14vw 0.14vw 0.42vw rgba(0, 0, 0, 0.2);
}

button:hover {
  background-color: #45a049;
}

/* Slideshow / Gallery */
#galleryImage {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 22.22vw;
  padding: 1.74vw;
  margin: 2.08vw 4.65vw;
  background: linear-gradient(135deg, #fffbe6 60%, #e0ffe6 100%);
  border: 0.21vw solid #4CAF50;
  border-radius: 0.83vw;
  box-shadow: 0 0.28vw 1.39vw rgba(0, 128, 0, 0.2);
}

#slideshow {
  width: 38.2vw;
  max-width: 38.2vw;
  height: auto;
  max-height: 22.22vw;
  object-fit: contain;
  border: 0.28vw solid #ffa500;
  border-radius: 0.69vw;
  background: #ffffff;
  box-shadow: 0 0.42vw 1.11vw rgba(0, 0, 0, 0.1);
  transition: opacity 2s ease-in-out;
}

/* Footer */
footer {
  background-color: orange;
  text-align: left;
  padding: 1.39vw 1.04vw;
}

.footerLogo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.69vw;
  width: 50%;
}

/* Progress bar */
progress {
  width: 80%;
  height: 2vh;
}
button {
  width: auto;
  max-width: 90%;
  padding: 1em 2em;
}


.nav-btn {
  background-color: #ffa500;
  border: none;
  color: white;
  font-size: 2em;
  font-weight: bold;
  padding: 0.69vw 1.39vw;
  margin: 0 0.69vw;
  border-radius: 0.56vw;
  cursor: pointer;
  box-shadow: 0 0.28vw 0.83vw rgba(0,0,0,0.2);
  transition: background-color 0.3s;
}

.nav-btn:hover {
  background-color: #ff8800;
}

#galleryImage {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.39vw;
  background: linear-gradient(135deg, #fffbe6 60%, #e0ffe6 100%);
  padding: 1.74vw;
  margin: 2.08vw 4.65vw;
  border: 0.21vw solid #4CAF50;
  border-radius: 0.83vw;
  box-shadow: 0 0.28vw 1.39vw rgba(0, 128, 0, 0.2);
}

#slideshow {
  width: 38.2vw;
  height: 22.22vw;
  object-fit: contain;
  border: 0.28vw solid #ffa500;
  border-radius: 0.69vw;
  background: #fff;
  box-shadow: 0 0.42vw 1.11vw rgba(0, 0, 0, 0.1);
  transition: opacity 2s ease-in-out;
}

#donateWays .d {
  margin-left: 1vw;
  width: 20vw;
}
/* Mobile First Fixes */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    height: auto;
    text-align: center;
  }

  header img {
    width: 40%;
    margin: 0 auto 2vh auto;
  }

  header h1 {
    font-size: 2em;
  }

  nav ul {
    flex-direction: column;
    padding: 0;
  }

  nav li {
    margin: 1vh 0;
  }

  #slideshow {
    width: 90vw;
    max-width: 100%;
    height: auto;
  }

  #donateWays {
    flex-direction: column;
    margin: 2vh 2vw;
  }

 #donateWays .d {
  flex: 1 1 250px;
  max-width: 100%;
}


  footer {
    text-align: center;
    
  }

  footer .socialLogos {
    margin: 2vh auto;
    justify-content: center;
    width: auto;
  }
}
