.img-wrap {
    position: relative;
}


.ngo-m-show {
    display: none;
}

.ngo-sec {
    padding: 40px 0;
}

.ngo-sec .title h3 {
    text-align: center;
    color: var(--colorYellow);
    text-shadow: 0 1px 0 #614813, 0 2px 0 #614813, 0 3px 3px rgba(0, 0, 0, 0.3);
}

.ngo-sec .title h3 span {
    color: var(--colorYellow);
}

.ngo-sec .title h4,
.ngo-sec .title h4 span {
    /* text-shadow: 0 1px 0 var(--colorGreen2), 0 2px 0 var(--colorGreen2), 0 3px 4px rgba(0, 0, 0, 0.2); */
    line-height: 1.5;
}


.ngo-box {
    display: flex;
    justify-content: start;
    align-self: center;
    flex-direction: column;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    align-items: center;
    border-radius: 15px;
    padding: 20px 30px;
    margin: 0 15px;
    background-color: #fff;
    height: 100%;
}

.ngo-box img {
    width: auto;
    height: 120px;
    max-width: 100%;
    transition: all 0.8s ease;
    margin-bottom: 15px;
    object-fit: contain;
}

.ngo-box:hover img {
    transform: translateY(-20px) scale(1.2);
}

.ngo-box p {
    font-size: 18px;
    text-align: center;
}

.impact-figure {
    text-align: center;
}

.impact-figure h5 {
    font-size: 26px;
    margin-bottom: 0;
    color: var(--colorBlack);
}

.ngo-count {
    font-size: 64px;
    font-weight: 500;
    line-height: 70px;
    color: var(--colorGreen);
    /* text-shadow: 0 1px 0 #614813, 0 2px 0 #614813, 0 3px 3px rgba(0, 0, 0, 0.4); */
}

.total-donation {
    text-align: center;
    margin-top: 40px;
}

.total-donation .title {
    padding-bottom: 0px;
}

.total-donation .title h3 {
    color: var(--colorGreen);
    font-size: 46px;
    text-align: center;
    line-height: 62px;
    /* text-shadow: 0 1px 0 #000,
                0 2px 0 #000,
                0 3px 4px rgba(0, 0, 0, 0.4); */
    text-shadow: none;
}

.total-donation .title h3 .ngo-count {
    color: #fab219;
    font-size: 90px;
    font-weight: 500;
    text-align: center;
    /* text-shadow: 0 1px 0 #614813,
                0 2px 0 #614813,
                0 3px 0 #614813,
                0 4px 0 #614813,
                0 5px 4px rgba(0, 0, 0, 0.4); */
    text-shadow: 0 1px 0 #614813, 0 2px 0 #614813, 0 3px 4px rgba(0, 0, 0, 0.4);
}

/* NGO's */

/* 3d gallery */
.scene-slider-mob {
    display: none;
}

/* Responsiveness for 3d gallery images */
:root {
    --carousel-width: 320px;
    --carousel-height: 390px;
}

@media (max-width: 1400px) {
    :root {
        --carousel-width: 280px;
        --carousel-height: 340px;
    }
}

@media (max-width: 991px) {
    :root {
        --carousel-width: 320px;
        --carousel-height: 390px;
    }
}

@media (max-width: 767px) {
    :root {
        --carousel-width: 160px;
        --carousel-height: 200px;
    }
}

.scene {
    width: 100%;
    height: auto;
    min-height: clamp(400px, 90vh, 1000px);
    perspective: 4000px;
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    position: relative;
    overflow-x: hidden;
    padding: 50px 0 70px;
    flex-direction: column;
    background: #f1f1f1;
}





.scene .media-heading {
    overflow: hidden;
}

.scene .media-heading h3 {
    text-align: center;
}

.carousel {
    width: 100%;
    height: 550px;
    /* Base height for 1920px zoom */
    position: relative;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel .carouselImgCard {
    position: absolute;
    height: var(--carousel-height);
    width: var(--carousel-width);
    border-radius: 16px;
    left: 0%;
    right: 0;
    margin: auto;
    top: 37%;
    margin-top: calc(var(--carousel-height) / -2);
    transform-style: preserve-3d;
    transition: transform .4s ease, opacity .4s ease;
    backface-visibility: hidden;
}

.carouselImgCard2 {
    position: relative;
}

.playIcon2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.carouselImgCard .img-wrap {
    height: 100%;
}

.carousel .carouselImg {
    position: relative;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .45);
}

