@media(max-width: 1199px) {
    .about-us-banner-content {
        padding: 234px 0 77px;
    }

    .about-header {
        padding: 70px 0 45px;
    }

    .principal-desk {
        padding: 70px 0 120px;
    }

    .signature {
        display: flex;
        justify-content: center;
    }

    .signature img,
    .principal-info {
        margin: 15px 0;
    }
}

@media (max-width: 1024px) {
    .teachers {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 992px) {
    .principal-wrapper {
        flex-direction: column;
        text-align: center;
		gap: 34px;
    }

    .principal-text h2::after {
        margin: 10px auto;
    }

    .principal-image .badge {
        bottom: 15px;
        right: 15px;
    }

    .academic-about .content {
/*         flex-direction: column-reverse; */
        align-items: center;
        text-align: center;
    }

    .academic-about .text,
    .academic-about .image {
        flex: 1 1 100%;
        max-width: 600px;
    }

    .academic-about .text {
        margin-top: 30px;
    }

    .academic-about .text h2 {
        font-size: 24px;
    }

    .academic-about .text p {
        font-size: 14px;
    }

    .academic-gallery .gallery-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .academic-gallery .text-content {
        position: relative;
        top: 0;
    }

    .academic-gallery .image-gallery {
        grid-template-columns: 1fr 1fr;
        margin-top: 30px;
    }

}

@media(max-width: 991px) {
    .notice-section {
        margin-top: 20px;
    }

    .academic-gallery {
        background-color: var(--purple);
        background-image: none;
    }

    .team-section .line-top {
        top: -21px;
    }

    .text-content .icon {
        display: flex;
        justify-self: center;
    }

    .text-content .icon img {
        filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(151deg) brightness(105%) contrast(113%);
    }

    .contact-page-details .row {
        --bs-gutter-y: 24px;
    }

    .google-map {
        margin-top: 25px;
    }

    .hamburger {
        display: block;
    }

    .mobile-menu-close-sec {
        display: block;
    }

    .page-nav-sec {
        flex-direction: row-reverse;
    }

    .page-menu {
        width: 10%;
    }

    .header-donation {
        width: 90%;
        justify-content: end;
        padding-right: 20px;
        margin: 0;
    }

    /* Overlay */
    .overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 99998;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s ease;
    }

    /* Show overlay when active */
    .overlay.is-open {
        opacity: 1;
        visibility: visible;
    }

    /* Hamburger button */
    .hamburger {
        position: relative;
        z-index: 999999;
    }

    .toggle-btn {
        background: none;
        border: none;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .toggle-btn span {
        width: 28px;
        height: 3px;
        background: var(--black);
        border-radius: 2px;
        transition: 0.3s;
    }

    /* Mobile menu */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        max-width: 300px;
        width: 100%;
        padding: 20px 12px;
        background: var(--black);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15);
        z-index: 999999;
        transition: transform 0.35s ease;
        transform: translateX(-320px);
        overflow-y: auto;
    }

    .mobile-menu.is-open {
        transform: translateX(0);
    }

    /* Menu links */
    .mobile-menu ul {
        list-style: none;
        flex-wrap: wrap;
        padding: 0;
        margin: 0;
        background-color: transparent;
        border: 0;
    }

    .mobile-menu ul li {
        width: 100%;
    }

    .mobile-menu ul li a {
        padding: 12px 6px;
    }

    .mobile-menu ul li a.active {
        background-color: transparent;
    }

    .mobile-menu a {
        color: #333;
        padding: 12px 0;
        display: block;
        font-size: 16px;
        text-decoration: none;
        transition: 0.2s;
    }

    .mobile-menu a:hover {
        color: #007bff;
        padding-left: 5px;
    }

    .bottom-header-left ul li {
        width: 100%;
    }

    .page-menu {
        padding: 20px 0;
        display: flex;
        justify-content: end;
    }

    .page-logo a {
        width: 135px;
        height: 135px;
        top: -66px;
        left: 17px;
    }

    .header-top {
        padding-bottom: 43px;
    }

    .page-header {
        padding-top: 5px;
    }

    .page-menu ul li {
        padding: 0;
        border-bottom: 1px #303030 solid;
    }

    .page-menu ul li a {
        color: var(--white);
    }

    .mobile-menu {
        padding-top: 50px;
    }

    .mobile-menu-close-sec {
        position: relative;
    }

    .menu_close_btn {
        font-size: 25px;
        color: #fff;
        position: absolute;
        top: -44px;
        right: 0;
    }

    .banner-cont-inner {
        width: 569px;
        padding: 20px;
    }

    .banner-content {
        padding-top: 148px;
    }

    .banner-slider .slick-arrow {
        width: 34px;
        height: 34px;
    }

    .banner-slider .slick-arrow {
        top: 69%;
    }

    .banner-slider .slick-prev {
        left: 28px;
    }

    .banner-slider .slick-next {
        left: auto;
        right: 28px;
    }

}

