/* X-Large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) {
    .navbar .navbar-collapse>ul>li {
        padding: 0 10px;
    }
    .navbar .navbar-collapse>ul>li>a {
        padding: 40px 2px;
    }
    .header-appear .navbar .navbar-collapse>ul>li>a{
        padding: 25px 2px;
    }
 }


/* Large devices (desktops, less than 1200px) */
@media screen and (max-width: 1240px) {
    .navbar-brand img {
        width: 220px;
    }
    .navbar .navbar-collapse>ul>li>a{
        padding: 28px 6px;
        font-size: 12px;
        letter-spacing: 0;
    }
    .header-appear .navbar .navbar-collapse>ul>li>a {
        padding: 25px 6px;
    }
    .navbar .navbar-collapse>ul>li.current-menu-item>a {
        padding: 28px 20px;
    }
    .banner-img {
        padding-top: 50%;
    }
    .inner-banner{
        height: 400px;
    }
    .footer-wrapper {
        padding-right: 5px;
    }
    .breadcrumb{
        width: 100%;
    }
    .navbar .navbar-collapse>ul>li {
        padding: 0px 4px;
    }
    .inner-banner{
        height: 320px;
    }
    .contact-box p a {
        font-size: 15px;
    }
    .footer-wrapper {
        padding-right: 15px;
    }

    /* About Page  */
    .about-img-1, .about-img-1 img , .about-img-2, .about-img-2 img{
        height: 100%;
    }

    /* Children Page  */
    .children-content-wrapper .teacher-details {
        height: 290px;
    }
    .children-content-wrapper .detail-box {
        padding: 20px;
    }
}




 /* Medium devices (tablets, less than 992px) */
 @media screen and (max-width: 991px) {
    .navbar-brand img {
        width: 160px;
        padding: 4px 0;
    }
    .header-appear .navbar-brand img {
        width: 160px;
    }
    .navbar-toggler:focus {
        box-shadow: none !important;
    }
    .current_page_item{
        background: #627e0e;
    }
    .navbar .navbar-collapse>ul>li{
        border-bottom: 1px dotted;
    }
    .navbar .navbar-collapse>ul>li:last-child{
        border-bottom: none;
    }
    .navbar .navbar-collapse>ul>li>a{
        padding: 9px 8px !important;
    }
    .navbar .navbar-collapse>ul>li>a.active {
        background: none;
        color: var(--color-white);
        padding: 8px 0px;
    }
    
    .sec-space{
        padding: 40px 0;
    }
    .sub-banner img{
        height: 280px;
    }
    .owl-carousel button.owl-dot {
        width: 14px !important;
        height: 14px !important;
    }
    .owl-dots {
        bottom: 18px;
    }
    .banner .carousel-item {
        height: 440px;
    }
    .heading h2 {
        font-size: 24px;
        line-height: 20px;
        margin-bottom: 30px !important;
    }
    .about h3 {
        line-height: 30px;
        font-size: 22px;
        margin-bottom: 20px !important;
    }
    .about .row {
        flex-direction: column-reverse;
        row-gap: 20px;
    }
    .inner-banner{
        height: 220px;
    }
    .teacher-img img{
        height: 340px;
    }
    .footer-wrapper h2 {
        font-size: 22px;
        margin-bottom: 12px;
        margin-top: 32px;
    }

    .contact-box p a {
        font-size: 15px;
    }
    .contact-box{
        height: auto;
    }
    .about-content .row:last-child{
        flex-direction: column-reverse;
        row-gap: 40px;
    }
    .about-img-1 img {
        height: 370px;
    }
    .gallery-filter .nav-link {
        font-size: 14px;
    }
    .children-content-wrapper .teacher-details {
        height: 240px;
    }
 }


/* Small devices (landscape phones, less than 768px) */
@media screen and (max-width: 767px) {
    .heading h2 {
        font-size: 24px;
        line-height: 22px;
        margin-bottom: 25px !important;
    }
    .banner .carousel-item {
        height: 400px;
    }
    .content-box{
        border-bottom: 1px solid #ccc;
        padding-bottom: 20px;
    }
    .news-para {
        height: 78px;
    }
    .sub-banner img {
        height: 280px;
    }
    .contact-box p a{
        font-size: 15px;
    }
    .contact-box{
        height: auto;
    }
    .teacher-img img{
        height: 450px;
    }
    .teacher-row{
        margin: 0 -8px;
    }
    .teacher-row [class*="col-"]{
        padding: 0 8px;
    }
    .zoom {
        text-align: center;
    }
    .footer-wrapper h2 {
        font-size: 20px;
        margin-bottom: 10px;
        margin-top: 28px;
    }
    .footer-wrapper {
        padding-right: 0;
    }
    .about-img-1 img {
        height: 300px;
    }
    .contact-box .fa {
        font-size: 45px;
    }
    .contact-info-heading {
        margin-bottom: 5px !important;
        margin-top: 12px;
    } 
    .contact-box {
        padding: 30px 20px;
    }

    /* About Page  */
    .about-row-2{
        margin-top:  0 !important;
    }


    /* Teacher Page  */
    .teacher-img img {
        height: 300px;
    }
    .teacher-details h5 {
        font-size: 22px;
    }

    /* Children Page  */
    .teacher-img img {
        height: 300px;
    }
    .children-content-wrapper .teacher-details {
        height: 212px;
        margin-right: -20px;
        padding-right: 20px;
    }
}


