* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}
html{
  scroll-behavior: smooth;
}
body {
    background: #fdfbf6;
    color: #ffffff;
}

/* ---------------- NAVBAR SECTION---------------- */
/* .navbar {
    position: sticky;
    background: #fdfbf6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 6%;
} */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fdfbf6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6%;
  /* box-shadow: 0 2px 5px rgba(0,0,0,0.05); */
}

.logo {
    height: 40px;
}

.nav-center {
    display: flex;
    gap: 28px;
}

.nav-center a {
    text-decoration: none;
    color: #1f1f1f;
    font-size: 15px;
    position: relative;
}

.nav-center a.active::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 2px;
    background: #1f1f1f;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
}

.nav-right {
    display: flex;
    gap: 12px;
}

.btn-outline {
    background: transparent;
    border: 1px solid #1f513f;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
}

.btn-solid {
    background: #1f513f;
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
}

/* ---------------- HERO ---------------- */
/* ---------------- HERO ---------------- */
.hero {
    margin: 0 30px 6%;
    background: 
      url(Group\ 114.png),
      linear-gradient(135deg, #1f513f, #244f42);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 28px;
    padding: 70px 20px 240px; /* keep original bottom padding */
    text-align: center;
    position: relative;
}

.request-btn {
    background: white;
    color: #1f513f;
    border: none;
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin-bottom: 28px;
}

/* Circle */
.request-btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1f513f; /* circle color */
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
}

.hero h1 {
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 550;
    line-height: 1.3;
}

.highlight {
    color: #f4c37d;
}

.support {
    color: #e39b78;
}

.hero-text {
    margin: 20px auto 30px;
    max-width: 720px;
    font-size: 15px;
    opacity: 0.9;
}

.donors {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #1f513f;
    padding: 8px 14px;
    border-radius: 20px;
}

.avatars {
    display: flex;
}

.avatars img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -8px;
}

#testimonials{
  scroll-margin-top: 80px; 
}

/* #team-modal-content{
  scroll-margin-top: 900px; 
} */

#home{
  scroll-margin-top: 100px; 
}

#about{
  scroll-margin-top: 100px; /
}
/* ---------------- HERO IMAGE (match original style) ---------------- */
.image-section {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 70%); /* keep original overlap exactly */
    width: min(90%, 1000px);
    z-index: 5;
}

.image-wrapper {
    padding: 14px;
    border-radius: 26px;
}

.image-wrapper img {
    width: 100%;
    display: block;
    border-radius: 22px;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 900px) {
    .hero {
        padding-bottom: 140px;
    }

    .image-section {
        width: 90%;
        transform: translate(-50%, 60%);
    }
}

@media (max-width: 500px) {
    .hero {
        padding: 50px 16px 180px;
    }

    .hero-text {
        font-size: 14px;
    }

    .image-section {
        width: 95%;
        transform: translate(-50%, 45%);
    }
}




/* ---------------- ABOUT ---------------- */
.about {
    padding: 450px 20px 150px;
    
}

.about-wrapper {
    max-width: 1200px;
    margin: auto;
    position: relative;
}

/* LEFT GLASS CARD */
.about-text {
    position: relative;
    z-index: 2;
    width: 65%;
    padding: 56px;
    border-radius: 32px;
    background: rgba(214, 226, 205, 0.85);
    backdrop-filter: blur(12px);
}

.about-text h1 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.3;
    font-weight: 550;
    color: #2f4f3f;
    margin-bottom: 24px;
}

.about-text h1 span {
    color: #e48d5b;
}

.about-text p {
    font-size: 15px;
    line-height: 1.7;
    color: #1f1f1f;
    max-width: 520px;
}

/* RIGHT IMAGE */
.about-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-35%);
    width: 520px;
    height: 520px;
    border-radius: 32px;
    overflow: hidden;
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 900px) {
    .nav-center {
        display: none;
    }

    .hero {
        padding-bottom: 140px;
    }

    .about-wrapper {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .about-text {
        width: 100%;
    }

    .about-image {
        position: relative;
        transform: none;
        width: 100%;
        height: 420px;
    }
}

@media (max-width: 500px) {
   

    .about {
        padding-top: 140px;
    }

    .about-text {
        padding: 36px;
    }
}






/* ---------------- IMPACT SECTION ---------------- */
.impact {
    background: #eaffea;
    background-image: url(Frame\ 18.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 20px 50px;
}

.impact-container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

/* Heading */
.impact h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 550;
    color: #000;
    margin-bottom: 12px;
}

.impact h2 span {
    color: #e48d5b;
}

/* Subtitle */
.impact-subtext {
    max-width: 680px;
    margin: 0 auto 60px;
    font-size: 15px;
    line-height: 1.6;
    color: #1f1f1f;
}

/* Cards Layout */
.impact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Card */
.impact-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 28px 40px;
    height: 370px;
    
}

