/* ===== GLOBAL ===== */

.counter-modern-section,
.foundation-section,
.impact-section,
.history-modern-section,
.health-modern-section,
.contact-modern-section,
.highlights-modern{
    background:transparent !important;
}

/* alisin ang mga decorative circles */
.counter-modern-section::before,
.counter-modern-section::after,
.impact-section::before,
.impact-section::after,
.history-modern-section::before,
.history-modern-section::after,
.contact-modern-section::before,
.contact-modern-section::after{
    display:none !important;
}
body{
    position:relative;
}
html,
body{
    min-height:100%;
    background:url('../images/background1.jpg') center top no-repeat fixed !important;
    background-size:cover !important;
}
body > *{
    position:relative;
    z-index:1;
}
/*
.counter-modern-section,
.foundation-section,
.impact-section,
.history-modern-section,
.health-modern-section,
.contact-modern-section{
    background:transparent !important;
}
    */
h1,h2,h3{
  font-weight:700;
}
.section-title:hover {
    color: #FFC107;
    text-shadow: 0 2px 8px rgba(255,193,7,0.3);
}
.section-title{
  font-size:32px;
}

.section-subtitle{
  color:#777;
}

/* ===== FLOAT BUTTON ===== */
.floating-book{
  position:fixed;
  bottom:20px;
  right:20px;
  background:#0d6efd;
  color:#fff;
  padding:12px 20px;
  border-radius:50px;
  font-weight:600;
  z-index:999;
}

/* BUTTON */

