/* style.css */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: #ffffff;
  color: #111;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: relative;
  z-index: 10;
}

@media (max-width: 768px) {
  .header {
    flex-wrap: wrap;
    padding: 1rem;
  }
  .logo {
    height: 32px;
  }
  .header {
    flex-direction: row;
  }
  .nav {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
  }
  .donate-btn {
    order: 1;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    margin-left: auto;
    margin-right: 0.5rem;
    border-radius: 30px;
  }
  #menu-toggle.nav-toggle {
    order: 2;
    margin-left: 0;
    margin-right: 0;
    font-size: 2rem;
    color: #8B4513;
  }
  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .header > .logo {
    order: 0;
  }
  .header > .donate-btn {
    order: 1;
  }
  .header > nav {
    order: 2;
  }
  .header > #menu-toggle {
    order: 3;
  }
  /* Place donate and hamburger together on the right */
  .header {
    flex-direction: row;
  }
  .header > .logo {
    flex: 0 0 auto;
  }
  .header > .donate-btn,
  .header > #menu-toggle {
    flex: 0 0 auto;
  }
  .header > nav {
    flex: 1 1 auto;
  }
  /* Group donate and hamburger */
  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
  }
}


.logo {
  height: 40px;
}

.nav ul {
  display: flex;
  gap: 2rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
}

.donate-btn, .sign-up-btn {
  background: #500a0a;
  color: #fff;
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.donate-btn:hover, .sign-up-btn:hover {
  background: #310707;
}

/* Hero Section */
.hero {
  padding: 5rem 1rem 3rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Impact Section */
.impact {
  padding: 2rem 0 4rem;
}

.impact-box {
  background-color: #f9f5f0;
  border: 1px solid #cfcfcf;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.impact-box h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0;
  text-align: center;
}

.impact-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.impact-gallery img {
  width: 100%;
  max-width: 150px;
  border-radius: 10px;
  object-fit: cover;
}

.impact-stats {
  background-color: #5e0f0f;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
}

.impact-stats .stat {
  flex: 1;
  font-family: 'Inter', sans-serif;
}

.impact-stats .stat h4 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #ffd5d5; /* lighter red for headings */
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.impact-stats .stat strong {
  font-size: 2rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}

.impact-stats .stat p {
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .impact-stats {
    flex-direction: row;
    justify-content: space-between;
  }

  .impact-stats .stat {
    padding: 0 1rem;
  }
}


/* Partners */
.partners {
  padding: 4rem 0 2rem;
}

.section-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #1e1e1e;
}

.partner-bg {
  background-color: #FCFCFD; /* light off-white */
  border-radius: 12px;
  padding: 2rem;
  overflow-x: auto; /* allows horizontal scroll on mobile */
}

.logos {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center; /* center align on desktop */
  gap: 2rem;
  align-items: center;
  min-width: max-content;
}

.logos img {
  height: 50px;
  object-fit: contain;
  opacity: 0.9;
  flex-shrink: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.logos img:hover {
  transform: scale(1.05);
  opacity: 1;
}

/* Scrollbar styling */
.partner-bg::-webkit-scrollbar {
  height: 6px;
}
.partner-bg::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

/* Responsive: allow horizontal scroll and remove centering on small screens */
@media (max-width: 768px) {
  .logos {
    justify-content: flex-start;
  }
}


/* About */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

.about {
  padding: 4rem 1rem;
  background: #fff;
  font-family: 'Inter', sans-serif;
}

.about-inner {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.about-left,
.about-right {
  box-sizing: border-box;
}

.about-left {
  flex: 1 1 55%;
}

.about-right {
  flex: 1 1 40%;
}

.about-right img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}

.about-left h2 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #222;
}

.about-left p {
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.mission-vision-row {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.box {
  flex: 1;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.04);
}

.box.mission {
  background-color: #fef3ed;
}

.box.vision {
  background-color: #e8f3f8;
}

.icon-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.icon-title img {
  width: 28px;
  height: 28px;
}

.icon-title h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  margin: 0;
}

.box p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

/* Mobile Adjustments */
@media (max-width: 992px) {
  .about-inner {
    flex-direction: column;
    align-items: center;
  }
  .about-left, .about-right {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .mission-vision-row {
    flex-direction: column;
  }
  .about-right .support-img {
  margin-top: 1rem;
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

}


/* Programs */
.programs {
  padding: 4rem 0;
  background-color: #fff;
}
.program-intro {
  font-family: 'DM Sans', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  text-align: center;
  margin-bottom: 1rem;
  color: #1e1e1e;
}
.program-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  color: #1e1e1e;
  margin-bottom: 1rem;
}
.program-description {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 28px;
  text-align: center;
  color: #4a4a4a;
  margin-bottom: 2rem;
}
.program-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}
.column {
  flex: 1;
  min-width: 280px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: #333;
}
.column h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1e1e1e;
}
.column ul, .column ol {
  padding-left: 1.2rem;
}
.column li {
  margin-bottom: 1rem;
}
.more-products {
  margin-top: 3rem;
  font-family: 'DM Sans', sans-serif;
  text-align: center;
}
.more-products h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.more-products p {
  font-size: 16px;
  line-height: 26px;
  color: #4a4a4a;
}
.cta {
  text-align: center;
  margin-top: 2rem;
}
.sign-up-btn {
  background-color: #007F5F; /* or the specific green from your Figma */
  color: #ffffff;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 8px; /* increased for a more rounded look */
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}
.sign-up-btn:hover {
  background-color: #005F46; /* darker shade for hover effect */
}


