/* Fix horizontal overflow issues for mobile */
@media (max-width: 768px) {
    /* Prevent horizontal overflow on all pages */
    body {
        overflow-x: hidden !important;
    }
    
    .container {
        overflow-x: hidden !important;
    }
    
    /* Fix schema benefits to stack vertically on mobile */
    .schema-benefits {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center !important;
        overflow: hidden !important;
    }
    
    .schema-circle {
        width: 100px !important;
        height: 100px !important;
        font-size: 0.85rem !important;
        padding: 8px !important;
        flex-shrink: 0 !important;
    }
    
    .schema-line {
        width: 3px !important;
        height: 30px !important;
        margin: 5px 0 !important;
    }
    
    /* Fix schema audit SVG */
    .schema-audit {
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    /* Ensure all SVGs are responsive */
    svg {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Fix wide content */
    .hero-visual, .schema {
        max-width: 100% !important;
        overflow: hidden !important;
    }
}

/* Additional mobile fixes */
@media (max-width: 480px) {
    .schema {
        margin: 20px auto !important;
        padding: 15px !important;
        max-width: calc(100vw - 40px) !important;
    }
    
    .schema-circle {
        width: 80px !important;
        height: 80px !important;
        font-size: 0.75rem !important;
        padding: 5px !important;
    }
    
    .schema-line {
        height: 20px !important;
        margin: 3px 0 !important;
    }
}