/* =====================================
   HERO SECTION
===================================== */

.hero-section {
    padding: 20px 0;
}

.hero-grid {
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 275px 1fr 275px;
    gap: 14px;

    height: 540px;
}


/* =====================================
   LEFT LOGS
===================================== */

.hero-logs {
    background: #f5f7fb;
    border: 1px solid #e8edf3;
    border-radius: 18px;

    padding: 18px;

    overflow: hidden;
}

.logs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 20px;
}

.logs-header span:first-child {
    color: #005a9c;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

.live-feed {
    color: #d91c5c;
    font-size: 12px;
    font-weight: 600;
}

.log-item {
    background: #ffffff;

    border-radius: 10px;

    padding: 12px;

    margin-bottom: 12px;

    border-left: 3px solid #d91c5c;
}

.log-item h4 {
    font-size: 13px;
    color: #005a9c;
    margin-bottom: 6px;
    font-weight: 700;
}

.log-item p {
    font-size: 12px;
    line-height: 1.5;
    color: #555;
}

/* =====================================
   CENTER IMAGE
===================================== */

.hero-main {
    position: relative;
    overflow: hidden;

    border-radius: 18px;
}

.hero-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =====================================
   OVERLAY
===================================== */

.hero-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 30px;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.88),
        rgba(0, 0, 0, 0.40),
        rgba(0, 0, 0, 0)
    );
}

.hero-badge {
    display: inline-block;

    background: #d91c5c;
    color: #fff;

    padding: 8px 16px;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 700;

    margin-bottom: 15px;
}

.hero-overlay h1 {
    color: #fff;

    font-size: 68px;
    line-height: 0.95;

    max-width: 520px;

    margin-bottom: 20px;

    font-weight: 800;
}

.hero-overlay p {
    color: #fff;
    font-size: 18px;
    line-height: 1.7;

    max-width: 520px;
}

.log-item {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
/* =====================================
   DONATE BOX
===================================== */

.hero-donate {
    background: #fff;

    border: 1px solid #f0d3de;

    border-radius: 18px;

    padding: 18px;

    display: flex;
    flex-direction: column;
}
.log-item p{
    overflow:hidden;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
}
.hero-donate h3 {
    color: #d91c5c;
    font-size: 28px;
    font-weight: 500;

    margin-bottom: 20px;
}

/* =====================================
   TABS
===================================== */

.donation-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 8px;

    margin-bottom: 18px;
}

.donation-tabs button {
    height: 40px;

    border: none;
    border-radius: 8px;

    background: #edf2fb;

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;
}

.donation-tabs button.active {
    background: #fff;
    color: #d91c5c;
}

/* =====================================
   AMOUNTS
===================================== */

.donation-amounts {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin-bottom: 12px;
}

.donation-amounts button {
    height: 52px;

    border: 1px solid #d8d1d5;
    border-radius: 10px;

    background: #fff;

    font-weight: 700;
    font-size: 16px;

    cursor: pointer;
}

.donation-amounts .active {
    grid-column: span 2;

    border: 2px solid #d91c5c;

    color: #d91c5c;
    background: #fff8fa;
}

/* =====================================
   INPUT
===================================== */

.hero-donate input {
    width: 100%;

    height: 52px;

    border: 1px solid #d8d1d5;
    border-radius: 10px;

    padding: 0 15px;

    margin-bottom: 20px;
}

/* =====================================
   FEATURES
===================================== */

.donation-features {
    list-style: none;

    padding: 0;
    margin: 0;
}

.donation-features li {
    font-size: 13px;
    color: #777;

    margin-bottom: 12px;

    display: flex;
    align-items: center;
    gap: 8px;
}

.donation-features li::before {
    content: "◉";
    color: #0077c8;
    font-size: 10px;
}

/* =====================================
   BUTTON
===================================== */

