/* ================================================
   MOBILE OPTIMIZATION FOR SERVICE HERO SECTIONS
   Enhanced mobile experience for all service pages
   ================================================ */

/* Improved Mobile Hero Styling */
@media (max-width: 768px) {
    .service-hero-header {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .service-hero-content {
        padding: 2rem 1rem;
    }
    
    .service-hero-content h1 {
        font-size: 2.2rem !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
        text-shadow: 
            0 2px 8px rgba(0, 0, 0, 0.6),
            0 4px 12px rgba(0, 0, 0, 0.4),
            2px 2px 0px rgba(0, 0, 0, 0.9);
    }
    
    .service-hero-content p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
        padding: 0 0.5rem;
    }
    
    /* Hero CTA Buttons - Stack vertically on mobile */
    .hero-cta-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        margin-top: 1.5rem !important;
        padding: 0 1rem;
    }
    
    .hero-cta-buttons .btn {
        width: 100% !important;
        padding: 1rem 1.5rem !important;
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        border-radius: 30px !important;
    }
    
    .hero-cta-buttons .btn i {
        margin-right: 0.5rem;
    }
    
    /* Trust Signals - Better mobile layout */
    .trust-signals {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.75rem !important;
        margin-top: 1.5rem !important;
        padding: 0 1rem;
        font-size: 0.75rem !important;
    }
    
    .trust-signals span {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 0.5rem 0.25rem;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(5px);
        border-radius: 8px;
    }
    
    .trust-signals span i {
        margin-right: 0.35rem !important;
        font-size: 0.9rem;
    }
}

/* Extra small phones (iPhone SE, etc.) */
@media (max-width: 375px) {
    .service-hero-content h1 {
        font-size: 1.8rem !important;
        letter-spacing: 0px !important;
    }
    
    .service-hero-content p {
        font-size: 0.9rem !important;
    }
    
    .hero-cta-buttons .btn {
        font-size: 1rem !important;
        padding: 0.9rem 1.25rem !important;
    }
    
    .trust-signals {
        font-size: 0.7rem !important;
        gap: 0.5rem !important;
    }
    
    .trust-signals span i {
        font-size: 0.8rem;
    }
}

/* Tablet optimization (between mobile and desktop) */
@media (min-width: 769px) and (max-width: 1024px) {
    .service-hero-content h1 {
        font-size: 3.5rem;
    }
    
    .service-hero-content p {
        font-size: 1.3rem;
    }
    
    .hero-cta-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-cta-buttons .btn {
        min-width: 200px;
    }
}

/* CTA Buttons Section - Mobile optimization */
@media (max-width: 768px) {
    .cta-section {
        padding: 2rem 1rem !important;
    }
    
    .cta-section h2 {
        font-size: 1.75rem !important;
        margin-bottom: 1rem !important;
    }
    
    .cta-section p {
        font-size: 1rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .cta-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        margin-top: 1.5rem !important;
    }
    
    .cta-buttons .btn-lg {
        width: 100% !important;
        padding: 1rem 1.5rem !important;
        font-size: 1.1rem !important;
    }
}

/* Breadcrumb mobile optimization */
@media (max-width: 768px) {
    .breadcrumb {
        font-size: 0.85rem !important;
        padding: 0.75rem 0 !important;
    }
    
    .breadcrumb a,
    .breadcrumb span {
        font-size: 0.85rem !important;
    }
}

/* Service image mobile optimization */
@media (max-width: 768px) {
    .service-image {
        margin: 1.5rem 0 !important;
    }
    
    .service-image img {
        border-radius: 12px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    }
}

/* Service content mobile optimization */
@media (max-width: 768px) {
    .service-content {
        padding: 0 !important;
    }
    
    .service-content h2 {
        font-size: 1.6rem !important;
        margin-top: 2rem !important;
        margin-bottom: 1rem !important;
    }
    
    .service-content h3 {
        font-size: 1.3rem !important;
        margin-top: 1.5rem !important;
    }
    
    .service-content p {
        font-size: 1rem !important;
        line-height: 1.7 !important;
        margin-bottom: 1rem !important;
    }
    
    .service-content ul {
        margin: 1rem 0 !important;
    }
    
    .service-content li {
        font-size: 0.95rem !important;
        padding: 0.5rem 0 !important;
    }
}

/* Fix for service detail section on mobile */
@media (max-width: 768px) {
    .service-detail {
        padding: 2rem 0 !important;
    }
    
    .service-detail .container {
        padding: 0 1rem !important;
    }
}
