@media (min-width: 400px) {
    .featured-gallery-item {
        width: 90%;
        margin: 0 auto;
        margin-bottom: 2em;
        height: 72vh;
    }

    .image-container,
    .gallery-item-overlay {
        height: 60vh;
    }

    h1 {
        font-size: clamp(1rem, 1rem + 4vw, 6rem);
        width: 70%;
    }

    .hero-rider {
        width: 70%;
    }

    /* About Page Sectionsss */

    .founder-img-container {
        width: 80%;
    }

    .text-container {
        padding-left: 1em;
        padding-right: 1em;
    }

    .leader-card {
        width: 70%;
    }
}

@media (min-width: 500px) {
    /* 
    .gallery-item-content-inner h3,
    .gallery-item-content-inner p {
        font-size: clamp(.5rem, .4rem + 1.5vw, 2rem);
    }

    .gallery-item-content-outer h3,
    .gallery-item-content-outer p {
        font-size: clamp(.5rem, .4rem + 2vw, 2rem);
    } */

    .gallery-item-content-inner h3,
    .gallery-item-content-inner p {
        font-size: clamp(.1rem, .3rem + 1vw, 2rem);
    }

    .gallery-item-content-outer h3,
    .gallery-item-content-outer p {
        font-size: clamp(.1rem, .1rem + 1vw, 2rem);
    }

    /*Statistics section*/
    .stats-data {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .stats-item {
        width: 49%;
    }

    .contact-channel {
        width: 80%;
        margin: 0 auto;
        margin-bottom: 1em;
    }

    .footer-brief,
    .quick-links,
    .footer-contact {
        width: 95%;
        margin: 0 auto;
        margin-bottom: 1em;
    }

    /* About Page Sectionsss */
    .container-abt-hero p {
        width: 90%;
    }

    .founder-img-container {
        width: 60%;
    }

    .leader-card {
        height: 60vh;
        width: 65%;
    }

    .leader-card img {
        height: 48vh;
    }

    /* Contact Page Sectionsss */
    .form-set-enquiry-type {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .form-set-enquiry-type h3 {
        width: 100%;
    }

    .form-set-enquiry-type .form-group {
        width: 49%;
    }
}

@media (min-width: 550px) {
    .form-set-inputs {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .form-set-inputs .form-group {
        width: 48%;
    }

    .form-set-inputs .form-group:last-child {
        width: 100%;
    }

    .form-set-inputs .form-group input {
        border-radius: 0;
    }

    .program-article {
        width: 80%;
        margin: 0 auto;
    }
}


@media (min-width: 650px) {
    .featured-gallery-item {
        width: 80%;
    }

    .programs-data {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .program-item {
        width: 49%;
    }

    .container-ctas .section-description {
        width: 60%;
    }

    .container-contact .section-description {
        width: 50%;
    }

    /* About Page Sectionsss */

    .container-abt-hero p {
        width: 80%;
    }

    .leaders {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding-bottom: 1em;
    }

    .leader-card {
        width: 48%;
    }

    .leader-card img {
        height: 45vh;
    }

    /* Contact Page Sectionsss */

    .container-contact-hero p {
        width: 70%;
    }

    .container-contact-meta {
        flex-direction: row;
        justify-content: space-between;
    }

    .contacts {
        width: 48%;
    }

    .business-hours {
        width: 48%;
        padding-left: 1em;
        align-self: center;
        border: none;
        border-left: solid 1px var(--ashy);
    }

}

@media (min-width: 700px) {
    /* .container-footer {
        flex-direction: row;
        flex-wrap: wrap;
    } */

    .footer-row1 {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .footer-brief {
        width: 42%;
    }

    .quick-links {
        width: 20%;
    }

    .footer-contact {
        width: 37%;
    }

    /* About Page Sectionsss*/
    .text-container {
        display: flex;
        position: relative;
        justify-content: space-between;
        padding-right: 0;
        padding-left: 0;
    }

    .founder-img-container {
        width: 34%;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .founder-img-container h3 {
        font-size: clamp(.4rem, .7rem + .5vw, 2rem);
    }

    .founder-img-container p {
        font-size: clamp(.4rem, .7rem + .4vw, 2rem);
    }

    .founder-img-container p,
    .founder-img-container h3 {
        padding-left: .02em;
        padding-right: .02em;
    }

    .msgss {
        width: 63%;
    }

    .ul-fine {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .ul-fine li {
        width: 49%;
        margin-bottom: 1em;
    }

    /* Services Page Sectionsss */
    .program-articles {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .program-article {
        width: 48%;
        margin: 0 0;
        margin-bottom: 1.5em;
    }

}

@media (min-width: 800px) {
    .featured-gallery-items {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .featured-gallery-item {
        margin-bottom: 3em;
        width: 48%;
        cursor: pointer;
    }

   .gallery-item-content-inner h3,
    .gallery-item-content-inner p {
        font-size: clamp(.1rem, .3rem + 1vw, 2rem);
    }

    .gallery-item-content-outer h3,
    .gallery-item-content-outer p {
        font-size: clamp(.1rem, .1rem + 1vw, 2rem);
    }

    .contact-channels {
        flex-direction: row;
        justify-content: space-between;
        justify-content: space-between;
    }

    .contact-channel {
        width: 32%;
    }

    /* About Sectionss */
    .msgss {
        padding-left: .7em;
        padding-right: .7em;
    }

    /* Contact Sectionss */
    .container-contact-form {
        width: 90%;
    }
}


@media (min-width: 900px) {

    /*** Statistics Section **/
    .stats-item {
        width: 24%;
    }

    .program-item {
        width: 32.5%;
    }

    .dots-container {
        margin-top: 0;
    }

    /* About Page Sectionss */
    .leaders {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding-bottom: 1em;
    }

    .leader-card {
        width: 32.5%;
    }

    .leader-card img {
        height: 45vh;
    }
}


/*==================================*/
/* Testimonials section specific queries */
/*==================================*/

/* Tablet */
@media (max-width: 992px) {
    .testimonial-item {
        flex: 0 0 49%;
        font-size: clamp(1rem, .6rem + 1vw, 2rem);
    }

    .testimonial-meta {
        font-size: clamp(.5rem, .2rem + 1vw, 1rem);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .testimonial-item {
        flex: 0 0 100%;
    }
}