.case-studies-detail .casestudy-innerbox1-heading .bannerInn-heading h2 {
    font-size: 60px;
    text-align: left;
}

.case-studies-page img {
    height: auto;
    width: 100%;
    /* object-fit: contain; */
}

.case-studies-detail .casestudy-innerbox1-heading .bannerInn-heading {
    width: 100%;
}

.case-studies-detail .bannerInn-textArea {

    top: 58%;
}

.case-study-bannerinne {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
}

.casestudy-innerbox1 {
    width: 40%;
}

.casestudy-innerbox2 {
    width: 42%;
}

.casestudy-innerbox3 {
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: end;
}

.innerbox2-overlaycard {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    /* width: 100%; */
    gap: 24px;
    padding: 24px;
    background-color: #F5F5F5;
    border-radius: 160px;

}

.innerbox2-overlaycard h3 {
    color: black;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: normal;
    text-align: left;
}

.casestudy-innerbox2-overlaycards {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    flex-direction: column;
    height: 655px;
    gap: 60px;
    max-height: 100%;
    overflow: scroll;
}

.innerbox3-logoctbox {
    border-radius: 32px;
    overflow: hidden;
}

.casestudy-temp2innertext-heading h6 {
    color: black;
    font-size: 40px;
    font-family: 'Poppins-Medium';
    font-weight: 500;
    line-height: 54px;
}

.casestudy-temp2innertext-clientdetail .clientdetail-text:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.casestudy-temp2innertext-heading h6 span {
    color: black;
    font-size: 40px;
    font-family: var(--robotoserif_italic);
    font-style: italic;
    font-weight: 400;
    line-height: 54px;
    word-wrap: break-word
}

.case-study-temp2inner {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 150px;
    padding: 150px 122px;
}

.clientdetail-text {
    display: flex;
    justify-content: space-between;
    padding-bottom: 30px;
    margin-bottom: 36px;
    border-bottom: 1px solid gray;
}

.clientdetail-text span {
    color: black;
    font-size: 16px;
    font-family: 'poppins-Regular';
    font-weight: 300;
    line-height: 24px;
}

.clientdetail-text p {
    color: black;
    font-size: 16px;
    font-family: 'poppins-Regular';
    font-weight: 400;
    line-height: 24px;
}

.casestudy-temp2innertext {
    display: flex;
    flex-direction: column;
    gap: 50px;
    width: 100%;
    max-width: 30%;
}

.case-study-temp2 {
    background-color: #fff;
}

.case-study-temp2grid-mian {
    display: grid;
    grid-template-columns: 48% 48%;
    gap: 20px;
    justify-content: center;
}

