
/* =========================================
   KB7 CARE HERO VIDEO
========================================= */

.kb7-hero-section {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;

    background-color: #32104f;
    line-height: 0;
}

/* Hero video */

.kb7-hero-video {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;

    object-fit: cover;
    object-position: center;
}


/* =========================================
   KB7 CARE HERO TEXT — FULL-SIZE DESIGN
========================================= */

.kb7-hero-section {
    position: relative;
    width: 100%;
    min-height: clamp(560px, 42vw, 760px);
}

@media (min-width: 768px) {
    .kb7-hero-video {
        height: clamp(560px, 42vw, 760px);
        object-fit: cover;
    }
}

/* Text container */
.kb7-hero-text {
    position: absolute;
    top: 13%;
    left: 4%;
    z-index: 2;

    width: 49%;
    max-width: 760px;

    color: #ffffff;
    transform: none;
}

.kb7-hero-brand {
    position: absolute;
    top: 14%;
    right: 8%;
    z-index: 2;
    color: #fff;
    text-align: left;
}

.kb7-hero-brand img {
    display: block;
    width: 92px;
    height: 92px;
    margin-bottom: 8px;
    object-fit: contain;
}

.kb7-hero-brand h2 {
    margin: 0 0 5px;
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1;
}

.kb7-hero-brand p {
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: clamp(.9rem, 1.3vw, 1.2rem);
    line-height: 1.35;
}

/* Trust badge */
.kb7-hero-text .kb7-hero-trust {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 22px;
    padding: 10px 16px;

    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;

    font-size: 14px;
    font-weight: 500;
}

.kb7-hero-text .kb7-hero-trust i {
    color: #9cdb45;
    font-size: 19px;
}

/* Main heading */
.kb7-hero-text h1 {
    margin: 0 0 20px;

    color: #ffffff;
    font-size: clamp(38px, 4.2vw, 66px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.8px;
}

.kb7-hero-text h1 span {
    color: #91cf38;
}

/* Description */
.kb7-hero-text > p {
    max-width: 620px;
    margin: 0 0 28px;

    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(15px, 1.15vw, 19px);
    font-weight: 400;
    line-height: 1.75;
}

/* Buttons */
.kb7-hero-text .kb7-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.kb7-hero-text .kb7-hero-btn,
.kb7-hero-text .kb7-hero-btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    min-height: 54px;
    padding: 13px 25px;

    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.kb7-hero-text .kb7-hero-btn i {
    font-size: 21px;
}

/* Primary button */
.kb7-hero-text .kb7-hero-btn-primary {
    color: #ffffff;
    background: linear-gradient(120deg, #bd2bd6, #7825c6);
    border: 1px solid transparent;
}

.kb7-hero-text .kb7-hero-btn-primary:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

/* Secondary button */
.kb7-hero-text .kb7-hero-btn-outline {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.kb7-hero-text .kb7-hero-btn-outline:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

/* Quick trust points along the bottom of the hero */
.kb7-hero-proof {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 12px 14px 13px;
    /* border-top: 1px solid rgba(255, 255, 255, 0.2); */
    background: linear-gradient(
        105deg,
        rgba(50, 16, 79, .68) 0%,
        rgba(69, 24, 121, .62) 48%,
        rgba(50, 16, 79, .74) 100%
    );
    backdrop-filter: blur(1px);
    color: #fff;
    
}

.kb7-hero-proof-award {
    align-items: center;
}

.kb7-hero-proof-award > div {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 0;
    flex-wrap: nowrap;
    text-align: center;
}

.kb7-hero-proof-award img {
    display: block;
    width: 102px;
    height: auto;
    object-fit: contain;
    mix-blend-mode: screen;
}

.kb7-hero-proof-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 0;
    padding: 0 12px;
}

/* .kb7-hero-proof-item + .kb7-hero-proof-item {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
} */

.kb7-hero-proof-item > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #b8ec55;
    background: rgba(255, 255, 255, 0.12);
    font-size: 14px;
}

.kb7-hero-proof-item div {
    min-width: 0;
}

.kb7-hero-proof-item strong,
.kb7-hero-proof-item span {
    display: block;
}

.kb7-hero-proof-item strong {
    margin-bottom: 3px;
    font-size: clamp(26px, 2.1vw, 38px);
    font-weight: 800;
    line-height: 1;
}

.kb7-hero-proof-item span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 20px;
    line-height: 1.4;
}

/* =========================================
   LAPTOPS
========================================= */

@media (min-width: 1200px) {
    .kb7-hero-text {
        width: 52%;
        max-width: 800px;
    }

    .kb7-hero-text h1 {
        font-size: clamp(52px, 4vw, 72px);
    }
}

/* =========================================
   TABLETS
========================================= */

@media (max-width: 991.98px) {
    .kb7-hero-text {
        left: 4%;
        width: 58%;
    }

    .kb7-hero-text h1 {
        font-size: clamp(34px, 5vw, 48px);
        letter-spacing: -1px;
    }

    .kb7-hero-text > p {
        font-size: 14px;
    }

    .kb7-hero-text .kb7-hero-btn {
        min-height: 48px;
        padding: 11px 18px;
        font-size: 13px;
    }
}

/* =========================================
   MOBILE
========================================= */

/* =========================================
   HOMEPAGE FAQs
========================================= */
.kb7-home-faq-section {
    padding: 46px 0 58px;
    background: #fff;
    color: #17113b;
    overflow-x: hidden;
}

.kb7-home-faq-section > .container-fluid {
    width: 100%;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
}

.kb7-home-faq-heading {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 30px;
    text-align: center;
}

.kb7-home-faq-heading h2 {
    margin: 0 0 5px;
    color: var(--kb7-footer-purple, #32104f);
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 500;
}

.kb7-home-faq-heading p {
    margin: 0;
    color: #4b4655;
    font-size: 1rem;
}

.kb7-home-faq-list {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(50, 16, 79, .04);
}

.kb7-home-faq-item {
    border-bottom: 1px solid #eeeaf5;
}

.kb7-home-faq-item:last-child {
    border-bottom: 0;
}

.kb7-home-faq-item summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 62px;
    padding: 14px 22px;
    color: #17113b;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.kb7-home-faq-item summary::-webkit-details-marker {
    display: none;
}

.kb7-home-faq-item summary > span:nth-child(2) {
    flex: 0 1 auto;
    text-align: center;
}

.kb7-home-faq-icon {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border: 1px solid #e3dcf1;
    border-radius: 5px;
    color: #9c8dca;
    font-size: .72rem;
}

.kb7-home-faq-chevron {
    position: absolute;
    right: 22px;
    color: #9c8dca;
    font-size: .7rem;
    transition: transform .2s ease;
}

