/* ============================================
   HERO SECTION READABILITY - ALL DEVICES
   ============================================ */

/* Add dark backdrop for ALL screen sizes (mobile, tablet, desktop) */
/* UPDATED: Made lighter to show background image better */
.hero-content {
    background: rgba(0, 0, 0, 0.25) !important;
    backdrop-filter: blur(8px);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    margin: 1rem;
}

/* Stronger text shadows for ALL devices */
.hero-title {
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.9),
        0 4px 8px rgba(0, 0, 0, 0.7),
        0 6px 12px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(0, 0, 0, 0.8) !important;
}

.hero-subtitle {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.25rem;
    border-radius: 12px;
    text-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.9),
        0 4px 12px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 0, 0, 0.7) !important;
}

/* Badge improvement for all screens - ENHANCED VISIBILITY */
.hero-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.6rem !important;
    box-shadow: 
        0 4px 20px rgba(255, 215, 0, 0.6),
        0 8px 30px rgba(0, 0, 0, 0.4) !important;
    border: 3px solid rgba(255, 255, 255, 0.9) !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    text-shadow: none !important;
}

.hero-badge i {
    color: #1a1a1a !important;
    font-size: 1.2rem !important;
    text-shadow: none !important;
}

/* Stats cards - improve contrast on all screens */
.stat-card {
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(15px) !important;
    border: 2px solid rgba(255, 105, 180, 0.4) !important;
}

/* ============================================
   TABLET & DESKTOP HERO IMPROVEMENTS
   ============================================ */

@media (min-width: 769px) {
    /* Larger backdrop on bigger screens */
    .hero-content {
        max-width: 1200px;
        margin: 2rem auto;
        padding: 3rem 3rem;
        background: rgba(0, 0, 0, 0.5) !important;
    }
    
    /* Use Poppins for better readability on large screens too */
    .hero-title {
        font-family: 'Poppins', sans-serif !important;
        font-weight: 800 !important;
        font-size: 3.5rem !important;
        letter-spacing: -1px;
        line-height: 1.2;
    }
    
    /* Better subtitle styling for tablet/desktop */
    .hero-subtitle {
        font-size: 1.3rem !important;
        line-height: 1.7 !important;
        max-width: 1000px;
        margin: 0 auto 2rem;
        padding: 1.5rem 2rem;
        background: rgba(0, 0, 0, 0.4);
        font-weight: 500;
    }
}

/* Desktop specific (1025px+) */
@media (min-width: 1025px) {
    .hero-content {
        padding: 4rem 4rem;
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.4rem !important;
        max-width: 1100px;
        padding: 2rem 2.5rem;
    }
}

/* ============================================
   MOBILE SPECIFIC OVERRIDES
   ============================================ */

@media (max-width: 768px) {
    
    /* Mobile-specific adjustments */
    .hero-content {
        background: rgba(0, 0, 0, 0.4) !important;
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .hero-title {
        font-family: 'Poppins', sans-serif !important;
        font-weight: 800 !important;
        font-size: 2.5rem !important;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem !important;
        line-height: 1.6 !important;
        padding: 1rem;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 10px;
        margin-bottom: 1.5rem;
    }
    
    .hero-badge {
        padding: 0.7rem 1.3rem !important;
        font-size: 0.95rem !important;
        box-shadow: 
            0 3px 15px rgba(255, 215, 0, 0.5),
            0 6px 20px rgba(0, 0, 0, 0.3) !important;
    }
    
    .hero-buttons {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        font-size: 1.1rem !important;
        padding: 1rem 1.5rem !important;
        font-weight: 600;
    }
}

/* Extra small mobile devices (phones in portrait) */
@media (max-width: 480px) {
    
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.25;
    }
    
    .hero-subtitle {
        font-size: 0.95rem !important;
        line-height: 1.55 !important;
        padding: 0.85rem;
    }
    
    .hero-content {
        padding: 1.5rem 1rem;
        margin: 0.5rem;
    }
    
    .hero-badge {
        font-size: 0.85rem !important;
        padding: 0.6rem 1.1rem !important;
        box-shadow: 
            0 2px 12px rgba(255, 215, 0, 0.5),
            0 4px 16px rgba(0, 0, 0, 0.3) !important;
    }
}

/* ============================================
   SERVICES SECTION - CENTER H3 SUBHEADINGS
   ============================================ */

/* Apply to all screen sizes (mobile, tablet, desktop) */
.services h3 {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}

/* Ensure H2 titles are also centered on all screens */
.services h2 {
    text-align: center !important;
}

/* Keep body paragraphs centered for consistency across all screens */
.services p {
    text-align: center !important;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile override - keep paragraphs left-aligned for readability */
@media (max-width: 768px) {
    .services p {
        text-align: left !important;
    }
}

/* For tablets (768px - 1024px) - Optional specific adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .services h2 {
        font-size: 2rem;
    }
    
    .services h3 {
        font-size: 1.4rem;
    }
    
    .services p {
        font-size: 1.05rem;
        max-width: 800px;
    }
}

/* For desktop (1025px+) - Optional specific adjustments */
@media (min-width: 1025px) {
    .services h2 {
        font-size: 2.2rem;
    }
    
    .services h3 {
        font-size: 1.5rem;
    }
    
    .services p {
        font-size: 1.1rem;
        max-width: 900px;
    }
}
