/* ==========================================================================
   PAGE HERO
   ========================================================================== */
.pj-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.pj-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.35) 45%,
        rgba(0, 0, 0, 0.15) 100%
    );
}

.pj-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px 90px;
    color: #fff;
}

.pj-hero-content h1 {
    font-size: 38px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 12px;
}

.pj-hero-content p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 640px;
    margin: 0;
}

/* ==========================================================================
   SHARED EYEBROW
   ========================================================================== */
.pj-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #b40707;
    border-bottom: 3px solid #b40707;
    padding-bottom: 6px;
    margin-bottom: 20px;
}

/* ==========================================================================
   KEY PROJECTS & CLIENTS INTRO
   ========================================================================== */
.pj-intro-section {
    width: 100%;
    padding: 90px 24px 40px;
    background-color: #ffffff;
}

.pj-intro-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 60px;
}

.pj-intro-inner h2 {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.25;
    color: #1a1a1a;
    margin: 0 0 22px;
}

.pj-intro-text {
    font-size: 16px;
    line-height: 1.75;
    color: #555;
    margin: 0;
    max-width: 100%;
}

/* ==========================================================================
   PROJECTS DELIVERED SECTION
   ========================================================================== */
.pj-projects-section {
    position: relative;
    width: 100%;
    padding: 40px 24px 90px;
    background-color: #ffffff;
    overflow: hidden;
}

.pj-bg-decor {
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    color: rgba(180, 7, 7, 0.12);
    pointer-events: none;
    z-index: 0;
}

.pj-bg-decor svg {
    width: 100%;
    height: 100%;
    display: block;
}

.pj-bg-decor-left {
    left: 0;
}

.pj-bg-decor-right {
    right: 0;
}

.pj-projects-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 60px;
}

.pj-projects-inner h2 {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.25;
    color: #1a1a1a;
    margin: 0 0 22px;
}

.pj-projects-inner > .pj-intro-text {
    margin-bottom: 48px;
}

/* ===== Projects Grid — 4 columns, 2 rows visible ===== */
.pj-projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    text-align: left;
}

.pj-project-card {
    display: flex;
    flex-direction: column;
}

.pj-project-card.pj-project-hidden {
    display: none;
}

.pj-project-card img {
    width: 100%;
    height: 180px;
    object-fit: fill;
    border-radius: 8px;
    display: block;
    margin-bottom: 16px;
}

.pj-project-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.35;
}

.pj-project-card p {
    font-size: 13.5px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.pj-loadmore-wrap {
    display: flex;
    justify-content: center;
    margin-top: 44px;
}

.pj-loadmore-btn {
    background-color: #b40707;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 13px 32px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.pj-loadmore-btn:hover {
    background-color: #8f0505;
}

/* ==========================================================================
   CLIENTS SECTION
   ========================================================================== */
.pj-clients-section {
    width: 100%;
    padding: 70px 24px 90px;
    background-color: #f7f7f7;
}

.pj-clients-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 60px;
}

.pj-clients-inner h2 {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.25;
    color: #1a1a1a;
    margin: 0 0 22px;
}

.pj-clients-inner > .pj-intro-text {
    margin-bottom: 44px;
}

.pj-clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.pj-client-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pj-client-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border-color: #b40707;
}

.pj-client-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pj-empty {
    font-size: 15px;
    color: #888;
    padding: 20px 0;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991px) {

    .pj-intro-inner,
    .pj-projects-inner,
    .pj-clients-inner {
        padding-left: 24px;
    }

    .pj-hero {
        min-height: 320px;
    }

    .pj-hero-content h1 {
        font-size: 28px;
    }

    .pj-bg-decor {
        display: none;
    }

    .pj-intro-inner h2,
    .pj-projects-inner h2,
    .pj-clients-inner h2 {
        font-size: 30px;
    }

    .pj-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pj-clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .pj-hero {
        min-height: 320px;
    }

    .pj-hero-content {
        padding: 0 20px 50px;
    }

    .pj-intro-section {
        padding: 50px 20px 30px;
    }

    .pj-projects-section {
        padding: 30px 20px 60px;
    }

    .pj-clients-section {
        padding: 50px 20px 60px;
    }

    .pj-intro-inner h2,
    .pj-projects-inner h2,
    .pj-clients-inner h2 {
        font-size: 24px;
    }

    .pj-projects-grid {
        grid-template-columns: 1fr;
    }

    .pj-clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .pj-client-card {
        height: 90px;
        padding: 14px;
    }
}

.pj-hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    z-index: 0;
}