@media (max-width: 768px) {

    .about-header-inner,
    .director-box {
        flex-direction: column;
        text-align: center;
		    gap: 17px;
    }

    .tab-list label span {
        display: none;
    }

    .tab-list i {
        font-size: 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .team-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .teachers {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
	
	.academic-about{
		padding: 30px 20px;
	}
}

@media(max-width: 767px) {
    .team-section .line-top {
        top: -15px;
    }

    .about-us-banner-content {
        padding: 50px 0;
    }

    .contact-form {
        padding: 20px;
    }

    .header-top {
        flex-wrap: wrap;
    }

    .header-top-left {
        width: 100%;
        justify-content: center;
        margin-bottom: 20px;
    }

    .header-top-right {
        width: 100%;
        justify-content: center;
    }

    .page-header {
        position: relative;
        background: #111;
        padding: 56px 0;
        padding-top: 3px;
    }

    .banner-slider .slick-prev {
        left: 20px;
    }

    .banner-slider .slick-next {
        right: 20px;
    }

    .banner-slider .slick-arrow {
        width: 36px;
        height: 36px;
    }

    .slick-arrow i {
        font-size: 20px;
    }

    .banner-cont-inner {
        width: 100%;
    }

    .banner-slider .slick-dots {
        bottom: 28px;
    }

    .web-footer-top-wrapper {
        flex-wrap: wrap;
    }

    .web-footer-top-box:first-child {
        width: 60%;
    }

    .web-footer-top-box:nth-child(2) {
        width: 30%;
    }

    .web-footer-top-box:last-child {
        width: 100%;
    }

    .footer-logo-sec {
        width: 150px;
        height: 150px;
        top: -81px;
        left: 50%;
    }

    .banner-content {
        padding-top: 0;
    }

    .banner-slider .slick-arrow {
        top: 50%;
    }

    .about-text .icon,
    .team-title{
        display: flex;
        justify-content: center;
    }

    .team-title>img{
        margin: 0 auto 10px;
    }

     .team-title{
        flex-direction: column;
    }

    .teachers-header {
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 20px;
        gap: 24px;
    }

    .academic-about .text h4::before,
    .academic-gallery .text-content h4::before,
    .team-title h4::before,
    .section-title h2::before,
    .gallery-title::before,
    .school-notice-container h2::before,
    .alumni-title::before {
        left: 50%;
        transform: translate(-50%, 0);
    }
	
	.academic-about .text h4::before{
		left: 6%;
	}
	
	.team-title h4::before{
		left: 18%;
	}
	
	.academic-gallery .text-content h4::before{
		left: 34%;
	}

    .teachers-section {
    padding: 50px 0 80px;
}


}

@media(max-width:576px) {
    .alumni-registration-section {
        padding: 40px 15px;
    }

    .alumni-title {
        font-size: 26px;
    }

    .academic-about {
        padding: 40px 15px;
    }

    .academic-about .text h2 {
        font-size: 20px;
    }

    .academic-about .text p {
        font-size: 13px;
    }

    .academic-about .text .btn-readmore {
        padding: 8px 20px;
        font-size: 14px;
    }

    .academic-gallery .image-gallery {
        grid-template-columns: 1fr;
        gap: 10px;
    }
	
	.school-notice-container,
	.contact-box {
    margin: 50px 0 96px;
}
	.gallery-section,
	    .principal-desk {
		padding: 50px 0 96px;
	}
}

@media(max-width: 575px) {
    .team-section .line-top {
        top: -14px;
    }

    .about-text h1 {
        font-size: 32px;
    }

    .principal-desk::before {
        display: none;
    }

    .principal-desk::after {
        display: none;
    }

    .alumni-registration-section {
        padding: 40px 0;
        padding-bottom: 75px;
    }

    .form-group label {
        margin-bottom: 9px;
    }

    .web-footer-top-box:first-child {
        width: 100%;
        margin-bottom: 30px;
    }

    .web-footer-top-box:nth-child(2) {
        width: 30%;
    }

    .web-footer-top-box:last-child {
        width: 50%;
    }

}

@media (max-width: 480px) {
    .teachers {
        grid-template-columns: 1fr;
    }

    .headmaster img {
        width: 200px;
        height: 200px;
    }

    .fixed-header .page-logo a {
        top: 0;
        width: 90px;
        height: 90px;
    }
}

@media(max-width: 440px) {
    .header-top-left {
        flex-wrap: wrap;
    }

    .header-top-left .header-contact-info {
        border: 0;
    }

    .page-logo a {
        position: relative;
        width: 94px;
        height: 90px;
        top: 3px;
        left: -10px;
        padding: 6px;
        background: transparent;
    }

    .page-header {
        padding: 25px 0;
    }

    .header-top {
        padding-top: 0;
        padding-bottom: 14px;
    }

    .banner-slider-content img {
        height: 360px;
        object-fit: cover;
    }

    .banner-cont-inner h1 {
        font-size: 27px;
    }

    .banner-cont-inner {
        padding: 0;
    }

    .banner-slider .slick-dots li button {
        width: 10px;
        height: 10px;
    }

    .web-footer-top-box:nth-child(2) {
        width: 100%;
        margin-bottom: 15px;
    }

    .web-footer-top-box:last-child {
        width: 100%;
    }

    .social-media-sec li {
        padding: 9px 0;
    }

    .social-media-sec li p i {
        font-size: 18px;
    }

    .highlight-btn {
        padding: 1px 8px;
        line-height: 38px;
    }

    .web-footer-top {
        padding-top: 55px;
    }

    .footer-logo-sec {
        width: 120px;
        height: 120px;
        top: -57px;
    }
}


@media(max-width: 420px) {
    .team-section .line-top {
        top: -9px;
    }

    .alumni-registration-form {
        padding: 35px 20px;
    }
	
	.academic-about .text h4::before {
        left: 10%;
    }
	
	    .header-donation {
        width: 84%;
    }
	
	.school-notice-container,
	.contact-box {
    margin: 42px 0 76px;
}
	.gallery-section,
	    .principal-desk {
		padding: 42px 0 76px;
	}
	
	form {
    padding: 0px;
}
	    .about-header {
        padding: 58px 0 45px;
    }
	
	    .banner-slider-content img {
        height: 223px;
    }
	
	.latest-event-ticker .event-title {
    padding: 8px 10px;
    font-size: 14px;
}
	    .academic-about {
        padding: 20px 15px;
    }
	
	.academic-gallery .gallery-content {
    gap: 8px;
}
	.warn_text h4{
		font-size: 16px;
		text-align: center;
	}
	
	.warn_block {
    flex-direction: column;
}
	.warn_image img {
		max-width: 80px;
    margin: 0 auto;
}
	.warn_text {
    margin: 0px 0 20px;
}
	.pj-wrapper {
    padding: 45px 30px 78px;
}
}

@media (min-width: 1200px) {
    .container {
        position: relative;
        max-width: 1140px;
        margin: 0 auto;
        padding: 0 20px;
    }
}