/* ======================================================
   HOPE BEARERS - GLOBAL STYLESHEET
   ====================================================== */


/* =========================
   ROOT VARIABLES
========================= */

:root {

    --primary-blue: #0072BC;
    --hope-green: #2CB670;
    --warm-orange: #F28C28;
    --earth-brown: #8B5A2B;

    --dark-text: #1E293B;
    --light-text: #64748B;

    --white: #FFFFFF;
    --soft-bg: #F8FAFC;
    --border-color: #E2E8F0;

    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 40px rgba(0,0,0,0.12);

    --transition: all 0.3s ease;

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;

}


/* =========================
   GLOBAL RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family: "Segoe UI", sans-serif;
    background: var(--white);
    color: var(--dark-text);
    line-height:1.7;
    overflow-x:hidden;
}


/* =========================
   TYPOGRAPHY
========================= */

h1,h2,h3,h4,h5,h6{
    font-weight:700;
    color:var(--dark-text);
    line-height:1.2;
}

h1{
    font-size:4rem;
}

h2{
    font-size:2.8rem;
}

h3{
    font-size:1.8rem;
}

p{
    color:var(--light-text);
    font-size:1.05rem;
}

.section-title{
    font-size:3rem;
    font-weight:800;
    margin-bottom:20px;
}

.section-subtitle{
    max-width:700px;
    margin:auto;
    color:var(--light-text);
}


/* =========================
   LINKS
========================= */

a{
    text-decoration:none;
    transition:var(--transition);
}

a:hover{
    text-decoration:none;
}


/* =========================
   BUTTONS
========================= */

.btn-custom{
    padding:14px 32px;
    border-radius:50px;
    font-weight:600;
    transition:var(--transition);
    border:none;
    display:inline-block;
}

.btn-primary-custom{
    background:var(--primary-blue);
    color:var(--white);
}

.btn-primary-custom:hover{
    background:#005d99;
    transform:translateY(-3px);
    color:var(--white);
}

.btn-secondary-custom{
    background:var(--hope-green);
    color:var(--white);
}

.btn-secondary-custom:hover{
    background:#23965b;
    transform:translateY(-3px);
    color:var(--white);
}

.btn-orange{
    background:var(--warm-orange);
    color:var(--white);
}

.btn-orange:hover{
    background:#d97706;
    transform:translateY(-3px);
    color:var(--white);
}


/* =========================
   NAVBAR
========================= */

.navbar{
    padding:18px 0;
    background:rgba(255,255,255,0.95);
    backdrop-filter:blur(10px);
    box-shadow:var(--shadow-sm);
    transition:var(--transition);
}

.navbar-brand img{
    height:72px;
    width:auto;
    max-height:72px;
}

body.is-subpage .navbar-brand img{
    height:52px;
    max-height:52px;
}

.btn-custom.btn-lg{
    padding:16px 36px;
    font-size:1.05rem;
}

.nav-link{
    color:var(--dark-text);
    font-weight:600;
    margin-left:15px;
    position:relative;
}

.nav-link:hover{
    color:var(--primary-blue);
}

.nav-link::after{
    content:'';
    position:absolute;
    width:0%;
    height:2px;
    background:var(--primary-blue);
    left:0;
    bottom:-5px;
    transition:var(--transition);
}

.nav-link:hover::after{
    width:100%;
}

.language-switcher .lang-link,
.language-switcher button{
    border:none;
    background:none;
    margin-left:10px;
    font-weight:600;
    color:var(--dark-text);
}

.language-switcher .lang-link:hover{
    color:var(--primary-blue);
}


/* =========================
   HERO SECTION
========================= */

.hero-section{
    min-height:100vh;
    display:flex;
    align-items:center;
    position:relative;
    overflow:hidden;
    background:linear-gradient(
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.55)
    ),
    url('../images/hero/hero-home-final.jpg');

    background-size:cover;
    background-position:center;
}

.hero-content{
    color:var(--white);
}

.hero-content h1{
    color:var(--white);
    font-size:4.5rem;
    font-weight:800;
    margin-bottom:25px;
}

.hero-content p{
    color:#E2E8F0;
    font-size:1.2rem;
    max-width:650px;
    margin-bottom:35px;
}

.hero-buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}


/* =========================
   HERO STATS
========================= */

.hero-stats{
    margin-top:60px;
}

.stat-box{
    background:rgba(255,255,255,0.12);
    border:1px solid rgba(255,255,255,0.2);
    padding:25px;
    border-radius:20px;
    backdrop-filter:blur(10px);
    text-align:center;
    color:var(--white);
}

.stat-box h3{
    color:var(--white);
    font-size:2rem;
}

