/* ============================================================
   PKC Service Page — Shared Styles
   Source: extracted from template-outsources-cfo-services.php
   ============================================================ */

/* ── Root Variables ──────────────────────────────────────── */
:root {
    --pkc-blue: rgba(0, 38, 122, 1);
    --pkc-yellow: #F2C433;
    --darker-pkc-blue: #00276f;
    --transition-time: 0.3s;
    --text-dark-gray: #555;
    --off-white: #F9F5FF;
}

/* ── Utility: Spacing ────────────────────────────────────── */
.sp-60  { padding: 60px 0; }
.spt-60 { padding-top: 60px; }
.spb-60 { padding-bottom: 60px; }

/* ── Utility: Font Sizes ─────────────────────────────────── */
.fs-12 { font-size: 12px; }
.fs-16 { font-size: 16px; }
.fs-20 { font-size: 20px; }

/* ── Utility: Font Weights ───────────────────────────────── */
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800; }

/* ── Utility: Colors ─────────────────────────────────────── */
.text-blue   { color: rgba(0, 38, 122, 1); }
.text-yellow { color: rgba(242, 196, 51, 1); }
.text-black  { color: black; }
.bg-blue     { background: rgba(0, 38, 122, 1); }
.bg-grey     { background: rgba(245, 246, 246, 1); }
.bg-yellow   { background: #F2C433; }
.blue-container { background: rgba(0, 105, 255, 0.1); }

/* ── Background: lightyellow ─────────────────────────────── */
.bg-lightyellow { background-color: #FBF4DC; }

/* ── Hero / Banner ───────────────────────────────────────── */
.banner-sec {
    background-image: url('../../../uploads/2025/06/services-sub-pages-image10.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.banner-sec div#content {
    width: 800px;
}

.banner-sec div#content p {
    font-size: 18px;
    line-height: 28px;
    text-align: justify;
}

.hero-left-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 900px;
    color: var(--text-dark-gray);
}

.lxd {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: black;
}

.hero-subtext {
    max-width: 700px;
    color: var(--text-dark-gray);
}

/* ── Metrics Section (Hero right column) ─────────────────── */
.landing_middle_section_metrics_section {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    flex-wrap: wrap;
    margin-top: 30px;
}

.landing_middle_section_metrics_section_content {
    text-align: right;
    padding: 0 15px;
    position: relative;
    transition: all 0.3s ease;
}

.landing_middle_section_metrics_section_content:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 70%;
    background-color: #ccc;
}

.landing_middle_section_metrics_section_content_title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--pkc-yellow);
    margin-bottom: 2px;
}

.landing_middle_section_metrics_section_content_description {
    font-size: 1.2rem;
    color: var(--text-dark-gray);
    font-weight: 500;
    line-height: 1.2;
}

/* ── btn-primary (PKC styled) ────────────────────────────── */
.btn-primary {
    background-color: rgba(0, 38, 122, 1);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 22px;
    font-family: sans-serif !important;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 2px 9px 0 rgba(0, 0, 0, .16);
    line-height: 1.5;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    margin-top: 20px;
}

.btn-primary:hover {
    background-color: #F2C433;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 38, 122, 0.6);
    text-decoration: none;
}

/* ── action-buttons wrapper ──────────────────────────────── */
.action-buttons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
    margin-top: 20px;
}

/* ── Sliding CTA button ──────────────────────────────────── */
/* Yellow pill button — dark blue text, white slides in on hover */
.pkc-sliding-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    color: var(--pkc-blue);
    background: linear-gradient(120deg, var(--pkc-yellow), #F2C433);
    border: 1px solid var(--pkc-yellow);
    text-decoration: none;
    transition: all var(--transition-time) ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.pkc-sliding-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: white;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-time) ease-in-out;
    z-index: -1;
}

.pkc-sliding-btn:hover {
    color: var(--pkc-blue);
    border-color: var(--pkc-blue);
    background: transparent;
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 38, 122, 0.6);
    text-decoration: none;
}

.pkc-sliding-btn:hover::before {
    transform: scaleX(1);
}

.action-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
}

/* ── Orange Container (Service Cards) ───────────────────── */
.orange-container {
    border: 1px solid rgba(242, 196, 51, 1);
    border-radius: 10px;
    padding: 25px;
    height: 100%;
}

/* ── List: content-for-partner ───────────────────────────── */
.content-for-partner ul {
    padding-left: 10px !important;
    list-style: none;
    margin: 0;
}

.content-for-partner li {
    position: relative;
    padding-left: 30px;
    padding-bottom: 10px;
    display: block;
}

.content-for-partner li::before {
    content: '';
    background-image: url('../../../uploads/2025/04/li-arrow-for-partner-content.png');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 20px;
}

