/* mobile-small-style.css - Comprehensive small mobile styles for Allengual website */

/* Small mobile devices (less than 720px) */
@media (max-width: 720px) {
    .section-container {
        padding: 0 10px; /* Отступы по бокам */
    }

    .text-button {
        top: 60px; /* Slightly reduced top margin on very small screens */
        left: 0;
        gap: 30px;
        width: 100%;
        padding-right: 0;
    }

    .hero-section-images {
        display: none; /* Hide image on tiny screens */
    }

    .crm-atp-mobile {
        display: flex;
        width: 100%;
    }

    .title-text {
        width: 100%;
        /*padding-top: 0px; !* Slightly less padding on very small screens *!*/
    }

    .div {
        font-size: 32px; /* Even smaller font on tiny screens */
    }

    .frame-section-3-image {
        display: none;
    }

    .frame-solution-row2 {
        grid-template-columns: repeat(1, 1fr);
    }
    .frame-solution-row2 > :nth-child(1),
    .frame-solution-row2 > :nth-child(2),
    .frame-solution-row2 > :nth-child(3),
    .frame-solution-row2 > :nth-child(4),
    .frame-solution-row2 > :nth-child(5) {
        grid-column: span 1;
    }
    .frame-solution-column2-description {
        flex-direction: row;
        gap: 8px;
    }
    .frame-solution-column-description-item-text-center {
        text-align: start;
    }

    .curs-structure-cards {
        grid-template-columns: repeat(1, 1fr);
        gap: 36px;
    }

    .image-item {
        flex: 0 0 175px; /* Fixed width, prevents wrapping */
        border-radius: 30px;
    }

    .main-description,
    .frame-whom-card,
    .frame-become-client {
        padding: 20px;
    }


    .become-client-box {
        width: 100%;
        position: static;
        gap: 30px;
    }
    .become-client-title {
        width: 100%;
    }

    .button-sent-message-text {
        font-size: 16px;
    }

    .img-benefits {
        display: none;
    }

    .frame-crm-image {
        display: none;
    }

    .frame-crm-image-mobile {
        display: flex;
        padding-left: 0;
    }

    .div18 {
        text-align: center;
        font-size: 38px;
    }

    .frame-full-control-mockups-small,
    .frame-full-control-mockup-main,
    .frame-easy-booking-mockups,
    .frame-shop-mockups-small,
    .frame-shop-mockup-main,
    .frame-statistics-mockups-small,
    .frame-statistics-mockup-main,
    .img-history-main,
    .frame-balance-history-mockup-main {
        display: none;
    }

    .picture-guys {
        display: none;
    }

    .frame-solution-texts-title,
    .become-client-text {
        font-size: 24px;
    }

    .whom-texts-title {
        font-size: 22px;
    }

    /* App Section */
    .frame-app {
        width: 100%;
    }

    /*.div12,*/
    /*.div14,*/
    /*.div16 {*/
    /*    text-align: center;*/
    /*}*/

    .frame-app-client-mockups {
        display: none;
    }

    .frame-app-owner-mockups-mobile {
        display: flex;
    }

    .frame-app-owner-mockups {
        display: none;
    }

    .frame-app-trainer-mockups {
        display: none;
    }

    .div20 {
        text-align: center;
        font-size: 24px;
    }

    .div21 {
        font-size: 20px;
    }

    .text-list3 {
    }

    .frame-full-control-texts,
    .frame-easy-booking-texts,
    .frame-balance-history-texts,
    .frame-shop-texts,
    .frame-statistics-texts {
        width: 100%;
        position: static;
        padding: 20px 0;
        box-sizing: border-box;
    }

    .card-crm {
        width: 100%;

        min-height: 300px; /* Минимальная высота вместо фиксированной */
        height: auto; /* Высота будет определяться содержимым */
    }

    .card-crm-texts {
        width: 100%;

        min-height: 300px; /* Минимальная высота вместо фиксированной */
        height: auto; /* Высота будет определяться содержимым */
    }

    .no_english_title {
        line-height: 120%
    }

    .img-crm-full-control-1,
    .img-easy_booking-2,
    .img-balance-main,
    .img-store-main,
    .img-statistics-main {
        width: 90%;
    }

    .title-input-text,
    .title-input-text-dark {
        font-size: 16px;
    }

    .input-field,
    .input-field-dark,
    .input-area-dark {
        font-size: 16px;
    }

    .scroll-container {
        padding: 0 20px; /* Space for buttons */
    }
    .scroll-btn {
        display: none;
    }
}


/* Small mobile adjustments */
@media screen and (max-width: 610px) {
    .header {
        padding: 10px 15px;
        top: 10px;
    }

    .language-switcher {
        margin-right: 10px;
    }

    .button-header2 {
        width: 40px;
        height: 40px;
        /*padding: 8px;*/
    }

    .button-header-form {
        display: none;
    }

    .crm-atp {
        font-size: 28px;
    }
    .highlight-middle-text {
        font-size: 38px;
    }

    .image-item {
        flex: 0 0 150px; /* Fixed width, prevents wrapping */
        border-radius: 20px;
    }

    .frame-footer-contact-us-row {
        grid-template-columns: repeat(1, 1fr);
        gap: 0;
    }

    .frame-section-3-title {
        text-align: center;
        font-size: 32px;
    }
    .highlight-middle-text {
        font-size: 38px;
    }
}

