
:root {
  --font-family: Arial, sans-serif;
  --primary-color:#d0dd94;
  --secondary-color: #12550f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing:border-box;
}
html, body {
  height: 100%;
  font-family: var(--font-family);
}

.navbar {
  position: absolute;
  top:-60;
  left: -40;
  width: 100%;
  display: flex;
  z-index: 10;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  z-index: 30;
}
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 250px;
  width: auto;           /* Maintain aspect ratio */
   /* Increase brightness and contrast */
  transition: filter 0.3s ease;           /* Smooth transition for interactive effect */
  /* Uncomment and adjust the filter below if you want to apply it */
  /* filter: brightness(0) contrast(0); */
}
.logo .tagline {
  margin-left: 10px;
  color: var(--primary-color);
  font-size: 1rem;
}


.nav-buttons {
  display: flex;
  flex-wrap: wrap;
}
.nav-buttons .btn {
  margin: 15px;
  padding: 15px 50px;
  border-radius: 30px;
  border: 1px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s;
  flex: 1 1 auto;
  text-align: center;
}
.nav-buttons .btn:hover {
  opacity: 0.8; 
  background: var(--primary-color);
  color: var(--secondary-color);
}
.nav-buttons .donate {
  background: var(--primary-color);
  color:#12550f ;
}
.nav-buttons .watch-more {
  background: var(--secondary-color);
  color:#9ba84e ;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slideshow {
  padding: 200px;
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 8s ease-in-out;  /* 8s fade */
}

.slide.active {
  opacity: 1;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.hero-content {
  position: relative;
  z-index:20;
  height: 110%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--primary-color);
  padding: 10px 20px;
}

/*  H1 transition states */
.hero-content h1 {
  margin-bottom: 50px;
  font-family: Tempus Sans ITC; 
  font-size: 2.7rem; 
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.hero-content.h1-visible h1 {
  opacity: 1;
  transform: translateY(0);
}

.hero-content.h1-hidden h1 {
  opacity: 0;
  transform: translateY(-20px);
}

/*JOIN US BUTTON*/
.hero-content .btn {
  padding: 20px 35px;
  border: 1px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s;
}
.hero-content .btn:hover {
  background:var(--primary-color); color:#12550f;
}
/* MAP PAGE*/
.content-image img {
  display: block;
  width: 100%;
  height:25rem;
  opacity: 10;
}
/* About Us */
.aboutus-section {
  padding: 10px 0;
  background: #f9fafb;
}
.aboutus-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 10px auto;
  gap: 40px;
  padding: 10px 24px;
  width: 100%;
}
.aboutus-image img {
  width: 320px;
  max-width: 35vw;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(18,85,15,0.09);
  object-fit: contain;
  background: #e6f9e6;
  display: block;
}
.aboutus-text {
  flex: 1 1 0;
  color: #12550f;
  font-size: 1.14rem;
  line-height: 1.7;
  min-width: 320px;
  /* Remove margin-right */
  text-align: justify;   /* <--- This makes the text spread out nicely! */
}
.aboutus-text h2 {
  color: #12550f;
  margin-bottom: 0;
  margin-top: -40px;
  font-size: 2.0rem;
  font-weight: bold;
  letter-spacing: 0.02em;
  text-align: center;
}
@media (max-width: 900px) {
  .aboutus-container {
    gap: 20px;
    padding: 8px 10px;
  }
  .aboutus-image img {
    width: 140px;
    max-width: 46vw;
  }
  .aboutus-text h2 {
    font-size: 2rem;
    margin-top: 10px;
  }
  .aboutus-text {
    font-size: 1.5rem;
    text-align: center;
  }
}
@media (max-width: 700px) {
  .aboutus-container {
    flex-direction: column;
    text-align: center;
    gap: 24px;
    padding: 0 6vw;
    max-width: 99vw;
  }
  .aboutus-image img {
    width: 80vw;
    max-width: 98vw;
    height: auto;
    margin: 0 auto;
  }
  .aboutus-text {
    min-width: unset;
    text-align: left;
  }
}
.aboutus-bar {
  display: block;
  margin: 0 auto 20px auto;
  width: 80px;
  height: 2px;
  border-radius: 4px;
  background:#12550f;
  /* You can adjust the colors above as you wish! */
}

@media (max-width: 700px) {
  .aboutus-bar {
    width: 50px;
    height: 5px;
    margin-bottom: 18px;
  }
}