.donate-action {
    margin-top: auto;

    width: 100%;
    height: 58px;

    border: none;
    border-radius: 14px;

    background: #d10852;

    color: #fff;

    font-size: 18px;
    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 10px 25px rgba(209, 8, 82, .25);
}

.donate-action:hover {
    transform: translateY(-2px);
}

/* =====================================
   TABLET
===================================== */

@media (max-width: 1200px) {

    .hero-grid {
        grid-template-columns: 220px 1fr 220px;
    }

    .hero-overlay h1 {
        font-size: 52px;
    }
}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 992px) {

    .hero-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .hero-main {
        min-height: 500px;
    }

    .hero-overlay h1 {
        font-size: 40px;
    }

    .hero-donate,
    .hero-logs {
        order: 2;
    }

    .hero-main {
        order: 1;
    }
}



/* =========================================
   PROGRAMS SECTION
========================================= */

.programs-section{
    /* direction:ltr; */
    padding:80px 0;
    background:#f6f7fb;
}

.programs-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    margin-bottom:40px;
}

.programs-title h2{
    font-size:58px;
    font-weight:800;
    color:#1d2d44;
    margin-bottom:10px;
}

.programs-title p{
    max-width:850px;
    color:#5f6570;
    font-size:20px;
    line-height:1.6;
}

.programs-filters{
    display:flex;
    gap:12px;
    margin-top:10px;
}

.programs-filters button{
    height:56px;
    padding:0 28px;

    border:none;
    border-radius:30px;

    background:#eaf0fa;

    font-size:18px;
    font-weight:600;

    cursor:pointer;
}

.programs-filters button.active{
    background:#007bb7;
    color:#fff;
}

/* =========================================
   GRID
========================================= */

.programs-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

/* =========================================
   CARD
========================================= */

.program-card{
    background:#fff;

    border-radius:18px;

    padding:28px;

    min-height:320px;

    transition:.3s;
}

.program-card:hover{
    transform:translateY(-5px);
}

.program-card.urgent{
    border:2px solid #dd5460;
}

.program-card.active{
    border:2px solid #2996d2;
}

.program-card.pending{
    border:2px solid #9ba0a7;
}

/* =========================================
   CARD TOP
========================================= */

.card-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;

    margin-bottom:35px;
}

.status-badge{
    padding:8px 14px;
    border-radius:8px;

    font-size:13px;
    font-weight:700;
}

.status-badge.danger{
    background:#fde9ea;
    color:#d85a5a;
}

.status-badge.blue{
    background:#e5f4fb;
    color:#1d8bc3;
}

.status-badge.gray{
    background:#f1f1f1;
    color:#7c7c7c;
}

.timer{
    text-align:right;
}

.timer small{
    display:block;
    font-size:14px;
    color:#5f6570;
    margin-bottom:5px;
}

.timer strong{
    font-size:32px;
    font-weight:800;
}

.program-card.urgent .timer strong{
    color:#d85a5a;
}

.program-card.active .timer strong{
    color:#1d8bc3;
}

.program-card.pending .timer strong{
    color:#747474;
}

/* =========================================
   TITLE
========================================= */

.program-card h3{
    font-size:28px;
    line-height:1.25;
    color:#2b3340;

    margin-bottom:18px;
}

.program-card p{
    color:#666f7c;
    line-height:1.7;
    font-size:17px;

    margin-bottom:28px;
}

/* =========================================
   PROGRESS
========================================= */

.progress-head{
    display:flex;
    justify-content:space-between;

    margin-bottom:10px;

    font-weight:700;
    color:#39424e;
}

.progress-bar{
    height:10px;
    background:#edf1f8;
    border-radius:20px;
    overflow:hidden;
}

.progress-bar span{
    display:block;
    height:100%;
}

.program-card.urgent .progress-bar span{
    background:#d80f53;
}

.program-card.active .progress-bar span{
    background:#0a7eb4;
}

.program-card.pending .progress-bar span{
    background:#767676;
}

/* =========================================
   FOOTER
========================================= */

