/* =========================================================
   PCS — equal-height section cards + client logo grid
   Keeps theme hover effects; normalizes image framing.
   ========================================================= */

/* ---------- Specialization (image-effect-one) ---------- */
.our-speci_wrap .row > [class*="col-"] {
    display: flex;
}

.our-speci_wrap .image-effect-one {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 22rem;
    overflow: hidden;
}

.our-speci_wrap .image-effect-one > img {
    width: 100% !important;
    height: 22rem !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center;
    display: block;
    vertical-align: top;
}

@media (max-width: 991px) {
    .our-speci_wrap .image-effect-one {
        min-height: 18rem;
    }

    .our-speci_wrap .image-effect-one > img {
        height: 18rem !important;
    }
}

/* ---------- Projects (image-hover-block) ---------- */
.our-project-wrap .row > [class*="col-"] {
    display: flex;
}

.our-project-wrap .image-hover-block {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 18rem;
    overflow: hidden;
}

.our-project-wrap .image-hover-block .mt-thum-bx {
    width: 100%;
    height: 18rem;
    overflow: hidden;
}

.our-project-wrap .image-hover-block .mt-thum-bx img,
.our-project-wrap .image-hover-block > img {
    width: 100% !important;
    height: 18rem !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 767px) {
    .our-project-wrap .image-hover-block,
    .our-project-wrap .image-hover-block .mt-thum-bx {
        min-height: 15rem;
        height: 15rem;
    }

    .our-project-wrap .image-hover-block .mt-thum-bx img,
    .our-project-wrap .image-hover-block > img {
        height: 15rem !important;
    }
}

/* ---------- Team ---------- */
.pcs-team-section .row > [class*="col-"] {
    display: flex;
}

.pcs-team-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(18, 22, 28, 0.08);
    box-shadow: 0 8px 24px rgba(18, 22, 28, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
}

.pcs-team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(18, 22, 28, 0.1);
}

.pcs-team-card .mt-team-media {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #eef0f3;
}

.pcs-team-card .mt-team-media img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.45s ease;
}

.pcs-team-card:hover .mt-team-media img {
    transform: scale(1.04);
}

.pcs-team-card .mt-team-info {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1rem 1.35rem;
}

.pcs-team-card .mt-team-title {
    font-size: 1.05rem;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.pcs-team-card .pcs-team-role {
    min-height: 2.6em;
    margin-bottom: 0.35rem;
    color: #4b5563;
}

.pcs-team-card .pcs-team-dept {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    color: #9aa3af;
    margin-bottom: 0.75rem;
}

.pcs-team-card .pcs-team-contacts {
    margin-top: auto;
    padding-top: 0.75rem;
    display: flex;
    justify-content: center;
    gap: 0.65rem;
}

.pcs-team-card .pcs-team-contacts a {
    width: 2.15rem;
    height: 2.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(18, 22, 28, 0.12);
    color: #1f2937;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.pcs-team-card .pcs-team-contacts a:hover {
    background: var(--color-primary, #0d7377);
    border-color: var(--color-primary, #0d7377);
    color: #fff;
}

/* ---------- Clients ---------- */
.pcs-clients-section .section-head {
    margin-bottom: 2rem;
}

.pcs-client-card {
    height: 8.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.15rem 1.25rem;
    background: #fff;
    border: 1px solid rgba(18, 22, 28, 0.08);
    box-shadow: 0 6px 18px rgba(18, 22, 28, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pcs-client-card:hover {
    transform: translateY(-4px);
    border-color: rgba(13, 115, 119, 0.28);
    box-shadow: 0 14px 28px rgba(18, 22, 28, 0.08);
}

.pcs-client-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.pcs-client-card img {
    max-width: 100% !important;
    max-height: 4.75rem !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    filter: grayscale(100%);
    opacity: 0.78;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.pcs-client-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.03);
}

.pcs-clients-section .owl-carousel .owl-nav {
    margin-top: 1.25rem;
    text-align: left;
}

.pcs-clients-section .owl-carousel .owl-nav button.owl-prev,
.pcs-clients-section .owl-carousel .owl-nav button.owl-next {
    width: 2.35rem;
    height: 2.35rem;
    margin: 0 0.35rem 0 0;
    background: #12161c !important;
    color: #fff !important;
    border-radius: 0;
    font-size: 1rem;
    line-height: 2.35rem;
    transition: background 0.25s ease;
}

.pcs-clients-section .owl-carousel .owl-nav button:hover {
    background: var(--color-primary, #0d7377) !important;
}

@media (max-width: 575px) {
    .pcs-client-card {
        height: 7.25rem;
        padding: 0.9rem;
    }

    .pcs-client-card img {
        max-height: 3.75rem !important;
    }
}
