
/* XL Device :1200px. */
@media (min-width: 1200px) and (max-width: 1500px) {
    .about-img img {
        margin-top: 30px;
    }
    .footer-social ul li {
        padding-right: 20px;
    }
    .hero-slider {
        min-height: 600px;
    }
    .shop_thumb_tab ul li button {
        max-width: 87px;
    }
    .product_details_img {
        width: 77%;
    }
    .shop_thumb_tab {
        width: 23%;
    }
    .google-map {
        height: 500px;
    }
    .google-map iframe {
        height: 380px;
    }

}
/* XL Extra */
@media (min-width: 1200px) and (max-width: 1300px) {
    .header-btn {
        margin-left: 25px;
    }
    .main-menu ul li {
        margin-right: 33px;
    }
}



/* LG Device :992px. */
@media (min-width: 992px) and (max-width: 1200px) {
    .header-top .left li {
        margin-right: 10px;
        padding-left: 10px;
    }
    .header-top .right li {
        padding: 11px 10px;
    }
    .header-button {
        margin-left: 20px;
    }
    .about-img img {
        margin-top: 120px;
        width: 100%;
    }
    .about-content h2 {
        font-size: 31px;
        margin-bottom: 20px;
    }
    .about-content {
        padding: 80px 0;
    }
    .about-content p {
        margin-bottom: 30px;
    }
    .feature-item {
        padding: 40px 35px;
    }
    .blog-area .blog-item ul li {
        margin-bottom: 5px;
    }
    .footer-top-content span {
        font-size: 16px;
    }
    .footer-social ul li a {
        margin-right: 5px;
    }
    .hero-slider {
        min-height: 600px;
    }
    .blog-item .blog-content .blog-title {
        font-size: 20px;
        line-height: 30px;
    }
    .hero-slider {
        min-height: 550px;
    }
    .slide-inner .slide-title h2 {
        font-size: 60px;
        line-height: 70px;
    }
    .slide-inner .slide-span span {
        font-size: 28px;
    }
    .main-menu ul li {
        margin-right: 30px;
    }
    .blog-wrapper, .post-details {
        margin-right: 0;
    }
    .blog-sidebar {
        padding-left: 0;
    }
    .post-item .post-content, .post-details {
        padding: 35px 40px;
    }
    .post-details .post-thumb {
        margin-left: -40px;
        margin-right: -40px;
        margin-top: -35px;
    }
    .product_details_img {
        width: 78%;
    }
    .shop_thumb_tab {
        width: 22%;
    }
    .shop_thumb_tab ul li button {
        max-width: 74px;
    }
    .contact-from-inner {
        padding: 70px 60px;
    }
    .google-map {
        height: 500px;
    }
    .google-map iframe {
        height: 500px;
    }
    .footer-social ul li span {
        display: none;
    }
    .checkout-section .checkout.woocommerce-checkout .col2-set {
        padding-right: 40px;
    }
    .about-content-two.pl-50 {
        padding-left: 20px;
    }
}

 
/* MD Device :768px. */
@media (max-width: 991px) {
    .school-fecilities-single .icon {
        float: none;
        margin-top: 0;
    }
    .school-fecilities-single .icon-box-content {
        margin-left: 0;
        margin-top: 25px;
    }
    .blog-area .blog-item ul li {
        margin-bottom: 5px;
    }
    .footer-top-icon {
        float: none;
        margin-right: 0;
        margin-bottom: 15px;
    }
    .footer-top-content span {
        font-size: 16px;
    }
    .footer-social ul li {
        margin-left: 14px;
        padding-right: 0;
    }
    .footer-social ul li a {
        margin-right: 0;
    }
    .contact-map iframe{
        min-height: 500px;
    }
    .header-bottom-area {
        padding: 25px 0px;
    }
    .footer-social ul li::before, .header-cart, .header-btn {
        display: none;
    }
    .header-area .container-fluid {
        max-width: 720px;
    }
    .blog-wrapper, .post-details {
        margin-right: 0;
    }
    .blog-sidebar {
        padding-left: 0;
        margin-top: 20px;
    }
    .post-item .post-content, .post-details {
        padding: 35px 30px;
    }
    .post-details .post-thumb {
        margin-left: -30px;
        margin-right: -30px;
        margin-top: -35px;
    }
    .contact-from-inner {
        padding: 60px 40px;
    }
    .google-map, .google-map iframe {
        height: 400px;
    }
    .mb--none-140 {
        margin-bottom: -100px;
    }
    .page-title-area {
        padding: 140px 0;
    }
    .footer-social ul li span {
        display: none;
    }
    .teacher-single-info {
        padding-left: 10px;
    }
    .teacher-single-info h3 {
        font-size: 32px;
        margin-bottom: 20px;
    }
    .page-title h2 {
        font-size: 36px;
    }
    .about-content-two.pl-50 {
        padding-left: 0;
    }
    .header-top .left {
        display: none;
    }
    .header-top .right {
        float: none;
        text-align: center;
    }
    .feature-item{
        height: auto!important;
    }
}

 
/* SM Device :320px. */
@media (max-width: 767px) {
    
    .header-bottom-area {
        padding: 23px 0;
    }
    .banner-content h3 {
        font-size: 26px;
    }
    .banner-content h2 {
        font-size: 43px;
    }
    .about-content h2 {
        font-size: 30px;
    }
    .section-title .title {
        font-size: 30px;
    }
    .school-fecilities-single .icon {
        float: none;
        margin-top: 0;
    }
    .school-fecilities-single .icon-box-content {
        margin-left: 0;
        margin-top: 25px;
    }
    .blog-area .blog-item ul li {
        margin-bottom: 5px;
    }
    .footer-top-icon {
        float: none;
        margin-right: 0;
        margin-bottom: 15px;
    }
    .portfolio-menu li {
        font-size: 14px;
        padding: 0 20px 18px;
        margin-bottom: 18px;
    }
    .footer-top-single {
        border-right: 0;
        padding-bottom: 0px;
    }
    .footer-top-wrapper {
        border-bottom: 0;
    }
    .footer-bottom {
        padding-top: 55px;
    }
    .page-title h2 {
        font-size: 33px;
    }
    .contact-form h3 {
        font-size: 25px;
    }
    .contact-info h3 {
        font-size: 25px;
    }
    .contact-map iframe{
        min-height: 400px;
    }
    .post-item .post-content .post-title,
    .blog-content-area .post-details .post-content .post-title {
        font-size: 22px;
        line-height: 30px;
    }
    .post-item .video-icon, .video-icon {
        height: 80px;
        width: 80px;
        line-height: 80px;
    }
    .post-item .post-content .post-meta span,
    .post-details .post-content .post-meta span {
        margin-bottom: 4px;
    }
    .format-quote blockquote {
        padding: 50px 30px;
    }
    .post-details blockquote::before {
        display: none;
    }
    .post-details blockquote {
        padding: 25px;
    }
    .post-tag-wrapper .blog-post-tag a {
        margin-bottom: 10px;
    }
    .blog-share-icon {
        margin-top: 15px;
    }
    .author-box .author-thumb {
        float: none;
        margin-right: 0;
        margin-bottom: 25px;
    }
    .comment-box .comment-avatar {
        float: none;
        margin-right: 0;
        margin-bottom: 20px;
    }
    .children {
        margin-left: 0;
    }
    .footer-social ul li::before, .header-cart, .header-btn, .footer-social ul li span {
        display: none;
    }
    .copyright-text {
        text-align: center;
    }
    .footer-social ul li a {
        margin-right: 0;
    }
    .footer-social ul li {
        margin-left: 0;
        padding-right: 0;
        margin-right: 10px;
    }
    .footer-social ul li:last-child {
        margin-right: 0;
    }
    .header-area .container-fluid {
        max-width: 450px;
    }
    .page-title-area {
        padding: 130px 0;
    }
    .post-item .post-content, .post-details {
        padding: 30px 25px;
    }
    .post-details .post-thumb {
        margin-left: -25px;
        margin-right: -25px;
        margin-top: -30px;
    }
    .pagination ul li {
        margin-right: 6px;
    }
    .pagination ul li a {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 12px;
    }
    .product_details_img {
        width: 78%;
    }
    .shop_thumb_tab {
        width: 22%;
    }
    .shop_thumb_tab ul li {
        margin-bottom: 15px;
        padding-left: 15px;
    }
    .shop_thumb_tab ul li button {
        max-width: 60px;
    }
    .product-details h2 {
        font-size: 24px;
    }
    .contact-from-inner {
        padding: 40px 20px;
    }
    .copyright-text {
        margin-top: 18px;
        text-align: center;
    }
    .footer-social ul {
        justify-content: center;
    }
    .teacher-single-info {
        padding-left: 0;
    }
    .blog-item .blog-content .blog-meta span:not(:last-child)::before {
        display: none;
    }
    .blog-item .blog-content .blog-meta span {
        padding-right: 0;
    }
    .quick{
        margin-left: 0px;
   }
}
 