.case-study-temp2grid-submain1 {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.case-study-temp2grid-sub11 {
    max-width: 100%;
    border-radius: 32px;
    overflow: hidden;
}

.case-study-temp2grid-sub12 {
    max-width: 60%;
    border-radius: 32px;
    overflow: hidden;
}

.case-study-temp2grid-submain2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.case-study-temp2grid-sub21 {
    max-width: 55%;
    /* border-radius: 32px; */
    overflow: hidden;
    display: flex;
    justify-content: end;
    align-items: end;
    margin-bottom: 100px;
    margin-left: 150px;
}

.case-study-temp2grid-sub22 {
    max-width: 60%;
    border-radius: 32px;
    overflow: hidden;
}

.case-study-temp2grid-sub23 {
    max-width: 100%;
    border-radius: 32px;
    overflow: hidden;
}

.temp2grid-sub11-contant h6 {
    color: black;
    font-size: 40px;
    font-family: 'Poppins-Medium';
    font-weight: 500;
    line-height: 54px;

}

.temp2grid-sub11-contant h6 {
    color: black;
    font-size: 40px;
    font-family: var(--robotoserif_italic);
    font-style: italic;
    font-weight: 400;
    line-height: 54px;
}

.temp2grid-sub11-contant h6 span {
    color: black;
    font-family: 'Poppins-Medium';
    font-weight: 500;
}

.temp2grid-sub11-contant p {
    color: black;
    font-size: 16px;
    font-weight: 400;
    font-family: 'poppins-Regular';
    line-height: 22px;
    /* max-width: 55%; */
}

.temp2grid-sub11-contant {
    display: flex;
    justify-content: end;
    align-items: flex-start;
    justify-content: end;
    flex-direction: column;
    gap: 37px;
}

.case-study-temp3.flex-cusreverse.threeimgrev .case-study-temp2grid-sub21 {
    margin-right: 150px;
}

.case-study-temp3.twoimg .case-study-temp2grid-sub21 {
    margin-right: 150px;
    margin-left: 0;
}

.case-study-temp3.twoimg .case-study-temp2grid-sub22 {
    max-width: 100%;
    width: 100%;
}

.case-study-temp3 {
    padding: 200px 18px 118px 18px;
    background-color: #fff;
}


.fourimg .temp2grid-sub11-contant {
    visibility: hidden;
}

.comm-heading-para {
    background-color: #fff;
    padding-top: 160px;
}

.comm-heading-para h6 {
    text-align: center;
    max-width: 40%;
    margin: 0 auto;

}

.comm-video-sec {
    padding: 120px 0;
    background-color: #fff;
}

.img-text-sec-wrapper {
    display: flex;
    max-width: 1350px;
    margin: 0 auto;
    gap: 20px;
}

.img-text-sec {
    background-color: #fff;
}

.img-text-sec-contenttext h6 {
    font-weight: 400;
    font-size: 40px;
    line-height: 46px;
    font-family: var(--robotoserif_italic);
    color: rgba(0, 0, 0, 0.3);

}

.img-text-sec-left {
    display: flex;
    flex-direction: column;
    gap: 114px;
    letter-spacing: -3px;
    max-width: 50%;
}

.img-text-sec-contenttext p {
    font-size: 40px;
    line-height: 46px;
    font-family: 'Poppins-Light';
    color: #000000;
    margin: 50px 0 74px 0;
    letter-spacing: -3px;

}

.img-text-sec-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.case-study-temp3.twoimg .case-study-temp2grid-submain2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: end;
}

.case-study-temp3.flex-cusreverse .case-study-temp2grid-submain2 {
    align-items: end;
}

.case-study-temp3.twoimg .temp2grid-sub11-contant {
    align-items: flex-start;

}

.temp2grid-sub11-contant p strong {
    font-weight: 700;
}

.case-study-temp3.flex-cusreverse.threeimgrev .case-study-temp2grid-sub21 {
    margin-left: 0;
    max-width: 60%;
}

.case-study-temp3.threeimgrev .temp2grid-sub11-contant {
    align-items: flex-start;
}

.case-study-temp3.flex-cusreverse .case-study-temp2grid-submain1 {
    align-items: self-start;
}

.what-followed-sec .temp2grid-sub11-contant p {
    max-width: 40%;
    text-align: center;
}

.what-followed-sec .comm-heading-para {
    background-color: transparent;
    padding-top: 0;

}

.what-followed-sec .temp2grid-sub11-contant h6,
.what-followed-sec .temp2grid-sub11-contant h6 span {
    font-size: 60px;
}

.what-followed-sec-wrapper {
    padding: 185px 105px;
}

.what-followed-cards {
    display: flex;

    flex-wrap: wrap;
    gap: 90px;
    row-gap: 84px;
    margin-top: 90px;
    justify-content: space-between;
    padding: 0 84px;
}

.what-followed-card h6 {
    color: black;
    font-family: var(--robotoserif_italic);
    font-size: 40px;
    font-weight: 400;
    line-height: 34px;
    margin-bottom: 30px;
    text-align: center;
}

.what-followed-card span {
    color: black;
    font-size: 24px;
    line-height: 34px;
    font-family: 'poppins-Regular';
    text-align: left;
    display: block;

}

.what-followed-card {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    width: 20%;
}

.other-project-heading h3 {
    color: black;
    font-size: 60px;
    font-family: 'Poppins-Medium';
    line-height: 54px;
    text-align: left;
}

.other-project-sec {
    padding: 120px;
    background-color: #fff;
}

.other-project-heading h3 span {
    font-family: var(--robotoserif_italic);
    font-weight: 300;
}