/* Small title */
.impact-card h4 {
    font-size: 15px;
    font-weight: 550;
    color: #1f1f1f;
    text-align: left;
    margin-bottom: 80px;
}

/* Big number */
.impact-card h3 {
    font-size: 48px;
    font-weight: 550;
    margin-top: 180px;
    color: #000;
    text-align: left;
    margin-bottom: 14px;
}

.impact-card h3 span {
    color: #e48d5b;
}

/* Description */
.impact-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #4a4a4a;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    min-width: 20px;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 900px) {
    .impact-cards {
        grid-template-columns: 1fr;
    }

    .impact-card {
        text-align: left;
    }

    .impact-card p {
        margin: auto;
    }
}




/* ---------------- TEAM SECTION ---------------- */
.team {
    background: #fdf8ee;
    padding: 50px 20px;
}

.team-container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.team h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 550;
    color: #000;
    margin-bottom: 14px;
}

.team h2 span {
    color: #e48d5b;
}

.team-subtext {
    font-size: 15px;
    line-height: 1.6;
    color: #1f1f1f;
    margin-bottom: 70px;
}

.team-members {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.team-member.small {
    width: 260px;
    cursor: pointer;
}

.team-img {
    width: 260px;
    height: 260px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 14px;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-member h4 {
    font-size: 16px;
    font-weight: 550;
    margin-bottom: 4px;
    color: #000;
}

.team-member span {
    font-size: 14px;
    color: #6b6b6b;
}


/* MODAL */
/* MODAL */
.team-modal {
    position: fixed;
    margin: auto;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: center;
    margin: top 2000px;

    justify-content: center;
    z-index: 999;
}

.team-modal-content {
    background: #fdf8ee;
    padding: 20px;
    border-radius: 32px;
    max-width: 625px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: pop 0.25s ease;
}

/* DESKTOP LAYOUT */
.team-modal-body {
    display: flex;
    gap: 30px;
    align-items: center;
}

.team-modal-image {
    flex: 0 0 45%;
    text-align: center;
}

.team-modal-image img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 12px;
}

.team-modal-image h4 {
    font-size: 18px;
    font-weight: 550;
    color: #000;
    margin-bottom: 4px;
}

.team-modal-image span {
    font-size: 14px;
    color: #6b6b6b;
}

.team-modal-text {
    flex: 1;
    text-align: left;
}

.team-modal-text p {
    font-size: 12px;
    line-height: 1.6;
    color: #1f1f1f;
}

/* CLOSE */
.team-modal-close {
    display: block;
    text-align: center;
    font-size: 10px;
    cursor: pointer;
    margin: 10px auto 0;
    width: 100px;
    color: #1f513f;
}

/* MOBILE */
@media (max-width: 900px) {
    .team-modal-body {
        flex-direction: column;
        text-align: center;
    }

    .team-modal-text {
        text-align: center;
    }
}


@keyframes pop {
    from {
        transform: scale(0.92);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* MOBILE */
@media (max-width: 900px) {
    .team-modal{
      margin-top: 70px;
    }
    .team-modal-body {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }

    .team-modal-text {
        text-align: center;
    }

    .team-modal-text h4 {
        font-size: 18px;
    }

    .team-modal-text span {
        font-size: 13px;
    }

    .team-modal-text p {
        font-size: 11px;
    }

    .team-member.small,
    .team-img {
        width: 100%;
        max-width: 320px;
    }

    .team-img {
        height: 320px;
    }
}





/* ---------------- TESTIMONIALS ---------------- */
.testimonials {
    background: #fdf8ee;
    padding: 50px 20px 50px;
}

.testimonials-container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

/* Heading */
.testimonials h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 550;
    margin-bottom: 14px;
    color: #000;
}

.testimonials h2 span {
    color: #e48d5b;
}

/* Subtitle */
.testimonials-subtext {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 60px;
    color: #000;
}

/* Wrapper */
.testimonial-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card */
.testimonial-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    width: 100%;
    border-radius: 36px;
    overflow: hidden;
}

/* Left panel */
.testimonial-text {
    background: #255C41;
    background-image: url(Frame\ 19.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 70px 60px;
    display: flex;
    align-items: center;
}

.testimonial-text p {
    font-size: 18px;
    line-height: 1.7;
}

/* Right panel */
.testimonial-image {
    position: relative;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Name overlay */
.testimonial-name {
    position: absolute;
    bottom: 30px;
    left: 30px;
    text-align: left;
    color: white;
}

.testimonial-name h4 {
    font-size: 22px;
    font-weight: 550;
}

.testimonial-name span {
    font-size: 14px;
    opacity: 0.9;
}

/* Arrows */
.arrow {
    background: #255C41;
    color: white;
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 26px;
    cursor: pointer;
}

.arrow.left {
    margin-right: 20px;
}

.arrow.right {
    margin-left: 20px;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 900px) {
    .testimonial-card {
        grid-template-columns: 1fr;
    }

    .testimonial-text {
        padding: 40px;
    }

    .testimonial-name {
        left: 20px;
        bottom: 20px;
    }

    .arrow {
        width: 56px;
        height: 40px;
    }
}



.help-section {
  background: #fbf6ee;
  max-width: 100vw;
  padding: 80px 6%;
  font-family: "Segoe UI", sans-serif;
}

.help-header {
  text-align: center;
  margin-bottom: 60px;
}

.help-header h2 {
  font-size: 48px;
  font-weight: 550;
  color: #000;
}

.help-header span {
  color: #d98a5f;
}

.help-header p {
  font-size: 18px;
  margin-top: 10px;
  color: #333;
}

/* CARD ROW */
.help-cards {
  display: flex;
  gap: 30px;
  align-items: center;
}

/* BASE CARD */
.help-card {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
}

/* SIDE CARDS */
.help-card.side {
  flex: 1;
  height: 520px;
}

/* CENTER CARD */
.help-card.center {
  flex: 1.35;
  height: 520px;
}

/* IMAGE */
.help-card img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

/* SIDE OVERLAY */
.card-text {
  position: absolute;
  width: 100%;
  bottom: 0;
  padding: 28px;
  color: #fff;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0.15),
    transparent
  );
}

.card-text h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.card-text p {
  font-size: 15px;
  opacity: 0.9;
}

/* CENTER CONTENT */
.center-content {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
  color: #fff;
}

.center-content h3 {
  font-size: 30px;
  margin-bottom: 30px;
}

/* BUTTON */
.center-content button {
  background: #fff;
  border: none;
  border-radius: 40px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  cursor: pointer;
}

.center-content span {
  background: #000;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .help-cards {
    flex-direction: column;
    align-items: stretch;
  }

  .help-card.side,
  .help-card.center {
    height: 380px;
  }
}


.news-section {
  background: #fdfbf6;
  padding: 80px 5%;
  font-family: "Segoe UI", sans-serif;
  overflow: hidden;
}

/* HEADER */
.news-header {
  text-align: center;
  margin-bottom: 50px;
}

.news-header h2 {
  font-size: 46px;
  font-weight: 550;
  color: #000;
}

.news-header span {
  color: #d98a5f;
}

.news-header p {
  margin-top: 12px;
  font-size: 18px;
  color: #333;
}

/* CAROUSEL */
/* .news-carousel {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
} */

.news-carousel-wrap {
  /* width: 100vw; */
  display: flex;
  justify-content: center;      /* FULL SCREEN CENTERING */
  overflow: hidden;             /* prevents scroll bleed */
}

.news-carousel {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  width: max-content; 
  max-width: 100vw;
  padding: 20px 16px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}


.news-carousel > * {
  flex: 0 0 auto;
  /* min-width: 280px;  */
  scroll-snap-align: center;
}

.news-carousel::-webkit-scrollbar {
  display: none;
}

/* BASE ITEM */
.news-item {
  cursor: pointer;
  flex: 0 0 auto;
  position: relative;
  scroll-snap-align: center;
  overflow: hidden;
  background: #000;
}

/* SIDE PILL IMAGES */
.news-item.pill {
  width: 160px;
  height: 580px;
  border-radius: 90px;
  filter: grayscale(100%);
}

.news-item.pill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CENTER ACTIVE CARD */
.news-item.active {
  width: 420px;
  height: 580px;
  border-radius: 36px;
}

.news-item.active img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* OVERLAY CONTENT */
.news-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0.25),
    transparent
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  color: #fff;
}

