﻿/* 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: sans-serif
}

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

#app_container h1,
#app_container h2,
#app_container h3,
#app_container h4,
#app_container p {
    color: #333;
}
/*#app_container h1, #app_container h2 {
    font-family: system-ui;
 
}*/
#app_container p {
    font-family: system-ui;
}
.device {
    display: none;
}

/* Desktop بين 1081 و 1400 (للبادينغ فقط) */
@media (min-width:1081px) and (max-width:1400px) {
    #d_device {
       
        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: 50px;
        padding: 0;
        text-align: left;
    }

    .d1-hero {
        display: flex;
        align-items: center;
        justify-content: center;
        max-width: 1040px;
        padding: 0;
       
        margin: 100px 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: flex-end;
        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%;*/
           /* margin-right: 3.5rem;*/
            /*height: 350px;*/
            /*width: 350px;
            object-fit: cover;*/
            /*border-radius: 100%;*/
            /*position: absolute;*/
            /*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);*/
        /*}

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

    .d1-hero-title {
        font-size: 40px;*/
        /*font-weight: 700;*/
        /*margin: 0 0 1.5rem 0;
        line-height: 1.2;
        font-family: system-ui;
    }

    .d1-hero-description {
        font-size: 20px;
        line-height: 1.7;*/
        /*padding-left: 1.5rem;
        padding-right: 1.5rem;*/
        /*max-width: 500px;*/
        /*margin: 0 auto;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        
    }
        .d1-hero-description span {
            display:none
        }
            @media(min-width:1230px) {
                .d1-hero-description span {
                    display: inline-block
                }
            }*/
            /* this if width less thank 1108px */
    /*@media(max-width:1108px) {
        .d1-hero-description  {
           font-size:18px
        }
    }

        }*/


    /* Start Global Rules */
  /*  * {
        box-sizing: border-box;
    }

    body {
        font-family: 'Open Sans', sans-serif;
    }


*/
    .d1-app-card{
        margin-top:60px;
    }
    a {
        text-decoration: none;
    }

    ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .d1-container {
        padding-left: 15px;
        padding-right: 15px;
        margin-left: auto;
        margin-right: auto;
    }
    .d1-info{
        max-width:450px;
    }
        .d1-info h1 {
            font-size: 35px;
            font-family: sans-serif;
         /*   font-weight: 800;*/
        }

     /*   .d1-info h1{
            font-weight:800;font-size:
        }*/
        /* Small */
        @media (min-width: 768px) {
            .d1-container {
            width: 750px;
        }
    }
    /* Medium */
    @media (min-width: 992px) {
        .d1-container {
            width: 970px;
        }
    }
    /* Large */
    @media (min-width: 1200px) {
        .d1-container {
            width: 1170px;
        }
    }
    /* End Global Rules */

    /* Start Landing Page */
    .d1-landing-page .d1-content .d1-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 140px;
        /*min-height: 100vh;*/
    }

    @media (max-width: 767px) {
        .d1-landing-page .d1-content .d1-container {
            gap: 0;
            justify-content: center;
            flex-direction: column-reverse;
        }
    }

    @media (max-width: 767px) {
        .d1-landing-page .d1-content .d1-info {
            text-align: center;
            margin-bottom: 15px;
        }
    }

    .d1-landing-page .d1-content .d1-info h1 {
        color: #5d5d5d;
        font-size: 44px;
    }

    .d1-landing-page .d1-content .d1-info p {
        margin: 0;
        line-height: 1.6;
        font-size: 16px;
        color: #5d5d5d;
    }

    .d1-landing-page .d1-content .d1-info button {
        border: 0;
        border-radius:70px;
        padding: 12px 17px;
        font-size: 13px;
        font-weight: 700;
        font-family: sans-serif;
        margin-top: 30px;
        cursor: pointer;
        color: #ffffff;
        /* background-color: #6c63ff; */
        background: rgb(26, 115, 232);
    }

    .d1-landing-page .d1-content .d1-image img {
        max-width: 100%;
    }
    /* End Landing Page */

/* -------------------------------------------------  Seecod d2 -----------------------------------------*/
/*.d2-app-card{
    margin-right:25px
}*/

    /*.d2-container {
        max-width: 1170px;
        margin: 100px auto;
        padding: 0 15px;*/
        /*padding-left: 4.5%;*/
        /*padding-top: 0;
        padding-bottom: 100px;
    }*/
    .d2-app-card{
        margin-top:10%;
    }
    .d2-container {
        max-width: 1170px;
        margin: 100px auto; /* تمامًا مثل السيكشن الأول */
        padding-left: 24px;
        padding-right: 24px;
        padding-top: 0;
        padding-bottom: 100px;
    }

.d2-title {
    font-size: 40px;
    margin-bottom: 10%;
    /*margin-top: 15%;*/
    font-family: system-ui;
}
/* التنسيق العام للقسم */
.d2-services-section {
    /*padding: 50px 20px;*/
    padding: 0;
    text-align: center;
    direction: ltr;
}

.d2-section-title {
    font-size: 36px;
    color: #000;
    margin-bottom: 40px;
    font-weight: 800;text-align:left;
}

/* تنسيق حاوية البطاقات باستخدام CSS Grid */
.d2-services-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
  /*  max-width: 1040px;
    margin: 0 auto;*/
}

/* تنسيق بطاقة الخدمة الواحدة */
.d2-service-card {
    background-color: #ffffff;
    /*  padding: 30px 10px;*/
    padding: 0;
    box-shadow: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* تنسيق الأيقونات */
.d2-service-icon {
    font-size: 50px;
    color: #4dc4c3;
  /*  background-color: #f7f7f7;*/
    /* border: 3px solid #f7f7f7;*/
    border-radius: 0;
    padding: 15px;
    margin-bottom: 20px;
    width: 50%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    display: flex;
    justify-content: center;margin:0;
}

    .d2-service-icon img {
        width: 50px;
        height: 50px
    }

    .d2-service-title {
        font-size: 16px;
        color: #000;
        margin: 0;
        margin-bottom: 10px;
        font-weight: 600;
    }

.d2-service-description, .d2-service-action {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    background: none;
    border: none;
    padding: 0;
}

.d2-service-action {
    color: #666;
    margin-top: 15px;
    font-weight: normal;
}

/* التنسيق المتجاوب */
@media (max-width: 992px) {
    .d2-services-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .d2-services-container {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .d2-service-card {
        text-align: center;
        align-items: center;
    }
}




/* -------------------------------------------------  Seecod d4 -----------------------------------------*/
.d4-continer {
    margin-top: 10%;
    margin-bottom:100px
}
    .d4-section {
        padding: 4rem 1rem;
        text-align: center;
        background-color: whitesmoke;
        border-radius: 20px;
        max-width: 1170px;
        margin: 100px 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);
      /*  background: #6c63ff;*/
        border-radius: 999px;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }

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


/* -------------------------------------------------  Seecod d3 -----------------------------------------*/





/* ------------------------------------------------- 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;
}








