
    :root {
      --green: #12B614;
      --green-light: #c9f3e3;
      --blue: #146c94;
      --blue-light: #d8eefc;
      --text-dark: #1b1b1b;
      --bg-light: #f7fbf9;
    }

    body {
      line-height: 1.5;
      font-family: "Jost", sans-serif;
      color: var(--text-dark);
      position: relative;
      overflow-x: hidden;
      margin: 0;
      padding: 0;
    }

    /* Image rounding helpers */
    .rounded-img {
      border-radius: 12px;
    }

    /* Ensure images in the hero right column keep the rounded style
       and add gaps between images + bottom padding for the row */
    .hero-section .col-lg-6 .row.g-3 {
      padding-bottom: 1rem; /* bottom padding under images */
    }

    .hero-section .col-lg-6 .row.g-3 > .col-6 {
      padding: 0.5rem; /* gap around each image */
    }

    .hero-section .col-lg-6 .img-fluid.rounded-img {
      width: 100%;
      height: auto; /* allow natural height so gaps show */
      object-fit: cover;
      display: block;
      border-radius: 12px;
    }

    /* Zoom-on-tap styles */
    .img-zoom {
      transition: transform .35s ease, box-shadow .35s ease;
      will-change: transform;
      cursor: zoom-in;
      position: relative;
      z-index: 1;
    }

    .img-zoom.zoomed {
      transform: scale(1.12);
      box-shadow: 0 18px 40px rgba(0,0,0,0.25);
      cursor: zoom-out;
      z-index: 9999;
    }

    @media (hover: hover) {
      /* subtle hover zoom on desktop */
      .img-zoom:hover { transform: scale(1.03); }
    }
    .oval-img {
      border-radius: 50%;
      object-fit: cover;
      width: 220px;
      height: 220px;
      display: block;
      margin: 0 auto;
    }

    @media (max-width: 768px) {
      .oval-img {
        width: 180px;
        height: 180px;
      }
    }

/* Arrange the programs row (.row.g-4 inside .programs) horizontally on small screens */
@media (max-width: 991.98px) {
  .programs .row.g-4 {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .programs .row.g-4 > [class*="col-"] {
    flex: 0 0 75%; /* each card takes ~75% of viewport width on small screens */
    max-width: 75%;
  }

  .programs .row.g-4 img {
    width: 100%;
    height: auto;
    display: block;
  }
}

/* Scroll arrow buttons for horizontal rows (visible on small screens) */
.programs-inner { position: relative; }
.programs .scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 20;
  padding: 6px;
}
.programs .scroll-prev { left: 8px; }
.programs .scroll-next { right: 8px; }

@media (max-width: 991.98px) {
  .programs .scroll-btn { display: flex; }
}

    @media (max-width: 480px) {
      .oval-img {
        width: 150px;
        height: 150px;
      }
    }
        /* BODY BACKGROUND */
html, body {
    height: 100%;
}



.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    color: #31cdf8;
}

@keyframes zoomInOut {
    0%, 100% {
        background-size: 100%;
    }
    50% {
        background-size: 110%;
    }
}

.header-section {
    height: 100vh;
}
.header13, .header2 {
  position: relative !important;
  min-height: 100vh;
  
  display: column;
  align-items: self-start;
  flex-direction: column;
  color: white;
  padding: 0px;
}

.header13::before, .header2::before {
  content: "";
  position: absolute;
  inset: 0;
  
  z-index: 1;
}
.header-content {
  position: relative;
  z-index: 2;
}

.cid-v0g35iqJm8, .cid-v0ahYm7o5R5,.cid-v0g35iqJm8.cid-v0g37iGrq9,.cid-v0g35iqTr8,.cid-v0g35iqSm8 {
  position: absolute;
  height: 100vh;
  min-height: 100vh;
  animation: zoomInOut 10s ease-in-out infinite;
}
.cid-v0ahYm7o5R5{
 background: url('../images/20251114_110631.jpg') center/cover no-repeat fixed !important;
}