.btn-modern{
background:linear-gradient(135deg,#2f89fc,#0056d6);
color:#fff;
border-radius:40px;
padding:12px 30px;
font-weight:600;
transition:.3s;
border:none;
box-shadow:0 10px 20px rgba(0,0,0,0.15);
}

.btn-modern:hover{
transform:translateY(-3px);
box-shadow:0 12px 25px rgba(0,0,0,0.25);
color:#fff;
}



/* TITLES */


.section-subtitle{
font-size:17px;
color:#777;
margin-bottom:40px;
}


/* FLOATING DONATE BUTTON */

.floating-donate{
position:fixed;
bottom:30px;
right:30px;
background:#ff5a5f;
color:#fff;
padding:14px 22px;
border-radius:40px;
font-weight:600;
box-shadow:0 10px 25px rgba(0,0,0,0.3);
z-index:999;
}

.floating-donate:hover{
background:#e84145;
}

/* IMPACT TABLE */

.impact-table{
background:#fff;
border-radius:10px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

.impact-table thead{
background:#6a3d0c;
color:#fff;
font-size:18px;
}

.impact-table th,
.impact-table td{
padding:14px;
border:1px solid #eee;
}

.impact-table tbody tr:nth-child(even){
background:#fafafa;
}

.impact-table tbody tr:hover{
background:#f1f6ff;
transition:.3s;
}

.floating-donate{
padding:12px 18px;
font-size:14px;
bottom:20px;
right:20px;
}
.video-frame {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,.15);
}

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* FLOATING DONATE BUTTON */


.floating-donate{
position:fixed;
bottom:25px;
right:25px;
background:#e63946;
color:white;
padding:16px 26px;
border-radius:40px;
font-weight:600;
box-shadow:0 8px 25px rgba(0,0,0,0.25);
text-decoration:none;
z-index:9999;
animation:pulse 2s infinite;
transition:0.3s;
}


.floating-donate:hover{
background:#c71f2c;
transform:scale(1.05);
}


/* PULSE ANIMATION */


@keyframes pulse{


0%{
box-shadow:0 0 0 0 rgba(230,57,70,0.7);
}


70%{
box-shadow:0 0 0 15px rgba(230,57,70,0);
}


100%{
box-shadow:0 0 0 0 rgba(230,57,70,0);
}

}


:root{
--primary:#1993c4;
--yellow:#f3df0c;
--green:#389836;
--lime:#90bf21;
--dark:#14313d;
--light:#f7fbfd;
--white:#ffffff;
}




/* =========================
   BUTTON
========================= */

.btn-modern-light{
display:inline-block;
padding:14px 28px;
border-radius:50px;
background:#fff;
color:var(--primary);
font-weight:700;
text-decoration:none;
transition:.3s;
margin-top:25px;
}

.btn-modern-light:hover{
transform:translateY(-4px);
background:var(--yellow);
color:#222;
}


/* =========================
   FOUNDATION SECTION
========================= */
.foundation-section{
    padding:100px 0;
    background:transparent;
}

.impact-section{
    padding:90px 0;
    background:transparent;
}
.history-modern-section{
    padding:100px 0;
    background:transparent !important;
    position:relative;
    overflow:hidden;
}
.health-modern-section{
    padding:100px 0;
    background:transparent;
}

.contact-modern-section{
    padding:100px 0;
    background:transparent;
}
.foundation-card{
    background:#fff;
    padding:45px 35px;
    border-radius:28px;
    height:100%;

    position:relative;
    overflow:hidden;

    box-shadow:0 12px 35px rgba(0,0,0,.06);

    transition:all .35s ease;
}
.foundation-card:hover{
    transform:translateY(-8px);

    box-shadow:
        0 20px 45px rgba(25,147,196,.15);
}
.foundation-card h3{
    color:#0f2d3a;
    font-weight:800;
}

.foundation-card p,
.foundation-card li{
    color:#374151;
    font-size:18px;
    line-height:1.8;
    font-weight:500;
}
.foundation-card ul{
padding-left:20px;
}
/*
.counter-modern-section,
.foundation-section,
.impact-section,
.history-modern-section,
.health-modern-section,
.contact-modern-section{
    background:transparent !important;
}
*/
/* =========================
   HERO CARD
========================= */

.counter-hero{
background:
linear-gradient(135deg,
var(--primary),
var(--green));
padding:45px;
border-radius:35px;
color:#fff;
box-shadow:0 20px 50px rgba(25,147,196,.25);
position:relative;
overflow:hidden;
height:100%;
}

.counter-hero::before{
content:'';
position:absolute;
width:250px;
height:250px;
background:rgba(255,255,255,.08);
border-radius:50%;
top:-80px;
right:-80px;
}

.counter-hero small{
font-size:15px;
letter-spacing:1px;
text-transform:uppercase;
opacity:.9;
font-weight:600;
}

.counter-main{
font-size:90px;
font-weight:900;
line-height:1;
margin:15px 0;
color:#fff;
}

.counter-title{
font-size:24px;
font-weight:700;
margin-bottom:15px;
}

.counter-desc{
font-size:16px;
opacity:.92;
line-height:1.8;
}

/* ===================================
   INFO CARDS
=================================== */

.mini-stats{
    margin-top:40px;
}

.section-sub-title{
    font-size:38px;
    font-weight:800;
    color:var(--dark);
    margin-bottom:30px;
    line-height:1.2;
}

.section-sub-title span{
    color:var(--primary);
}

/* CARD */
/* ===================================
   STANDARD INFO CARD DESIGN
=================================== */

.info-mini-card{
    background:#fff;
    border-radius:28px;
    padding:32px 28px;
    height:100%;
    position:relative;
    overflow:hidden;

    /* Blue accent line sa taas */
    border-top:4px solid #1993c4;

    box-shadow:0 10px 30px rgba(0,0,0,.06);
    transition:all .35s ease;
}

.info-mini-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 40px rgba(0,0,0,.12);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

/* TOP ACCENT */

.info-mini-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;

    background:linear-gradient(
        90deg,
        #1993c4,
        #38a84a
    );
}

.info-mini-card:hover{
    transform:translateY(-8px);

    box-shadow:
        0 20px 45px rgba(25,147,196,.18);
}

/* ICON */

.info-icon{
    width:80px;
    height:80px;

    border-radius:24px;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:34px;

    margin-bottom:22px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--green)
        );

    color:#fff;
}

/* TITLE */