/*Mission*/
.about-cards-section {
  background: #fff;
  padding: 40px 0 30px 0;
}
.about-cards-container {
  display: flex;
  justify-content: center;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.about-cards-section .about-card {
  background: linear-gradient(135deg, #e6f4ea 0%, #d0dd94 100%);
  border: 1px solid #b7d7b0;
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px rgba(18,85,15,0.07);
  padding: 32px 28px 28px 28px;
  flex: 1 1 280px;
  min-width: 260px;
  max-width: 340px;
  text-align: center;
  color: #12550f;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-cards-section .about-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(18,85,15,0.12);
}
.about-cards-section .about-card i {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #12550f;
}
.about-cards-section .about-card h5 {
  font-size: 1.25rem;
  margin: 12px 0 8px 0;
  color: #12550f;
  font-weight: bold;
  letter-spacing: 0.01em;
}
.about-cards-section .about-card p {
  color: #3d5c3d;
  font-size: 1.05rem;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .about-cards-container {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .about-cards-section .about-card {
    max-width: 95vw;
  }
}

/*Footer*/
.footer-dark {
  background-color:#687233;
  color: #eee5db;
  padding: 60px 10px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-dark a {
  color: #eee5db;
  text-decoration: none;
}

.footer-dark a:hover {
  text-decoration: underline;
}

.footer-logo {
  text-align: center;
  margin-bottom: 30px;
}

.footer-logo img {
  max-height: 250px; margin-top:-100px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 100px;
  justify-content: space-between;
  max-width: 1200px;
  margin: 30px 70px ; margin-top: -50px;
  
}

.footer-column {
  flex: 1;
  min-width: 250px;
  
}

.footer-column h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #f3efe8;text-align: left;
}

.footer-column p {
  margin-bottom: 10px;
  line-height: 1.6;text-align: left;
}


.footer-column ul {
  list-style: none;
  padding: 0; text-align: left;
}

.footer-column ul li {
  margin-bottom: 8px;text-align: left;
}

.newsletter-form {
  margin-top: 10px; 
}

.newsletter-form input {
  padding: 10px 15px;
  width: 100%;
  max-width: 250px;
  border: 1.3px solid #fff;
  background-color:#687233 ;
  border-radius: 25px;
  color:#852929;
  margin-bottom: 15px;
  text-align: center;
}
.newsletter-form input::placeholder { color: #fff; opacity: .8; }

.newsletter-form button {
  padding: 12px 30px;
  background: #fffdf3;
  color:#12550f;
  border: none;
  font-weight: bold;
  border-radius: 25px;
  cursor: pointer;
  width: 100%;
  max-width: 250px;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #f1efe8;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: relative;
    text-align: left;
  }
   .footer-column{
    margin-left: -20px;
   }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
  /*thin horizontal line*/
  .white-line {
  border: none;
  background-color: white;
  width: 70px;
  margin: 40px 0;
}
}


/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .newsletter-form input {
    width: 100%;
  }

  .newsletter-form button {
    width: 100%;
  }
}

/* Responsive breakpoints */
@media (max-width: 768px) {
  .navbar {
    justify-content: center;
    padding: 10px 20px;
  }
  .logo { margin-bottom: 10px; }
  .nav-buttons { justify-content: center; }
  .nav-buttons .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
  .donate{width:130;}
  .hero-content h1 { font-size: 3rem; }
  .hero-content .btn { padding: 12px 24px; }
}
@media (max-width: 480px) {
  .hero-content h1 { font-size: 2.9rem; }
  .hero-content .btn { font-size: 0.8rem; padding: 10px 20px; }
}
/*scroll up About us*/

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    justify-content: center;
    padding: 10px 20px;
  }
  .logo {
    margin-bottom: 10px;
  }
  .nav-buttons {
    justify-content: center;
  }
  .hero-content h1 {
    font-size: 2.3rem;
  }
  .hero-content .watch-more {
    padding: 18px 30px;
  }
  .features {
    flex-direction: column;
  }
  .feature-card {
    flex: 1 1 100%;
  }
}
 /*SECTION WITH MULTIPLE SLIDES*/
 /* TWO‐COLUMN LAYOUT */
.content {
  display: flex;
  max-width: 1200px;
  min-height: 100vh;
  margin: 10px auto;
}

/* LEFT PANEL */
.content-text {
  flex: 1;
  padding: 20px;
  margin-top: 110px;
}
.content-text h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-family:  BlinkMacSystemFont ; color:#687233;
}
.content-text p {
  max-width: 600px;
  font-size: 1.5rem;
  color:#39231a;
  text-align:left; 
  
}

/* RIGHT PANEL */
.content-image {
  flex: 1;
  position: relative;
}


/* THE “STAIR-STEP” BARS */
.program-item {
  --indent: 0px;              
  position: relative;
  margin-bottom: 8px;
  margin-left: var(--indent);
  padding: 25px 20px;
  color: #fff;
  font-size: 1.5rem;

}