.kb7-home-faq-item[open] summary {
    background: #f6f3fc;
    color: var(--kb7-footer-purple, #32104f);
}

.kb7-home-faq-item[open] .kb7-home-faq-chevron {
    color: #7e42c2;
    transform: rotate(180deg);
}

.kb7-home-faq-answer {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px 18px;
    color: #77708f;
    font-size: .92rem;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 575.98px) {
    .kb7-home-faq-section { padding: 34px 0 42px; }
    .kb7-home-faq-heading { margin-bottom: 22px; }
    .kb7-home-faq-heading p { font-size: .76rem; }
    .kb7-home-faq-item summary { padding: 13px 46px; font-size: .76rem; }
    .kb7-home-faq-chevron { right: 14px; }
    .kb7-home-faq-answer { padding: 0 20px 16px; font-size: .72rem; }
}

@media (max-width: 575.98px) {
    .kb7-hero-text {
        left: 5%;
        width: 90%;
    }

    .kb7-hero-text .kb7-hero-trust {
        margin-bottom: 15px;
        padding: 8px 12px;
        font-size: 11px;
    }

    .kb7-hero-text h1 {
        margin-bottom: 14px;
        font-size: clamp(31px, 8.5vw, 42px);
        line-height: 1.12;
        letter-spacing: -0.8px;
    }

    .kb7-hero-text > p {
        margin-bottom: 20px;
        font-size: 13px;
        line-height: 1.65;
    }

    .kb7-hero-text .kb7-hero-actions {
        gap: 10px;
    }

    .kb7-hero-text .kb7-hero-btn,
    .kb7-hero-text .kb7-hero-btn:visited {
        min-height: 44px;
        gap: 10px;
        padding: 10px 14px;
        font-size: 12px;
    }

    .kb7-hero-text .kb7-hero-btn i {
        font-size: 17px;
    }
}

@media (max-width: 767.98px) {
    .kb7-hero-proof {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 14px 10px 16px;
    }

    .kb7-hero-proof-item {
        gap: 8px;
        padding: 10px 8px;
    }

    .kb7-hero-proof-item:nth-child(3) {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .kb7-hero-proof-item:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .kb7-hero-proof-item > i {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
        font-size: 15px;
    }

    .kb7-hero-proof-award img {
        width: 78px;
        height: 50px;
    }

    .kb7-hero-proof-item strong {
        font-size: 20px;
    }

    .kb7-hero-proof-item span {
        font-size: 9px;
    }
}



/* Desktop */

@media (min-width: 1200px) {
    .kb7-hero-section {
        width: 100%;
    }

    .kb7-hero-video {
        width: 100%;
        height: auto;
    }
}

/* Tablet */

@media (min-width: 577px) and (max-width: 1199.98px) {
    .kb7-hero-video {
        width: 100%;
        height: auto;
    }
}

/* Mobile */

@media (max-width: 576px) {
    .kb7-hero-section {
        width: 100%;
    }

    .kb7-hero-video {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center;
    }
}

/* =========================================
   KB7 CARE — RESPONSIVE HERO VIDEOS
========================================= */

/* Desktop video is shown by default */
.kb7-hero-video-desktop {
    display: block;
}

.kb7-hero-video-mobile {
    display: none;
}

/* Keep both videos consistent with your design */
.kb7-hero-video {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: center;
}

/* =========================================
   MOBILE VIDEO
========================================= */

@media (max-width: 575.98px) {

    .kb7-hero-video-desktop {
        display: none;
    }

    .kb7-hero-video-mobile {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: center;
    }

    /* Preserve the existing text overlay positioning */
    .kb7-hero-section {
        position: relative;
        width: 100%;
        overflow: hidden;
    }
}



/* =========================================
   KB7 CARE SERVICE HIGHLIGHTS
========================================= */

.kb7-service-bar {
    width: 100%;
    overflow: hidden;
    color: #ffffff;

    background: linear-gradient(
        105deg,
        #32104f 0%,
        #451879 48%,
        #32104f 100%
    );

    border-top: 2px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.kb7-service-bar .row {
    min-height: 250px;
    justify-content: center;
}

.kb7-service-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    height: 250%;
    min-height: 82px;
    padding: 14px 12px;

    color: #ffffff;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
}

.kb7-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 39px;

    width: 39px;
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
}

.kb7-service-item span {
    display: block;
    min-width: 0;
}

@media (min-width: 1200px) {
    .kb7-service-bar .col-xl-2:not(:last-child)
    .kb7-service-item {
        border-right: 0;
    }
}


/* =========================================
   GLOBAL PRESENCE BAR
========================================= */

.kb7-global-bar {
    width: 100%;
    overflow: hidden;

    color: #30233d;
    background: #ffffff;

    border-bottom: 1px solid #e8e3ed;
    box-shadow: 0 2px 8px rgba(40, 15, 65, 0.04);
}

.kb7-global-bar > .container-fluid > .row {
    min-height: 78px;
}


/* =========================================
   FIXED INTRODUCTION
========================================= */

.kb7-global-intro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 54px;
    padding: 12px 10px;

    color: #7826bb;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.kb7-global-intro i {
    flex: 0 0 auto;
    font-size: 21px;
}


/* =========================================
   SCROLLING VIEWPORT
========================================= */

.kb7-global-marquee {
    position: relative;
    min-width: 0;
    overflow: hidden;

    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 3%,
        #000 97%,
        transparent 100%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 3%,
        #000 97%,
        transparent 100%
    );
}


/* =========================================
   CONTINUOUS SCROLL TRACK
========================================= */

.kb7-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;

    animation: kb7-country-scroll 28s linear infinite;
    will-change: transform;
}

/* Static country display — looping temporarily disabled */
.kb7-marquee-track {
    width: 100%;
    transform: none;
    animation: none;
}

.kb7-static-countries {
    width: 100%;
    justify-content: space-between;
}

.kb7-static-countries .kb7-country-item {
    flex: 1 1 0;
    width: auto;
}

@media (max-width: 767.98px) {
    .kb7-static-countries {
        flex-wrap: wrap;
    }

    .kb7-static-countries .kb7-country-item {
        flex: 1 1 50%;
        width: 50%;
    }
}

.kb7-marquee-group {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}


/* =========================================
   COUNTRY ITEMS
========================================= */

.kb7-country-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;

    flex: 0 0 220px;
    width: 220px;
    min-height: 64px;
    padding: 10px 20px;

    border-left: 1px solid #e8e1ee;
}

.kb7-country-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;

    width: 42px;
    font-size: 31px;
    line-height: 1;
}

.kb7-country-flag img {
    display: block;
    width: 34px;
    height: 23px;
    object-fit: cover;
    border-radius: 2px;
}

.kb7-country-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.kb7-country-info strong {
    color: #30233d;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
}

.kb7-country-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    color: #77717e;
    font-size: 11px;
    line-height: 1.3;
    white-space: nowrap;
}


/* =========================================
   ACTIVE STATUS BLINK
========================================= */

.kb7-status-dot {
    display: inline-block;
    flex: 0 0 7px;

    width: 7px;
    height: 7px;

    border-radius: 50%;
}

.kb7-status-active {
    background: #78d34a;
    box-shadow: 0 0 0 0 rgba(120, 211, 74, 0.5);

    animation: kb7-status-blink 1.6s ease-in-out infinite;
}

.kb7-status-coming {
    background: #b9b4c1;
}

@keyframes kb7-status-blink {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(120, 211, 74, 0.45);
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 0 5px rgba(120, 211, 74, 0);
    }
}


/* =========================================
   HORIZONTAL SCROLL ANIMATION
========================================= */

@keyframes kb7-country-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Pause scrolling when hovered or focused */

.kb7-global-marquee:hover .kb7-marquee-track,
.kb7-global-marquee:focus-within .kb7-marquee-track {
    animation-play-state: paused;
}


/* =========================================
   TABLET RESPONSIVENESS
========================================= */

@media (max-width: 1199.98px) {
    .kb7-service-bar .row {
        min-height: auto;
    }

    .kb7-service-item {
        justify-content: flex-start;
        gap: 12px;

        min-height: 76px;
        padding: 14px 18px;

        font-size: 13px;
    }

    .kb7-service-bar .col-md-4 .kb7-service-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .kb7-global-bar > .container-fluid > .row {
        min-height: auto;
    }

    .kb7-global-intro {
        justify-content: flex-start;
        padding: 14px 8px;
    }

    .kb7-country-item {
        flex-basis: 200px;
        width: 200px;
    }
}


/* =========================================
   MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 575.98px) {
    .kb7-service-item {
        justify-content: flex-start;
        gap: 9px;

        min-height: 72px;
        padding: 12px 8px;

        font-size: 11px;
    }

    .kb7-service-icon {
        flex-basis: 28px;
        width: 28px;
        font-size: 26px;
    }

    .kb7-service-bar .col-6:nth-child(odd)
    .kb7-service-item {
        border-right: 1px solid rgba(255, 255, 255, 0.16);
    }

    .kb7-global-intro {
        justify-content: center;
        padding: 14px 4px;
        font-size: 12px;
        text-align: center;
    }

    .kb7-country-item {
        flex-basis: 185px;
        width: 185px;
        gap: 9px;
        padding: 10px 14px;
    }

    .kb7-country-flag {
        flex-basis: 30px;
        width: 30px;
        font-size: 25px;
    }

    .kb7-country-info strong {
        font-size: 12px;
    }

    .kb7-country-status {
        font-size: 10px;
    }
}


/* =========================================
   KB7 CARE SERVICES DIRECTORY
========================================= */

.kb7-services-directory {
    --kb7-purple: #6540b4;
    --kb7-purple-dark: #32104f;
    --kb7-purple-light: #8059c9;
    --kb7-card-text: #24234f;

    position: relative;
    overflow: hidden;
    background: #fcfbfe;
    color: var(--kb7-card-text);
}

/* Section heading */

