/* Hero Centering Fix - Force Perfect Alignment on Mobile */

@media (max-width: 992px) {
    /* Hide sidebars on mobile to prevent layout interference */
    .left-sidebar,
    .right-sidebar {
        display: none !important;
        width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Ensure full-width hero takes full width */
    .full-width-hero {
        width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    /* Reset any potential conflicting styles */
    .hero * {
        box-sizing: border-box !important;
    }
    
    /* Force hero container to be perfectly centered - Simple approach */
    .hero-container {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
    }
    
    /* Force hero content to be centered */
    .hero-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 400px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        float: none !important;
    }
    
    /* Force mascot image to be perfectly centered */
    .hero-image {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 180px !important;
        margin: 0 auto !important;
        text-align: center !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        float: none !important;
        order: 1 !important;
    }
    
    .hero-image img,
    .hero-image .mascot {
        display: block !important;
        width: 100% !important;
        max-width: 180px !important;
        height: auto !important;
        margin: 0 auto !important;
        text-align: center !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        float: none !important;
    }
    
    /* Force hero text to be centered */
    .hero-text {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        margin: 0 auto !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        float: none !important;
        order: 2 !important;
    }
    
    .hero-subtitle,
    .hero-title,
    .hero-description {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        float: none !important;
    }
    
    /* Force buttons to be perfectly centered */
    .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        margin: 0 auto !important;
        gap: 15px !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        float: none !important;
    }
    
    .hero-buttons .btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
        padding: 16px 30px !important;
        box-sizing: border-box !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        float: none !important;
        gap: 10px !important;
    }
    
    .hero-buttons .btn i {
        margin: 0 !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        float: none !important;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .hero-content {
        max-width: 350px !important;
    }
    
    .hero-image,
    .hero-image img,
    .hero-image .mascot {
        max-width: 160px !important;
    }
    
    .hero-buttons .btn {
        max-width: 280px !important;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .hero-content {
        max-width: 320px !important;
    }
    
    .hero-image,
    .hero-image img,
    .hero-image .mascot {
        max-width: 140px !important;
    }
    
    .hero-buttons .btn {
        max-width: 260px !important;
        padding: 14px 20px !important;
    }
}
