/* ==========================================================
   Accreditation Pages — shared enhancement styles
   Used by: why-get-accredited.php, accreditation-process.php,
   and any future accreditation-section page
   Scoped with .accred- prefixed classes to avoid theme conflicts
   ========================================================== */

/* Intro / statistic block */
.accred-intro .statistic-block-txt h1 {
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 18px;
}

.accred-intro .statistic-block-txt p {
    max-width: 780px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.85;
    color: #4a4a4a;
}

/* Section background */
.accred-section {
    background-color: #fafbfc;
}

.accred-section .section-title h2 {
    font-weight: 700;
    position: relative;
    padding-bottom: 14px;
}

.accred-section .section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0d6efd, #6ea8fe);
    border-radius: 2px;
}

/* Cards (benefit cards, step cards, etc.) */
.accred-card {
    position: relative;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 35px 22px;
    text-align: center;
    height: 100%;
    border: 1px solid #eef1f5;
    box-shadow: 0 3px 12px rgba(15, 34, 58, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.accred-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 30px rgba(13, 110, 253, 0.12);
    border-color: #d6e4ff;
}

/* Icon styling: circular gradient backdrop behind existing theme icons */
.accred-card img.img-70 {
    width: 64px;
    height: 64px;
    object-fit: contain;
    padding: 14px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eaf1ff, #dceeff);
    transition: background 0.3s ease, transform 0.3s ease;
}

.accred-card:hover img.img-70 {
    transform: scale(1.08) rotate(-4deg);
    background: linear-gradient(135deg, #dceeff, #cfe4ff);
}

.accred-card .sbox-5-txt h3 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.accred-card .sbox-5-txt p {
    font-size: 0.97rem;
    line-height: 1.7;
    color: #5a5f66;
    margin-bottom: 0;
}

/* Step number badge (used on process-style pages) */
.accred-card .accred-step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d6efd, #6ea8fe);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;    
    justify-content: center;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
    .accred-card {
        padding: 28px 18px;
        margin-bottom: 20px;
    }
}

@media (max-width: 575.98px) {
    .accred-intro .statistic-block-txt h1 {
        font-size: 1.6rem;
    }

    .accred-intro .statistic-block-txt p {
        font-size: 1rem;
    }

    .accred-card img.img-70 {
        width: 56px;
        height: 56px;
    }
}

/* Apply for Accreditation Intro */
#statistic-4.accred-intro {
    padding: 55px 0 50px;
}

#statistic-4 .statistic-block-txt {
    max-width: 900px;
    margin: 0 auto;
}

#statistic-4 .statistic-block-txt h1 {
    margin: 0 0 18px;
    font-size: 38px;
    line-height: 1.2;
}

#statistic-4 .statistic-block-txt p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.7;
}

/* Mobile */
@media (max-width: 767px) {
    #statistic-4.accred-intro {
        padding: 45px 20px 40px;
    }

    #statistic-4 .statistic-block-txt h1 {
        font-size: 30px;
        margin-bottom: 15px;
    }

    #statistic-4 .statistic-block-txt p {
        font-size: 16px;
        line-height: 1.6;
    }
}

/* ================================
   OUR MISSION SECTION
================================ */

#statistic-1 {
    padding: 40px 0;
}

#statistic-1 .row {
    align-items: center;
}

#statistic-1 .statistic-block {
    padding: 0 25px;
}

#statistic-1 .statistic-block-txt h2 {
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 0;
}

#statistic-1 .statistic-block-txt p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Vertical divider between heading and content */
#statistic-1 .col-lg-4 {
    border-right: 1px solid rgba(0, 0, 0, 0.20);
}
#statistic-1 .mission-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: 2px solid rgba(31, 41, 51, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

#statistic-1 .mission-icon svg {
    width: 52px;
    height: 52px;
    fill: none;
    stroke: #1f2933;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Mobile */
@media (max-width: 991px) {

    #statistic-1 {
        padding: 60px 0;
    }

    #statistic-1 .col-lg-4 {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.20);
        padding-bottom: 25px;
        margin-bottom: 30px;
    }

    #statistic-1 .statistic-block {
        padding: 0 15px;
    }

    #statistic-1 .statistic-block-txt h2 {
        font-size: 32px;
    }

    #statistic-1 .statistic-block-txt p {
        font-size: 16px;
        line-height: 1.6;
    }
}   

