/* Responsive Styles */

/* Large Desktop */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

/* Desktop */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-image {
        max-width: 80%;
        margin-top: 30px;
    }
    
    .features-grid,
    .lessons-grid,
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }
    
    .datetime-display {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu a {
        padding: 15px 20px;
        border-bottom: none;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .features-grid,
    .lessons-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .chatbot-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .chatbot-status {
        align-self: center;
    }
    
    .chatbot-suggestions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-links-bottom {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    
    .logo-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .domain-brand {
        margin-right: 0;
        margin-top: 5px;
        align-self: flex-start;
    }
    
    .logo-text h1 {
        font-size: 1.3rem;
    }
    
    .hero-content h2 {
        font-size: 1.6rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .feature-card,
    .lesson-card,
    .article-card {
        padding: 20px;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .chatbot-messages {
        height: 250px;
    }
    
    .message-content {
        max-width: 90%;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 4px;
        margin-bottom: 10px;
    }
}

/* Small Mobile */
@media (max-width: 380px) {
    .logo-icon {
        font-size: 2rem;
        margin-left: 10px;
    }
    
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .chatbot-suggestions button {
        width: 100%;
    }
}