/* PSGL — prevent text clipping on smaller viewports */

/* Stat block: "years of experience" (What we have) */
.pbminfotech-ele-fid-style-4,
.pbminfotech-ele-fid-style-4 .pbmit-fld-contents,
.pbminfotech-ele-fid-style-4 .pbmit-fld-wrap {
    overflow: visible;
    min-width: 0;
}

.pbminfotech-ele-fid-style-4 .pbmit-fid-title {
    font-size: clamp(1.1rem, 3.2vw, 2.75rem);
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    padding: 0 0.35rem 0.25rem 0;
    -webkit-text-stroke: 0.75px #fff;
    paint-order: stroke fill;
}

.pbminfotech-ele-fid-style-4 .pbmit-fid-title span {
    display: inline-block;
    max-width: 100%;
}

.pbminfotech-ele-fid-style-4 .pbmit-fid-inner {
    font-size: clamp(2.75rem, 12vw, 7.5rem);
    line-height: 1.05;
}

.about-us-one_bg-section .col-md-6.pbmit-bg-color-blackish {
    overflow: visible;
    display: flex;
    flex-direction: column;
}

/* ── What we have — full-bleed edge-to-edge layout ── */
.psgl-what-we-have-section {
    overflow: hidden;
    width: 100%;
}

.psgl-what-we-have-section > .container-fluid {
    max-width: 100%;
    padding: 0;
}

.psgl-what-we-have-section > .container-fluid > .row.g-0 {
    align-items: stretch;
    margin: 0;
    width: 100%;
}

.psgl-what-we-have-section > .container-fluid > .row.g-0 > [class*='col-'] {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.psgl-what-we-have-section .about-us-one_left_sigle {
    position: relative;
    z-index: 1;
    height: 100%;
    margin: 0;
    padding: 0;
}

.psgl-what-we-have-section .about-us-one_left_sigle::before {
    width: 100%;
    right: 0;
    left: 0;
}

.psgl-what-we-have-section .psgl-what-we-have-content {
    position: relative;
    z-index: 1;
    padding: clamp(2.5rem, 5vw, 5.625rem) clamp(1.25rem, 4vw, 5rem) clamp(1.5rem, 3vw, 2.625rem)
        clamp(1.25rem, calc((100vw - 1140px) / 2 + 1rem), 7.5rem);
}

.psgl-what-we-have-section .about-us-one_left_sigle > p,
.psgl-what-we-have-section .psgl-what-we-have-content > p {
    margin-bottom: 1.25rem;
}

.psgl-what-we-have-section .about-us-one_left_sigle .accordion,
.psgl-what-we-have-section .psgl-what-we-have-content .accordion {
    margin-bottom: 0;
}

.psgl-what-we-have-section .psgl-what-we-have-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    flex: 1;
    width: 100%;
    min-height: 0;
    margin: 0;
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

.psgl-what-we-have-section .psgl-what-we-have-grid > [class*='col-'] {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    padding: 0;
    margin: 0;
}

.psgl-what-we-have-section .about-us-one_bg,
.psgl-what-we-have-section .about-us-one_bgone {
    flex: 1;
    width: 100%;
    min-height: 100%;
    height: auto;
    padding: 0 !important;
    background-size: cover;
    background-position: center;
}

.psgl-what-we-have-section .pbminfotech-ele-fid-style-4 {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 100%;
    padding: clamp(1.25rem, 4vw, 3.75rem);
}

.psgl-what-we-have-section .pbminfotech-ele-fid-style-4 .pbmit-fld-contents {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.psgl-what-we-have-section .about-us-bg_color.swiper-slider {
    flex: 1;
    width: 100%;
    min-height: 100%;
    height: 100% !important;
}

.psgl-what-we-have-section .about-us-bg_color.swiper-slider[data-dots='true'] {
    padding-bottom: 0 !important;
}

.psgl-what-we-have-section .about-us-bg_color .pbmit-miconheading-style-10 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: clamp(1.5rem, 4vw, 4.375rem);
}

.psgl-what-we-have-section .about-us-bg_color .swiper-pagination-bullets {
    bottom: clamp(0.75rem, 2vw, 1.5rem);
    right: clamp(0.75rem, 2vw, 1.5rem);
    width: auto;
}

/* Desktop — side-by-side, grid fills column height */
@media (min-width: 1200px) {
    .psgl-what-we-have-section .psgl-what-we-have-grid {
        height: 100%;
    }

    .psgl-what-we-have-section .psgl-what-we-have-grid > [class*='col-'] {
        min-height: 240px;
    }
}

/* Tablet & below — stack text above media */
@media (max-width: 1199px) {
    .psgl-what-we-have-section .psgl-what-we-have-content {
        padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2rem) 1.5rem;
    }

    .psgl-what-we-have-section .psgl-what-we-have-grid {
        grid-template-rows: repeat(2, minmax(0, 1fr));
        height: auto;
    }

    .psgl-what-we-have-section .psgl-what-we-have-grid > [class*='col-'] {
        min-height: 200px;
    }

    .psgl-what-we-have-section .about-us-one_bg,
    .psgl-what-we-have-section .about-us-one_bgone {
        min-height: 200px;
    }
}

