/* Mobile styles */
@media (max-width: 768px) {
    .ai_content {
        padding: 15px;
        gap: 20px;
    }

    .one {
        width: 80%;
        min-height: 80px;
        max-height: 120px;
    }

    .two {
        /* width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%); */
    }

    .two .de-text,
    .two .speed-quality-text {
        font-weight: 700;
        font-size: 28px;
        line-height: 100%;
        color: #000;
    }

    .two .up-text {
        font-weight: 700;
        font-size: 36px;
        line-height: 100%;
    }

    .three {
        margin: 20px auto;
        width: 95%;
        padding: 25px 20px;
        box-sizing: border-box;
    }

    .img_container {
        padding: 25px 13px;
        margin: 20px auto;
        width: 95%;
    }

    .img_box {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        justify-items: center;
        align-items: center;
        width: 100%;
        margin: 0 auto;
    }

    .img_box img {
        width: auto;
        max-width: 100%;
        object-fit: contain;
        transition: transform 0.3s ease, filter 0.3s ease;
        filter: brightness(1) saturate(1);
        min-height: 25px;
        max-height: 60px;
    }
    
    .img_box img:not(:first-child) {
        height: unset !important;
    }
    
    .img_box img:nth-child(1) {
        height: 60px;
        min-height: 40px;
        max-height: 80px;
    }
    
    .img_box img:nth-child(5) {
        width: 50px;
        min-width: 30px;
        max-width: 70px;
    }
}

/* Small screen devices */
@media (max-width: 480px) {
    .ai_content {
        padding: 15px;
        gap: 15px;
    }

    .one {
        width: 100%;
        min-height: 60px;
        max-height: 75px;
    }

    .two {
        padding: 15px 0;
    }

    .two .de-text,
    .two .speed-quality-text {
        font-size: 24px;
    }

    .two .up-text {
        font-size: 32px;
        white-space: nowrap;
    }

    .three {
        margin: 15px auto;
        padding: 20px 15px;
    }

    .img_container {
        padding: 20px 10px;
        margin: 15px auto;
    }

    .img_box {
        gap: 10px;
    }

    .img_box img {
        min-height: 20px;
        max-height: 50px;
    }
    
    .img_box img:nth-child(1) {
        min-height: 35px;
        max-height: 70px;
    }
    
    .img_box img:nth-child(5) {
        min-width: 25px;
        max-width: 60px;
    }
}

/* Extra small screen devices */
@media (max-width: 360px) {
    .ai_content {
        padding: 10px;
        gap: 10px;
    }

    .one {
        width: 85%;
        min-height: 50px;
        max-height: 80px;
    }

    .two .title-image {
        width: 20%;
        min-width: 80px;
        min-height: 35px;
        max-height: 50px;
    }

    .two .de-text,
    .two .speed-quality-text {
        font-size: 20px;
    }

    .two .up-text {
        font-size: 28px;
    }

    .three {
        margin: 15px auto;
        width: 98%;
        padding: 15px 10px;
    }

    .img_container {
        width: 98%;
        padding: 15px 8px;
    }

    .img_box {
        gap: 8px;
    }

    .img_box img {
        min-height: 18px;
        max-height: 40px;
    }
    
    .img_box img:nth-child(1) {
        min-height: 30px;
        max-height: 60px;
    }
    
    .img_box img:nth-child(5) {
        min-width: 20px;
        max-width: 50px;
    }
}