/* =====================================================
RESPONSIVE CSS HEADER + HERO
===================================================== */

/* ==========================================
EXTRA LARGE DESKTOPS
1600px+
========================================== */

@media (min-width:1600px) {
    .hero-grid {
        gap: 90px;
    }
    .hero-logo {
        max-width: 700px;
    }
    .admission-heading {
        font-size: 3rem;
    }
}

/* ==========================================
LARGE LAPTOPS
1200px - 1399px
========================================== */

@media (max-width:1399px) {
    .nav-menu {
        gap: 24px;
    }
    .hero-grid {
        gap: 50px;
    }
    .hero-logo {
        max-width: 560px;
    }
}

/* ==========================================
STANDARD LAPTOPS
1024px - 1199px
========================================== */

@media (max-width:1199px) {
    .container {
        width: min(94%, 1200px);
    }
    .logo img {
        height: 72px;
    }
    .nav-menu {
        gap: 18px;
    }
    .nav-menu a {
        font-size: .9rem;
    }
    .admission-btn {
        padding: 12px 18px;
        font-size: .9rem;
    }
    .hero-grid {
        gap: 40px;
    }
    .hero-logo {
        max-width: 500px;
    }
    .admission-heading {
        font-size: 2.1rem;
    }
}

/* ==========================================
TABLETS
768px - 1023px
========================================== */

@media (max-width:1023px) {
    .header {
        position: relative;
    }
    .nav-wrapper {
        min-height: 90px;
    }
    .logo img {
        height: 68px;
    }
    /* HERO */
    .hero-section {
        padding: 50px 0 100px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 45px;
        text-align: center;
    }
    .hero-content {
        align-items: center;
        order: 1;
    }
    .hero-image-wrapper {
        order: 2;
    }
    .hero-logo {
        max-width: 520px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-image-card {
        max-width: 700px;
        margin: auto;
    }
    .shape-2 {
        display: none;
    }
}

/* ==========================================
MOBILE NAVIGATION
========================================== */

@media (max-width:991px) {
    .menu-toggle {
        display: block;
    }
    .admission-btn {
        display: none;
    }
    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-top:
            1px solid rgba(0, 0, 0, .05);
        box-shadow:
            0 15px 30px rgba(0, 0, 0, .08);
        opacity: 0;
        visibility: hidden;
        transform:
            translateY(-15px);
        transition: .35s ease;
    }
    .navbar.active {
        opacity: 1;
        visibility: visible;
        transform:
            translateY(0);
    }
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 20px;
    }
    .nav-menu li {
        width: 100%;
    }
    .nav-menu a {
        display: block;
        width: 100%;
        padding: 14px 0;
        border-bottom:
            1px solid #f2f2f2;
    }
    .nav-menu a::after {
        display: none;
    }
}

/* ==========================================
LARGE MOBILE
576px - 767px
========================================== */

