:root {
    --ps-blue: #2f63a7;
    --ps-red: #ef4444;
    --ps-navy: #101b2d;
    --ps-soft: #f5f8fc;
    --ps-line: #dfe6ef;
    --ps-muted: #667085
}

body {
    background: #fff
}

.site-header.navbar {
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 4px 24px rgba(16, 27, 45, .08);
    padding: 11px 0
}

.site-header .navbar-brand {
    background: transparent !important;
    padding: 0 !important
}

.site-header .nav-link {
    color: var(--ps-navy) !important;
    font-weight: 600;
    font-size: .88rem
}

.site-header .nav-link:hover,
.site-header .nav-link:focus,
.site-header .nav-link.active,
.site-header .nav-link.show {
    color: var(--ps-red) !important
}

.site-header .nav-link.active:after {
    content: "";
    position: absolute;
    left: .8rem;
    right: .8rem;
    bottom: 2px;
    height: 2px;
    background: var(--ps-red);
    border-radius: 2px
}

.site-header .nav-link {
    position: relative
}

.site-header .navbar-toggler {
    color: var(--ps-navy)
}

.page-hero {
    position: relative;
    overflow: hidden;
    background: var(--ps-navy);
    color: #fff;
    padding: 185px 0 100px
}

.page-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
    background-size: 68px 68px
}

.page-hero:after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    right: -180px;
    top: -280px;
    background: radial-gradient(circle, rgba(47, 99, 167, .48), transparent 68%)
}

.page-hero .container {
    position: relative;
    z-index: 1
}

.page-hero h1 {
    font-size: clamp(3rem, 6vw, 5.9rem);
    font-weight: 750;
    line-height: .98;
    letter-spacing: -4px;
    max-width: 950px
}

.page-hero h1 em {
    color: #f05b60;
    font-family: "DM Sans", sans-serif;
    font-weight: 400
}

.page-hero p {
    max-width: 760px;
    margin: 27px 0 0;
    color: rgba(255, 255, 255, .67);
    font-size: 1.15rem;
    line-height: 1.75
}

.page-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #8bb5ec;
    font-size: .73rem;
    text-transform: uppercase;
    letter-spacing: 2.4px;
    font-weight: 700;
    margin-bottom: 20px
}

.page-kicker:before {
    content: "";
    width: 28px;
    height: 1px;
    background: #8bb5ec
}

.content-section {
    padding: 78px 0
}

.content-section.soft {
    background: var(--ps-soft)
}

.content-title {
    font-size: clamp(2.3rem, 4vw, 4rem);
    line-height: 1.08;
    letter-spacing: -2.5px;
    font-weight: 750;
    color: #2f63a7;
}

.content-title span {
    color: var(--ps-red);
    font-weight: 500
}

.lead-copy {
    color: var(--ps-muted);
    font-size: 1.08rem;
    line-height: 1.8
}

.section-tag {
    color: var(--ps-red);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 15px
}

.content-image {
    width: 100%;
    height: 570px;
    object-fit: cover;
    border-radius: 24px;
    filter: saturate(.78)
}

.stat-row {
    position: relative;
    margin-top: -42px;
    z-index: 2
}

.stat-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 22px 70px rgba(16, 27, 45, .13);
    overflow: hidden
}

.stat-item {
    padding: 29px 34px;
    border-right: 1px solid var(--ps-line)
}

.stat-item:last-child {
    border: 0
}

.stat-item strong {
    display: block;
    color: var(--ps-blue);
    font-family: "Manrope";
    font-size: 2rem
}

.stat-item span {
    color: var(--ps-muted);
    font-size: .82rem
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.feature-card {
    background: #fff;
    border: 1px solid var(--ps-line);
    border-radius: 20px;
    padding: 25px;
    transition: .25s
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 50px rgba(16, 27, 45, .09);
    border-color: transparent
}

.feature-card i {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #edf4fd;
    color: var(--ps-blue);
    font-size: 1.4rem;
    margin-bottom: 24px
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700
}

.feature-card p {
    color: var(--ps-muted);
    font-size: .92rem;
    line-height: 1.65;
    margin: 10px 0 0
}

.feature-card .text-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--ps-red)
}

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

.model-card {
    position: relative;
    overflow: hidden;
    background: var(--ps-navy);
    color: #fff;
    border-radius: 22px;
    padding: 28px
}