.cid-v0g35iqJm8{
background: url('../philipines/IMG-20251022-WA0067.jpg') center/cover no-repeat fixed !important;  
}
.cid-v0g35iqTr8{
background: url('../images/KIDS.jpeg') center/cover no-repeat fixed !important; 
}
.cid-v0g35iqSm8{
background: url('../images/BOOKS.jpeg') center/cover no-repeat fixed !important;
}
.cid-v0g37iGrq9{
background: url('../images/5a8d6377-133e-43a3-a8e7-d829081113ba.jpeg') center/cover no-repeat fixed !important;
}

        /* NAV COLORS */
.navbar ,.navbar.sticky-top {
    position: sticky;
    border-bottom: 3px solid #0c8a57;
    background: rgba(255, 255, 255, 0.1) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(10px);
    border: 1px solid rgb(18, 182, 20,0.8);
    z-index: 1030;
  width: 100vw !important;
  max-width: 100vw;
  left: 0;
  right: 0;
  margin: 0 auto;
}


.nav-link {
  color: #12B614 !important;
  transition: 0.3s;
  font-weight: 600 !important;
  position: relative;
  display: inline-block;
}

@media (hover: hover) {
  .nav-link:hover {
    color: #0fae6c !important;
  }
}

.nav-link::after{
    content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), #1893ff);
  transform: translateX(-50%);
  transition: .4s;
}
@media (hover: hover) {
  .nav-link:hover::after {
    width: 80%;
  }
}
.nav-link:active::after {
  width: 80%;
}
.nav-link.active {
    color: #0fae6c !important;
    font-weight: 700;
}

/* Glass-style navbar with strong blur effect */
.navbar-glass {
  background: rgba(255, 255, 255, 0.15) !important;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  will-change: backdrop-filter;
}

/* Sticky nav remains blurry with slightly more opacity on scroll */
.sticky-top.navbar-glass {
  background: rgba(255, 255, 255) !important;
  -webkit-backdrop-filter: blur(15px)!important;
  backdrop-filter: blur(15px)!important;
}
.align-right {
    
    padding-top: 20px;
}