/* 3d gallery ends */

/* Step by Step Guide */
.stepsbystep {
    padding: 60px 0 !important;
    min-height: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--colorGreen);
    background-color: #0e616d;
    background: linear-gradient(100deg, rgba(2, 38, 42, 1) 4%, rgba(4, 88, 98, 1) 40%);
}

.stepsbystep-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    padding: 0 20px;
    align-content: center;
    align-items: center;
}

.heading-wrap {
    flex: 1;
    min-width: 300px;
}

.heading-wrap h3 {
    font-size: 4.475rem;
    margin-bottom: 10px;
    color: var(--colorYellow);
    text-shadow:
        0 1px 0 #614813,
        0 2px 0 #614813,
        0 2px 8px rgba(0, 0, 0, 0.4);
}

.heading-wrap h5 {
    font-size: 4.25rem;
    color: #fff;
    line-height: normal;
    text-shadow:
        0 1px 0 #4b4b4b,
        0 2px 0 #4b4b4b,
        0 3px 6px rgba(0, 0, 0, 0.4);
    display: flex;
}

.guide-step-wrap {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.guide-step-wrap>div {
    padding: 0px 10px !important;
    border-radius: 8px;
    position: relative;
}

.guide-step-wrap>div::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    background-color: #fff;
    width: 100%;
}

.guide-step-wrap>div:last-child::after {
    content: none;
}

.guide-step-wrap>div h4 {
    color: var(--colorYellow);
    font-size: 22px !important;
    text-shadow:
        0 1px 0 #614813,
        0 2px 0 #614813,
        0 3px 7px rgba(0, 0, 0, 0.3);
}

.guide-step1 p {
    font-size: 15px !important;
    color: #fff;
    display: inline-block !important;
    /* Force paragraphs to sit side-by-side */
    vertical-align: middle !important;
    margin: 0 !important;
    padding-bottom: 20px;
}

.guide-step1 .desc {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-logos {
    height: 80px !important;
    object-fit: contain !important;
    display: inline-block !important;
    margin: 5px !important;
    vertical-align: middle !important;
}

.guide-step-wrap>div ul li::marker {
    color: #fff;
}

.guide-step-wrap>div ul li a {
    font-size: 18px;
    color: #fff;
}

.change-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    height: 1.4em;
}

.continue-change {
    padding-left: 15px;
    display: block;
}


/* Step by Step Guide Ends*/

/* social snippet */

.snippet-slide-content img {
    height: 70px;
}

/* Dark Theme */
html[data-theme=dark] .ngo-box p,
html[data-theme=dark] .impact-figure h5 {
    color: #000 !important;
}

html[data-theme=dark] .scene {
    background: #000;
}

html[data-theme=dark] .scene .title h3 span,
html[data-theme=dark] .scene .media-heading h3,
html[data-theme=dark] .social-snippet .title h3,
html[data-theme=dark] .social-snippet .title h3 span {
    color: var(--colorYellow);
}

html[data-theme=dark] .scene {
    border-top: 1px solid #ccc;
}