.other-project-cards {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 70px;
    gap: 30px;
}

.other-project-cardicons {
    position: absolute;
    top: 7%;
    right: 7%;
}

.other-project-cardicons span {
    border: 1px solid black;
    border-radius: 32px;
    display: block;
    padding: 5px;
    overflow: hidden;
    height: 46px;
    width: 46px;
    rotate: 45deg;

}

.other-project-card:hover span .img1 {
    transform-origin: -32px -16px;
    transition: 0.5s;
}

.other-project-card:hover span .img2 {
    transform-origin: -23px 0px;
    transition: 0.5s;
}

.other-project-cardicons span img {
    rotate: -45deg;
    transform-origin: 17px 16px;
    transition: 0.5s;
}

.other-project-cardtext span {
    color: black;
    font-size: 20px;
    font-family: 'Poppins-Medium';
    line-height: 100px;
}

.other-project-card {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
}

.other-project-cardtext {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px 40px;
    background-color: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
}



.other-project-card:hover .other-project-cardtext {
    background-color: rgb(255 254 254 / 23%);
    opacity: 1;
    visibility: visible;
    transition: all 0.2s;
    padding: 20px 40px;
}

.case-study-temp3.threeimg .case-study-temp2grid-sub21 {
    max-width: 50%;
}

.case-study-temp3.threeimg .case-study-temp2grid-sub21 .temp2grid-sub11-contant p {
    max-width: 100%;
}

.what-followed-sec-wrapper .temp2grid-sub11-contant {
    align-items: center;
}


@media screen and (max-width:1800px) {
    .case-studies-detail .casestudy-innerbox1-heading .bannerInn-heading {
        padding: 0px 0;
    }

    .casestudy-innerbox2-overlaycards {
        gap: 40px;
        height: 570px;
    }

    /* .comm-heading-para h6 {
        max-width: 35%;
    } */

    /* .temp2grid-sub11-contant p {
        max-width: 67%;
    } */

    .what-followed-cards {
        padding: 0 60px;
        gap: 80px;
    }

    .what-followed-sec .temp2grid-sub11-contant p {
        max-width: 45%;
    }

    .case-study-temp2grid-sub21 {
        max-width: 50%;
    }
}

@media screen and (max-width:1680px) {
    .case-studies-detail .casestudy-innerbox1-heading .bannerInn-heading h2 {
        font-size: 54px;
    }

    .innerbox2-overlaycard h3 {
        font-size: 24px;
    }

    /* .temp2grid-sub11-contant p {
        max-width: 68%;
    } */
    .comm-heading-para h6 {
        max-width: 38%;
    }

    .case-study-temp2grid-sub21 {
        max-width: 55%;
    }

    .what-followed-cards {
        padding: 0 60px;
        column-gap: 130px;
    }
}

@media screen and (max-width:1536px) {
    .case-study-temp2grid-sub21 {
        max-width: 62%;
    }

    .comm-heading-para h6 {
        max-width: 40%;
    }

    .what-followed-cards {
        column-gap: 100px;
    }

    .innerbox2-overlaycard h3 {
        font-size: 18px;
    }
}

@media screen and (max-width:1440px) {
    .case-studies-detail .case-study-temp2grid-sub21 {
        max-width: 62%;
    }

    .other-project-heading h3 {
        font-size: 56px;
    }

    .case-study-temp3.flex-cusreverse.threeimgrev .case-study-temp2grid-sub21 {
        margin-left: 0;
        max-width: 70%;
    }

    .casestudy-innerbox2-overlaycards {
        height: 480px;
    }

    .case-studies-detail .casestudy-innerbox1-heading .bannerInn-heading h2 {
        font-size: 50px;
        line-height: 50px;
    }

    .casestudy-innerbox2-overlaycards {
        gap: 20px;
    }

    .comm-heading-para h6 {
        max-width: 50%;
    }

    .case-study-temp2inner {
        gap: 60px;
    }

    .img-text-sec-wrapper {
        gap: 20px;
        max-width: 1024px;
    }

    .img-text-sec-contenttext p {
        font-size: 36px;
    }

    .what-followed-cards {
        column-gap: 80px;
        padding: 0 00px;
    }

    .casestudy-temp2innertext {
        max-width: 35%;
    }

    .case-study-temp3.threeimg .case-study-temp2grid-sub21 {
        max-width: 60%;
    }

}

