/* SERVICES PAGE */

/*HERO*/
.services-hero {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
}

.services-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.services-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.30) 100%);
}

.services-hero-text {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.services-hero-text h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
}

.services-hero-text .hero-divider {
    margin-top: 16px;
    width: 60px;
    height: 4px;
    background: #4ca567;
    border-radius: 2px;
}

.services-hero-text p {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
}

/*BREADCRUMB*/
.breadcrumb {
    background: #f5f9ff;
    border-bottom: 1px solid #e4edf8;
    padding: 10px 0;
    font-size: 0.85rem;
    color: #777;
}

.breadcrumb a {
    color: #297cc8;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 6px;
    color: #bbb;
}

/*SERVICES INTRO*/
.services-intro {
    padding: 80px 0 60px;
    background: #fff;
    text-align: center;
}

.services-intro .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.services-intro .section-eyebrow::before,
.services-intro .section-eyebrow::after {
    content: '';
    width: 28px;
    height: 2px;
    background: #4ca567;
    border-radius: 2px;
}

.services-intro .section-eyebrow span {
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #4ca567;
}

.services-intro h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 16px;
}

.services-intro h2 span {
    color: #297cc8;
}

.services-intro p {
    font-size: 0.97rem;
    color: #666;
    max-width: 640px;
    margin: 0 auto 50px;
    line-height: 1.85;
}

/* Sector nav pills */
.sector-nav {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.sector-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 24px;
    border-radius: 30px;
    border: 1.5px solid #e4edf8;
    background: #fff;
    color: #555;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
}

.sector-pill i {
    font-size: 0.85rem;
}

.sector-pill:hover,
.sector-pill.active {
    background: #297cc8;
    border-color: #297cc8;
    color: #fff;
    box-shadow: 0 4px 14px rgba(41, 124, 200, 0.25);
    transform: translateY(-2px);
}

/* 
   SHARED SECTOR SECTION STYLES
    */
.sector-section {
    padding: 90px 0;
    position: relative;
}

.sector-section.bg-white {
    background: #fff;
}

.sector-section.bg-tint {
    background: #f5f9ff;
}

.sector-section.bg-tint-2 {
    background: #eaf3ff;
}

/*SECTOR HEADER — two-column: text + image*/
.sector-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 52px;
    padding-bottom: 52px;
    border-bottom: 1px solid #e4edf8;
}

/* Flip image to left for even sectors (.img-left) */
.sector-header.img-left {
    direction: rtl;
}

.sector-header.img-left>* {
    direction: ltr;
}

/*TEXT SIDE*/
.sector-header-text {}

.sector-number {
    font-size: 4.5rem;
    font-weight: 800;
    color: #eaf3ff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    user-select: none;
    margin-bottom: 10px;
}

.sector-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eaf3ff;
    border: 1px solid #cce2f6;
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #297cc8;
    margin-bottom: 14px;
}

.sector-tag i {
    font-size: 0.68rem;
}

.sector-header-text h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 14px;
    line-height: 1.25;
}

.sector-header-text h2 span {
    color: #297cc8;
}

.sector-header-text p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.85;
    margin: 0 0 22px;
}

/* Quick-stat strip inside header text */
.sector-stats {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.sector-stat {
    display: flex;
    flex-direction: column;
}

.sector-stat strong {
    font-size: 1.45rem;
    font-weight: 800;
    color: #297cc8;
    line-height: 1;
}

.sector-stat span {
    font-size: 0.72rem;
    color: #888;
    font-weight: 500;
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/*IMAGE SIDE*/
.sector-header-image {
    position: relative;
}

/* Decorative corner block */
.sector-header-image::before {
    content: '';
    position: absolute;
    top: -14px;
    right: -14px;
    width: 55%;
    height: 55%;
    background: #eaf3ff;
    border-radius: 8px;
    z-index: 0;
    transition: background 0.3s;
}

/* For img-left, flip the corner block */
.sector-header.img-left .sector-header-image::before {
    right: auto;
    left: -14px;
}

.sector-header-image::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: -10px;
    width: 70px;
    height: 70px;
    background: rgba(76, 165, 103, 0.15);
    border-radius: 6px;
    z-index: 0;
}

.sector-header.img-left .sector-header-image::after {
    left: auto;
    right: -10px;
}

.sector-header-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    box-shadow: 0 16px 40px rgba(41, 124, 200, 0.13);
}

/* Sector colour badge overlaid on image */
.sector-img-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 2;
    background: #297cc8;
    color: #fff;
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 16px rgba(41, 124, 200, 0.3);
    min-width: 80px;
}

.sector-header.img-left .sector-img-badge {
    right: auto;
    left: 20px;
}

.sector-img-badge strong {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1;
}

.sector-img-badge span {
    font-size: 0.65rem;
    opacity: 0.85;
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/*SUB-SERVICE CARDS*/
.sub-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 40px;
}

.sub-service-card {
    background: #fff;
    border: 1px solid #e4edf8;
    border-radius: 10px;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

/* Top accent bar on hover */
.sub-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #297cc8, #4ca567);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.sub-service-card:hover::before {
    transform: scaleX(1);
}

.sub-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 34px rgba(41, 124, 200, 0.12);
    border-color: #cce2f6;
}

/* On tint background, give card a slightly different base */
.sector-section.bg-tint .sub-service-card,
.sector-section.bg-tint-2 .sub-service-card {
    background: #fff;
}

.svc-card-icon {
    width: 50px;
    height: 50px;
    background: #eaf3ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: background 0.3s;
}