/* Testimonials */
.testimonials {
  padding: 4rem 0;
  background-color: #fff;
  font-family: 'DM Sans', sans-serif;
}

.testimonial-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.testimonial-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.label {
  color: #5C0A0A;
  font-size: 16px;
  margin-bottom: 0.5rem;
}

.heading {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.heading span {
  color: #5C0A0A;
  display: block;
}

.message {
  font-size: 16px;
  line-height: 28px;
  color: #4a4a4a;
  margin-bottom: 1.5rem;
}

.person {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.name {
  font-size: 16px;
  font-weight: 600;
  color: #1e1e1e;
}

.role {
  font-size: 14px;
  color: #999;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.testimonial-image {
  flex: 1;
  min-width: 280px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-wrapper {
  background-color: #5C0A0A;
  border-radius: 60px 0 0 0;
  overflow: hidden;
  max-width: 400px;
  aspect-ratio: 1 / 1;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.nav-buttonstest {
  position: absolute;
  bottom: -2rem;
  right: 1rem;
  display: flex;
  gap: 1rem;
}

.navtest {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: #e0e0e0;
}

.nav.next {
  background-color: #5C0A0A;
}

.nav img {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .testimonial-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-buttons {
    position: static;
    margin-top: 1rem;
    justify-content: flex-start;
  }
}

/* Support */
.donation-section {
  width: 100%;
  background-color: #fff;
  font-family: 'Inter', sans-serif;
}

.donation-hero {
  background: linear-gradient(135deg, #005f3f, #007c57);
  color: #fff;
  border-radius: 1rem;
  padding: 3rem 2rem;
  text-align: center;
  margin: 2rem auto;
  max-width: 90%;
}

.donation-hero h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.donation-hero p {
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.donation-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.donate-btn {
  background: darkgreen;
  color: #fff;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.donate-btn:hover {
  background: green;
}

.donation-graph-container {
  display: flex;
  justify-content: center;
  margin-top: -3rem;
  z-index: 1;
  position: relative;
}

.graph-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  text-align: left;
  position: relative;
  width: 90%;
  max-width: 900px;
}

.graph-card h4 {
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.125rem;
}

.donation-graph {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.milestone-badge {
  position: absolute;
  right: -1rem;
  bottom: -1rem;
}

.circle {
  background: #fff;
  border: 6px solid #006640;
  border-radius: 50%;
  width: 130px;
  height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.milestone-label {
  font-size: 0.875rem;
  color: #555;
}

.milestone-number {
  font-size: 1.5rem;
  color: #006640;
}

.social-follow {
  background: #fff;
  border: 1px solid #5e2b20;
  border-radius: 12px;
  margin: 3rem auto;
  padding: 2rem;
  text-align: center;
  max-width: 900px;
}

.social-follow h5 {
  color: #5e2b20;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.social-follow p {
  font-size: 0.95rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-icons img {
  width: 28px;
  height: 28px;
  transition: transform 0.2s;
}

.social-icons img:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .donation-info {
    flex-direction: column;
    gap: 0.5rem;
  }

  .circle {
    width: 100px;
    height: 100px;
  }

  .milestone-number {
    font-size: 1.25rem;
  }
}
/* Footer */
.footer {
  background-color: #001b07;
  color: #ffffff;
  padding: 4rem 2rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
}

.footer-col {
  flex: 1 1 220px;
}

.footer-brand img.footer-logo {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-brand p {
  margin: 0;
  max-width: 280px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #7c7c7c;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-col ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #cccccc;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
  color: #cfcfcf;
}

.footer-icons {
  display: flex;
  gap: 1.5rem;
}

.footer-icons a img {
  height: 24px;
  width: 24px;
  filter: brightness(0.8);
  transition: filter 0.3s;
}

.footer-icons a:hover img {
  filter: brightness(1);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
/* Responsive */
@media (max-width: 768px) {
  .nav ul {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  }

  .nav ul.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .impact-stats, .program-details, .mission-vision, .footer-links {
    flex-direction: column;
    align-items: center;
  }
}

/* Reduce space above the video-highlight section */
.video-highlight {
  padding-top: 1.5rem; /* or even 1rem for tighter spacing */
  padding-bottom: 2rem; /* keep bottom padding for balance */
  margin-top: 0; /* ensure no extra margin */
}
.video-embed-bg {
  background: #f9f5f0;
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 24px rgba(80,10,10,0.06);
  margin-bottom: 1.5rem;
}
.video-responsive {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(80,10,10,0.08);
}
.video-responsive iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
  border-radius: 12px;
}
.video-caption {
  text-align: center;
  color: #5e0f0f;
  font-size: 1.05rem;
  margin-top: 0.5rem;
  font-family: 'Inter', sans-serif;
}
@media (max-width: 768px) {
  .video-embed-bg {
    padding: 1rem;
  }
  .video-responsive {
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }
}
.donation-modal {
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(30, 10, 60, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.donation-modal-content {
  background: #fff;
  padding: 2.5rem 2rem 2rem 2rem;
  border-radius: 18px;
  max-width: 350px;
  width: 90%;
  position: relative;
  box-shadow: 0 8px 32px rgba(80,10,80,0.18);
  animation: slideUp 0.4s;
}
@keyframes slideUp {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.donation-modal-close {
  position: absolute;
  right: 1.2rem; top: 1.2rem;
  font-size: 1.7rem;
  cursor: pointer;
  color: #a00;
  transition: color 0.2s;
}
.donation-modal-close:hover { color: #500a0a; }
#donation-form label {
  display: block;
  margin-top: 1.1rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
  color: #500a0a;
  letter-spacing: 0.01em;
}
#donation-form input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  border: 1.5px solid #eee;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  background: #faf8fc;
  transition: border 0.2s;
}
#donation-form input:focus {
  outline: none;
  border: 1.5px solid #500a0a;
  background: #fff;
}
#donation-form .donate-btn {
  background: linear-gradient(90deg, #a83279 0%, #d38312 100%);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 0.8rem 0;
  margin-top: 1.2rem;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(168,50,121,0.08);
  transition: background 0.2s, box-shadow 0.2s;
}
#donation-form .donate-btn:hover {
  background: linear-gradient(90deg, #d38312 0%, #a83279 100%);
  box-shadow: 0 4px 16px rgba(168,50,121,0.13);
}
.donation-modal-content h3 {
  text-align: center;
  color: #a83279;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
