@import url('https://fonts.cdnfonts.com/css/neo-sans-arabic');

body {
    font-family: 'Neo Sans Arabic', sans-serif;
    background-color: #f8f9fa;
    direction: rtl;
    text-align: right;
    margin: 0;
    padding: 0;
}

/* Home Page Default */
.home-page {
    background: url('images/background-wave.png') no-repeat center;
    background-size: cover;
    object-fit: cover;
    padding: 60px 0 0;
}

.logo {
    padding: 0 20px;
}

.home-page .content {
    padding: 0 40px;
}

.logo img {
    width: 120px;
}

.mobiles-img {
    position: relative;
    top: 110px;
    right: 40px;
    max-width: 100%;
    height: auto;
}

.text-content {
    padding: 120px 0;
    position: relative;
    top: 100px;
}

.text-content h1 {
    font-weight: 700;
    font-size: 34px;
    line-height: 48px;
    color: #228B7F;
}

.text-content .desc {
    font-weight: 400;
    font-size: 24px;
    line-height: 34px;
    color: #464646;
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating .user {
    font-weight: 700;
    font-size: 20px;
    color: #228B7F;
}

.rating .rate {
    font-weight: 600;
    font-size: 16px;
    color: #464646;
}

.review {
    font-weight: 400;
    font-size: 16px;
    line-height: 31px;
    color: #464646;
}

.users-count {
    margin: 20px 0 60px;
    padding: 0px 145px;
}

.users-count img {
    width: 140px;
}

/* Hide mobile layout on desktop */
.home-page-mobile {
    display: none;
}

/* === Tablet / iPad Layouts (Keep scroll & structure) === */
@media (max-width: 1024px) {
    .text-content {
        padding: 60px 0;
        text-align: center;
        top: 0;
    }

    .text-content h1 {
        font-size: 28px;
        line-height: 42px;
    }

    .text-content .desc {
        font-size: 20px;
        line-height: 30px;
    }

    .review {
        font-size: 14px;
        line-height: 26px;
    }

    .rating {
        justify-content: center;
    }

    .mobiles-img {
        top: 50px;
        right: 0;
        max-width: 85%;
        margin: auto;
        display: block;
        position: relative;
    }

    .users-count {
        padding: 0;
        margin: 40px 0;
        text-align: center;
    }

    .users-count img {
        width: 110px;
        margin: auto;
    }

    .btn img {
        width: 200px;
    }
}

/* === Mobile-Only: One-Screen Layout === */
@media (max-width: 768px) {

    html,
    body {
        /* overflow: hidden; */
        height: 100vh;
    }

    .home-page {
        display: none;
    }

    .home-page-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* text-align: center; */
        padding: 20px;
    }


    .logo {
        padding: 0;
    }

    .home-page .content {
        padding: 0 20px;
    }

    .logo img {
        width: 100px;
    }

    .row {
        flex-direction: column-reverse;
        margin: 0;
        padding: 0;
        text-align: center;
    }

    .text-content {
        position: static;
        padding: 10px 0;
    }

    .text-content h1 {
        font-size: 16px;
        line-height: 24px;
    }

    .text-content .desc {
        font-size: 14px;
        line-height: 24px;
    }

    .rating {
        justify-content: center;
    }

    .review {
        font-size: 12px;
        line-height: 22px;
    }

    .mobiles-img {
        position: static;
        max-width: 80%;
        margin: 10px auto;
    }

    .btn img {
        width: 180px;
    }

    .users-count {
        margin: 0;
        padding: 0;
        text-align: center;
    }

    .users-count img {
        width: 90px;
        margin: auto;
    }
}