* home */
    /* ----------------------------------------------------------------------
     * 1. BASE/DESKTOP STYLES (Default Styles)
     * ---------------------------------------------------------------------- */

    /* Global Reset/Font */
    * {
        font-family: roboto;
    }
    body{
        overflow-x: hidden;
    }
    header a{
        color: inherit;
        text-decoration: inherit;

    }

    /* Header CSS */
    .dropdown-hidden {
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
    }

    .dropdown-visible {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        transition: all .25s ease;
    }

    .nav-white a,
    .nav-white button,
    .nav-white svg path {
        color: white !important;
        fill: white !important;
    }

    #mobileMenu {
        top: 70px;
        position: absolute;
        left: 0;
        right: 0;
    }

    /* Hero Section Styles */
    .hero-title {
        font-weight: 600;
        color: var(--White, #ffffff);
        font-size: 56px;
        text-align: left;
    }

    #hero {
        align-items: end;
    }

    .hero-text {
        font-weight: 400;
        color: var(--White, #ffffff);
        font-size: 18px;
        text-align: left;
        line-height: 1.9em;
    }

    .top-text {
        font-weight: 500;
        line-height: 1.4em;
        color: rgb(255, 255, 255);
        font-size: 16px;
        text-transform: uppercase;
    }

    .top-text::before {
        content: "";
        background: #2159A4;
        display: inline-flex;
        height: 10px;
        width: 10px;
        margin: 10px 5px 0px 0;
        padding-bottom: 5px;
        vertical-align: super;
    }

    .counter {
        font-size: 128px;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.8);
        letter-spacing: 0em;
    }

    .bottom-text {
        font-weight: 400;
        color: rgba(255, 255, 255, 0.8);
        font-size: 14px;
    }

    .content-section {
        margin-bottom: 60px;
    }

    .stats-block {
        margin-top: 120px;
    }

    /* Fixed Badge Styles */
    .fixed-badge {
        position: absolute;
        right: 18px;
        bottom: 18px;
        max-width: 360px;
        width: calc(28vw + 120px);
        /* scales between small and large screens */
        background: #ffffff;
        border-radius: 80px 16px 16px 80px;
        border: 1px solid #00000042;
        gap: 6px;
        display: flex;
        align-items: center;
        padding: 8px 14px 12px 0px;
        z-index: 1;
        transform: translateY(20px);
        opacity: 0;
        animation: slideUpFade .32s ease-out forwards;
        font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    }

    /* Image */
    .fixed-badge img {
        height: 126px;
        object-fit: contain;
        border-radius: 8px;
        flex-shrink: 0;
    }

    /* Text block */
    .fixed-badge .text {
        display: flex;
        flex-direction: column;
        gap: 4px;
        min-width: 0;
        /* allow truncation */
    }

    .fixed-badge .title {
        font-weight: 700;
        font-size: 16px;
        line-height: 1.12;
        color: black;
        margin: 0 0 10px;
    }

    .fixed-badge .subtitle {
        font-size: 14px;
        color: #757575;
        margin: 0;
        line-height: 1.2;
    }

    /* Animation */
    @keyframes slideUpFade {
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    /* Optional: visually-hidden text for accessibility links if needed */
    .sr-only {
        position: absolute !important;
        height: 1px;
        width: 1px;
        overflow: hidden;
        clip: rect(1px, 1px, 1px, 1px);
        white-space: nowrap;
    }

    /* Mission & Vision Stack Section Styles */
    .stack-container {
        margin-bottom: 60px !important;
        display: flex;
        flex-direction: column;
        gap: 60px;
        position: relative;
        height: fit-content;
    }

    .stack-container .csr-card:not(.testimony .csr-card) {
        width: 85%;
    }

    .stack-container .csr-card {
        position: sticky;
        top: 10vh;
        margin: 0 auto 0px !important;
        gap: 0;
        height: 90vh;
        border-radius: 20px;
        overflow: hidden;
        color: white;
        transform-origin: center;
        transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), z-index 0.8s ease;
    }


    .stack-container .csr-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        z-index: 0;
        transition: transform 2s ease-in-out;
    }

    .stack-container .csr-card[data-bg="1"]::before {
        background-image: url('https://www.kfintech.com/wp-content/uploads/2025/11/Sankalp-AI-Kids.jpg');
    }

    .stack-container .csr-card[data-bg="2"]::before {
        background-image: url('https://www.kfintech.com/wp-content/uploads/2025/11/solar.png');
    }

    .stack-container .csr-content {
        position: relative;
        z-index: 2;
        padding: 40px !important;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgb(0 0 0 / 41%) 63%) !important;
        height: 82vh;
        align-content: end;
    }

    .stack-container .csr-content h6 {
        font-weight: 400;
        color: var(--White_100_, #ffffff);
        font-size: 18px;
        margin-bottom: 0px;
    }

    .stack-container .csr-content h2 {
        font-weight: 600;
        color: var(--White_100_, #ffffff);
        font-size: 38px;
        margin-bottom: 20px;
    }

    .stack-container .csr-content p {
        font-size: 16px;
        opacity: 70%;
        font-weight: 400;
        line-height: 1.4;
        color: rgba(255, 255, 255, 0.9);
    }

    /* States - opacity removed */
    .stack-container .csr-card.hidden {
        transform: translateY(120px);
        z-index: 0;
    }

    .stack-container .csr-card.visible,
    .stack-container .csr-card.visible.scrolled-up {
        transform: translateY(0) scale(1);
    }

    .stack-container .csr-card.scrolling-up {
        transform: translateY(0) scale(1.05);
    }

    div p.top-title {
        color: #121212;
        font-weight: 400;
        font-size: 14px;
    }

    div .section-titles {
        font-weight: 600;
        color: #111111;
        font-size: 64px;
        padding-bottom: 30px;
    }

    .gap-class {
        padding: 80px;
    }

    /* Our Initiatives Styles */
    .section3-wrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .s3-block {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        gap: 80px;
        margin: 60px 0;
    }

    .s3-left {
        flex: 0 0 14vw;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        min-height: 40vh;
    }

    .stick-text {
        font-weight: 400;
        color: var(--Black, #121212);
        font-size: 28px;
        margin-bottom: 14px;
        border-top: 1px solid grey;
        padding-top: 10px;
    }

    .know-more span {
        display: inline-flex;
        margin-left: 10px;
    }

    #mainHeader button,  .know-more , .know-more *{
        font-weight: 400;
        color: var(--Black_80, rgba(18, 18, 18, 0.8)) !important;
        font-size: 16px;
            -webkit-appearance: button;
    background-color: transparent;
    background-image: none;
border: none;
text-decoration: none;
    }

    .know-more:hover,
    .know-more:active,
    .know-more:visited {
        color: #2159A4;
    }

    .s3-right {
        flex: 0 0 72vw;
        position: relative;
    }

    .s3-right img {
        width: 100%;
        height: auto;
        border-radius: 20px;
        display: block;
    }

    .s3-text-overlay {
        position: absolute;
        bottom: 0px;
        left: 0px;
        padding: 20px;
        right: 0px;
        border-radius: 18px;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgb(0 0 0 / 41%) 63%) !important;
        font-weight: 400;
        color: var(--White_100_, #ffffff);
        font-size: 18px;
    }

    .sticky-num {
        position: sticky;
        top: 10vh;
        /* centers the number vertically as image scrolls */
        height: auto;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
    }

    .sticky-num .num {
        font-weight: 400;
        color: var(--Black, #121212);
        font-size: 120px;
        text-align: left;
        line-height: 150px;
    }

    .s3-right img {
        width: 100%;
        height: 75vh;
        object-fit: cover;
        border-radius: 20px;
        display: block;
    }

    /* Testimony Section Styles */
    /* ========== Layout Container ========== */
    .section {
        display: flex;
        align-items: stretch;
        margin: 40px auto;
        background: transparent;
    }

    /* ========== Curved Left Shape ========== */
    .left-curve {
        height: 70px;
        width: 40px;
        background: #e3f3ec;
        position: relative;
        overflow: hidden;
        top: 188px;
    }

    .left-curve::before,
    .left-curve::after {
        content: "";
        position: absolute;
        width: 40px;
        height: 39px;
        background: #ffffff;
    }

    .left-curve::before {
        top: -4px;
        border-radius: 0 0 0 100%;
        right: -1px;
    }

    .left-curve::after {
        bottom: -4px;
        right: -1px;
        border-radius: 100% 0 0 0;
    }

    /* ========== Quote Box ========== */
    .quote-box {
        display: flex;
        justify-content: center;
        margin-bottom: 40px;
    }

    .content-box {
        width: 55%;
        padding: 40px;
        background: #e3f3ec;
        border-radius: 20px 0 0 20px;
        display: flex;
        flex-direction: column;
        height: 454px;
        justify-content: center;
    }

    .quote {
        line-height: 1.6;
        margin-bottom: 25px;
        font-weight: 400;
        color: #52575c;
        font-size: 16px;
        text-align: center;
    }

    .name {
        margin-bottom: 3px;
        color: #25282b;
        font-weight: 700;
        font-size: 24px;
        text-align: center;
    }

    .designation {
        color: #25282b;
        font-size: 16px;
        text-align: center;
    }

    /* ========== Right Image ========== */
    .right-img {
        width: 45%;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        padding-left: 0px;
    }

    .right-img img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .csr-card[data-bg="4"] .content-box,
    .csr-card[data-bg="4"] .left-curve {
        background-color: #FFF9EB;
    }

    .csr-card[data-bg="5"] .content-box,
    .csr-card[data-bg="5"] .left-curve {
        background-color: #DCEFE4;
    }

    .csr-card[data-bg="6"] .content-box,
    .csr-card[data-bg="6"] .left-curve {
        background-color: #FDE7D7;
    }

    .stack-container.testimony {
        .section {
            max-width: 1200px;
        }

        max-width: 1400px;
        margin: auto;

        .csr-card.hidden {
            transform: translateY(10px);
        }

        .csr-card::after {
            background: none;
        }

        .csr-card {
            height: 534px;
            color: black;
            background: white;
        }

        .content-box {
            height: auto;
        }
    }

    /* Project Details Framework Grid */
    .framework-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
        margin-bottom: 60px;
    }

    .fw-card {
        background: url(https://www.kfintech.com/wp-content/uploads/2025/10/blue-wave.png) no-repeat;
        background-size: cover;
        padding: 32px;
        border-radius: 12px;
        color: #fff;
    }

    .fw-card h4 {
        font-size: 24px;
        font-weight: bold;
        margin-bottom: 12px;
    }

    .fw-card p {
        font-size: 14px;
        color: white;
    }

    .fw-card a {
        display: inline-block;
        padding: 10px 12px;
        text-decoration: none;
        font-weight: 700;
        background: linear-gradient(90deg, #0090ff 0%, #36dae9 100%);
        border-radius: 2px;
        color: #fff;
        border: 0;
        letter-spacing: 3px;
        box-shadow: none;
        color: black;
        background: white;
    }

    /* Know More Section (Carousel) Styles */
    .last-section {
        .cards-wrapper {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 24px;
        }

        .card {
            background: #fff;
            border-radius: 0;
            overflow: hidden;
            transition: transform 0.2s ease;
        }

        .card:hover {
            transform: translateY(-4px);
        }

        .thumbnail img {
            width: 100%;
            display: block;
        }

        .card-content {
            padding: 16px;
        }

        .title {
            font-weight: 500;
            color: #111111;
            font-size: 18px;
            text-align: left;
        }

        .meta {
            display: flex;
            gap: 12px;
            color: #555;
            font-size: 0.85rem;
            padding-top: 12px;
            align-items: center;
            color: rgba(17, 17, 17, 0.8);
            font-size: 15px;
        }

        .meta span {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .title-container {
            display: flex;
            position: relative;
            justify-content: center;
        }

        .button-container {
            top: calc(50% - 15px);
            position: absolute;
            display: flex;
            gap: 18px;
            right: 0;
        }

        .csr-container {
            position: relative;
            display: flex;
            align-items: center;
        }

        .csr-scroll {
            display: flex;
            overflow-x: auto;
            scroll-behavior: smooth;
            gap: 20px;
            padding: 10px 0;
            scrollbar-width: none;
        }

        .csr-scroll::-webkit-scrollbar {
            display: none;
        }

        .card {
            position: relative;
            flex: 0 0 448px;
            border-radius: 10px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }


        .arrow {
            width: 30px;
            height: 30px;
            border: none;
            background: #fff;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }

        .arrow:hover {
            background: #f2f2f2;
        }

        .arrow.left {
            right: 0;
        }

        .arrow.right {
            left: 0;
        }

        .arrow svg {
            width: 18px;
            height: 18px;
            fill: #333;
        }
    }

    /* Animation Styles */
    .animated-title span {
        display: inline-block;
        opacity: 0;
        filter: blur(6px);
        transform: translateY(10px);
    }

    .inner-block {
        margin-top: 22px;
        opacity: 0;
        transform: translateY(30px);
    }

    /* Footer Styles */
    .footer-div {

        @-moz-document url-prefix() {
            html {
                scrollbar-width: none
            }
        }

        body {
            font-family: Roboto, sans-serif;
            scroll-behavior: smooth;
            background: #000;
            color: #fff
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            color: #fff
        }

        p {
            font-weight: 300;
            font-family: Roboto, sans-serif;
            color: #fff
        }

        img {
            max-width: 100%
        }

        .max-width {
            max-width: 1360px;
            margin: auto;
            width: 100%;
            padding-left: 40px;
            padding-right: 40px
        }

        body::-webkit-scrollbar {
            display: none
        }

        body {
            -ms-overflow-style: none;
            scrollbar-width: none
        }

        .footer_logo>img {
            height: 46px;
            opacity: .8
        }

        .esg-img-mobile {
            display: none
        }

        p::-webkit-scrollbar {
            width: 2px;
            height: 2em
        }

        p::-webkit-scrollbar-button {
            background: #ccc
        }

        p::-webkit-scrollbar-track-piece {
            background: #6ae9fa
        }

        p::-webkit-scrollbar-thumb {
            background: #fff
        }

        @keyframes move {
            0% {
                left: 10px
            }

            100% {
                left: 0
            }
        }

        .site {
            background: #000
        }

        footer {
            color: #b8a8a8;
            background: #050712
        }

        footer .max-width {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            padding-top: 100px;
            padding-bottom: 50px
        }

        .footer_logo p {
            width: 80%;
            font-size: 14px;
            line-height: 32px;
            margin: 40px 0;
            color: #b8a8a8
        }

        .footer_logo {
            width: 30%
        }

        .footer_links {
            width: 70%;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            padding-left: 30px;
            padding-top: 15px
        }

        .footer_links_info {
            width: 33.33%
        }

        .footer_links_info h5 {
            margin-bottom: 7px;
            color: #b8a8a8;
            font-size: 15px;
            font-weight: 700;
            font-family: Roboto, sans-serif
        }

        .footer_links_info ul {
            padding: 0;
            margin-left: 0
        }

        .footer_links_info li {
            margin-bottom: 7px;
            list-style-type: none
        }

        .footer_links_info li a {
            text-decoration: none;
            font-size: 13px;
            position: relative;
            color: #b8a8a8;
            font-weight: 300
        }

        .footer_contact a {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex
        }

        .footer_links_info li a:hover {
            color: #fff
        }

        .footer_links_info li a::after {
            bottom: -3px;
            content: "";
            display: block;
            height: 1px;
            left: 0;
            right: 0;
            margin: auto;
            position: absolute;
            background-color: #fff;
            -webkit-transition: width .3s ease 0s, left .3s ease 0s;
            -o-transition: width .3s ease 0s, left .3s ease 0s;
            transition: width .3s ease 0s, left .3s ease 0s;
            width: 0
        }

        .footer_links_info li a:hover::after {
            width: 100%
        }

        .footer_links_info li a img {
            margin-right: 10px;
            width: 15px
        }

        .footer_contact_tel {
            display: flex;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center
        }

        .footer_social_links {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex
        }

        .footer_social_links a {
            margin-left: 8px;
            -webkit-transition: all .2s ease;
            -o-transition: all .2s ease;
            transition: all .2s ease;
            width: 30px;
            height: 30px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #201c43;
            border-radius: 8px;
            padding: 7px
        }

        .footer_social_links a:hover {
            -webkit-transform: translateY(-5px);
            -ms-transform: translateY(-5px);
            transform: translateY(-5px)
        }

        .footer_contact a:hover::after {
            display: none
        }

        .footer_links_info .footer_social_links a img {
            width: auto
        }

        p.footer_copyright {
            margin: 0
        }

        .footer_bottom,
        .footer_bottom ul {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center
        }

        .footer_bottom {
            max-width: 1360px;
            margin: auto;
            padding: 0 40px;
            padding-bottom: 40px
        }

        .footer_here img {
            width: 90px
        }

        .footer_bottom .footer_copyright {
            font-weight: 300;
            font-size: 14px;
            line-height: 28px;
            color: #b8a8a8
        }

        .footer_bottom ul {
            margin: 0;
            list-style-type: none;
            margin-right: 100px;
            margin-left: auto
        }

        .footer_bottom ul h5 {
            margin: 0;
            color: #b8a8a8;
            font-size: 16px;
            margin-right: 30px;
            font-weight: 500;
            font-family: Roboto, sans-serif
        }

        .footer_here p {
            margin: 0;
            color: #b8a8a8;
            font-size: 18px;
            font-weight: 300;
            letter-spacing: .02em
        }

        .footer_here span {
            font-weight: 900
        }

        .footer_bottom .footer_copyright_mobile {
            display: none
        }
    }

    /* Additional Desktop Styles (Mixins for .stack-container) */
    .stack-container {
        .stack-container .csr-card {
            /* Desktop/Default CSS nested in media query blocks that should be un-nested */
        }
    }

    /* Override for drag cursor */
    body {
        .button-container {
            display: none !important;
        }

        .thumbnail {
            position: relative;
        }

        .thumbnail::after {
            position: absolute;
            content: "";
            width: 100%;
            top: 0;
            height: 100%;
        }

        .thumbnail:hover::after {
            border-radius: 12px;
            display: flex;
            background-color: rgba(0, 0, 0, 0.575);
            position: absolute;
            width: 100%;
            height: 100%;
            content: url(https://www.kfintech.com/wp-content/uploads/2025/11/icon.svg);
            align-items: center;
            justify-content: center;

        }
    }

    /* ----------------------------------------------------------------------
     * 2. MEDIA QUERIES (Mobile-First approach is recommended, so smallest
     * max-width queries come first, followed by min-width overrides)
     * ---------------------------------------------------------------------- */

    /* Max-Width: 420px (Extra Small Screens - Stack Container) */
    @media (max-width: 420px) {
        .stack-container {
            height: fit-content !important;

            .csr-card {
                height: fit-content !important;
            }
        }
    }

    /* Max-Width: 600px (Mobile Overrides) */
    @media (max-width: 600px) {
        .section3-wrapper, .footer-div footer .max-width,.content-box{
            width: auto;

        }
        .stack-container .csr-content {
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgb(0 0 0 / 41%) 63%) !important;
    height: 100%;
    align-content: end;
}
        .stack-container.testimony {
    .csr-card {
        height: auto;
    }}
        .s3-right {
            flex: 100%;
        }

        .s3-right img {
            height: 236px;
        }

        .s3-text-overlay {
            font-size: 14px;
            background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgb(0 0 0 / 53%) 63%) !important;
        }

        .stick-text {
            width: 100%;
        }

        .sticky-num {
            position: relative;
            margin-top: 30px;
            width: 100%;
            top: 0;
        }

        .framework-grid {
            grid-template-columns: 1fr;
        }

        .stack-container {
            gap: 10px;
        }

        #hero {
            padding-top: 160px;
        }

        .hero-title {
            font-size: 32px;
        }

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

        .stats-block {
            display: flex;
            flex-direction: column;
        }

        .top-text {
            font-size: 14px;
        }

        .counter {
            font-size: 48px;
        }

        .bottom-text {
            font-size: 12px;
        }

        .gap-class {
            padding: 30px;
        }

        .section-titles.text-center {
            font-size: 24px;
            padding: 0 20px 30px;
        }

        .stack-container {
            .csr-content {
                padding: 200px 20px 20px !important;

            }

            .quote-box {
                order: 3;
                margin: 20px;
            }

            .content-box {
                padding: 20px;
            }

            .quote {
                order: 4;
                font-size: 14px;
            }

            .name {
                order: 1;
            }

            .designation {
                order: 2;
            }

            .csr-content h6 {
                font-size: 16px;
            }

            .csr-content h2 {
                font-size: 26px;
            }

            .csr-content p {
                font-size: 14px;
            }
        }

        .sticky-num .num {
            font-size: 40px;
            line-height: normal;
        }

        .stick-text {
            font-size: 20px;
        }

        .s3-left {
            min-height: auto;
        }

        .s3-block {
            gap: 40px;
            margin: 0px 0;
        }

        .section3-wrapper {
            gap: 0;
        }

        div {
            .section-titles {
                font-size: 24px;
                padding: 0 0px 30px;
            }
        }

        .s3-right img {
            object-position: right;
        }

        .left-curve {
            display: none;
        }

        .inner-block {
            opacity: 1;
        }

        .last-section {
            .card {
                flex: 0 0 252px;
            }

            .title {
                font-size: 16px;
            }

            .card-content {
                padding: 12px;
            }
        }
    }


    /* Max-Width: 767px (Footer Mobile Overrides) */
    @media (max-width:767px) {

        .footer-div .max-width {
            padding-left: 20px;
            padding-right: 20px
        }

        .footer-div .footer_bottom .footer_copyright_mobile,
        .footer-div .footer_links {
            display: block
        }

        .footer-div .footer_bottom .footer_copyright_desktop {
            display: none
        }

        .footer-div footer .max-width {
            display: block;
            padding: 30px 20px
        }

        .footer-div .footer_links,
        .footer-div .footer_links_info,
        .footer-div .footer_logo,
        .footer-div .footer_logo p {
            width: 100%
        }

        .footer-div .footer_logo p {
            margin: 20px 0 0 0
        }

        .footer-div .footer_links {
            padding-left: 0
        }

        .footer-div .footer_bottom {
            padding: 0 20px 40px;
            display: block
        }

        .footer-div .footer_bottom ul,
        .footer-div .footer_bottom ul h5 {
            display: block;
            margin-right: 0;
            margin-bottom: 10px
        }

        .footer-div .footer_here p {
            text-align: right;
            margin-bottom: 35px
        }

        .footer-div .esg-img-mobile {
            display: flex;
            justify-content: center;
            margin-bottom: 45px
        }
    }


    /* Max-Width: 768px (Tablet/Mid-size Mobile Overrides) */
    @media (max-width: 768px) {
        .stats-block {
        display: flex !important;
        flex-direction: column;
    }
        .fixed-badge {
        right: 16px;
        bottom: 93px;
        width: fit-content;
        max-width: 320px;
        padding: 6px;
        border-radius: 50%;
    }
        .fixed-badge img {
        height: 76px;
        width: 72px;
    }
        .fixed-badge .text {
        display: none;
    }
        
        .stack-container {
            .csr-content {
                padding: 40px 20px;
            }

            .csr-content h2 {
                font-size: 1.4rem;
            }
        }
    }

    /* Max-Width: 900px (Tablet Landscape/Small Desktop Overrides for Initiatives) */
    @media(max-width: 900px) {
        .s3-block {
            flex-direction: column;
        }
    }

    /* Max-Width: 992px (Tablet Overrides for Testimony) */
    @media (max-width: 992px) {
        .testimony .csr-card {
            flex-direction: column-reverse;
        }

        .section {
            flex-direction: column;
        }

        .left-curve {
            width: 100%;
            height: 40px;
            border-radius: 20px 20px 0 0;
        }

        .left-curve::before,
        .left-curve::after {
            display: none;
            /* remove curve for mobile */
        }

        .content-box {
            width: 100%;
            border-radius: 0 0 20px 20px;
        }

        .right-img {
            width: 100%;
            justify-content: center;
            padding: 20px 0 0;
        }

        .right-img img {
            max-width: 280px;
        }
    }

    /* Min-Width: 600px and Max-Width: 1407px (Mid-range Desktop Adjustments) */
    @media (min-width:600px) and (max-width:1407px) {
        .stats-block {
            margin-top: 100px;
        }

        .counter {
            font-size: 98px;
        }

        .hero-title {
            font-size: 46px;
        }

        .content-section {
            margin-bottom: 30px;
        }

        .fixed-badge {
            width: 235px;
        }

        .fixed-badge img {
            height: 83px;
        }

        .fixed-badge .title {
            font-size: 12px;
        }

        .fixed-badge .subtitle {
            font-size: 10px;
        }
    }

    /* Min-Width: 768px (Tablet/Desktop Overrides) */
    @media (min-width: 768px) {
        #csrScroll {
            cursor: grab;
        }

        #csrScroll:active {
            cursor: grabbing;
        }
    }

/* home end */


/* internal */


    body {
        margin: 0;
        font-family: roboto;
        line-height: 1.5;
        color: #222;
    }

    /* -------------- HERO SECTION -------------- */
    .hero {
        position: relative;
        width: 100%;
        height: 100vh;
        border-radius: 20px;
        overflow: hidden;
        background-image: url(https://www.kfintech.com/wp-content/uploads/2025/11/Sankalp-AI-Kids.jpg);
        /* background: url(https://www.kfintech.com/wp-content/uploads/2025/11/Education.jpg); */
        background-size: cover;
        background-position: center;
    }
    .hero-content {
        position: absolute;
        bottom: 40px;
        left: 0;
        z-index: 5;
    }

    .hero h1 {
        font-size: 100px;
        font-weight: 300;
        margin: 0;
        /* width: 60%; */
        color: white;
    }

    /* -------------- MAIN CONTENT -------------- */
    .content-wrap {
        display: flex;
        margin: auto;
        padding: 60px 20px;
        gap: 40px;
    }

    /* LEFT CONTENT */
    .content-left {
        flex: 1;
        min-width: 0;
    }

    .content-left h2 {
        margin-top: 0;
        
        color:#121212;
        font-size: 32px;

        line-height: 36px;
        margin-bottom: 30px;

    }
    .content-left p{
        
        color: rgba(18, 18, 18, 0.8);
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 30px;

    }

    .checklist li {
        margin-bottom: 8px;
    }

    /* -------------- RIGHT STICKY BOXES -------------- */
    .content-right {
        width: 480px;
        position: relative;
    }

    .info-box {
        align-items: center;
        justify-content: space-between;
        border: 1px solid black;
        padding: 16px;
        margin-bottom: 6px;
        display: flex;
        background: #fff;
        min-height: 80px;
    }
    .content-left img{
        width: -webkit-fill-available;
    }
    .max-w-6xl {
    max-width: 72rem;
}
.mx-auto{
    margin: auto;

}
.shadow-2xl {
    --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.rounded-xl {
    border-radius: 0.75rem;
}
.max-w-\[90\%\] {
    max-width: 90%;
}

.max-h-\[90\%\] {
    max-height: 90%;
}

    .box-title {
        font-size: 24px;
        /* font-weight: 500; */
        flex-basis: 45%;
        color: #121212;
    }
    #gallery{
        padding-bottom: 40px;
                grid-template-columns: repeat(4, minmax(0, 1fr));
                gap: 16px;
    }
    #gallery img{
            max-width: 100%;
    height: auto;
    border-radius: 12px;
    }

    .info-box p {
        flex-basis: 65%;
        font-size: 14px;
        margin: 0;
        color: #121212;
        text-align: right;
    }

    /* Images inside content */
    .content-img {
        width: 100%;
        margin: 30px 0;
        border-radius: 6px;
    }
     p.top-text {
        
        color:  #ffffff;
        font-size: 14px;

        line-height: 20px;

        padding-left: 20px;

            font-size: 16px;
        font-weight: 500;
        opacity: .8;
        margin-bottom: 10px;
    }
    .hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40%;
    mask: linear-gradient(#00000000 20%, #00000096 33% 52%, #000000c2 57%, #000000 90%);
    /* background: linear-gradient(to bottom, rgb(255 255 255 / 0%) 0%, rgb(255 255 255 / 23%) 50%, rgb(255 255 255 / 51%) 100%); */
    backdrop-filter: blur(10px);
    pointer-events: none;
    background: linear-gradient(356deg, #00000078, transparent);
}
    .top-text::before {

      content: "";
      background: #2159A4;
      display: inline-flex;
      height: 10px;
      width: 10px;
      margin: 10px 5px 0px 0;
      padding-bottom: 5px;
      vertical-align: super;

    }

    /* Dropdown styles that were originally in body */
    .dropdown-hidden { opacity: 0; transform: translateY(-10px); pointer-events:none; }
    .dropdown-visible { opacity: 1; transform: translateY(0); pointer-events:auto; transition: all .25s ease; }

    /* Initial header text white */
    .nav-white a, .nav-white button, .nav-white svg path {
        color: white !important;
        fill: white !important;
    }

    /* mobileMenu positioning kept */
    #mobileMenu{
        top: 70px;
        position: absolute;
        left: 0;
        right: 0;
    }

    /* Initiatives / CSR styles converted from nested to flat selectors */
    .initiatives .csr-card {
        background: #71c0e826;
        border-radius: 8px;
        padding:16px 18px;
        box-sizing: border-box;
        backdrop-filter: blur(2px);
        margin-top: 48px;
    }

    .initiatives .csr-header{
        font-weight:700;
        font-size:18px;
        color:#0f1724;
    }

    .initiatives .list {
        display:block;
        border-radius:8px;
        overflow:hidden;
    }

    .initiatives .item {
        display:grid;
        grid-template-columns: 1fr 24px;
        align-items:center;
        gap:20px;
        padding:22px 18px 22px 0;
        border-top: 1px solid grey;
        background: transparent;
    }

    .initiatives .item:first-child { border-top: 0; }

    .initiatives .item-title {
        color: #001a55;
        font-weight:700;
        font-size:14px;
        letter-spacing:0.4px;
    }
    .initiatives .arrow-btn {
                            content: url("data:image/svg+xml,\            <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19.499 16.518'>\            <path d='M 10.72 0.219 C 11.013 -0.073 11.487 -0.073 11.78 0.219 L 19.28 7.719 C 19.572 8.012 19.572 8.487 19.28 8.779 L 11.78 16.279 C 11.593 16.48 11.311 16.563 11.046 16.495 C 10.78 16.427 10.572 16.219 10.505 15.954 C 10.437 15.688 10.519 15.406 10.72 15.219 L 16.94 8.999 L 0.75 8.999 C 0.336 8.999 0 8.664 0 8.249 C 0 7.835 0.336 7.499 0.75 7.499 L 16.94 7.499 L 10.72 1.279 C 10.428 0.987 10.428 0.512 10.72 0.219 Z' fill='black'/>\            </svg>");

    }

    .initiatives .arrow-btn{
                    /* content: url("data:image/svg+xml,\            <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19.499 16.518'>\            <path d='M 10.72 0.219 C 11.013 -0.073 11.487 -0.073 11.78 0.219 L 19.28 7.719 C 19.572 8.012 19.572 8.487 19.28 8.779 L 11.78 16.279 C 11.593 16.48 11.311 16.563 11.046 16.495 C 10.78 16.427 10.572 16.219 10.505 15.954 C 10.437 15.688 10.519 15.406 10.72 15.219 L 16.94 8.999 L 0.75 8.999 C 0.336 8.999 0 8.664 0 8.249 C 0 7.835 0.336 7.499 0.75 7.499 L 16.94 7.499 L 10.72 1.279 C 10.428 0.987 10.428 0.512 10.72 0.219 Z' fill='black'/>\            </svg>"); */
        border-radius:50%;
        border:1px solid rgba(11,74,155,0.16);
        /* display:inline-flex; */
        align-items:center;
        justify-content:center;
        background:transparent;
        cursor:pointer;
        padding: 10px;
        transition: transform .15s ease, background .15s ease;
        width: 16px;
        height: 16px;
        padding: 12px;
        transform: rotate(-45deg);
        /* content: url(...) left as originally but content:url is invalid for cross-browser; left unchanged in sense of original intent removed here */
    }
    .item:hover{
    .arrow-btn { transform: rotate(0deg); background: black;
                    content: url("data:image/svg+xml,\            <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19.499 16.518'>\            <path d='M 10.72 0.219 C 11.013 -0.073 11.487 -0.073 11.78 0.219 L 19.28 7.719 C 19.572 8.012 19.572 8.487 19.28 8.779 L 11.78 16.279 C 11.593 16.48 11.311 16.563 11.046 16.495 C 10.78 16.427 10.572 16.219 10.505 15.954 C 10.437 15.688 10.519 15.406 10.72 15.219 L 16.94 8.999 L 0.75 8.999 C 0.336 8.999 0 8.664 0 8.249 C 0 7.835 0.336 7.499 0.75 7.499 L 16.94 7.499 L 10.72 1.279 C 10.428 0.987 10.428 0.512 10.72 0.219 Z' fill='white'/>\            </svg>");

    } }

    /* Hover effect converted from nested SCSS in original */
    .initiatives .item:hover .arrow-btn  {
        transform: rotate(0deg);
        background: black;
    }
    .initiatives .item:hover .arrow-btn svg path{
                    content: url("data:image/svg+xml,\            <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19.499 16.518'>\            <path d='M 10.72 0.219 C 11.013 -0.073 11.487 -0.073 11.78 0.219 L 19.28 7.719 C 19.572 8.012 19.572 8.487 19.28 8.779 L 11.78 16.279 C 11.593 16.48 11.311 16.563 11.046 16.495 C 10.78 16.427 10.572 16.219 10.505 15.954 C 10.437 15.688 10.519 15.406 10.72 15.219 L 16.94 8.999 L 0.75 8.999 C 0.336 8.999 0 8.664 0 8.249 C 0 7.835 0.336 7.499 0.75 7.499 L 16.94 7.499 L 10.72 1.279 C 10.428 0.987 10.428 0.512 10.72 0.219 Z' fill='white'/>\            </svg>");
    }

    /* responsive inside initiatives originally (kept) */
    @media (max-width:720px){
        .content-right {
            width: auto;
        }
        .initiatives .item { grid-template-columns: 1fr auto; padding:16px; }
        .initiatives .item-title { grid-column: auto; margin-bottom:6px; font-size:15px; }
        .initiatives .item-desc { grid-column: 1 / -1; font-size:13px; margin-bottom:6px;}
        .initiatives .item-action { grid-column: 2 / 3; }
    }

    /* testing styles moved here */
    .top-text::before,.csr-header:before {
      content: "";
      background: #2159A4;
      display: inline-flex;
      height: 6px;
      width: 10px;
      margin: 10px 5px 0px 0;
      padding-bottom: 5px;
      vertical-align: super;
    }
    .csr-header::before{
        height: 12px;
      width: 12px;
      margin: 12px 10px 0px 0;
    }
    p.top-title {
        color: #121212;
        font-weight: 400;

        font-size: 14px;
      }
    .section-titles {

        font-weight: 600;

        color: #111111;
        font-size: 64px;
        padding-bottom: 30px;
      }

    .fade {
      opacity: 0;
      transition: opacity .3s ease;
    }
    .fade.show {
      opacity: 1;
    }

    /* Popup */
    #lightbox {
      backdrop-filter: blur(8px);
      background: rgba(0,0,0,0.6);
    }


    .people-section {
        max-width: 1200px;
        margin: 60px auto;
        padding: 0 20px;
    }

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

    .person-card {
        background: #ffffff;
        border-radius: 16px;
        padding: 30px 20px;
        text-align: center;
        box-shadow: 0 12px 30px rgba(0,0,0,0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
    background: linear-gradient(1deg, #00000075, transparent);
    align-content: end;
    height: 254px;
    }

    .person-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0,0,0,0.12);
    }

    .person-card img {
        width: 110px;
        height: 110px;
        margin-bottom: 16px;
        position: absolute;
    border-radius: 12px;
    top: 0;
    width: 100%;
    height: 100%;
    left: 0;
    z-index: -1;
    object-fit: initial;
    }

    .person-card h3 {
        margin: 0;
        font-size: 18px;
        color: white;
    }

    .person-card span {
        display: block;
        margin-top: 6px;
        font-size: 14px;
        color: white;
    }
     @media (max-width: 1024px) {
        .people-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    /* Sticky behavior only on desktop (moved and preserved) */
    @media (max-width: 768px) {
        .content-right-inner {
            position: sticky;
            top: 90px;
        }
        .hero h1 {
            font-size: 32px;
        }
        p.top-text {
            padding-left: 4px;
        }
        .content-left h2{
            font-size: 22px;
            margin-bottom: 10px;
        }
        .content-left p {
            font-size: 14px;
        }
        .section-titles{
            font-size: 24px;
            padding-bottom: 0;
        }
        .initiatives .csr-card {
            margin-top: 0;
        }
    }

    /* Hide right section entirely on mobile */
    @media (max-width: 767px) {
        .content-box{
            width: auto;
        }
        .info-box {
            display: none;
        }
        .content-wrap {
            flex-direction: column;
            padding: 30px 20px;
        }
        .hero h1{
            font-size: 32px;
        }
        .content-left h2{
            margin-bottom: 10px;
        }
        .initiatives .csr-card{
            margin-top: 0;
        }
        #gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));}
 .people-grid {
            grid-template-columns: 1fr;
        }    
}


/* internal end */
