@media (max-width: 1150px) {


    .hero-content-box h1 {
        font-size: 3rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
        line-height: 1.2;
    }

    .hero-circle-bg {
        display: none;
    }

    .hero-image-card {
        width: 100%;
        height: 400px;
    }


}







@media (max-width: 1000px) {
    .course-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .course-card:nth-child(-n+3) {
        grid-column: span 2;
    }

    .course-card:nth-child(n+4) {
        grid-column: span 3;
    }



    .rank-grid {
        grid-template-columns: repeat(2, 1fr);
    }



    .diff-grid {
        grid-template-columns: repeat(2, 1fr);
    }




    .testimonial-card {
        min-width: 50%;
    }


}








@media (max-width: 900px) {
    .batch-section {
        grid-template-columns: 1fr;
    }

    .timing-grid {
        grid-template-columns: 1fr;
    }




    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }




    .faq-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }





    .footer .footer-top-container {
        grid-template-columns: 1fr 1fr;
    }



}









@media (max-width: 768px) {


    .fixed-on-screen {
        top: auto;
        bottom: 20px;
        right: 20px;
        transform: none;
        gap: 12px;
    }

    .email-container {
        display: none;
    }

    .button-container {
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        transition: all 0.2s ease-in-out;
    }

    .icon {
        font-size: 18px;
        margin-right: 10px;
    }

    .whatsapp-container .icon {
        font-size: 20px;
    }

    .button-container .label {
        display: none;
    }

    .icon {
        margin-right: 0;
    }

    .button-container:hover {
        width: 40px;
        padding-right: 0;
    }

    .whatsapp-container:hover {
        width: 40px;
        background: #3eff85;
        box-shadow: -2px 2px 8px -1px #797979;
        transform: scale(1.1);
    }

    .call-container:hover {
        width: 40px;
        background: #52a6ff;
        box-shadow: -2px 2px 8px -1px #797979;
        transform: scale(1.1);
    }




    .mobile-nav-toggle {
        display: flex;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
        margin-top: 20px;
    }

    .navmenu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 40%;
        height: 100%;
        background-color: #fff;
        box-shadow: -5px 0px 15px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease-in-out;
        z-index: 1000;
        padding: 100px 40px;
        flex-direction: column;
    }

    .navmenu.open {
        right: 0;
    }

    .navmenu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .mobile-nav-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }






    .hero-content-box {
        text-align: center;
    }


    .hero-tagline {
        margin: auto;
        margin-bottom: 20px;
    }

    .hero-pillars {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-btn-group {
        justify-content: center;
    }



    .hero-visual-box {
        display: none;
    }







    .choose-grid {
        grid-template-columns: 1fr 1fr;
    }






    .who-we-are,
    .mv-grid {
        grid-template-columns: 1fr;
    }

    .image-box {
        order: -1;
    }

    .section-heading {
        font-size: 1.8rem;
    }




    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }






    .footer {
        padding-top: 30px;
    }

    .footer .footer-top-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-bottom: 20px;
    }

    .footer-logo {
        margin: auto;
    }

    .footer-col {
        justify-content: center;
    }

    .footer-heading {
        margin-bottom: 10px;
    }

    .footer-contact-item {
        margin-bottom: 0px;
        align-items: center;
        justify-content: center;
    }

    .footer-list li {
        margin-bottom: 2px;
    }

    .social-icons {
        gap: 8px;
        margin-top: 4px;
        margin-bottom: 10px;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        gap: 6px;
    }

    .legal-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }





    .modal-body {
        flex-direction: column;
    }

    .modal-sidebar {
        display: none;
    }

    .modal-form-area {
        padding: 30px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }








    .side-drawer {
        right: -800px;
        width: 100%;
        padding: 40px;
    }







    .content-wrapper {
        padding: 30px 20px;
        margin-top: 20px;
    }
    
    .policy-hero h1 {
        font-size: 2.2rem;
    }
    


}









@media (max-width: 570px) {

    .section-container {
        width: 94%;
    }

    .navmenu {
        width: 70%;
    }



    .hero-content-box h1 {
        font-size: 2.5rem;
    }





    .course-grid {
        grid-template-columns: 1fr;
    }




    .testimonial-card-container {
        width: 90%;
        margin: auto;
    }

    .testimonial-card {
        min-width: 100%;
    }

    .testimonial-prev-btn {
        left: -35px;
    }

    .testimonial-next-btn {
        right: -35px;
    }








    .subject-grid {
        grid-template-columns: repeat(1, 1fr);
    }


}




@media (max-width: 500px) {
    .rank-grid {
        grid-template-columns: 1fr;
    }

    .rank-card {
        flex-direction: row;
    }

    .rank-content {
        flex-grow: 1;
    }

    .student-photo-container {
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .blue-section,
    .gold-section {
        text-align: left;
    }







    .stats-grid {
        grid-template-columns: 1fr;
    }





    .diff-grid {
        grid-template-columns: repeat(1, 1fr);
    }


}







@media (max-width: 450px) {

    .choose-grid {
        grid-template-columns: 1fr;
    }



    .testimonial-card-container {
        width: 80%;
    }

    .testimonial-prev-btn {
        left: -40px;
    }

    .testimonial-next-btn {
        right: -40px;
    }






    .perk-item {
        flex: 1;
        min-width: 100%;
    }

}



@media (max-width: 350px) {


    .testimonial-nav-btn {
        width: 34px;
        height: 34px;
    }


}