﻿/**
 * FalakTech - Responsive Styles
 */

@media(max-width:1024px) {
    .hero .hero-content h1,
    .hero .hero-content p,
    .nav-links li,
    .lang-toggle {
        opacity: 1 !important;
        animation: none !important;
    }

    .lang-toggle { display: none !important; }

    .mobile-lang-switch { display: flex !important; }

    .nav-links { display: none; }

    .mobile-menu { display: flex; }

    .nav-links.active {
        display: flex !important;
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        flex-direction: column;
        padding: 100px 30px;
        gap: 30px;
        z-index: 1000;
        animation: slideInFromRight 0.3s ease-out;
    }

    .mobile-menu.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
    .mobile-menu.active span:nth-child(2) { opacity: 0; }
    .mobile-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(8px, -8px); }

    .logo { display: flex; align-items: center; gap: 8px; max-width: none !important; }
    .logo-text { display: inline !important; font-size: 16px; }
    .header { align-items: center; }

    .mobile-menu { position: absolute !important; top: 20px !important; right: 15px !important; z-index: 1002 !important; display: flex !important; }

    .navbar { padding: 10px 20px !important; }

    .mobile-lang-switch {
        list-style: none;
        text-align: center;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 20px;
    }

    .mobile-lang-switch .lang-btn {
        background: transparent;
        border: none;
        color: var(--accent-green);
        font-size: 16px;
        cursor: pointer;
        padding: 5px 10px;
    }

    .mobile-lang-switch .lang-separator {
        color: rgba(255, 255, 255, 0.3);
        margin: 0 5px;
    }

    .mobile-lang-switch .ms,
    .mobile-lang-switch .en {
        display: inline !important;
        opacity: 1 !important;
    }

    #earth-container { width: 100%; opacity: .4; }
}

@media (max-width:768px) {
    .hero { padding: 120px 20px 50px; }
    .hero-content { text-align: center; }
    section { padding: 60px 4%; }
    .features-grid,
    .problems-grid { grid-template-columns: 1fr; }
}
