/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 960px;
    }
    
    .programs-grid,
    .announcements-grid,
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .slide-content h2 {
        font-size: 40px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .top-bar .container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .hero-slider {
        height: 60vh;
    }
    
    .slide-content h2 {
        font-size: 24px;
    }
    
    .slide-content p {
        font-size: 14px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .stats-bar {
        padding: 40px 0;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .welcome-section,
    .featured-programs,
    .latest-announcements,
    .latest-blogs,
    .why-choose,
    .gallery-preview,
    .faq-section {
        padding: 50px 0;
    }
    
    .welcome-content h2 {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .motto-content h2 {
        font-size: 24px;
    }
    
    .page-hero {
        padding: 50px 0;
    }
    
    .page-hero h1 {
        font-size: 32px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-info li {
        justify-content: center;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .blog-filters {
        flex-direction: column;
    }
    
    .category-filters {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .blog-search {
        width: 100%;
    }
    
    .blog-layout {
        grid-template-columns: 1fr;
    }
    
    .programs-full-grid,
    .faculty-full-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .slide-content h2 {
        font-size: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .program-card,
    .announcement-card {
        padding: 20px;
    }
    
    .program-icon {
        width: 60px;
        height: 60px;
    }
    
    .program-icon i {
        font-size: 30px;
    }
}

/* Print Styles */
@media print {
    .top-bar,
    .main-nav,
    .hero-slider,
    .stats-bar,
    .footer,
    .whatsapp-float,
    .share-section,
    .related-posts {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    a {
        text-decoration: none;
        color: #000;
    }
    
    .blog-single-content {
        page-break-inside: avoid;
    }
}