@media (max-width:767px) {
    .container {
        width: 92%;
    }
    .hero-section {
        padding: 40px 0 90px;
    }
    .hero-logo {
        max-width: 460px;
    }
    .school-badge {
        font-size: .9rem;
        padding: 10px 18px;
    }
    .admission-heading {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    .hero-buttons {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        max-width: 360px;
        justify-content: center;
    }
    .hero-image-card {
        border-radius: 24px;
    }
    .hero-wave svg {
        height: 90px;
    }
}

/* ==========================================
SMALL MOBILE
480px - 575px
========================================== */

@media (max-width:575px) {
    .nav-wrapper {
        min-height: 80px;
    }
    .logo img {
        height: 58px;
    }
    .menu-toggle {
        font-size: 1.35rem;
    }
    .hero-section {
        padding-top: 30px;
    }
    .hero-logo {
        max-width: 100%;
    }
    .school-badge {
        font-size: .82rem;
        text-align: center;
    }
    .admission-heading {
        font-size: 1.5rem;
    }
    .btn {
        padding: 14px 20px;
        font-size: .9rem;
    }
    .shape-1 {
        width: 160px;
        height: 160px;
    }
    .shape-3 {
        width: 90px;
        height: 90px;
    }
}

/* ==========================================
VERY SMALL DEVICES
360px - 479px
========================================== */

@media (max-width:479px) {
    .container {
        width: 94%;
    }
    .hero-grid {
        gap: 30px;
    }
    .logo img {
        height: 52px;
    }
    .school-badge {
        font-size: .75rem;
        padding: 9px 15px;
    }
    .admission-heading {
        font-size: 1.25rem;
    }
    .btn {
        font-size: .85rem;
        padding: 13px 18px;
    }
    .hero-wave svg {
        height: 70px;
    }
}

/* ==========================================
EXTRA SMALL DEVICES
BELOW 360px
========================================== */

@media (max-width:359px) {
    .logo img {
        height: 46px;
    }
    .admission-heading {
        font-size: 1.1rem;
    }
    .btn {
        font-size: .8rem;
        padding: 12px 14px;
    }
    .school-badge {
        font-size: .72rem;
    }
}

/* =====================================================
ABOUT SECTION RESPONSIVE
===================================================== */

@media (max-width:1199px) {
    .about-grid {
        grid-template-columns:
            1fr 1fr;
        gap: 40px;
    }
    .about-info {
        grid-column:
            span 2;
    }
}

@media (max-width:767px) {
    .about-section {
        padding: 70px 0;
    }
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-info {
        grid-column: auto;
    }
    .about-title {
        font-size: 2.2rem;
    }
    .about-circle {
        max-width: 300px;
    }
    .info-card {
        text-align: left;
    }
}

@media (max-width:480px) {
    .about-title {
        font-size: 1.8rem;
    }
    .about-content p {
        font-size: .95rem;
    }
}

/* =====================================================
WHY CHOOSE RESPONSIVE
===================================================== */

@media (max-width:1199px) {
    .why-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
}

@media (max-width:767px) {
    .section-heading {
        flex-direction: column;
    }
    .heading-line {
        width: 60px;
    }
    .section-heading h2 {
        font-size: 1.9rem;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .why-card {
        padding: 35px 22px;
    }
}

@media (max-width:480px) {
    .why-icon {
        width: 75px;
        height: 75px;
        font-size: 2rem;
    }
    .why-card h3 {
        font-size: 1.2rem;
    }
}

/* =====================================================
PROGRAMS RESPONSIVE
===================================================== */

@media (max-width:1199px) {
    .programs-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
}

@media (max-width:767px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }
    .program-card p {
        min-height: auto;
    }
}

@media (max-width:480px) {
    .program-icon {
        width: 75px;
        height: 75px;
        font-size: 2rem;
    }
    .program-card {
        padding: 30px 20px;
    }
}

/* =====================================================
FACILITIES RESPONSIVE
===================================================== */

@media (max-width:991px) {
    .facilities-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width:767px) {
    .facility-card {
        min-height: 300px;
    }
    .facility-overlay {
        padding: 25px;
    }
    .facility-overlay h3 {
        font-size: 1.4rem;
    }
}

@media (max-width:480px) {
    .facility-card {
        min-height: 250px;
    }
    .facility-overlay h3 {
        font-size: 1.2rem;
    }
    .facility-overlay p {
        font-size: .9rem;
    }
}

/* =====================================================
ABACUS RESPONSIVE
===================================================== */

@media (max-width:1199px) {
    .abacus-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .abacus-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .abacus-features {
        justify-content: center;
    }
}

@media (max-width:767px) {
    .abacus-section {
        padding: 70px 0;
    }
    .abacus-content h2 {
        font-size: 2.2rem;
    }
    .abacus-content h3 {
        font-size: 1.2rem;
    }
    .abacus-logo-card {
        padding: 25px;
    }
}

@media (max-width:480px) {
    .abacus-content h2 {
        font-size: 1.8rem;
    }
    .abacus-features {
        flex-direction: column;
    }
    .abacus-features span {
        text-align: center;
    }
}

/* =====================================================
GALLERY RESPONSIVE
===================================================== */

@media (max-width:991px) {
    .gallery-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
    .gallery-item.large {
        grid-row: auto;
    }
    .gallery-item.wide {
        grid-column: auto;
    }
}

@media (max-width:767px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 280px;
    }
}