/* LANG SWITCHER */
.lang-switcher .lang-btn {
    background: #12B614;
    color: #fff;
    border: none;
    padding: 7px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

/* Responsive lang button container */
.lang-btn-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-btn-container .lang-btn {
    white-space: nowrap;
    width: auto;
}

@media (max-width: 992px) {
    .lang-btn-container {
        margin-right: 1rem !important;
    }
    
    .lang-btn-container .lang-btn {
        padding: 8px 12px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .lang-btn-container {
        position: absolute;
        top: 10px;
        right: 60px;
        margin-right: 0 !important;
    }
    
    .lang-btn-container .lang-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
}

.dropdown-menu-custom {
    display: none;
    position: absolute;
    right: 0;
    margin-top: 8px;
    background: #ffffff;
    box-shadow: 0px 4px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    width: 160px;
    z-index: 99;
}

.dropdown-menu-custom button {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 8px 15px;
    font-weight: 500;
    cursor: pointer;
}

.dropdown-menu-custom button:hover {
    background: #f4f4f4;
}

/* SHOW DROPDOWN */
.lang-switcher.active #langDropdown {
    display: block;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    header {
        padding-top: 60px;
    }

    .header-section {
        height: auto;
        min-height: 80vh;
    }

    .cid-v0g35iqJm8 {
        min-height: 80vh;
    }

    .mbr-section-title {
        font-size: 1.75rem !important;
        line-height: 1.3;
    }

    .mbr-text {
        font-size: 1rem !important;
    }

    .container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    header {
        padding-top: 55px;
    }

    .header-section {
        height: auto;
        min-height: 70vh;
    }

    .cid-v0g35iqJm8 {
        min-height: 70vh;
    }

    .mbr-section-title {
        font-size: 1.25rem !important;
        line-height: 1.3;
        margin-bottom: 15px !important;
    }

    .mbr-text {
        font-size: 0.9rem !important;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .navbar-brand img {
        height: 3rem !important;
    }

    .lang-btn {
        padding: 5px 10px !important;
        font-size: 0.85rem;
    }
}

/* Small-screen adjustments */
@media (max-width: 767.98px) {
  /* reduce container side padding for small screens */
  .container { padding-left: 12px; padding-right: 12px; }

  /* make hero image tiles slightly shorter on small devices */
  .hero-section .col-lg-6 .row.g-3 { grid-auto-rows: 140px; }

  /* reduce large card paddings applied inline in HTML */
  .programs .row.g-4 > .col-md-3 {
    padding: 16px !important;
    margin-bottom: 0.75rem;
    flex: 0 0 85% !important;
    max-width: 85% !important;
  }

  /* ensure horizontal-scroll rows use larger card width on mobile */
  .programs .row.horizontal-scroll > [class*="col-"] {
    flex: 0 0 85% !important;
    max-width: 85% !important;
  }

  /* tighten text and images for small screens */
  .programs .row.g-4 p { font-size: 0.95rem; }
  .programs .row.g-4 img { height: 160px; object-fit: cover; }

  /* smaller scroll buttons */
  .programs .scroll-btn { width: 40px; height: 40px; }

  /* reduce glass card padding for small screens */
  .programs .row.g-4 > .col-md-3 { padding: 18px !important; }

  /* disable heavy section paddings where needed */
  section.py-5 { padding-top: 2rem; padding-bottom: 2rem; }
}

        

    .section-title {
      font-size: 2.5rem;
      font-weight: 800;
      color: var(--green);
      text-align: center;
    }
    .Events-section {
      background: var(--blue-light);
      padding: 60px 20px;
      border-radius: 24px;
      box-shadow: 0 30px 80px rgba(0,0,0,0.15);
    }
    /* Tag Buttons */
    .tag-btn {
      background: var(--green);
      color: #fff;
      border: none;
      padding: 6px 16px;
      border-radius: 50px;
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.3px;
    }

    /* Main News Card */
    .news-card {
      position: relative;
    }

    .news-card img {
      width: 100%;
      height: 310px;
      border-radius: 15px;
      object-fit: cover;
      box-shadow: 0 12px 22px rgba(0,0,0,0.08);
      display: block;
    }

    .glass-overlay {
      position: absolute;
      bottom: 23%;
      left: 15px;
      background: rgba(255,255,255,0.25);
      -webkit-backdrop-filter: blur(12px);
      backdrop-filter: blur(12px);    
      border: 1px solid rgba(255,255,255,0.4);
      padding: 12px 18px;
      border-radius: 12px;
      box-shadow: 
        0 8px 30px rgba(27, 143, 106, 0.25),
        inset 0 1px 2px rgba(255,255,255,0.5);
    }

    .news-card h4 {
      color: var(--blue);
      font-weight: 700;       
    }
    
    .text-muted {
      color: #6c757d !important;
      text-align: center;
    }
    .news-list a {
      color: var(--text-dark);
      font-weight: 600;
      text-decoration: none;
      transition: 0.2s ease;
    }

    .news-list a:hover {
      color: var(--blue);
      text-decoration: underline;
    }

    .new-ta {
      display: flex;
      align-items: center;
      margin-top: 0px;
    }

    .new-ta hr {
      flex: 1;
      height: 2px;
      margin: 0 0 0 10px;
      border: none;
      background: linear-gradient(90deg, var(--green), rgba(27, 143, 106, 0.2));
      border-radius: 2px;
    }

    /* Agenda Cards */
    .agenda-card {
      background: #12B614;
      border-radius: 14px;
      padding: 14px;
      height: 100%;
      box-shadow: 0 5px 14px rgba(0,0,0,0.06);
      transition: 0.3s ease;
    }

    .agenda-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 15px 30px rgba(0,0,0,0.12);
    }

    .agenda-card img {
      width: 100%;
      height: 190px;
      border-radius: 12px;
      object-fit: cover;
      transition: transform 0.35s ease, box-shadow 0.35s ease;
      transform-origin: center center;
    }

    .agenda-card:hover img,
    .agenda-card:focus-within img {
      transform: scale(1.04);
    }

/* Force flip card containers to show text on top and card below */
.flip-card-container {
  display: flex;
  align-items: stretch;
  gap: 1rem;
}

.flip-card-container .flip-content {
  order: 1;
  width: 100%;
  text-align:center;
}

.flip-card-container .flip-wrapper {
  order: 2;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* On large screens keep content stacked but limit width for readability */
@media (min-width: 992px) {
  .flip-card-container { max-width: 1100px; margin-left: auto; margin-right: auto; flex-direction:row }
  .flip-card-container .flip-content { max-width: 600px; }
  .flip-card-container .flip-wrapper { max-width: 600px; }
}




   
:root {
    --primary: #0f766e;
    --secondary: #1e3a8a;
    --accent: #22c55e;
    --bg-soft: #ecfdf5;
    --card-bg: #ffffff;
    --text-main: #0f172a;
}


/* HEADER */
header {
    background: linear-gradient(120deg, var(--secondary), var(--primary));
    padding: 30px 20px;
    text-align: center;
    color: white;
}

header h1 {
    font-size: 2.2rem;
}

header p {
    opacity: 0.9;
}

/* CONTROLS */
.controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.controls button {
    padding: 8px 14px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    background: rgba(255,255,255,0.2);
    color: white;
}

/* CONTENT */
.content-wrapper {
    padding: 50px 20px;
    display: flex;
    justify-content: center;
       background:
        radial-gradient(800px circle at 15% 20%, rgba(34,197,94,0.25), transparent 45%),
        radial-gradient(900px circle at 80% 0%, rgba(30,58,138,0.25), transparent 50%),
        var(--bg-soft);
    
    color: var(--text-main);
}



.vertical-line {
  width: 4px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--green),
    transparent
  );
  border-radius: 10px;
}