.kb7-directory-heading {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
}

.kb7-directory-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;

    color: var(--kb7-purple);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 1.5px;
}

.kb7-directory-eyebrow i {
    color: #dca343;
}

.kb7-directory-heading h2 {
    margin: 0 0 10px;
    color: var(--kb7-purple-dark);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 750;
    letter-spacing: -0.8px;
}

.kb7-directory-heading p {
    margin: 0;
    color: #6b6577;
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================
   SERVICE CARDS
========================================= */

.kb7-directory-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    min-width: 0;
    min-height: 350px;
    height: 100%;
    padding: 32px 25px 0;

    overflow: hidden;
    text-align: center;

    background: #ffffff;
    border: 1px solid #efedf4;
    border-radius: 12px;

    box-shadow: 0 8px 28px rgba(43, 24, 76, 0.045);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* Hover interaction */

.kb7-directory-card:hover {
    transform: translateY(-6px);
    border-color: #d8c8f0;
    box-shadow: 0 18px 38px rgba(65, 32, 112, 0.11);
}


/* =========================================
   PURPLE CIRCULAR ICON
========================================= */

.kb7-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 96px;

    width: 96px;
    height: 96px;
    margin: 5px auto 20px;

    color: #ffffff;
    background: linear-gradient(
        145deg,
        #8060c6 0%,
        #6744ae 100%
    );

    border-radius: 50%;

    box-shadow: 0 12px 24px rgba(93, 57, 163, 0.17);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.kb7-card-icon i {
    font-size: 39px;
    line-height: 1;
}

.kb7-directory-card:hover .kb7-card-icon {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 15px 28px rgba(93, 57, 163, 0.24);
}



/* =========================================
   KB7 CARE NDIS BADGE
========================================= */

.kb7-directory-card {
    position: relative;
}

.kb7-card-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;

    display: block;
    width: 52px;
    height: 74px;

    padding: 0;
    margin: 0;

    overflow: hidden;
    pointer-events: none;
}

.kb7-card-badge-img {
    display: block;
    position: static;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: top left;
}

/* Tablet */
@media (max-width: 991.98px) {
    .kb7-card-badge {
        top: 15px;
        left: 15px;
        width: 46px;
        height: 66px;
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .kb7-card-badge {
        top: 12px;
        left: 12px;
        width: 38px;
        height: 55px;
    }
}


/* =========================================
   CARD CONTENT
========================================= */

.kb7-directory-card h3 {
    width: 100%;
    margin: 0 0 14px;

    color: #252452;
    font-size: 19px;
    font-weight: 750;
    line-height: 1.4;
    letter-spacing: -0.25px;
}

.kb7-directory-card p {
    max-width: 360px;
    margin: 0 auto 24px;

    color: #55517f;
    font-size: 14px;
    line-height: 1.65;
}


/* =========================================
   CARD FOOTER / VIEW SERVICES
========================================= */

.kb7-card-footer {
    display: flex;
    align-items: center;
    justify-content: center;

    width: calc(100% + 50px);
    min-height: 66px;
    margin-top: auto;
    padding: 12px 15px;

    border-top: 1px solid #f0edf5;
    background: #ffffff;
}

.kb7-card-link,
.kb7-card-link:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    color: #5d3ca6;
    font-size: 16px;
    font-weight: 750;
    text-decoration: none !important;

    transition:
        color 0.25s ease,
        gap 0.25s ease;
}

.kb7-card-link i {
    font-size: 19px;
    transition: transform 0.25s ease;
}

.kb7-card-link:hover {
    color: #8b35c9;
    text-decoration: none !important;
    gap: 17px;
}

.kb7-card-link:hover i {
    transform: translateX(3px);
}


/* =========================================
   RESPONSIVE: DESKTOP
========================================= */

@media (min-width: 1200px) {
    .kb7-services-directory .row {
        align-items: stretch;
    }

    .kb7-directory-card {
        min-height: 365px;
    }
}


/* =========================================
   RESPONSIVE: TABLET
========================================= */

@media (max-width: 991.98px) {
    .kb7-services-directory {
        padding-top: 45px !important;
        padding-bottom: 45px !important;
    }

    .kb7-directory-card {
        min-height: 350px;
        padding: 30px 22px 0;
    }

    .kb7-card-icon {
        flex-basis: 86px;
        width: 86px;
        height: 86px;
        margin-bottom: 19px;
    }

    .kb7-card-icon i {
        font-size: 35px;
    }

    .kb7-directory-card h3 {
        font-size: 18px;
    }

    .kb7-directory-card p {
        font-size: 13px;
    }

    .kb7-card-footer {
        width: calc(100% + 44px);
    }
}


/* =========================================
   RESPONSIVE: MOBILE
========================================= */

@media (max-width: 575.98px) {
    .kb7-directory-heading {
        margin-bottom: 30px !important;
    }

    .kb7-directory-heading h2 {
        font-size: 27px;
    }

    .kb7-directory-heading p {
        font-size: 13px;
    }

    .kb7-directory-card {
        min-height: 330px;
        padding: 27px 18px 0;
    }

    .kb7-card-icon {
        flex-basis: 78px;
        width: 78px;
        height: 78px;
        margin-bottom: 18px;
    }

    .kb7-card-icon i {
        font-size: 32px;
    }

    .kb7-directory-card h3 {
        font-size: 17px;
    }

    .kb7-directory-card p {
        font-size: 12px;
        line-height: 1.7;
    }

    .kb7-card-footer {
        width: calc(100% + 36px);
        min-height: 60px;
    }

    .kb7-card-link {
        font-size: 14px;
    }

    .kb7-card-badge {
        top: 13px;
        left: 12px;
        width: 44px;
        min-height: 57px;
        font-size: 8px;
    }

    .kb7-card-badge i {
        font-size: 14px;
    }
}


/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {
    .kb7-directory-card,
    .kb7-card-icon,
    .kb7-card-link,
    .kb7-card-link i {
        transition: none;
    }
}





/* =========================================
   WHY CHOOSE KB7 CARE
========================================= */

.kb7-why-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;

    min-height: 420px;
    padding: 92px 0 96px;

    color: #ffffff;
    background: transparent;
}

/* Background image on the right */