.model-card:after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    right: -55px;
    bottom: -55px;
    background: rgba(47, 99, 167, .32)
}

.model-card span {
    font-size: .68rem;
    letter-spacing: 1.6px;
    color: #8bb5ec;
    font-weight: 700
}

.model-card h3 {
    font-size: 1.35rem;
    margin: 16px 0 8px
}

.model-card p {
    color: rgba(255, 255, 255, .58);
    line-height: 1.6;
    margin: 0
}

.process {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px
}

.process-step {
    position: relative;
    text-align: center;
    padding: 20px 8px
}

.process-step:not(:last-child):after {
    content: "";
    position: absolute;
    top: 39px;
    right: -18px;
    width: 35px;
    height: 1px;
    background: #cad5e3
}

.process-step b {
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--ps-blue);
    color: #fff
}

.process-step strong {
    display: block;
    font-size: .9rem
}

.process-step small {
    color: var(--ps-muted)
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 25px 0
}

.check-list li {
    position: relative;
    padding: 10px 0 10px 31px;
    color: var(--ps-muted)
}

.check-list li:before {
    content: "\F26E";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    color: var(--ps-red);
    font-size: 1.1rem
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.pill-list span {
    padding: 9px 13px;
    border-radius: 999px;
    background: #edf4fd;
    color: #29578f;
    font-size: .79rem;
    font-weight: 600
}

.cta-band {
    background: linear-gradient(120deg, var(--ps-blue), var(--ps-red));
    color: #fff;
    padding: 60px 0
}

.cta-band h2 {
    font-size: clamp(2.3rem, 4vw, 4rem);
    letter-spacing: -2px
}

.cta-band p {
    color: rgba(255, 255, 255, .72);
    max-width: 650px
}

.cta-band .btn {
    background: #fff;
    color: var(--ps-navy);
    border: 0
}

.contact-card {
    background: #fff;
    border: 1px solid var(--ps-line);
    border-radius: 22px;
    padding: 28px;
    height: 100%
}

.contact-card i {
    font-size: 1.7rem;
    color: var(--ps-red)
}

.contact-card h3 {
    font-size: 1.2rem;
    margin: 16px 0 8px
}

.contact-card p,
.contact-card a {
    color: var(--ps-muted);
    text-decoration: none;
    line-height: 1.7
}

.contact-form-page {
    background: #fff;
    border-radius: 24px;
    padding: 38px;
    box-shadow: 0 22px 70px rgba(16, 27, 45, .1)
}

.contact-form-page .form-control,
.contact-form-page .form-select {
    border: 1px solid var(--ps-line);
    border-radius: 11px;
    padding: 12px 14px
}

.page-footer {
    background: #0d1625;
    color: #fff;
    padding: 60px 0 25px
}

.page-footer .footer-brand {
    display: inline-flex;
    background: #fff;
    padding: 8px 12px !important;
    border-radius: 10px
}

.page-footer .footer-brand:before {
    display: none
}

.page-footer .footer-brand img {
    width: 225px;
    height: 45px
}

.page-footer h3 {
    color: #7da9e4;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px
}

.page-footer a {
    display: block;
    color: rgba(255, 255, 255, .55);
    text-decoration: none;
    margin-bottom: 9px
}

.page-footer a:hover {
    color: #fff
}

.page-footer p {
    color: rgba(255, 255, 255, .46);
    max-width: 410px
}

.page-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 38px;
    padding-top: 22px
}

@media(max-width:991.98px) {
    .site-header .navbar-collapse {
        padding: 18px;
        background: #fff;
        border-radius: 15px
    }

    .site-header .nav-link.active:after {
        display: none
    }

    .page-hero {
        padding: 150px 0 80px
    }

    .content-section {
        padding: 62px 0
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .model-grid {
        grid-template-columns: 1fr
    }

    .stat-panel {
        grid-template-columns: 1fr
    }

    .stat-item {
        border-right: 0;
        border-bottom: 1px solid var(--ps-line)
    }

    .process {
        grid-template-columns: 1fr
    }

    .process-step:not(:last-child):after {
        display: none
    }

    .content-image {
        height: 450px
    }
}

/* Shared live-site header behavior: transparent over the hero, solid after scroll. */
.site-header.navbar {
    padding: 18px 0;
    background: rgba(16, 27, 45, .24);
    box-shadow: none;
    backdrop-filter: blur(8px);
    transition: padding .3s ease, background .3s ease, box-shadow .3s ease
}

.site-header.navbar:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, .9) !important
}