.service-description .row.g-4 {
  align-items: stretch;
}

.NOTES {
  background: #ffffff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(27, 247, 7, 0.07);
  text-align: left;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Decorative accent */
.NOTES::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25px;
  width: 6px;
  height: 60px;
  
  border-radius: 10px;
}

/* ===== TEXT ===== */
.NOTES p {
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--text-muted);
}


 .more-text {
    display: none;
    margin-top: 10px;
  }

  .read-more-btn {
    background-color: #12B614; 
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
    margin-top: 15px;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .notes-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }

  .project-status {
    background-color: #31cdf8;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    line-height: 1;
    white-space: nowrap;
  }

  .read-more-btn:hover {
    background-color: #157254;
  }
  
  /* Responsive button styles */
  @media (max-width: 768px) {
    .read-more-btn {
      padding: 6px 14px;
      font-size: 0.85rem;
    }

    .project-status {
      font-size: 0.75rem;
      padding: 5px 10px;
    }
  }
  
  @media (max-width: 480px) {
    .read-more-btn {
      padding: 5px 12px;
      font-size: 0.8rem;
      margin-top: 10px;
    }
  }
  
    @media (max-width: 1024px) {
    .agenda-card {
      padding: 12px;
    }

    .agenda-card img {
      height: 170px;
    }

    .agenda-card h5 {
      font-size: 1rem;
    }

    .agenda-card p {
      font-size: 0.9rem;
    }

    #viewMoreBtn {
      padding: 9px 24px;
      font-size: 0.95rem;
    }
  }

  @media (max-width: 768px) {
    .section-title {
      font-size: 2rem;
    }

    .row.gy-4 {
      gap: 1rem !important;
    }

    .agenda-card {
      padding: 10px;
    }

    .agenda-card img {
      height: 160px;
    }

    .agenda-card h5 {
      font-size: 0.95rem;
      margin-top: 0.75rem !important;
    }

    .agenda-card p {
      font-size: 0.85rem;
    }

    #viewMoreBtn {
      padding: 8px 20px;
      font-size: 0.9rem;
      width: 100%;
      max-width: 300px;
    }

    .vertical-line {
      min-height: 300px;
    }
  }

  @media (max-width: 480px) {
    .section-title {
      font-size: 1.5rem;
      margin-bottom: 1rem !important;
    }

    .text-muted.center-align {
      font-size: 0.85rem;
    }

    .row.gy-4.mt-2 {
      margin-top: 0.5rem !important;
    }

    .col-md-4 {
      padding: 0 0.5rem;
    }

    .agenda-card {
      padding: 8px;
      border-radius: 10px;
      align-items: center;
    }

    .agenda-card img {
      height: 140px;
      border-radius: 8px;
    }

    .agenda-card h5 {
      font-size: 0.9rem;
      margin-top: 0.5rem !important;
    }

    .agenda-card p {
      font-size: 0.8rem;
      margin-bottom: 0.5rem;
    }

    #viewMoreBtn {
      padding: 8px 18px;
      font-size: 0.85rem;
      width: 100%;
      max-width: 250px;
    }

    .vertical-line {
      display: none;
    }

    .service-description .row.g-4 {
      gap: 1.5rem !important;
    }
  }

  @media (max-width: 360px) {
    .section-title {
      font-size: 1.3rem;
    }

    .agenda-card img {
      height: 120px;
    }

    .agenda-card h5 {
      font-size: 0.85rem;
    }

    .agenda-card p {
      font-size: 0.75rem;
    }

    #viewMoreBtn {
      padding: 7px 15px;
      font-size: 0.8rem;
    }
  }
  .horizontal-scroll {
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-behavior: smooth;
}