.kb7-why-background {
    position: absolute;
    z-index: -2;
    inset: 0;

    background-color: #160b35;
    background-image: url("../img/background_why.png");

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* Heading */

.kb7-why-content {
    position: relative;
    z-index: 1;
}

.kb7-why-heading {
    margin-bottom: 45px;
}

.kb7-why-heading h2 {
    display: flex;
    align-items: center;
    gap: 8px;

    margin: 0 0 5px;
    color: #ffffff;
    font-size: 31px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.kb7-heading-heart {
    color: #c5d631;
}

.kb7-why-heading p {
    margin: 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: 15px;
    line-height: 1.6;
}


/* =========================================
   TRUST FEATURES
========================================= */

.kb7-why-features {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    align-items: start;
    margin-right: 30%;
}

.kb7-why-feature {
    display: flex;
    flex-direction: column;
    align-items: center;

    height: 100%;
    text-align: center;
}

.kb7-why-feature > i {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 64px;
    margin-bottom: 12px;

    color: #ffffff;
    font-size: 60px;
    line-height: 1;
}

.kb7-why-feature h3 {
    margin: 0;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}


/* =========================================
   FADE-UP ON SCROLL
========================================= */

.kb7-reveal {
    opacity: 0;
    transform: translateY(26px);

    transition:
        opacity 0.7s ease,
        transform 0.7s cubic-bezier(0.2, 0.65, 0.3, 1);

    transition-delay: var(--kb7-reveal-delay, 0ms);
}

.kb7-reveal.kb7-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991.98px) {
    .kb7-services-section {
        padding-top: 36px !important;
        padding-bottom: 36px !important;
    }

    .kb7-service-card {
        min-height: 165px;
    }

    .kb7-why-section {
        min-height: 0;
        padding: 58px 0 62px;
    }

    .kb7-why-background {
        background-image: url("../img/background_why.png");

        background-position: center;
        background-size: cover;
    }

    .kb7-why-content {
        max-width: 100%;
    }

    .kb7-why-features {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        margin-right: 0;
        row-gap: 20px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 575.98px) {
    .kb7-section-heading h2 {
        font-size: 21px;
    }

    .kb7-section-heading p {
        font-size: 11px;
    }

    .kb7-service-card {
        min-height: 166px;
        padding: 14px 9px 12px;
        border-radius: 10px;
    }

    .kb7-service-card-icon {
        min-height: 42px;
        font-size: 31px;
    }

    .kb7-service-card h3 {
        font-size: 11px;
    }

    .kb7-service-card p {
        font-size: 10px;
    }

    .kb7-why-section {
        width: 100%;
        max-width: 100%;
        padding: 42px 0 46px;
    }

    .kb7-why-section > .container-fluid,
    .kb7-why-content {
        width: 100%;
        max-width: 100%;
    }

    .kb7-why-section > .container-fluid {
        padding-right: 16px !important;
        padding-left: 16px !important;
    }

    .kb7-why-background {
        background-image: url("../img/background_why.png");

        background-position: center;
        background-size: cover;
    }

    .kb7-why-heading h2 {
        font-size: 24px;
    }

    .kb7-why-heading p {
        font-size: 12px;
    }

    .kb7-why-heading {
        margin-bottom: 30px;
    }

    .kb7-why-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        margin-right: 0 !important;
        margin-left: 0;
        column-gap: 8px;
        row-gap: 25px;
    }

    .kb7-why-feature > i {
        min-height: 43px;
        font-size: 32px;
    }

    .kb7-why-feature h3 {
        font-size: 10px;
    }
}

/* Mobile feature layout */
@media (max-width: 767.98px) {
    .kb7-hero-proof-award > div {
        flex-direction: row;
        width: 100%;
        gap: 0;
        flex-wrap: nowrap;
        text-align: left;
    }

    .kb7-hero-proof-award img {
        flex: 0 0 78px;
    }

    .kb7-hero-proof-award span {
        min-width: 0;
        margin-left: 0;
        font-size: 9px;
    }

    .kb7-why-section {
        min-height: 0;
        padding: 36px 0 42px;
    }

    .kb7-why-section > .container-fluid {
        padding-right: 16px !important;
        padding-left: 16px !important;
    }

    .kb7-why-heading {
        margin-bottom: 30px;
    }

    .kb7-why-heading h2 {
        justify-content: center;
        font-size: 24px;
    }

    .kb7-why-heading p {
        font-size: 12px;
        text-align: center;
    }

    .kb7-why-content,
    .kb7-why-heading,
    .kb7-why-feature {
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }

    .kb7-why-features {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        max-width: 100%;
        margin: 0 auto !important;
        padding-right: 0;
        padding-left: 0;
        justify-items: center;
        gap: 24px 8px;
    }

    .kb7-why-features > .col,
    .kb7-why-feature {
        width: 100%;
        margin: 0;
    }

    .kb7-why-feature > i {
        min-height: 46px;
        margin-bottom: 8px;
        font-size: 38px;
    }

    .kb7-why-feature h3 {
        font-size: 10px;
        line-height: 1.35;
    }
}


/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {
    .kb7-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .kb7-service-card {
        transition: none;
    }
}



/* =========================================
   ACCESSIBILITY: REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
    .kb7-status-active {
        animation: none;
        opacity: 1;
        box-shadow: none;
    }

    .kb7-marquee-track {
        animation: none;
        transform: none;
    }

    .kb7-global-marquee {
        overflow-x: auto;

        -webkit-mask-image: none;
        mask-image: none;
    }
}


/* =========================================
   KB7 CARE IMPACT SECTION
========================================= */

.kb7-impact-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    color: #2d1749;
}


/* =========================================
   STATISTICS CARD
========================================= */

.kb7-stats-card {
    padding: 28px 12px;

    background: linear-gradient(
        120deg,
        #fbfafd 0%,
        #f6f3f9 100%
    );

    border: 1px solid #f0ebf5;
    border-radius: 16px;
}

.kb7-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 85px;
    height: 100%;
    padding: 0 12px;
    text-align: center;
}

.kb7-stats-card .col-md-3:not(:last-child)
.kb7-stat-item {
    border-right: 1px solid #ded6e9;
}

.kb7-stat-item h3 {
    margin: 0 0 7px;
    color: #5b199b;
    font-size: clamp(28px, 2.5vw, 39px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.kb7-stat-item p {
    margin: 0;
    color: #38304a;
    font-size: 12px;
    line-height: 1.55;
}


/* =========================================
   TESTIMONIAL CAROUSEL CARD
========================================= */

.kb7-testimonial-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-height: 150px;
    padding: 18px 0 22px;

    background: linear-gradient(
        120deg,
        #fcfaff 0%,
        #f4eff8 100%
    );

    border: 1px solid #eee7f4;
    border-radius: 16px;

    box-shadow: 0 5px 20px rgba(50, 16, 79, 0.035);
}

.kb7-testimonial-card #kb7TestimonialCarousel {
    width: 100%;
}


/* Individual slides */

.kb7-testimonial-slide {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    min-height: 108px;
    padding: 0 45px 8px;
}


/* Quote icon */

.kb7-quote-icon {
    flex: 0 0 auto;

    color: #9227cf;
    font-size: 28px;
    line-height: 1;
}

.kb7-quote-icon i {
    display: block;
    transform: rotate(180deg);
}


/* Testimonial text */

.kb7-testimonial-content {
    flex: 1;
    min-width: 0;
}

.kb7-testimonial-content blockquote {
    margin: 0 0 8px;

    color: #30204b;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.65;
}


/* Star rating */

.kb7-testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 4px;

    margin: 5px 0 6px;

    color: #f5b400;
    font-size: 17px;
}


/* Client name */

.kb7-testimonial-author {
    margin: 0;

    color: #70627f;
    font-size: 11px;
    text-align: center;
}

.kb7-testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.kb7-testimonial-author::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border: 2px solid #e4d8f2;
    border-radius: 50%;
    background: #fff url("../img/blank_profile.png") center / cover no-repeat;
}


/* =========================================
   CAROUSEL CONTROLS
========================================= */

.kb7-testimonial-control {
    top: 50%;
    bottom: auto;

    width: 30px;
    height: 30px;

    color: #6e36ac;
    background: rgba(255, 255, 255, 0.9);

    border: 1px solid #e9dff3;
    border-radius: 50%;

    opacity: 0;
    transform: translateY(-50%);

    transition:
        opacity 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.kb7-testimonial-card:hover .kb7-testimonial-control,
.kb7-testimonial-control:focus-visible {
    opacity: 1;
}

.kb7-testimonial-control:hover {
    color: #ffffff;
    background: #6d36ac;
}

.kb7-testimonial-control i {
    font-size: 13px;
}


/* Carousel indicators */

.kb7-testimonial-indicators {
    position: absolute;
    right: 0;
    bottom: -19px;
    left: 0;

    display: flex;
    justify-content: center;
    gap: 5px;

    margin: 0;
}

.kb7-testimonial-indicators [data-bs-target] {
    flex: 0 0 auto;

    width: 6px;
    height: 6px;
    margin: 0;

    background-color: #bba5d5;
    border: 0;
    border-radius: 10px;

    opacity: 1;

    transition:
        width 0.25s ease,
        background-color 0.25s ease;
}

.kb7-testimonial-indicators .active {
    width: 18px;
    background-color: #7a32b8;
}


/* =========================================
   CTA BANNER
========================================= */

.kb7-cta-banner {
    position: relative;
    overflow: hidden;

    padding: 24px 35px;
    color: #ffffff;

    background: linear-gradient(
        110deg,
        #9823c1 0%,
        #7016ad 48%,
        #421681 100%
    );

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;

    box-shadow: 0 8px 22px rgba(75, 20, 119, 0.12);
}

.kb7-cta-banner::before {
    content: "";
    position: absolute;
    top: -100px;
    left: 20%;

    width: 260px;
    height: 260px;

    background: rgba(255, 255, 255, 0.055);
    border-radius: 50%;

    pointer-events: none;
}

.kb7-cta-copy,
.kb7-cta-actions {
    position: relative;
    z-index: 1;
}

.kb7-cta-copy {
    padding-left: 10px;
}

.kb7-cta-copy h2 {
    margin: 0 0 6px;

    color: #ffffff;
    font-size: clamp(23px, 2vw, 30px);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.kb7-cta-copy p {
    margin: 0;

    color: rgba(255, 255, 255, 0.93);
    font-size: 13px;
    line-height: 1.6;
}


/* =========================================
   CTA BUTTONS
========================================= */

.kb7-cta-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 18px;
}

.kb7-cta-primary,
.kb7-cta-primary:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;

    min-height: 54px;
    padding: 0 23px;

    color: #6921ac;
    background: #ffffff;
    border: 1px solid #eee5fa;
    border-radius: 15px;

    font-size: 14px;
    font-weight: 750;
    text-decoration: none !important;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.kb7-cta-primary i {
    font-size: 20px;
    transition: transform 0.25s ease;
}

.kb7-cta-primary:hover {
    color: #50138c;
    background: #f8f2ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(30, 0, 55, 0.15);
}

.kb7-cta-primary:hover i {
    transform: translateX(4px);
}


/* Call button */

.kb7-cta-call,
.kb7-cta-call:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    min-height: 54px;
    padding: 8px 20px;

    color: #ffffff;
    background: rgba(54, 12, 103, 0.16);
    border: 1px solid rgba(198, 127, 255, 0.3);
    border-radius: 14px;

    text-decoration: none !important;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.kb7-cta-call:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-2px);
}

