/* Reset some basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #fffdf7;
  color: #333;
  line-height: 1.6;
  margin: 0;
}



/* topbar */
header {
  background-color: #f8f8f8;
  padding: 20px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10%;
}

.logo-container .logo img {
  width: 200px;
  height: auto;
  margin-top: 10px;
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.social-icons {
  display: flex;
  margin-bottom: 15px;
}

.social-icons .social-icon {
  margin: 0 10px;
}

.social-icons .social-icon img {
  width: 25px;
  height: 25px;
}

.buttons {
  display: flex;
}

.buttons .btn {
  margin-left: 15px;
  padding: 8px 15px;
  text-decoration: none;
  color: white;
  background-color: #9eb81e;
  border-radius: 5px;
  font-size: 14px;
  display: inline-block;
  text-align: center;
}

.buttons .btn:hover {
  background-color: #527b34;
}

.volunteer-btn {
  margin-left: 0;
}

.donate-btn {
  margin-left: 20px;
}




/* Navbar */
.navbar {
  background-color: #f7f0d9;
  padding: 1rem;
  border-bottom: 2px solid #e3e3e3;
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.navbar a,
.navbar .dropbtn {
  text-decoration: none;
  color: #5c7c4a;
  font-weight: bold;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  display: block;
}

.navbar a:hover,
.navbar a.active,
.navbar .dropbtn:hover,
.navbar .dropbtn.active {
  color: #a58900;
}

.navbar li {
  position: relative;
}

.navbar .dropdown-content {
  display: none;
  position: absolute;
  left: 0;
  background-color: #fffbe6;
  min-width: 200px;
  box-shadow: 0 8px 16px #00000026;
  flex-direction: column;
  font-size: 1rem;
  gap: 0;
}

.navbar .dropdown-content li {
  width: 100%;
  border-top: 1px solid #4b6403;
}

.navbar .dropdown-content li a {
  padding: 0.75rem 1rem;
  display: block;
  color: #5c7c4a;
  background-color: transparent;
  text-align: left;
  font-size: 0.9rem;
}

.navbar .dropdown-content li a:hover {
  background-color: #f1e6b2;
  color: #a58900;
}

.navbar li.dropdown:hover .dropdown-content {
  display: flex;
}





/* Header section */
.page-header {
  background: #f3fbe7;
  padding: 2rem 1rem;
  text-align: center;
  border-bottom: 10px solid #ffffff;
}

.page-header h1 {
  font-size: 2.2rem;
  color: #5c7c4a;
}

.page-header h2 {
  font-size: 1.5rem;
  color: #9eb81e;
}

.page-header p {
  font-size: 1.1rem;
  color: #666;
}

.button {
  display: inline-block;
  padding: 8px 20px;
  background-color: #338302;
  color: #ffffff;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 10px;
}

.button:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.image-header,
.image-overseas-02 {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 1rem;
}

.image-header img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  max-width: 40%;
  border-radius: 8px;
}

.image-overseas-02 img {
  max-width: 100%;
  height: auto;
  max-width: 80%;
  object-fit: cover; 
  border-radius: 8px
}






/* Content section */
main {
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.content h1 {
  font-size: 2.2rem;
  color: #37492c;
  text-align:left;
  border-top: 30px solid #fffdf7;
}

.content h2{
  font-size: 1.5rem;
  text-align: center;
  border-top: 30px solid #ffffff;
}

.content h3 {
  font-size: 1rem;
  color: #338302;
  text-align:left;
  border-top: 30px solid #fffdf7;
}

.responsive-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 1rem auto;
}

.carousel {
  position: relative;
  max-width: 800px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slides img {
  width: 100%;
  flex-shrink: 0;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ffffffcc;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 50%;
  color: #444;
}

.prev:hover, .next:hover {
  background-color: #e6f3e6;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.quote-card {
  background-color: #fefee9;
  border-left: 5px solid #88b788;
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 700px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  font-family: 'Georgia', serif;
  position: relative;
}

blockquote {
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 0 0 1rem 0;
  color: #444;
}

.ref {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #666;
}

.toggle-btn {
  background-color: #88b788;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.toggle-btn:hover {
  background-color: #769c76;
}

.quote-details {
  display: none;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #333;
  background-color: #f7f7f7;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.help-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
  text-align: center;
}

.help-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #444;
}

.help-cards {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 1rem;
}

.help-card {
  flex: 1;
  max-width: 50%;
  text-decoration: none;
  background-color: #fefee9;
  border: 2px solid #e0e0e0;
  padding: 1.2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  color: #333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.help-card:hover {
  box-shadow: 0 8px 20px #0000001a;
}

.help-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  color: #88b788;
}