/* Mobile — single-column media stack */
@media (max-width: 575px) {
    .psgl-what-we-have-section .psgl-what-we-have-content {
        padding: 2rem 1rem 1.25rem;
    }

    .psgl-what-we-have-section .about-us-one_left_sigle::before {
        width: 100%;
    }

    .psgl-what-we-have-section .psgl-what-we-have-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .psgl-what-we-have-section .psgl-what-we-have-grid > [class*='col-'] {
        min-height: 0;
        aspect-ratio: auto;
    }

    .psgl-what-we-have-section .about-us-one_bg,
    .psgl-what-we-have-section .about-us-one_bgone {
        aspect-ratio: 16 / 9;
        min-height: 180px;
    }

    .psgl-what-we-have-section .col-md-6.pbmit-bg-color-blackish {
        min-height: auto;
    }

    .psgl-what-we-have-section .pbminfotech-ele-fid-style-4 {
        padding: 1.5rem 1.25rem;
    }

    .psgl-what-we-have-section .about-us-bg_color .pbmit-miconheading-style-10 {
        padding: 1.5rem 1.25rem 2.5rem;
    }

    .psgl-what-we-have-section .about-us-bg_color .pbmit-element-title {
        font-size: 1.125rem;
        line-height: 1.45;
    }
}

/* Other counter / stat labels */
.pbminfotech-ele-fid-style-1 .pbmit-fid-title,
.pbminfotech-ele-fid-style-5 .pbmit-fid-title,
.pbminfotech-ele-fid-style-8 .pbmit-fid-title {
    white-space: normal;
    overflow-wrap: break-word;
    overflow: visible;
}

/* Testimonial stat — keep "350+" above overlapping white panel */
.psgl-testimonial-stat-col {
    position: relative;
    z-index: 3;
}

.testimonial-bg-one .pbminfotech-ele-fid-style-5 {
    z-index: 4;
}

.testimonial-bg-one .pbmit-fid-inner,
.testimonial-bg-one .pbmit-number-rotate {
    color: var(--pbmit-white-color);
    visibility: visible;
    opacity: 1;
}

/* Section headings & body copy */
.page-content,
.pbmit-heading-subheading,
.pbmit-heading-subheading .pbmit-title,
.pbmit-heading-subheading .pbmit-subtitle,
.pbmit-heading-subheading p {
    overflow: visible;
    overflow-wrap: break-word;
}

/* Accordion questions — wrap instead of clip */
.accordion-button {
    white-space: normal;
    text-align: left;
    line-height: 1.4;
}

/* Icon boxes & feature titles */
.pbmit-ihbox-contents .pbmit-element-title,
.pbmit-ihbox-style-10 .pbmit-element-title {
    white-space: normal;
    overflow-wrap: break-word;
}

/* Hero — allow wrapped headlines on narrow screens */
@media (max-width: 991px) {
    .psgl-hero .pbmit-slider-content,
    .pbmit-slider-one .pbmit-slider-content {
        overflow: visible;
    }

    .psgl-hero .pbmit-title,
    .pbmit-slider-one .pbmit-title {
        overflow-wrap: break-word;
    }
}

/* Header info & pre-header */
.pre-header .pbmit-pre-header-left {
    white-space: normal;
    overflow: visible;
    line-height: 1.5;
}

.pbmit-header-box-title,
.pbmit-header-box-content {
    white-space: normal;
    overflow: visible;
}

/* Sticky nav — prevent label clipping */
.header-style-1 .site-header-menu.sticky-header .pbmit-header-button a {
    max-width: 100%;
}

/* Cards */
.psgl-procurement-section .pbmit-post-title,
.psgl-procurement-section .pbmit-post-title a,
.psgl-team-section .pbmit-team-title,
.psgl-team-section .pbmit-team-title a {
    overflow-wrap: break-word;
    white-space: normal;
}

/* Tender page */
.tender-card__title {
    overflow-wrap: break-word;
}