.site-header.navbar:not(.scrolled) .navbar-toggler {
    color: #fff
}

.site-header.navbar:not(.scrolled) .navbar-brand {
    background: #fff !important;
    padding: 6px 13px !important;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12)
}

.site-header.navbar.scrolled {
    padding: 11px 0;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 4px 24px rgba(16, 27, 45, .08)
}

.site-header.navbar.scrolled .navbar-brand {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none
}

.site-header.navbar.scrolled .nav-link {
    color: var(--ps-navy) !important
}

.site-header.navbar .nav-link:hover,
.site-header.navbar .nav-link:focus,
.site-header.navbar .nav-link.active,
.site-header.navbar .nav-link.show,
.site-header.navbar.scrolled .nav-link:hover,
.site-header.navbar.scrolled .nav-link:focus,
.site-header.navbar.scrolled .nav-link.active,
.site-header.navbar.scrolled .nav-link.show {
    color: var(--ps-red) !important
}

@media(max-width:991.98px) {
    .site-header.navbar:not(.scrolled) .navbar-collapse .nav-link {
        color: var(--ps-navy) !important
    }
}

/* The contact email card follows introductory copy, so it must size to its content. */
#requirement .col-lg-5>.contact-card {
    height: auto
}

/* Homepage partner and testimonial sections. */
.relationship-count {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    padding: 20px 24px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--ps-line);
    box-shadow: 0 14px 35px rgba(16, 27, 45, .07)
}

.relationship-count strong {
    font-family: "Manrope", sans-serif;
    font-size: 2.6rem;
    line-height: 1;
    color: var(--ps-red)
}

.relationship-count span {
    font-size: .76rem;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ps-muted);
    font-weight: 700
}

.logo-marquee {
    overflow: hidden;
    border-block: 1px solid var(--ps-line);
    background: #fff;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent)
}

.logo-track {
    display: flex;
    width: max-content;
    gap: 22px;
    padding: 25px 11px;
    animation: partner-scroll 28s linear infinite
}

.logo-placeholder {
    width: 205px;
    height: 76px;
    display: grid;
    place-items: center;
    border: 1px dashed #bdc9d8;
    border-radius: 14px;
    color: #8793a4;
    background: #f8fafc;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700
}

.logo-marquee:hover .logo-track {
    animation-play-state: paused
}

.placeholder-note {
    margin: 18px 0 0;
    color: var(--ps-muted);
    font-size: .76rem;
    font-style: italic
}

.placeholder-note i {
    color: var(--ps-red);
    margin-right: 6px
}

.testimonial-card {
    position: relative;
    padding: 36px;
    background: #fff;
    border: 1px solid var(--ps-line);
    border-radius: 22px;
    box-shadow: 0 16px 45px rgba(16, 27, 45, .06)
}

.testimonial-card>i {
    display: block;
    color: var(--ps-red);
    font-size: 2.3rem;
    margin: 20px 0 12px
}

.testimonial-type {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef4fb;
    color: var(--ps-blue);
    font-size: .67rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800
}

.testimonial-card blockquote {
    color: var(--ps-navy);
    font-size: 1rem;
    line-height: 1.75;
    margin: 0 0 24px
}

.testimonial-card p {
    margin: 0;
    color: var(--ps-navy);
    font-size: .78rem;
    font-weight: 700
}

.testimonial-card p span {
    color: var(--ps-muted);
    font-weight: 500
}

.opportunity-band {
    background: var(--ps-navy)
}

@keyframes partner-scroll {
    to {
        transform: translateX(calc(-50% - 11px))
    }
}

@media(prefers-reduced-motion:reduce) {
    .logo-track {
        animation: none
    }
}

@media(max-width:991.98px) {
    .relationship-count {
        margin-top: 10px
    }

    .testimonial-card {
        padding: 28px
    }
}

/* Compact homepage rhythm: avoid oversized gaps between stacked content blocks. */
.home-page .content-section {
    padding: 64px 0
}

.home-page .content-section .mb-5 {
    margin-bottom: 2rem !important
}

