﻿@media (min-width: 768px) and (max-width: 1080px) {
    #t_device {
        /*display: block ;*/
        min-height: 100vh;
        padding: 5%;
        box-sizing: border-box;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
   

    .app-continer {
        margin-right: 15px;
        padding: 5%;
        padding-top: 0;
    }

    .t1-app-card {
        background: #ffffff;
        border-radius: 24px;
        width: 100%;
        margin-top: 40px;
        padding: 0;
        overflow: hidden;
    }

    .t1-hero {
        display: flex;
        align-items: center;
        justify-content: center;
        max-width: 700px;
        padding: 30px;
        margin: 0 auto;
    }

    .t1-hero-container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 0;
        gap: 2rem;
        width: 100%;
    }

    .t1-hero-image {
        width: 100%;
        display: flex;
        justify-content: center;
        order: 2;
        flex: 1;
    }

        .t1-hero-image img {
            width: 85%;
           /* max-width: 300px;*/
            FONT-WEIGHT: 200;
            /* max-height: 270px; */
          
            /* border-radius: 50%;*/
        }

    .t1-hero-content {
        /*width: 100%;
        text-align: left;
        order: 2;
        flex: 1;*/
            width: 100%;
            text-align: left;
            order: 2;
            flex: 1;
        }

    .t1-hero-title {
        font-size: 55px;
        /*font-weight: 600;*/
        margin: 0;
        line-height: 1.5;
        color: #333;
    }

    .t1-hero-description {
        font-size: 17px;
        line-height: 1.7;
        color: #4a5568;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 700px;
        margin-bottom: .5rem;margin-top:.5rem;
    }

    .btn {
        font-size: 19px;
        font-weight: 500;
        letter-spacing: 0.05em;
        background: url();
        color: #000;
        padding: 12px 15px;
        border-radius: 13px;
        border: none;
        width: fit-content;
        cursor: pointer;
        display: flex;
        align-items: center;
        /* margin-top: 2rem; */
        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: 40px;
        color: #333;
        margin-bottom: 2rem;
        /*font-weight: 600;*/
    }
    .t2-app-card {
        margin-top: 30px;
    }

    .t2-container {
        max-width: 700px;
        margin: 0 auto;
        padding: 30px;padding-right:40px;
    }

    .t2-feature-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 20px;
    }

    .t2-feature-card {
        background: #fff;
        padding: 20px 0;
        border-radius: 16px;
        /* box-shadow: 0 6px 18px rgba(0,0,0,0.03);*/

        align-items: center;
        gap: 16px;
        display: flex;
        /*border: 1px solid rgb(242,242,242);*/
        padding: 1rem;
        padding-left: 0;
    }

        .t2-feature-card img,
        .t2-feature-card svg {
            width: 30px;
            height: 30px;
            flex-shrink: 0;
        }

        .t2-feature-card div {
            flex: 1;
        }

    .t2-container h4 {
        color: #000;
        font-size: 25px;
        line-height: 1.8;
        margin: 0;
        font-weight: 500;
        font-family: sans-serif;
    }

    .t2-container p {
        margin: 0;
        font-size: 16px;
        color: #4a5568;
        line-height: 1.6;
    }
    @media(min-width:800px) {
        .t2-container p {
            max-width: 640px;
        }
    }

    .t2-container * {
        transition: all 0.3s ease;
    }


    /* -------------------------------------------------  Seecod t4 -----------------------------------------*/
    .t4-continer {
        margin: 70px 20px;
    }

    .t4-section {
        padding: 4rem 1rem;
        text-align: center;
        background-color: whitesmoke;
        border-radius: 20px;
        max-width: 900px;
        margin: 0 auto;
    }

    .t4-title {
        font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem);
        font-weight: 500;
        color: #111827;
        margin-bottom: 1rem;
    }

    .t4-text {
        font-size: 16px;
        color: #4B5563;
        margin-bottom: 2rem;
        line-height: 1.8;
    }

    .t4-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;
    }

        .t4-button:hover {
            background-color: #3730a3;
        }

    /* -------------------------------------------------  Seecod t3 -----------------------------------------*/
    .t3-title {
        padding: 0;
        font-size: 35px;
    }

    .t3-continer {
        max-width: 750px;
        padding: 30px;
        margin: 50px auto;
    }

    .t3-faq {
        border-bottom: 1px solid whitesmoke;
    }

        .t3-faq .t3-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;
        }

        .t3-faq .m3-question:focus {
            outline: none;
        }

        .t3-faq .m3-question:focus-visible {
            outline: none;
        }

        .t3-faq .t3-question h3 {
            font-size: 20px;
            line-height: 25px;
            margin: 0;
            font-weight: 600;
            font-family: YouTube Sans;
        }

        .t3-faq .t3-answer {
            padding: 0 16px 24px;
            font-size: 20px;
            line-height: 27px;
            display: none;
        }

            .t3-faq .t3-answer p {
                margin: 0;
            }

        .t3-faq .t3-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;
        }

        .t3-faq .t3-question.rotated::after {
            transform: translateY(-50%) rotate(135deg);
        }

}