/* Large Mobile :480px. */
@media only screen and (min-width: 480px) and (max-width: 767px) {

    .footer-bottom {
        padding-bottom: 0;
    }
}

@media (max-width: 425px) {
    .section-title .title {
        font-size: 18px;
    }
    .footer-bottom {
        padding-bottom: 0;
    }
    .copyright-area {
        padding: 0;
    }
    .copyright-text p {
        margin: 0;
        font-size: 14px;
    }
    .copyright-text {
        margin-top: 0;
        padding: 10px 0;
    }
    .footer-widget .fp-single .content span{
        margin-bottom: 8px;
    }
    .header-bottom-area {
        padding: 8px 0;
    }
    .logo img {
        max-width: 200px;
    }
    .portfolio-area {
        padding-top: 40px;
    }
    .table tr th {
        font-size: 14px;
    }
    .table tr td {
        font-size: 14px;
    }
    .feature-item{
        height: auto;
    }
    #service p{
        text-align: justify!important;
    }
    .about img, .class-item .class-img img{
        height: auto; 
    }
    .leaders h2{
        font-size:26px;
    }

}


/* Add CSS for Responsible in Mobile View Only  */

@media (max-width: 480px) { /* Applies to small mobile screens */
    .section-title .title {
        font-size: 18px;
    }
    .header-top ul.right {
        display: flex;
        justify-content: center; /* Center align */
        flex-wrap: wrap; /* Allow wrapping */
        gap: 8px; /* Adjust spacing for small screens */
        padding: 0;
        margin-top: 8px;
    }
    .header-top ul.right li {
        display: inline-block;
        list-style: none;
    }
    .header-top ul.right li a {
        font-size: 18px; /* Adjust icon size for better visibility */
        padding: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* For screens up to 768px (tablets and smaller) */
@media (max-width: 768px) {
    .header-top ul.right {
        display: flex;
        justify-content: flex-end; /* Aligns to the right */
        gap: 6px;
    }
    .header-top ul.right li a {
        font-size: 16px; /* Slightly smaller icons */
        padding: 5px;
    }
}

/* Ensuring consistency for smaller screens like 425px and 320px */
@media (max-width: 425px) {
    .header-top ul.right {
        justify-content: flex-end;
        
    }
}

@media (max-width: 320px) {
    .section-title .title {
        font-size: 16px;
        color: white;
    }
    .google-map, .google-map iframe{
        padding-bottom: 100px;
    }
    .header-top ul.right {
        justify-content: flex-end; /* Align to right */
    }
}


@media (max-width: 375px) {
    .header-top ul.right {
        float: right; /* Align to right */
        display: flex;
    }
    .custom-button {
        width: 19px;
        height: 19px;
        border-radius: 20%;
    }
    .custom-button svg {
        max-width: 99%;
        height: 12px !important;
        box-sizing: border-box;
    }
    .wrapper-inner img {
        height: 85px;
        max-width: max-content;
    }
   .mobile-menu ul{
    
        list-style: none;
        padding: 0;
        display: grid;
        justify-items: start;
        align-content: stretch;
        justify-content: start;
        align-items: center;
   
   }
   .side-info-close {
    left: 5px;
    width: 35px;
    height: 35px;
    background: #dc3545 !important;
   }
   .side-mobile-menu.info-open {
    right: -50px;
   }
}

@media screen and (max-width: 375px) {
    .row.about .mq375 {
        margin-top: 30px !important; /* Force margin if other styles override it */
    }
}


@media screen and (max-width: 375px) {
    .os375 {
        margin-top: 40px !important; /* Force margin if other styles override it */
    }
}


@media screen and (max-width: 375px) {
    .sg375 {
        left: 5%;
    }
}


@media screen and (max-width: 375px) {
    .breadcrumb-list ul {
        margin: -16px 0;
        padding: 0 0px 0px 0px;
    }
}


@media screen and (max-width: 375px) {
    .hm375 img{
        height: 100%;
        width: 100%;
    }
}


@media screen and (max-width: 375px) {
    .a375, .p375 {
        color: #777;
        font-size: 17px;
        text-align: justify;
        line-height: 1.6;
        /* font-weight: bold; */
    }

    .p375 {
        font-size: 19px; /* Slightly increased for readability */
        padding-left: 15px; /* Adjusted padding */
    }
}

@media screen and (max-width: 375px) {
    .mainpic375 img {
        height: 100% !important;
        width: 100% !important;
        margin-top: 0 !important; /* Removing negative margin for better alignment */
        object-fit: cover; /* Ensures the image maintains aspect ratio */
    }
}

@media screen and (max-width: 375px) {
    .mt-375 {
        margin-top: -75px;
    }
}


@media screen and (max-width: 375px) {
    .f375 p{
        margin-left: -1px;
    }
}

@media screen and (max-width: 375px) {
    .table-responsive {
        overflow-x: auto; /* Enables horizontal scrolling */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
    }

    table {
        width: 100% !important; /* Ensures tables take full width */
        display: block; /* Prevents table from breaking layout */
        overflow-x: auto; /* Allows horizontal scrolling */
    }

    th, td {
        white-space: nowrap; /* Prevents text from breaking */
        font-size: 14px; /* Adjusts text size for readability */
    }
}

@media screen and (max-width: 320px) {
    .google-map, .google-map iframe{
        padding-bottom: 100px;
    }
    .overflow320{
        overflow: hidden !important; /* Force the rule */
        height: 100%; /* Ensures no extra scrolling */
    }
}

@media screen and (max-width: 375px) {
    .overflow320{
        overflow: hidden !important; /* Force the rule */
        height: 100%; /* Ensures no extra scrolling */
    }
}

@media screen and (max-width: 768px) {
    .overflow320{
        overflow: hidden !important; /* Force the rule */
        height: 100%; /* Ensures no extra scrolling */
    }
}

@media screen and (max-width: 480px) {
    .overflow320{
        overflow: hidden !important; /* Force the rule */
        height: 100%; /* Ensures no extra scrolling */
    }
}

@media screen and (max-width: 1200px) {
    .overflow320{
        overflow: hidden !important; /* Force the rule */
        height: 100%; /* Ensures no extra scrolling */
    }
}


@media screen and (max-width: 375px) {
    .section-subtitle {
        margin-top: 5px;;
    }
}
/* 
/* 
@media (max-width: 768px) { 
    .hero-slider .slide-inner {
        background-size: contain !important;    
        background-repeat: no-repeat;
        background-position: center center;
        min-height: 400px; 
    }
}

/
@media (max-width: 480px) {
    .hero-slider .slide-inner {
        background-size: contain !important; 
        min-height: 300px; 
    }
    .hero-slider .slide-title h2 {
        font-size: 18px; 
    }
    .swiper-button-next, .swiper-button-prev {
        display: none !important; 
    }
    .hero-slider {
        margin-top: -20px;
    }
} */


@media (max-width: 425px) {
    .google-map, .google-map iframe{
        padding-bottom: 100px;
    }
    .header-bottom-area {
        padding: 10px 15px; /* Space the header from edges */
    }
    
    .logo img {
        max-width: 120px; /* Reduce logo size for smaller screens */
    }

    .header-right {
        margin-right: 10px; /* Reduce spacing for mobile */
    }

    .side-menu-icon {
        margin-left: 10px; /* Align mobile menu button properly */
    }
    .header-top .left {
        display: none !important;
    }
    .thm-btn {
        display: none !important;
    }
    .header-text h2 {
        text-align: start;
    }
    .portfolio-item {
        margin-left: 30px;
    }
}


@media (max-width: 375px) {
    .google-map, .google-map iframe{
        padding-bottom: 100px;
    }
    .mobile-menu {
        text-align: center;
        margin-top: 30px;
        margin-left: -25px;
    }
    
    .mobile-menu .main-menu-list {
        padding: 0;
    }

    .mobile-menu a {
        display: block;
        padding: 10px;
    }
}


@media (max-width: 425px) {
    .mobile-menu {
        text-align: center;
        margin-top: 30px;
        margin-left: -25px;
    }
    
    .mobile-menu .main-menu-list {
        padding: 0;
    }

    .mobile-menu a {
        display: block;
        padding: 10px;
    }
    .mobile-menu ul{
    
        list-style: none;
        padding: 0;
        display: grid;
        justify-items: start;
        align-content: stretch;
        justify-content: start;
        align-items: center;
   
   }
   .side-info-close {
    left: 5px;
    width: 35px;
    height: 35px;
    background: #dc3545 !important;
   }
   .side-mobile-menu.info-open {
    right: 0px;
   }
}

@media (max-width: 1140px) {
    .main-menu ul li a {
        display: block;
        padding: 25px 0px;
        color: #00394f;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
    }
}

@media (max-width: 320px) {
    .tab-button {
    font-size: 10px;
    margin: 10px 12px;
    }
}

@media (max-width: 425px) {
    .tab-button {
    font-size: 15px;
    margin: 10px 15px;
    }
}



/* Mobile view adjustments */
@media (max-width: 768px) {
    .google-map, .google-map iframe{
        padding-bottom: 100px;
    }
    .content-box {
        padding: 15px; /* Reduce padding on smaller screens */
    }

    .curriculum-title {
        font-size: 20px; /* Slightly reduce title size */
        text-align: center;
    }

    .curriculum-list li {
        font-size: 15px;
        padding-left: 20px;
    }

    .curriculum-list li::before {
        font-size: 14px; /* Ensure tick mark is properly aligned */
    }

    .mobile-menu {
        text-align: center;
        margin-top: 30px;
        margin-left: -25px;
    }
    
    .mobile-menu .main-menu-list {
        padding: 0;
    }

    .mobile-menu a {
        display: block;
        padding: 10px;
    }
    .mobile-menu ul{
    
        list-style: none;
        padding: 0;
        display: grid;
        justify-items: start;
        align-content: stretch;
        justify-content: start;
        align-items: center;
   
   }
   .side-info-close {
    left: 5px;
    width: 35px;
    height: 35px;
    background: #dc3545 !important;
   }
   .side-mobile-menu.info-open {
    right: 0px;
   }
   .thm-btn {
        display: none !important;
    }
}


@media (max-width: 1024px) {
    .header-bottom-area {
        padding: 10px 15px; /* Space the header from edges */
    }
    
    .logo img {
        max-width: 120px; /* Reduce logo size for smaller screens */
    }

    .header-right {
        margin-right: 10px; /* Reduce spacing for mobile */
    }

    .side-menu-icon {
        margin-left: 10px; /* Align mobile menu button properly */
    }
    .header-top .left {
        display: none !important;
    }
    /* .thm-btn {
        display: none !important;
    } */
    .header-text h2 {
        text-align: start;
        font-size: 10px !important;
        line-height: 16px !important;
    }
    .portfolio-item {
        margin-left: 30px;
    }
    .main-menu ul li a {
        display: block;
        padding: 25px 4px;
        color: #00394f;
        margin: 0px -11px;
        font-size: 8px;
        font-weight: 700;
        text-transform: uppercase;
    }
    .header-bottom-area .d-flex {
        justify-content: space-between;
        padding: 0 0px;
    }
    .header-bottom-area .logo img {
        height: 45px !important;
    }

    .thm-btn{
        font-size: 8px;
    padding: 10px 10px;
    }
}



/* Responsive Navigation */
@media (max-width: 991px) {
    .main-menu {
        display: none;
    }
    .side-menu-icon {
        display: block;
    }
}


/* Fix alignment on small screens */
@media (max-width: 768px) {
    .header-top .left {
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }
    .header-top .right {
        justify-content: center;
        flex-direction: row;
    }
}