.kkm-about-page-hero,
.kkm-about-page-hero * {
    box-sizing: border-box;
}

.kkm-about-page-hero {
    --kkm-about-page-hero-container-width: 1400px;
    --kkm-about-page-hero-image-width: 55%;
    --kkm-about-page-hero-mobile-image-height: 380px;
    position: relative;
    min-height: 628px;
    padding: 100px 20px 96px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #f5f8fd;
    font-family: "Inter", Arial, sans-serif;
    isolation: isolate;
}

.kkm-about-page-hero::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 68%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.70) 48%, rgba(255,255,255,0) 100%);
}

.kkm-about-page-hero::after {
    content: "";
    position: absolute;
    top: -6%;
    bottom: -8%;
    left: 37%;
    width: 28%;
    z-index: 2;
    pointer-events: none;
    background: rgba(255,255,255,0.44);
    transform: skewX(-30deg);
    transform-origin: center;
}

.kkm-about-page-hero__container {
    width: 100%;
    max-width: var(--kkm-about-page-hero-container-width);
    margin: 0 auto;
    position: relative;
    z-index: 4;
}

.kkm-about-page-hero__content {
    width: 100%;
    max-width: 620px;
    position: relative;
    z-index: 5;
}

.kkm-about-page-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 17px;
    color: #ff6a00;
    font-family: "Inter", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.kkm-about-page-hero__eyebrow::before {
    content: "";
    flex: 0 0 auto;
    width: 34px;
    height: 2px;
    background: #ff6a00;
}

.kkm-about-page-hero__title {
    margin: 0 0 28px;
    color: #0d3474;
    font-family: "Poppins", Arial, sans-serif;
    font-size: clamp(40px, 3.15vw, 58px);
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -0.045em;
}

.kkm-about-page-hero__title-line {
    display: block;
}

.kkm-about-page-hero__title-line span + span {
    margin-left: 10px;
}

.kkm-about-page-hero__highlight {
    color: #ff6a00;
}

.kkm-about-page-hero__description {
    width: 100%;
    max-width: 635px;
    margin: 0;
    color: #1f2937;
    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
}

.kkm-about-page-hero__description p {
    margin: 0 0 14px;
}

.kkm-about-page-hero__description p:last-child {
    margin-bottom: 0;
}

.kkm-about-page-hero__visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: var(--kkm-about-page-hero-image-width);
    z-index: 1;
    overflow: hidden;
    clip-path: ellipse(102% 118% at 100% 50%);
    background: #dce7f6;
}

.kkm-about-page-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none !important;
    object-fit: cover;
    object-position: center center;
}

.kkm-about-page-hero__powerlines {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44%;
    height: 48%;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain;
    opacity: 0.14;
    pointer-events: none;
}

/* Keep this widget aligned with the KKM full-width section system */
.elementor-widget-kkm_2026_about_page_hero,
.elementor-widget-kkm_2026_about_page_hero .elementor-widget-container {
    width: 100% !important;
    max-width: none !important;
    overflow: visible;
}

@media (min-width: 1025px) {
    .kkm-about-page-hero__visual {
        border-radius: 0 !important;
    }
}

@media (max-width: 1200px) {
    .kkm-about-page-hero {
        --kkm-about-page-hero-image-width: 52%;
    }

    .kkm-about-page-hero__content {
        max-width: 560px;
    }

    .kkm-about-page-hero__title {
        font-size: clamp(38px, 4vw, 50px);
    }
}

