﻿
#m_device {
    display: none;
}
@media (min-width: 300px) and (max-width: 767px) {
    #m_device {
        /*display: block ;*/
        min-height: 100vh;
        padding: 5%;
        box-sizing: border-box;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        margin-top: 40px;
    }
 

    .app-continer {
        margin-right: 15px;
        padding: 5%;
        padding-top: 0;
    }

    .m1-app-card {
        background: #ffffff;
        border-radius: 24px;
        width: 100%;
        margin-top: 40px;
        padding: 0;
        overflow: hidden;
    }

    .m1-hero {
        display: flex;
        align-items: center;
        justify-content: center;
       /* max-width: 600px;
        padding: 20px;
        margin: 0 auto;*/
    }

    .m1-hero-container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 0;
        gap: 10%;
        width: 100%;
    }

    .m1-hero-image {
        width: 100%;
        display: flex;
        justify-content: center;
        order: 1;
        flex: 1;
        margin-bottom: 10%;
        margin-top: 5%;
    }

        .m1-hero-image img {
            /*  width: 100%;
            max-width: 90%;
            object-fit: cover;
            height: auto;
            border-radius: 20px;*/
            /*    width: 100%;
            max-width: 90px;
            FONT-WEIGHT: 200;
            height: auto;
            border-radius: 50%;*/
            width: 100%;
            /* max-width: 170px; */
            FONT-WEIGHT: 200;
            height: auto;
           /* border-radius: 50%;*/
        }

    .m1-hero-content {
        width: 100%;
        text-align: left;
        order: 2;
        flex: 1;
    }

    .m1-hero-title {
        font-size: 40px;
        font-weight: 700;
        margin: 0 0 .5rem 0;
        line-height: 1.2;
        color: #000;
    }

    .m1-hero-description {
        font-size: 16px;
        line-height: 1.7;
        margin: 0 auto;
        color: #4a5568;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;letter-spacing:-.3px;
    }

    .btn {
        font-size: 18px;
        font-weight: 600;
        letter-spacing: 0.05em;
        background: unset;
        color: #000000;
        padding: 12px 24px;
        border-radius: 20px;
        border: none;
        width: fit-content;
        cursor: pointer;
        display: flex;
        align-items: center;
        margin-top: .5rem;
        text-decoration: none;
        transition: background 0.2s ease-in-out;
        /* box-shadow: 0 3px 5px -1px rgba(0, 0, 0, .2), 0 5px 8px 0 rgba(0, 0, 0, .14), 0 1px 14px 0 rgba(0, 0, 0, .12); */
        
        padding-left: 0;

    }

        .btn:hover {
            background: #1e40af;
        }

        .btn svg {
            fill: #000;
            margin-left: 8px;
        }

    .d2-title {
        margin: 0;
        padding: 0;
        font-size: 30px;
        color: #000;
    }

    .m2-app-card {
        margin-top: 100px;
    }

    .m2-container {
       /* max-width: 750px;
        margin: 0 auto;
        padding: 20px;*/
      
    }
    .m2-title {
        margin: 0;
        padding: 0;
        font-size: 30px;
        color: #000;
    }

    .m2-feature-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 40px;
    }

    .m2-feature-card {
        background: #fff;
       /* border: 1px solid whitesmoke;*/
        padding: 0;
        /* padding-left: 0; */
        border-radius: 16px;
        /* display: flex
; */
        display: block;
        align-items: center;
        /* gap: 16px; */
        margin-bottom: 40px;
    }

        .m2-feature-card img,
        .m2-feature-card svg {
            width: 45px;
            height: 45px;
            flex-shrink: 0;
        }

        .m2-feature-card div {
            flex: 1;
            margin-top: 7px;
        }

    .m2-container h4 {
        color: #333;
        font-size: 22px;
        line-height: 1.8;
        margin: 0;
        font-weight: 500;
        font-family: YouTube Sans;
    }

    .m2-container p {
        margin: 0;
        font-size: 15px;
        color: #4a5568;
        line-height: 1.6;
        max-width: 500px;
        letter-spacing: .5px;
        font-family: YouTube Sans
    }

    .m2-container * {
        transition: all 0.3s ease;
    }

    .m4-continer {
        margin: 70px 0;
    }

    .m4-section {
        padding: 4rem 1rem;
        text-align: center;
        background-color: whitesmoke;
        border-radius: 20px;
        max-width: 900px;
        margin: 0 auto;
    }

    .m4-title {
        font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem);
        font-weight: 700;
        color: #111827;
        margin-bottom: 1rem;
    }

    .m4-text {
        font-size: 16px;
        color: #4B5563;
        margin-bottom: 2rem;
        line-height: 1.8;
    }

    .m4-button {
        display: inline-block;
        padding: 12px 15px;
        font-size: 16px;
        color: white;
        background-color: #4285f4;
        border-radius: 999px;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }

        .m4-button:hover {
            background-color: #3730a3;
        }

    .m3-title {
        padding: 0;
    }

    .m3-continer {
     /*   max-width: 750px;
        padding: 5%;
        margin: 50px auto;*/
    }

    .m3-faq {
        border-bottom: 1px solid whitesmoke;
    }

        .m3-faq .m3-question {
            border-top: 1px solid rgb(235, 235, 235);
            padding: 30px;
            padding-left: 5px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            cursor: pointer;
            transition: background-color 0.2s ease;
            /* this prevent hightlight browser clike*/
            -webkit-tap-highlight-color: transparent; /* يخفي التأثير الرمادي عند الضغط */
            -webkit-touch-callout: none; /* يعطّل قائمة النسخ في iOS */
            user-select: none; /* يمنع التحديد */
            outline: none;
        }

            .m3-faq .m3-question:focus {
                outline: none;
            }

            .m3-faq .m3-question:focus-visible {
                outline: none;
            }

            .m3-faq .m3-question h3 {
                font-size: 18px;
                line-height: 25px;
                margin: 0;
                font-weight: 500;
                font-family: YouTube Sans;
            }

        .m3-faq .m3-answer {
            padding: 0 16px 24px;
            font-size: 20px;
            line-height: 27px;
            display: none;
        }

            .m3-faq .m3-answer p {
                margin: 0;
            }

        .m3-faq .m3-question::after {
            content: '';
            position: absolute;
            width: 10px;
            height: 9px;
            right: 16px;
            top: 50%;
            transform: translateY(-50%) rotate(225deg);
            border: 2px solid transparent;
            border-top-color: currentColor;
            border-right-color: currentColor;
            transition: transform 0.3s ease;
        }

        .m3-faq .m3-question.rotated::after {
            transform: translateY(-50%) rotate(135deg);
        }
}


