@media (min-width: 1200px) and (max-width: 1399px) {

    #gallery h1 {
        top: 4px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {

    header .navbar-nav .nav-link {
        padding: 12px 5px!important;
        font-size: 14px;
    }
    header .contact-details button.btn {
        font-size: 14px;
    }
    header .contact-details .mail a, header .contact-details .phone a {
        font-size: 16px;
    }
    header .contact-details:before {
        left: -28px;
    }
    #gallery h1 {
        top: 5px;
        font-size: 3.4rem;
    }

}

@media (min-width: 768px) and (max-width: 991px) {

    header .navbar-brand img {
        max-width: 160px;
    }
    header .contact-details .phone a, header .contact-details .mail a {
        font-size: 14px;
    }
    header .contact-details button.btn {
        font-size: 12px;
    }
    header .contact-details {
        padding: 10px;
    }
    header .contact-details:before {
        z-index: -1;
        left: -17px;
    }
    header .navbar-nav .nav-link {
        padding: 10px 4px!important;
        font-size: 13px;
    }
    #admissionInfo h2 {
        font-size: 3rem;
    }
    #gallery h1 {
        top: 10px;
        font-size: 2.5rem;
    }
    .footer-menu h5 {
        font-size: 15px;
    }
    .footer-menu a, .footer-menu {
        word-break: break-all;
    }
    .why-content ul li h5 {
        font-size: 22px;
    }
    .why-content ul li p {
        font-size: 16px;
        width: 80%;
    }
    .fee{
        width: 350px;
        height: 510px;
    }

}

@media (min-width: 576px) and (max-width: 767px) {

    .navbar-expand-sm .navbar-toggler {
        display: flex;
        padding: 0;
        justify-content: flex-end;
        width: 100%;
    }
    .navbar-expand-sm .navbar-collapse.collapse:not(.show) {
        display: none!important;
    }
    .navbar-expand-sm .navbar-nav {
        flex-direction: column;
    }
    header .contact-details .phone a {
        font-size: 18px;
    }
    .facts-block .block3 {
        width: 100px;
        height: 100px;
    }
    .facts-block p {
        font-size: 12px;
        min-height: 26px;
    }
    .facts-block h5 {
        font-size: 20px;
    }
    #admissionInfo h1.main-heading span {
        font-size: 24px;
    }
    #admissionInfo h2 {
        font-size: 2rem;
    }
    #branches h1 {
        font-size: 36px;
    }
    #branches .bg-container h2 {
        font-size: 26px;
    }
    #gallery h1 {
        font-size: 2.2rem;
    }
    #testimonials .testimonial-block h5 {
        font-size: 20px;
    }
    #testimonials .testimonial-block p {
        font-size: 16px;
    }
    footer .input-group {
        width: 290px;
    }
    .footer-menu .block {
        padding: 10px;
    }
    .footer-menu h5 {
        letter-spacing: 0px;
        font-size: 14px;
    }
    .footer-menu a, .footer-menu {
        font-size: 12px;
        word-wrap: break-word;
    }
    .why-content ul li p {
        font-size: 14px;
        width: 80%;
    }
    .why-content ul li h5 {
        font-size: 20px;
    }
    .about-image{
        width:350px;
    }

}

@media (min-width: 320px) and (max-width: 575px) {

    header .contact-details button.btn {
        margin-top: 10px;
    }
    .facts-block {
        flex-direction: column;
    }
    #whyUs h1 span.heading {
        font-size: 30px;
    }
    #whyUs h1 span.question-mark {
        font-size: 4rem;
        top: 5px;
        left: 0px;
    }
    #admissionInfo h1.main-heading span {
        font-size: 15px;
        padding: 5px 10px;
    }
    #admissionInfo h2 {
        font-size: 14px;
    }
    #branches h1 {
        font-size: 22px;
    }
    #branches .bg-container h2 {
        font-size: 20px;
    }
    #gallery h1 {
        width: 100%;
        position: inherit;
        right: inherit;
        top: inherit;
        font-size: 2rem;
        text-align: center;
    }
    section.section {
        padding: 3rem 0;
    }
    #testimonials .heading-block {
        padding-top: 3rem;
    }
    #testimonials .heading-block h1 {
        font-size: 30px;
    }
    footer {
        padding: 2rem 0 8rem;
    }
    footer div.d-flex {
        flex-direction: column;
    }
    footer .input-group {
        width: 290px;
        margin-left: 0;
        margin-top: 15px;
    }
    header .contact-details li {
        width: 100%;
        text-align: center;
    }
    header .contact-details ul {
        flex-direction: column;
        justify-content: center!important;
    }
    .why-content ul li h5 {
        font-size: 24px;
    }
    #admissionInfo h1 {
        margin-bottom: 1rem;
    }
    #branches .bg-container img {
        max-width: 90%;
    }
    #testimonials .testimonial-block p {
        font-size: 18px;
    }
    .about-image{
        width:350px;
    }
    .exp-section .single-achievement p {
        font-size: 14px;
        color: #000;
        text-transform: capitalize;
        font-weight: 600;
        margin-top: -1px;
        margin-bottom: -1px;
      }
      .exp-section .single-achievement {
        padding:  0px;
      }


}

@media (min-width: 320px) and (max-width: 767px) {

    .navbar-toggler:focus {
        box-shadow: none;
    }
    .why-content ul {
        padding: 25px 0 0;
    }
    .navbar-toggler {
        border: none;
    }
    header .contact-details:before {
        content: none;
    }

    .fee{
        width: 350px;
        height: 510px;
    }
    .about-image{
        width:350px;
    }

}
