/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Make the whole page take full height */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* Let main grow and push footer down */
main {
  flex: 1;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #ffffff;
}

/* Navbar */
header {
  background: linear-gradient(to bottom, #006d68 60%, #ffffff 40%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  color: #ffffff;
  position: relative;
}

/* Logo with gradient effect */
.logo-container {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 6px;
}

.logo-container img {
  height: 100px;
}

/* Hamburger menu */
.menu-toggle {
  display: none; /* hidden on desktop */
  font-size: 28px;
  cursor: pointer;
  color: white;
}

/* Navigation links */
nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: normal;
}

nav ul li a:hover {
  color: #00c8b5;            /* change to a greenish color on hover */
  text-decoration: none;     /* keep no underline */
}

/* Donation Form */
.donation-form {
  max-width: 500px;
  margin: 30px auto;
  padding: 25px;
  background: #f9f9f9;
  border: 1px solid #006d68;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.donation-form h2 {
  color: #006d68;
  margin-bottom: 15px;
}

.donation-form p {
  margin-bottom: 20px;
  font-size: 16px;
}

.donation-form form,
.donation-form a {
  display: block;
  margin: 15px 0;
}

.donation-form input[type="number"] {
  padding: 10px;
  width: 100%;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.donation-form button {
  background: #006d68;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
}

.donation-form button:hover {
  background: #00a398;
}


.donation-form button {
  background: #006d68;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.donation-form button:hover {
  background: #00a398;
}

.donate-btn {
  background-color: #ff6600;   /* orange background */
  color: #fff;                 /* white text */
  padding: 10px 20px;          /* space inside */
  border-radius: 6px;          /* rounded corners */
  font-weight: bold;           /* bold text */
  text-decoration: none;       /* remove underline */
  transition: background 0.3s ease;
  border: 1px solid white;
}

.donate-btn:hover {
  background-color: #e65c00;   /* darker orange on hover */
}

.eft-donation {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
  text-align: left;
}

.eft-donation h3 {
  color: #333;
  margin-bottom: 10px;
}

.eft-donation ul {
  list-style: none;
  padding: 0;
}

.eft-donation ul li {
  margin: 5px 0;
  font-size: 15px;
}


/* Slideshow */
.slideshow-container {
  position: relative;
  max-width: 100%;
  height: 600px;
  overflow: visible;
}

.slides {
  display: none;
  width: 100%;
  height: 100%;
}



.slides img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 12px; /* optional for nicer look */
}

.slide-text {
  position: absolute;         /* float above the image */
  top: 30%;                   /* vertical center */
  left: 50%;                  /* horizontal center */
  transform: translate(-90%, -10%); /* center exactly */
  color: white;               /* text color */
  text-align: left;
  background: rgba(0, 0, 0, 0.4); /* semi-transparent dark overlay for readability */
  padding: 10px 20px;         /* spacing around text */
  border-radius: 8px;         /* rounded corners */
  z-index: 2;                 /* ensures it’s above the image */
  max-width: 100%;             /* prevent text from overflowing */
  line-height: 1.3;           /* nice spacing if multiple lines */
}

.slide-title{
 font-weight:700;
 font-size: 2.6rem;            /* adjust as needed */
 margin-bottom: 0.5rem;
 letter-spacing: 0.5px;
 display: block;
}

.slide-description {
 font-size: 2rem;            /* adjust as needed */   
}

