/* Enhanced Mobile Layout for Solutions Section */

/* Small screens (below 768px) */
@media (max-width: 767px) {
    .solutions-scroll-container {
        overflow-x: visible;
        overflow-y: visible;
        padding-left: 10px;
        padding-right: 10px;
    }

    .solutions-scroll {
        display: flex;
        flex-direction: column;
        padding: 20px 0;
        gap: 25px;
        transition: none;
        cursor: default;
        user-select: auto;
        -webkit-user-select: auto;

    }
    
    .solution-card-scroll {
        flex: 0 0 420px;
        min-height: 420px;
        text-align: center;
    }

    .solution-title-scroll {
        margin-bottom: 15px;
        font-size: 24px;
        font-weight: 600;
        letter-spacing: -1.8;
        line-height: 30px;
    }

    .solution-description-scroll {
        flex-grow: 1;
        font-size: 14px;
        font-weight: 400;
        color: #000000;
    }

    .solution-icon-scroll {
        margin-bottom: 20px;
    }
    
    .solution-icon-scroll img {
        height: auto;
        max-height: 200px;
    }
    
    .solution-title-scroll {
        font-size: 25px;
        margin-bottom: 10px;
        text-align: center;
    }
    
    .solution-description-scroll {
        font-size: 16px;
        font-weight: 300;
        line-height: 1.5;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .learn-more-scroll {
        padding: 12px 24px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Hide scrollbar indicators if they exist */
    .scroll-left, .scroll-right {
        display: none !important;
    }
    
    /* Adjust the container padding */
    .solutions {
        padding: 60px 0 30px;
    }
    
    .solutions .container {
        padding: 0 10px;
    }
}

/* Very small screens (480px and below) */
@media (max-width: 480px) {
    .solutions-scroll {
        padding-left: 0px;
        gap: 20px;
    }

    .solution-card-scroll {
        flex: 0 0 500px;
        min-height: 500px;
        text-align: center;
    }

    .solution-icon-scroll {
        height: 350px;
    }

    .solution-icon-scroll img {
        height: 250px;
        width: auto;
    }

    .solution-title-scroll {
        margin-bottom: 15px;
        font-size: 22px;
        font-weight: 600;
    }
    
    .solution-description-scroll {
        flex-grow: 1;
        margin-bottom: 25px;
        font-size: 17px;
        font-weight: 300;
        color: #000000;
    }
    
    .learn-more-scroll {
        padding: 12px 24px;
        line-height: 0.5;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Extra small devices (phones) */
@media (max-width: 375px) {
    .solution-card-scroll {
        flex: 0 0 350px;
        min-height: 350px;
    }

    .solution-card-scroll {
        padding: 15px;
    }
    
    .solution-icon-scroll {
        min-height: 200px;
    }
    
    .solution-icon-scroll img {
        max-height: 200px;
    }
    
    .solution-title-scroll {
        font-size: 20px;
    }
    
    .solution-description-scroll {
        font-size: 14px;
    }

    .learn-more-scroll {
        padding: 12px 24px;
        margin-left: auto;
        margin-right: auto;
    }
}