/* Mobile Hero Optimization - Fix Overlapping */

@media (max-width: 768px) {
    /* Hero Content Spacing */
    .hero-content {
        padding-top: 60px !important;
        padding-bottom: 30px !important;
    }
    
    /* Badge */
    .hero-badge {
        font-size: 0.75rem !important;
        padding: 8px 16px !important;
        margin-bottom: 15px !important;
    }
    
    /* Title */
    .hero-title {
        font-size: 1.8rem !important;
        margin-bottom: 15px !important;
        line-height: 1.2 !important;
    }
    
    /* Subtitle */
    .hero-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 20px !important;
        line-height: 1.5 !important;
    }
    
    /* Stats - 3 Columns Horizontal, Smaller */
    .hero-stats {
        gap: 8px !important;
        margin-top: 20px !important;
        margin-bottom: 20px !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
    }
    
    .stat-item {
        min-width: 75px !important;
        max-width: 105px !important;
        padding: 8px 10px !important;
        flex: 0 0 calc(33.333% - 6px) !important; /* 3 columns */
        text-align: center !important;
    }
    
    .stat-item h3 {
        font-size: 1.2rem !important;
        margin-bottom: 2px !important;
    }
    
    .stat-item p {
        font-size: 0.65rem !important;
        line-height: 1.2 !important;
    }
    
    /* Buttons - Stack Vertically */
    .hero-buttons {
        flex-direction: column !important;
        gap: 12px !important;
        margin-bottom: 20px !important;
    }
    
    .btn-hero-primary,
    .btn-hero-outline {
        width: 100% !important;
        max-width: 280px !important;
        padding: 12px 24px !important;
        font-size: 0.95rem !important;
        justify-content: center !important;
    }
    
    /* Hero Slider Height - Taller to accommodate all elements */
    .slider-wrapper {
        height: 600px !important;
        min-height: 600px !important;
        max-height: 600px !important;
    }
}

/* Extra Small Mobile (< 375px) */
@media (max-width: 374px) {
    .hero-title {
        font-size: 1.6rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.85rem !important;
    }
    
    .stat-item {
        min-width: 70px !important;
        max-width: 95px !important;
        padding: 6px 8px !important;
    }
    
    .stat-item h3 {
        font-size: 1.1rem !important;
    }
    
    .stat-item p {
        font-size: 0.6rem !important;
    }
}
