@media only screen and (max-width:1400px) {
    heroBg .heroCaption .atmbImg {
        top: -252px;
    }
    .atmbImg img {
        max-width: 400px;
    }
    .heroBg .heroCaption .atmbImg {
        top: -75%;
    }
    .heroBg::before {
        left: 49.5%;
        top: -25%;
        width: 25%;
    }
    .c-section .form-wrapper h2::before {
        right: 19%;
    }
    .c-section .form-wrapper h2::after {
        left: 57%;
    }
    iframe.youtube-vid {
        width: 100%;
        height: 196px;
    }
}

@media only screen and (max-width:1024px) {
    iframe.youtube-vid {
        width: 100%;
        height: 163px;
    }
    #courses .courseContainer {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .topheader .navbar a.navbar-brand {
        position: relative;
        top: 0;
    }
    .navbar-expand-lg {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .topheader .navbar-nav li a {
        padding: 20px 14px;
    }
    .c-section .form-wrapper h2::before {
        right: 3%;
    }
    .c-section .form-wrapper h2::after {
        left: 67%;
    }
}

@media only screen and (max-width:991px) {
    .navbar-toggler:focus {
        text-decoration: none;
        outline: 0;
        box-shadow: none !important;
    }
    li#menu-item-48>a {
        pointer-events: none;
    }
    .topheader .navbar li .sub-menu li {
        border-bottom: none;
    }
    li#menu-item-49>a {
        pointer-events: none;
    }
    li#menu-item-63>a {
        pointer-events: none;
    }
    .topheader .navbar a.navbar-brand {
        position: relative;
    }
    .abtImg {
        margin-bottom: 2.5rem;
    }
    .ab-guru-ma .section_heading {
        text-align: center;
    }
    .ab-guru-ma .section_heading h2::before {
        left: 0;
        right: 0;
    }
    .ab-guru-ma .section_heading h2::after {
        left: 0;
        right: 0;
        transform: translateX(0%);
    }
    .abtText {
        text-align: center;
    }
    #events .eventContainer .eventBox {
        grid-template-columns: auto;
    }
    .about-page .about-pg-img-wrappe {
        justify-content: flex-start;
    }
    .c-section .about-pg-img-wrappe {
        justify-content: flex-start;
    }
    .c-section .about-pg-img-wrappe-left {
        margin-bottom: 2rem;
        justify-content: flex-start;
    }
    .c-section {
        background-image: url(./img/pattern-new-01.png);
        text-align: left;
    }
    .c-section h2 {
        text-align: left;
        font-size: 1.4rem;
    }
    .c-section p {
        text-align: left;
    }
    .c-section .form-wrapper h2::before {
        display: none;
    }
    .c-section .form-wrapper h2::after {
        display: none;
    }
    .blogCard {
        margin-bottom: 1.5rem;
    }
    .navbar-light .navbar-toggler {
        color: rgba(0, 0, 0, .55);
        border-color: #ff0000 !important;
    }
    .topheader .navbar {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .topheader .navbar li .sub-menu {
        position: relative;
        top: 0;
        box-shadow: none !important;
    }
    .c-section .about-pg-img-wrappe img {
        margin-bottom: 1.5rem;
    }
    iframe.youtube-vid {
        width: 100%;
        height: 118px;
    }
}

@media only screen and (max-width:768px) {
    .headerStrip .topInfo .phnInfo li a {
        font-size: 12px;
    }
    .heroBg .heroCaption .atmbImg {
        top: -126%;
    }
    .heroBg::before {
        top: -42%;
    }
    #products .prdtSlider .slick-prev {
        left: -22px;
    }
    .section-gallry-page img {
        height: auto;
    }
    li#menu-item-49 .sub-menu {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .video iframe {
        height: 240px;
    }
}

@media only screen and (max-width:767px) {
    #courses .courseContainer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    #events .eventContainer .eventBox {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    iframe.youtube-vid {
        width: 100%;
        height: 278px;
    }
}

@media only screen and (max-width:576px) {
    .topheader .navbar li .sub-menu li a {
        padding: 4px 19px;
    }
    .ab-guru-ma .section_heading h2 {
        font-size: 32px;
    }
    .heroBg .heroCaption .heroPanel ul {
        flex-direction: column;
    }
    #services .section_heading h2 {
        font-size: 32px;
    }
    #courses .courseContainer {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    #products .section_heading h2 {
        font-size: 32px;
    }
    .video .section_heading h2 {
        font-size: 32px;
    }
    #testimonial .section_heading h2 {
        font-size: 32px;
    }
    #testimonial .testiContainer .items .card {
        margin: 0;
    }
    .abtImg img {
        max-width: 100%;
    }
    #events .eventContainer .eventBox .eventInfo {
        padding: 1rem 0.5rem;
    }
    #events .section_heading h2 {
        font-size: 32px;
    }
    #events .eventContainer .eventBox .eventInfo h3::before {
        display: none;
    }
    #events .eventContainer .eventBox .eventInfo h3::after {
        display: none;
    }
    .heroBg .heroCaption .atmbImg {
        top: -92%;
    }
    .heroBg::before {
        top: -25%;
        width: 73%;
    }
    .texti-box {
        margin-bottom: 1.5rem;
    }
    footer .fcontainer .fbox .clinfo li .fa {
        width: max-content;
        padding: 0 15px;
        margin-right: 1rem;
    }
    .tnp-subscription {
        margin: 0px auto;
    }
    .about-page {
        padding: 2rem 0 2rem;
    }
    .heroBg .heroCaption {
        width: 96%;
    }
    .heroCaption .title {
        text-align: center;
    }
    .heroBg .heroCaption .title h1 {
        text-align: center;
    }
    #products .prdtSlider .card {
        margin: 0;
    }
    .headerStrip .topInfo {
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
    }
    .headerStrip .topInfo .phnInfo li {
        margin: 0.5rem 20px 0.5rem 0rem;
    }
    .topheader .navbar .container-fluid {
        padding: 0 !important;
    }
    .headerStrip .appnBtn {
        padding-left: 0;
    }
    .c-section .card .Img {
        width: 100%;
        height: auto;
    }
    .c-section .card .Img img {
        height: auto;
    }
    footer .flinks_container {
        grid-template-columns: auto;
    }
    footer .fcontainer .fbox .newsletter .info input[type="email"] {
        width: 65%;
    }
    .socila-list {
        margin-bottom: 1rem;
    }
    .tnp-subscription input[type=submit] {
        width: auto ! important;
    }
    #courses .courseContainer .courseBox {
        padding: 2rem 1rem;
    }
    #breadcrumbBG {
        padding: 3rem 0;
    }
    .c-section .about-pg-img-wrappe img {
        box-shadow: none;
    }
    footer .footerbottom .copyright {
        flex-direction: column;
    }
    .video iframe {
        height: 202px;
    }
    .modal-section.openBox .modal-box .video {
        width: 300px;
    }
}

@media only screen and (max-width:350px) {
    .headerStrip .topInfo .phnInfo li span .fa {
        margin-right: 2px;
    }
    .headerStrip .topInfo .phnInfo li {
        margin: 0.5rem 5px 0.5rem 0rem;
    }
    .headerStrip .topInfo .phnInfo li a {
        font-size: 13px;
    }
    .heroBg .heroCaption .title p {
        font-size: 18px;
    }
    .heroBg .heroCaption .title h1 {
        text-align: center;
        font-size: 32px;
        margin: 0.5rem 0;
    }
}