.news-overlay h3 {
  font-size: 22px;
  line-height: 1.3;
}


.news-item .news-overlay {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0s ease, transform 0.3s ease;
}

.news-item.active .news-overlay {
  opacity: 1;
  transform: translateY(0);
}

.carousel-progress {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db; /* light gray */
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
  background: #1f513f;
  transform: scale(1.2);
}

/* ARROW */


/* RESPONSIVE */
@media (max-width: 900px) {
  .news-item.active {
    width: 320px;
    height: 480px;
  }

  .news-item.pill {
    height: 480px;
  }
}

@media (max-width: 500px) {
  .news-carousel {
    justify-content: flex-start;     /* mobile UX */
    /* padding-left: 50vw; */
    padding-right: 50vw;
  }
  
  .news-header h2 {
    font-size: 34px;
  }

  .news-item.active {
    width: 340px;
    height: 420px;
  }

  .news-item.pill {
    width: 130px;
    height: 420px;
  }
}


.join-section {
  background: #fdfbf6;
  padding: 120px 5%;
  position: relative;
  overflow: hidden;
  font-family: "Segoe UI", sans-serif;
}

.join-wrapper {
  max-width: 1200px;
  margin: auto;
  position: relative;
  min-height: 520px;
}

/* CENTER CONTENT */
.join-content {
  text-align: center;
  position: relative;
  top: 100px;
  z-index: 2;
}

