﻿/* Libs */
@import url("//fonts.googleapis.com/css?family=Lato:400,300,100");
@import url("//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.0.3/css/font-awesome.min.css");
/* General */

body {
    /*font-family: YouTube Sans, Roboto, Arial, sans-serif;*/
    font-family: 'Segoe UI', sans-serif;
}

#main_p_h {
    max-width: 1200px; /* أو 1920px إذا أردت الدعم الكامل للشاشات الكبيرة جداً */
    margin: 0 auto;
    box-sizing: border-box;
    width: 100%;padding:0;
}


.device {
    display: none ;
}

/* Desktop بين 1081 و 1400 (للبادينغ فقط) */
@media (min-width:1081px) and (max-width:1400px) {
    #d_device {
        padding: 7%;
        padding-top: 0;
    }
}

@media (min-width:1081px) {


 /*   #d_device {
        display: block ;
    }*/
 
    .app-continer {
        margin-right: 15px;
        padding: 5%;
        padding-top: 0;
    }

    .d1-app-card {
        background: #ffffff;
        border-radius: 24px;
        width: 100%;
        margin-top: 100px;
        padding: 0;
        text-align: left;
    }

    .d1-hero {
        display: flex;
        align-items: center;
        justify-content: center;
        max-width: 1140px;
        padding: 30px;
        margin: 0 auto;
    }

    .d1-hero-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        /*align-items: center;*/
        padding: 0;
        gap: 2rem;
        width: 100%;
    }

    .d1-hero-image {
        /*   width: 100%;
        max-width: 500px;
        display: flex;
        justify-content: flex-end;
        order: 2;
        flex: 1;*/

        width: 100%;
        max-width: 500px;
        display: flex;
        justify-content: center;
        order: 2;
        flex: 1;
        position:relative;align-items:center;
    }

        .d1-hero-image img {
            /*   width: 100%;
            max-width: 100%;
            object-fit: cover;
            height: auto;
            border-radius: 5px;*/
            width: 100%;
            max-width: 350px;
            /*FONT-WEIGHT: 200;*/
            height: auto;
            /*border-radius: 100%;*/ position: absolute;
        }

    .d1-hero-content {
        width: 100%;
        max-width: 500px;
        text-align: left;
        order: 1;
        flex: 1;
    }

    .d1-hero-title {
        font-size: 60px;
        font-weight: 700;
        margin: 0 0 1.25rem 0;
        line-height: 1.2;
        color: #333;
    }

    .d1-hero-description {
        font-size: 19px;
        line-height: 1.7;
        /*padding-left: 1.5rem;
        padding-right: 1.5rem;*/
        max-width: 500px;
        margin: 0 auto;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        color: #4a5568;
    }

    .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: 1rem; 
        text-decoration: none;
        padding-left: 0;
        /* 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);*/
    }

        .btn:hover {
            border: 1px solid whitesmoke;
        }

        .btn:active {
            transform: translateY(1px);
        }

        .btn svg {
            fill: #000;
        }
}



/* -------------------------------------------------  Seecod d2 -----------------------------------------*/


.d2-container {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0;padding-bottom:100px;
}
    .d2-title{
        font-size:40px;margin-bottom:10%;margin-left:40px;margin-top:15%;
    }

   .d2-title-h4 {
        font-size: 20px;
        margin-bottom: 12px;
        color: #1a202c;
    }

.d2-container p {
    margin: 0 0 16px 0;
    font-size: 18px;
    line-height: 1.6;
    color: #4a5568;
    letter-spacing: -0.55px;
    /* display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #4a5568;*/
}
/*.d2-icon{
    display:flex;justify-content:flex-end;
}
.d2-svg {
    fill: rgb(26,115,232);
}*/

.d2-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 5%;
    padding: 0;
    margin-top: 48px;
}

.d2-feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px;
    border: 1px solid rgb(235,235,235);border-radius:20px;
}

    .d2-feature-card img {
        width: 54px;
        height: 54px;
        margin-bottom: 16px;
    }

.d2-btn {
    margin-top: 40px;
    padding: 16px 32px;
    background-color: #5a67d8;
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease;
    display: inline-block;
}

    .d2-btn:hover {
        background-color: #434190;
    }





/* -------------------------------------------------  Seecod d4 -----------------------------------------*/
.d4-continer {
    margin-top: 120px  ;
}
.d4-section {
    
    padding: 4rem 1rem;
    text-align: center;
    background-color: whitesmoke;
    border-radius: 20px;
    max-width: 1240px;
   
    margin: 0 auto;
    
}


.d4-title {
    font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem);
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.d4-text {
    font-size: 16px;
    color: #4B5563;
    margin-bottom: 2rem;line-height:1.8;
}

.d4-button {
    display: inline-block;
    padding: 12px 15px;
    font-size: 16px;
    color: white;
    background: rgb(26,115,232);
    border-radius: 999px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

    .d4-button:hover {
        background-color: #3730a3;
    }


/* -------------------------------------------------  Seecod d3 -----------------------------------------*/
.d3-title{
    padding:40px
}
.d3-continer {
    max-width: 1200px;
    margin: 90px auto;margin-bottom:10%;
}

.d3-faq {
    border-bottom: 1px solid whitesmoke;
}

    .d3-faq .d3-question {
        border-top: 1px solid rgb(235,235,235);
        padding: 30px;
        padding-left: 15px;
        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;
    }

    .d3-faq .m3-question:focus {
        outline: none;
    }

    .d3-faq .m3-question:focus-visible {
        outline: none;
    }

    .d3-faq .d3-question h3 {
        font-size: 20px;
        line-height: 25px;
        margin: 0;
        font-weight: 500;
        font-family: YouTube Sans;
    }

    .d3-faq .d3-answer {
        padding: 0 16px 24px;
        font-size: 20px;
        line-height: 27px;
        display: none;
    }

        .d3-faq .d3-answer p {
            margin: 0;
        }

    .d3-faq .d3-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;
    }

    .d3-faq .d3-question.rotated::after {
        transform: translateY(-50%) rotate(135deg);
    }




/* ------------------------------------------------- Loder -----------------------------------------*/
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: white;
    /*backdrop-filter: blur(4px);*/
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
}

    .loader-overlay img {
        max-width: 35px;
        height: auto;
    }

.loader-text {
    margin-top: 20px;
    font-size: 18px;
    color: #333;
}

#loader {
    transition: opacity 0.4s ease;
}