.stat-box p{
    color:#E2E8F0;
}


/* =========================
   SECTIONS
========================= */

.section-padding{
    padding:100px 0;
}

.bg-soft{
    background:var(--soft-bg);
}

.bg-blue{
    background:var(--primary-blue);
    color:var(--white);
}

.bg-blue h2,
.bg-blue p{
    color:var(--white);
}


/* =========================
   CARDS
========================= */

.custom-card{
    background:var(--white);
    border-radius:var(--radius-md);
    padding:35px;
    box-shadow:var(--shadow-sm);
    transition:var(--transition);
    height:100%;
}

.custom-card:hover{
    transform:translateY(-10px);
    box-shadow:var(--shadow-lg);
}

.custom-card img{
    width:100%;
    border-radius:16px;
    margin-bottom:20px;
}

.custom-card h3{
    margin-bottom:15px;
}


/* =========================
   PROGRAM CARDS
========================= */

.program-card{
    overflow:hidden;
}

.program-card .program-image{
    overflow:hidden;
    border-radius:18px;
}

.program-card img{
    transition:var(--transition);
}

.program-card:hover img{
    transform:scale(1.08);
}

.video-crop{
    position:relative;
    width:100%;
    height:100%;
    overflow:hidden;
}

.video-crop video{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
}

.program-card:hover video{
    transform:scale(1.08);
}


/* =========================
   IMPACT SECTION
========================= */

.impact-stat{
    text-align:center;
    margin-top:40px;
}

.impact-stat h2{
    font-size:4rem;
    color:var(--warm-orange);
}

.impact-stat p{
    color:var(--white);
}


/* =========================
   GALLERY
========================= */

.gallery-item{
    overflow:hidden;
    border-radius:20px;
    position:relative;
    aspect-ratio:4 / 3;
    background:var(--soft-bg);
}

.gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:var(--transition);
}

.gallery-item:hover img{
    transform:scale(1.08);
}

.gallery-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.45);
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    transition:var(--transition);
}

.gallery-item:hover .gallery-overlay{
    opacity:1;
}

.gallery-overlay i{
    color:var(--white);
    font-size:2rem;
}

.gallery-card{
    background:var(--white);
    border-radius:20px;
    overflow:hidden;
    box-shadow:var(--shadow-sm);
    transition:var(--transition);
    height:100%;
    cursor:pointer;
}

.gallery-card:hover{
    transform:translateY(-6px);
    box-shadow:var(--shadow-lg);
}

.gallery-card-meta{
    padding:22px 24px 26px;
}

.gallery-card-meta h3{
    font-size:1.15rem;
    margin-bottom:10px;
}

.gallery-card-date{
    color:var(--light-text);
    font-size:0.95rem;
    margin-bottom:12px;
}

.gallery-card-category{
    display:inline-block;
    background:rgba(0,114,188,0.1);
    color:var(--primary-blue);
    font-size:0.82rem;
    font-weight:700;
    padding:6px 12px;
    border-radius:50px;
}

.gallery-toolbar{
    text-align:center;
}

.gallery-filter-label{
    font-weight:700;
    color:var(--dark-text);
    margin-bottom:15px;
}

.gallery-filter-group{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    justify-content:center;
}

.gallery-filter-btn{
    border:1px solid var(--border-color);
    background:var(--white);
    color:var(--dark-text);
    padding:10px 18px;
    border-radius:50px;
    font-weight:600;
    transition:var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active{
    background:var(--primary-blue);
    border-color:var(--primary-blue);
    color:var(--white);
}

.gallery-empty{
    text-align:center;
    padding:60px 20px;
    background:var(--soft-bg);
    border-radius:var(--radius-md);
}

.gallery-empty i{
    font-size:3rem;
    color:var(--warm-orange);
    margin-bottom:20px;
}

#galleryModal .modal-content{
    border:none;
    border-radius:20px;
    overflow:hidden;
}

#galleryModal img{
    width:100%;
    max-height:min(70vh, 520px);
    object-fit:contain;
    background:#111;
}

#galleryModal .modal-body{
    padding:28px;
}


/* =========================
   TEAM / CO-FOUNDERS
========================= */

.founder-card{
    background:var(--white);
    border-radius:var(--radius-md);
    box-shadow:var(--shadow-sm);
    overflow:hidden;
    height:100%;
    text-align:center;
    transition:var(--transition);
}

.founder-card:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow-lg);
}

.founder-photo{
    aspect-ratio:4/5;
    background:var(--soft-bg);
    overflow:hidden;
}

.founder-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    margin-bottom:0;
    border-radius:0;
}