/* Slideshow fade animation */
@keyframes fadeEffect {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* Welcome Section */
.welcome {
  text-align: center;
  padding: 40px 20px;
}

.welcome h1 {
   color: #006d68;
  margin-bottom: 15px;
  display: inline-block;        /* ensures border wraps tightly around text */
  padding: 10px 20px;           /* space inside the border */
  border: 1px solid #006d68;    /* green border */
  border-radius: 8px;            /* slightly rounded corners */
}

.welcome p {
  max-width: 600px;
  margin: auto;
}

/* Pillars layout – stable at all zoom levels */
.pillars {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1600px;
  margin: 0 auto;
  border: none;   /* shows the container */
  padding: 10px;
  border-radius: 8px;            /* slightly rounded corners */
}

/* Individual pillar */
.pillar {
  flex: 0 0 calc(33.333% - 14px); /* lock 3 columns */
  padding: 15px;
  text-align: left;
  border: 1px solid #006d68; /* visible border for each pillar */
   border-radius: 8px;            /* slightly rounded corners */
  
}
/* Pillar images */
.pillar img {
  width: 100%;
  max-width: 220px;   /* keeps icons from being too large */
  height: auto;
  display: block;
  margin: 0 auto 12px;
}

/* Community Champions Section */
.community-champions {
  text-align: center;
  padding: 40px 20px;
}

.community-champions h2 {
   color: #006d68;
  margin-bottom: 15px;
  font-size: 28px;
  display: inline-block;        /* ensures border wraps tightly around text */
  padding: 10px 20px;           /* space inside the border */
  border: 1px solid #006d68;    /* green border */
  border-radius: 8px;            /* slightly rounded corners */
}

.community-champions p {
  max-width: 600px;
  margin: 0 auto 30px auto;
  font-size: 16px;
  color: #333;
}

.champion-logos {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.champion-logos img {
  width: 150px;
  height: auto;
  border-radius: 6px; /* optional for nicer look */
  transition: transform 0.3s;
}

.champion-logos img:hover {
  transform: scale(1.05); /* subtle hover effect */
}

 .champion-logos img {
  border: 2px solid green; /* thickness and color of the border */
  border-radius: 8px;      /* optional: rounded corners */
  padding: 5px;            /* optional: space inside border */
  margin: 5px;             /* optional: spacing between images */
}

/* About Section */
.about {
  padding: 40px 20px;
  text-align: center;
  background: #f8f8f8;
}
.about h2 {
  color: #006d68;
  margin-bottom: 15px;
}

/* About content layout */
.about-info {
  display: flex;
  gap: 30px;
  max-width: 1500px;
  margin: 0 auto;
}

.about-col {
  flex: 1;
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
}

.about-col h3 {
  color: #006d68;
  margin-bottom: 12px;
  font-size: 18px;
}

.about-col p {
  margin-bottom: 14px;
  line-height: 1.7;
  text-align: left;
  font-size: 15px;
}

/* Values section */
.values {
  text-align: center;          /* centers the heading */
  padding: 40px 20px;
  background: #f8f8f8;         /* optional light background */
}

.values h2 {
  color: #006d68;              /* green color */
  font-size: 32px;
  margin-bottom: 30px;         /* space below heading */
  font-weight: bold;
}

.values-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;     /* center the value boxes */
  gap: 20px;                   /* space between boxes */
}

.value-box {
  flex: 1 1 250px;             /* responsive width */
  background: #ffffff;
  border: 1px solid #006d68;
  border-radius: 10px;
  padding: 20px;
  text-align: center;           /* center text inside each box */
}

/* impact Section */
.impact {
  padding: 40px 20px;
  text-align: center;
}
.impact h2 {
  color: #006d68;
  margin-bottom: 15px;
}
.impact ul {
  list-style: none;
  max-width: 600px;
  margin: auto;
  text-align: left;
  line-height: 1.8;
}
.impact li {
  margin: 10px 0;
}

/* Contact Section */
.contact {
  padding: 40px 20px;
  background: #f1f1f1;
  text-align: center;
}
.contact h2 {
  color: #006d68;
  margin-bottom: 10px;
}



/* Footer */
footer {
  background: #006d68;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {

  /* Hamburger menu visible */
  .menu-toggle {
   display: block;
   position: absolute;
   right: 20px;   /* distance from the right edge */
   top: 20px;     /* adjust depending on your header height */
  }

  /* Navigation links collapse */
  nav ul {
    flex-direction: column;
    background: rgba(0, 109, 104, 0.4);
    border: 2px solid #006d68;  
    position: absolute;
    top: 70px;
    right: 0;
    display: none;
    width: 200px;
    padding: 10px;
    border-radius: 6px;
    z-index: 1000;
  }

  nav ul.showing {
    display: flex;
  }
  
  /* NPC hero image height on mobile */
  .npc-hero img {
    height: 260px;
  }

  /* Stack pillars vertically on mobile */
  .pillars {
    flex-direction: column;
  }
  
   .pillar img {
    max-width: 100px;
  }
  
   .about-info {
    flex-direction: column;
}

 
  /* Partner logos smaller on mobile */
  .partner-logos img {
    width: 100px;
  }
  
  

  /* Optional: reduce slideshow height on mobile */
  .slideshow-container {
    height: 250px;
  }
}




