@media (max-width:1200px) {

    .activities-achievements-grid,
    .activities-category-grid,
    .activities-clubs-wrapper,
    .awards-achievement-grid,
    .exam-cards,
    .facilities-grid,
    .holidays-grid,
    .hostel-menu-highlights,
    .hostel-room-grid,
    .kg-features-grid,
    .library-features,
    .library-stats,
    .recognition-grid,
    .resources-grid,
    .summary-grid,
    .video-cards-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .activities-gallery-masonry,
    .awards-recognition-grid,
    .descriptors-grid,
    .gallery-masonry-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .dates-grid,
    .portal-features,
    .qualifications-grid,
    .stream-blocks {
        grid-template-columns: 1fr
    }

    .subjects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr))
    }

    .timeline-dot,
    .timeline-line {
        left: 30px
    }

    .timeline-item,
    .timeline-item:nth-child(2n) {
        flex-direction: row
    }

    .timeline-content {
        width: 100%;
        margin-left: 0
    }

    .faculty-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr))
    }

    .navbar-brand img {
        max-width: 120px
    }

    .header .navbar a.nav-link {
        font-size: 14px;
        padding: 8px 12px !important
    }

    .special-programs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px
    }

    .header .navbar-nav .nav-item a.nav-link.read-btn {
        background-color: #fff;
        color: #78a94e !important;
        margin: 5px 0;
    }
}

@media (max-width:992px) {

    .page-header h1 {
        font-size: 2.5rem;
    }

    .contact-form-wrapper {
        margin-bottom: 40px;
    }

    .header .navbar a.nav-link:hover {
        color: inherit;
        background-color: inherit;
    }

    .banner-content h1 {
        font-size: 3rem;
    }

    .about-content {
        flex-direction: column;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .campus-features {
        grid-template-columns: 1fr;
    }

    .category-block {
        padding: 25px
    }

    .activities-cultural-showcase,
    .assessment-cards,
    .assessment-types,
    .awards-category-content,
    .co-scholastic-grid,
    .ebrochure-content-grid,
    .equipment-grid,
    .framework-grid,
    .guidelines-grid,
    .highlights-list,
    .hostel-amenity-blocks,
    .hostel-rules-grid,
    .hostel-type-cards,
    .indicators-grid,
    .infrastructure-grid,
    .intro-stats,
    .kg-curriculum-blocks,
    .lab-details-grid,
    .objectives-grid,
    .outcomes-grid,
    .parent-grid,
    .plan-components,
    .ptm-dates,
    .report-sections,
    .safety-grid,
    .structure-grid,
    .student-info,
    .tips-grid,
    .types-grid,
    .video-playlists-wrapper,
    .why-choose-grid {
        grid-template-columns: 1fr
    }

    .awards-stats-grid,
    .framework-grid,
    .gallery-albums-grid,
    .gallery-highlight-grid,
    .gallery-masonry-grid,
    .news-articles-grid,
    .prebooking-benefits-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .assessment-types-section .types-grid,
    .framework-section .framework-grid,
    .philosophy-grid {
        grid-template-columns: repeat(1, 1fr)
    }

    .activities-event-card,
    .activities-intro-layout,
    .hostel-intro-layout,
    .intro-layout,
    .kg-overview-layout,
    .news-blog-post,
    .overview-content,
    .profile-intro-content {
        flex-direction: column
    }

    .awards-fame-timeline::before {
        left: 50px
    }

    .awards-fame-item,
    .awards-fame-item:nth-child(2n),
    .timeline-item,
    .timeline-item:nth-child(2n) {
        flex-direction: row
    }

    .video-featured-frame {
        height: 400px
    }

    .news-blog-image {
        width: 100%;
        height: 250px
    }

    .activities-event-picture {
        width: 100%;
        height: 300px
    }

    .activities-testimonial-item,
    .department-card,
    .lab-showcase-content {
        flex-direction: column;
        text-align: center
    }

    .leader-stats {
        grid-template-columns: repeat(3, 1fr)
    }

    .timeline-dot,
    .timeline-line {
        left: 30px
    }

    .header {
        top: 0;
        background-color: #fff
    }

    .navbar-collapse {
        background: #fff;
        margin-top: 15px;
        border-top: 1px solid #eee;
        max-height: 70vh;
        overflow-y: auto
    }

    .navbar-nav {
        gap: 0;
        align-items: flex-start
    }

    .header .navbar .nav-item {
        width: 100%;
        margin-left: 0;
        border-bottom: 1px solid #f5f5f5
    }

    .header .navbar a.nav-link {
        padding: 0 !important;
        display: block
    }

    .header .dropdown-menu {
        display: none;
        border: none;
        box-shadow: none;
        background: #f8f9fa;
        margin-top: 0;
        padding: 0;
        position: static !important;
        opacity: 1;
        visibility: visible;
        transform: none;
        border-radius: 0
    }

    .header .dropdown-menu.show {
        display: block !important;
    }

    .header .dropdown-item {
        padding: 5px 15px;
    }

    ul.dropdown-menu li:first-child {
        margin-top: 5px;
    }

    .nav-item a.nav-link.read-btn {
        margin: 15px 20px 0;
        text-align: center;
        display: block;
        width: calc(100% - 40px)
    }

    .nav-item a.nav-link.read-btn:hover {
        transform: none
    }

    .special-programs-section {
        padding: 80px 0
    }

    .special-programs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px
    }

    .special-programs-header h2 {
        font-size: 2.2rem
    }
}