.horizontal-scroll::-webkit-scrollbar {
  height: 8px;
}

.horizontal-scroll::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.4);
  border-radius: 10px;
}

.custom-card {
  min-width: 280px;
  max-width: 280px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(21, 21, 21, 0.2);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
  transition: transform 0.3s ease;
}

.custom-card:hover {
  transform: translateY(-8px);
}

  /* Card wrapper */
.ngo-card {
  width: 100%;
  max-width: 280px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(16, 236, 4, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ngo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.28);
}

/* Header / Image section */
.ngo-card-header {
  height: 160px;
  margin: -22px 18px 0 18px;
  border-radius: 18px;
  background: linear-gradient(to right, #0f9d58, #2ecc71);
  box-shadow: 0 14px 35px rgba(46, 204, 113, 0.05);
  overflow: hidden;
}

.ngo-card-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Body */
.ngo-card-body {
  padding: 26px;
}

.ngo-card-body h5 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #14532d;
}

    .ngo-card-body p {
      font-size: 0.95rem;
      line-height: 1.65;
      color: #3f3f46;
      /* Ensure same visual height across cards */
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;           /* show up to 3 lines */
      overflow: hidden;
      text-overflow: ellipsis;
      min-height: calc(1.65em * 3);    /* reserve height for 3 lines */
    }

    /* Let body grow to align footers */
    .ngo-card-body { flex: 1 1 auto; }

/* Footer / Button */
.ngo-card-footer {
  padding: 0 26px 26px;
}

.ngo-card-footer button {
  width: 100%;
  padding: 13px 20px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(to right, #0f9d58, #22c55e);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.04);
  transition: all 0.3s ease;
}

.ngo-card-footer button:hover {
  background: linear-gradient(to right, #0b7a44, #16a34a);
  box-shadow: 0 14px 35px rgba(22, 163, 74, 0.55);
}

/* Cards Container */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Responsive layout for cards */
.cards-container .ngo-card {
  flex: 1 1 calc(25% - 20px);
  max-width: calc(25% - 20px);
}

@media (max-width: 992px) {
  .cards-container .ngo-card {
    flex-basis: calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 576px) {
  .cards-container {
    gap: 16px;
    padding: 20px 12px;
  }
  .cards-container .ngo-card {
    flex-basis: 100%;
    max-width: 100%;
  }
}
