/*
Template Name: Nonprofitx | Charity & Donation Website Template (GNEP Africa Edition)
Author: Pillarix / GNEP Africa
Version: 1.0
*/
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@100;200;300;400;500;600;700;800&family=DM+Sans:opsz,wght@9..40,100;9..40,200;9..40,300;9..40,400;9..40,500;9..40,600&family=Homemade+Apple&display=swap');

/* Accessibility skip link */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 9999;
    background: #ffc107;
    color: #000;
    padding: 8px 16px;
    font-weight: 700;
    border-radius: 4px;
}
.skip-to-content:focus {
    left: 12px;
}

/* Body */
body {
    font-family: 'DM Sans', sans-serif;
}
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Barlow', sans-serif;
}
.handwriting-font {
    font-family: 'Homemade Apple', cursive;
}
a {
    text-decoration: none;
    color: #1b1b1b;
}
a:hover {
    color: #ffc107;
}

/* Custom Classes */
.charity-nav a.nav-link {
    padding-top: 29px !important;
    padding-bottom: 29px !important;
    color: #ffffff !important;
}
.w-15 {
    width: 15% !important;
}

/* Side Navbar */
.sidebar-nav .nav-link.active {
    color: #ffc107;
}

/* Index */
.bg-homepage {
    background-image: linear-gradient(rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.58)), url(../assets/real/hero-forest-valley.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.provide-img {
    width: 50px;
}
.provide {
    margin-top: -8rem;
}
.school-video {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../assets/real/schools-tree-planting.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 650px;
}

/* Projects */
.bg-project {
    background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url(../assets/africa/uganda-rwanda-virunga-highland-lake.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.bg-volunteer {
    background-image: linear-gradient(rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.58)), url(../assets/real/tree-planting-action.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* About */
.bg-about {
    background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url(../assets/africa/kilimanjaro-savannah-elephants-panorama.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.work-img {
    width: 70px;
}

/* Volunteer */
.bg-volunteer-page {
    background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url(../assets/real/cso-workshop-group.webp);
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Contact */
.bg-contact {
    background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url(../assets/africa/african-tropical-waterfall-rainbow-canopy.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Card image uniform aspect ratio */
.np-card-img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    width: 100%;
}
.np-team-img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top center;
    width: 100%;
}
.np-partner-avatar {
    width: 72px;
    height: 72px;
    object-fit: cover;
}

/* Admin & Icons */
.b-icon {
    height: 25px;
    width: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-sm {
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
.social-icon {
    height: 35px;
    width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
footer .footer-top a {
    color: #9ca3af;
}
footer .footer-top a:hover {
    color: #ffc107;
}
footer .footer-top .social-icon {
    border: 1px solid #6c757d;
}
footer .footer-top .social-icon:hover {
    border: 1px solid #ffc107;
}
/* Knowledge Hub & Article Nonprofitx Integration */
.kh-collections-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.kh-collection-chip, .kh-collection-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #FFFFFF;
    color: #111827;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #D5DDE2;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}
.kh-collection-chip:hover, .kh-collection-chip.active,
.kh-collection-pill:hover, .kh-collection-pill.active {
    background: #15803D;
    color: #FFFFFF;
    border-color: #15803D;
}
.kh-filter-sidebar {
    background: #ffffff;
    border-radius: 24px;
    padding: 1.75rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.08);
}
.kh-filter-title {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #1b1b1b;
    margin-bottom: 0.65rem;
}
.kh-filter-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.kh-filter-list li {
    margin-bottom: 6px;
}
.kh-filter-item, .kh-filter-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #4b5563;
    cursor: pointer;
    text-decoration: none;
}
.kh-filter-item:hover, .kh-filter-item.active,
.kh-filter-btn:hover, .kh-filter-btn.active {
    background: #FFFFFF;
    color: #15803D;
    font-weight: 700;
    border-left: 3px solid #15803D;
}
.article-body-content {
    font-family: 'Noto Sans', Arial, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #000000;
}
.article-body-content h2 {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    color: #000000;
    margin-top: 2.4rem;
    margin-bottom: 1rem;
    font-size: 1.85rem;
    padding-bottom: 0;
}
.article-body-content h3 {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    color: #000000;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
}
.article-quote-box, .bio-lead-quote {
    background: #FFFFFF;
    border: 0;
    border-left: 3px solid #15803D;
    padding: 0.4rem 0 0.4rem 1.35rem;
    border-radius: 0;
    margin: 1.6rem 0;
    font-size: 1.08rem;
    color: #000000;
}
.article-figure {
    margin: 1.85rem 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 .25rem .75rem rgba(0,0,0,.05);
}
.article-figure img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 520px;
    object-fit: contain;
    background: #ffffff;
}
.article-figure-caption {
    padding: 0.85rem 1.2rem;
    font-size: 0.88rem;
    color: #475569;
    background: #FFFFFF;
    border-top: 1px solid #E2E8F0;
}
.policy-data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4rem 0 1.8rem 0;
    font-size: 0.92rem;
    border: 1px solid #cbd5e1;
}
.policy-data-table thead th {
    background: #153743;
    color: #ffffff;
    font-weight: 700;
    padding: 12px 14px;
    border-bottom: 2px solid #15803D;
}
.policy-data-table tbody td {
    padding: 11px 14px;
    border-bottom: 1px solid #D5DDE2;
    vertical-align: top;
}
.policy-data-table tbody tr:nth-child(even) {
    background-color: #FFFFFF;
}
.recommendation-item, .publication-card {
    background: #FFFFFF;
    border: 1px solid #e2e8f0;
    border-left: 3px solid #15803D;
    border-radius: 14px;
    padding: 1.2rem 1.4rem;
    margin-bottom: 1rem;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.04);
}
.article-sidebar-card, .article-sidebar-box, .founder-meta-box {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #E2E8F0;
}
.article-sidebar-title, .founder-meta-title {
    font-family: 'Barlow', sans-serif;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 800;
    color: #1b1b1b;
    margin-bottom: 1rem;
}
.article-key-fact, .founder-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
    font-size: 0.92rem;
}
.article-key-fact i, .founder-meta-item i {
    color: #15803D;
    margin-top: 4px;
    flex-shrink: 0;
}
.pdf-download-banner {
    background: #FFFFFF;
    border: 1px solid #D5DDE2;
    border-left: 4px solid #15803D;
    border-radius: 4px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}

/* GNEP Consultancy & Capacity Development Custom Styles */
.cns-service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cns-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2.25rem rgba(0, 0, 0, 0.1);
}
.cns-service-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border-radius: 999px;
    background: #15803D;
    color: #FFFFFF;
    font-family: 'Barlow', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.cns-module-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.cns-module-list li {
    position: relative;
    padding-left: 1.65rem;
    margin-bottom: 0.55rem;
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.55;
}
.cns-module-list li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: #15803D;
    font-size: 1.05rem;
}
.cns-note-box {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-left: 4px solid #15803D;
    padding: 0.9rem 1.15rem;
    border-radius: 0 12px 12px 0;
    font-size: 0.9rem;
    color: #1e293b;
}
.cns-safeguard-box {
    background: #FFFFFF;
    border: 1px solid #D5DDE2;
    border-left: 4px solid #15803D;
    padding: 1rem 1.2rem;
    border-radius: 0 12px 12px 0;
    font-size: 0.9rem;
    color: #111827;
}
.cns-client-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.4rem;
    height: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cns-client-card:hover {
    border-color: #ffc107;
    box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.06);
}
.cns-delivery-badge {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #ffc107;
    color: #111827;
    font-family: 'Barlow', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cns-enquiry-shell {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1.25rem 3rem rgba(15, 23, 42, 0.08);
}
.w-35 {
    width: 35%;
}