.card-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;

    margin-top:35px;
    padding-top:20px;

    border-top:1px solid #edf0f4;
}

.card-footer span{
    font-weight:700;
    color:#1476b0;
}

.card-footer a{
    text-decoration:none;
    font-weight:800;
    color:#d10d55;
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:1200px){

    .programs-grid{
        grid-template-columns:1fr;
    }

    .programs-header{
        flex-direction:column;
        gap:25px;
    }

}

@media(max-width:768px){

    .programs-title h2{
        font-size:38px;
    }

    .program-card h3{
        font-size:24px;
    }

    .programs-filters{
        width:100%;
    }

    .programs-filters button{
        flex:1;
    }

}



/* Governance Section */

.governance-section{
    padding:100px 0;
    background:#f8fafc;
}

.governance-layout{
    display:block;
}

.governance-year-select{
    margin-bottom:40px;
}

.governance-year-select select{
    width:100%;
    max-width:320px;
    height:56px;

    border:none;
    border-radius:14px;

    padding:0 20px;

    background:#fff;

    color:var(--primary-color);

    font-weight:700;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    cursor:pointer;
}

.governance-content{
    width:100%;
}

.leaders{
    display:none;
}

.leaders.active{
    display:block;
}

/* Board Members */

.board-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:24px;
}

.governance-member-card{
    background:#fff;

    border-radius:24px;

    overflow:hidden;

    cursor:pointer;

    transition:.35s;

    box-shadow:
        0 10px 30px rgba(0,0,0,.08);
}

.governance-member-card:hover{
    transform:translateY(-8px);

    box-shadow:
        0 20px 50px rgba(0,0,0,.12);
}

.member-image{
    height:260px;
}

.member-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* Content */

.member-content{
    position:relative;
    padding:50px 24px 24px;
}

.member-position{
    position:absolute;
    top:-22px;

    background:#e74c4c;
    color:#fff;

    padding:12px 28px;

    border-radius:999px;

    font-size:14px;
    font-weight:700;

    white-space:nowrap;

    box-shadow:
        0 8px 20px rgba(231,76,76,.25);

    z-index:3;
}

html[dir="rtl"] .member-position{
    right:24px;
}

html[dir="ltr"] .member-position{
    left:24px;
}

.member-content h4{
    margin-bottom:12px;

    color:#2A62B3;

    font-size:22px;
    font-weight:800;

    line-height:1.5;
}

.member-content p{
    margin:0;

    color:#64748b;

    font-size:15px;
}

/* Teams */

.teams-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;

    margin-top:40px;
}

.team-card{
    background:#fff;

    border-radius:20px;

    padding:30px 20px;

    text-align:center;

    transition:.3s;

    box-shadow:
        0 10px 30px rgba(0,0,0,.06);
}

.team-card:hover{
    transform:translateY(-5px);
}

.team-card h4{
    margin:0;

    color:var(--primary-color);

    font-size:18px;
    font-weight:700;
}

/* Responsive */

@media(max-width:1200px){

    .board-grid{
        grid-template-columns:repeat(3,1fr);
    }

}

@media(max-width:768px){

    .board-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .member-position{
        font-size:13px;
        padding:10px 22px;
    }

}

@media(max-width:576px){

    .board-grid{
        grid-template-columns:1fr;
    }

    .member-content h4{
        font-size:18px;
    }

}
/* Teams */

.teams-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;

    margin-top:40px;
}

.team-card{
    background:#fff;

    border-radius:18px;

    padding:24px;

    text-align:center;

    cursor:pointer;

    transition:.3s;

    box-shadow:
        0 10px 25px rgba(0,0,0,.06);
}

.team-card:hover{
    transform:translateY(-5px);
}

.team-card h4{
    margin:0;

    color:#2A62B3;

    font-size:18px;
    font-weight:700;
}

/* Responsive */

@media(max-width:1400px){

    .board-grid{
        grid-template-columns:repeat(4,1fr);
    }

}