@media (max-width:480px) {
    .gallery-preview {
        padding: 70px 0;
    }
    .gallery-item {
        border-radius: 18px;
    }
}

/* =====================================================
TESTIMONIALS RESPONSIVE
===================================================== */

@media (max-width:991px) {
    .prev-btn {
        left: 0;
    }
    .next-btn {
        right: 0;
    }
}

@media (max-width:767px) {
    .testimonial-card {
        padding: 35px 25px;
    }
    .testimonial-track {
        min-height: auto;
    }
    .testimonial-arrow {
        display: none;
    }
}

@media (max-width:480px) {
    .testimonial-card p {
        line-height: 1.8;
    }
}

/* =====================================================
CTA + FOOTER RESPONSIVE
===================================================== */

@media (max-width:1199px) {
    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
}

@media (max-width:767px) {
    .cta-box {
        padding: 50px 25px;
    }
    .cta-box h2 {
        font-size: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width:480px) {
    .cta-box h2 {
        font-size: 1.6rem;
    }
}

/* =====================================================
ABOUT PAGE RESPONSIVE
===================================================== */

/* ==========================================
LARGE TABLETS
========================================== */

@media (max-width: 1199px) {
    .about-hero-grid,
    .story-grid,
    .difference-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .about-hero-content {
        text-align: center;
    }
    .about-hero-content p {
        margin: auto;
    }
    .story-content {
        order: 2;
    }
    .story-image {
        order: 1;
    }
    .difference-content {
        order: 2;
    }
    .difference-image {
        order: 1;
    }
    .mission-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
    .about-cta-box {
        flex-direction: column;
        text-align: center;
    }
    .cta-right {
        justify-content: center;
    }
}

/* ==========================================
TABLETS
========================================== */

@media (max-width: 991px) {
    .about-hero {
        padding: 120px 0 80px;
    }
    .about-hero-content h1 {
        font-size: 4rem;
    }
    .about-hero-content h2 {
        font-size: 1.8rem;
    }
    .story-content h2,
    .difference-content h2,
    .philosophy-content h2 {
        font-size: 2.2rem;
    }
    .mission-grid {
        grid-template-columns: 1fr;
    }
    .mission-card {
        padding: 35px;
    }
    .philosophy-box {
        padding: 50px 35px;
    }
}

/* ==========================================
MOBILE DEVICES
========================================== */

@media (max-width: 767px) {
    .about-hero {
        padding: 110px 0 70px;
    }
    .about-hero-grid {
        gap: 35px;
    }
    .about-hero-content h1 {
        font-size: 3rem;
    }
    .about-hero-content h2 {
        font-size: 1.4rem;
    }
    .about-hero-content p {
        font-size: 1rem;
        line-height: 1.8;
    }
    .about-hero-image img {
        border-radius: 25px;
    }
    .story-content h2,
    .difference-content h2,
    .philosophy-content h2 {
        font-size: 2rem;
    }
    .story-content p {
        line-height: 1.9;
    }
    .difference-item {
        padding: 20px;
    }
    .difference-item:hover {
        transform: none;
    }
    .philosophy-box {
        padding: 40px 25px;
    }
    .philosophy-content p {
        font-size: 1rem;
    }
    .about-cta-box {
        padding: 40px 25px;
    }
    .cta-left h2 {
        font-size: 1.7rem;
    }
    .cta-right {
        width: 100%;
        flex-direction: column;
    }
    .cta-visit-btn,
    .cta-whatsapp-btn {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================
SMALL MOBILE
========================================== */

@media (max-width: 480px) {
    .about-hero {
        padding: 100px 0 60px;
    }
    .hero-tag {
        font-size: .85rem;
        padding: 8px 18px;
    }
    .about-hero-content h1 {
        font-size: 2.5rem;
    }
    .about-hero-content h2 {
        font-size: 1.2rem;
    }
    .story-content h2,
    .difference-content h2,
    .philosophy-content h2 {
        font-size: 1.8rem;
    }
    .story-grid,
    .difference-grid {
        gap: 35px;
    }
    .mission-card {
        padding: 28px 22px;
    }
    .mission-card i {
        font-size: 2.5rem;
    }
    .philosophy-box {
        padding: 35px 20px;
    }
    .about-cta-box {
        padding: 35px 20px;
    }
    .cta-left h2 {
        font-size: 1.5rem;
    }
    .footer-logo {
        max-width: 140px;
    }
}

/* =====================================================
PROGRAMS PAGE RESPONSIVE
===================================================== */

/* ==========================================
LARGE LAPTOPS
========================================== */

@media (max-width:1200px) {
    .programs-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
    .enrichment-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }
    .methodology-grid {
        grid-template-columns:
            1fr;
    }
    .methodology-image {
        max-width: 450px;
        margin: auto;
    }
}

/* ==========================================
TABLETS
========================================== */

@media (max-width:992px) {
    .programs-hero {
        padding: 70px 0;
    }
    .programs-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .programs-hero-content {
        text-align: center;
    }
    .programs-hero-content p {
        margin: auto;
    }
    .programs-hero-content h1 {
        font-size: 4rem;
    }
    .programs-hero-content h2 {
        font-size: 1.7rem;
    }
    .path-wrapper {
        grid-template-columns:
            repeat(2, 1fr);
        gap: 25px;
    }
    .path-arrow {
        display: none;
    }
}

/* ==========================================
MOBILE DEVICES
========================================== */

@media (max-width:768px) {
    .programs-section,
    .methodology-section,
    .learning-path,
    .enrichment-section {
        padding: 80px 0;
    }
    .programs-grid {
        grid-template-columns: 1fr;
    }
    .program-card {
        max-width: 450px;
        margin: auto;
    }
    .section-heading h2 {
        font-size: 2rem;
    }
    .programs-hero-content h1 {
        font-size: 3.3rem;
    }
    .programs-hero-content h2 {
        font-size: 1.4rem;
    }
    .method-item {
        flex-direction: column;
        text-align: center;
    }
    .method-item i {
        margin: auto;
    }
    .enrichment-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
    .path-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
SMALL MOBILE
========================================== */

@media (max-width:576px) {
    .programs-hero {
        padding: 60px 0;
    }
    .programs-hero-content h1 {
        font-size: 2.7rem;
    }
    .programs-hero-content h2 {
        font-size: 1.2rem;
        line-height: 1.5;
    }
    .programs-hero-content p {
        font-size: .95rem;
        line-height: 1.8;
    }
    .section-heading {
        flex-direction: column;
        gap: 10px;
    }
    .heading-line {
        width: 50px;
    }
    .section-heading h2 {
        font-size: 1.8rem;
    }
    .program-card {
        padding: 20px;
    }
    .program-card img {
        height: 220px;
    }
    .program-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    .methodology-image img {
        border-width: 6px;
    }
    .method-item {
        padding: 15px;
    }
    .path-step {
        padding: 20px;
    }
    .path-icon {
        font-size: 2.5rem;
    }
    .enrichment-grid {
        grid-template-columns: 1fr;
    }
    .enrichment-card {
        max-width: 320px;
        margin: auto;
    }
}

/* ==========================================
EXTRA SMALL DEVICES
========================================== */

@media (max-width:380px) {
    .programs-hero-content h1 {
        font-size: 2.3rem;
    }
    .programs-hero-content h2 {
        font-size: 1.05rem;
    }
    .section-heading h2 {
        font-size: 1.6rem;
    }
    .program-card img {
        height: 180px;
    }
    .age-badge {
        font-size: .8rem;
    }
}

/* =====================================================
FACILITIES PAGE RESPONSIVE
===================================================== */

/* ==========================================
LARGE TABLETS & SMALL LAPTOPS
========================================== */

@media (max-width:1200px) {
    .facilities-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }
}

/* ==========================================
TABLETS
========================================== */

@media (max-width:992px) {
    .facilities-hero {
        padding: 70px 0;
    }
    .facilities-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .facilities-hero-content {
        text-align: center;
    }
    .facilities-hero-content p {
        margin: auto;
    }
    .facilities-hero-content h1 {
        font-size: 4rem;
    }
    .facilities-hero-content h2 {
        font-size: 1.7rem;
    }
    .cta-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .cta-content h2 {
        max-width: 100%;
    }
    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);
        gap: 40px;
    }
}

