@media (min-width: 992px) {
    .sec-title__title {
        font-size: 2.25rem;
        line-height: 44px;
    }

    .page-header__title {
        font-size: 3rem;
        line-height: 4rem;
    }
}

@media (min-width: 1560px) {
    .page-header {
        padding-top: 150px;
        padding-bottom: 120px;
    }
}

@media (max-width: 1200px) {
    .main-slider-one__layer {
        top: auto;
        bottom: 0;
        padding: 10px;
        background-size: contain;
        max-width: 30rem;
        height: auto;
    }

    .main-slider-one__layer__inner {
        -webkit-mask-size: contain;
        mask-size: contain;
    }

    .main-slider-one__layer__inner img {
        max-width: 500px;
    }
}

@media (max-width: 991px) {
    .hero_sec .item h2 {
        font-size: 2.5rem;
        line-height: 3rem;
    }

    .main-slider-two__bg {
        background-position: left bottom;
        transform-origin: left bottom;
    }

    .main-slider-two .active .main-slider-two__bg {
        transform: scale(1.1);
    }

}

@media (max-width: 764px) {
    html {
        font-size: 15.25px;
    }

    .hero_sec {
        --hero-height: 700px;
    }

    .main-slider-one__item {
        padding-top: 6rem;
        padding-bottom: 5rem;
    }

    .main-slider-one__image {
        display: none;
    }

    .testimonials-page__card {
        padding: 2.5rem .5rem 1.5rem;
    }

    .about_sec .sec-title__title {
        font-size: 1.75rem;
        line-height: 2rem;
    }

    .funfact-one__count {
        font-size: 1.75rem;
    }

    .become-volunter__image {
        margin-inline: 1.5rem;
        height: 10.5rem;
    }

    .col-md-6:has(.become-volunter__image):last-of-type {
        margin-top: 1.5rem;

    }
}

@media (max-width: 564px) {
    section {
        padding-top: 4.5rem;
        padding-bottom: 3.5rem;
    }

    .hero_sec .item h2 {
        font-size: 2.2rem;
        line-height: 2.5rem;
        font-weight: 800;
    }
    
    .hero_img_side {
        max-width: 290px;
    }

    .main-slider-one__layer {
        left: 0;
        max-width: 28rem;
    }

    .funfact-one__list.list-unstyled {
        padding-inline: 1.5rem;
    }

    .funfact-one__icon {
        margin: 0;
    }

    .funfact-one__item {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .funfact-one__content {
        border: none;
        padding: 0;
    }

    .page-header {
        padding-block: 5rem;
    }

    .page-header__title {
        font-size: 2rem;
    }

    .event_sec .events_content {
        padding-block: 3.5rem 2rem;
    }

    .event_sec .events_content .sec-title__title {
        font-size: 1.75rem;
        line-height: 34px;
    }

    .event_sec .events_content .event_img {
        padding-inline: .7rem;
    }

    .event-one__carousel .event-one__item img {
        height: 14rem;
    }
    
    .main-header--four .careox-btn { padding: 0.6rem 1.25rem;}
.main-footer__copyright {
 width: 100%;
 text-align: center;
}
}