@media (max-width:1170px) {
    .header-wrapper .navbar-wrapper {
        border-radius: 0px;
        width: 100%;
    }
    .resource-container .card .cat-image {
        height: 135px;
        overflow: hidden;
    }

    .resource-section .resource-container .card-height {
        /* height: 200px; */
        height: auto;
        overflow: hidden;
    }

    .resource-section .resource-container img {
        height: auto;
        overflow: hidden;
    }
   
}



@media (max-width:991px) {
    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.0rem;
        line-height: 22px;
    }

    p {
        font-size: 0.856rem;
    }

    .secondary-white-btn {
        padding: 0.125rem 1.375rem;
        line-height: 1.2625rem;
        background-color: transparent;
        color: var(--primary-text);
        border: 0.1675rem solid var(--bg-white);
        font-size: 0.7375rem;
        font-weight: 400;

    }

    .header-wrapper .navbar-wrapper {
        border-radius: 0px;
        width: 100%;
    }

    .navbar .navbar-nav {
        padding-left: 12px;
        padding-right: auto;
    }

    a.white-btn {
        margin-top: 15px;
    }

    #top-bar {
        display: none;
    }

    #background-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: relative;
        left: 0;
        margin-top: 40px;
        right: 0;
        top: 0px;
        bottom: 0;
        z-index: -1;
    }

    .banner-section .content-overlay {
        position: absolute;
        margin-top: 50px;
        top: 0px;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .banner-section .banner-wrapper {
        background-color: rgba(0, 0, 0, 0.55);
        height: inherit;
        z-index: 9;
    }

    .banner-section .banner-wrapper .banner-overlay-img1 {
        max-height: 150px;
    }

    .resource-wrapper {
        padding: 30px 10px;
    }

    .resource-container {
        padding-left: 0px;
        padding-right: 0px;
        width: 100%;
        margin: 0;
    }

    .resource-container {
        padding: 0;
        margin: 0;
    }

    .resource-container h2 {
        padding: 1px;
    }

    .partner-wrapper .carousel-inner .carousel-item img {
        /* width: 300px; */
        height: 70px;
    }

    .partner-wrapper .carousel-inner .carousel-item card {
        /* width: 300px; */
        height: 90px;
    }

    .resource-container .card .cat-image {
        height: 135px;
        overflow: hidden;
    }

    .resource-section .resource-container .card-height {
        /* height: 200px; */
        height: auto;
        overflow: hidden;
    }

    .resource-section .resource-container img {
        height: auto;
        overflow: hidden;
    }
}

@media (max-width:820px) {
    h1 {
        font-size: 1.64rem !important;
    }

    h2 {
        font-size: 0.89rem;
        line-height: 20px;
    }

    label,
    form span,
    .form-control {
        font-size: 0.89rem !important;
        line-height: 20px !important;
    }

    .banner-section {

        width: 100%;
        /* background: url('./images/banner2.jpg') no-repeat center; */
        /* background-size: cover; */
        height: 1000px;
        overflow: hidden;
    }

    #background-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: relative;
        left: 0;
        margin-top: 30px;
        right: 0;
        top: 0px;
        bottom: 0;
        z-index: -1;
    }

    .banner-section .content-overlay {
        position: absolute;
        margin-top: 42px;
        top: 0px;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .banner-section .banner-wrapper {
        background-color: rgba(0, 0, 0, 0.55);
        height: inherit;
        z-index: 9;
    }

    .secondary-white-btn {
        padding: 0.125rem 0.9rem;
        line-height: 1.5625rem;
        background-color: transparent;
        color: var(--primary-text);
        border: 0.1675rem solid var(--bg-white);
        font-size: 0.696rem;
        font-weight: 400;
    }

    .resource-container .card .cat-image {
        height: 120px;
        overflow: hidden;
    }

    .resource-section .resource-container .card-height {
        /* height: 180px; */
        height: auto;
        overflow: hidden;
    }

    .resource-section .resource-container img {
        height: auto;
        overflow: hidden;
    }
    .our-section .testimonial-card .card-body {
        height: auto;
        overflow: hidden;
    }
}