.founder-card h3{
    font-size:1.25rem;
    margin:24px 24px 8px;
}

.founder-role{
    display:inline-block;
    color:var(--warm-orange);
    font-weight:700;
    font-size:0.92rem;
    margin-bottom:16px;
}

.founder-card p{
    padding:0 24px 28px;
    margin:0;
}


/* =========================
   TESTIMONIALS
========================= */

.testimonial-card{
    background:var(--white);
    border-radius:20px;
    padding:35px;
    box-shadow:var(--shadow-sm);
}

.testimonial-card img{
    width:80px;
    height:80px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:20px;
}

.quote-icon{
    color:var(--warm-orange);
    font-size:2rem;
    margin-bottom:20px;
}

.testimonial-video{
    border-radius:20px;
    overflow:hidden;
    box-shadow:var(--shadow-md);
    background:var(--dark-text);
}

.testimonial-video iframe{
    display:block;
    width:100%;
}


/* =========================
   DONATION SECTION
========================= */

.donation-section{
    background:linear-gradient(
        135deg,
        var(--warm-orange),
        #ffb347
    );
    color:var(--white);
    border-radius:40px;
    padding:70px;
}

.donation-section h2,
.donation-section p{
    color:var(--white);
}


/* =========================
   CONTACT
========================= */

.contact-info-box{
    background:var(--white);
    padding:35px;
    border-radius:20px;
    box-shadow:var(--shadow-sm);
    margin-bottom:30px;
}

.contact-info-box i{
    font-size:2rem;
    color:var(--primary-blue);
    margin-bottom:20px;
}

.form-control{
    border-radius:14px;
    padding:15px;
    border:1px solid var(--border-color);
}

.form-control:focus{
    box-shadow:none;
    border-color:var(--primary-blue);
}


/* =========================
   FOOTER
========================= */

.footer{
    background:#0F172A;
    color:#CBD5E1;
    padding:80px 0 30px;
}

.footer h5{
    color:var(--white);
    margin-bottom:25px;
}

.footer a{
    color:#CBD5E1;
    display:block;
    margin-bottom:12px;
}

.footer a:hover{
    color:var(--warm-orange);
}

.footer-logo{
    height:90px;
    width:auto;
    margin-bottom:20px;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,0.1);
    margin-top:40px;
    padding-top:20px;
    text-align:center;
}


/* =========================
   FLOATING WHATSAPP
========================= */

.whatsapp-btn{
    position:fixed;
    bottom:25px;
    right:25px;
    width:65px;
    height:65px;
    background:#25D366;
    color:white;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:2rem;
    box-shadow:var(--shadow-lg);
    z-index:999;
}

.whatsapp-btn:hover{
    transform:scale(1.1);
    color:white;
}


/* =========================
   ANIMATIONS
========================= */

.fade-up{
    animation:fadeUp 1s ease forwards;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}


/* =========================
   RESPONSIVE
========================= */

@media(max-width:992px){

    .hero-content h1{
        font-size:3.2rem;
    }

    .section-title{
        font-size:2.4rem;
    }

}

@media(max-width:768px){

    .hero-section{
        text-align:center;
        padding:120px 0;
    }

    .hero-content h1{
        font-size:2.5rem;
    }

    .hero-buttons{
        justify-content:center;
    }

    .section-padding{
        padding:80px 0;
    }

    .donation-section{
        padding:40px 25px;
    }

}

@media(max-width:576px){

    .hero-content h1{
        font-size:2rem;
    }

    .section-title{
        font-size:2rem;
    }

    p{
        font-size:0.95rem;
    }

    body.is-subpage .navbar-brand img{
        height:44px;
        max-height:44px;
    }

}

/* =====================================
   EXTRA EFFECTS
===================================== */

.active-language{
    color: var(--primary-blue) !important;
    font-weight: 800 !important;
}

.scale-animation{
    transform: scale(1.12);
}

.navbar-toggler{
    border:none;
}

.navbar-toggler:focus{
    box-shadow:none;
}


/* =====================================
   MOBILE NAVBAR
===================================== */

@media(max-width:992px){

    .navbar-collapse{
        background:white;
        padding:25px;
        border-radius:20px;
        margin-top:20px;
        box-shadow:var(--shadow-md);
    }

    .nav-link{
        margin:15px 0;
    }

}


/* =========================
   INNER PAGE BANNER
========================= */

.page-banner{
    min-height:340px;
    display:flex;
    align-items:center;
    padding:140px 0 80px;
    background:linear-gradient(
        rgba(0,114,188,0.88),
        rgba(44,182,112,0.82)
    ),
    url('../images/hero/hero-home-final.jpg');

    background-size:cover;
    background-position:center;
    color:var(--white);
    text-align:center;
}