.info-mini-card h4{
    font-size:24px;
    font-weight:800;
    line-height:1.3;

    color:var(--dark);

    margin-bottom:15px;
}

/* DESCRIPTION */

.info-mini-card p{
    font-size:16px;
    line-height:1.9;

    color:#00060c;

    margin:0;
}
.foundation-card::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:5px;

    background:linear-gradient(
        90deg,
        var(--primary),
        var(--green)
    );
}
.foundation-icon{
    width:80px;
    height:80px;

    margin:0 auto 25px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:22px;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--green)
    );

    color:#fff;
    font-size:32px;
}
.foundation-card h3{
    font-size:56px;
    font-weight:800;
    color:#0f2d3a;
    margin-bottom:25px;
}
.foundation-card h3{
    font-size:42px;
    font-weight:800;
    color:var(--dark);

    margin-bottom:25px;
}
.foundation-card ul{
    padding-left:22px;
    margin-top:20px;
}

.foundation-card li{
    margin-bottom:12px;
}

.history-timeline-image{
    border-radius:20px;
    overflow:hidden;

    box-shadow:
        0 10px 30px rgba(0,0,0,.12);

    margin-bottom:30px;
}

.history-timeline-image img{
    width:100%;
    display:block;
    border-radius:20px;
}

/* ===================================
   HISTORY CONTENT CARD
=================================== */

.history-text-card{
    background:rgba(255,255,255,.92);
    border-radius:32px;
    padding:45px 50px;

    box-shadow:
        0 15px 40px rgba(0,0,0,.08);

    backdrop-filter:blur(6px);
}

.history-text-card .history-title{
    margin-bottom:25px;
}
.history-text-card p{
    font-size:1.15rem;
    line-height:2;
    color:#1f2937;
    font-weight:600;
    text-align:justify;
    margin-bottom:22px;
}

.history-text-card p strong{
    color:#163142;
    font-weight:800;
}

.children-breakdown{
    display:none;
    animation:fadeDown .5s ease;
}

.total-served-card{
    cursor:pointer;
    transition:.3s;
}

.total-served-card:hover{
    transform:translateY(-5px);
}

.view-breakdown{
    display:block;
    margin-top:10px;
    font-weight:600;
    opacity:.9;
}

