/* Global Responsiveness Fixes */
html,
body {
    overflow-x: hidden;
    /* Prevent horizontal scrolling */
    width: 100%;
    position: relative;
}

@media (max-width: 768px) {

    /* ... existing rules ... */
    .menu-toggle {
        display: block;
    }

    .nav ul {
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        /* Full width for mobile menu */
        height: auto;
        padding: 40px 0;
        display: none;
        justify-content: center;
        align-items: center;
        gap: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav ul.show {
        display: flex;
    }

    /* Card Scaling */
    .card,
    .division-card,
    .project-home-card {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .companies-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .banner-text img {
        width: 200px;
    }

    .banner-text p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .banner-text img {
        width: 150px;
    }

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