/* Mobile-first hero title fix - completely new approach */

/* Reset any conflicting styles for mobile */
@media screen and (max-width: 768px) {
    .hero-title {
        /* Complete reset */
        all: initial;
        
        /* Basic properties */
        display: block;
        font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
        font-size: 2rem;
        font-weight: 900;
        line-height: 1.2;
        color: #ffffff;
        text-align: center;
        margin: 1rem 0;
        padding: 0 1rem;
        
        /* Ensure visibility */
        position: relative;
        z-index: 1000;
        opacity: 1;
        visibility: visible;
        
        /* Text wrapping */
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        
        /* Shadow for contrast */
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    
    .hero-content {
        display: block;
        text-align: center;
        padding: 2rem 1rem;
        position: relative;
        z-index: 100;
    }
    
    .hero-subtitle {
        display: block;
        font-size: 1rem;
        color: #a8b3c7;
        text-align: center;
        margin: 1rem 0 2rem 0;
        padding: 0 1rem;
        line-height: 1.4;
    }
}

@media screen and (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.1;
        margin: 0.5rem 0 1rem 0;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin: 1rem 0 1.5rem 0;
    }
}

@media screen and (max-width: 414px) {
    .hero-title {
        font-size: 1.4rem;
        padding: 0 0.5rem;
    }
}