@media(max-width:1200px){

    .board-grid{
        grid-template-columns:repeat(3,1fr);
    }

    .teams-grid{
        grid-template-columns:repeat(3,1fr);
    }

}

@media(max-width:992px){

    .board-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .teams-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:576px){

    .board-grid,
    .teams-grid{
        grid-template-columns:1fr;
    }

    .member-image{
        height:320px;
    }

}
/* Board */

.board-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:18px;
    margin-bottom:30px;
}

/* Teams */

.teams-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

/* Cards */

.leader-card,
.team-card{
    background:#fff;
    border-radius:16px;
    padding:22px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.leader-card:hover,
.team-card:hover{
    transform:translateY(-4px);
}

.leader-card span{
    display:block;
    color:#777;
    font-size:14px;
    margin-bottom:10px;
}

.leader-card h4,
.team-card h4{
    margin:0;
    font-size:18px;
    font-weight:700;
    line-height:1.5;
}
/* =====================================
   GOVERNANCE RESPONSIVE
===================================== */

/* Laptop */

@media (max-width:1200px){

    .governance-layout{
        grid-template-columns:220px 1fr;
        gap:25px;
    }

    .board-grid{
        grid-template-columns:repeat(3,1fr);
    }

    .teams-grid{
        grid-template-columns:repeat(3,1fr);
    }

}

/* Tablet */

@media (max-width:992px){

    .governance-layout{
        grid-template-columns:1fr;
    }

    .timeline{
        flex-direction:row;
        flex-wrap:wrap;
        gap:10px;
    }

    .year-btn{
        flex:1;
        min-width:180px;
    }

    .board-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .teams-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

/* Mobile */

@media (max-width:768px){

    .governance-header h2{
        font-size:34px;
    }

    .governance-header p{
        font-size:15px;
    }

    .timeline{
        display:grid;
        grid-template-columns:1fr 1fr;
    }

    .year-btn{
        width:100%;
        min-width:unset;
        text-align:center;
    }

    .board-grid,
    .teams-grid{
        grid-template-columns:1fr;
    }

    .leader-card,
    .team-card{
        padding:18px;
    }

    .leader-card h4,
    .team-card h4{
        font-size:16px;
    }

}

/* Small Mobile */

@media (max-width:480px){

    .timeline{
        grid-template-columns:1fr;
    }

}
/* success-stories section */
.stories-section{
    padding:100px 0;
    background:#f6f8fc;
}

.stories-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:40px;
}

.stories-title{
    text-align:right;
}

.stories-title h2{
    font-size:42px;
    margin-bottom:10px;
}

.stories-title p{
    color:#777;
}

.stories-nav{
    display:flex;
    gap:10px;
}

.story-nav-btn{
    width:50px;
    height:50px;

    border-radius:50%;

    border:1px solid #ddd;

    background:#fff;

    cursor:pointer;
}

.story-nav-btn.active{
    background:#d10954;
    color:#fff;
}

.stories-slider{
    overflow:hidden;
}

.stories-track{
    display:flex;
    transition:.4s ease;
}

.stories-page{
    min-width:100%;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

.story-card{
    width:100%;
}

.story-card{
    flex: 0 0 calc((100% - 48px) / 3);

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 10px 25px rgba(0,0,0,.05);
}

.story-card img{
    width:100%;
    height:260px;
    object-fit:cover;
}

.story-content{
    padding:20px;
}


/* partners section */

/* =====================================
   PARTNERS
===================================== */

.partners-section{
    padding:100px 0;
    background:#fff;
}

.partners-header{
    text-align:center;
    max-width:800px;
    margin:0 auto 60px;
}

.partners-header h2{
    font-size:48px;
    font-weight:800;
    margin-bottom:15px;
}

.partners-header p{
    color:#667085;
    line-height:1.8;
}

.featured-partners{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;

    margin-bottom: 50px;
}
.featured-partner-card{
    position:relative;
    overflow:hidden;
    border-radius:24px;
    height:420px;
}

.featured-partner-card img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.partner-overlay{
    position:absolute;
    inset:0;

    display:flex;
    flex-direction:column;
    justify-content:flex-end;

    padding:30px;

    color:#fff;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.7),
            transparent
        );
}

.partner-badge{
    background:#d10d55;

    width:max-content;

    padding:8px 14px;

    border-radius:30px;

    margin-bottom:15px;
}

.partner-overlay h3{
    font-size:32px;
    margin-bottom:10px;
}

.partners-carousel{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.partner-card{
    text-align:center;

    border:1px solid #ececec;

    border-radius:18px;

    padding:25px;

    transition:.3s;
}

.partner-card:hover{
    transform:translateY(-5px);
}

.partner-card img{
    width:90px;
    height:90px;
    object-fit:contain;

    margin-bottom:15px;
}

.partner-card h4{
    margin-bottom:8px;
}

.partner-card span{
    color:#d10d55;
}

@media(max-width:992px){

    .featured-partners{
        grid-template-columns:1fr;
    }

    .partners-carousel{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:576px){

    .partners-carousel{
        grid-template-columns:repeat(2,1fr);
        gap:12px;
    }

    .partner-card{
        padding:15px;
    }

    .partner-card img{
        width:70px;
        height:70px;
    }

    .partner-card h4{
        font-size:14px;
        margin-bottom:5px;
    }

    .partner-card span{
        font-size:13px;
    }

}

/* =====================================
   GLOBAL ANIMATIONS
===================================== */

/* Smooth page rendering */

html{
    scroll-behavior:smooth;
}

/* =====================================
   FADE UP
===================================== */

.fade-up{
    animation:fadeUp .8s ease forwards;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/* =====================================
   FADE IN
===================================== */

.fade-in{
    animation:fadeIn 1s ease forwards;
}

@keyframes fadeIn{

    from{
        opacity:0;
    }

    to{
        opacity:1;
    }

}

/* =====================================
   SCALE IN
===================================== */

.scale-in{
    animation:scaleIn .7s ease forwards;
}

@keyframes scaleIn{

    from{
        opacity:0;
        transform:scale(.92);
    }

    to{
        opacity:1;
        transform:scale(1);
    }

}

/* =====================================
   HERO IMAGE ZOOM
===================================== */

.hero-main img{
    animation:heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom{

    from{
        transform:scale(1);
    }

    to{
        transform:scale(1.06);
    }

}

/* =====================================
   LIVE FEED PULSE
===================================== */

.live-feed{
    position:relative;
}

.live-feed::before{

    content:'';

    width:8px;
    height:8px;

    border-radius:50%;

    background:#d10d55;

    display:inline-block;

    margin-inline-end:8px;

    animation:livePulse 1.5s infinite;

}

@keyframes livePulse{

    0%{
        transform:scale(1);
        opacity:1;
    }

    50%{
        transform:scale(1.8);
        opacity:.4;
    }

    100%{
        transform:scale(1);
        opacity:1;
    }

}

/* =====================================
   DONATE BUTTON PULSE
===================================== */

.donate-action{
    animation:pulseDonate 6s infinite;
}

@keyframes pulseDonate{

    0%{
        box-shadow:0 0 0 0 rgba(209,13,85,.4);
    }

    70%{
        box-shadow:0 0 0 15px rgba(209,13,85,0);
    }

    100%{
        box-shadow:0 0 0 0 rgba(209,13,85,0);
    }

}

/* =====================================
   CARD HOVER
===================================== */

.program-card,
.partner-card,
.story-card,
.service-item,
.leader-card{

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}

.program-card:hover,
.partner-card:hover,
.story-card:hover,
.leader-card:hover{

    transform:translateY(-8px);

    box-shadow:
        0 20px 40px rgba(0,0,0,.08);

}

.service-item:hover{

    transform:translateX(5px);

    box-shadow:
        0 10px 25px rgba(0,0,0,.06);

}

/* =====================================
   IMAGE HOVER
===================================== */

.featured-partner-card img,
.story-card img{

    transition:
        transform .6s ease;

}

.featured-partner-card:hover img,
.story-card:hover img{

    transform:scale(1.08);

}

/* =====================================
   BUTTON HOVER
===================================== */

button,
.donate-btn,
.story-nav-btn,
.year-btn{

    transition:.3s ease;

}

button:hover,
.donate-btn:hover,
.story-nav-btn:hover{

    transform:translateY(-2px);

}

/* =====================================
   SECTION APPEAR
===================================== */

.hero-section,
.programs-section,
.services-section,
.governance-section,
.partners-section,
.stories-section{

    animation:
        sectionAppear .8s ease;

}

@keyframes sectionAppear{

    from{
        opacity:0;
        transform:translateY(50px);
    }

    to{
        opacity:1;
        transform:none;
    }

}

/* =====================================
   HERO ANIMATIONS
===================================== */

/* Left panel */

.hero-slide-left{
    animation:heroLeft 1s ease forwards;
}

@keyframes heroLeft{

    from{
        opacity:0;
        transform:translateX(-60px);
    }

    to{
        opacity:1;
        transform:none;
    }

}

/* Right panel */

.hero-slide-right{
    animation:heroRight 1s ease forwards;
}

@keyframes heroRight{

    from{
        opacity:0;
        transform:translateX(60px);
    }

    to{
        opacity:1;
        transform:none;
    }

}

/* Image */

.fade-in{
    animation:heroFade 1.2s ease forwards;
}

@keyframes heroFade{

    from{
        opacity:0;
        transform:scale(1.05);
    }

    to{
        opacity:1;
        transform:scale(1);
    }

}

/* Continuous image movement */

.hero-main img{
    animation:
        heroFade 1s ease forwards,
        heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom{

    from{
        transform:scale(1);
    }

    to{
        transform:scale(1.06);
    }

}

/* Overlay elements */

.hero-badge,
.hero-overlay h1,
.hero-overlay p{

    opacity:0;

    animation:
        heroContent .8s ease forwards;

}

.hero-delay-1{
    animation-delay:.4s;
}

.hero-delay-2{
    animation-delay:.8s;
}

.hero-delay-3{
    animation-delay:1.2s;
}

@keyframes heroContent{

    from{
        opacity:0;
        transform:translateY(30px);
    }

    to{
        opacity:1;
        transform:none;
    }

}

/* Live Feed */

.live-feed{
    display:flex;
    align-items:center;
    gap:8px;
}

.live-feed::before{

    content:'';

    width:8px;
    height:8px;

    border-radius:50%;

    background:#d10d55;

    animation:livePulse 1.5s infinite;

}

@keyframes livePulse{

    0%{
        transform:scale(1);
        opacity:1;
    }

    50%{
        transform:scale(1.8);
        opacity:.4;
    }

    100%{
        transform:scale(1);
        opacity:1;
    }

}

/* Donate button */

.donate-action{
    animation:pulseDonate 6s infinite;
}

@keyframes pulseDonate{

    0%{
        box-shadow:0 0 0 0 rgba(209,13,85,.4);
    }

    70%{
        box-shadow:0 0 0 15px rgba(209,13,85,0);
    }

    100%{
        box-shadow:0 0 0 0 rgba(209,13,85,0);
    }

}

/* Hover */

.log-item{
    transition:.3s;
}

.log-item:hover{

    transform:translateX(6px);

    box-shadow:
        0 12px 25px rgba(0,0,0,.08);

}

/* =====================================
   PROGRAMS ANIMATIONS
===================================== */

/* Section Title */

.programs-header{
    opacity:0;
    animation:
        programsHeader .8s ease forwards;
}

@keyframes programsHeader{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:none;
    }

}

/* Cards */

.program-card{

    opacity:0;

    animation:
        programsCard .8s ease forwards;

}

.card-delay-1{
    animation-delay:.2s;
}

.card-delay-2{
    animation-delay:.5s;
}

.card-delay-3{
    animation-delay:.8s;
}

@keyframes programsCard{

    from{
        opacity:0;
        transform:translateY(50px);
    }

    to{
        opacity:1;
        transform:none;
    }

}

/* Progress Bar Animation */

.progress-bar{
    overflow:hidden;
}

.progress-bar span{

    width:0 !important;

    animation:
        progressFill 2s ease forwards;

}

.program-card.urgent .progress-bar span{
    animation-delay:.8s;
}

.program-card.active .progress-bar span{
    animation-delay:1.1s;
}

.program-card.pending .progress-bar span{
    animation-delay:1.4s;
}

.program-card.urgent .progress-bar span{
    --progress-width:82%;
}

.program-card.active .progress-bar span{
    --progress-width:45%;
}

.program-card.pending .progress-bar span{
    --progress-width:15%;
}

@keyframes progressFill{

    from{
        width:0;
    }

    to{
        width:var(--progress-width);
    }

}

/* Timer */

.timer strong{

    display:inline-block;

    animation:
        timerPulse 3s ease-in-out infinite;

}

@keyframes timerPulse{

    0%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.05);
    }

    100%{
        transform:scale(1);
    }

}

/* Filter Buttons */

.programs-filters button{

    transition:.3s ease;

}

.programs-filters button:hover{

    transform:translateY(-3px);

}

/* Card Hover */

.program-card:hover{

    transform:translateY(-10px);

    box-shadow:
        0 20px 40px rgba(0,0,0,.08);

}

/* Footer Links */

.card-footer a{

    position:relative;

}

.card-footer a::after{

    content:'';

    position:absolute;

    left:0;
    bottom:-3px;

    width:0;
    height:2px;

    background:#d10d55;

    transition:.3s;

}

.card-footer a:hover::after{

    width:100%;

}

/* =====================================
   STORIES ANIMATION
===================================== */

/* Section Title */

.stories-title{

    opacity:0;

    animation:
        storiesTitle .8s ease forwards;

}

@keyframes storiesTitle{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:none;
    }

}

/* Navigation */

.stories-nav{

    opacity:0;

    animation:
        storiesNav .8s ease .4s forwards;

}

@keyframes storiesNav{

    from{
        opacity:0;
        transform:translateX(-30px);
    }

    to{
        opacity:1;
        transform:none;
    }

}

/* Cards */

.story-card{

    opacity:0;

    animation:
        storyAppear .8s ease forwards;

}

.story-delay-1{
    animation-delay:.2s;
}

.story-delay-2{
    animation-delay:.5s;
}

.story-delay-3{
    animation-delay:.8s;
}

.story-delay-4{
    animation-delay:1.1s;
}

@keyframes storyAppear{

    from{
        opacity:0;
        transform:translateY(50px);
    }

    to{
        opacity:1;
        transform:none;
    }

}

/* Image Animation */

.story-card{
    overflow:hidden;
}

.story-card img{

    transition:
        transform .7s ease;

}

.story-card:hover img{

    transform:scale(1.08);

}

/* Card Hover */

.story-card{

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}

.story-card:hover{

    transform:translateY(-10px);

    box-shadow:
        0 20px 40px rgba(0,0,0,.08);

}

/* Story Badge */

.story-badge{

    animation:
        badgePulse 4s infinite;

}

@keyframes badgePulse{

    0%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.06);
    }

    100%{
        transform:scale(1);
    }

}

