@media (max-width: 1200px) {
    .search-box {
        width: 300px;
    }
}

@media (max-width: 992px) {
    .sticky-nav {
        padding: 15px 20px;
    }
    
    .search-box {
        width: 200px;
    }
    
    .nav-links {
        position: fixed;
        top: 100px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 100px);
        background: rgba(224, 176, 255, 0.98);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: right 0.4s;
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active div:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 6.5px);
    }

    .hamburger.active div:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active div:nth-child(3) {
        transform: rotate(45deg) translate(-6.5px, -6px);
    }
}

@media (max-width: 768px) {
    .search-box {
        width: 150px;
    }
    
    .nav-right-links a {
        display: none;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .curriculum-container {
        flex-direction: column;
    }
    .timeline {
        width: 100%;
        height: 30px;
        display: flex;
        align-items: center;
    }
    .timeline-item {
        padding-right: 0;
        text-align: left;
    }
    .timeline-line, .timeline-dot {
        display: none;
    }
    
    /* NEW Responsive Footer rules */
    .footer-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .footer-links a {
        margin: 0 10px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }
    .contact-col {
        align-items: center;
    }

    /* --- NEW: Content Page Responsive --- */
    .content-page .container {
        padding: 20px;
    }
    .content-page h1 {
        font-size: 2rem;
    }
    .content-page h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .search-box {
        display: none;
    }
    
    .logo {
        height: 60px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .enroll-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .curriculum-section .section-title {
        font-size: 2.2rem;
    }
    .lesson-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    /* NEW Responsive CTA rules */
    .cta-container h2 {
        font-size: 2rem;
    }
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .footer-links a {
        margin: 0;
    }
}
