/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .systems-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .nav-menu {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    /* Top Bar */
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    /* Mobile Navigation */
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 30px 30px;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        z-index: 1000;
    }
    
    .rtl .nav-menu {
        right: auto;
        left: -100%;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .rtl .nav-menu.active {
        left: 0;
        right: auto;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-item a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid var(--gray-light);
    }
    
    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        padding-left: 20px;
        animation: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .nav-item.cta-button {
        margin-top: 20px;
        border-bottom: none;
    }
    
    /* Hero Section */
    .hero {
        padding: 60px 0;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .hero-image {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        max-width: 100%;
        margin-top: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Systems Grid */
    .systems-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .rtl .footer-col h3::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .category-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .filter-btn {
        white-space: nowrap;
    }
    
    .system-actions {
        flex-direction: column;
    }
    
    .system-actions .btn {
        width: 100%;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    .top-bar,
    .main-header,
    .breadcrumbs,
    .footer-bottom,
    .cta-section,
    .social-links,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    a {
        color: black !important;
        text-decoration: none !important;
    }
}