

/* ==========================================================================
   Base
       ========================================================================== */
@import url(owl.carousel.css);

@font-face {
    font-family: Cocon;
    src: url(../fonts/CoconNextArabicLight.woff) format('woff');
}

*, *:before, *:after {
    box-sizing: border-box;
}

body {
    font-family: cocon, sans-serif;
    background: #fff;
    position: relative;
}

/* ==========================================================================
   Header
   ========================================================================== */


.l-header {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    min-height: 100vh;/* used to make sure the header will cover the screen */
    position: relative;
    padding: 48px 0; /* سيعطي هذا بعض المساحة للشاشات الصغيرة حيث المحتوى أكبر من ارتفاع الشاشة */
    
    background: url(../img/background.png) center center no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

/* for overlay effect */
.l-header:before {
    
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;

    background-color: rgba(0,0,0,0.64);
}

.l-app-preview,
.l-page-fold {
    width: 50%;

    z-index: 10;
    position: relative; /* نحتاج إلى هذا الجزء لأن خاصية z-index لا تعمل مع static */
}

.l-app-preview img {
    display: block;
    margin: 0 auto;
}

.l-page-fold {
    padding-left: 24px; /* نعطي بعض المساحة في الشاشات الصغيرة حيث لا تكفي المساحة ويلتصق المحتوى مع الحافة */
}
.display-title {
    color: #fff;
    font-size: 55px;
    line-height: 1.2;

    margin-bottom: 36px;

}

.display-content {
    color: #fff;
    font-size: 28px;
    line-height: 1.7;

    margin-bottom: 128px;
}

/* ==========================================================================
   nav
   ========================================================================== */

.l-sticky-nav {
    margin-bottom: 128px; /* هذا الجزء منفصل عن روابط التحكم، بالأحرى عندما تلتصق الروابط في أعلى الشاشة سيبقى هذا في مكانه */
}
    .l-sticky-nav.fixed {
    padding: 50px; /* عندما يتم تثبيت التثبيت على روابط التصفح، سيبقى هذا في مكانه حتى لا تختل المساحة */
}

.sticky-nav.affix {
    position: fixed;
}
.sticky-nav {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 24px;
    background-color: #fff;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.1);
    margin: 0;
    list-style: none;
}
.sticky-nav.affix {
    top: 0;
    right: 0;
    width: 100%;
    z-index: 20;
    opacity: 0.7;
    transition: all 200ms ease-out;
}

.sticky-nav.affix:hover {
    opacity: 1;
}

.nav-element--image {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    transition: all 200ms ease-out;
}

.nav-element.active .nav-element--image,
.nav-element:hover .nav-element--image {
    filter: grayscale(0);
    -webkit-filter: grayscale(0);
}

.l-app-feature {
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 128px 0; /* المزيد من المساحة البيضاء دوما مرحب به */
}
    .l-app-feature:nth-child(even) {
    flex-direction: row-reverse;
    background: #13191C;
}
    .l-app-feature:nth-child(even) .app-feature-title,
    .l-app-feature:nth-child(even) .app-feature-text {
        color: white;
}
.app-feature-preview,
.app-feature-content {
    width: 50%;
    max-width: 600px;
}

.app-feature-preview img {
    display: block;
    margin: 0 auto;
}

.app-feature-title {
    font-size: 36px;
    color: #f85940;
    margin-bottom: 36px;
}

.app-feature-text {
    font-size: 28px;
    color: rgba(30,30,30,.9);
    line-height: 1.7;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */


#testimonials-section {
    margin: 48px 0;
}

.section-title {
    font-size: 64px;
    color: #f85940;
    text-align: center;
    margin: 0 0 36px;
    position: relative;
    z-index: 10;
}
.section-title__white {
    color: white;
}
.testimonial-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 0;
    margin-bottom: 48px;
}

.testimonial-text {
    font-size: 32px;
    color: #353535;
    margin-bottom: 64px;
}
.testimonial-text:before,
.testimonial-text:after {
    font-size: 48px;
    display: inline-block;
    padding: 0 16px;
}
.testimonial-text:before {
    content: "”";
}
.testimonial-text:after {
    content: "“";
}

.testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.owl-dots {
    text-align: center;
}

.owl-dot {
    height: 16px;
    width: 16px;
    border: 2px solid #E4523B;
    border-radius: 50%;
    display: inline-block;
    margin: 0 4px;
}

.owl-dot.active {
    background: #E4523B;
}
/* ==========================================================================
   Analysicts
   ========================================================================== */

#analysicts-section {
    position: relative;
    padding: 48px 0;
    margin: 48px 0;
    
    background: url(../img/numbers-background.png) center center no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

/* for overlay effect */
#analysicts-section:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.64);
}

.l-analysicts {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    z-index: 10;
    position: relative;
}

.analysicts-item {
    text-align: center;
    color: white;
}


/* ==========================================================================
   Download
   ========================================================================== */

.cta-button {
    margin: 36px 0;
    text-align: center;
    display: block;
}

.l-social-links {
    display: flex;
    justify-content: space-around;
    padding: 48px 0 64px;
}