.kb7-phone-icon {
    color: #f5d51d;
    font-size: 23px;
}

.kb7-cta-call span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.kb7-cta-call small {
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
}

.kb7-cta-call strong {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}


/* =========================================
   FADE-UP ON SCROLL
========================================= */

.kb7-reveal {
    opacity: 0;
    transform: translateY(26px);

    transition:
        opacity 0.7s ease,
        transform 0.7s cubic-bezier(0.2, 0.65, 0.3, 1);

    transition-delay: var(--kb7-reveal-delay, 0ms);
}

.kb7-reveal.kb7-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================
   TABLET RESPONSIVENESS
========================================= */

@media (max-width: 1199.98px) {
    .kb7-cta-copy {
        padding-left: 0;
        text-align: center;
    }

    .kb7-cta-actions {
        justify-content: center;
    }
}


/* =========================================
   MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 575.98px) {
    .kb7-stats-card {
        padding: 20px 8px;
    }

    .kb7-stat-item {
        min-height: 82px;
        padding: 12px 5px;
    }

    .kb7-stats-card .col-6:nth-child(odd)
    .kb7-stat-item {
        border-right: 1px solid #ded6e9;
    }

    .kb7-stats-card .col-6:nth-child(-n+2)
    .kb7-stat-item {
        border-bottom: 1px solid #ded6e9;
    }

    .kb7-stat-item h3 {
        font-size: 29px;
    }

    .kb7-stat-item p {
        font-size: 11px;
    }

    .kb7-testimonial-card {
        min-height: 150px;
        padding: 17px 0 24px;
        border-radius: 12px;
    }

    .kb7-testimonial-slide {
        gap: 8px;
        min-height: 105px;
        padding: 0 29px 8px;
    }

    .kb7-quote-icon {
        font-size: 22px;
    }

    .kb7-testimonial-content blockquote {
        font-size: 12px;
        line-height: 1.7;
    }

    .kb7-testimonial-stars {
        font-size: 15px;
    }

    .kb7-testimonial-author {
        font-size: 10px;
    }

    .kb7-testimonial-control {
        width: 24px;
        height: 30px;
        opacity: 0.8;
        border: none;
        background: transparent;
    }

    .kb7-cta-banner {
        padding: 26px 18px;
        border-radius: 14px;
    }

    .kb7-cta-copy h2 {
        font-size: 24px;
    }

    .kb7-cta-copy p {
        font-size: 12px;
    }

    .kb7-cta-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .kb7-cta-primary,
    .kb7-cta-call {
        width: 100%;
    }

    .kb7-cta-primary {
        justify-content: space-between;
    }

    .kb7-cta-call {
        justify-content: center;
    }
}


/* =========================================
   ACCESSIBILITY
========================================= */

.kb7-cta-primary:focus-visible,
.kb7-cta-call:focus-visible,
.kb7-testimonial-control:focus-visible {
    outline: 3px solid #f6d75a;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .kb7-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .kb7-cta-primary,
    .kb7-cta-primary i,
    .kb7-cta-call,
    .kb7-testimonial-control,
    .kb7-testimonial-indicators [data-bs-target] {
        transition: none;
    }
}



.kb7-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 0.7s ease,
        transform 0.7s cubic-bezier(0.2, 0.65, 0.3, 1);
    transition-delay: var(--kb7-reveal-delay, 0ms);
}

.kb7-reveal.kb7-visible {
    opacity: 1;
    transform: translateY(0);
}



/* =========================================
   KB7 CARE — MOBILE RESPONSIVE FIX
   Screens: 575px and below
========================================= */

@media (max-width: 575.98px) {

    /* -------------------------------------
       HEADER / NAVBAR
    ------------------------------------- */

    .kb7-header {
        position: relative;
        z-index: 1000;
    }

    .kb7-navbar {
        padding: 10px 12px;
    }

    .kb7-nav-container {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        width: 100%;
    }

    .kb7-brand {
        display: flex;
        align-items: center;
        flex: 0 1 auto;
        min-width: 0;
        gap: 8px;
        text-decoration: none;
    }

    .kb7-logo {
        display: block;
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
        max-width: 48px;
        object-fit: contain;
    }

    .kb7-brand-text {
        display: flex;
        flex-direction: column;
        min-width: 0;
        white-space: nowrap;
        line-height: 1.2;
    }

    .kb7-brand-text strong {
        font-size: 17px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .kb7-brand-text small {
        margin-top: 3px;
        font-size: 9px;
        white-space: nowrap;
    }

    .kb7-navbar .navbar-toggler {
        flex: 0 0 auto;
        padding: 7px 10px;
        margin-left: auto;
        border: 1px solid rgba(255, 255, 255, 0.45);
        border-radius: 9px;
        box-shadow: none;
    }

    .kb7-navbar .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(192, 91, 236, 0.2);
    }

    .kb7-navbar .navbar-collapse {
        flex-basis: 100%;
        width: 100%;
    }

    .kb7-navbar .navbar-nav {
        align-items: stretch !important;
        padding: 12px 0;
    }

    .kb7-navbar .nav-link {
        padding: 10px 12px;
    }


    /* -------------------------------------
       HERO VIDEO SECTION
    ------------------------------------- */

    .kb7-hero-section {
        position: relative;
        display: block;
        width: 100%;
        min-height: 460px;
        height: auto;
        overflow: hidden;
        isolation: isolate;
    }

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

    /* Improve text contrast over video */
    .kb7-hero-section::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: linear-gradient(
            180deg,
            rgba(43, 15, 73, 0.48) 0%,
            rgba(43, 15, 73, 0.68) 45%,
            rgba(43, 15, 73, 0.96) 100%
        );
        pointer-events: none;
    }

    /* Hero text overlay */
    .kb7-hero-text {
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        max-width: none;
        padding: 24px 20px;
        transform: translateY(-50%);
        z-index: 2;
    }

    .kb7-hero-text .kb7-hero-trust {
        margin-bottom: 14px;
        padding: 7px 12px;
        font-size: 11px;
    }

    .kb7-hero-text h1 {
        margin: 0 0 15px;
        font-size: clamp(30px, 8vw, 39px);
        line-height: 1.12;
        letter-spacing: -0.8px;
        overflow-wrap: normal;
    }

    .kb7-hero-text > p {
        max-width: 100%;
        margin: 0 0 20px;
        font-size: 13px;
        line-height: 1.65;
    }

    .kb7-hero-text .kb7-hero-actions {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
    }

    .kb7-hero-text .kb7-hero-btn,
    .kb7-hero-text .kb7-hero-btn:visited {
        min-height: 43px;
        padding: 10px 14px;
        gap: 9px;
        font-size: 11px;
    }

    .kb7-hero-text .kb7-hero-btn i {
        font-size: 16px;
    }


    /* -------------------------------------
       SERVICES / TRUST STRIP
       Replace .kb7-service-highlights with
       your actual strip class if different.
    ------------------------------------- */

    .kb7-service-highlights {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        margin: 0;
        padding: 0 10px;
    }

    .kb7-service-highlights > * {
        min-width: 0;
        padding: 15px 8px;
    }

    .kb7-service-highlights img,
    .kb7-service-highlights i {
        flex-shrink: 0;
    }

    .kb7-service-highlights p,
    .kb7-service-highlights span {
        overflow-wrap: break-word;
    }

}