/* Progress Animation */

.story-progress{
    overflow:hidden;
}

.story-progress span{

    display:block;

    animation:
        storyProgress 2s ease forwards;

}

@keyframes storyProgress{

    from{
        width:0 !important;
    }

}
/* =====================================
   RESPONSIVE TRANSITIONS
===================================== */

.hero-grid,
.programs-grid,
.services-grid,
.governance-layout,
.partners-carousel,
.featured-partners,
.footer-grid,
.stories-header{

    transition:
        all .4s ease;

}

.program-card,
.story-card,
.partner-card,
.leader-card,
.featured-partner-card{

    transition:
        transform .4s ease,
        width .4s ease,
        height .4s ease,
        box-shadow .4s ease;

}
.programs-title h2,
.services-header h2,
.stories-title h2,
.partners-header h2,
.governance-header h2{

    transition:
        font-size .4s ease,
        line-height .4s ease;

}

@media(max-width:768px){

    .stories-header,
    .programs-header,
    .partners-header,
    .governance-header,
    .services-header{

        animation:
            fadeMobile .7s ease;

    }

}

@keyframes fadeMobile{

    from{
        opacity:0;
        transform:translateY(20px);
    }

    to{
        opacity:1;
        transform:none;
    }

}


/* =====================================
   INITIATIVES PAGE
===================================== */

