/* ================================================================
   ONESKY INNOVATIONS
   PROJECTS & CLIENTS PAGE
   Page-specific stylesheet
   ================================================================ */

.projects-page {
    --pj-blue: #0070E0;
    --pj-cyan: #00C2FF;
    --pj-dark: #081226;
    --pj-text: #0F172A;
    --pj-muted: #64748B;
    --pj-border: #E2E8F0;
    --pj-bg: #F8FAFC;
    --pj-shadow: 0 18px 45px rgba(15, 23, 42, .08);
    --pj-transition: all .35s cubic-bezier(.16, 1, .3, 1);
}

/* HERO */

.projects-hero {
    position: relative;
    overflow: hidden;
    padding: 105px 0 72px;
    background:
        radial-gradient(circle at 12% 20%, rgba(0, 112, 224, .08), transparent 30%),
        radial-gradient(circle at 90% 15%, rgba(0, 194, 255, .08), transparent 30%),
        linear-gradient(180deg, #fff, #f8fbff);
}

.projects-hero::after {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    right: -330px;
    top: -280px;
    border: 1px solid rgba(0, 112, 224, .08);
    border-radius: 50%;
    animation: projectOrb 10s ease-in-out infinite;
}

@keyframes projectOrb {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.projects-hero-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
}

.project-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 13px;
    border: 1px solid rgba(0, 112, 224, .18);
    border-radius: 30px;
    background: rgba(0, 112, 224, .05);
    color: var(--pj-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.project-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--pj-cyan);
    box-shadow: 0 0 13px rgba(0, 194, 255, .8);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .55;
        transform: scale(1.45);
    }
}

.projects-hero h1 {
    max-width: 900px;
    margin: 0 0 22px;
    color: var(--pj-dark);
    font-size: clamp(42px, 5.5vw, 72px);
    line-height: 1.03;
    letter-spacing: -.055em;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(120deg, #0066D6, #008FEA, #00C2FF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.projects-hero-content>p {
    max-width: 770px;
    color: var(--pj-muted);
    font-size: 17px;
    line-height: 1.75;
    margin: 0 0 30px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.portfolio-stats {
    display: flex;
    flex-wrap: wrap;
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid var(--pj-border);
}

.portfolio-stats>div {
    min-width: 160px;
    padding: 0 27px;
    border-right: 1px solid var(--pj-border);
}

.portfolio-stats>div:first-child {
    padding-left: 0;
}

.portfolio-stats>div:last-child {
    border-right: 0;
}

.portfolio-stats strong {
    display: block;
    color: var(--pj-dark);
    font-size: 15px;
    font-weight: 800;
}

.portfolio-stats span {
    display: block;
    margin-top: 3px;
    color: var(--pj-muted);
    font-size: 10px;
}

/* HEADINGS */

.projects-page .section-heading {
    max-width: 760px;
    margin-bottom: 38px;
}

.projects-page .center-heading {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-eyebrow {
    color: var(--pj-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.projects-page .section-heading h2 {
    color: var(--pj-dark);
    font-size: clamp(31px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -.04em;
    margin: 0 0 14px;
}

.projects-page .section-heading p {
    color: var(--pj-muted);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* FILTERS */

.portfolio-filters-wrap {
    margin-bottom: 28px;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.filter-btn {
    appearance: none;
    border: 1px solid var(--pj-border);
    background: #fff;
    color: #64748B;
    border-radius: 8px;
    padding: 9px 13px;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--pj-transition);
}

.filter-btn:hover {
    color: var(--pj-blue);
    border-color: rgba(0, 112, 224, .3);
    transform: translateY(-2px);
}

.filter-btn.active {
    color: #fff;
    border-color: var(--pj-blue);
    background: linear-gradient(120deg, #006DD8, #00A8EF);
    box-shadow: 0 7px 18px rgba(0, 112, 224, .16);
}

/* PROJECT GRID */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--pj-border);
    border-radius: 17px;
    background: #fff;
    transition: var(--pj-transition);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 112, 224, .27);
    box-shadow: var(--pj-shadow);
}

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

/* VISUAL */

.project-visual {
    position: relative;
    height: 205px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F6F9FC;
}

.project-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, .4));
    pointer-events: none;
}

.visual-software {
    background:
        radial-gradient(circle at 50% 50%, rgba(0, 194, 255, .13), transparent 62%),
        #F5FAFF;
}

.visual-grid {
    position: absolute;
    inset: 0;
    opacity: .45;
    background-image:
        linear-gradient(rgba(0, 112, 224, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 112, 224, .07) 1px, transparent 1px);
    background-size: 22px 22px;
}

.dashboard-mockup {
    width: 72%;
    max-width: 280px;
    border: 1px solid #D9E5EF;
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 32px rgba(15, 60, 100, .14);
    transform: perspective(800px) rotateX(3deg) rotateY(-5deg);
    transition: var(--pj-transition);
}

.project-card:hover .dashboard-mockup {
    transform: perspective(800px) rotateX(0) rotateY(0) translateY(-5px) scale(1.03);
}

.mock-top {
    height: 21px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 8px;
    background: #F1F5F9;
    border-bottom: 1px solid #E5EBF0;
}

.mock-top i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #CBD5E1;
}

.mock-body {
    display: flex;
    min-height: 118px;
}

.mock-sidebar {
    width: 35px;
    padding: 14px 8px;
    background: #0A162B;
}

.mock-sidebar span {
    display: block;
    height: 4px;
    margin-bottom: 10px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .3);
}