/* =========================================
   VERY SMALL PHONES
========================================= */

@media (max-width: 380px) {

    .kb7-logo {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        max-width: 40px;
    }

    .kb7-brand-text strong {
        font-size: 15px;
    }

    .kb7-brand-text small {
        font-size: 8px;
    }

    .kb7-hero-section {
        min-height: 480px;
    }

    .kb7-hero-text {
        padding: 20px 16px;
    }

    .kb7-hero-text h1 {
        font-size: 30px;
    }

    .kb7-hero-text .kb7-hero-actions {
        gap: 8px;
    }

    .kb7-hero-text .kb7-hero-btn,
    .kb7-hero-text .kb7-hero-btn:visited {
        padding: 9px 11px;
        font-size: 10px;
    }

}


/* =========================================
   FIRST-VISIT AWARDS POPUP
========================================= */

.kb7-awards-popup[hidden] { display: none; }

.kb7-awards-popup {
    position: fixed;
    z-index: 2000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 22px;
}

.kb7-awards-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(30, 10, 48, 0.74);
    backdrop-filter: blur(5px);
    animation: kb7AwardsFadeIn 0.35s ease both;
}

.kb7-awards-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
    width: min(760px, 100%);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(20, 5, 38, 0.38);
    animation: kb7AwardsPopIn 0.55s cubic-bezier(0.17, 0.84, 0.34, 1.2) both;
}

.kb7-awards-art { min-height: 390px; background: #f0edff; }
.kb7-awards-art img { display: block; width: 100%; height: 100%; min-height: 390px; object-fit: cover; }

.kb7-awards-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 54px 42px 42px;
    color: #32104f;
}

.kb7-awards-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #a06a00;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.kb7-awards-eyebrow i { color: #d49a16; font-size: 17px; }
.kb7-awards-copy h2 { margin: 0 0 14px; color: #32104f; font-size: clamp(28px, 3vw, 40px); font-weight: 800; line-height: 1.08; letter-spacing: -1px; }
.kb7-awards-copy p { margin: 0 0 22px; color: #5f526c; font-size: 14px; line-height: 1.7; }

.kb7-awards-highlights { display: grid; gap: 9px; margin-bottom: 27px; color: #49325c; font-size: 12px; font-weight: 700; }
.kb7-awards-highlights span { display: flex; align-items: center; gap: 9px; }
.kb7-awards-highlights i { width: 22px; color: #bd8411; font-size: 16px; text-align: center; }

.kb7-awards-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    gap: 13px;
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #7d27b7, #4b167b);
    font-size: 12px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kb7-awards-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(75, 22, 123, 0.24); }

.kb7-awards-close {
    position: absolute;
    z-index: 3;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(50, 16, 79, 0.14);
    border-radius: 50%;
    color: #5d4870;
    background: rgba(255, 255, 255, 0.88);
    font-size: 12px;
}

.kb7-confetti { position: absolute; z-index: 2; inset: 0; overflow: hidden; pointer-events: none; }
.kb7-confetti span { position: absolute; top: -18px; width: 8px; height: 14px; border-radius: 2px; opacity: 0; animation: kb7ConfettiFall var(--kb7-confetti-duration) linear var(--kb7-confetti-delay) forwards; }

@keyframes kb7AwardsFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes kb7AwardsPopIn { from { opacity: 0; transform: translateY(18px) scale(0.94); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes kb7ConfettiFall { 0% { opacity: 1; transform: translate3d(0, -20px, 0) rotate(0deg); } 100% { opacity: 0; transform: translate3d(var(--kb7-confetti-drift), 430px, 0) rotate(620deg); } }

@media (max-width: 640px) {
    .kb7-awards-popup { padding: 16px; }
    .kb7-awards-dialog { display: block; max-height: min(680px, calc(100vh - 32px)); overflow-y: auto; }
    .kb7-awards-art, .kb7-awards-art img { min-height: 170px; height: 170px; }
    .kb7-awards-copy { padding: 28px 25px 27px; }
    .kb7-awards-copy h2 { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    .kb7-awards-backdrop, .kb7-awards-dialog, .kb7-confetti span { animation: none; }
    .kb7-awards-dialog { opacity: 1; transform: none; }
}

/* Awards popup refinement: equal-height artwork and subtle watermark */
.kb7-awards-dialog::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background: url("../img/kb7-awards-banner.png") center / cover no-repeat;
    opacity: 0.055;
    pointer-events: none;
}

.kb7-awards-art,
.kb7-awards-copy {
    position: relative;
    z-index: 1;
}

.kb7-awards-art {
    display: flex;
    align-items: stretch;
    min-height: 430px;
    background: rgba(255, 255, 255, 0.92);
}

.kb7-awards-art img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: contain;
    object-position: center;
}

.kb7-awards-copy {
    background: rgba(255, 255, 255, 0.92);
}

@media (max-width: 640px) {
    .kb7-awards-art,
    .kb7-awards-art img {
        min-height: 220px;
        height: 220px;
    }
}


/* =========================================
   FIX: SHOW ONLY ONE HERO VIDEO
========================================= */

/* Desktop and tablet: show desktop video only */
.kb7-hero-video-desktop {
    display: block;
}

.kb7-hero-video-mobile {
    display: none;
}

/* Mobile: show mobile video only */
@media (max-width: 575.98px) {

    .kb7-hero-video-desktop {
        display: none !important;
    }

    .kb7-hero-video-mobile {
        display: block !important;
    }
}

/* Keep the mobile homepage hero tall enough to match the full-height design. */
@media (max-width: 575.98px) {
    .kb7-hero-section {
        height: calc(100svh - 84px);
        min-height: 720px;
    }

    .kb7-hero-video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* =========================================
   HOW WE SUPPORT YOU PROCESS
========================================= */
.kb7-support-process-section {
    --kb7-process-purple: #6540b4;
    --kb7-process-purple-dark: #32104f;
    --kb7-process-purple-soft: #f5f1fb;
    padding: 88px 0 96px;
    background: #fff;
    color: var(--kb7-process-purple-dark);
}

.kb7-support-process-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 auto 48px;
    max-width: 1110px;
}

.kb7-support-process-heading h2 {
    margin: 0;
    color: var(--kb7-process-purple-dark);
    font-size: clamp(2.15rem, 4vw, 3.25rem);
    font-weight: 500;
    letter-spacing: -0.04em;
}

.kb7-support-process-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    padding: 11px 20px;
    border-radius: 999px;
    background: var(--kb7-process-purple-dark);
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.kb7-support-process-cta:hover,
.kb7-support-process-cta:focus-visible {
    background: var(--kb7-process-purple);
    color: #fff;
    transform: translateY(-2px);
}

.kb7-support-process-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    align-items: center;
    gap: clamp(42px, 6vw, 82px);
    max-width: 1110px;
    margin: 0 auto;
}

.kb7-support-process-media {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    border-radius: 6px;
    background: var(--kb7-process-purple-soft);
}

.kb7-support-process-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    object-position: center;
    transition: transform .35s ease;
}

.kb7-support-process-media:hover img {
    transform: scale(1.03);
}

.kb7-support-process-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--kb7-process-purple);
    font-size: 1.8rem;
    line-height: 1;
    text-decoration: none;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 28px rgba(50, 16, 79, .18);
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.kb7-support-process-play:hover,
.kb7-support-process-play:focus-visible {
    background: var(--kb7-process-purple);
    color: #fff;
    transform: translate(-50%, -50%) scale(1.08);
}

.kb7-support-process-steps {
    display: flex;
    flex-direction: column;
}

.kb7-support-process-step {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 14px;
    min-height: 80px;
    border-bottom: 1px solid #cfcbd5;
    color: var(--kb7-process-purple-dark);
    text-decoration: none;
    transition: color .2s ease, padding .2s ease, border-color .2s ease;
}

.kb7-support-process-step:first-child {
    border-top: 1px solid #cfcbd5;
}

.kb7-support-process-number {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: var(--kb7-process-purple-soft);
    color: var(--kb7-process-purple-dark);
    font-size: .95rem;
    transition: background-color .2s ease, color .2s ease;
}

.kb7-support-process-label {
    font-size: 1.05rem;
    font-weight: 500;
}

.kb7-support-process-step > .bi {
    color: var(--kb7-process-purple);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .2s ease, transform .2s ease;
}

.kb7-support-process-step:hover,
.kb7-support-process-step:focus-visible {
    padding-left: 8px;
    border-color: var(--kb7-process-purple);
    color: var(--kb7-process-purple);
}

.kb7-support-process-step:hover .kb7-support-process-number,
.kb7-support-process-step:focus-visible .kb7-support-process-number {
    background: var(--kb7-process-purple);
    color: #fff;
}

.kb7-support-process-step:hover > .bi,
.kb7-support-process-step:focus-visible > .bi {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 767.98px) {
    .kb7-support-process-section { padding: 64px 0 72px; }
    .kb7-support-process-heading { margin-bottom: 32px; }
    .kb7-support-process-grid { grid-template-columns: 1fr; gap: 34px; }
    .kb7-support-process-media,
    .kb7-support-process-media img { min-height: 270px; }
}

@media (max-width: 480px) {
    .kb7-support-process-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
    .kb7-support-process-step { min-height: 72px; }
}

/* =========================================
   TECHNOLOGY & CONNECTED CARE
========================================= */
.kb7-connected-care-section {
    padding: 12px 0 96px;
    background: #fff;
    color: #30233d;
}

.kb7-connected-care-grid {
    display: grid;
    grid-template-columns: minmax(320px, .85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(44px, 8vw, 120px);
    max-width: 1280px;
    min-height: 430px;
    margin: 0 auto;
}

.kb7-connected-care-copy {
    padding-left: clamp(0px, 3vw, 44px);
}

.kb7-connected-care-copy h2 {
    margin: 0 0 30px;
    color: #30233d;
    font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.kb7-connected-care-copy p {
    max-width: 500px;
    margin: 0 0 28px;
    color: #5a5560;
    font-size: clamp(1.05rem, 1.7vw, 1.45rem);
    line-height: 1.4;
}

.kb7-connected-care-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #6540b4;
    font-size: .98rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease, gap .2s ease;
}

.kb7-connected-care-link:hover,
.kb7-connected-care-link:focus-visible {
    gap: 15px;
    color: #32104f;
}

.kb7-connected-care-visual {
    min-height: 390px;
    overflow: hidden;
    background: #f0f0eb;
}

.kb7-connected-care-visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
    object-position: right center;
    transition: transform .45s ease;
}

.kb7-connected-care-visual:hover img {
    transform: scale(1.025);
}

@media (max-width: 767.98px) {
    .kb7-connected-care-section { padding: 0 0 72px; }
    .kb7-connected-care-grid { grid-template-columns: 1fr; gap: 36px; min-height: 0; }
    .kb7-connected-care-copy { padding-left: 0; }
    .kb7-connected-care-copy h2 { margin-bottom: 20px; }
    .kb7-connected-care-visual,
    .kb7-connected-care-visual img { min-height: 280px; }
}


/* =========================================
   HOW WE SUPPORT YOU
========================================= */

.kb7-process-section {
    padding: 48px 0 54px !important;
    background: #fff;
}

.kb7-process-heading,
.kb7-commitment-heading {
    color: #241640;
    font-size: 23px;
    font-weight: 850;
    letter-spacing: -0.4px;
}

.kb7-process-heading {
    margin: 0 0 26px;
}

.kb7-process-timeline {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 28px;
}

.kb7-process-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    min-width: 0;
}