@media (max-width:767px) {

    .img-height {
        height: 150px;
    }

    h1 {
        font-size: 2.0rem;
    }

    h2 {
        font-size: 0.9rem;
        line-height: 22px;
    }

    label,
    form span,
    .form-control {
        font-size: 0.9rem !important;
        line-height: 22px !important;
        font-weight: 500 !important;
    }

    p {
        font-size: 0.656rem;
    }
    h5{
        font-size: 0.725rem!important;
    }

    lable {
        font-size: 0.656rem;
    }

    .secondary-white-btn {
        padding: 0.125rem 1.275rem;
        line-height: 1.5625rem;
        background-color: transparent;
        color: var(--primary-text);
        border: 0.1675rem solid var(--bg-white);
        font-size: 0.8375rem;
        font-weight: 400;
    }

    .header-wrapper .navbar-wrapper {
        border-radius: 0px;
        width: 100%;
    }

    .header-wrapper .navbar-brand .logo {
        height: 40px;
        width: 100%;
    }

    .navbar .navbar-nav {
        padding-left: 12px;
        padding-right: auto;
    }

    a.white-btn {
        margin-top: 15px;
    }

    .banner-section {

        width: 100%;
        /* background: url('./images/banner2.jpg') no-repeat center; */
        /* background-size: cover; */
        height: 1000px;
        overflow: hidden;
    }

    #background-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: fixed;
        left: 0;
        margin-top: 30px;
        right: 0;
        top: 0px;
        bottom: 0;
        z-index: -1;
    }

    .banner-section .content-overlay {
        position: absolute;
        margin-top: 50px;
        top: 0px;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .banner-section .banner-wrapper {
        background-color: rgba(0, 0, 0, 0.55);
       
        height: inherit;
        z-index: 9;
    }

    .banner-section .banner-wrapper .banner-overlay-img1 {
        max-height: 140px;
    }

    /* .banner-overlay-img1 {
        width: 398px;
        height: 315px;
    } */

    .banner-section .image-container-wrapper {
        display: block;
        /* padding:auto; */
        /* justify-content: center; */
        /* flex-wrap: wrap;*/
        width: 100%;
    }

    .banner-section .image-container-wrapper .image-container img {
        width: 95px;
        height: 95px;
    }

    .resource-wrapper h2 {
        padding: 2px 0px;
    }

    .resource-section .resource-container .card-height {
        /* height: 250px; */
        height: auto;
        overflow: hidden;
    }

    .resource-section .resource-container img {
        height: 200px;
    }

    .partner-wrapper .carousel-inner .carousel-item img {
        /* width: 300px; */
        height: 40px;
    }

    .partner-wrapper .carousel-inner .carousel-item card {
        /* width: 300px; */
        height: 70px;
    }
    .our-section .testimonial-card .card-body {
        height: auto;
        overflow: hidden;
    }
}

@media (max-width:590px) {

    .img-height {
        height: 100px;
    }

    h1 {
        font-size: 1.2rem !important;
    }

    h2 {
        font-size: 0.8rem;
        line-height: 18px;
        font-weight: 500;
    }

    h3 {
        font-size: 0.725rem;
        line-height: 20px;
    }
    h5{
        font-size:  0.725rem!important;
    }

    p {
        font-size: 0.656rem;
    }

    label,
    form span,
    .form-control {
        font-size: 0.8rem !important;
        line-height: 18px !important;
        font-weight: 500 !important;
    }



    .secondary-white-btn {
        padding: 0.1rem 1.5rem;
        line-height: 1.5625rem;
        background-color: transparent;
        color: var(--primary-text);
        border: 0.1375rem solid var(--bg-white);
        font-size: 0.9375rem;
        font-weight: 400;
    }

    .header-wrapper .navbar-wrapper {
        border-radius: 0px;
        width: 100%;
    }

    #top-bar {
        display: none;
    }

    .navbar .navbar-nav {
        padding-left: 12px;
        padding-right: auto;
    }

    a.white-btn {
        margin-top: 15px;

    }

    .header-wrapper .navbar-brand .logo {
        padding-left: 2px;
        height: 20px;
        width: 100%;
    }

    .banner-section {
        width: 100%;
        /* background: url('./images/banner2.jpg') no-repeat center; */
        /* background-size: cover; */
        height: 800px;
        overflow: hidden;
    }

    .banner-section #background-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: relative;
        left: 0;
        margin-top: 40px;
        right: 0;
        top: 0px;
        bottom: 0;
        z-index: -1;
    }

    .banner-section .content-overlay {
        position: absolute;
        margin-top: 40px;
        top: 0px;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .banner-section .banner-wrapper {
        background-color: rgba(0, 0, 0, 0.55);
        height: inherit;
        z-index: 9;
    }

    .banner-section .banner-wrapper .banner-overlay-img1 {
        max-height: 120px;
    }

    /* .banner-overlay-img1 {
        width: 298px;
        height: 215px;
    } */

    .resource-wrapper h2 {
        padding: 2px 0px;
    }

    .resource-container .card .cat-image {
        height: 110px;
        overflow: hidden;
    }

    .resource-section .resource-container .card-height {
        /* height: 160px; */
        height: auto;
        overflow: hidden;
    }

    .resource-section .resource-container img {
        height: auto;
    }

    .partner-wrapper .carousel-inner .carousel-item img {
        /* width: 300px; */
        height: 40px;
    }

    .partner-wrapper .carousel-inner .carousel-item card {
        /* width: 300px; */
        height: 50px;
    }
    .our-section .testimonial-card .card-body {
        height: auto;
        overflow: hidden;
    }

}