.sub-service-card:hover .svc-card-icon {
    background: #d6eaf8;
}

.svc-card-icon i {
    color: #297cc8;
    font-size: 1.15rem;
}

.sub-service-card h3 {
    font-size: 0.97rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
    line-height: 1.4;
}

.sub-service-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.75;
    margin: 0 0 14px;
}

/* Client tag at bottom of card */
.svc-card-clients {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f0f5fc;
}

.svc-client-tag {
    font-size: 0.7rem;
    font-weight: 600;
    color: #4ca567;
    background: #f0fbf4;
    border: 1px solid #c8e9d3;
    border-radius: 12px;
    padding: 2px 10px;
}

/*SECTOR HIGHLIGHT BAR*/
.sector-highlight {
    background: #eaf3ff;
    border: 1px solid #cce2f6;
    border-left: 4px solid #297cc8;
    border-radius: 0 8px 8px 0;
    padding: 18px 22px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 10px;
}

.sector-highlight i {
    color: #297cc8;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.sector-highlight p {
    font-size: 0.88rem;
    color: #444;
    line-height: 1.7;
    margin: 0;
}

.sector-highlight strong {
    color: #1a1a2e;
}

/* 
   PMBOK DELIVERY STRIP
    */
.services-pmbok {
    padding: 80px 0;
    background: #297cc8;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-pmbok::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    top: -180px;
    right: -120px;
    pointer-events: none;
}

.services-pmbok::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    bottom: -100px;
    left: -80px;
    pointer-events: none;
}

.services-pmbok .section-eyebrow-light {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.services-pmbok .section-eyebrow-light::before,
.services-pmbok .section-eyebrow-light::after {
    content: '';
    width: 28px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
}

.services-pmbok .section-eyebrow-light span {
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.services-pmbok h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.services-pmbok>.container>p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 540px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

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

/* Connecting line */
.pmbok-steps::before {
    content: '';
    position: absolute;
    top: 34px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 0;
}

.pmbok-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 8px;
}

.pmbok-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: background 0.3s, border-color 0.3s;
}

.pmbok-step:hover .pmbok-circle {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.8);
}

.pmbok-circle i {
    color: #fff;
    font-size: 1.1rem;
}

.pmbok-step h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 7px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.pmbok-step p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

/* 
   KEY CLIENTS STRIP
    */
.services-clients {
    padding: 70px 0;
    background: #f5f9ff;
    text-align: center;
}

.services-clients .sh2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
}

.services-clients .sh2 span {
    color: #297cc8;
}

.services-clients .sub {
    font-size: 0.93rem;
    color: #666;
    margin: 0 auto 40px;
    max-width: 520px;
    line-height: 1.8;
}

.clients-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.client-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e4edf8;
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a2e;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.client-chip i {
    color: #4ca567;
    font-size: 0.75rem;
}

.client-chip:hover {
    border-color: #297cc8;
    box-shadow: 0 4px 14px rgba(41, 124, 200, 0.1);
    transform: translateY(-2px);
}

.client-chip .client-country {
    font-size: 0.72rem;
    color: #999;
    font-weight: 400;
}

/* CTA STRIP */
.services-cta {
    padding: 80px 0;
    background: #fff;
}

.services-cta-inner {
    background: linear-gradient(135deg, #1a5fa0 0%, #297cc8 60%, #236e42 100%);
    border-radius: 16px;
    padding: 60px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(41, 124, 200, 0.22);
}

.services-cta-inner::before {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    top: -180px;
    right: -100px;
    pointer-events: none;
}

.services-cta-inner h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
}

.services-cta-inner h2 span {
    color: #7dd99a;
}

.services-cta-inner p {
    font-size: 0.97rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.cta-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #fff;
    color: #297cc8;
    text-decoration: none;
    padding: 13px 30px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.93rem;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-cta-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-cta-white i {
    transition: transform 0.3s;
}

.btn-cta-white:hover i {
    transform: translateX(4px);
}

.btn-cta-ghost {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    padding: 13px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.93rem;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.btn-cta-ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* RESPONSIVEness Starts Here */
@media (max-width: 1100px) {
    .sub-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pmbok-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .pmbok-steps::before {
        display: none;
    }
}

@media (max-width: 992px) {
    .sector-header {
        grid-template-columns: 1fr;
        gap: 36px;
        direction: ltr !important;
    }

    .sector-header.img-left {
        direction: ltr;
    }

    /* On mobile image always goes first (top) */
    .sector-header-image {
        order: -1;
    }

    .sector-header-image::before,
    .sector-header-image::after {
        display: none;
    }

    .sector-header-image img {
        height: 260px;
    }

    .sector-img-badge {
        bottom: 14px;
        right: 14px;
    }

    .sector-header.img-left .sector-img-badge {
        left: 14px;
        right: auto;
    }
}

@media (max-width: 768px) {
    .services-hero {
        height: 320px;
    }

    .sector-section {
        padding: 70px 0;
    }

    .sub-services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

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

    .services-cta-inner {
        padding: 44px 24px;
    }

    .cta-btns {
        flex-direction: column;
    }

    .btn-cta-white,
    .btn-cta-ghost {
        width: 100%;
        justify-content: center;
    }

    .sector-nav {
        gap: 10px;
    }

    .sector-pill {
        padding: 9px 16px;
        font-size: 0.82rem;
    }

    .sector-stats {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .services-hero {
        height: 260px;
    }

    .pmbok-steps {
        grid-template-columns: 1fr;
    }

    .services-cta {
        padding: 60px 0;
    }

    .sector-header-image img {
        height: 220px;
    }
}