@media screen and (max-width: 1180px) {
    .donate-button li a {
        font-size: 16px;
        line-height: 30px;
        font-weight: 600;
        padding: 5px 9px;
        border-radius: 5px;
        background-color: var(--buttonprimaryColor);
    }
    .carring-bg-img .yourself {
        position: absolute;
        top: 2%;
        left: 17%;
        width: 619px;
        height: 566px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 32px;
    }
    .give-now .btn {
        padding: 14px 22px;
    }
    .relatness p {
        padding: 20px 2px;
    }
    .yourself {
        background-color: #fbc303c7;
        box-shadow: 0px 0px 2px;
    }
    .you-are-among {
        margin: 0px 0px;
    }
    .we-are-in {
        padding-top: 35px;
    }
    .cystic-fiber-img {
        position: absolute;
        top: -104px;
        right: -34px;
        width: 100%;
        height: auto;
        z-index: -1;
    }
    .cystic-fiber h1 {
        font-size: 59px;
    }
}






@media screen and (max-width: 1024px) {
    .navbar-nav .nav-item {
        padding: 0px 0px;
    }
    .cystic-fiber{
        padding-bottom: 0%;
    }
    .card .card-body .card-title {
        font-size: 20px;
        font-weight: 600;
        line-height: 30px;

    }
    .community-blog {
        padding: 30px 0px 0px 0px;
    }
    .related-reading h1 {
        font-size: 18px;
        line-height: 26px;
        font-weight: 600;
        color: var(--primaryColor);
    }
    .related-reading {
        padding: 11px;
    }
    .position-fiexd {
        position: sticky;
        right: 0;
        top: 40px;
        width: 100%;
        max-width: 100%;
        height: 100%;
    }
    .other-related-blog .card .card-body .card-title {
        font-size: 16px;
        font-weight: 600;
        line-height: 25px;
        padding: 10px 0px;
        color: var(--secondaryColor);
    }
    .other-related-blog .card .card-body .card-text {
        font-size: 20px;
        font-weight: 600;
        line-height: 30px;
        letter-spacing: 0.5px;
        color: var(--primaryColor);
        min-height: 190px;
    }
    
}
@media screen and (max-width: 992px) {
    .cystic-fiber-img {
        top: 0px;
        right: 0;
        width: 100%;
        height: auto;
        z-index: -1;
    }
    .carring-bg-img .yourself {
        position: absolute;
        top: 100%;
        left: 0%;
        width: 100%;
        height: 100%;
        max-height: 70%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0px;
        border-radius: 0px;
        /* margin: 0 auto; */
    }
    .someone-haeding {
        width: 100%;
        padding: 20px;
    }
    .caring-circle{
        height: 100vh;
    }
    .yourself {
        background-color: var(--buttonprimaryColor);
        width: 100%;
        height: 550px;
        /* border-radius: 300%; */
        display: flex;
        align-items: center;
    }
    .help-us-end {
        margin: 30px auto;
    }
    .cystic-fiber p {
        padding-top: 15px;
        font-size: 18px;
        line-height: 28px;
        font-weight: 400;
    }
    .getting-details h1 {
        font-size: 30px;
        font-weight: 600;
        line-height: 58px;
        color: var(--primaryColor);
    }
    .we-are-in {
        padding-top: 25px;
    }
    .terms-links li a {
        font-size: 14px;
        font-weight: 600;
    }
    .social-icon-bottom ul li {
        width: 40px;
        height: 37px;
        background-color: var(--secondaryColor);
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 30px;
    }
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 999;
        height: auto;
        background-color: var(--primaryColor);
        padding: 20px;
        color: #ffffff;

    }
    .navbar-nav .nav-item .nav-link {
        color: #ffffff;
    }
    .the-community {
        padding: 30px 24px;
    }
    .cf-related-slider{
        padding-top:250px;
    }
    
    
}
@media screen and (max-width: 991px) {
    .event-inner-details {
        left: 0;
        top: -100px;
    }
    .event-inner-details-box-2 {
        right: 0;
        top: 0;
    }
    .community-events .col-lg-6{
        order: -1;
    }
    .community-events {
        margin-top: -100px !important;
    }
    .cf-events{
        margin: 0 0 200px !important;
    }
    .margin-top-lasdkjnf{
        margin-top: 0px !important;
    }
    .unique-story{
        
        .unnique-evest:nth-child(even){
            .col-lg-5{
                margin-right: 0 !important;
                z-index: 9;
                order: 2;
            }
        }
        .unnique-evest:nth-child(odd){
            .col-lg-5{
                margin-left: 0 !important;
            }
        }
    }
    .inquiries h1 {
        font-size: 24px;
        font-weight: 600;
        letter-spacing: 0px;
    }
    .local p {
        font-size: 15px;
        letter-spacing: 0px;
    }
    .inquiries p {
        font-size: 15px;
        margin-bottom: 0px;
        line-height: 25px;
    }
}