.help-card p {
  margin-bottom: 1.2rem;
  color: #555;
}

.help-card button {
  align-self: center;
  background-color: #88b788;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
}

.help-card button:hover {
  background-color: #769c76;
}

.content img {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: 10px;
  margin: 1rem 0;
}

.image-row {
  display: flex;
  justify-content: center;
  gap: 5rem;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); 
  gap: 20px;
}

.image-about1 {
  text-align: left;
}

.image-about1 img {
  height: 300px;
  width: 400px;
  object-fit: cover; 
}

.content ul {
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.content ul li {
  margin-bottom: 0.5rem;
}

.content iframe {
  width: 100%;
  height: 1000px;
  border-width: 5px;
  margin-top: 3rem;
}

.project-details a{
  color: #25d202;
  font-size: 1.2rem;
  font-weight: bolder;
}

.notes{
  font-size: 1rem;
  color: #527b34;
  font-weight: bold
}

.email{
  color: #ca4a00;
  font-size: 1.2rem;
  font-weight: bolder;
}

.red {
  color: red;
  font-weight: bold;
}

.highlight {
  color: #6fd76f;
  font-size: 1.2rem;
  font-weight: bold;
}

.subfield {
  display: flex;
  padding: 20px;
}

.subfield h1 {
  color: #71b646;
}

.subfield h2 {
  color: #71b646;
  text-align: left;
}

.schedule-row {
  display: grid;
  grid-template-columns: 150px auto;
  padding: 5px 0px;
}

.time {
  text-align: left;
  font-weight: normal;
}

.activity {
  text-align: left;
}

.left-column {
  flex: 3;
  padding-right: 20px;
}

.right-column {
  margin-top: 4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 250px;
}

.right-column img {
  width: 100%;
  border-radius: 8px;
}

.image-link {
  display: inline-block;
  text-decoration: none;
}

.clickable-image {
  width: 200px;
}

.clickable-image:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.reference {
  color: #50c408;
  font-style: italic;
}

.content-o-box {
  border: 2px solid #ccc;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px #0000001a;
  height: auto;
  background-color: #fbfff3;
  text-align: justify;
  max-width: 32%;
}

.content-o-box h3 {
  text-align: center;
  border-top-width: 0px;
}

.donation-options {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 2rem;
}

.donation-button {
  flex: 1;
  padding: 1.5rem;
  border: 2px solid #ddd;
  border-radius: 12px;
  margin-bottom: 1rem;
  text-align: center;
  background-color: #feffec;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.donation-button p {
  margin-top: 1.2rem;
}

.kitchen-box {
  flex: 1 1 300px;
  padding: 1.5rem;
  border: 2px solid #ccc;
  border-radius: 12px;
  background-color: #fefefe;
  box-shadow: 0 2px 6px #0000001a;
}

.total-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #38a800;
  text-align: center;
  display: block;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.sponsors-image {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  max-width: 1100px;
  margin: 0 auto;
}

.sponsors-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  margin-top: 2rem;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}

input[type="date"], [type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

input[type="radio"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.radio-group {
  display: flex;
  flex-direction: row;
  font-size: 16px;
  gap: 20px;
}

button {
  padding: 10px 20px;
  background-color: #338302;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

button:hover {
  background-color: #37492c;
}




/* Button back to top */
button.back-to-top {
  background-color: #333;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}



/* Footer */
footer {
  background-color: #f1f1f1;
  color: #666;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #ddd;
}