/* Hero banner - Section 1  */

.desktop {
    display: block;
}

.mobile {
    display: none;
}

.tablet {
    display: none;
}

@media screen and (max-width: 600px) {
    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }
}

@media screen and (min-width: 601px) and (max-width: 1024px) {
    .tablet {
        display: block;
    }

    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }
}

.people_hero {
    position: relative;
    max-height: 630px;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 130px;
    overflow: hidden;

    .banner-image {
        display: grid;
        width: 100%;
        margin-top: 90px;

        .checks-vector {
            grid-area: 1 / 1;
            width: 100%;
            height: auto;
            align-self: end;
            pointer-events: none;
        }

        .team-photo {
            grid-area: 1 / 1;
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
    }

    .absolute-container {
        position: absolute;
        top: 10%;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        height: auto;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        /* z-index: 10; */
        /* text-align: center; */
        

        .content {
            max-width: 800px;
            width: 100%;
            height: auto;
            display: flex;
            flex-direction: column;
            justify-content: start;
            align-items: center;
            gap: 20px;
            background: transparent;
            padding: 0;
            border-radius: 12px;
            text-align: center;
            /* box-shadow: 0px 0px 32px 3px #000000; */

            .text-container {
                text-align: start;

                .para-primary {
                    color: #fbf8f8;
                    font-size: 16px;
                    font-weight: 300;
                    line-height: 28px;
                    /* text-shadow: 0px 2px 6px rgb(0 0 0 / 35%); */
                }
            }

            /* .mentor {
                width: fit-content;
                height: auto;
                text-align: start;

                span {
                    width: max-content;
                    height: auto;
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    text-shadow: 0px 2px 6px rgb(0 0 0 / 35%);
                }

                .para-primary {
                    color: #AAA;
                    text-shadow: 0px 2px 6px rgb(0 0 0 / 35%);
                }
            } */
        }

        .image-container {
            width: auto;
            height: auto;
            object-fit: cover;

            img {
                width: 465px;
                height: 100%;
                object-fit: cover;
            }
        }

    }

    @media screen and (min-width: 601px) and (max-width: 1024px) {
        & {            

            height: 400px;

            .mobile {
                display: none;
            }

            .banner-image {
                img {
                    width: 100vw;
                }
            }

            .absolute-container {
                top: 15%;

                .content .text-container h3 {
                    font-size: 27px;
                }

                .image-container {
                    img {
                        width: 400px;
                    }
                }
            }

            /* .content {
                top: 0;
            } */
        }
    }

    @media screen and (max-width: 600px) {
        & {
            .desktop {
                display: none;
            }

            max-height: 100%;
            gap: 0;

            .absolute-container {
                position: absolute;
                inset: 0;
                flex-direction: column;
                width: auto;
                left: unset;
                transform: none;            
                align-items: center;
                text-align: center;
                justify-content: center;
                padding: 0 20px;

                .content {
                    gap: 32px;
                    align-items: center;
                    text-align: center;
                    width: 100%;

                    .text-container {
                        text-align: center;
                    }
                }

                .image-container {
                    width: 267px;
                    height: 100%;

                    img {
                        width: 100%;
                        height: 100%;
                    }
                }
            }

            .banner-image_mobile {
                width: 100%;
                height: 350px;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }
        }
    }
}

/* Leaders Grid - Section 2  */
.leaders-container {
    padding-block: var(--spacer-120);


    /* Grid Layout */
    .knowledge-grid-container {
        margin-top: 40px;

        .knowledge-grid {
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;

            .leader-container {
                width: 24%;
            }

            /* Card Styles */
            .card {
                width: 100%;
                height: auto;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                border-radius: 10px;
                border: var(--border-light-blue);
                background: var(--bg-white);
                overflow: hidden;
                transition: background 200ms ease;

                .card-img {
                    position: relative;
                    padding-top: 60%;
                    width: 100%;
                    max-width: 100%;
                    max-height: 200px;
                    margin-inline: auto;
                    margin-top: 0;
                    margin-bottom: 0;
                    border-radius: 0;
                    overflow: hidden;
                    transition: all 0.4s ease;

                    img {
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: auto;
                        scale: 1;
                        transition: all 0.4s ease;
                    }
                }

                .card-content {
                    width: 100%;
                    height: auto;
                    padding: 1.0rem;
                    padding-bottom: 20px;
                    display: flex;
                    flex-direction: column;
                    gap: 1.5rem;

                    .card_inner {
                        width: 100%;
                        height: auto;
                        display: flex;
                        flex-direction: column;
                        justify-content: center;
                        align-items: start;
                        gap: 4px;

                        span {
                            width: 100%;
                            height: auto;
                            display: flex;
                            justify-content: space-between;
                            align-items: center;
                            gap: 8px;

                            a {
                                cursor: pointer;

                                img {
                                    width: 24px;
                                    height: 24px;
                                }
                            }
                        }

                        .sub-heading-primary {
                           /* text-align: center;
                            text-wrap: nowrap;*/
                            font-size:16px;
                        }

                        .para-secondary {
                            text-align: left;
                        }

                    }

                    .cta {
                        position: relative;
                        display: inline-block;
                        text-decoration: none;
                        color: var(--text-black-primary);
                        font-size: 0.875rem;
                        font-weight: normal;
                        transform: translateY(20px);
                        opacity: 0;
                        transition: all 0.4s ease;
                        text-align: center;
                        cursor: pointer;

                        /* &::after {
                            content: "";
                            position: absolute;
                            bottom: 0;
                            left: 0;
                            width: 35%;
                            height: 0.5px;
                            background-color: var(--bg-arcon-red);
                            opacity: 0;
                            transition: opacity 300ms, transform 300ms;
                        }

                        &:hover::after,
                        &:focus::after {
                            opacity: 1;
                        } */
                    }
                }

                &:hover {
                    background: var(--section-gradient);
                    transition: background 200ms ease;

                    .card-img {
                        margin-inline: auto;
                        max-width: 250px;
                        margin-top: 10px;
                        margin-bottom: 3px;
                        border-radius: 10px;

                        img {
                            scale: 1.3;
                        }
                    }

                    .cta {
                        /* color: var(--text-arcon-red); */
                        transform: translateY(0);
                        opacity: 1;
                        transition: all 0.4s ease;
                    }

                    .cta::after {
                        opacity: 1;
                    }
                }
            }

            /* PopUp Styles  */
            .pop-up_container {
                position: fixed;
                left: 0;
                top: 0;
                height: 100%;
                width: 100%;
                background: rgba(0, 0, 0, 0.2);
                z-index: 1;
                transform: translateX(100%);
                opacity: 0;
                transition: opacity 400ms ease;

                .pop-up {
                    position: absolute;
                    max-width: 590px;
                    width: 100%;
                    margin: 0 auto;
                    right: 0;
                    top: 0;
                    height: 100vh;
                    background: #FFF;
                    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
                    overflow-y: auto;
                    transition: transform 400ms ease;
                    transform: translateX(100%);

                    .close_popup {
                        position: sticky;
                        top: 0;
                        right: 0;
                        width: 100%;
                        height: 66px;
                        display: flex;
                        justify-content: end;
                        align-items: start;
                        background: linear-gradient(180deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%);
                        cursor: pointer;

                        img {
                            width: 15px;
                            height: 15px;
                            margin-top: 35px;
                            margin-right: 25px;
                        }
                    }

                    .pop_content {
                        width: 100%;
                        height: auto;
                        padding-inline: 60px;
                        margin-bottom: 70px;

                        .pop-up_title {
                            width: fit-content;
                            height: auto;
                            display: flex;
                            gap: 12px;
                            justify-content: center;
                            align-items: center;

                            a {
                                img {
                                    width: 34px;
                                    height: 34px;
                                    object-fit: cover;
                                }
                            }
                        }

                        .sub-heading-primary {
                            color: var(--text-grey5);
                        }

                        .pop-up_image {
                            width: 100%;
                            margin-top: 40px;
                        }

                        .para-primary {
                            margin-top: 40px;
                        }
                    }

                }

                &.active {
                    transform: translateX(0);
                    opacity: 1;
                    transition: opacity 400ms ease;

                    .pop-up {
                        transition: transform 400ms ease;
                        transform: translateX(0);
                    }
                }
            }

            .bottom-sheet {
                display: none;
            }

            @media screen and (min-width: 601px) and (max-width: 1024px) {
                & {
                    .leader-container {
                        width: 32%;
                    }

                    .knowledge-grid-container {
                        margin-top: 40px;

                        .knowledge-grid {
                            flex-wrap: wrap;
                            gap: 12px;
                            justify-content: center;
                        }
                    }

                    .card {
                        .card-content .cta {
                            opacity: 1;
                            transform: translateY(0px);
                            text-align: start;
                            text-decoration: underline;
                        }
                    }
                }
            }

            @media screen and (max-width: 600px) {
                & {
                    grid-template-columns: auto;

                    .leader-container {
                        width: 100%;
                    }

                    .card {
                        height: auto;
                        padding-top: 16px;
                        padding-inline: 16px;
                        background: var(--section-gradient);

                        .card-img {
                            position: relative;
                            max-height: 170px;
                            height: 100%;
                            padding-top: 62%;
                            overflow: hidden;
                            border-radius: 10px;

                            img {
                                /* border-radius: 10px; */
                                height: 100%;
                                object-fit: cover;
                            }
                        }

                        .card-content {
                            padding: 16px;

                            .card_inner {
                                align-items: start;

                                span {
                                    justify-content: space-between;

                                    img {
                                        width: 24px;
                                        height: 24px;
                                    }
                                }
                            }

                            .cta {
                                opacity: 1;
                                transform: translateY(0px);
                                text-align: start;
                                text-decoration: underline;
                            }
                        }

                        &:hover {
                            .card-img {
                                margin-inline: unset;
                                max-width: unset;
                                margin-top: unset;
                                margin-bottom: unset;
                                border-radius: unset;

                                img {
                                    scale: unset;
                                    padding: unset;
                                    border-radius: 10px;
                                    object-fit: cover;
                                }
                            }

                            .cta {
                                /* color: var(--text-arcon-red); */
                                transform: unset;
                                opacity: unset;
                                transition: unset;
                            }

                            .cta::after {
                                opacity: unset;
                            }
                        }
                    }

                    /* .pop-up_container {
                        transform: translateY(100%);
                        transition: transform 400ms ease;
                        touch-action: none;

                        .pop-up {
                            max-width: 100%;
                            height: 75vh;
                            bottom: 0;
                            top: unset;
                            transition: transform 400ms ease;

                            .close_popup {
                                display: none;
                            }

                            .close_popup_mobile {
                                position: sticky;
                                top: 0;
                                right: 0;
                                width: 100%;
                                padding-block: 15px;
                                display: flex;
                                justify-content: center;
                                align-items: center;
                                margin-bottom: 20px;
                                background: linear-gradient(180deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%);
                            }

                            .pop_content {
                                padding-inline: 20px;

                                .pop-up_image {
                                    width: 100%;
                                }
                            }
                        }

                        &.active {
                            transform: translateY(0);
                        }
                    } */
                    .bottom-sheet {
                        position: fixed;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        display: flex;
                        align-items: end;
                        justify-content: flex-end;
                        opacity: 0;
                        pointer-events: none;
                        transition: all 0.3s ease;
                        z-index: 99;
                    }

                    .bottom-sheet.show {
                        opacity: 1;
                        pointer-events: auto;
                    }

                    .bottom-sheet .sheet-overlay {
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        background: rgba(0, 0, 0, 0.2);
                        transition: all 0.3s ease;
                    }

                    .bottom-sheet .content {
                        position: relative;
                        width: 100%;
                        max-width: 1150px;
                        height: 100vh;
                        max-height: 100vh;
                        display: flex;
                        flex-direction: column;
                        background: #fff;
                        border-radius: 12px 12px 0 0;
                        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
                        transform: translateY(100%);
                        transition: all 0.3s ease;
                        z-index: 99;
                    }

                    .bottom-sheet.show .content {
                        padding-inline: 15px;
                        transform: translateY(0);
                        transition: all 0.3s ease;
                    }

                    .content .body {
                        overflow: auto;
                        height: 100%;

                        .sub-heading-primary {
                            margin-top: 6px;
                            margin-bottom: 20px;
                            color: var(--text-grey5);
                        }
                    }

                    .content .body .title {
                        width: 100%;
                        height: auto;
                        display: flex;
                        gap: 12px;
                        justify-content: start;
                        align-items: center;

                        a {
                            img {
                                width: 24px;
                                height: 24px;
                                object-fit: cover;
                            }
                        }
                    }

                    img.body_image {
                        width: 100%;
                    }

                    /* Fullscreen state */
                    .bottom-sheet.fullscreen .content {
                        height: 100vh;
                        border-radius: 0;
                    }

                    /* Dragging state disables transition for content */
                    .bottom-sheet.dragging .content {
                        transition: none;
                    }

                    /* Close button visibility */
                    .close_popup_mobile {
                        display: flex;
                        justify-content: flex-end;
                        padding: 15px 20px;
                        cursor: pointer;
                    }

                    .close_popup_mobile .close_icon_mobile {
                        width: 16px;
                        height: 16px;
                    }

                    .header {
                        background: linear-gradient(180deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%);

                        .drag-icon {
                            padding-block: 20px;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            position: sticky;
                            top: 0;
                            background: linear-gradient(180deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%);
                        }
                    }

                    /* Responsive tweaks */
                    @media screen and (min-width: 1024px) {

                        .bottom-sheet,
                        .close_popup_mobile {
                            display: none;
                        }
                    }
                }
            }
        }
    }

    @media screen and (max-width: 600px) {
        & {
            .scrollBar {
                .tabs {

                    .cta-primary {
                        font-size: 16px;
                    }
                }
            }
        }
    }
}

/* Careers - Section 3  */
.careers-container {
    position: relative;
    width: 100%;
    min-height: 749px;
    height: 100%;
    border-top-left-radius: 36px;
    border-top-right-radius: 36px;
    background: linear-gradient(50deg, #fff 27.21%, #f5faff 72.79%);
    overflow: hidden;

    .bg-grid-container {
        position: relative;
        width: 100%;
        height: 100%;

        .grid1 {
            position: absolute;
            top: 125px;
            left: 50%;
            transform: translateX(-50%);
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;

            .grid-card {
                width: 300px;
                height: 355px;
                /* background-color: blueviolet; */
                border-radius: 12px;
                overflow: hidden;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }

            .grid-card:nth-child(1),
            .grid-card:last-child {
                background-color: transparent;
            }
        }

        .grid2 {
            position: absolute;
            top: 221px;
            left: 50%;
            transform: translateX(-50%);
            display: grid;
            grid-template-rows: repeat(2, 1fr);
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;

            .grid-card {
                width: 300px;
                height: 355px;
                /* background-color: blueviolet; */
                border-radius: 12px;
                overflow: hidden;

                img {
                    width: 100%;
                    height: 100%;
                }

            }

            .grid-card:nth-last-child(-n+4) {
                img {
                    object-fit: contain;
                    object-position: top;
                }
            }

            .grid-card:nth-child(2),
            .grid-card:nth-child(3),
            .grid-card:nth-child(6),
            .grid-card:nth-child(7) {
                background-color: transparent;
            }
        }
    }

    .content-container {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);

        .content-bg {
            position: relative;
            max-width: 841px;
            max-height: 372px;

            .content {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                min-width: 600px;
                text-align: center;

                .para-primary {
                    margin-top: 16px;
                }

                .cta-primary-container {
                    width: fit-content;
                    margin-inline: auto;
                    margin-top: 40px;
                }
            }
        }

        .mobile-carrer {
            display: none;
        }
    }

    @media screen and (min-width: 601px) and (max-width: 1024px) {

        & {
            min-height: 521px;

            .bg-grid-container {

                .grid2,
                .grid1 {
                    .grid-card {
                        width: 160px;
                        height: 190px;
                    }
                }
            }

            .content-container {
                .content-bg {
                    .content {
                        top: 57%;
                        min-width: 474px;
                    }
                }
            }
        }

    }

    @media screen and (max-width: 600px) {
        & {
            min-height: 540px;

            .content-container {
                .mobile-carrer {
                    display: block;
                }
            }

            .bg-grid-container {
                .grid1 {
                    gap: 4px;
                    top: 50px;

                    .grid-card {
                        max-width: 120px;
                        max-height: 190px;

                        img {
                            object-position: left;
                        }
                    }
                }

                .grid2 {
                    gap: 4px;
                    top: 112px;

                    .grid-card {
                        max-width: 120px;
                        max-height: 190px;

                        img {
                            object-position: left;
                            object-fit: cover;
                        }
                    }

                    /* Hide last 4 grid cards */
                    .grid-card:nth-last-child(-n+4) {
                        display: none;
                    }
                }
            }

            .content-container {
                .content-bg {
                    max-width: 100%;
                    max-height: 361px;
                    height: 100%;

                    .content {
                        top: 55%;
                        width: 100%;
                        min-width: auto;
                        max-width: 303px;

                        .para-primary {
                            margin-top: 8px;
                        }

                        .cta-primary-container {
                            margin-top: 24px;
                        }
                    }
                }
            }
        }
    }
}


/* latest insights - Section 4  */
.latest-insights {
    position: relative;
    height: auto;
    padding: 60px 100px;
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 50px;
    border: var(--border-light-blue);
    border-radius: 20px;
    background: var(--section-gradient);
    margin-block: var(--spacer-120);

    .triangle_graphic {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
    }

    .left-content {
        max-width: 390px;
        width: 100%;
        height: auto;

        .para-primary {
            margin-top: 8px;
        }
    }

    .right-content {
        max-width: 625px;
        width: 100%;
        height: auto;
    }

    @media screen and (max-width: 1024px) {
        & {
            flex-direction: column;
            gap: 32px;
            padding: 40px 20px;
            margin-block: var(--spacer-60);
        }
    }
}

/* Form CSS */
.form {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    width: 100%;
    max-width: 625px;
    height: auto;

    .screen-reader-response {
        display: none;
    }

    .form-row {
        width: 100%;
        display: flex;
        gap: 24px;
        justify-content: start;
        align-items: start;
        margin-top: 20px;

        p {
            width: 50%;
        }

    }

    .form-row-inner {
        p {
            width: 100%;
            display: flex;
            justify-content: start;
            align-items: start;
        }
    }

    input,
    select {
        padding: 15px;
        border-radius: 8px;
        border: 1px solid #D8E5F4;
        background: #FFF;
        width: 100%;
        font-family: "Sora", sans-serif;
        color: var(--text-black-primary);
        font-size: 14px;
        font-weight: 400;
        line-height: normal;
    }

    select:focus-visible,
    input:focus-visible {
        outline: 0;
    }

    input::placeholder,
    select::placeholder {
        color: var(--text-grey2);
        font-size: 14px;
        font-weight: 400;
        line-height: normal;
    }

    input[type='submit'] {
        border-radius: 8px;
        background: #E6323A;
        padding: 16px 32px;
        border: none;
        color: #fff;
        margin-top: 40px;
        width: fit-content;
        color: var(--text-white);
        font-size: 16px;
        font-weight: 400;
        line-height: 22px;
        letter-spacing: 0;
    }

    select[name="country-code"] {
        width: fit-content;
        padding-right: 0;
        border-right: 0;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        font-family: "Sora", sans-serif;
        color: var(--text-black-primary);
        font-size: 14px;
        font-weight: 400;
        line-height: normal;
        padding: 14px;
        padding-right: 0;
    }

    input[type='tel'] {
        width: 185px;
        padding-left: 15px;
        border-left: 0;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .wpcf7-not-valid-tip {
        font-size: 14px;
    }

    .wpcf7-response-output {
        margin-top: 20px;
        font-size: 14px;
    }

    &:last-child {
        .form-row {
            p {
                width: 100%;
            }

        }
    }

    @media screen and (max-width: 1024px) {
        & {

            .form-row {
                flex-direction: column;
            }

            input[type='tel'] {
                width: 100%;
            }

            input[type='submit'] {
                width: 100%;
                font-size: 14px;
                line-height: 20px;
                margin-top: 32px;
            }
        }
    }
}


.text-heading {
    text-shadow: 0px 2px 6px rgb(0 0 0 / 35%);
}

@media screen and (min-width: 601px) and (max-width: 1024px) and (orientation: landscape) {
                      .leader-container {
                        width: 48% !important;
                    }  
}

@media screen and (min-width: 768px) and (max-width: 1024px){
    .leaders-container .card-content{min-height:170px;}
}
}