/* ==========================================================================
   RESPONSIVE MOBILE & TABLET STYLES
   ========================================================================== */

/* --- TABLET & MOBILE (max-width: 991px) --- */
@media (max-width: 991px) {
    /* Hero Section Overrides */
    .hero-bg-desktop {
        display: none !important;
    }

    .hero-bg-mobile {
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: left center !important;
    }

    .hero .container {
        position: relative !important;
        display: block !important;
        height: auto !important;
        min-height: auto !important;
        padding: 2.5rem 1rem 2.5rem 1rem !important;
        text-align: center !important;
    }

    .hero-content {
        background: rgba(255, 255, 255, 0.15) !important;
        padding: 1.25rem 1rem !important;
        border-radius: 1.25rem !important;
        backdrop-filter: blur(0.5px) !important;
        -webkit-backdrop-filter: blur(0.5px) !important; /* 👈 Đổi từ 10px thành 0.5px cho bằng với ở trên */
        max-width: 100% !important;
        margin: 0 auto !important;
        box-shadow: none !important;
    }



    .hero-stats,
    .hero-cta {
        justify-content: center !important;
    }
}

/* --- MOBILE ONLY (max-width: 767px) --- */
@media (max-width: 767px) {
    /* --- TYPOGRAPHY REDUCTION --- */
    h1, .h1 {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }
    
    h2, .section-title {
        font-size: 24px !important;
        line-height: 1.35 !important;
    }
    
    h3, .h3 {
        font-size: 20px !important;
        line-height: 1.4 !important;
    }
    
    h4, .h4, .site-card h4 {
        font-size: 17px !important;
        line-height: 1.4 !important;
    }
    
    p, body {
        font-size: 14px !important;
    }
    
    /* --- HERO OVERRIDES --- */
    .hero .eyebrow {
        font-size: 9px !important;
        padding: 0.25rem 0.6rem !important;
    }

    .hero-content h1 {
        font-size: 17px !important; /* Kích thước chữ h1 trên mobile */
        line-height: 1.4 !important;
    }

    .hero-content p {
        font-size: 10px !important; /* Kích thước chữ mô tả trên mobile */
        line-height: 1.4 !important;
    }

    .hero-stats {
        gap: 1rem !important;
        flex-wrap: wrap !important;
    }

    .hero-cta {
        display: flex !important;
        flex-direction: row !important; /* Cùng 1 hàng */
        justify-content: center !important;
        align-items: center !important;
        gap: 0.5rem !important;
        flex-wrap: nowrap !important; /* Không xuống hàng */
        margin-top: 1rem !important;
    }

    .hero-cta .btn {
        flex: 1 !important;
        width: auto !important;
        min-width: 0 !important;
        padding: 0.5rem 0.75rem !important;
        font-size: 10px !important; /* Font size nút */
        justify-content: center !important;
        white-space: nowrap !important;
    }
}