/**
 * Additional Responsive Styles
 * Extra breakpoints and mobile-specific styles
 * 
 * @package rprocess-child
 */

/* ============================================
   EXTRA SMALL DEVICES (Mobile Portrait)
   ============================================ */
@media (max-width: 575px) {
    /* Typography */
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    h3 {
        font-size: 20px;
    }
    
    /* Spacing */
    .mb-section {
        margin-bottom: 30px;
    }
    
    /* Cards */
    .service-card,
    .case-study-card,
    .reason-item {
        padding: 20px;
    }
    
    /* Statistics */
    .stat-number {
        font-size: 28px;
    }
    
    /* Process Steps */
    .process-step {
        margin-bottom: 30px;
    }
}

/* ============================================
   SMALL DEVICES (Mobile Landscape)
   ============================================ */
@media (min-width: 576px) and (max-width: 767px) {
    /* Grid adjustments */
    .rprocess-services .col-md-4,
    .rprocess-case-studies .col-md-4,
    .rprocess-latest-posts .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .rprocess-industries .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* ============================================
   MEDIUM DEVICES (Tablets)
   ============================================ */
@media (min-width: 768px) and (max-width: 991px) {
    /* Two column layouts */
    .rprocess-services .col-md-4,
    .rprocess-case-studies .col-md-4,
    .rprocess-latest-posts .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .rprocess-process-steps .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .rprocess-why-choose-us .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    /* Hide arrows on tablets */
    .process-arrow {
        display: none;
    }
}

/* ============================================
   LARGE DEVICES (Desktops)
   ============================================ */
@media (min-width: 992px) and (max-width: 1199px) {
    /* Maintain 3-4 column layouts */
    .rprocess-services .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .rprocess-process-steps .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

/* ============================================
   EXTRA LARGE DEVICES (Large Desktops)
   ============================================ */
@media (min-width: 1200px) {
    /* Full width layouts */
    .container {
        max-width: 1200px;
    }
}

/* ============================================
   ULTRADESKTOP (Extra Large)
   ============================================ */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* ============================================
   LANDSCAPE ORIENTATION
   ============================================ */
@media (orientation: landscape) and (max-height: 500px) {
    /* Adjust for landscape mobile */
    .hero-section {
        min-height: auto;
        padding: 40px 0;
    }
}

/* ============================================
   PORTRAIT ORIENTATION
   ============================================ */
@media (orientation: portrait) {
    /* Portrait-specific styles */
}

/* ============================================
   HIGH DPI DISPLAYS
   ============================================ */
@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi) {
    /* Retina display styles */
    .service-image img,
    .case-study-icon img,
    .industry-icon img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ============================================
   TOUCH DEVICES
   ============================================ */
@media (hover: none) and (pointer: coarse) {
    /* Touch device optimizations */
    .hover-lift:hover,
    .hover-scale:hover,
    .hover-glow:hover {
        transform: none;
        box-shadow: none;
    }
    
    /* Larger touch targets */
   
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    a,
    a:visited {
        text-decoration: underline;
    }
    
    .service-card,
    .case-study-card,
    .blog-post-card {
        page-break-inside: avoid;
    }
    
    .hide-print {
        display: none !important;
    }
}



