@media screen and (max-width:1789px) {
    .home-section2 {
        bottom: 15rem;
    }
    .home-section3 {
        bottom: 12rem;
    }
}

@media screen and (max-width:1640px) {
    .home-section2 {
        bottom: 13rem;
    }
    .home-section3 {
        bottom: 10rem;
    }
}

@media screen and (max-width:1570px) {
    .success-story h2 {
        font-size: 1.8rem;
    }
    .success-story h4 {
        font-size: 1.4rem;
    }
}

@media screen and (max-width:1540px) {
    .home-section2 {
        bottom: 11rem;
    }
    .home-section3 {
        bottom: 8rem;
    }
}

@media screen and (max-width:1440px) {
    .home-section2 {
        bottom: 9rem;
    }
    .home-section3 {
        bottom: 6rem;
    }
    #home-slider .carousel-text .display-3 {
        font-size: 230%;
    }
    /* #pop-up .pop-image {
        width: 85%;
    }
    #pop-up .modal-body {
        padding: 0;
    } */
}

@media screen and (max-width:1435px) {
    .success-story h2 {
        font-size: 1.6rem;
    }
    .success-story h4 {
        font-size: 1.3rem;
    }
}

@media screen and (max-width:1366px) {
    #dialogue_btn,
    #urban_btn {
        font-size: 13px;
    }
    /* #pop-up .pop-image {
        width: 70%;
    } */
}

@media screen and (max-width:1300px) {
    #header .navbar {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .absolute-top-header {
        padding-right: 2rem;
    }
    .home-section2>.col-lg-9,
    .home-section3>.col-lg-9 {
        flex: 0 0 91.666667%;
        max-width: 91.666667%;
    }
    .home-section2 {
        bottom: 8rem;
    }
    .home-section3 {
        bottom: 3rem;
    }
    #home-slider .carousel-text .display-3 {
        font-size: 200%;
    }
}

@media screen and (max-width:1258px) {
    .carousel-text {
        width: 60% !important;
    }
}

@media screen and (max-width:1068px) {
    .success-story h2 {
        font-size: 1.4rem;
    }
    .success-story h4 {
        font-size: 1.2rem;
    }
    #home-slider .carousel-text .display-3 {
        font-size: 150%;
    }
}

@media screen and (max-width:1035px) {
    .home-section2>.col-lg-9 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media screen and (max-width:1050px) {
    #header .navbar {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .absolute-top-header {
        padding-right: 0.5rem;
    }
    /* .absolute-top-header {
        padding-right: 0.5rem;
    } */
}

@media screen and (max-width:1008px) {
    .home-section2 {
        bottom: 28rem;
    }
    .home-section3 {
        bottom: 24rem;
    }
    #home-slider .carousel-control-next,
    #home-slider .carousel-control-prev {
        bottom: 20rem;
    }
    .grey-shades {
        display: none !important;
    }
}

@media screen and (max-width:991px) {
    /* #pop-up .pop-image {
        width: auto;
    } */
    #pop-up {
        padding-right: initial;
        margin-top: 100px;
    }
    #pop-up .modal-dialog {
        max-width: 100%;
    }
    /* #pop-up .modal-body {
        padding: 0.5rem;
    } */
    .container-fluid {
        padding-top: 60px;
    }
    #header .navbar-brand {
        width: 12%;
    }
    #header .navbar-light .navbar-toggler {
        border-color: rgba(0, 0, 0, 0);
    }
    #header .navbar-toggler {
        padding: 0;
    }
    #header .navbar {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    #header .nav-link {
        padding-right: 5px;
        text-align: right;
    }
    #header .dropdown-menu-right.dropdown-menu {
        text-align: right;
    }
    .social-icons {
        margin-top: 26px;
        padding-bottom: 20px;
    }
    .copyright-class {
        font-size: 12px;
        padding-left: inherit;
        padding-right: inherit;
        display: flex;
        flex-direction: column;
    }
    .donate-button {
        padding: 6px 15px !important;
        width: fit-content;
    }
    .social-icons {
        padding-left: 50px;
    }
    .navbar-nav.top-padding {
        padding-top: 10px;
    }
    .logo {
        width: 55%;
    }
    #header .navbar {
        position: absolute;
        z-index: 9999;
    }
    .home-section2 {
        bottom: 5rem;
    }
    .home-section3 {
        bottom: 3rem;
    }
    .text-on-image {
        position: relative;
        padding-top: 10px;
        padding-bottom: 10px;
        background-color: #356AB2;
    }
    #home-slider .carousel-control-next,
    #home-slider .carousel-control-prev {
        bottom: 0;
    }
    .welcome-text {
        width: 70%;
        text-align: right;
    }
    .know-more-btn,
    .know-more-btn:hover {
        padding: 2px 20px;
        font-size: 1.1rem;
    }
    .success-mobile-image {
        width: 45%;
    }
    #footer .image-class .row .col-6:nth-child(1) {
        order: 1;
    }
    #footer .image-class .row .col-6:nth-child(2) {
        order: 3;
    }
    #footer .image-class .row .col-6:nth-child(3) {
        order: 2;
    }
    #footer .image-class .row .col-6:nth-child(4),#footer .image-class .row .col-6:nth-child(4),#footer .image-class .row .col-12 {
        order: 5;
    }
    #footer .image-class .row .col-6:nth-child(5) {
        order: 6;
    }
    #footer .image-class .row .col-6:nth-child(6) {
        order: 4;
    }
    .mobile-order {
        order: 2;
    }
    .about_video {
        width: 60%;
        margin: 0 auto;
    }
    .mobile-order3 {
        order: 3;
    }
    .w-55{
        width: 55%!important;
    }
    .w-60{
        width:60%;
    }
}

@media screen and (max-width:768px) {
    .img-width {
        width: 100%;
    }
    .cust_rem {
        margin-top: 6rem !important;
    }
    .center {
        text-align: center !important;
    }
    .logo {
        width: 100%;
    }
}

@media (min-width: 576px) {
    #login .modal-dialog {
        max-width: 40rem;
    }
}