@media screen and (max-width:1366px) {
    .case-studies-detail .bannerInn-textArea {
        padding: 0px 60px;
    }

    .case-study-temp2inner {
        padding: 100px 60px;
    }

    .case-study-temp3 {
        padding: 100px 18px 100px 18px;
        background-color: #fff;
    }

    .case-study-temp2grid-sub21 {
        max-width: 65%;
        margin-left: 100px;
    }

    .comm-heading-para h6 {
        max-width: 60%;
    }

    .what-followed-cards {
        column-gap: 100px;
    }

    .comm-video-sec {
        padding: 50px 0;
        background-color: #fff;
    }

    .img-text-sec {
        padding: 50px 20px;
    }

    .what-followed-sec-wrapper {
        padding: 100px 60px;
    }

    .other-project-sec {
        padding: 100px 60px;
        background-color: #fff;
    }
}

@media screen and (max-width:1280px) {
    .casestudy-temp2innertext {
        max-width: 40%;
    }

    .case-study-temp2grid-sub21 {
        max-width: 70%;
        margin-left: 80px;
    }
}

@media screen and (max-width:991px) {
       .margincust {
        margin-bottom: 40px;
    }
    .what-followed-card {
    align-items: center;
    width: 100%;
}
    .case-study-temp3.flex-cusreverse .case-study-temp2grid-submain2{
            align-items: center;
    }
    .case-study-temp3.flex-cusreverse .case-study-temp2grid-submain2{
        align-items: center;
    }
    .casestudy-innerbox3 {
        align-items: center;
    }

    .case-study-bannerinne {
        display: flex;
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .case-studies-detail .bannerInn-textArea {
        top: 600px;
    }

    .case-studies-detail .casestudy-innerbox1-heading .bannerInn-heading h2 {
        font-size: 40px;
        text-align: center;
    }

    .casestudy-innerbox2-overlaycards {
        gap: 20px;
        align-items: center;
    }

    /* .case-studies-detail .casestudy-innerbox1-heading .bannerInn-heading h2 br {
        display: none;
    } */
    .case-studies-detail .casestudy-innerbox1-heading .bannerInn-heading h2 small br {
        display: none;
    }

    .casestudy-innerbox1 {
        width: 100%;
    }

    .casestudy-innerbox2 {
        width: 100%;
    }

    .casestudy-innerbox3 {
        width: 100%;
    }

    .case-studies-page .banner-inn {
        height: 1280px;
    }

    .case-study-temp2inner {
        display: flex;
        padding: 50px 20px;
        flex-direction: column;
        gap: 40px;
    }

    .casestudy-temp2innertext {
        max-width: 100%;
    }

    .case-study-temp3 {
        padding: 50px 20px 50px 20px;
    }

    .case-study-temp2grid-mian {
        display: flex;
        flex-direction: column;

    }

    .case-study-temp2grid-submain1 {
        flex-direction: column;
        align-items: center;
    }

    .case-study-temp2grid-sub12 {
        max-width: 100%;
    }

    .case-study-temp2grid-sub21 {
        max-width: 100%;
    }

    .case-study-temp2grid-sub21 {
        margin-bottom: 0px;
        margin-left: 0px;
    }

    .comm-heading-para h6 {
        max-width: 100%;
    }

    .comm-heading-para h6 br {
        display: none;
    }

    .case-study-temp2grid-sub22 {
        max-width: 100%;
    }

    .img-text-sec {
        padding: 50px 20px;
    }


    .case-study-temp3.threeimg .case-study-temp2grid-sub21 {
        max-width: 100%;
    }

    .img-text-sec-wrapper {
        display: block;
    }

    .case-study-temp3.flex-cusreverse.threeimgrev .case-study-temp2grid-sub21 {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

    .what-followed-sec-wrapper {
        padding: 50px 20px;
    }

    .other-project-sec {
        padding: 50px 20px;
    }

    .other-project-cards {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }

    .temp2grid-sub11-contant h6 br {
        display: none;
    }

    .case-study-temp3.twoimg .case-study-temp2grid-sub21 {
        margin-right: 0px;
        margin-left: 0;
    }

    .what-followed-sec .temp2grid-sub11-contant p {
        max-width: 100%;
    }

    .what-followed-cards {
        flex-direction: column;
    }

    .comm-video-sec {
        padding: 50px 0;
        background-color: #fff;
    }

    .casestudy-temp2innertext-heading h6 {
        font-size: 36px;
    }

    .temp2grid-sub11-contant h6 {
        font-size: 36px;
    }

    .temp2grid-sub11-contant h6 span {
        font-size: 36px;
    }

    .what-followed-sec .temp2grid-sub11-contant h6, .what-followed-sec .temp2grid-sub11-contant h6 span {
        font-size: 36px;
    }

    .what-followed-sec .temp2grid-sub11-contant p {
        margin-top: 20px;
    }

    .other-project-heading h3 {
        font-size: 40px;
    }

    .comm-heading-para {
        padding: 50px 20px;
    }



    .fourimg .temp2grid-sub11-contant {
        display: none;
    }
}

@media screen and (max-width:767px) {
    .casestudy-innerbox2-overlaycards {
        height: 100%;
    }
    .case-study-temp3.flex-cusreverse.threeimgrev .case-study-temp2grid-sub21{
        max-width: 100%;
    }

    .casestudy-temp2innertext-heading h6 span {
        line-height: 50px;
        font-size: 36px;
    }

    .casestudy-temp2innertext-heading h6 {
        line-height: 50px;
        font-size: 36px;
    }

    .casestudy-temp2innertext-heading h6 {
        letter-spacing: -0.8px;
        line-height: 50px;
    }

    .temp2grid-sub11-contant h6 {
        line-height: 50px;
    }

    .temp2grid-sub11-contant h6 span {
        line-height: 50px;
    }

    .case-studies-detail .bannerInn-textArea {
        padding: 0px 00px;
    }

    .case-study-temp2grid-submain1 {
        gap: 40px;
    }

    .case-study-temp2grid-mian {
        gap: 0px;
    }

    .case-study-temp2grid-submain2 {
        gap: 40px;
    }

    .case-study-temp2grid-submain2 {
        gap: 40px;
    }

    .innerbox2-overlaycard {
        gap: 20px;
        padding: 20px;
        width: 100%;
    }

    .img-text-sec-contenttext h6 {
        font-size: 36px;
    }

    .case-studies-page .banner-inn {
        height: 1150px;
    }

    .img-text-sec-contenttext p {
        margin: 20px 0 30px 0;
    }

    .img-text-sec-contenttext p {
        font-size: 28px;
        letter-spacing: -0.9px;
        line-height: 40px;
    }

    .img-text-sec-left {
        gap: 0;
    }

    .img-text-sec-content {
        margin-bottom: 50px;
    }

    .img-text-sec {
        padding-bottom: 0;
    }

    .comm-heading-para {
        padding: 50px 20px;
    }

    .what-followed-cards {
        margin-top: 40px;
    }

    .what-followed-card h6 {
        font-size: 30px;
        line-height: 26px;
        margin-bottom: 10px;
    }

    .margincust {
        margin-bottom: 40px;
    }

    .margincust10 {
        margin-bottom: 10px;
    }

    .what-followed-card {
        width: 100%;
        align-items: center;
    }

    .innerbox3-logoctbox {
        border-radius: 10px;
    }

    .case-study-temp2grid-sub12 {
        border-radius: 10px;
    }

    .case-study-temp2grid-sub11 {
        border-radius: 10px;
    }

    .case-study-temp2grid-sub22 {
        border-radius: 10px;
    }

    .case-study-temp2grid-sub23 {
        border-radius: 10px;
    }

    .what-followed-sec .comm-heading-para {
        padding: 0;
    }

    .comm-heading-para br {
        display: none;
    }

    .what-followed-cards {
        column-gap: 50px;
    }
}