/* ==========================================================================
   ONETOMAX AGENCY - RESPONSIVE STYLESHEET
   Đảm bảo hiển thị hoàn hảo trên Mobile, Tablet, Laptop
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-grid,
    .about-grid,
    .projects-layout,
    .projects-compact-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-media,
    .about-media,
    .testimonial-graphic {
        order: -1;
    }

    .services-grid,
    .sub-banner-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        justify-items: center;
    }

    .partners-floating-card {
        margin-top: -80px;
    }

    .partners-grid,
    .brand-static-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 24px;
        gap: 20px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        transition: 0.35s ease;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .topbar-wrapper {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .services-grid,
    .sub-banner-grid,
    .news-grid,
    .projects-grid-right {
        grid-template-columns: 1fr;
    }

    .partners-grid,
    .brand-static-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .floating-badge {
        display: none; /* Hide floating badges on mobile to keep layout clean */
    }

    .about-title,
    .testimonial-title,
    .projects-heading {
        font-size: 2.1rem;
    }

    .projects-top-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .badge-ecommerce {
        width: 42%;
        min-width: 135px;
        left: -2%;
        bottom: 10%;
    }

    .badge-platform {
        width: 46%;
        min-width: 145px;
        right: 0%;
        bottom: 0%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .covid-title { font-size: 1.65rem; }
    .covid-airplane-img { width: 130px; }
    .covid-scooter-img { width: 65px; }
}

@media (max-width: 480px) {
    .stats-row {
        grid-template-columns: 1fr;
        justify-items: flex-start;
        padding-left: 20px;
    }

    .brand-static-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .covid-title { font-size: 1.35rem; }
    .covid-play-btn { width: 54px; height: 54px; font-size: 1.2rem; }
}