@keyframes fadeDown{

    from{
        opacity:0;
        transform:translateY(-15px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/* ==========================
   PROGRAM HIGHLIGHTS TOGGLE
========================== */

.highlight-toggle{
    cursor:pointer;
    transition:.3s;
}

.highlight-toggle:hover{
    transform:translateY(-3px);
}

.highlight-toggle small{
    display:block;
    margin-top:10px;
    color:#1993c4;
    font-weight:700;
}

.highlight-container{
    display:none;
    animation:fadeDown .5s ease;
}

@keyframes fadeDown{

    from{
        opacity:0;
        transform:translateY(-20px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

.highlight-toggle{
    cursor:pointer;
}

.highlight-container{
    display:none;
}

.health-content-card p{
    font-size:1.15rem;
    line-height:2;
    color:#1f2937;      /* dark charcoal */
    font-weight:600;    /* semi-bold */
    text-align:justify;
}
/* Program Cards Description */

.program-card .card-body p{
    color:#1f2937;      /* dark charcoal */
    font-size:1rem;
    font-weight:700;    /* bold */
    line-height:1.8;
    margin-bottom:20px;
}

.program-card .card-body ul{
    padding-left:22px;
}

.program-card .card-body ul li{
    color:#1f2937;
    font-weight:700;
    line-height:1.8;
}

.program-card .card-body ul li::marker{
    color:#1993c4;
}

/* IMPACT CARD TITLE */

.impact-card h4{
    font-size:1.45rem;
    font-weight:700;
    line-height:1.5;
    color:#163142;

    letter-spacing:.3px;

    margin-top:15px;
    margin-bottom:18px;
}

/* VIEW DETAILS */

.view-details{
    margin-top:20px;

    font-size:1.05rem;
    font-weight:700;

    color:#1993c4;

    letter-spacing:.3px;

    transition:.3s;
}

.impact-card:hover .view-details{
    color:#0f6ea3;
    transform:translateX(5px);
}

.impact-subtitle{
    font-size:1.25rem;
    line-height:1.9;

    color:#163142;      /* dark blue */

    font-weight:700;    /* bold */

    max-width:900px;
    margin:0 auto;

    letter-spacing:.2px;
}

/* ==========================
   DONATE MODAL
========================== */

.donate-modal{
    border:none;
    border-radius:30px;
}

.donate-title{
    font-size:2.5rem;
    font-weight:800;
    color:#163142;
}

.donate-subtitle{
    font-size:1.1rem;
    color:#374151;
    font-weight:600;
}

.donate-card{

    background:#fff;

    border-radius:25px;

    padding:30px;

    text-align:center;

    height:100%;

    box-shadow:
        0 10px 30px rgba(0,0,0,.08);

    transition:.3s;
}

.donate-card:hover{

    transform:translateY(-8px);

    box-shadow:
        0 20px 40px rgba(0,0,0,.12);
}

.donate-card h4{
    margin-top:20px;
    font-weight:800;
    color:#163142;
}

.donate-card p{
    color:#1f2937;
    font-weight:600;
}

.donate-icon{
    width:100%;
    height:180px;
    object-fit:cover;
    border-radius:15px;
}

.qr-img{
    width:180px;
    margin:15px auto;
    display:block;
}

/* ===================================
   DONATION SECTION
=================================== */

.donation-section{
    padding:100px 0;
}

.donate-card-link{
    text-decoration:none;
    color:inherit;
    display:block;
}

.donate-card{
    background:#fff;
    border-radius:25px;
    padding:30px;
    text-align:center;
    height:100%;

    box-shadow:
        0 10px 30px rgba(0,0,0,.08);

    transition:.35s ease;
}

.donate-card:hover{
    transform:translateY(-8px);

    box-shadow:
        0 20px 40px rgba(0,0,0,.15);
}

.donate-image{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:15px;
}

.donate-card h4{
    margin-top:20px;
    margin-bottom:15px;

    color:#163142;
    font-weight:800;
}

.donate-card p{
    color:#1f2937;
    font-weight:600;
    line-height:1.8;
}

.qr-img{
    width:180px;
    margin:15px auto;
    display:block;
}

/* JOIN BUTTON */

.floating-join{

    position:fixed;

    bottom:90px;
    right:25px;

    z-index:9999;

    background:#2f9b45;

    color:#fff;

    padding:15px 22px;

    border-radius:50px;

    font-weight:700;

    text-decoration:none;

    box-shadow:
    0 10px 25px rgba(0,0,0,.15);

    transition:.3s;

}

.floating-join:hover{

    transform:translateY(-4px);

    color:#fff;

}

/* JOIN MODAL */

.donate-modal-overlay{
    display:none;

    position:fixed;
    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.75);

    justify-content:center;
    align-items:center;

    z-index:99999;
}

.donate-modal-box{

    background:#fff;

    width:90%;
    max-width:700px;

    max-height:90vh;

    overflow-y:auto;

    padding:35px;

    border-radius:20px;

    position:relative;
}

.close-modal{

    position:absolute;

    top:15px;
    right:20px;

    border:none;
    background:none;

    font-size:30px;

    cursor:pointer;
}

.history-summary-card{

    max-width:1000px;
    margin:auto;

    background:rgba(255,255,255,.92);

    padding:40px 50px;

    border-radius:30px;

    box-shadow:
        0 15px 40px rgba(0,0,0,.08);

    backdrop-filter:blur(6px);

}

.history-summary-card h4{

    color:#163142;

    font-size:2rem;

    font-weight:800;

    margin-bottom:25px;

}

.history-summary-card p{

    color:#1f2937;

    font-size:1.1rem;

    font-weight:600;

    line-height:2;

    margin-bottom:20px;

    text-align:justify;

}