.page-banner h1{
    color:var(--white);
    font-size:3.2rem;
    font-weight:800;
    margin-bottom:15px;
}

.page-banner p{
    color:#E2E8F0;
    font-size:1.15rem;
    max-width:720px;
    margin:0 auto;
}

.breadcrumb-nav{
    margin-top:20px;
    color:#CBD5E1;
    font-size:0.95rem;
}

.breadcrumb-nav a{
    color:var(--white);
}

.breadcrumb-nav a:hover{
    color:var(--warm-orange);
}


/* =========================
   NAV ACTIVE STATE
========================= */

.nav-link.active{
    color:var(--primary-blue);
}

.nav-link.active::after{
    width:100%;
}


/* =========================
   VALUE / INFO BOXES
========================= */

.value-box,
.info-highlight{
    background:var(--white);
    border-radius:var(--radius-md);
    padding:35px;
    box-shadow:var(--shadow-sm);
    height:100%;
    border-top:4px solid var(--primary-blue);
}

.value-box i,
.info-highlight i{
    font-size:2.2rem;
    color:var(--primary-blue);
    margin-bottom:20px;
}

.motto-banner{
    background:linear-gradient(135deg, var(--primary-blue), var(--hope-green));
    color:var(--white);
    border-radius:var(--radius-lg);
    padding:50px;
    text-align:center;
}

.motto-banner h3,
.motto-banner p{
    color:var(--white);
}

.motto-banner h3{
    font-size:1.6rem;
    font-weight:800;
    letter-spacing:0.5px;
}


/* =========================
   PROGRAM DETAIL
========================= */

.program-detail-card{
    background:var(--white);
    border-radius:var(--radius-md);
    overflow:hidden;
    box-shadow:var(--shadow-sm);
    height:100%;
}

.program-detail-card .program-image{
    height:240px;
    overflow:hidden;
}

.program-detail-card .program-image.h-100{
    height:100%;
    min-height:240px;
}

.program-detail-card .program-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    margin-bottom:0;
    border-radius:0;
}

.program-detail-body{
    padding:30px;
}

.program-tag{
    display:inline-block;
    background:rgba(0,114,188,0.1);
    color:var(--primary-blue);
    font-size:0.85rem;
    font-weight:700;
    padding:6px 14px;
    border-radius:50px;
    margin-bottom:15px;
}

.program-list{
    list-style:none;
    padding:0;
    margin:15px 0 0;
}

.program-list li{
    position:relative;
    padding-left:24px;
    margin-bottom:10px;
    color:var(--light-text);
}

.program-list li::before{
    content:'\f00c';
    font-family:'Font Awesome 6 Free';
    font-weight:900;
    position:absolute;
    left:0;
    color:var(--hope-green);
}


/* =========================
   IMPACT TIMELINE
========================= */

.impact-card{
    background:var(--white);
    border-radius:var(--radius-md);
    padding:30px;
    box-shadow:var(--shadow-sm);
    height:100%;
    text-align:center;
}

.impact-card h3{
    color:var(--warm-orange);
    font-size:2.8rem;
    margin-bottom:10px;
}


/* =========================
   DONATE OPTIONS
========================= */

.donate-option{
    background:var(--white);
    border-radius:var(--radius-md);
    padding:40px 30px;
    box-shadow:var(--shadow-sm);
    height:100%;
    text-align:center;
    transition:var(--transition);
    border:2px solid transparent;
    cursor:pointer;
}

.donate-option:hover{
    transform:translateY(-8px);
    border-color:var(--warm-orange);
    box-shadow:var(--shadow-lg);
}

.donate-option.donate-selected{
    border-color:var(--warm-orange);
    box-shadow:var(--shadow-lg);
}

.donate-option i{
    font-size:2.5rem;
    color:var(--warm-orange);
    margin-bottom:20px;
}

.donate-amount{
    font-size:2rem;
    font-weight:800;
    color:var(--primary-blue);
    margin:15px 0;
}


/* =========================
   CONTACT FORM
========================= */

.contact-form-box{
    background:var(--white);
    border-radius:var(--radius-md);
    padding:40px;
    box-shadow:var(--shadow-md);
}

.form-label{
    font-weight:600;
    color:var(--dark-text);
    margin-bottom:8px;
}


/* =========================
   SUBPAGE BODY
========================= */

body.is-subpage{
    padding-top:0;
}


/* Fallback: keep content visible if AOS CDN fails */
html:not(.aos-init) [data-aos]{
    opacity:1 !important;
    transform:none !important;
}