/*************************************
 * SIMPLE MOBILE FIX
 * Fix overlapping percentage numbers and equal spacing
 *************************************/

@media (max-width: 767px) {
    /* Fix overlapping percentage numbers in benefit cards */
    .benefitMetric {
        position: relative !important;
        right: auto !important;
        bottom: auto !important;
        display: block !important;
        text-align: right !important;
        margin-top: 0.5rem !important;
        font-size: 2.5rem !important;
        opacity: 1 !important;
    }
    
    /* Reduce card padding to minimize space */
    .benefitCard {
        padding: 1.25rem !important;
    }
    
    /* Tighten text spacing */
    .benefitStat {
        margin-bottom: 0.5rem !important;
    }
    
    .benefitText {
        margin-bottom: 0.25rem !important;
        line-height: 1.4 !important;
    }
    
    /* Equal padding for sections - Bootstrap approach */
    #homeBenefits,
    #homeFaq,
    #staticContactSection,
    #sitemapSection,
    #homePageSection1,
    #homeMethodology,
    #homeIndustries,
    #homePageSection10,
    #homePageSectionBlog {
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
    
    #softwareWeSupport{
        padding-left: 15vw !important;
        padding-right: 15vw !important;
    }
    
    /* Hero section - special spacing */
    #homePageSection1 {
        padding-top: 5rem !important;
        padding-bottom: 3rem !important;
        min-height: auto !important;
    }
    
    /* Reset nested container padding to prevent double padding */
    .benefitsContainer,
    .faqContainer,
    .faqList,
    .staticContactWrapper,
    .sitemapContainer {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Ensure FAQ items and benefit cards span full width */
    .faqItem,
    .benefitCard {
    width: 80%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
		text-align: left;
		
}


    
    /* Fix FAQ question padding to be consistent */
    .faqQuestion {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Fix methodology steps - make all steps filled on mobile with higher specificity */
    #homeMethodology .methodologyStep .stepNumber,
    #homeMethodology .methodologyStep.active .stepNumber,
    #homeMethodology .methodologyStep.completed .stepNumber {
        border-color: #0066CC !important;
        background: #0066CC !important;
        box-shadow: none !important;
    }
    
    #homeMethodology .methodologyStep .stepNumber span,
    #homeMethodology .methodologyStep.active .stepNumber span,
    #homeMethodology .methodologyStep.completed .stepNumber span {
        color: #ffffff !important;
    }
    
    /* Make the connecting line fully filled - override JS inline style */
    #homeMethodology .methodologySteps::after {
        height: calc(100% - 4rem) !important;
        top: 2rem !important;
        bottom: 2rem !important;
        background: linear-gradient(180deg, #0066CC, #00a651) !important;
    }
    
    /* Hide the gray background line on mobile - only show gradient */
    #homeMethodology .methodologySteps::before {
        display: none !important;
    }
}