/* ==========================================================
   Knowledge Base & Policy Center — shared styles (COMPLETE FILE)
   Used by: knowledge-base.php (landing), category archive pages,
   version history page, and individual resource/document pages
   Scoped with .kb- prefixed classes to avoid theme conflicts
   ========================================================== */

/* Intro / statistic block */
.kb-intro {
    padding-top: 55px;
    padding-bottom: 55px;
}

.kb-intro .statistic-block-txt h1 {
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 18px;
}

.kb-intro .statistic-block-txt p {
    max-width: 820px;
    margin: 0 auto 10px auto;
    font-size: 1.1rem;
    line-height: 1.85;
    color: #4a4a4a;
}

@media (max-width: 767.98px) {
    .kb-intro {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

@media (max-width: 575.98px) {
    .kb-intro {
        padding-top: 32px;
        padding-bottom: 32px;
    }
}

/* Section background */
.kb-section {
    background-color: #fafbfc;
}

.kb-section .section-title h2 {
    font-weight: 700;
    position: relative;
    padding-bottom: 14px;
}

.kb-section .section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #198754, #4ade80);
    border-radius: 2px;
}

/* Resource category cards (landing page) */
.kb-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 32px 22px;
    text-align: center;
    height: 100%;
    border: 1px solid #eef1f5;
    box-shadow: 0 3px 12px rgba(15, 34, 58, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.kb-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 30px rgba(25, 135, 84, 0.12);
    border-color: #cdeedd;
}

.kb-card img.img-70 {
    width: 64px;
    height: 64px;
    object-fit: contain;
    padding: 14px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e9f9f0, #d7f5e4);
    transition: background 0.3s ease, transform 0.3s ease;
}

.kb-card:hover img.img-70 {
    transform: scale(1.08) rotate(-4deg);
    background: linear-gradient(135deg, #d7f5e4, #c2eed6);
}

.kb-card .sbox-5-txt h3 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.kb-card .sbox-5-txt p {
    font-size: 0.97rem;
    line-height: 1.7;
    color: #5a5f66;
    margin-bottom: 0;
}

/* Subscribe / email signup block (landing page) */
.kb-subscribe {
    background: linear-gradient(135deg, #198754, #21a366);
    border-radius: 14px;
    padding: 45px 30px;
    text-align: center;
    color: #ffffff;
}

.kb-subscribe h2 {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.kb-subscribe p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 620px;
    margin: 0 auto 26px auto;
    font-size: 1rem;
    line-height: 1.7;
}

.kb-subscribe-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.kb-subscribe-form input[type="email"] {
    flex: 1 1 260px;
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
    font-size: 0.97rem;
    color: #1a1a2e;
}

.kb-subscribe-form input[type="email"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

.kb-subscribe-btn {
    background-color: #1a1a2e;
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.97rem;
    cursor: pointer;
    transition: transform 0.25s ease, background-color 0.25s ease;
    white-space: nowrap;
}

.kb-subscribe-btn:hover {
    background-color: #0d0d1a;
    transform: translateY(-2px);
    color: #ffffff;
}

/* ===== Individual Resource / Document page ===== */
.kb-resource-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    border: 1px solid #eef1f5;
    box-shadow: 0 3px 12px rgba(15, 34, 58, 0.05);
}

.kb-resource-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid #eef1f5;
}

.kb-resource-meta span {
    font-size: 0.9rem;
    color: #5a5f66;
}

.kb-resource-meta span strong {
    color: #1a1a2e;
}

.kb-badge {
    display: inline-block;
    background-color: #e9f9f0;
    color: #198754;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.kb-resource-card h1 {
    font-weight: 700;
    margin-bottom: 8px;
}

.kb-resource-card h3 {
    font-weight: 700;
    font-size: 1.05rem;
    margin-top: 26px;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.kb-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #198754, #21a366);
    color: #ffffff !important;
    border: none;
    padding: 13px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.97rem;
    margin-top: 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kb-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(25, 135, 84, 0.25);
    color: #ffffff;
}

/* ==========================================================
   Category Archive / Listing pages
   ========================================================== */

.kb-filter-bar {
    background-color: #ffffff;
    border: 1px solid #eef1f5;
    border-radius: 12px;
    padding: 22px 26px;
    margin-bottom: 40px;
    box-shadow: 0 3px 12px rgba(15, 34, 58, 0.05);
}

.kb-filter-bar form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 18px;
}

.kb-filter-group {
    flex: 1 1 200px;
}

.kb-filter-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.kb-filter-group select,
.kb-filter-group input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #dfe3e8;
    border-radius: 8px;
    font-size: 0.93rem;
    color: #333;
    background-color: #fff;
}