.home-page .content-section .mt-5 {
    margin-top: 2rem !important
}

.home-page .feature-card {
    padding: 24px
}

.home-page .model-card {
    padding: 26px
}

.home-page .testimonial-card {
    padding: 28px
}

.home-page .testimonial-card>i {
    margin: 14px 0 8px
}

.home-page .placeholder-note {
    margin-top: 13px
}

@media(max-width:991.98px) {
    .home-page .content-section {
        padding: 50px 0
    }

    .home-page .content-section .mb-5 {
        margin-bottom: 1.6rem !important
    }

    .home-page .content-section .mt-5 {
        margin-top: 1.6rem !important
    }
}

@media(max-width:575.98px) {
    .home-page .content-section {
        padding: 44px 0
    }

    .home-page .feature-card,
    .home-page .model-card,
    .home-page .testimonial-card {
        padding: 22px
    }
}

.home-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr
}

.home-cta-grid .cta-band {
    padding: 52px clamp(32px, 5vw, 90px)
}

.home-cta-grid .cta-inner {
    max-width: 660px
}

.home-cta-grid .cta-band h2 {
    font-size: clamp(1.8rem, 2.6vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -1.4px;
    margin-bottom: 14px
}

.home-cta-grid .cta-band p {
    font-size: .95rem;
    line-height: 1.65;
    margin: 0 0 24px
}

.home-cta-grid .cta-band .btn {
    padding: .78rem 1.25rem;
    font-size: .9rem
}

@media(max-width:767.98px) {
    .home-cta-grid {
        grid-template-columns: 1fr
    }

    .home-cta-grid .cta-band {
        padding: 44px 24px
    }

    .home-cta-grid .cta-band h2 {
        font-size: 1.75rem
    }
}

.home-page .testimonials-section {
    padding: 48px 0
}

.home-page .testimonials-section .content-title {
    font-size: clamp(2rem, 3.2vw, 3.15rem);
    line-height: 1.05
}

.home-page .testimonials-section .mb-5 {
    margin-bottom: 1.5rem !important
}

.home-page .testimonials-section .testimonial-card {
    padding: 24px
}

.home-page .testimonials-section .testimonial-card>i {
    font-size: 1.85rem;
    margin: 10px 0 6px
}

.home-page .testimonials-section .testimonial-card blockquote {
    font-size: .94rem;
    line-height: 1.6;
    margin-bottom: 16px
}

.home-page .testimonials-section .placeholder-note {
    margin-top: 12px !important
}

@media(max-width:991.98px) {
    .home-page .testimonials-section {
        padding: 42px 0
    }
}

/* About page content grids and highlighted statements. */
.about-stats {
    grid-template-columns: 1fr
}

.about-stats .stat-item {
    border-right: 0;
    border-bottom: 1px solid var(--ps-line)
}

.about-stats .stat-item:last-child {
    border-bottom: 0
}

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

.specialty-grid .feature-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 23px
}

.specialty-grid .feature-card i {
    flex: 0 0 auto;
    margin: 0
}

.specialty-grid .feature-card h3 {
    margin: 0;
    font-size: 1rem
}

.specialty-note {
    max-width: 820px;
    margin: 34px auto 0
}

.approach-goal {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 42px;
    border-radius: 24px;
    background: var(--ps-navy);
    color: #fff
}

.approach-goal span {
    color: #8bb5ec;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-size: .72rem;
    font-weight: 700
}

.approach-goal strong {
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.4rem, 2.3vw, 2.15rem);
    line-height: 1.2
}

.approach-goal strong:nth-of-type(2) {
    color: #7da9e4
}

.approach-goal strong:nth-of-type(3) {
    color: #f46a6e
}

.mission-audiences {
    border-top: 1px solid var(--ps-line);
    margin-top: 22px;
    padding-top: 18px
}

.mission-audiences p {
    margin-bottom: 10px
}

.mission-audiences strong {
    color: var(--ps-navy)
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px
}

.choice-grid .feature-card {
    padding: 24px
}

.choice-grid .feature-card i {
    margin-bottom: 22px
}

.choice-grid .feature-card h3 {
    font-size: 1rem
}

.choice-grid .feature-card p {
    font-size: .84rem
}

.about-closing {
    background: #fff
}

.closing-lines {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px
}

