/* Tablet Styles */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
    
    .slider-container {
        height: 50vh;
    }
    
    .enrollment-form {
        margin: 2rem 0;
        max-width: 500px;
    }
    
    .slide {
        padding: 0 2rem;
    }
    
    .slide h2 {
        font-size: 2.2rem;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .top-bar-left, .top-bar-right {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .about-container {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-cta {
        display: none;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .slide h2 {
        font-size: 1.8rem;
    }
    
    .slide p {
        font-size: 1rem;
    }
    
    .features-grid,
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .latest-tabs {
        flex-direction: column;
    }
    
    .scrolling-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .item-date {
        min-width: 70px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    .scroll-btn {
        display: none;
    }
    
    .achiever-card {
        flex: 0 0 260px;
    }
    
    .achievers-scroll-wrapper {
        padding: 0 1rem;
    }
    
    .mobile-app-footer {
        display: block;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .slide {
        padding: 0 1rem;
    }
    
    .slide h2 {
        font-size: 1.6rem;
    }
    
    .slide p {
        font-size: 0.9rem;
    }
    
    .enrollment-form {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .feature-card,
    .course-card {
        padding: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .achievers-filters {
        gap: 0.4rem;
    }
    
    .filter-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .mobile-app-btn {
        padding: 0.4rem;
        max-width: 100px;
    }
    
    .mobile-app-btn i {
        font-size: 1rem;
    }
    
    .mobile-app-btn span {
        font-size: 0.7rem;
    }
    
    .cta-section h2 {
        font-size: 1.7rem;
    }
    
    .cta-btn-primary,
    .cta-btn-secondary {
        padding: 10px 22px;
        font-size: 0.95rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .mobile-menu {
        width: 100%;
    }
    
    .top-bar-right {
        gap: 8px;
    }
    
    .top-bar-btn {
        padding: 3px 8px;
        font-size: 0.75rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 360px) {
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .top-bar-left span {
        margin-right: 1rem;
        font-size: 0.8rem;
    }
    
    .hero-container {
        min-height: 60vh;
    }
    
    .slide h2 {
        font-size: 1.4rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .achievers-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 200px;
    }
}

/* Height-based adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-container {
        min-height: 100vh;
    }
    
    .slide-content {
        padding: 1rem 0;
    }
    
    .slide h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .slide p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}

/* Print Styles */
@media print {
    .top-bar,
    .main-header,
    .mobile-app-footer,
    .cta-section,
    .footer-social {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}