/* ── lp-list ─────────────────────────────────────────────── */
.lp-list li {
    display: flex;
    align-items: center;
}

.intro-sec .lp-list {
    text-align: start;
}

/* ── core-sec (Service Cards section) ───────────────────── */
.core-sec {
    /* inherits .sp-60 padding */
}

/* ── Why Choose Section ──────────────────────────────────── */
.why-choose-sec {
    background: url('../../../uploads/2025/05/ypkc_ocfos.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0 0 50px;
}

.ind-col-why-choose {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(35px);
    border-radius: 13px;
    padding: 40px 15px;
    height: 250px;
}

.ind-colo-center {
    justify-content: center;
    margin: 0 auto;
}

.ind-colo-center .yellow-border {
    margin: 0 auto;
}

.white-strike {
    background-color: white;
    border-radius: 3px;
    height: 3px;
    width: 25px;
}

.yellow-border {
    height: 2px;
    width: 55%;
    text-align: center;
    background-color: #FFB017;
}

.para-in-ind-col {
    text-align: start;
    position: relative;
    padding-left: 32px;
}

.para-in-ind-col::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 0;
    width: 24px;
    height: 24px;
    background-image: url('../../../uploads/2025/05/double_yellow_arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* ── Top / Section strike decorators ────────────────────── */
.top-strike {
    border-radius: 3px;
    height: 3px;
    width: 50px;
}

.top-strike.white { background-color: white; }
.top-strike.blue  { background-color: #00267a; }

.white { background-color: white; }

/* ── CTA Banner (testimonials.clicks) ───────────────────── */
.testimonials.clicks {
    background-color: #f7f9fa;
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.testimonials.clicks .container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.pd50 { padding: 50px 0; }

.clickbg {
    background: linear-gradient(135deg, #002f86 0%, #2563eb 100%);
    border-radius: 20px;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: block;
}

.click-in {
    color: #fff;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.click-in h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    white-space: normal;
}

/* Floating decoration elements in CTA */
.floating-circle,
.floating-dot,
.floating-lines {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.floating-circle {
    top: 15px;
    left: 20px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.floating-dot {
    bottom: 15px;
    left: 25px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
}

.floating-lines {
    top: 30px;
    right: 20px;
    width: 30px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg width="30" height="20" viewBox="0 0 30 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 1H20M0 9H30M0 19H20" stroke="white" stroke-opacity="0.4" stroke-width="2"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(20deg);
}

/* ── Clients Speak / Testimonials ────────────────────────── */
.listen-to-our-sec {
    /* .sp-60 inherited */
}

.vid-test {
    height: 100%;
    width: 60%;
    border-radius: 6px;
    overflow: hidden;
}

.vid-test-content {
    color: black;
    padding: 10px 10px 5px 10px;
    justify-items: center;
}

.vid-test-content h5 {
    margin-bottom: 4px;
}

.vid-test-content p {
    font-size: 16px;
    font-weight: 400;
}

.cus-logo-width {
    width: 30%;
}

/* ── lt-cli-swiper (Clients Speak Swiper) ────────────────── */
.lt-cli-swiper .swiper-buttons {
    position: absolute;
    width: 100%;
    top: 35%;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.lt-cli-swiper .swiper-button-prev::after,
.lt-cli-swiper .swiper-button-next::after {
    color: black;
}

.lt-cli-swiper .swiper-button-prev,
.lt-cli-swiper .swiper-button-next {
    pointer-events: all;
}

/* ── Case Study / Success Stories Swiper ────────────────── */
#hp-casestudy {
    overflow: hidden;
}

.casestudy-ttl {
    text-align: center;
    padding-bottom: 20px;
}

a.cstudy-post {
    margin: 10px;
    min-height: 470px;
}

.cstudy-post {
    margin: 10px;
}

.cstudy-post h3 {
    font-size: 16px;
}

.cs-swiper-startup .swiper-slide {
    display: flex;
    justify-content: center;
}

.cs-swiper-startup .cstudy-post {
    text-align: center;
}

.cs-swiper-startup .swiper-button-next,
.cs-swiper-startup .swiper-button-prev {
    color: #000;
}

.swiper-button-prev.cs-swiper-startup-prev::after {
    font-size: 22px;
    color: #00267a;
    background: white;
    border-radius: 50%;
    padding: 7px 13px;
    font-weight: bold;
}

.swiper-button-prev.cs-swiper-startup-prev {
    bottom: 0;
    top: 96%;
    left: 45%;
}

.swiper-button-next.cs-swiper-startup-next::after {
    font-size: 22px;
    color: #00267a;
    background: white;
    border-radius: 50%;
    padding: 7px 13px;
    font-weight: bold;
}

.swiper-button-next.cs-swiper-startup-next {
    bottom: 0;
    top: 96%;
    right: 45%;
}

/* ── Swiper Global ───────────────────────────────────────── */
.swiper {
    width: 100%;
    height: auto;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.swiper-slide img {
    display: block;
    height: 100%;
    object-fit: cover;
    padding-bottom: 15px;
}

.swiper-wrapper {
    height: auto;
    padding-bottom: 20px;
}

/* ── Swiper nav buttons ──────────────────────────────────── */
.swiper-buttons.top-right {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    display: flex;
    gap: 10px;
    padding: 10px;
}

.swiper-button-prev-custom img,
.swiper-button-next-custom img {
    width: 35px;
    height: 35px;
}

/* ── Blogs right link ────────────────────────────────────── */
.blogs-right { text-align: right; }

a.blogs-slider-readmore {
    color: #00267a;
    background: white;
    padding: 11px 24px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 3px;
}

/* ── Blog Posts Section ──────────────────────────────────── */
#hp-posts { overflow: hidden; }

/* ── Section underline ───────────────────────────────────── */
.section-underline {
    width: 50px;
    height: 3px;
    background-color: #17326a;
    margin-top: 10px;
}

/* ── Commit box ──────────────────────────────────────────── */
.commit-sec .col-6.col-md-4.col-lg-2 {
    padding-left: 8px;
    padding-right: 8px;
}

.commit-box {
    background-color: #fff;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.commit-box p {
    font-size: 16px;
    line-height: 24px;
}

.commit-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* ── Practice Leaders ────────────────────────────────────── */
.pract-leaders {
    background: url('../../../uploads/2025/05/Practice-Leaders_bnr.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.pract-leaders .img-wrapper img {
    min-height: 360px;
    border-radius: 15px !important;
    filter: drop-shadow(-4px 5px 0px #F2C433);
    padding: 0;
}

.pract-leaders .img-wrapper {
    padding: 10px;
}

.name-wrapper { text-align: center; }

/* ── Partner / Misc ──────────────────────────────────────── */
.partner-detail-content {
    padding: 20px 15px 5px 15px;
}

.partner-detail-content h5 {
    color: #00267a;
    font-weight: 500;
}

.why-table-container {
    width: 100%;
    overflow-x: auto;
}

/* ── Accordion (FAQ) ─────────────────────────────────────── */
.accordion-container .accordion .card {
    margin: 15px 0;
}

.accordion-container button.btn.btn-link.btn-block.text-left {
    color: black;
    font-weight: 600;
    text-decoration: none;
    border: none;
}

.accordion-container .btn:focus,
.accordion-container .btn:active,
.accordion-container .btn:hover,
.accordion-container .btn:focus:active {
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

.accordion-container .btn::after {
    content: "";
    float: right;
    width: 20px;
    height: 20px;
    background-image: url('../../../uploads/2025/04/faq-bg-button-plus.png');
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.accordion-container .btn:not(.collapsed)::after {
    background-image: url('../../../uploads/2025/04/faq-bg-button.png');
}

/* ── Read more toggle ────────────────────────────────────── */
.more-content { display: none; }

.read-more-btn {
    color: #00267a;
    cursor: pointer;
    display: inline-block;
    margin-top: 0;
    margin-bottom: 10px;
    text-decoration: underline;
}

/* ── Phone / Form helpers ────────────────────────────────── */
.contact-form-col .wpcf7, form { height: 100%; }

.contact-form-col .row .col-lg-6 p {
    margin: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner { height: 60px; }

.phone-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
    max-width: 320px;
}

.country-code {
    background: #f5f5f5;
    padding: 10px 12px;
    font-weight: bold;
    color: #000;
    border-right: 1px solid #ccc;
}

.phone-input {
    border: none;
    flex: 1;
    padding: 10px 12px;
    font-size: 16px;
}

.phone-input:focus {
    outline: none;
    box-shadow: none;
}

.talk-to-PKC {
    text-decoration: none;
    color: rgba(0, 38, 122, 1);
    background-color: white;
    padding: 15px 30px;
    width: fit-content;
}

.talk-to-PKC:hover { scale: 1.12; }
.talk-to-PKC a { text-decoration: none; color: rgba(0, 38, 122, 1); }

.various-ind-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

p.city-name.text-blue.fs-20.fw-600.text-center { font-size: 18px !important; }

.city-icon.ring {
    border-radius: 100%;
    border: 1px solid black;
    height: 122px;
    width: 122px;
    padding: 9px;
}

/* ── Responsive: max-width 767px ─────────────────────────── */
@media (max-width: 767px) {
    h1 { font-size: 34px !important; }

    .banner-sec { text-align: center; }

    .hero-left-content {
        text-align: center;
        margin-bottom: 2rem;
    }

    .lxd { font-size: 2rem; }

    .action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-top: 2rem;
    }

    .landing_middle_section_metrics_section { justify-content: center; }

    .landing_middle_section_metrics_section_content {
        text-align: center;
        padding: 0 10px;
    }

    .landing_middle_section_metrics_section_content:not(:last-child)::after {
        display: none;
    }

    .site-title a {
        text-align: start !important;
        padding-left: 5px;
    }

    .site-title a img { max-height: 50px !important; }

    .contact-form-col .span.wpcf7-spinner { display: none !important; }
    span.wpcf7-spinner { display: none !important; }

    .form-container .col-lg-5 { padding-right: 15px; }

    .phone-wrapper {
        max-width: unset;
        width: 100% !important;
    }

    .contact-form-col .row .col-lg-6 p { width: 100%; }
    input.wpcf7-form-control.wpcf7-submit.has-spinner { width: 100%; }

    a.cstudy-post {
        min-height: 360px !important;
    }

    .swiper-button-prev.cs-swiper-startup-prev::after {
        font-size: 13px;
        padding: 6px 9px;
    }

    .swiper-button-next.cs-swiper-startup-next::after {
        font-size: 13px;
        padding: 6px 9px;
    }

    .listen-to-our-sec { padding-bottom: 0; }

    .swiper-button-prev.cs-swiper-startup-prev { left: 3%; }
    .swiper-button-next.cs-swiper-startup-next { right: 75%; }

    .clickbg {
        flex-direction: column;
        padding: 30px 15px;
        max-width: 90%;
    }

    .click-in h2 {
        font-size: 22px;
        white-space: normal;
    }

    .click-in p { font-size: 15px; text-align: center; }

    .pkc-sliding-btn {
        width: 100%;
        max-width: 300px;
    }

    .floating-circle,
    .floating-dot,
    .floating-lines { display: none; }

    .ind-col-why-choose { height: 100%; }

    .lt-cli-swiper .swiper-buttons { top: 35%; }

    .vid-test { width: 100%; }
}

/* ── Responsive: 650px ───────────────────────────────────── */
@media (max-width: 650px) {
    .the-inner-row {
        height: 500px;
        overflow-y: auto;
    }
}

/* ── Responsive: 991px (tablet) ─────────────────────────── */
@media only screen and (max-width: 991px) {
    .banner-sec div#content { width: 95%; }
}

/* ── Responsive: 768–1024px ──────────────────────────────── */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .lp-secondary-nav { top: 6.5% !important; }
}

/* ── h1 global on service pages ──────────────────────────── */
h1 { font-size: 42px; }

/* ── Our Success Stories (highlight cards) ───────────────── */
.success-stories {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}
.success-stories::before {
    content: '';
    position: absolute;
    top: -120px; left: -120px;
    width: 400px; height: 400px;
    background: rgba(0,38,122,0.05);
    border-radius: 50%;
    z-index: 0;
}
.success-stories .section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}
.success-stories .section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #00267A;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}
.success-stories .section-title h2::after {
    content: '';
    display: block;
    width: 80px; height: 4px;
    background: #f2c433;
    margin: 14px auto 0;
    border-radius: 2px;
}
.success-stories .story-card {
    background: #fff;
    border-radius: 14px;
    padding: 35px 28px;
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
    transition: all .35s ease;
    height: 100%;
    position: relative;
    z-index: 1;
}
.success-stories .story-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 18px 40px rgba(0,0,0,.15);
}
.success-stories .story-subtitle {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 22px;
    color: #00267A;
    line-height: 1.4;
}
.success-stories ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.success-stories ul li {
    margin-bottom: 14px;
    padding-left: 32px;
    position: relative;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
    transition: all .3s ease;
}
.success-stories ul li::before {
    content: '✔';
    position: absolute;
    left: 0; top: 0;
    color: #f2c433;
    font-weight: bold;
    font-size: 16px;
    opacity: .8;
    transform: translateX(-5px);
    transition: all .3s ease;
}
.success-stories ul li:hover::before {
    transform: translateX(0);
    opacity: 1;
}

/* ── Logo Ticker (Growth Partner) ────────────────────────── */
#clntlogsld .owl-item img {
    max-height: 60px;
    width: auto !important;
    object-fit: contain;
    filter: grayscale(40%);
    transition: filter .3s;
    margin: 0 auto;
}
#clntlogsld .owl-item img:hover {
    filter: grayscale(0%);
}