/* ==========================================
MOBILE DEVICES
========================================== */

@media (max-width:768px) {
    .facilities-section,
    .more-features {
        padding: 80px 0;
    }
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    .facility-card {
        max-width: 500px;
        margin: auto;
    }
    .features-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    .cta-buttons a {
        justify-content: center;
    }
    .section-heading h2 {
        font-size: 2rem;
    }
    .facilities-hero-content h1 {
        font-size: 3.2rem;
    }
    .facilities-hero-content h2 {
        font-size: 1.4rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
SMALL MOBILE DEVICES
========================================== */

@media (max-width:576px) {
    .facilities-hero {
        padding: 60px 0;
    }
    .facilities-hero-content h1 {
        font-size: 2.7rem;
    }
    .facilities-hero-content h2 {
        font-size: 1.2rem;
        line-height: 1.5;
    }
    .facilities-hero-content p {
        font-size: .95rem;
        line-height: 1.8;
    }
    .facility-card {
        padding: 20px;
    }
    .facility-card h3 {
        font-size: 1.3rem;
    }
    .facility-card img {
        height: 220px;
    }
    .facility-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .feature-box {
        max-width: 350px;
        margin: auto;
    }
    .cta-wrapper {
        padding: 30px 20px;
    }
    .cta-content h2 {
        font-size: 1.5rem;
    }
    .footer-grid {
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
}

/* ==========================================
EXTRA SMALL DEVICES
========================================== */

@media (max-width:380px) {
    .facilities-hero-content h1 {
        font-size: 2.2rem;
    }
    .facilities-hero-content h2 {
        font-size: 1rem;
    }
    .section-heading h2 {
        font-size: 1.6rem;
    }
    .facility-card img {
        height: 180px;
    }
    .cta-content h2 {
        font-size: 1.25rem;
    }
    .cta-buttons a {
        padding: 14px 18px;
        font-size: .9rem;
    }
}

/* =====================================================
GALLERY PAGE RESPONSIVE
===================================================== */

/* ==========================================
LARGE TABLETS
========================================== */

@media (max-width:1200px) {
    .gallery-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }
}

/* ==========================================
TABLETS
========================================== */

@media (max-width:992px) {
    .gallery-hero {
        padding: 80px 0;
    }
    .gallery-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .gallery-hero-content {
        text-align: center;
    }
    .gallery-hero-content p {
        margin: auto;
    }
    .gallery-hero-content h1 {
        font-size: 4rem;
    }
    .gallery-hero-content h2 {
        font-size: 1.7rem;
    }
    .gallery-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
    .cta-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .cta-content h2 {
        max-width: 100%;
    }
}

/* ==========================================
MOBILE
========================================== */

@media (max-width:768px) {
    .gallery-hero {
        padding: 60px 0;
    }
    .gallery-hero-content h1 {
        font-size: 3.2rem;
    }
    .gallery-hero-content h2 {
        font-size: 1.4rem;
    }
    .gallery-section {
        padding: 60px 0;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .gallery-item {
        max-width: 550px;
        margin: auto;
    }
    .gallery-item img {
        height: 240px;
    }
    .filter-buttons {
        gap: 12px;
    }
    .filter-btn {
        width: 100%;
        justify-content: center;
    }
    .cta-buttons {
        width: 100%;
        flex-direction: column;
    }
    .cta-buttons a {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================
SMALL MOBILE
========================================== */

@media (max-width:576px) {
    .gallery-hero-content h1 {
        font-size: 2.7rem;
    }
    .gallery-hero-content h2 {
        font-size: 1.2rem;
        line-height: 1.5;
    }
    .gallery-hero-content p {
        font-size: .95rem;
        line-height: 1.8;
    }
    .gallery-item img {
        height: 220px;
    }
    .section-heading h2 {
        font-size: 1.8rem;
    }
    .cta-wrapper {
        padding: 30px 20px;
    }
    .cta-content h2 {
        font-size: 1.5rem;
    }
    .filter-btn {
        font-size: .9rem;
        padding: 14px 18px;
    }
}

/* ==========================================
EXTRA SMALL DEVICES
========================================== */

@media (max-width:380px) {
    .gallery-hero-content h1 {
        font-size: 2.2rem;
    }
    .gallery-hero-content h2 {
        font-size: 1rem;
    }
    .gallery-item img {
        height: 190px;
    }
    .section-heading h2 {
        font-size: 1.5rem;
    }
    .cta-content h2 {
        font-size: 1.2rem;
    }
    .filter-btn {
        padding: 12px 16px;
        font-size: .85rem;
    }
}

/* =====================================================
ABACUS PAGE RESPONSIVE
===================================================== */

/* ==========================
LARGE TABLETS
========================== */

@media (max-width: 1200px) {
    .abacus-hero-content h1 {
        font-size: 4rem;
    }
    .abacus-hero-content h2 {
        font-size: 2.5rem;
    }
    .levels-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================
TABLETS
========================== */

@media (max-width: 992px) {
    .abacus-hero-grid,
    .abacus-about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .abacus-hero-content {
        text-align: center;
    }
    .abacus-hero-content p {
        margin: 0 auto 30px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .abacus-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .levels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .abacus-cta-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .cta-buttons {
        justify-content: center;
    }
}

/* ==========================
MOBILE TABLETS
========================== */

@media (max-width: 768px) {
    .abacus-hero {
        padding: 70px 0;
    }
    .abacus-about,
    .why-abacus,
    .abacus-levels,
    .program-details,
    .abacus-cta {
        padding: 70px 0;
    }
    .abacus-hero-content h1 {
        font-size: 3.2rem;
    }
    .abacus-hero-content h2 {
        font-size: 2rem;
    }
    .abacus-badge {
        font-size: .95rem;
        padding: 10px 20px;
    }
    .section-heading h2 {
        font-size: 1.9rem;
        text-align: center;
    }
    .heading-line {
        width: 50px;
    }
    .abacus-benefits-grid {
        grid-template-columns: 1fr;
    }
    .levels-grid {
        grid-template-columns: 1fr;
    }
    .details-grid {
        grid-template-columns: 1fr;
    }
    .benefit-card,
    .detail-card,
    .level-card {
        padding: 30px 20px;
    }
    .abacus-about-content h2 {
        font-size: 2rem;
        text-align: center;
    }
    .abacus-about-content {
        text-align: center;
    }
    .abacus-check-list {
        text-align: left;
        margin-top: 20px;
    }
    .cta-text h2 {
        font-size: 1.6rem;
    }
}

/* ==========================
MOBILE PHONES
========================== */

@media (max-width: 576px) {
    .abacus-hero {
        padding: 60px 0;
    }
    .abacus-hero-content h1 {
        font-size: 2.7rem;
    }
    .abacus-hero-content h2 {
        font-size: 1.7rem;
    }
    .hero-tag {
        font-size: .85rem;
        padding: 8px 18px;
    }
    .abacus-badge {
        font-size: .85rem;
    }
    .abacus-hero-content p {
        font-size: .95rem;
        line-height: 1.8;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        text-align: center;
    }
    .section-heading {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 40px;
    }
    .section-heading h2 {
        font-size: 1.7rem;
    }
    .benefit-icon {
        width: 75px;
        height: 75px;
        font-size: 1.6rem;
    }
    .benefit-card h3,
    .level-card h3 {
        font-size: 1.3rem;
    }
    .abacus-about-content h2 {
        font-size: 1.7rem;
    }
    .cta-text h2 {
        font-size: 1.35rem;
    }
    .cta-btn-orange,
    .cta-btn-green {
        width: 100%;
        text-align: center;
    }
    .cta-buttons {
        width: 100%;
        flex-direction: column;
    }
    .abacus-cta-wrapper {
        padding: 30px 20px;
    }
}

/* ==========================
SMALL DEVICES
========================== */

@media (max-width: 360px) {
    .abacus-hero-content h1 {
        font-size: 2.3rem;
    }
    .abacus-hero-content h2 {
        font-size: 1.4rem;
    }
    .section-heading h2 {
        font-size: 1.5rem;
    }
    .benefit-card,
    .detail-card,
    .level-card {
        padding: 25px 15px;
    }
    .cta-text h2 {
        font-size: 1.15rem;
        line-height: 1.6;
    }
    #backToTop {
        width: 48px;
        height: 48px;
        font-size: 1rem;
        right: 15px;
        bottom: 15px;
    }
}

/* ==========================================
CONTACT PAGE RESPONSIVE
========================================== */

/* ==========================================
1200px
========================================== */

@media (max-width:1200px) {
    .reach-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .quick-connect-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-main-grid {
        grid-template-columns: 1fr;
    }
    .cta-box {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================
992px
========================================== */

@media (max-width:992px) {
    .contact-hero {
        padding: 120px 0 70px;
    }
    .contact-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .contact-hero-content p {
        margin: auto;
    }
    .contact-hero-content h1 {
        font-size: 3.5rem;
    }
    .contact-hero-content h2 {
        font-size: 1.8rem;
    }
    .hero-image-frame {
        max-width: 700px;
        margin: auto;
    }
    .reach-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* ==========================================
768px
========================================== */

@media (max-width:768px) {
    .contact-hero {
        padding: 110px 0 60px;
    }
    .contact-hero-content h1 {
        font-size: 3rem;
    }
    .contact-hero-content h2 {
        font-size: 1.6rem;
    }
    .contact-hero-content p {
        font-size: 1rem;
        line-height: 1.8;
    }
    .section-heading h2 {
        font-size: 2rem;
    }
    .reach-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .reach-card {
        padding: 30px 20px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-box {
        padding: 30px;
    }
    .contact-benefits {
        padding: 30px;
    }
    .quick-connect-grid {
        grid-template-columns: 1fr 1fr;
    }
    .map-box iframe {
        height: 400px;
    }
    .cta-content h2 {
        font-size: 1.8rem;
    }
}

/* ==========================================
576px
========================================== */

@media (max-width:576px) {
    .contact-hero {
        padding: 100px 0 50px;
    }
    .contact-hero-container {
        gap: 30px;
    }
    .section-tag {
        font-size: .85rem;
        padding: 10px 18px;
    }
    .contact-hero-content h1 {
        font-size: 2.6rem;
    }
    .contact-hero-content h2 {
        font-size: 1.4rem;
    }
    .contact-hero-content p {
        font-size: .95rem;
    }
    .reach-grid {
        grid-template-columns: 1fr;
    }
    .quick-connect-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-box {
        padding: 25px;
    }
    .contact-benefits {
        padding: 25px;
    }
    .benefit-list li {
        font-size: .95rem;
    }
    .map-box iframe {
        height: 350px;
    }
    .cta-box {
        padding: 30px 25px;
    }
    .cta-content h2 {
        font-size: 1.6rem;
    }
    .cta-buttons {
        width: 100%;
        flex-direction: column;
    }
    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-logo {
        margin: auto auto 20px;
    }
}

/* ==========================================
425px
========================================== */

@media (max-width:425px) {
    .contact-hero {
        padding: 90px 0 45px;
    }
    .contact-hero-content h1 {
        font-size: 2.2rem;
    }
    .contact-hero-content h2 {
        font-size: 1.2rem;
    }
    .section-heading h2 {
        font-size: 1.7rem;
    }
    .reach-card {
        padding: 25px 18px;
    }
    .reach-icon {
        font-size: 2.2rem;
    }
    .reach-card h3 {
        font-size: 1.15rem;
    }
    .reach-card h4 {
        font-size: 1.15rem;
    }
    .contact-form-box {
        padding: 20px;
        border-radius: 20px;
    }
    .contact-benefits {
        padding: 20px;
        border-radius: 20px;
    }
    .benefit-list li {
        font-size: .9rem;
    }
    .quick-card {
        padding: 25px 18px;
    }
    .quick-icon {
        font-size: 2.2rem;
    }
    .cta-content h2 {
        font-size: 1.4rem;
    }
    .cta-content p {
        font-size: .95rem;
    }
}

/* ==========================================
375px
========================================== */

@media (max-width:375px) {
    .contact-hero-content h1 {
        font-size: 2rem;
    }
    .contact-hero-content h2 {
        font-size: 1.1rem;
    }
    .contact-hero-content p {
        font-size: .9rem;
    }
    .section-heading h2 {
        font-size: 1.5rem;
    }
    .section-tag {
        font-size: .8rem;
        padding: 8px 16px;
    }
    .reach-card,
    .quick-card {
        padding: 22px 15px;
    }
    .contact-form-box,
    .contact-benefits {
        padding: 18px;
    }
    .map-box iframe {
        height: 300px;
    }
}

/* ==========================================
320px
========================================== */

@media (max-width:320px) {
    .contact-hero-content h1 {
        font-size: 1.8rem;
    }
    .contact-hero-content h2 {
        font-size: 1rem;
    }
    .cta-content h2 {
        font-size: 1.2rem;
    }
    .cta-content p {
        font-size: .85rem;
    }
    .reach-card h4 {
        font-size: 1rem;
        word-break: break-word;
    }
    .quick-card p {
        word-break: break-word;
    }
}

/* =====================================================
ADMISSION PAGE RESPONSIVE
admission-responsive.css
===================================================== */

/* =========================================
LARGE TABLETS
========================================= */

@media (max-width: 1200px) {
    .admission-grid {
        gap: 40px;
    }
    .admission-content h1 {
        font-size: 3.6rem;
    }
    .why-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }
    .documents-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
    .criteria-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
}

/* =========================================
TABLETS
========================================= */

@media (max-width: 992px) {
    .admission-hero {
        padding: 70px 0;
    }
    .admission-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .admission-content {
        text-align: center;
    }
    .admission-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-features {
        justify-content: center;
    }
    .enquiry-card {
        max-width: 700px;
        margin: auto;
    }
    .why-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
    .process-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
    .cta-box {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
MOBILE DEVICES
========================================= */

@media (max-width: 768px) {
    .admission-hero {
        padding: 60px 0;
    }
    .admission-content h1 {
        font-size: 3rem;
    }
    .admission-content p {
        font-size: 1rem;
    }
    .section-heading {
        flex-direction: column;
        gap: 12px;
    }
    .section-heading span {
        width: 60px;
    }
    .section-heading h2 {
        font-size: 1.9rem;
        text-align: center;
    }
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    .feature {
        width: 100%;
        max-width: 350px;
        justify-content: center;
    }
    .enquiry-card {
        padding: 30px 25px;
    }
    .enquiry-card h2 {
        font-size: 1.8rem;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .process-grid {
        grid-template-columns: 1fr;
    }
    .documents-grid {
        grid-template-columns: 1fr;
    }
    .criteria-grid {
        grid-template-columns: 1fr;
    }
    .cta-box {
        padding: 30px 25px;
    }
    .cta-content h2 {
        font-size: 1.7rem;
    }
    .cta-btn {
        width: 100%;
        text-align: center;
    }
}

/* =========================================
SMALL MOBILE
========================================= */

@media (max-width: 576px) {
    .admission-content h1 {
        font-size: 2.4rem;
    }
    .admission-tag {
        font-size: .85rem;
        padding: 10px 18px;
    }
    .feature {
        padding: 14px 16px;
    }
    .feature span {
        font-size: .9rem;
    }
    .enquiry-card {
        border-radius: 24px;
        padding: 25px 20px;
    }
    .enquiry-card h2 {
        font-size: 1.6rem;
    }
    .enquiry-card input,
    .enquiry-card select {
        height: 54px;
        font-size: .9rem;
    }
    .enquiry-card button {
        height: 56px;
        font-size: .95rem;
    }
    .why-card,
    .step,
    .document-card,
    .criteria-card {
        padding: 28px 20px;
    }
    .why-card i {
        width: 70px;
        height: 70px;
        font-size: 1.7rem;
    }
    .number {
        width: 70px;
        height: 70px;
        font-size: 1.3rem;
    }
    .document-card i {
        font-size: 2rem;
    }
    .cta-content h2 {
        font-size: 1.45rem;
        line-height: 1.4;
    }
    .cta-content p {
        font-size: .95rem;
    }
}

/* =========================================
EXTRA SMALL DEVICES
========================================= */

@media (max-width: 400px) {
    .admission-content h1 {
        font-size: 2rem;
    }
    .section-heading h2 {
        font-size: 1.6rem;
    }
    .enquiry-card {
        padding: 22px 18px;
    }
}