@media screen and (max-width: 820px) {
    .contact-details p {
        font-size: 15px;
        font-weight: 400;
        padding-top: 0px;
       
    }
    .contact-details h1 {
        font-size: 40px;
        font-weight: 600;
    }
    .learning-take {
        padding: 22px 0px;
    }
    .learning-take-charges p {
        font-size: 15px;
        padding: 0px 0px;
        letter-spacing: 0px;
    }
    .learning-take-charges h1 {
        font-size: 35px;
        font-weight: 600;
        line-height: 45px;
        padding: 0px 0px;
    }
    .card .card-body .subtitle {
        font-size: 14px;
        font-weight: 600;
    }
    .card .card-body .card-title {
        font-size: 18px;
        font-weight: 600;
        line-height: 26px;
    }    
    .input .form-control {
        line-height: 29px;
        
    }
    .input .form-select { 
        line-height: 29px;
        
    }
    .posts h1 {
        font-size: 40px;
        font-weight: 600;
        line-height: 45px; 
        padding: 0px 0px;
    }
    .community-details h1 {
        font-size: 40px;
        font-weight: 600;
        line-height: 45px;
        padding: 0px 0px;
    }
    .community-details p {
        font-size: 17px;
        font-weight: 500;
        padding: 0px 0px;
    }
    
   .events-details h1 {
    font-size: 40px;
    font-weight: 600;
    line-height: 45px;
    }
    .events-details p {
        font-size: 18px;
        font-weight: 500;
        line-height: 27px;
        padding: 20px 0px;
        margin-bottom: 0px;
    }
    .community-events {
        margin-top: -110px !important;
    }
    .cystic-fiber h1 {
        font-size: 40px;
        line-height: 40px;
        font-weight: 700;
        color: var(--primaryColor);
        font-family: Arial, Helvetica, sans-serif;
    }
    .MY-CHILD {
        background-color: var(--buttonprimaryColor);
        font-size: 15px;
        font-weight: 600;
        border-radius: 0px;
        padding: 14px 20px;
        color: var(--primaryColor);
    }
    .relatness h1 {
        font-size: 40px;
        font-weight: 600;
        line-height: 45px;
        color: var(--primaryColor);
    }
    .relatness p {
        font-size: 15px;
        font-weight: 400;
        line-height: 25px;
        letter-spacing: 0.5px;
        color: var(--primaryColor);
        padding: 20px 0px;
    }
    .someone-haeding h1 {
        font-size: 36px;
        font-weight: 500;
        line-height: 60px;
        color: var(--primaryColor);
        padding-top: 25px;
    }
    .someone-haeding p {
        padding-top: 0px;
        font-size: 15px;
        font-weight: 400;
        line-height: 25px;
        letter-spacing: 0px;
    }
    .bg-section p {
        font-size: 15px;
        font-weight: 400;
        color: #ffffff;
    }
    .about-us-mission h1 {
        font-family: 'Open Sauce One', sans-serif !important;
        font-size: 40px;
        font-weight: 600;
        line-height: 27px;
        color: var(--primaryColor);
    }
    .about-us-mission ul {
        padding-top: 20px;
    }
    .about-us-mission ul li a {
        font-size: 15px;
        font-weight: 600;
    }
    .rentalless h1 {
        font-size: 35px;
        font-weight: 600;
        line-height: 35px;
        padding: 0px 0px;
    }
    .rentalless p {
        font-size: 15px;
        line-height: 25px;
        letter-spacing: 0;
        width: 100%;
    }
    .foundation h1 {
        font-size: 35px;
        font-weight: 600;
        line-height: 40px;
        color: var(--primaryColor);
        padding: 0px 0px;
    }
    .donate-button li a {
        font-size: 17px;
        line-height: 32px;
        font-weight: 600;
        padding: 5px 10px;
        border-radius: 5px;
        background-color: var(--buttonprimaryColor);
    }
    
    /* .position-relative{
        height: 400px;
    } */
    .you-are-among {
        margin: 81px 0px;
    }
    .cystic-fiber p {
        padding-top: 15px;
        font-size: 15px;
        line-height: 26px;
        font-weight: 400;
    }
    .getting-details p {
        font-size: 15px;
        font-weight: 400;
        line-height: 25px;
        letter-spacing: 0px;
        color: var(--primaryColor);
    }
    .fund-details p {
        font-size: 15px;
        font-weight: 400;
        line-height: 25px;
        letter-spacing: 0px;
    }
    .questions h2 {
        padding: 0px 0px;
        font-size: 20px;
        font-weight: 600;
        color: #ffffff;
    }
    .questions h1 {
        font-size: 25px;
        font-weight: 500;
        color: #ffffff;
    }
    .questions p {
        font-size: 18px;
        font-weight: 500;
        color: #ffffff;
        margin-bottom: 0px;
        line-height: 24px;
    }
    .help-make h1 {
        font-size: 40px;
        font-weight: 600;
        color: var(--primaryColor);
    }
    
    .cf-related-slider {
        padding-top: 130px;
    }

}
@media screen and (max-width: 600px) {
    .cf-events {
        height: 100vh;
    }
    .event-inner-details {
        position: absolute;
        top: -181px;
        left: -13%;
        transform: translate(13%, 77%);
        width: 100%;
        z-index: 999;
    }
}
@media screen and (max-width: 520px) {
    .contact-details {
        margin: 20px 0px -31px 0px;
    }
    
    .someone-haeding p {
        padding-top: 0px;
        font-size: 14px;
        font-weight: 400;
        line-height: 24px;
        letter-spacing: 0px;
        color: var(--primaryColor);
    }
    .someone-haeding h1 {
        font-size: 20px;
        font-weight: 500;
        line-height: 23px;
        color: var(--primaryColor);
        padding-top: 25px;
    }
    .give-now .btn {
        font-size: 14px;
        font-weight: 600;
        padding: 8px 10px;
       
    }
    .community-of-people h1 {
        font-size: 30px;
        font-weight: 500;
        line-height: 39px;
        padding: 30px 0px;
    }
    .slider-content a h4 {
        font-size: 18px;
        font-weight: 500;
        line-height: 25px;
        width: auto;
        padding-top: 6px;
    }
    .slider-team-content p {
        font-size: 11px;
        margin-bottom: 0px;
    }
    .bg-section h1 {
        font-size: 25px;
        font-weight: 600;
    }
    .row-btn a {
        font-size: 13px;
        font-weight: 600;
        color: var(--primaryColor);
        border-radius: 0px;
        padding: 15px 8px;
        background-color: var(--buttonprimaryColor);
        transition: 0.5s;
    }
    .monthly-amount .padding-left {
        padding-left: 40px;
        padding-bottom: 10px;
    }
    .monthly-amount {
        margin: 0px auto;
        padding: 0px 0px;
    }
}
@media screen and (max-width: 400px) {
    .row-btn a {
        font-size: 11px;
        font-weight: 600;
        color: var(--primaryColor);
        border-radius: 0px;
        padding: 12px 9px;
        background-color: var(--buttonprimaryColor);
        transition: 0.5s;
    }
}