.kb-filter-group select:focus,
.kb-filter-group input:focus {
    outline: none;
    border-color: #198754;
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.12);
}

.kb-filter-btn {
    flex: 0 0 auto;
    background: linear-gradient(135deg, #198754, #21a366);
    color: #ffffff;
    border: none;
    padding: 11px 26px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.93rem;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kb-filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(25, 135, 84, 0.22);
    color: #ffffff;
}

.kb-resource-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    background-color: #ffffff;
    border: 1px solid #eef1f5;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.kb-resource-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(15, 34, 58, 0.08);
    border-color: #cdeedd;
}

.kb-resource-item-main {
    flex: 1 1 400px;
}

.kb-resource-item-main h3 {
    font-weight: 700;
    font-size: 1.08rem;
    margin-bottom: 8px;
}

.kb-resource-item-main h3 a {
    color: #1a1a2e;
    text-decoration: none;
}

.kb-resource-item-main h3 a:hover {
    color: #198754;
}

.kb-resource-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: 0.85rem;
    color: #5a5f66;
}

.kb-resource-item-meta strong {
    color: #1a1a2e;
}

.kb-resource-item-action {
    flex: 0 0 auto;
}

.kb-view-btn {
    display: inline-block;
    border: 2px solid #198754;
    color: #198754 !important;
    padding: 9px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.kb-view-btn:hover {
    background-color: #198754;
    color: #ffffff !important;
}

.kb-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #5a5f66;
}

.kb-empty-state img.img-70 {
    width: 70px;
    opacity: 0.5;
    margin-bottom: 18px;
}

/* ==========================================================
   Version History & Release Notes page
   ========================================================== */

.kb-version-table-wrap {
    background-color: #ffffff;
    border: 1px solid #eef1f5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(15, 34, 58, 0.05);
}

.kb-version-table {
    width: 100%;
    border-collapse: collapse;
}

.kb-version-table thead th {
    background-color: #f2f7f4;
    color: #1a1a2e;
    font-weight: 700;
    font-size: 0.88rem;
    text-align: left;
    padding: 16px 20px;
    border-bottom: 1px solid #eef1f5;
}

.kb-version-table tbody td {
    padding: 16px 20px;
    font-size: 0.92rem;
    color: #4a4a4a;
    border-bottom: 1px solid #f2f4f6;
    vertical-align: top;
}

.kb-version-table tbody tr:last-child td {
    border-bottom: none;
}

.kb-version-table tbody tr:hover {
    background-color: #fafcfb;
}

.kb-version-table td a {
    color: #1a1a2e;
    font-weight: 600;
    text-decoration: none;
}

.kb-version-table td a:hover {
    color: #198754;
}

.kb-version-badge {
    display: inline-block;
    background-color: #e9f9f0;
    color: #198754;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.kb-version-table td.kb-version-changelog {
    max-width: 320px;
    color: #5a5f66;
}

/* Mobile: convert table to stacked cards */
@media (max-width: 767.98px) {
    .kb-version-table thead {
        display: none;
    }

    .kb-version-table,
    .kb-version-table tbody,
    .kb-version-table tr,
    .kb-version-table td {
        display: block;
        width: 100%;
    }

    .kb-version-table tr {
        padding: 16px 18px;
        border-bottom: 1px solid #eef1f5;
    }

    .kb-version-table td {
        border: none;
        padding: 6px 0;
    }

    .kb-version-table td::before {
        content: attr(data-label);
        display: block;
        font-weight: 700;
        font-size: 0.78rem;
        color: #1a1a2e;
        margin-bottom: 3px;
    }
}