.initiatives-page{
    padding:80px 0;
    background:#f8f9fc;
}

.page-header{
    text-align:center;
    max-width:800px;
    margin:0 auto 60px;
}

.page-header h1{
    font-size:58px;
    font-weight:800;
    margin-bottom:15px;
}

.page-header p{
    color:#667085;
    line-height:1.8;
}

.program-card{
    overflow: hidden;
    background: #fff;
    border-radius: 24px;
}

.program-card-image{
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.program-card-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: .4s;
}

.program-card:hover .program-card-image img{
    transform: scale(1.05);
}

.program-card-content{
    padding: 24px;
}

.program-card-content h3{
    margin-bottom: 12px;
}

.program-card-content p{
    margin-bottom: 20px;
}

.card-footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.program-card{
    background:#fff;
    border-radius:24px;
    padding:35px;
    box-shadow:0 15px 40px rgba(0,0,0,.06);
    transition:.3s;
}

.program-card:hover{
    transform:translateY(-5px);
}

.program-card h3{
    text-align:center;
    margin-bottom:30px;
    color:var(--primary-color);
    font-size:32px;
    font-weight:700;
}

.stats-list{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.stat-row{
    display:flex;
    align-items:center;
    gap:18px;
}

.year{
    min-width:70px;
    text-align:center;
    padding:8px 14px;
    border-radius:12px;
    background:rgba(var(--primary-rgb), .1);
    color:var(--primary-color);
    font-weight:700;
    font-size:15px;
}

.line{
    flex:1;
    height:2px;
    background:linear-gradient(
        to right,
        rgba(var(--primary-rgb), .15),
        rgba(var(--primary-rgb), .5)
    );
}

.count{
    min-width:120px;
    text-align:center;
    font-size:22px;
    font-weight:800;
    color:var(--secondary-color);
}

.service-item{
    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:16px 18px;
    margin-bottom:14px;

    border-radius:18px;

    background:#c8104d;

    border:1px solid rgba(194,24,91,.10);

    text-decoration:none;

    transition:.35s;
}

.service-item:hover{

    transform:translateX(-6px);

    background:
        linear-gradient(
            135deg,
            rgba(194,24,91,.12),
            rgba(194,24,91,.04)
        );

    border-color:rgba(194,24,91,.25);

    box-shadow:
        0 10px 25px rgba(194,24,91,.10);
}

.service-item:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.service-name{
    font-weight:600;
    color:#fff;
}

.service-column{
    background:#fff;
    border-radius:28px;
    padding:30px;
    position:relative;

    border:1px solid rgba(194,24,91,.08);

    box-shadow:
        0 10px 30px rgba(0,0,0,.04);

    transition:.35s;
}

.service-column:hover{
    transform:translateY(-8px);

    box-shadow:
        0 20px 45px rgba(0,0,0,.08);
}