/* X-Small devices (portrait phones, less than 576px) */
@media screen and (max-width: 575px) {
    .container{
        padding-right: 25px !important;
        padding-left: 25px !important;
    }
    .heading h2 {
        font-size: 24px;
        line-height: 22px;
        margin-bottom: 25px !important;
    }
    .banner-img {
        padding-top: 54%;
    }
    .content-box{
        border-bottom: 1px solid #ccc;
        padding-bottom: 20px;
    }
    .about .g-4, .gy-4 {
        --bs-gutter-y: 0.5rem;
    }
    .left-news-heading {
        margin-top: 18px;
        line-height: 23px;
    }
    .news .row.g-4 {
        row-gap: 20px;
        display: inline-flex;
    }
    .news-para {
        height: auto;
    }
    .sub-banner img {
        height: 250px;
    }
    .inner-banner {
        height: 180px;
    }
    .about-img-1 {
        margin-bottom: 20px !important;
    }
    .about-content .row:last-child {
        row-gap: 20px;
    }
    .about-img-2 img {
        height: 360px;
    }
    .teacher-img img {
        height: 500px;
    }
    .table-responsive {
        font-size: 14px;
    }
    .teacher-row{
        row-gap: 20px;
    }
    .teacher-content-head{
        margin-bottom: 20px;
    }
    .news-wrapper .row{
        row-gap: 20px;
    }
    .projects .row{
        row-gap: 20px;
    }
    
    .gallery-filter .nav-tabs{
        margin-bottom: 20px !important ;
    }
    .form-control {
        padding: 10px !important;
    }
    .contact-box{
        margin: 10px 0;
    }

    .teacher-img img {
        height: 260px;
    }
    .teacher-details h5 {
        font-size: 20px;
    }
    .teacher-details p {
        line-height: 20px;
    }
    .teacher-details {
        height: 110px;
    }
    .children-content-wrapper .teacher-details {
        height: auto;
    }
}

/* XS-Extra Small devices (portrait phones, less than 360px) */
@media screen and (max-width: 480px) {
    .navbar-brand img {
        width: 140px;
    }
    .header-appear .navbar-brand img {
        width: 140px;
    }
    .music a {
        font-size: 12px;
    }
    .sound-icon{
        width: 24px;
    }
    .sound-icon img{
        height: 20px;
        width: auto;
    }
    .social-icons ul li {
        margin-right: 2px;
    }
    .owl-dots {
        width: max-content;
        bottom: 8px;
    }
    .owl-carousel button.owl-dot {
        width: 11px !important;
        height: 11px !important;
        border: 2px solid var(--color-white) !important;
    }
    .sec-space{
        padding: 30px 0;
    }
    .sec-space-top{
        padding-top: 30px;
    }
    .sec-space-bottom{
        padding-bottom: 30px;
    }
    .about h3 {
        line-height: 28px;
        font-size: 19px;
        margin-bottom: 14px !important;
    }
    .about-img img {
        height: 240px;
    }
    .left-news-heading {
        font-size: 19px;
    }
    .breadcrumb-item.active {
        font-size: 20px;
    }
    .inner-banner {
        height: 140px;
    }
    .sub-banner img {
        height: 220px;
    }
    .heading h2 {
        font-size: 20px;
        line-height: 14px;
        margin-bottom: 10px !important;
    }
    .social-icons ul li a i {
        font-size: 16px;
    }
    .social-icons ul li {
        margin-right: 2px;
    }
    body{
        font-size: 14px !important;
        line-height: 20px;
    }
    .content-text {
        font-size: 14px;
    }
    .footer-wrapper h2 {
        font-size: 18px;
    }
    .breadcrumb-item.active {
        font-size: 16px;
    }
    .breadcrumb-item a {
        font-size: 16px;
    }
    .about-content .about-row-2 {
        padding-top: 30px!important;
    }
    .table-responsive {
        margin-bottom: 28px;
    }
    
    .news-content h5{
        text-align: left;
    }
    .contact-info-heading {
        font-size: 20px;
        font-weight: 600;
    }
    .contact-box p a {
        font-size: 14px;
        line-height: 26px;
        font-weight: 400;
    }
    input[type="submit"] {
        height: 40px;
        line-height: 38px;
        padding: 0 22px;
        font-size: 14px;
        font-weight: 600;
    }
    .gallery-filter .nav-link {
        padding: 3px 18px !important;
        font-size: 12px;
    }
    .btn{
        font-size: 13px;
    }
    .btn-black{
        height: 40px !important;
        line-height: 24px !important;
        border-width: 1px !important;
    }
    .contact-box{
        margin: 4px 0;
    }
    #button {
        width: 48px;
        height: 48px;
        font-size: 11px;
    }
    #button::after {
        line-height: 45px;
    }
    .teacher-row [class*="col-"]{
        max-width: 100%;
        flex: 0 0 100%;
    }
    .teacher-details {
        height: auto;
    }
    .teacher-img img {
        height: 380px;
    }
}

/* Large devices (desktops, less than 1200px) */
@media screen and (max-width: 360px) {
    .heading h2 {
        font-size: 18px;
        line-height: 6px;
    }
    .navbar-brand img {
        width: 120px;
    }
    .navbar-toggler {
        padding: .25rem .65rem;
        font-size: 1rem;
    }
    .content-img img {
        height: 202px;
    }
    .about-img img {
        height: 220px;
    }
    .about h3 {
        font-size: 18px;
    }
    .sub-banner img {
        height: 160px;
    }
    .left-news-heading {
        font-size: 18px;
    }

    /* Gallery Page  */
    .gallery-filter .nav-link {
        padding: 3px 10px !important;
    }

    .teacher-img img {
        height: 350px;
    }
}





 