.kb7-process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 32px;
    left: calc(100% - 2px);
    width: 28px;
    border-top: 2px dotted #6235b4;
}

.kb7-process-icon {
    display: flex;
    flex: 0 0 65px;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    color: #fff;
    background: #5430a1;
    border-radius: 50%;
    box-shadow: 0 7px 18px rgba(64, 35, 121, .15);
}

.kb7-process-icon i {
    font-size: 26px;
}

.kb7-process-copy {
    flex: 1;
    min-width: 0;
}

.kb7-process-title {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 7px;
    margin: 3px 0 12px;
}

.kb7-process-title span {
    color: #241640;
    font-size: 12px;
    font-weight: 850;
}

.kb7-process-title h3 {
    margin: 0;
    color: #241640;
    font-size: 15px;
    font-weight: 850;
}

.kb7-process-copy p {
    margin: 0;
    color: #746d80;
    font-size: 12px;
    line-height: 1.7;
}


/* =========================================
   COMMITMENT SECTION
========================================= */

.kb7-commitment-section {
    padding: 48px 0 55px !important;
    background: #f7f4fc;
}

.kb7-commitment-heading {
    margin: 0 0 25px;
    text-align: center;
}


/* =========================================
   WHY KB7 CARE?
========================================= */

.kb7-why-cards-section {
    padding: 48px 0 55px !important;
    background: #f7f4fc;
}

.kb7-why-cards-heading {
    margin-bottom: 28px;
}

.kb7-why-cards-heading .kb7-section-eyebrow {
    margin-bottom: 7px;
}

.kb7-why-cards-heading h2 {
    margin: 0 0 8px;
    color: #211640;
    font-size: 25px;
    font-weight: 850;
    letter-spacing: -0.5px;
}

.kb7-why-cards-heading p {
    margin: 0;
    color: #777084;
    font-size: 13px;
}


/* Feature cards */

.kb7-why-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    min-height: 220px;
    padding: 28px 18px 23px;

    text-align: center;
    background: #ffffff;
    border: 1px solid #eee9f5;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(42, 19, 72, 0.035);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.kb7-why-card:hover {
    transform: translateY(-5px);
    border-color: #d9c5f5;
    box-shadow: 0 12px 28px rgba(66, 30, 112, 0.09);
}

.kb7-why-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;
    margin-bottom: 18px;

    color: #6938c1;
}

.kb7-why-card-icon i {
    font-size: 38px;
    line-height: 1;
}

.kb7-why-card h3 {
    margin: 0 0 12px;
    color: #241640;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
}

.kb7-why-card p {
    max-width: 230px;
    margin: 0;

    color: #777084;
    font-size: 12px;
    line-height: 1.65;
}

/* Click-to-flip Person-Centred Care card */
.kb7-flip-card {
    min-height: 220px;
    padding: 0;
    cursor: pointer;
    perspective: 1000px;
}

.kb7-flip-card:focus-visible {
    outline: 3px solid #a86be0;
    outline-offset: 3px;
}

.kb7-flip-card-inner {
    position: relative;
    width: 100%;
    min-height: 294px;
    transform-style: preserve-3d;
    transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}

.kb7-flip-card.is-flipped .kb7-flip-card-inner {
    transform: rotateY(180deg);
}

.kb7-flip-card-face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 18px;
    border-radius: 12px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
}

.kb7-flip-card-front {
    align-items: flex-start;
    justify-content: flex-end;
    padding: 14px;
    background: #fff;
}

.kb7-flip-card-front::after {
    position: absolute;
    inset: 14px;
    z-index: 1;
    border-radius: 8px;
    background: linear-gradient(transparent 28%, rgba(28, 10, 47, .9) 100%);
    content: "";
}

.kb7-why-card-image {
    position: absolute;
    inset: 14px;
    z-index: 0;
    width: calc(100% - 28px);
    height: calc(100% - 28px);
    margin: 0;
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
}

.kb7-flip-card-front h3,
.kb7-flip-card-back h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 8px;
}

.kb7-flip-card-front h3 {
    position: absolute;
    right: 28px;
    bottom: 38px;
    left: 28px;
    margin: 0;
    color: #fff !important;
    font-size: 15px;
    text-align: left;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}

.kb7-flip-card-hint {
    position: absolute;
    right: 28px;
    bottom: 19px;
    left: 28px;
    z-index: 2;
    color: rgba(255, 255, 255, .86);
    font-size: 10px;
    text-align: left;
}