.join-content h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 550;
  line-height: 1.1;
  color: #000;
}

.highlight-gold {
  color: #e0b05a;
}

.highlight-orange {
  color: #e8775c;
}

/* BUTTON */
.join-btn {
  margin-top: 32px;
  background: #2e5f46;
  color: #fff;
  border: none;
  padding: 14px 22px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  cursor: pointer;
}

.btn-arrow {
  width: 34px;
  height: 34px;
  background: #fff;
  color: #2e5f46;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: bold;
}

/* CIRCULAR IMAGES */
.circle {
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
}

/* POSITIONING (matches image layout) */
.circle-1 {
  width: 180px;
  height: 180px;
  top: -40px;
  left: 140px;
}

.circle-2 {
  width: 90px;
  height: 90px;
  top: 40px;
  right: 220px;
}

.circle-3 {
  width: 160px;
  height: 160px;
  right: 60px;
  top: 180px;
}

.circle-4 {
  width: 160px;
  height: 160px;
  left: 60px;
  top: 260px;
}

.circle-5 {
  width: 110px;
  height: 110px;
  left: 200px;
  bottom: -40px;
}

.circle-6 {
  width: 220px;
  height: 220px;
  right: 120px;
  bottom: -60px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .circle {
    opacity: 0.9;
  }

  .circle-1 { left: 40px; }
  .circle-6 { right: 40px; }
}

@media (max-width: 500px) {
  .join-wrapper {
    min-height: auto;
  }

  .circle {
    position: static;
    display: inline-block;
    margin: 12px;
  }

  .join-wrapper {
    text-align: center;
  }
}

.footer {
  background: #fbf6ec;
  padding: 80px 7% 35px;
  font-family: "Segoe UI", sans-serif;
  color: #000;
}

/* MAIN ROW */
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

/* LEFT */
.footer-brand {
  max-width: 420px;
}

.footer-logo {
  width: 220px;
  height: auto;
}

.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border: 1px solid #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  text-decoration: none;
  font-size: 16px;
}

/* RIGHT */
.footer-links-wrapper {
  display: flex;
  gap: 80px;
}

.footer-links h4 {
  font-size: 15px;
  margin-bottom: 22px;
}

.footer-links a {
  display: block;
  color: #000;
  text-decoration: none;
  font-size: 14.5px;
  margin-bottom: 14px;
}

/* BOTTOM */
.footer-bottom {
  margin-top: 70px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  flex-wrap: wrap;
  gap: 15px;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1024px) {
  .footer-inner {
    flex-direction: column;
    gap: 50px;
  }

  .footer-links-wrapper {
    gap: 60px;
  }
}

@media (max-width: 500px) {
  .footer {
    padding: 60px 6% 30px;
  }

  .footer-links-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