/* Media Queries */
@media (max-width:767px) {
    .continue-change {
        padding-left: 0;
    }

    .ngo-d-show {
        display: none;
    }

    .ngo-m-show {
        display: block;
    }

    .ngo-m-show .row {
        row-gap: 15px;
    }

    .ngo-sec {
        padding: 30px 0;
    }

    .NgoSwiper {
        padding-top: 20px;
    }

    .ngo-box {
        padding: 15px 10px;
        margin: 0 0 15px;
        /* min-height: 280px; */
        height: 100%;
    }

    .ngo-box img {
        height: 80px;
    }

    .ngo-box p {
        font-size: 14px;
    }

    .impact-figure h5 {
        font-size: 16px;
    }

    .ngo-count {
        font-size: 32px;
        line-height: 38px;
    }

    .total-donation .title h3 {
        font-size: 32px;
        line-height: 48px;
    }

    .total-donation .title h3 .ngo-count {
        font-size: 58px;
    }



    .scene {
        min-height: auto;
    }

    .scene-slider-mob {
        display: block;
    }

    .scene-slider-mob .SceneSwiper {
        perspective: 1200px;
    }

    .scene-slider-mob .SceneSwiper .swiper-slide {
        width: 260px;
        transition: transform 400ms ease;
    }

    .scene-slider-mob .SceneSwiper .swiper-slide .carouselImg {
        width: 100%;
        height: 300px;
        border-radius: 12px;
        /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); */
    }

    .heading-wrap {
        padding-left: 5px;
    }

    /* .heading-wrap h3 {
        font-size: var(--fontSize40);
    } */

    .heading-wrap h5 {
        font-size: 2rem;
    }

    .stepsbystep-wrap {
        gap: 0;
        padding: 0;
    }

    .guide-step-wrap {
        margin-left: 40px;
    }

    .guide-step-wrap>div {
        padding: 15px 5px;
    }

    .guide-step-wrap>div h4 {
        font-size: 20px;
    }

    .guide-step-wrap>div ul li a {
        line-break: anywhere;
    }

    .guide-step-wrap>div p {
        font-size: 14px;
    }

    .carousel {
        display: none;
    }

}

.fioImg {
    width: 300px;
}

.fioImgCenter {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.fioImgCenter a {
    color: black;
    text-decoration: none;
}

.fioLink {
    position: absolute;
    bottom: -10px;
    font-size: 17px;
    right: 21%;
    z-index: 4;
}

.img-110 img {
    width: 110px
}

.img-110 {
    margin: 0 0 0 10px !important;
}

.change-wrapper {
    margin-left: 10px;
}

.social-snippet .title {
    text-align: center;
}

.social-snippet .title h3 {
    text-align: center;
    margin-top: 40px;
}

/* Layout Fixes */

/* 1) Stack heading-wrap and guide-step-wrap below 1000px */
@media (max-width: 1215px) {
    .stepsbystep-wrap {
        flex-direction: column;
        gap: 20px;
    }

    .heading-wrap,
    .guide-step-wrap {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .guide-step-wrap {
        margin-left: 0;
        margin-top: 20px;
        padding-left: 30px;
    }
}

/* 2) 2x2 Grid for NGO section below 1200px */
@media (max-width: 1199px) {
    .ngo-d-show .row {
        justify-content: center;
    }

    .ngo-d-show .row>div,
    .ngo-d-show .row>v,
    .ngo-d-show .row>* {
        flex: 0 0 50%;
        max-width: 50%;
        margin-top: 40px;
    }

    .title {
        padding-bottom: 0px;
    }
}

@media (max-width: 450px) {
    .flex-logos-wrap {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
}

@media (max-width: 1400px) and (min-width: 1200px) {
    .ngo-count {
        font-size: 50px !important;
    }
}


@media (max-width: 1699px) and (min-width: 1200px) {

    .heading-wrap h3,
    .heading-wrap h5 {
        font-size: 3.5rem !important;
    }
}

@media (max-width: 1199px) and (min-width: 250px) {

    .heading-wrap h3,
    .heading-wrap h5 {
        font-size: 3rem !important;
    }
}


@media (max-height: 1366px) {
    .scene {
        min-height: 550px;
        padding: 50px 0 60px;
    }
}

@media (max-height: 1200px) {
    .scene {
        min-height: 750px;
        padding: 50px 0 60px;
    }
}

@media (max-height: 1051px) {
    .carousel .carouselImgCard {
        top: 45%;
    }
}

@media (max-height: 1025px) {
    .scene {
        min-height: 600px;
        padding: 40px 0 50px;
    }

    .carousel .carouselImgCard {
        top: 45%;
    }
}

@media (max-height: 946px) {
    .scene {
        min-height: 550px;
        padding: 35px 0 45px;
    }

    .carousel .carouselImgCard {
        top: 45%;
    }
}

@media (max-height: 850px) {
    .scene {
        min-height: 500px;
        padding: 35px 0 45px;
    }
}

@media (max-height: 724px) {
    .scene {
        min-height: 450px;
        padding: 30px 0 40px;
    }
}

@media (max-height: 650px) {
    .scene {
        min-height: 400px;
        padding: 20px 0 30px;
    }
}

@media (max-width: 1370px) and (min-width: 250px) {
    .ngo-box p {
        font-size: 15px;
    }
}