/* Responsive tweaks (shared) */
@media (max-width: 991.98px) {
    .kb-card {
        padding: 26px 18px;
        margin-bottom: 20px;
    }

    .kb-resource-card {
        padding: 28px 22px;
    }
}

@media (max-width: 767.98px) {
    .kb-filter-bar form {
        flex-direction: column;
        align-items: stretch;
    }

    .kb-filter-btn {
        width: 100%;
    }

    .kb-resource-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .kb-subscribe-form {
        flex-direction: column;
    }

    .kb-subscribe-btn {
        width: 100%;
    }
}

@media only screen and (max-width: 991px) {

    .wsactive .wsmobileheader {
        margin-left: 0 !important;
    }

    .wsactive #wsnavtoggle {
        left: auto !important;
        right: 15px !important;
        top: 7px !important;
        margin-left: 0 !important;
        z-index: 99999 !important;
    }

}

/* HOME - OUR MISSION */

#statistic-1 {
    padding: 65px 0;
}

#statistic-1 .mission-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: 2px solid rgba(31, 41, 51, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

#statistic-1 .mission-icon svg {
    width: 52px;
    height: 52px;
    fill: none;
    stroke: #1f2933;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#statistic-1 .mission-label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}

#statistic-1 .statistic-block-txt p {
    font-size: 17px;
    line-height: 1.7;
}

@media (max-width: 991px) {
    #statistic-1 .mission-heading {
        margin-bottom: 35px;
    }
}

/* HOME - LATEST NEWS */

#latest-news {
    padding: 65px 0;
}

#latest-news .news-title {
    padding-right: 30px;
}

#latest-news .news-title h3 {
    margin-bottom: 10px;
}

#latest-news .news-title p {
    margin-bottom: 0;
}

#latest-news .news-ticker {
    border-left: 3px solid #f5c400;
    padding-left: 25px;
}

#latest-news .news-item {
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

#latest-news .news-item:last-child {
    border-bottom: 0;
}

#latest-news .news-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    margin-right: 15px;
    text-transform: uppercase;
}

#latest-news .news-text {
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 767px) {

    #latest-news {
        padding: 50px 20px;
    }

    #latest-news .news-title {
        padding-right: 0;
        margin-bottom: 25px;
    }

    #latest-news .news-ticker {
        padding-left: 15px;
    }

    #latest-news .news-item {
        padding: 12px 0;
    }

    #latest-news .news-label {
        display: block;
        margin-bottom: 5px;
    }
}

/* HOME - FEATURED RESOURCES */

#featured-resources {
    padding: 80px 0;
}

#featured-resources .featured-resource {
    padding: 40px;
    border: 1px solid #e5e5e5;
    background: #fff;
    text-align: center;
}

#featured-resources .resource-category {
    display: inline-block;
    margin-bottom: 15px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

#featured-resources .featured-resource h4 {
    margin-bottom: 12px;
}

#featured-resources .featured-resource p {
    margin-bottom: 20px;
}

#featured-resources .resource-meta {
    margin-bottom: 25px;
}

#featured-resources .resource-meta span {
    display: inline-block;
    margin: 0 10px;
    font-size: 14px;
}

@media (max-width: 767px) {

    #featured-resources {
        padding: 55px 20px;
    }

    #featured-resources .featured-resource {
        padding: 30px 20px;
    }

    #featured-resources .resource-meta span {
        display: block;
        margin: 5px 0;
    }
}

/* HOME - ACCREDITATION CTA */

#home-accreditation-cta {
    padding: 70px 0;
}

#home-accreditation-cta .statistic-block-txt {
    max-width: 800px;
    margin: 0 auto;
}

#home-accreditation-cta h3 {
    margin-bottom: 15px;
}

#home-accreditation-cta p {
    margin-bottom: 25px;
}

#home-accreditation-cta .btn {
    margin: 5px;
}

@media (max-width: 767px) {

    #home-accreditation-cta {
        padding: 55px 20px;
    }

    #home-accreditation-cta .btn {
        display: block;
        width: 100%;
        margin: 8px 0;
    }
}
.smllogo-black {
    position: relative;
    top: -15px;
}
