/* ============================================================
   NOVA CARE
   PUBLIC CERTIFICATES
   ============================================================ */

.nc-public-certificates-page {
    background: #f7faf8;
    color: #17372c;
}


/* ============================================================
   HERO
   ============================================================ */

.nc-cert-hero {
    position: relative;
    overflow: hidden;
    padding: 125px 0 95px;
    background:
        linear-gradient(
            120deg,
            #073b29 0%,
            #0a2b1d 55%,
            #124936 100%
        );
    color: #B88A44;
}


.nc-cert-hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -180px;
    top: -220px;
    border-radius: 50%;
    background: rgba(157, 191, 182, 0.12);
}


.nc-cert-hero::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    left: -120px;
    bottom: -150px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
}


.nc-cert-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}


.nc-cert-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    color: #B88A44;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}


.nc-cert-hero h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.02;
    font-weight: 700;
}


.nc-cert-hero h1 span {
    display: block;
    color: #B88A44;
}


.nc-cert-hero p {
    max-width: 650px;
    margin: 25px 0 0;
    color: rgba(255,255,255,0.76);
    font-size: 17px;
    line-height: 1.8;
}


.nc-cert-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    color: rgba(255,255,255,0.65);
    font-size: 14px;
}


.nc-cert-breadcrumb a {
    color: #fff;
    text-decoration: none;
}


.nc-cert-breadcrumb i {
    font-size: 9px;
    color: #9dbfb6;
}


/* ============================================================
   INTRO
   ============================================================ */

.nc-cert-intro {
    padding: 95px 0 75px;
    background: #fff;
}


.nc-cert-intro-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
    align-items: start;
}


.nc-cert-section-label {
    display: block;
    margin-bottom: 14px;
    color: #17372c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}


.nc-cert-intro h2,
.nc-cert-library h2 {
    margin: 0;
    color: #B88A44;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.1;
}


.nc-cert-intro h2 span,
.nc-cert-library h2 span {
    color: #17372c;
}


.nc-cert-intro p {
    margin: 0 0 18px;
    color: #61736c;
    font-size: 16px;
    line-height: 1.85;
}


.nc-cert-intro p:last-child {
    margin-bottom: 0;
}


/* ============================================================
   LIBRARY
   ============================================================ */

.nc-cert-library {
    padding: 80px 0 105px;
}


.nc-cert-library-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 45px;
}


.nc-cert-count {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px 18px;
    border: 1px solid #dce9e4;
    border-radius: 100px;
    background: #fff;
}


.nc-cert-count strong {
    color: #5c9a91;
    font-size: 20px;
}


.nc-cert-count span {
    color: #71827b;
    font-size: 13px;
}


/* ============================================================
   FILTERS
   ============================================================ */

.nc-cert-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}


.nc-cert-filter {
    border: 1px solid #d9e5e0;
    border-radius: 100px;
    padding: 10px 18px;
    background: #fff;
    color: #557068;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}


.nc-cert-filter:hover,
.nc-cert-filter.active {
    border-color: #5c9a91;
    background: #5c9a91;
    color: #fff;
}


/* ============================================================
   GRID
   ============================================================ */

.nc-cert-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}


.nc-cert-card {
    overflow: hidden;
    border: 1px solid #e0ebe6;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(23,55,44,0.06);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        opacity 0.25s ease;
}


.nc-cert-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 50px rgba(23,55,44,0.12);
}


.nc-cert-card.is-hidden {
    display: none;
}


/* ============================================================
   VISUAL
   ============================================================ */

.nc-cert-card-visual {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #edf4f1;
}


.nc-cert-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}


.nc-cert-card:hover
.nc-cert-card-visual img {
    transform: scale(1.04);
}


.nc-cert-pdf-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 12px;
    color: #B88A44;
}


.nc-cert-pdf-visual i {
    font-size: 65px;
}


.nc-cert-pdf-visual span {
    font-size: 13px;
    font-weight: 700;
}


.nc-cert-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(7,59,41,0.72);
    opacity: 0;
    transition: opacity 0.3s ease;
}


.nc-cert-card:hover
.nc-cert-card-overlay {
    opacity: 1;
}


.nc-cert-view-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 20px;
    border-radius: 100px;
    background: #fff;
    color: #B88A44;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}


.nc-cert-card:hover
.nc-cert-view-button {
    transform: translateY(0);
}


.nc-cert-type {
    position: absolute;
    left: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 100px;
    background: rgba(7,43,29,0.9);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}


/* ============================================================
   CARD CONTENT
   ============================================================ */

.nc-cert-card-content {
    padding: 25px;
}


.nc-cert-card-content h3 {
    margin: 0 0 12px;
    color: #B88A44;
    font-size: 20px;
    line-height: 1.35;
}


.nc-cert-card-content p {
    min-height: 48px;
    margin: 0 0 20px;
    color: #73827c;
    font-size: 13px;
    line-height: 1.7;
}