.closing-lines strong {
    padding: 9px 13px;
    border-radius: 999px;
    background: #edf4fd;
    color: #29578f;
    font-size: .8rem
}

@media(max-width:1199.98px) {
    .choice-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

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

    .choice-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:575.98px) {

    .specialty-grid,
    .choice-grid {
        grid-template-columns: 1fr
    }

    .approach-goal {
        padding: 28px
    }

    .about-page .content-section {
        padding: 48px 0
    }
}

/* Keep the content-rich About page flat and compact rather than box-heavy. */
.about-page .content-section {
    padding: 62px 0
}

.about-page .content-section .mb-5 {
    margin-bottom: 2rem !important
}

.about-page .specialty-grid {
    gap: 0 28px
}

.about-page .specialty-grid .feature-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--ps-line);
    box-shadow: none;
    padding: 18px 0
}

.about-page .specialty-grid .feature-card:hover {
    transform: none;
    box-shadow: none
}

.about-page .specialty-grid .feature-card i {
    width: 40px;
    height: 40px;
    margin: 0
}

.about-page .approach-goal {
    height: auto;
    background: transparent;
    color: var(--ps-navy);
    border-radius: 0;
    border-left: 4px solid var(--ps-red);
    padding: 8px 0 8px 28px;
    box-shadow: none
}

.about-page .approach-goal span {
    color: var(--ps-red)
}

.about-page .approach-goal strong {
    font-size: clamp(1.25rem, 2vw, 1.8rem)
}

.about-page .approach-goal strong:nth-of-type(2) {
    color: var(--ps-blue)
}

.about-page .approach-goal strong:nth-of-type(3) {
    color: var(--ps-red)
}

.about-page .contact-card {
    height: auto;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0
}

.about-page .choice-grid {
    gap: 22px
}

.about-page .choice-grid .feature-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    border-top: 2px solid var(--ps-blue);
    box-shadow: none;
    padding: 22px 0 0
}

.about-page .choice-grid .feature-card:hover {
    transform: none;
    box-shadow: none
}

.about-page .choice-grid .feature-card i {
    width: 42px;
    height: 42px;
    margin-bottom: 14px
}

.about-page .closing-lines {
    display: block;
    margin-top: 22px
}

.about-page .closing-lines strong {
    display: block;
    background: transparent;
    border-radius: 0;
    padding: 3px 0;
    color: var(--ps-navy);
    font-size: .9rem
}

@media(max-width:991.98px) {
    .about-page .content-section {
        padding: 52px 0
    }
}

@media(max-width:575.98px) {
    .about-page .content-section {
        padding: 44px 0
    }

    .about-page .approach-goal {
        padding-left: 20px
    }
}

.about-page .page-hero .hero-proof {
    display: block;
    margin-top: 18px;
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: .55em;
    font-style: normal;
    font-weight: 750;
    letter-spacing: -1.5px;
    line-height: 1.1
}

/* Complete Services content in a compact, readable layout. */
.services-page .page-hero p {
    margin-top: 14px
}

.services-page .content-section {
    padding: 64px 0
}

.services-page .content-section .mb-5 {
    margin-bottom: 2rem !important
}

.service-detail {
    border-left: 3px solid var(--ps-red);
    padding-left: 34px
}

.service-detail h3,
.service-subtitle {
    font-size: 1.15rem;
    margin-bottom: 12px
}

.two-column-list {
    columns: 2;
    column-gap: 30px
}

.two-column-list li {
    break-inside: avoid
}

.service-copy {
    border-top: 2px solid var(--ps-blue);
    padding-top: 24px
}

.service-copy p {
    color: var(--ps-muted);
    line-height: 1.7
}

.compact-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem)
}

.sap-groups {
    display: grid;
    gap: 24px
}

.sap-groups>div {
    border-bottom: 1px solid var(--ps-line);
    padding-bottom: 22px
}

.sap-groups h3 {
    font-size: 1rem;
    margin-bottom: 12px
}

.service-closing {
    max-width: 900px;
    margin: 30px auto 0
}

.technology-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px
}

.technology-grid article {
    border-top: 2px solid var(--ps-blue);
    padding-top: 20px
}

.technology-grid h3 {
    font-size: 1.05rem
}

.technology-grid ul {
    padding-left: 18px;
    margin: 14px 0 0;
    color: var(--ps-muted);
    line-height: 1.8
}