/* ICON OUTSIDE BAR */
.program-item i {
 
  top: 50%;
  left: 300px;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color:#f1efe8;
}

/* LABEL TEXT */
.program-item .label {
  margin-left: 10px;
}

/* INDENT STEP FOR EACH ITEM */
.program-item:nth-child(1) { --indent: 0px;   }
.program-item:nth-child(2) { --indent: 100px;  }
.program-item:nth-child(3) { --indent: 150px;  }
.program-item:nth-child(4) { --indent: 250px;  }
.program-item:nth-child(5) { --indent: 150px; }
.program-item:nth-child(6) { --indent: 100px; }
.program-item:nth-child(7) { --indent: 0px; }

/* BAR COLORS */
.feeding      { background:#377a4a }  /* Feeding Programme */
.water        { background: #558ca6; }  /* Water Supply Solutions */
.women        { background: #39231a; }  /* Women Empowerment */
.education    { background: #e09a29; }  /* Education */
.vocational   { background: #1d8a70; }  /* Vocational Training */
.agricultural { background: #377a4a; }  /* Agricultural Sustainability */
.health       { background:#12550f; }  /* Health Care */

/* MOBILE: STACK EVERYTHING */
@media (max-width: 768px) {
  .content {
    flex-direction: column;
  }
  .program-list {
    position: static;
    transform: none;
    padding: 20px 0;
  }
  .program-item {
    margin-left: 10;
  }
  .program-item i {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin-right: 12px;
  }

  .content-text{
    margin-top: 10px;
  }
  .content-text p {
    text-align: 100%;
    max-width: 100%;
    
    font-size:relative;
  }

}
 


/* Responsive */
@media (max-width: 768px) {
  .impact-section {
    flex-direction: column;
    padding: 100px;
  }
}
  .impact-left, .impact-right {
    text-align: center;
    padding: 40px;
  }

  @media (max-width: 480px) {
  .program-item {
    font-size: 1.25rem;
    padding: 10px 15px;
    max-width: 100%;          
  }

  .impact-right {
    margin-top: 30px;
  }
}

/* Responsive font scaling */
@media (max-width: 600px) {
  .stat-number {
    font-size: 1.5rem;
  }
  .stat-text {
    font-size: 0.9rem;
  }
}
/* Responsive */


@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content .watch-more {
    padding: 15px 25px;
    font-size: 0.9rem;
  }
  
  }

.cta-card.donate {
  background: #12550f;
  color: #e9e5c7;
}
.cta-card.donate .cta-icon {
  color: #e9e5c7;
}

.cta-card.in-kind {
  background: #c87736;
  color: #e9e5c7;
}
.cta-card.in-kind .cta-icon {
  background: #fff;
  border-radius: 50%;
  padding: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c87736;
  font-size: 3.2rem;
  margin-bottom: 18px;
}

.cta-card.volunteer {
  background: #d79b3a;
  color: #e9e5c7;
}
.cta-card.volunteer .cta-icon {
  color: #e9e5c7;
}

/* General CTA card styles (keep as is or update if needed) */
.cta-card {
  flex: 1 1 0;
  padding: 48px 18px 38px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  min-width: 220px;
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px rgba(18,85,15,0.07);
  margin: 0 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.cta-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(18,85,15,0.12);
}
.cta-card h3 {
  font-size: 2.1rem;
  font-family: 'Patrick Hand', cursive, Arial, sans-serif;
  margin-bottom: 12px;
  font-weight: bold;
  letter-spacing: 0.01em;
}
.cta-card p {
  font-size: 1.13rem;
  margin-bottom: 28px;
}
.cta-btn {
  display: inline-block;
  padding: 12px 38px;
  border: 1.5px solid #e9e5c7;
  border-radius: 24px;
  background: transparent;
  color: #e9e5c7;
  font-size: 1.08rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #e9e5c7;
  color: #12550f;
}

.impact-section {
  width: 100%;
  background: #f9fafb;
  padding: 60px 0 30px 0;
}

.impact-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0;
  padding: 0 0 0 0;
}

.impact-left {
  flex: 1.1;
  color: #12550f;
  padding: 0 4vw 0 8vw;
}

.impact-left h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 18px;
  color: #12550f;
}

.impact-left p {
  font-size: 1.18rem;
  line-height: 1.7;
  color: #39231a;
}

.impact-right {
  flex: 1.4;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6vw;
}

.impact-video {
  width: 100%;
  max-width: 650px;
  min-width: 320px;
  aspect-ratio: 16/9;
  background: #e6f9e6;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(18,85,15,0.07);
  object-fit: cover;
  display: block;
}

@media (max-width: 1100px) {
  .impact-left {
    padding: 0 2vw 0 2vw;
  }
  .impact-right {
    padding-right: 2vw;
  }
  .impact-video {
    max-width: 98vw;
  }
}

@media (max-width: 900px) {
  .impact-flex {
    flex-direction: column;
    gap: 24px;
    padding: 0;
  }
  .impact-left, .impact-right {
    padding: 0 4vw;
    text-align: center;
    justify-content: center;
  }
  .impact-video {
    max-width: 98vw;
    margin: 0 auto;
  }
}

.programs-slider-section {
  background: #f9fafb;
  padding: 60px 0 40px 0;
  text-align: center;
}
.programs-title {
  font-size: 2.2rem;
  margin-bottom: 28px;
  color: #12550f;
  font-family: 'Patrick Hand', cursive, Arial, sans-serif;
}
.programs-slider {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px rgba(18,85,15,0.07);
  background: #fff;
}
.program-slide {
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 32px 18px 28px 18px;
  min-height: 420px;
  transition: opacity 0.5s;
}
.program-slide.active {
  display: flex;
  animation: fadeIn 0.7s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.program-img {
  width: 100%;
  max-width: 600px;
  height: 320px;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 18px;
}
.program-slide h3 {
  font-size: 1.5rem;
  color: #12550f;
  margin-bottom: 10px;
  font-family: 'Patrick Hand', cursive, Arial, sans-serif;
}
.program-slide p {
  font-size: 1.08rem;
  color: #39231a;
}
.programs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #12550f;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  opacity: 0.8;
  transition: background 0.2s;
}
.programs-arrow:hover {
  background: #196c24;
}
.programs-arrow.prev {
  left: 12px;
}
.programs-arrow.next {
  right: 12px;
}
@media (max-width: 800px) {
  .programs-slider {
    max-width: 98vw;
    min-width: 0;
  }
  .program-img {
    max-width: 98vw;
    height: 140px;
  }
  .program-slide {
    padding: 18px 4vw 18px 4vw;
    min-height: 320px;
  }
}

.impact-map-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 24px 0;
}

.impact-map-image {
    max-width: 672px;   /* 60% larger than 420px */
    width: 160%;        /* 60% larger than 100% */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(18,85,15,0.07);
    display: block;
    margin: 0 auto;
}

.aboutus-section {
    background: #f9fafb;
    padding: 48px 0 32px 0;
}

.aboutus-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.aboutus-image img {
    width: 320px;
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(18,85,15,0.10);
    margin-bottom: 18px;
}

.aboutus-text {
    flex: 1;
    min-width: 260px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(18,85,15,0.07);
    padding: 32px 28px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.aboutus-text h2 {
    font-size: 2.2rem;
    color: #12550f;
    font-family: 'Patrick Hand', cursive, Arial, sans-serif;
    margin-bottom: 12px;
    font-weight: bold;
    letter-spacing: 0.01em;
}

.aboutus-bar {
    display: block;
    width: 48px;
    height: 4px;
    background: #e3a93b;
    border-radius: 2px;
    margin-bottom: 18px;
}

.aboutus-text p {
    font-size: 1.18rem;
    color: #39231a;
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.01em;
}

@media (max-width: 800px) {
    .aboutus-container {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }
    .aboutus-text {
        padding: 22px 12px;
    }
    .aboutus-image img {
        width: 98vw;
        max-width: 340px;
    }
    .aboutus-text h2 {
        font-size: 1.5rem;
    }
    .aboutus-text p {
        font-size: 1.05rem;
    }
}

/* General responsive text for mobile */
@media (max-width: 600px) {
  h1, .hero-content h1, .aboutus-text h2, .programs-title, .impact-left h2 {
    font-size: 1.25rem !important;
    line-height: 1.2;
  }
  h2, h3, h4, h5 {
    font-size: 1.1rem !important;
    line-height: 1.2;
  }
  p, .aboutus-text p, .about-card p, .cta-card p, .impact-left p, .impact-right p, .program-slide p {
    font-size: 1rem !important;
    line-height: 1.5;
  }
  .aboutus-text, .about-card, .cta-card, .impact-left, .impact-right, .program-slide {
    padding-left: 7px !important;
    padding-right: 7px !important;
  }
  .hero-content h1 {
    font-size: 1.3rem !important;
  }
  .btn, .cta-btn, .profile-btn, .volunteer, .donate {
    font-size: 1rem !important;
    padding: 10px 18px !important;
  }
  .footer-column h4 {
    font-size: 1.1rem !important;
  }
  .footer-column p, .footer-column li, .newsletter-form input, .newsletter-form button {
    font-size: 0.98rem !important;
  }
}