.nc-cert-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 16px 0;
    border-top: 1px solid #edf2ef;
    border-bottom: 1px solid #edf2ef;
}


.nc-cert-meta div {
    min-width: 0;
}


.nc-cert-meta span {
    display: block;
    margin-bottom: 5px;
    color: #B88A44;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}


.nc-cert-meta strong {
    display: block;
    overflow: hidden;
    color: #34574b;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.nc-cert-card-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
    color: #B88A44;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}


.nc-cert-card-link i {
    transition: transform 0.2s ease;
}


.nc-cert-card-link:hover i {
    transform: translateX(4px);
}


/* ============================================================
   TRUST STRIP
   ============================================================ */

.nc-cert-trust-strip {
    padding: 35px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: #0a2b1d;
}


.nc-cert-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


.nc-cert-trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #B88A44;
}


.nc-cert-trust-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(157,191,182,0.3);
    border-radius: 14px;
    color: #9dbfb6;
}


.nc-cert-trust-item strong {
    display: block;
    margin-bottom: 3px;
    font-size: 14px;
}


.nc-cert-trust-item span {
    display: block;
    color: rgba(255,255,255,0.58);
    font-size: 11px;
}


/* ============================================================
   EMPTY
   ============================================================ */

.nc-cert-empty {
    padding: 80px 25px;
    border: 1px dashed #cfdfd9;
    border-radius: 20px;
    background: #fff;
    text-align: center;
}


.nc-cert-empty-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #edf5f2;
    color: #B88A44;
    font-size: 26px;
}


.nc-cert-empty h3 {
    margin: 0 0 10px;
    color: #B88A44;
}


.nc-cert-empty p {
    max-width: 500px;
    margin: auto;
    color: #71817a;
}


/* ============================================================
   CTA
   ============================================================ */

.nc-cert-cta {
    padding: 85px 0;
    background: #fff;
}


.nc-cert-cta-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 35px;
    padding: 45px;
    overflow: hidden;
    border-radius: 25px;
    background:
        linear-gradient(
            135deg,
            #0a2b1d,
            #174c39
        );
    color: #fff;
    position: relative;
}


.nc-cert-cta-inner::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -100px;
    top: -160px;
    border-radius: 50%;
    border: 1px solid rgba(157,191,182,0.2);
}


.nc-cert-cta-icon {
    position: relative;
    z-index: 1;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(157,191,182,0.12);
    color: #9dbfb6;
    font-size: 28px;
}


.nc-cert-cta-content {
    position: relative;
    z-index: 1;
}


.nc-cert-cta-content > span {
    color: #9dbfb6;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}


.nc-cert-cta-content h2 {
    margin: 8px 0 8px;
    font-size: clamp(28px, 3vw, 42px);
}


.nc-cert-cta-content h2 strong {
    color: #9dbfb6;
}


.nc-cert-cta-content p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
}


.nc-cert-cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 175px;
}


.nc-cert-cta-primary,
.nc-cert-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 20px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.25s ease;
}


.nc-cert-cta-primary {
    background: #9dbfb6;
    color: #0a2b1d;
}


.nc-cert-cta-primary:hover {
    background: #fff;
    color: #0a2b1d;
}


.nc-cert-cta-secondary {
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
}


.nc-cert-cta-secondary:hover {
    border-color: #9dbfb6;
    color: #9dbfb6;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 991px) {

    .nc-cert-intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }


    .nc-cert-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    .nc-cert-trust-grid {
        grid-template-columns: 1fr;
    }


    .nc-cert-cta-inner {
        grid-template-columns: auto 1fr;
    }


    .nc-cert-cta-actions {
        grid-column: 1 / -1;
        flex-direction: row;
    }

}


@media (max-width: 767px) {

    .nc-cert-hero {
        padding: 100px 0 75px;
    }


    .nc-cert-intro {
        padding: 65px 0 50px;
    }


    .nc-cert-library {
        padding: 55px 0 70px;
    }


    .nc-cert-library-header {
        align-items: flex-start;
        flex-direction: column;
    }


    .nc-cert-grid {
        grid-template-columns: 1fr;
    }


    .nc-cert-card-visual {
        height: 300px;
    }


    .nc-cert-cta {
        padding: 60px 0;
    }


    .nc-cert-cta-inner {
        grid-template-columns: 1fr;
        padding: 30px;
    }


    .nc-cert-cta-actions {
        grid-column: auto;
        flex-direction: column;
    }

}


@media (max-width: 480px) {

    .nc-cert-hero h1 {
        font-size: 40px;
    }


    .nc-cert-filters {
        gap: 7px;
    }


    .nc-cert-filter {
        padding: 8px 13px;
        font-size: 11px;
    }


    .nc-cert-meta {
        grid-template-columns: 1fr;
    }


    .nc-cert-trust-item {
        align-items: flex-start;
    }

}