/* Responsive Design */

/* Tablet */
@media (max-width: 992px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .section-header .view-all {
        position: static;
        transform: none;
        display: block;
        margin-top: 15px;
    }

    /* Header */
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* Hero Slider */
    .hero-slider {
        height: 450px;
    }

    .slide-content h2 {
        font-size: 2.2rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }

    /* Program Introduction */
    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    /* News Section */
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Quick Register */
    .quick-register-content {
        grid-template-columns: 1fr;
    }

    /* Banner */
    .banner-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Hotline Buttons */
    .hotline-buttons {
        right: 20px;
        bottom: 20px;
    }

    .chat-widget {
        right: 100px;
        bottom: 20px;
        width: 300px;
    }

    .chat-toggle {
        right: 100px;
        bottom: 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 40px 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    /* Header */
    .logo h1 {
        font-size: 1.1rem;
    }

    .logo p {
        font-size: 0.8rem;
    }

    .logo i {
        font-size: 2.5rem;
    }

    /* Hero Slider */
    .hero-slider {
        height: 350px;
    }

    .slide-content h2 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .slider-nav {
        padding: 10px 15px;
        font-size: 1.2rem;
    }

    .slider-nav.prev {
        left: 10px;
    }

    .slider-nav.next {
        right: 10px;
    }

    /* Program Introduction */
    .intro-text h3 {
        font-size: 1.6rem;
    }

    .intro-text p {
        font-size: 1rem;
    }

    .feature-item i {
        font-size: 1.5rem;
    }

    .feature-item h4 {
        font-size: 1.1rem;
    }

    .intro-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-card i {
        font-size: 2.5rem;
    }

    .stat-card h3 {
        font-size: 2rem;
    }

    /* News Section */
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card-image {
        height: 200px;
    }

    /* Announcements */
    .announcement-card {
        flex-direction: column;
        text-align: center;
    }

    .announcement-icon {
        margin: 0 auto;
    }

    /* Quick Register */
    .quick-register-text h2 {
        font-size: 2rem;
    }

    .quick-register-text p {
        font-size: 1rem;
    }

    .quick-register-text li {
        font-size: 1rem;
    }

    .quick-register-form {
        padding: 25px;
    }

    .quick-register-form h3 {
        font-size: 1.5rem;
    }

    /* Banner */
    .banner-item {
        height: 250px;
    }

    .banner-content {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }

    .banner-content h3 {
        font-size: 1.4rem;
    }

    /* Contact */
    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-item i {
        margin: 0 auto;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    /* Hotline Buttons */
    .hotline-buttons {
        right: 15px;
        bottom: 15px;
        gap: 10px;
    }

    .hotline-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    /* Chat Widget */
    .chat-widget {
        width: 90%;
        right: 5%;
        bottom: 80px;
    }

    .chat-toggle {
        right: 15px;
        bottom: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .chat-body {
        height: 250px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    /* Hero Slider */
    .hero-slider {
        height: 300px;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

    .slide-content .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* News Card */
    .news-card h3 {
        font-size: 1.1rem;
    }

    .news-card p {
        font-size: 0.9rem;
    }

    /* Quick Register */
    .quick-register-text h2 {
        font-size: 1.6rem;
    }

    .quick-register-form {
        padding: 20px;
    }

    /* Banner */
    .banner-item {
        height: 200px;
    }

    .banner-content h3 {
        font-size: 1.2rem;
    }

    .banner-content p {
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .hero-slider,
    .quick-register,
    .banner-section,
    .footer,
    .hotline-buttons,
    .chat-widget,
    .chat-toggle {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    .section {
        page-break-inside: avoid;
    }
}