.mock-main {
    flex: 1;
    padding: 12px;
}

.mock-main b,
.mock-main em {
    display: block;
    height: 5px;
    border-radius: 4px;
    background: #E5EBF1;
    margin-bottom: 6px;
}

.mock-main b {
    width: 60%;
}

.mock-main em {
    width: 40%;
}

.mock-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin: 12px 0;
}

.mock-boxes span {
    height: 25px;
    border-radius: 4px;
    background: rgba(0, 112, 224, .09);
}

.mock-lines {
    display: grid;
    gap: 5px;
}

.mock-lines i {
    display: block;
    height: 4px;
    border-radius: 4px;
    background: #E5EBF1;
}

.visual-label {
    position: absolute;
    right: 12%;
    bottom: 16%;
    z-index: 2;
    padding: 6px 8px;
    border: 1px solid rgba(0, 112, 224, .18);
    border-radius: 5px;
    background: #fff;
    color: var(--pj-blue);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .08em;
    box-shadow: 0 7px 18px rgba(0, 60, 120, .08);
    animation: floatChip 3s ease-in-out infinite;
}

@keyframes floatChip {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* POUCH */

.visual-pouch {
    background: linear-gradient(145deg, #FFF8EC, #FFFDF9);
}

.pouch {
    position: relative;
    width: 105px;
    height: 145px;
    border-radius: 5px 5px 10px 10px;
    background: linear-gradient(135deg, #D69A22, #F1BF4B);
    color: #fff;
    padding: 17px 11px;
    text-align: center;
    box-shadow: 0 18px 30px rgba(130, 80, 10, .16);
    transform: rotate(-4deg);
    transition: var(--pj-transition);
}

.project-card:hover .pouch {
    transform: rotate(0) translateY(-6px) scale(1.03);
}

.pouch::before {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    top: 8px;
    height: 1px;
    background: rgba(255, 255, 255, .6);
}

.pouch-brand {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .1em;
}

.pouch-title {
    margin-top: 28px;
    font-size: 25px;
    font-weight: 800;
}

.pouch-sub {
    font-size: 7px;
    letter-spacing: .12em;
}

.pouch-line {
    width: 60%;
    height: 1px;
    margin: 13px auto 7px;
    background: rgba(255, 255, 255, .55);
}

.pouch small {
    font-size: 6px;
    letter-spacing: .08em;
}

/* SPICES */

.visual-spices {
    background: linear-gradient(145deg, #FFF8F5, #FFFDFB);
}

.spice-pack {
    position: absolute;
    width: 75px;
    height: 118px;
    border-radius: 5px 5px 8px 8px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 13px;
    box-shadow: 0 14px 25px rgba(90, 20, 10, .14);
    transition: var(--pj-transition);
}

.spice-pack strong {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.spice-pack span {
    margin-top: 9px;
    font-size: 6px;
    letter-spacing: .13em;
}

.pack-one {
    background: #A51D27;
    transform: translateX(-57px) rotate(-8deg);
}

.pack-two {
    background: #C64A21;
    transform: translateY(-2px);
    z-index: 2;
}

.pack-three {
    background: #7F2430;
    transform: translateX(57px) rotate(8deg);
}

.project-card:hover .pack-one {
    transform: translateX(-64px) rotate(-12deg) translateY(-5px);
}

.project-card:hover .pack-three {
    transform: translateX(64px) rotate(12deg) translateY(-5px);
}

/* BARCODE */

.visual-barcode {
    background:
        radial-gradient(circle at center, rgba(0, 112, 224, .08), transparent 65%),
        #F7FAFC;
}

.barcode-card {
    width: 155px;
    padding: 20px 15px 15px;
    border: 1px solid #DCE5EC;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 30px rgba(20, 50, 80, .1);
    transform: rotate(-3deg);
    transition: var(--pj-transition);
}

.project-card:hover .barcode-card {
    transform: rotate(0) translateY(-6px);
}

.barcode-bars {
    display: flex;
    align-items: stretch;
    justify-content: center;
    height: 60px;
    gap: 2px;
}

.barcode-bars i {
    width: 2px;
    background: #111827;
}

.barcode-bars i:nth-child(2n) {
    width: 4px;
}

.barcode-bars i:nth-child(4n) {
    width: 1px;
}

.barcode-card strong {
    display: block;
    margin-top: 8px;
    color: var(--pj-dark);
    font-size: 17px;
}

.barcode-card span {
    color: #64748B;
    font-size: 6px;
    letter-spacing: .13em;
}

.scan-line {
    position: absolute;
    width: 190px;
    height: 1px;
    background: rgba(0, 194, 255, .8);
    box-shadow: 0 0 12px rgba(0, 194, 255, .8);
    animation: scanBarcode 2.5s ease-in-out infinite;
}

@keyframes scanBarcode {

    0%,
    100% {
        transform: translateY(-55px);
        opacity: .3;
    }

    50% {
        transform: translateY(55px);
        opacity: 1;
    }
}

/* MOBILE */

.visual-mobile {
    background:
        radial-gradient(circle at 50% 50%, rgba(67, 100, 247, .11), transparent 62%),
        #F7F9FF;
}

.phone-frame {
    position: relative;
    width: 90px;
    height: 166px;
    padding: 5px;
    border: 3px solid #1B2940;
    border-radius: 16px;
    background: #1B2940;
    box-shadow: 0 20px 35px rgba(20, 35, 70, .2);
    transform: rotate(-4deg);
    transition: var(--pj-transition);
}

.project-card:hover .phone-frame {
    transform: rotate(0) translateY(-7px);
}

.phone-notch {
    position: absolute;
    z-index: 3;
    top: 5px;
    left: 50%;
    width: 34px;
    height: 7px;
    transform: translateX(-50%);
    border-radius: 0 0 7px 7px;
    background: #1B2940;
}

.phone-screen {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 11px;
    background: #fff;
    padding: 25px 10px 10px;
}

.app-header {
    height: 5px;
    width: 50%;
    margin-bottom: 13px;
    border-radius: 5px;
    background: #DDE5F2;
}

.profile-circle {
    width: 31px;
    height: 31px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4364F7, #6BCBFF);
}

.app-line {
    height: 4px;
    width: 65%;
    margin: 6px auto;
    border-radius: 4px;
    background: #E7ECF3;
}

.app-line.wide {
    width: 82%;
}

.app-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin-top: 12px;
}

.app-cards span {
    height: 37px;
    border-radius: 5px;
    background: #F0F4FA;
}

.app-bottom {
    position: absolute;
    bottom: 8px;
    left: 9px;
    right: 9px;
    display: flex;
    justify-content: space-between;
}

.app-bottom i {
    width: 9px;
    height: 9px;
    border-radius: 3px;
    background: #D9E3F0;
}

.phone-orb {
    position: absolute;
    width: 12px;
    height: 12px;
    right: 27%;
    top: 30%;
    border-radius: 50%;
    background: #00C2FF;
    box-shadow: 0 0 20px rgba(0, 194, 255, .8);
    animation: orbFloat 3s ease-in-out infinite;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* WEB */

.visual-web {
    background:
        radial-gradient(circle at center, rgba(0, 112, 224, .09), transparent 65%),
        #F7FAFD;
}

.browser-window {
    width: 78%;
    max-width: 285px;
    overflow: hidden;
    border: 1px solid #DCE5ED;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 17px 30px rgba(15, 50, 80, .12);
    transition: var(--pj-transition);
}

.project-card:hover .browser-window {
    transform: translateY(-6px) scale(1.025);
}

.browser-top {
    height: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding-left: 8px;
    background: #F2F5F8;
    border-bottom: 1px solid #E3E9EF;
}

.browser-top i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #CBD5E1;
}

.browser-hero {
    height: 75px;
    padding: 15px;
    background: linear-gradient(135deg, #0A1A33, #1D4368);
}

.browser-hero span,
.browser-hero b,
.browser-hero em {
    display: block;
    height: 5px;
    margin-bottom: 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .55);
}

.browser-hero span {
    width: 30%;
}

.browser-hero b {
    width: 63%;
}

.browser-hero em {
    width: 45%;
}

.browser-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    padding: 12px;
}

.browser-cards i {
    height: 42px;
    border-radius: 5px;
    background: #EEF3F7;
}

.speed-chip {
    position: absolute;
    right: 13%;
    bottom: 17%;
    padding: 6px 8px;
    border-radius: 5px;
    background: #fff;
    color: var(--pj-blue);
    font-size: 9px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(0, 50, 100, .09);
}

/* CATALOGUE */

.visual-catalogue {
    background: linear-gradient(145deg, #F5FAF8, #FBFDFC);
}

.catalogue-card {
    width: 145px;
    height: 150px;
    padding: 17px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(145deg, #155E4A, #278B6D);
    box-shadow: 0 18px 32px rgba(20, 90, 70, .17);
    transform: rotate(-3deg);
    transition: var(--pj-transition);
}

.project-card:hover .catalogue-card {
    transform: rotate(0) translateY(-7px);
}

.catalogue-card span {
    display: block;
    font-size: 7px;
    letter-spacing: .15em;
}

.catalogue-card strong {
    display: block;
    font-size: 18px;
    letter-spacing: .04em;
}

.catalogue-card small {
    font-size: 6px;
    letter-spacing: .15em;
}

.catalogue-product {
    width: 45px;
    height: 55px;
    margin: 18px auto 0;
    border-radius: 4px;
    background: linear-gradient(135deg, #D3A04A, #F1D181);
}

/* BRANDING */

.visual-branding {
    display: flex;
    gap: 18px;
    background: linear-gradient(145deg, #F6F7FA, #FCFCFD);
}

.brand-symbol {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #CCD7E3;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 25px rgba(20, 35, 60, .08);
    transition: var(--pj-transition);
}

.project-card:hover .brand-symbol {
    transform: rotate(-5deg) translateY(-5px);
}

.brand-symbol span {
    color: #18283F;
    font-size: 33px;
    font-weight: 850;
}

.brand-lines strong,
.brand-lines b,
.brand-lines small {
    display: block;
}

.brand-lines strong {
    color: #18283F;
    font-size: 14px;
    letter-spacing: .12em;
}

.brand-lines b {
    color: #62748C;
    font-size: 11px;
    letter-spacing: .2em;
}

.brand-lines small {
    margin-top: 9px;
    color: #94A3B8;
    font-size: 6px;
    letter-spacing: .13em;
}

/* GOOGLE */

.visual-google {
    background:
        radial-gradient(circle at center, rgba(66, 133, 244, .08), transparent 65%),
        #F8FAFD;
}

.map-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    opacity: .28;
}

.map-grid span {
    border: 1px solid #D6E1EC;
}

.google-pin {
    position: relative;
    z-index: 2;
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% 50% 50% 5px;
    transform: rotate(-45deg);
    background: #fff;
    color: #4285F4;
    font-size: 25px;
    font-weight: 800;
    box-shadow: 0 15px 30px rgba(40, 90, 150, .15);
}

.google-pin::first-letter {
    transform: rotate(45deg);
}

.review-card {
    position: absolute;
    right: 12%;
    bottom: 17%;
    z-index: 3;
    padding: 8px 10px;
    border: 1px solid #E0E7EE;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(20, 50, 80, .08);
}

.review-card strong {
    display: block;
    color: #F5B942;
    font-size: 9px;
}

.review-card span {
    display: block;
    margin-top: 2px;
    color: #64748B;
    font-size: 7px;
}

/* CONTENT */

.project-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 21px 19px;
}

.project-meta-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 9px;
}

.project-tag,
.project-status {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
}

.project-tag {
    color: var(--pj-blue);
}

.project-tag.packaging,
.packaging {
    color: #A15D12;
}

.barcode-tag {
    color: #2D6B5A;
}

.mobile-tag {
    color: #4364F7;
}

.web-tag {
    color: #2777A8;
}

.branding-tag {
    color: #6C5AA8;
}

.project-status {
    color: #94A3B8;
}

.project-status.live {
    color: #16855B;
}

.project-content h3 {
    margin: 0 0 8px;
    color: var(--pj-dark);
    font-size: 17px;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.project-content>p {
    margin: 0 0 15px;
    color: var(--pj-muted);
    font-size: 11.5px;
    line-height: 1.65;
}

.project-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 17px;
}

.project-specs span {
    padding: 5px 7px;
    border: 1px solid #E4EAF0;
    border-radius: 5px;
    background: #FAFCFD;
    color: #64748B;
    font-size: 8px;
    font-weight: 700;
}

.project-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid #EDF1F4;
}

.project-footer>span:first-child {
    color: #7B8A9D;
    font-size: 9px;
}

.project-footer a,
.project-footer>span:last-child {
    color: var(--pj-blue);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .25s ease;
}

.project-card:hover .project-footer a,
.project-card:hover .project-footer>span:last-child {
    transform: translateX(4px);
}

/* CLIENT DIRECTORY */

.clients-section {
    background: #F8FAFC;
    border-top: 1px solid var(--pj-border);
}

.uniform-client-grid {
    position: relative;
    z-index: 1;
}

.directory-cta {
    margin-top: 25px;
    padding: 25px 27px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border: 1px solid var(--pj-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
}

.directory-cta h3 {
    margin: 0 0 5px;
    color: var(--pj-dark);
    font-size: 19px;
}

.directory-cta p {
    margin: 0;
    color: var(--pj-muted);
    font-size: 12px;
    line-height: 1.6;
}

/* TESTIMONIALS */

.testimonials-section {
    background: #fff;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 17px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    position: relative;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--pj-border);
    border-radius: 15px;
    background: #fff;
    transition: var(--pj-transition);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--pj-shadow);
}

.quote-mark {
    position: absolute;
    right: 25px;
    top: 10px;
    color: rgba(0, 112, 224, .08);
    font-size: 75px;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-card>p {
    position: relative;
    z-index: 1;
    margin: 0 0 25px;
    color: #526276;
    font-size: 13px;
    line-height: 1.75;
    font-style: italic;
}

.testimonial-person {
    display: flex;
    align-items: center;
    gap: 11px;
}

.person-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--pj-blue);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.person-avatar.alt {
    background: #4364F7;
}

.testimonial-person strong {
    display: block;
    color: var(--pj-dark);
    font-size: 12px;
}

.testimonial-person span {
    display: block;
    margin-top: 3px;
    color: #8491A1;
    font-size: 10px;
}

/* RESPONSIVE */

@media (max-width: 1050px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-stats>div {
        min-width: 145px;
    }
}

@media (max-width: 760px) {
    .projects-hero {
        padding: 75px 0 55px;
    }

    .projects-hero h1 {
        font-size: clamp(38px, 8vw, 58px);
    }

    .portfolio-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .portfolio-stats>div,
    .portfolio-stats>div:first-child {
        min-width: 0;
        padding: 0;
        border-right: 0;
    }

    .directory-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {

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

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .portfolio-filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 5px;
        scrollbar-width: thin;
    }

    .filter-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .project-visual {
        height: 220px;
    }

    .directory-cta .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .projects-hero {
        padding: 60px 0 45px;
    }

    .projects-hero h1 {
        font-size: 36px;
    }

    .projects-hero-content>p {
        font-size: 14px;
    }

    .project-content {
        padding: 19px 18px 18px;
    }

    .project-visual {
        height: 205px;
    }
}

/* ================================================================
   CLIENT DIRECTORY
   ================================================================ */

.client-directory-section {
    position: relative;
    padding: 90px 0;
    background:
        radial-gradient(circle at 10% 20%,
            rgba(0, 112, 224, 0.045),
            transparent 30%),
        linear-gradient(180deg,
            #F8FAFC 0%,
            #FFFFFF 100%);
    border-top: 1px solid var(--pj-border);
    overflow: hidden;
}

.client-directory-section::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    left: -250px;
    top: 100px;
    border: 1px solid rgba(0, 112, 224, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.client-directory-heading {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 50px;
    align-items: end;
    max-width: 1000px !important;
    margin: 0 auto 38px !important;
}

.client-directory-heading>div {
    min-width: 0;
}

.client-directory-heading .section-kicker {
    display: block;
    margin-bottom: 12px;
    color: var(--pj-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.client-directory-heading h2 {
    margin: 0;
    color: var(--pj-dark);
    font-size: clamp(31px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -.04em;
    font-weight: 800;
}

.client-directory-heading p {
    margin: 0;
    color: var(--pj-muted);
    font-size: 15px;
    line-height: 1.7;
}


/* CLIENT LOGO GRID */

.client-directory-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;

    margin-top: 10px;
}


/* 
   These rules also support the client cards
   generated dynamically by script.js.
*/

.client-directory-grid>* {
    min-width: 0;
}


/* Common dynamically generated client card styles */

.client-directory-grid .client-card,
.client-directory-grid .client-logo-card,
.client-directory-grid .client-item {
    position: relative;

    min-height: 105px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 18px;

    border: 1px solid var(--pj-border);
    border-radius: 12px;

    background: rgba(255, 255, 255, .88);

    transition:
        transform .3s cubic-bezier(.16, 1, .3, 1),
        border-color .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}

.client-directory-grid .client-card:hover,
.client-directory-grid .client-logo-card:hover,
.client-directory-grid .client-item:hover {
    transform: translateY(-4px);

    border-color: rgba(0, 112, 224, .25);

    background: #fff;

    box-shadow:
        0 12px 30px rgba(15, 23, 42, .07);
}


/* Images inside generated client cards */

.client-directory-grid img {
    display: block;

    max-width: 100%;
    max-height: 58px;

    width: auto;
    height: auto;

    object-fit: contain;

    transition:
        transform .3s ease,
        opacity .3s ease;
}

.client-directory-grid>*:hover img {
    transform: scale(1.04);
}


/* Directory note */

.directory-note {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 13px;

    max-width: 700px;

    margin: 25px auto 0;

    padding: 14px 18px;

    border: 1px solid rgba(0, 112, 224, .10);
    border-radius: 10px;

    background: rgba(255, 255, 255, .7);
}

.directory-note>span {
    flex: 0 0 auto;

    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(0, 112, 224, .08);

    color: var(--pj-blue);

    font-size: 18px;
    font-weight: 500;
}

.directory-note p {
    margin: 0;

    color: var(--pj-muted);

    font-size: 12px;
    line-height: 1.6;
}


/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 1000px) {

    .client-directory-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .client-directory-heading {
        grid-template-columns: 1fr;
        gap: 15px;
    }

}


@media (max-width: 760px) {

    .client-directory-section {
        padding: 70px 0;
    }

    .client-directory-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .client-directory-grid .client-card,
    .client-directory-grid .client-logo-card,
    .client-directory-grid .client-item {
        min-height: 90px;
        padding: 13px;
    }

}


@media (max-width: 520px) {

    .client-directory-section {
        padding: 60px 0;
    }

    .client-directory-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 9px;
    }

    .client-directory-grid .client-card,
    .client-directory-grid .client-logo-card,
    .client-directory-grid .client-item {
        min-height: 82px;
        padding: 12px;
    }

    .client-directory-grid img {
        max-height: 45px;
    }

    .directory-note {
        align-items: flex-start;
        padding: 13px;
    }
}

/* ================================================================
   CLIENT DIRECTORY — FIX
   ================================================================ */

.client-directory-section {
    position: relative;
    padding: 90px 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 112, 224, 0.045), transparent 30%),
        linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    border-top: 1px solid var(--pj-border);
    overflow: hidden;
}

.client-directory-section::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    left: -250px;
    top: 100px;
    border: 1px solid rgba(0, 112, 224, 0.06);
    border-radius: 50%;
    pointer-events: none;
}


/* ---------------- CLIENT DIRECTORY HEADING ---------------- */

.client-directory-heading {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 50px;
    align-items: end;

    max-width: 1000px !important;
    margin: 0 auto 38px !important;
}

.client-directory-heading>div {
    min-width: 0;
}

.client-directory-heading .section-kicker {
    display: block;
    margin-bottom: 12px;

    color: var(--pj-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.client-directory-heading h2 {
    margin: 0;

    color: var(--pj-dark);
    font-size: clamp(31px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -.04em;
    font-weight: 800;
}

.client-directory-heading p {
    margin: 0;

    color: var(--pj-muted);
    font-size: 15px;
    line-height: 1.7;
}


/* ---------------- CLIENT GRID ---------------- */

.client-directory-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;

    width: 100%;
}


/* ---------------- CLIENT CARDS ---------------- */

.client-directory-grid .client-card,
.client-directory-grid .client-logo-card,
.client-directory-grid .client-item {
    position: relative;

    min-height: 105px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 18px;

    border: 1px solid #E4EAF0;
    border-radius: 12px;

    background: #FFFFFF;

    box-shadow: 0 5px 18px rgba(15, 23, 42, .035);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.client-directory-grid .client-card:hover,
.client-directory-grid .client-logo-card:hover,
.client-directory-grid .client-item:hover {
    transform: translateY(-4px);

    border-color: rgba(0, 112, 224, .22);

    box-shadow:
        0 12px 30px rgba(15, 23, 42, .08);
}


/* ---------------- CLIENT LOGOS ---------------- */

.client-directory-grid img {
    display: block;

    max-width: 100%;
    width: auto;
    height: 58px;

    object-fit: contain;

    transition: transform .25s ease;
}

.client-directory-grid .client-card:hover img,
.client-directory-grid .client-logo-card:hover img,
.client-directory-grid .client-item:hover img {
    transform: scale(1.04);
}


/* ---------------- DIRECTORY NOTE ---------------- */

.directory-note {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 12px;

    max-width: 850px;

    margin: 30px auto 0;
    padding: 16px 20px;

    border: 1px solid #E8EDF2;
    border-radius: 10px;

    background: rgba(255, 255, 255, .8);
}

.directory-note>span {
    flex: 0 0 auto;

    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(0, 112, 224, .08);
    color: var(--pj-blue);

    font-size: 18px;
    font-weight: 700;
}

.directory-note p {
    margin: 0;

    color: var(--pj-muted);

    font-size: 12px;
    line-height: 1.6;
}


/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 900px) {

    .client-directory-heading {
        grid-template-columns: 1fr;
        gap: 15px;
        align-items: start;
    }

    .client-directory-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 650px) {

    .client-directory-section {
        padding: 65px 0;
    }

    .client-directory-heading {
        margin-bottom: 28px !important;
    }

    .client-directory-heading h2 {
        font-size: 32px;
    }

    .client-directory-heading p {
        font-size: 14px;
    }

    .client-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .client-directory-grid .client-card,
    .client-directory-grid .client-logo-card,
    .client-directory-grid .client-item {
        min-height: 90px;
        padding: 14px;
    }

    .client-directory-grid img {
        height: 48px;
    }

    .directory-note {
        align-items: flex-start;
    }

}


@media (max-width: 400px) {

    .client-directory-grid {
        grid-template-columns: 1fr 1fr;
    }

    .client-directory-grid .client-card,
    .client-directory-grid .client-logo-card,
    .client-directory-grid .client-item {
        min-height: 82px;
    }

    .client-directory-grid img {
        height: 42px;
    }

}

/* ============================================================
   CLIENT DIRECTORY — FINAL MATCH FOR CURRENT HTML
   ============================================================ */

.projects-page .client-directory-section {
    position: relative;
    display: block;
    width: 100%;
    padding: 90px 0;
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    overflow: hidden;
}

.projects-page .client-directory-section .container {
    position: relative;
    z-index: 2;
}


/* HEADING */

.projects-page .client-directory-heading {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 50px;
    align-items: end;

    width: 100%;
    max-width: 1000px;

    margin: 0 auto 40px;
}

.projects-page .client-directory-heading>div {
    min-width: 0;
}

.projects-page .client-directory-heading .section-kicker {
    display: block;
    margin: 0 0 12px;

    color: #0070E0;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.projects-page .client-directory-heading h2 {
    margin: 0;

    color: #081226;

    font-size: clamp(31px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -.04em;
    font-weight: 800;
}

.projects-page .client-directory-heading p {
    margin: 0;

    color: #64748B;

    font-size: 15px;
    line-height: 1.7;
}


/* CLIENT LOGO GRID */

.projects-page .client-directory-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 14px;

    width: 100%;
    margin: 0 auto;
}


/* GENERATED CLIENT CARDS
   These selectors cover the cards created by script.js */

.projects-page .client-directory-grid>* {
    position: relative;

    min-width: 0;
    min-height: 105px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 18px;

    border: 1px solid #E2E8F0;
    border-radius: 13px;

    background: #FFFFFF;

    box-shadow: 0 5px 20px rgba(15, 23, 42, .04);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.projects-page .client-directory-grid>*:hover {
    transform: translateY(-5px);

    border-color: rgba(0, 112, 224, .28);

    box-shadow:
        0 15px 35px rgba(15, 23, 42, .08);
}


/* LOGOS */

.projects-page .client-directory-grid img {
    display: block;

    width: auto;
    max-width: 100%;
    height: 58px;

    object-fit: contain;

    transition: transform .25s ease;
}

.projects-page .client-directory-grid>*:hover img {
    transform: scale(1.04);
}


/* TEXT INSIDE GENERATED CARDS */

.projects-page .client-directory-grid strong,
.projects-page .client-directory-grid span {
    max-width: 100%;
}

.projects-page .client-directory-grid a {
    text-decoration: none;
}


/* DIRECTORY NOTE */

.projects-page .directory-note {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    gap: 12px;

    max-width: 850px;

    margin: 32px auto 0;
    padding: 16px 20px;

    border: 1px solid #E2E8F0;
    border-radius: 10px;

    background: #FFFFFF;
}

.projects-page .directory-note>span {
    flex: 0 0 auto;

    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(0, 112, 224, .08);

    color: #0070E0;

    font-size: 18px;
    font-weight: 700;
}

.projects-page .directory-note p {
    margin: 0;

    color: #64748B;

    font-size: 12px;
    line-height: 1.6;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1000px) {

    .projects-page .client-directory-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 800px) {

    .projects-page .client-directory-heading {
        grid-template-columns: 1fr;
        gap: 16px;
        align-items: start;
    }

    .projects-page .client-directory-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 600px) {

    .projects-page .client-directory-section {
        padding: 65px 0;
    }

    .projects-page .client-directory-heading {
        margin-bottom: 28px;
    }

    .projects-page .client-directory-heading h2 {
        font-size: 32px;
    }

    .projects-page .client-directory-heading p {
        font-size: 14px;
    }

    .projects-page .client-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .projects-page .client-directory-grid>* {
        min-height: 90px;
        padding: 14px;
    }

    .projects-page .client-directory-grid img {
        height: 48px;
    }

    .projects-page .directory-note {
        align-items: flex-start;
    }

}


@media (max-width: 400px) {

    .projects-page .client-directory-grid>* {
        min-height: 82px;
    }

    .projects-page .client-directory-grid img {
        height: 42px;
    }

}