@media (max-width: 1024px) {
    .kkm-about-page-hero {
        min-height: auto;
        padding: 70px 20px;
        display: block;
    }

    .kkm-about-page-hero::before {
        width: 100%;
        background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.82) 52%, rgba(255,255,255,0.62) 100%);
    }

    .kkm-about-page-hero::after {
        display: none;
    }

    .kkm-about-page-hero__container {
        max-width: min(var(--kkm-about-page-hero-container-width), 100%);
    }

    .kkm-about-page-hero__content {
        max-width: 100%;
    }

    .kkm-about-page-hero__visual {
        position: relative;
        inset: auto;
        width: 100%;
        height: var(--kkm-about-page-hero-mobile-image-height);
        margin: 38px auto 0;
        z-index: 4;
        clip-path: none;
        border-radius: 26px;
        box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
    }

    .kkm-about-page-hero__powerlines {
        width: 70%;
        height: 34%;
        opacity: 0.09;
    }
}

@media (max-width: 767px) {
    .kkm-about-page-hero {
        padding: 56px 16px;
    }

    .kkm-about-page-hero__eyebrow {
        gap: 10px;
        font-size: 13px;
        margin-bottom: 14px;
    }

    .kkm-about-page-hero__eyebrow::before {
        width: 26px;
    }

    .kkm-about-page-hero__title {
        margin-bottom: 22px;
        font-size: clamp(32px, 9vw, 42px);
        line-height: 1.15;
        letter-spacing: -0.035em;
    }

    .kkm-about-page-hero__title-line span + span {
        margin-left: 7px;
    }

    .kkm-about-page-hero__description {
        font-size: 15px;
        line-height: 1.65;
    }

    .kkm-about-page-hero__visual {
        height: min(var(--kkm-about-page-hero-mobile-image-height), 310px);
        margin-top: 30px;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .kkm-about-page-hero__title-line span + span {
        display: inline;
        margin-left: 6px;
    }

    .kkm-about-page-hero__visual {
        height: 250px;
    }
}

/* KKM v9.0.7 full-page same-width alignment patch
   Keeps every KKM widget aligned to the header container width. */
:root {
    --kkm-global-container-width: 1400px;
}

body:not(.elementor-editor-active) .elementor-widget-kkm_2026_header,
body:not(.elementor-editor-active) .elementor-widget-kkm_2026_footer,
body:not(.elementor-editor-active) .elementor-widget-kkm_2026_hero,
body:not(.elementor-editor-active) .elementor-widget-kkm_2026_about,
body:not(.elementor-editor-active) .elementor-widget-kkm_2026_about_page_hero,
body:not(.elementor-editor-active) .elementor-widget-kkm_2026_about_intro,
body:not(.elementor-editor-active) .elementor-widget-kkm_2026_about_why_choose,
body:not(.elementor-editor-active) .elementor-widget-kkm_2026_about_final_cta,
body:not(.elementor-editor-active) .elementor-widget-kkm_2026_why_choose,
body:not(.elementor-editor-active) .elementor-widget-kkm_2026_core_services,
body:not(.elementor-editor-active) .elementor-widget-kkm_2026_process,
body:not(.elementor-editor-active) .elementor-widget-kkm_2026_products,
body:not(.elementor-editor-active) .elementor-widget-kkm_2026_project_experience,
body:not(.elementor-editor-active) .elementor-widget-kkm_2026_industries,
body:not(.elementor-editor-active) .elementor-widget-kkm_2026_vision_mission,
body:not(.elementor-editor-active) .elementor-widget-kkm_2026_final_cta,
body:not(.elementor-editor-active) .elementor-widget-kkm_2026_contact,
body:not(.elementor-editor-active) .elementor-widget-kkm_2026_website_fix,
body:not(.elementor-editor-active) .elementor-widget-kkm_2026_partners {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

.elementor-widget-kkm_2026_header .elementor-widget-container,
.elementor-widget-kkm_2026_footer .elementor-widget-container,
.elementor-widget-kkm_2026_hero .elementor-widget-container,
.elementor-widget-kkm_2026_about .elementor-widget-container,
.elementor-widget-kkm_2026_about_page_hero .elementor-widget-container,
.elementor-widget-kkm_2026_about_intro .elementor-widget-container,
.elementor-widget-kkm_2026_about_why_choose .elementor-widget-container,
.elementor-widget-kkm_2026_about_final_cta .elementor-widget-container,
.elementor-widget-kkm_2026_why_choose .elementor-widget-container,
.elementor-widget-kkm_2026_core_services .elementor-widget-container,
.elementor-widget-kkm_2026_process .elementor-widget-container,
.elementor-widget-kkm_2026_products .elementor-widget-container,
.elementor-widget-kkm_2026_project_experience .elementor-widget-container,
.elementor-widget-kkm_2026_industries .elementor-widget-container,
.elementor-widget-kkm_2026_vision_mission .elementor-widget-container,
.elementor-widget-kkm_2026_final_cta .elementor-widget-container,
.elementor-widget-kkm_2026_contact .elementor-widget-container,
.elementor-widget-kkm_2026_website_fix .elementor-widget-container,
.elementor-widget-kkm_2026_partners .elementor-widget-container {
    width: 100% !important;
    max-width: none !important;
}

.kkm-header__container,
.kkm-footer__container,
.kkm-hero__container,
.kkm-about__container,
.kkm-about-page-hero__container,
.kkm-about-intro__container,
.kkm-about-why__container,
.kkm-about-final-cta__container,
.kkm-why__container,
.kkm-core-services__container,
.kkm-process__container,
.kkm-products__container,
.kkm-project-exp__container,
.kkm-industries__container,
.kkm-vm__container,
.kkm-final-cta__container,
.kkm-contact__container,
.kkm-webfix__container,
.kkm-partners__container {
    width: min(100%, var(--kkm-global-container-width)) !important;
    max-width: var(--kkm-global-container-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

@media (min-width: 768px) {
    .kkm-header__container,
    .kkm-footer__container,
    .kkm-hero__container,
    .kkm-about__container,
    .kkm-about-page-hero__container,
    .kkm-about-intro__container,
    .kkm-about-why__container,
    .kkm-about-final-cta__container,
    .kkm-why__container,
    .kkm-core-services__container,
    .kkm-process__container,
    .kkm-products__container,
    .kkm-project-exp__container,
    .kkm-industries__container,
    .kkm-vm__container,
    .kkm-final-cta__container,
    .kkm-contact__container,
    .kkm-webfix__container,
    .kkm-partners__container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 767px) {
    .kkm-header__container,
    .kkm-footer__container,
    .kkm-hero__container,
    .kkm-about__container,
    .kkm-about-page-hero__container,
    .kkm-about-intro__container,
    .kkm-about-why__container,
    .kkm-about-final-cta__container,
    .kkm-why__container,
    .kkm-core-services__container,
    .kkm-process__container,
    .kkm-products__container,
    .kkm-project-exp__container,
    .kkm-industries__container,
    .kkm-vm__container,
    .kkm-final-cta__container,
    .kkm-contact__container,
    .kkm-webfix__container,
    .kkm-partners__container {
        width: 100% !important;
        max-width: 100% !important;
    }
}


/* KKM v9.0.33 mobile hero spacing patch: reduces extra space around text and image. */
@media (max-width: 767px) {
    .kkm-about-page-hero {
        padding-top: 42px !important;
        padding-bottom: 42px !important;
    }

    .kkm-about-page-hero__visual {
        margin-top: 18px !important;
    }
}


/* KKM v9.0.34 mobile full-width breakout safety fix */
@media (max-width: 767px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    body:not(.elementor-editor-active) .elementor-widget-kkm_2026_about_page_hero {
        width: auto !important;
        max-width: none !important;
        left: auto !important;
        right: auto !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        overflow-x: clip !important;
    }
}

/* KKM v9.0.40 mobile hero image swap */
.kkm-about-page-hero__image--mobile {
    display: none;
}

@media (max-width: 767px) {
    .kkm-about-page-hero--has-mobile-image .kkm-about-page-hero__image--desktop {
        display: none !important;
    }

    .kkm-about-page-hero--has-mobile-image .kkm-about-page-hero__image--mobile {
        display: block !important;
    }
}