.kb7-flip-card-back {
    background: linear-gradient(135deg, #32104f, #6540b4);
    color: #fff;
    transform: rotateY(180deg);
}

.kb7-flip-card-back > i {
    margin-bottom: 12px;
    color: #d9a2ff;
    font-size: 35px;
}

.kb7-flip-card-back h3,
.kb7-flip-card-back p {
    color: #fff;
}

.kb7-flip-card-back p {
    max-width: 230px;
    margin: 0;
}

/* =========================================
   HOMEPAGE TECHNOLOGY BANNER
========================================= */
.kb7-home-tech-section {
    --kb7-footer-purple: #32104f;
    --kb7-footer-purple-light: #421d65;
    padding: 18px 0 38px;
    background: #fff;
}

.kb7-home-support-section {
    background: #f7f4fc;
}

.kb7-home-tech-banner {
    position: relative;
    display: block;
    width: 100%;
    height: clamp(260px, 22vw, 380px);
    max-width: none;
    margin: 0 auto;
    overflow: hidden;
    /* border: 1px solid rgba(88, 48, 150, .35); */
    border-radius: 18px;
    background: var(--kb7-footer-purple);
    box-shadow: 0 8px 24px rgba(50, 16, 79, .12);
}

.kb7-home-tech-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 55%;
    height: 100%;
    padding: 38px 46px 36px 54px;
    box-sizing: border-box;
    background: transparent;
}

.kb7-home-tech-copy h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(1.45rem, 2.2vw, 4rem);
    font-weight: 1000;
    line-height: 1.05;
}

.kb7-home-tech-copy p {
    max-width: 280px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .76);
    font-size: 1rem;
    line-height: 1.35;
}

.kb7-home-tech-copy .kb7-connected-vision-btn {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: fit-content;
    min-height: 55px;
    margin-top: 2px;
    padding: 14px 25px;
    border: 0;
    border-radius: 50px;
    background: #ffffff;
    color: #160d3f;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.kb7-home-tech-copy .kb7-connected-vision-btn:hover,
.kb7-home-tech-copy .kb7-connected-vision-btn:focus-visible {
    background: #f0ecff;
    color: #160d3f;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(112, 66, 220, .3);
}

.kb7-home-tech-copy .kb7-connected-vision-btn i {
    font-size: 16px;
}

.kb7-home-tech-button {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 7px;
    padding: 9px 15px;
    border-radius: 3px;
    background: #fff;
    color: var(--kb7-footer-purple);
    font-size: .68rem;
    font-weight: 800;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.kb7-home-tech-button:hover,
.kb7-home-tech-button:focus-visible {
    background: var(--kb7-footer-purple-light);
    color: #fff;
    transform: translateY(-1px);
}

.kb7-home-tech-art {
    position: absolute;
    inset: 0;
    left: 55%;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
    background: transparent;
}

.kb7-home-tech-art::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: transparent;
    content: "";
    pointer-events: none;
}

.kb7-home-tech-art img {
    display: block;
    width: 90%;
    height: 82%;
    border-radius: 14px;
    object-fit: cover;
    object-position: center center;
}

@media (max-width: 575.98px) {
    .kb7-home-tech-section { padding: 12px 0 28px; }
    .kb7-home-tech-banner { height: 360px; border-radius: 14px; }
    .kb7-home-tech-copy { width: 100%; height: 100%; padding: 34px 24px 28px; justify-content: flex-start; background: transparent; }
    .kb7-home-tech-art { left: 0; }
    .kb7-home-tech-art img { width: 92%; height: 70%; object-position: 62% center; }
}

/* Mobile technology banner: keep the card, image and copy balanced. */
@media (max-width: 575.98px) {
    .kb7-home-tech-banner {
        width: 100%;
        height: clamp(340px, 76vw, 398px);
        min-height: 340px;
        border: 10px solid #32104f;
        border-radius: 18px;
        background: #32104f;
        box-shadow: 0 8px 22px rgba(50, 16, 79, .16);
    }

    .kb7-home-tech-art {
        inset: 0;
        z-index: 0;
    }

    .kb7-home-tech-art::before {
        z-index: 1;
        background: linear-gradient(
            90deg,
            rgba(30, 12, 61, .88) 0%,
            rgba(30, 12, 61, .58) 48%,
            rgba(30, 12, 61, .08) 100%
        );
    }

    .kb7-home-tech-art img {
        width: 100% !important;
        height: 100% !important;
        border-radius: 8px;
        object-fit: cover;
        object-position: 62% center;
    }

    .kb7-home-tech-copy {
        z-index: 2;
        width: 72%;
        padding: 27px 17px 22px;
        justify-content: flex-start;
    }

    .kb7-home-tech-copy h2 {
        margin-bottom: 12px;
        font-size: clamp(1.55rem, 6.5vw, 2rem);
        line-height: 1.02;
    }

    .kb7-home-tech-copy p {
        max-width: 260px;
        margin-bottom: 18px;
        color: rgba(255, 255, 255, .9);
        font-size: clamp(.86rem, 3.5vw, 1rem);
        line-height: 1.42;
    }

    .kb7-home-tech-copy .kb7-connected-vision-btn {
        min-height: 56px;
        padding: 14px 22px;
        gap: 13px;
        font-size: 14px;
        white-space: nowrap;
    }
}

/* Keep the award proof readable across laptop and desktop widths. */
@media (min-width: 768px) {
    .kb7-hero-proof-item span {
        font-size: 13px;
        line-height: 1.35;
    }

    .kb7-hero-proof-award > div {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        text-align: center;
    }

    .kb7-hero-proof-award img {
        flex: 0 0 82px;
        width: 82px;
    }

    .kb7-hero-proof-award span {
        max-width: 250px;
        font-size: 12px;
    }
}

/* Stack the support process on phones so every step remains readable. */
@media (max-width: 575.98px) {
    .kb7-home-support-section {
        padding-top: 30px !important;
        padding-bottom: 34px !important;
    }

    .kb7-home-support-section .kb7-process-heading {
        margin-bottom: 26px;
        font-size: clamp(1.45rem, 6.2vw, 1.8rem);
        line-height: 1.1;
    }

    .kb7-home-support-section .kb7-process-timeline {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0 8px;
    }

    .kb7-home-support-section .kb7-process-step {
        display: grid;
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 16px;
        align-items: start;
        min-height: 0;
        padding: 0 0 24px;
    }

    .kb7-home-support-section .kb7-process-step:not(:last-child)::after {
        top: 58px;
        left: 28px;
        width: 0;
        height: calc(100% - 46px);
        border-top: 0;
        border-left: 2px dotted #6235b4;
    }

    .kb7-home-support-section .kb7-process-icon {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
    }

    .kb7-home-support-section .kb7-process-icon i {
        font-size: 23px;
    }

    .kb7-home-support-section .kb7-process-copy {
        padding-top: 2px;
    }

    .kb7-home-support-section .kb7-process-title {
        gap: 6px;
        margin: 0 0 6px;
    }

    .kb7-home-support-section .kb7-process-title span {
        font-size: 11px;
    }

    .kb7-home-support-section .kb7-process-title h3 {
        font-size: 16px;
    }

    .kb7-home-support-section .kb7-process-copy p {
        font-size: 14px;
        line-height: 1.55;
    }
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1199.98px) {
    .kb7-who-section {
        padding: 42px 0 !important;
    }

    .kb7-who-content h2 {
        font-size: 32px;
    }

    .kb7-who-image {
        height: 300px;
    }

    .kb7-why-card {
        min-height: 210px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 575.98px) {
    .kb7-who-section {
        padding: 32px 0 !important;
    }

    .kb7-who-content h2 {
        font-size: 29px;
        line-height: 1.2;
    }

    .kb7-who-content p {
        font-size: 13px;
        line-height: 1.75;
    }

    .kb7-who-highlights {
        gap: 15px;
    }

    .kb7-who-icon {
        flex-basis: 54px;
        width: 54px;
        height: 54px;
    }

    .kb7-who-highlight h3 {
        font-size: 13px;
    }

    .kb7-who-highlight p {
        font-size: 12px;
    }

    .kb7-who-image {
        height: 260px;
    }

    .kb7-why-cards-section {
        padding: 35px 0 !important;
    }

    .kb7-why-cards-heading {
        margin-bottom: 22px;
    }

    .kb7-why-cards-heading h2 {
        font-size: 22px;
    }

    .kb7-why-card {
        min-height: 190px;
        padding: 24px 14px 20px;
    }

    .kb7-why-card-icon i {
        font-size: 34px;
    }
}


/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .kb7-who-image,
    .kb7-why-card {
        transition: none;
    }

    .kb7-why-card:hover,
    .kb7-who-image-wrap:hover .kb7-who-image {
        transform: none;
    }
}
