/* Additional responsive styles for pricing plans and cards */

/* Make sure pricing plans stack properly on mobile */
@media (max-width: 991px) {
    .pricing-row {
        flex-wrap: wrap !important;
    }
    
    .pricing-row > div {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    /* Adjust card heights */
    .pricing-row > div > div {
        height: auto !important;
    }
}

/* Specific fixes for service cards */
@media (max-width: 767px) {
    /* Fix for platform cards */
    .platform-card {
        width: 100% !important;
        margin-bottom: 20px !important;
    }
    
    /* Fix for service cards */
    .service-card {
        width: 100% !important;
        margin-bottom: 20px !important;
    }
    
    /* Fix for team member cards */
    .team-member {
        width: 100% !important;
        margin-bottom: 20px !important;
    }
    
    /* Fix for long text in cards */
    li span, p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Make hover effects work better on touch */
    [onmouseover] {
        transition: all 0.3s ease !important;
    }
}

/* Adjust font sizes for better readability on mobile */
@media (max-width: 575px) {
    h2[style*="font-size"] {
        font-size: 1.8rem !important;
    }
    
    h3[style*="font-size"] {
        font-size: 1.4rem !important;
    }
    
    p[style*="font-size"] {
        font-size: 0.95rem !important;
    }
    
    /* Make list items more compact */
    li[style*="padding"] {
        padding: 8px 0 !important;
    }
    
    /* Reduce padding in cards */
    div[style*="padding"] {
        padding: 12px !important;
    }
}

/* Fix for specific sections */
@media (max-width: 767px) {
    /* Platform services section */
    #platform-services .platform-content-item {
        padding: 15px !important;
    }
    
    /* Fix for platform icons */
    .platform-icon {
        min-width: 80px !important;
        min-height: 80px !important;
        width: 80px !important;
        height: 80px !important;
        margin-right: 15px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .platform-logo {
        max-width: 90% !important;
        max-height: 90% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }
    
    .platform-content-header {
        display: flex !important;
        align-items: center !important;
        margin-bottom: 15px !important;
    }
    
    /* Account health monitoring section */
    .account-health-section .col-md-6 {
        padding: 10px !important;
    }
    
    /* Product listing section */
    .product-listing-section .col-md-6 {
        padding: 10px !important;
    }
}

/* Fix for specific elements with inline styles */
@media (max-width: 767px) {
    [style*="width: 120px; height: 120px"] {
        width: 80px !important;
        height: 80px !important;
    }
    
    [style*="margin: 0 auto 20px"] {
        margin: 0 auto 15px !important;
    }
    
    [style*="border-radius: 50%"] {
        border-radius: 50% !important;
    }
}