@media (max-width:768px) {

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .contact-form-wrapper {
        padding: 35px 25px;
    }

    .form-title {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }

    .banner-content h1 {
        font-size: 2.5rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .awards-fame-year {
        width: 80px;
        height: 80px;
        font-size: 1.2rem
    }

    .awards-fame-item {
        gap: 15px
    }

    .awards-category-card {
        align-items: center
    }

    .awards-stat-block h3,
    .hero-section h1,
    .stat-box h3 {
        font-size: 2.5rem
    }

    .awards-fame-content h4,
    .gallery-highlight-content h4,
    .news-blog-text h4,
    .news-featured-content h2,
    .video-featured-info h2,
    .video-playlist-details h4 {
        font-size: 1.2rem;
        line-height: 1.6
    }

    .hostel-dining-header h3,
    .hostel-type-heading h3,
    .location-header h3,
    .portal-card h3,
    .prebooking-form-header h3,
    .ptm-card h3,
    .video-tour-showcase h3 {
        font-size: 1.5rem
    }

    .activities-stat-box h3,
    .hostel-stat-item h3,
    .page-header h1,
    .stat-box h3 {
        font-size: 2rem
    }

    .about-section h2,
    .activities-intro-text h2,
    .class-header h3,
    .cta-section h2,
    .ebrochure-preview h3,
    .homework-header h3,
    .hostel-intro-content h2,
    .intro-content h2,
    .intro-text h2,
    .kg-overview-text h2,
    .library-stat h4,
    .overview-text h2,
    .prebooking-intro-container h2,
    .section-title h2,
    .special-programs-header h2,
    .stat-number,
    .stat-value {
        font-size: 1.8rem
    }

    .lab-showcase-info h3 {
        font-size: 1.9rem
    }

    .activities-calendar-wrapper,
    .activities-testimonial-item,
    .co-scholastic-card,
    .date-category,
    .ebrochure-content-card,
    .equipment-list,
    .guideline-card,
    .hostel-dining-showcase,
    .hostel-fee-table-container,
    .hostel-type-block,
    .indicator-card,
    .infra-card,
    .kg-curriculum-block,
    .lab-card,
    .location-card,
    .news-blog-post,
    .objective-card,
    .parent-card,
    .portal-card,
    .ptm-card,
    .result-card,
    .safety-card,
    .sample-card,
    .structure-card,
    .video-tour-showcase {
        padding: 35px 25px
    }

    .prebooking-terms-box,
    .schedule-card {
        padding: 25px;
        overflow-x: auto
    }

    .access-card,
    .ebrochure-display,
    .ebrochure-request-wrapper,
    .exam-card,
    .facility-card,
    .hostel-room-option,
    .prebooking-form-wrapper,
    .program-detail-card,
    .resource-card,
    .type-card {
        padding: 30px 25px
    }

    .grading-table-wrapper {
        padding: 20px;
        overflow-x: auto
    }

    .subject-icon-large {
        width: 120px;
        height: 60px;
        margin: 0;
        font-size: 30px
    }

    .ebrochure-preview {
        height: 500px
    }

    .ebrochure-stats {
        gap: 30px
    }

    .achievements-grid,
    .activities-achievements-grid,
    .activities-category-grid,
    .activities-clubs-wrapper,
    .awards-achievement-grid,
    .co-areas,
    .development-cards,
    .exam-cards,
    .faculty-grid,
    .gallery-albums-grid,
    .gallery-highlight-grid,
    .holidays-grid,
    .hostel-menu-highlights,
    .kg-features-grid,
    .labs-grid,
    .leader-stats,
    .leadership-grid,
    .library-features,
    .library-stats,
    .methodology-grid,
    .news-articles-grid,
    .policies-grid,
    .prebooking-benefits-grid,
    .prebooking-form-row,
    .recognition-grid,
    .resources-grid,
    .results-grid,
    .subject-features,
    .subjects-grid,
    .summary-grid,
    .types-grid,
    .video-cards-grid {
        grid-template-columns: 1fr
    }

    .access-grid,
    .activities-gallery-masonry,
    .activities-sports-grid,
    .activities-stats-wrapper,
    .awards-recognition-grid,
    .descriptors-grid,
    .facilities-grid,
    .features-grid,
    .gallery-grid,
    .hostel-room-grid,
    .hostel-safety-features,
    .hostel-staff-grid,
    .hostel-stats-wrapper,
    .resources-grid,
    .result-stats,
    .stats-grid,
    .subjects-overview-section .overview-grid,
    .transport-grid {
        grid-template-columns: repeat(1, 1fr)
    }

    .awards-category-card,
    .hostel-step-item,
    .kg-admission-step,
    .timeline-item {
        flex-direction: column;
        text-align: center
    }

    .contact-info,
    .event-card,
    .footer-box form,
    .intro-layout,
    .news-subscribe-form,
    .resource-buttons {
        flex-direction: column
    }

    .report-card-preview {
        padding: 50px 25px
    }

    .faq-question h5 {
        font-size: 16px;
        max-width: 320px
    }

    .faq-question {
        padding: 15px 12px
    }

    .leader-image-wrapper,
    .video-featured-frame {
        height: 300px
    }

    .video-featured-player {
        padding: 25px
    }

    .contact-info {
        gap: 15px
    }

    .marks-table,
    .schedule-table {
        font-size: .85rem
    }

    .marks-table tbody td,
    .marks-table thead th,
    .schedule-table tbody td,
    .schedule-table thead th {
        padding: 10px 8px
    }

    .stats-grid {
        gap: 25px
    }

    .method-step {
        flex-direction: column;
        align-items: center
    }

    .calendar-download {
        padding: 40px 30px
    }

    .intro-badge {
        position: static;
        margin-top: 20px
    }

    .affiliation-logos {
        gap: 20px
    }

    .affiliation-box {
        width: 160px;
        height: 160px
    }

    .disclosure-content,
    .form-card {
        padding: 25px 20px
    }

    .info-table tbody td:first-child {
        width: 100%;
        display: block;
        padding-bottom: 8px
    }

    .info-table tbody td:last-child {
        display: block;
        padding-top: 0
    }

    .org-box {
        min-width: 150px;
        padding: 15px 20px
    }

    .quote-text {
        font-size: 1.2rem
    }

    .popup-content {
        width: 90%
    }

    .header {
        background-color: #fff
    }

    .header .navbar-toggler {
        padding: 0;
        border: none
    }

    .navbar-toggler-icon {
        width: 2em
    }

    .header.fixed .navbar-collapse {
        top: 88px
    }

    .navbar-collapse {
        flex-grow: 1;
        flex-basis: 100%;
        align-items: center;
        width: 80%;
        top: 94px;
        position: absolute;
        background: #fff;
        overflow: auto;
        right: 0;
        padding: 0
    }

    .dropdown-item,
    .header .navbar-nav .nav-link.active,
    .navbar-nav .nav-link.show {
        color: #fff
    }

    .nav-item a.nav-link.read-btn {
        padding: 5px 0 !important;
        color: #fff !important
    }

    .navbar-toggler:focus {
        box-shadow: none
    }

    /* .header.fixed .navbar-nav {
        height: calc(100vh - 150px);
    } */

    .navbar-nav {
        /* height: calc(100vh - 150px); */
        padding: 0;
        float: left;
        align-items: flex-start;
        width: 100%
    }

    .contact,
    .course-box,
    .course-box::after {
        height: auto
    }

    .navbar-nav .dropdown-menu {
        background: #78a94e;
        border: none;
    }

    .header .navbar a.nav-link {
        font-weight: 500;
        font-size: 15px;
        color: #fff
    }

    .header .navbar .nav-item {
        margin-left: 0;
        background-color: #78a94e;
        width: 100%;
        padding: 8px 20px;
        border-bottom: 1px solid #fff
    }

    .banner-content {
        top: 50%;
        left: 15%;
        transform: translate(-10%, -50%);
        padding: 0;
    }

    .banner-content h1 {
        font-size: 36px
    }

    .pd-80 {
        padding-top: 60px;
        padding-bottom: 60px
    }

    .choose-img {
        margin: 20px 0
    }

    .courses .read-btn,
    .members .read-btn,
    .online-tutoring .read-btn {
        float: none !important
    }

    .member-content {
        bottom: 0
    }

    .main-title h2 {
        font-size: 32px
    }

    .courses::after,
    .tutoring-course::after {
        display: none
    }

    .logo-slider .item {
        padding: 60px 30px
    }

    .tutoring-course {
        height: auto;
        overflow: visible;
        display: inline-block
    }

    .course-box {
        width: 100%;
        background: #79aa4f;
        margin: 10px 0;
        padding: 25px 30px 10px
    }

    .contact {
        background-position: center center
    }

    .big-text {
        font-size: 40px !important
    }

    .top-footer .col-md-2 {
        width: 50%
    }

    .courses .col-md-4,
    .members .container {
        padding-left: 0;
        padding-right: 0
    }

    .member-img {
        margin: 0
    }

    .members .main-title {
        padding: 0 15px
    }

    .logo-slider .col {
        flex: auto;
        width: 50%
    }

    .hero-section p {
        font-size: 1.1rem
    }

    .stats-container {
        padding: 30px 20px
    }

    .modern-card {
        margin-bottom: 20px
    }

    .special-programs-section {
        padding: 60px 0
    }

    .special-programs-header {
        margin-bottom: 40px
    }

    .special-programs-header p {
        font-size: 1rem
    }

    .program-card-inner {
        height: 180px
    }

    .top-footer {
        padding: 40px 0 20px
    }

    .footer-box h4 {
        font-size: 18px
    }

    .read-btn {
        width: 100%
    }

    .footer .read-btn {
        width: auto
    }

    .section-header h2 {
        font-size: 1.4rem
    }

    .subsection {
        padding: 20px 15px
    }
}

@media (max-width:576px) {

    .activities-gallery-masonry,
    .awards-recognition-grid,
    .awards-stats-grid,
    .gallery-grid,
    .gallery-masonry-grid,
    .special-programs-grid {
        grid-template-columns: 1fr
    }

    .section-number {
        display: none
    }

    .hostel-type-heading {
        flex-direction: column;
        text-align: center
    }

    .hostel-fee-table {
        font-size: .9rem
    }

    .hostel-fee-table tbody td,
    .hostel-fee-table thead th {
        padding: 12px
    }

    .navbar-brand img {
        max-width: 100px
    }

    .header .navbar {
        padding: 12px 0
    }

    .special-programs-grid {
        gap: 20px
    }

    .program-card-inner {
        height: 200px
    }

    .academicImage {
        background-image: url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?w=800&h=1200&fit=crop');
    }

    .our-profile,
    .photos {
        background-image: url('https://images.unsplash.com/photo-1509062522246-3755977927d7?w=800&h=1200&fit=crop')
    }

    .management-team {
        background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=800&h=1200&fit=crop')
    }

    .mandatory-disclosure {
        background-image: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=800&h=1200&fit=crop')
    }

    .awards,
    .curriculum {
        background-image: url('https://images.unsplash.com/photo-1456513080510-7bf3a84b82f8?w=800&h=1200&fit=crop')
    }

    .subjects,
    .videos {
        background-image: url('https://images.unsplash.com/photo-1497633762265-9d179a990aa6?w=800&h=1200&fit=crop')
    }

    .faculty {
        background-image: url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?w=800&h=1200&fit=crop')
    }

    .calendar {
        background-image: url('https://images.unsplash.com/photo-1484480974693-6ca0a78fb36b?w=800&h=1200&fit=crop')
    }

    .assessment {
        background-image: url('https://images.unsplash.com/photo-1434030216411-0b793f4b4173?w=800&h=1200&fit=crop')
    }

    .achievements {
        background-image: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=800&h=1200&fit=crop')
    }

    .lesson-plans,
    .news {
        background-image: url('https://images.unsplash.com/photo-1488190211105-8b0e65b80b4e?w=800&h=1200&fit=crop')
    }

    .homework {
        background-image: url('https://images.unsplash.com/photo-1455390582262-044cdead277a?w=800&h=1200&fit=crop')
    }

    .resources {
        background-image: url('https://images.unsplash.com/photo-1532094349884-543bc11b234d?w=800&h=1200&fit=crop')
    }

    .ebrochure,
    .progress-reports {
        background-image: url('https://images.unsplash.com/photo-1427504494785-3a9ca7044f45?w=800&h=1200&fit=crop')
    }

    .panakkad {
        background-image: url('https://images.unsplash.com/photo-1562774053-701939374585?w=800&h=1200&fit=crop')
    }

    .kottakkal {
        background-image: url('https://images.unsplash.com/photo-1580582932707-520aed937b7b?w=800&h=1200&fit=crop')
    }

    .kindergarten {
        background-image: url('https://images.unsplash.com/photo-1503454537195-1dcabb73ffb9?w=800&h=1200&fit=crop')
    }

    .pre-booking {
        background-image: url('https://images.unsplash.com/photo-1587654780291-39c9404d746b?w=800&h=1200&fit=crop')
    }

    .about {
        background-image: url('https://images.unsplash.com/photo-1519452635265-7b1fbfd1e4e0?w=800&h=1200&fit=crop')
    }

    .hostels {
        background-image: url('https://images.unsplash.com/photo-1555854877-bab0e564b8d5?w=800&h=1200&fit=crop')
    }

    .activity {
        background-image: url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?w=800&h=1200&fit=crop')
    }

    .academicImage,
    .our-profile,
    .photos,
    .management-team,
    .mandatory-disclosure,
    .awards,
    .curriculum,
    .subjects,
    .videos,
    .faculty,
    .calendar,
    .assessment,
    .achievements,
    .lesson-plans,
    .news,
    .homework,
    .resources,
    .ebrochure,
    .progress-reports,
    .panakkad,
    .kottakkal,
    .kindergarten,
    .pre-booking,
    .about,
    .hostels,
    .activity {
        background-position: unset;
    }
}

@media (min-width:768px) and (max-width:1023px) {
    .popup-content {
        width: 90%
    }

    .header {
        background-color: #fff
    }

    .header .navbar-toggler {
        padding: 0;
        border: none
    }

    .navbar-toggler-icon {
        width: 2em
    }

    .header.fixed .navbar-collapse {
        top: 90px
    }

    .navbar-collapse {
        flex-grow: 1;
        flex-basis: 100%;
        align-items: center;
        width: 80%;
        top: 95px;
        position: absolute;
        background: #fff;
        overflow: auto;
        right: 0
    }

    .dropdown-item,
    .header .navbar-nav .nav-link.active,
    .navbar-nav .nav-link.show {
        color: #fff
    }

    .nav-item a.nav-link.read-btn {
        padding: 5px 0 !important;
        color: #fff !important
    }

    .navbar-nav .dropdown-menu {
        display: block;
        background: #78a94e;
        border: none
    }

    .navbar-toggler:focus {
        box-shadow: none
    }

    .header.fixed .navbar-nav {
        height: calc(100vh - 90px)
    }

    .navbar-nav {
        height: calc(100vh - 95px);
        float: left;
        align-items: flex-start;
        width: 100%
    }

    .header .navbar a.nav-link {
        font-weight: 500;
        font-size: 18px;
        color: #fff
    }

    .header .navbar .nav-item {
        margin-left: 0;
        background-color: #78a94e;
        width: 100%;
        padding: 12px 20px;
        border-bottom: 1px solid #fff
    }

    .banner-content {
        top: 50%;
        left: 15%;
        transform: translate(-10%, -50%)
    }

    .banner-content h1 {
        font-size: 36px
    }

    .pd-80 {
        padding-top: 60px;
        padding-bottom: 60px
    }

    .choose-img {
        margin: 20px 0
    }

    .main-title h2 {
        font-size: 32px
    }

    .courses::after {
        display: none
    }

    .logo-slider .item {
        padding: 60px 30px
    }

    .member-content h3 {
        font-size: 24px
    }

    .member-content h4 {
        font-size: 16px
    }

    .member-content p {
        margin: 0
    }

    .tutoring-course {
        overflow: hidden
    }

    .courses .member-content {
        bottom: -30%;
        height: 260px
    }

    .contact,
    .course-box::after {
        height: auto
    }

    .contact {
        background-position: center center
    }

    .big-text {
        font-size: 40px !important
    }

    .logo-slider .col {
        flex: auto;
        width: 25%
    }
}

@media (min-width:1024px) and (max-width:1279px) {
    .course-box {
        padding: 0 15px
    }

    .contact {
        height: 60vh
    }

    .nav-item a.nav-link.read-btn {
        display: none
    }
}

@media (min-width:992px) {
    .header .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: .3s
    }

    .nav-item.dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0)
    }
}