.compact-image {
    height: 460px
}

.hiring-models {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}

.hiring-models article {
    border-top: 2px solid var(--ps-red);
    padding-top: 20px
}

.hiring-models strong {
    font-family: "Manrope", sans-serif;
    font-size: 1.15rem
}

.hiring-models p {
    color: var(--ps-muted);
    margin: 8px 0 0
}

.delivery-statement {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-left: 4px solid var(--ps-red);
    padding: 8px 0 8px 28px
}

.delivery-statement span {
    color: var(--ps-red);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700
}

.delivery-statement strong {
    font-family: "Manrope", sans-serif;
    font-size: 1.25rem;
    color: var(--ps-navy)
}

@media(max-width:991.98px) {
    .services-page .content-section {
        padding: 52px 0
    }

    .technology-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .compact-image {
        height: 400px
    }
}

@media(max-width:575.98px) {
    .services-page .content-section {
        padding: 44px 0
    }

    .two-column-list {
        columns: 1
    }

    .service-detail {
        padding-left: 20px
    }

    .technology-grid,
    .hiring-models {
        grid-template-columns: 1fr
    }

    .compact-image {
        height: 320px
    }
}

/* Balanced hiring-model panels and tighter Services page rhythm. */
.services-page .page-hero {
    padding: 165px 0 76px
}

.services-page .page-hero p {
    font-size: 1.02rem;
    line-height: 1.6;
    max-width: 900px
}

.services-page .content-section {
    padding: 54px 0
}

.services-page #contract-to-hire,
.services-page #direct-hire {
    background: #fff;
    border: 1px solid var(--ps-line);
    border-top: 3px solid var(--ps-blue);
    border-radius: 18px;
    padding: 28px 30px;
    height: auto
}

.services-page #direct-hire {
    border-top-color: var(--ps-red)
}

.services-page .service-copy .compact-title {
    font-size: clamp(1.75rem, 2.6vw, 2.35rem);
    line-height: 1.12;
    letter-spacing: -1.4px;
    margin-bottom: 14px
}

.services-page .service-copy p {
    font-size: .96rem;
    line-height: 1.62;
    margin-bottom: 12px
}

.services-page #direct-hire .service-list {
    columns: 2;
    column-gap: 26px;
    margin: 14px 0
}

.services-page #direct-hire .service-list li {
    break-inside: avoid;
    padding-top: 7px;
    padding-bottom: 7px;
    font-size: .91rem
}

.services-page .sap-groups {
    gap: 18px
}

.services-page .sap-groups>div {
    padding-bottom: 17px
}

.services-page .service-closing {
    margin-top: 24px
}

.services-page .service-focus-highlight {
    max-width: none;
    padding: 14px 18px;
    border: 1px solid #cfe0f5;
    border-left: 4px solid #2f63a7;
    border-radius: 10px;
    background: #edf4fd;
    color: #2f63a7;
    font-size: clamp(.82rem, 1vw, .95rem);
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap
}

.services-page .service-focus-two-lines {
    white-space: normal
}

.services-page .service-focus-break {
    display: block
}

@media(max-width:1199.98px) {
    .services-page .service-focus-highlight {
        white-space: normal
    }

    .services-page .service-focus-break {
        display: none
    }
}

@media(max-width:991.98px) {
    .services-page .page-hero {
        padding: 145px 0 66px
    }

    .services-page .content-section {
        padding: 48px 0
    }

    .services-page #contract-to-hire,
    .services-page #direct-hire {
        padding: 25px
    }
}

@media(max-width:575.98px) {
    .services-page .page-hero {
        padding: 130px 0 54px
    }

    .services-page .content-section {
        padding: 40px 0
    }

    .services-page #direct-hire .service-list {
        columns: 1
    }
}

.careers-page .page-hero p {
    margin-top: 14px;
    max-width: 900px;
    font-size: 1.03rem;
    line-height: 1.65
}

.careers-page .page-hero p strong {
    color: #fff
}

.careers-page .content-section {
    padding: 58px 0
}

.careers-expectations {
    columns: 2;
    column-gap: 30px
}

.careers-expectations li {
    break-inside: avoid
}

.careers-image {
    height: 430px
}

.careers-page .process-step strong {
    font-size: .84rem
}