/* Footer */
.footer .widget-title,
.footer .text {
    overflow-wrap: break-word;
}

/* === Equal-height card grids (site-wide) === */
.psgl-card-row {
    align-items: stretch;
}

.psgl-card-row + .psgl-card-row {
    margin-top: 30px;
}

.psgl-card-row > [class*='col-'],
.psgl-card-row > article[class*='col-'] {
    display: flex;
}

.psgl-card-row > [class*='col-'] > article,
.psgl-card-row > [class*='col-'] > .pbmit-service-style-1,
.psgl-card-row > [class*='col-'] > .pbmit-portfolio-style-2 {
    flex: 1;
    width: 100%;
}

/* Service cards — What we Provide, Services page */
.psgl-card-row .pbmit-service-style-1 {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 0;
}

.psgl-card-row .pbmit-service-style-1 .pbminfotech-post-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
}

.psgl-card-row .pbmit-service-style-1 .pbmit-service-img-wrapper {
    flex-shrink: 0;
}

.psgl-card-row .pbmit-service-style-1 .pbmit-featured-wrapper {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    line-height: 0;
}

.psgl-card-row .pbmit-service-style-1 .pbmit-featured-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.psgl-card-row .pbmit-service-style-1 .pbminfotech-box-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.psgl-card-row .pbmit-service-style-1 .pbminfotech-box-content-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.psgl-card-row .pbmit-service-style-1 .pbmit-service-content {
    flex: 1;
}

.psgl-card-row .pbmit-service-style-1 .pbmit-service-btn {
    margin-top: auto;
}

.psgl-card-row .pbmit-service-style-1 .pbmit-service-title {
    min-height: 3.25rem;
    line-height: 1.35;
}

.psgl-card-row .pbmit-service-style-1 .pbmit-service-content p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

/* Project / portfolio cards */
.psgl-card-row .pbmit-portfolio-style-2 {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.psgl-card-row .pbmit-portfolio-style-2 .pbminfotech-post-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
}

.psgl-card-row .pbmit-portfolio-style-2 .pbmit-image-wrapper {
    flex-shrink: 0;
}

.psgl-card-row .pbmit-portfolio-style-2 .pbmit-featured-wrapper {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    line-height: 0;
}

.psgl-card-row .pbmit-portfolio-style-2 .pbmit-featured-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.psgl-card-row .pbmit-portfolio-style-2 .pbminfotech-overlay {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.psgl-card-row .pbmit-portfolio-style-2 .pbminfotech-box-content-wrapper {
    width: 100%;
}

.psgl-card-row .pbmit-portfolio-style-2 .pbmit-portfolio-title {
    line-height: 1.3;
}

/* Feature icon boxes — Why Choose Us */
.psgl-card-row > article.pbmit-miconheading-style-11 {
    margin-bottom: 0;
}

.psgl-card-row .pbmit-miconheading-style-11 .pbmit-ihbox,
.psgl-card-row .pbmit-miconheading-style-11 .pbmit-ihbox-box {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
}

.psgl-card-row .pbmit-miconheading-style-11 .pbmit-ihbox-contents {
    flex: 1;
}

.psgl-card-row .pbmit-miconheading-style-11 .pbmit-ihbox-btn {
    margin-top: auto;
}

/* Process / How it works cards */
.psgl-card-row > article.pbmit-miconheading-style-5 {
    margin-bottom: 0;
}

.psgl-card-row .pbmit-miconheading-style-5 .pbmit-ihbox,
.psgl-card-row .pbmit-miconheading-style-5 .pbmit-ihbox-box {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    height: 100%;
}

.psgl-card-row .pbmit-miconheading-style-5 .pbmit-ihbox-contents {
    flex: 1;
}

/* Expertise stat boxes */
.psgl-card-row .pbminfotech-ele-fid-style-1 {
    height: 100%;
}

.psgl-card-row .pbminfotech-ele-fid-style-1 .pbmit-fld-contents {
    height: 100%;
}

/* Our Work carousel — uniform slide image height */
.portfolio-bg-one .pbmit-portfolio-style-1 .pbmit-featured-wrapper {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    line-height: 0;
}

.portfolio-bg-one .pbmit-portfolio-style-1 .pbmit-featured-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Procurement & team — extend shared card row behaviour */
.psgl-procurement-section .row,
.psgl-team-section .row {
    align-items: stretch;
}

@media (max-width: 767px) {
    .psgl-card-row > [class*='col-'],
    .psgl-card-row > article[class*='col-'] {
        margin-bottom: 1.5rem;
    }
}