@media(max-width:991.98px) {
    .careers-page .content-section {
        padding: 50px 0
    }

    .careers-image {
        height: 380px
    }
}

@media(max-width:575.98px) {
    .careers-page .content-section {
        padding: 42px 0
    }

    .careers-expectations {
        columns: 1
    }

    .careers-image {
        height: 300px
    }
}

.contact-page .content-section {
    padding: 56px 0
}

.contact-page .lead-copy strong {
    color: var(--ps-navy)
}

.contact-page .contact-form-page {
    padding: 34px
}

.candidate-contact {
    background: #fff
}

.contact-details .mb-5 {
    margin-bottom: 2rem !important
}

.contact-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px
}

.contact-detail-grid article {
    border-top: 2px solid var(--ps-blue);
    padding-top: 20px
}

.contact-detail-grid article:nth-child(2n) {
    border-top-color: var(--ps-red)
}

.contact-detail-grid i {
    color: var(--ps-red);
    font-size: 1.35rem
}

.contact-detail-grid h3 {
    font-size: 1rem;
    margin: 12px 0 7px
}

.contact-detail-grid a,
.contact-detail-grid p {
    color: var(--ps-muted);
    text-decoration: none;
    font-size: .9rem;
    line-height: 1.65;
    margin: 0
}

.contact-detail-grid a:hover {
    color: var(--ps-red)
}

@media(max-width:991.98px) {
    .contact-page .content-section {
        padding: 48px 0
    }

    .contact-detail-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:575.98px) {
    .contact-page .content-section {
        padding: 42px 0
    }

    .contact-page .contact-form-page {
        padding: 26px 20px
    }

    .contact-detail-grid {
        grid-template-columns: 1fr
    }
}

/* Compact, balanced employer contact form. */
.contact-page #requirement {
    padding: 44px 0
}

.contact-page #requirement>.container>.row {
    align-items: center !important;
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 1.25rem
}

.contact-page #requirement .contact-form-page {
    max-width: 780px;
    margin-left: auto;
    padding: 28px 30px;
    border-radius: 18px;
    box-shadow: 0 16px 45px rgba(16, 27, 45, .09)
}

.contact-page #requirement form {
    --bs-gutter-y: 1rem
}

.contact-page #requirement .form-label {
    margin-bottom: 6px;
    font-size: .76rem
}

.contact-page #requirement .form-control,
.contact-page #requirement .form-select {
    min-height: 46px;
    padding: 10px 12px;
    border-radius: 9px
}

.contact-page #requirement textarea.form-control {
    min-height: 108px;
    height: 108px;
    resize: vertical
}

.contact-page #requirement .btn {
    padding: .78rem 1.2rem;
    font-size: .88rem
}

.contact-page #requirement .lead-copy {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 14px
}

@media(max-width:991.98px) {
    .contact-page #requirement {
        padding: 40px 0
    }

    .contact-page #requirement .contact-form-page {
        max-width: none;
        margin-top: 8px
    }
}

@media(max-width:575.98px) {
    .contact-page #requirement {
        padding: 34px 0
    }

    .contact-page #requirement .contact-form-page {
        padding: 22px 18px
    }

    .contact-page #requirement .btn {
        width: 100%
    }
}

@media(max-width:575.98px) {
    .page-hero h1 {
        letter-spacing: -2px
    }

    .feature-grid {
        grid-template-columns: 1fr
    }

    .contact-form-page {
        padding: 30px 22px
    }

    .content-title {
        letter-spacing: -1.5px
    }

    .page-footer .footer-brand img {
        width: 185px;
        height: 38px
    }
}

.required-mark {
    color: var(--ps-red);
    font-weight: 700
}

.form-control::placeholder {
    color: #98a2b3;
    opacity: 1
}

.form-control:required:invalid:not(:placeholder-shown) {
    border-color: #dc3545
}

.form-control:required:valid {
    border-color: #8abca1
}

.was-validated .form-control:invalid,
.was-validated .form-select:invalid,
.was-validated input[type="file"]:invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 .18rem rgba(220, 53, 69, .09)
}

.was-validated .form-control:valid,
.was-validated .form-select:valid {
    border-color: #198754
}

.form-control[aria-invalid="true"],
.form-select[aria-invalid="true"] {
    border-color: #dc3545
}
