*,
*::after,
*::before {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: "Noto Kufi Arabic", sans-serif;
}
:root {
    --primary-color: #627534;
    --secondary-color: #ffffff;
    --gray-color: #696868;
    --border-color: #e7e7e7;
    --second-gray-color: #888888;
    --third-gray-color: #696868;
}
.html {
    font-size: 62.5%;
}

.navbar input[type="checkbox"],
.navbar .hamburger-lines {
    display: none;
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: auto;
}

.navbar {
    /* box-shadow: 0px 5px 10px 0px #aaa; */
    position: fixed;
    width: 100%;
    background: transparent;
    color: #000;
    /* opacity: 0.85; */
    z-index: 100;
    padding-top: 1.5rem;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    height: 64px;
    align-items: center;
}

.menu-items {
    order: 2;
    display: flex;
}
.download-btn {
    order: 3;
    display: flex;
}
.logo {
    order: 1;
    font-size: 2.3rem;
}

.menu-items li {
    list-style: none;
    margin-left: 1.5rem;
    font-size: 1.3rem;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    font-weight: 300;
    transition: all 0.3s ease-in-out;
    font-size: 1rem;
}

.navbar a:hover {
    font-weight: 500;
}

a.navbar-active {
    color: #fff !important;
    font-weight: 600 !important;
}
.closing-btn {
    display: none;
}
@media (max-width: 768px) {
    #slider {
        height: 15rem !important;
    }
    .navbar-container input[type="checkbox"],
    .navbar-container .hamburger-lines {
        display: block;
    }
    .splide__slide {
        align-items: center;
    }
    .navbar-container {
        display: block;
        position: relative;
        height: 5.5rem;
    }

    .navbar-container input[type="checkbox"] {
        position: absolute;
        display: block;
        height: 14px;
        width: 20px;
        top: 2rem;
        left: 0px;
        z-index: 5;
        opacity: 0;
        cursor: pointer;
    }

    .navbar-container .hamburger-lines {
        display: block;
        height: 14px;
        width: 20px;
        position: absolute;
        top: 2rem;
        left: 0px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .navbar-container .hamburger-lines .line {
        display: block;
        height: 2px;
        width: 100%;
        border-radius: 10px;
        background: #fff;
    }
    .closing-btn {
        position: absolute;
        top: 1rem;
        font-size: 1.5rem;
        color: #888888;
        display: block;
    }
    .closing-btn:hover {
        cursor: pointer;
    }
    .closing-btn img {
        height: 14px;
        width: 20px;
    }
    .navbar-container .hamburger-lines .line1 {
        transform-origin: 0% 0%;
        transition: transform 0.3s ease-in-out;
    }

    .navbar-container .hamburger-lines .line2 {
        transition: transform 0.2s ease-in-out;
    }

    .navbar-container .hamburger-lines .line3 {
        transform-origin: 0% 100%;
        transition: transform 0.3s ease-in-out;
    }

    .navbar .menu-items {
        padding-top: 6rem;
        background: #fff;
        height: 100vh;
        max-width: 90vw;
        transform: translate(-150%);
        display: flex;
        flex-direction: column;
        margin-right: -12vw;
        padding-right: 1rem;
        transition: transform 0.5s ease-in-out;

        overflow: scroll;
    }
    .navbar .menu-items .btn {
        display: block !important;
        width: 70vw !important;
        text-align: center;
        color: #fff !important;
        padding: 0.4rem 0 !important;
        margin-top: 0.8rem;
    }
    .navbar .menu-items a {
        color: #888888 !important;
    }
    .navbar .menu-items li {
        margin-bottom: 1rem;
        font-size: 1.1rem;
        font-weight: 500;
    }

    .logo {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 2.5rem;
    }
    .navbar-container input[type="checkbox"]:checked {
        transform: translateX(62vw);
        top: 1rem;
    }
    .navbar-container input[type="checkbox"]:checked ~ .menu-items {
        transform: translateX(-30vw);
        box-shadow: 10px 0px 0px 100vw rgb(0, 0, 0, 50%);
    }
    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line {
        background-color: #888888 !important;
    }
    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
        transform: rotate(45deg);
        display: none;
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
        transform: scaleY(0);
        display: none;
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
        transform: rotate(-45deg);
        display: none;
    }
    .navbar .menu-items a.navbar-active {
        color: #627534 !important;
        font-weight: 600 !important;
    }
}
.navbar-scroll a.navbar-active {
    color: #627534 !important;
    font-weight: 600 !important;
}

@media (max-width: 500px) {
    .navbar-container input[type="checkbox"]:checked ~ .logo {
        display: none;
    }
}
.logo-color {
    display: none;
}
.navbar-scroll {
    background-color: #fff !important;
    border: 1px solid #f7f7f7;
    box-shadow: 0px 4px 10px 0px #cccccc17;
}

.navbar-scroll a {
    color: var(--primary-color) !important;
}
.navbar-scroll .download-btn a {
    background-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
}
.navbar-scroll .logo-white {
    display: none !important;
}
.navbar-scroll .logo-color {
    display: block !important;
}
.navbar-scroll .navbar-container .hamburger-lines .line {
    background-color: #888;
}
.download-btn a {
    font-weight: 400 !important;
    font-size: 1rem !important;
    padding: 0.4rem 1.7rem;
}
.row {
    width: 100%;
    display: flex;
    flex-flow: wrap;
}
.d-flex {
    display: flex;
}
.flex-col-flow {
    flex-direction: column;
}
.justify-content-center {
    justify-content: center;
}
.justify-content-between {
    justify-content: space-between;
}
.col-2 {
    width: calc(100% / 6);
}
.col-md-6 {
    width: calc(100% / 2);
}
.col-md-4 {
    width: calc(100% / 3);
}
.col-md-5 {
    width: calc(100% / 2.5);
}
.col-md-3 {
    width: calc(100% / 4);
}
.col-12 {
    width: 100%;
}
.col-md-8 {
    width: calc(100% / 1.5);
}
.col-md-9 {
    width: 75%;
}
.mr-4 {
    margin-right: 1rem;
}
.d-none {
    display: none !important;
}
.mobile-hidden {
    display: block;
}
.d-lg-none {
    display: none;
}
@media (max-width: 768px) {
    .d-lg-none {
        display: block;
    }
    .col-2 {
        width: calc(100% / 2);
    }
    .col-md-6 {
        width: 100%;
    }
    .col-md-4 {
        width: 100%;
    }
    .col-md-3 {
        width: 100%;
    }
    .col-sm-12 {
        width: 100% !important;
    }
    #main-section .title {
        font-size: 2.5rem !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.5 !important;
    }
    #main-section {
        padding-top: 7.5rem !important;
        height: auto !important;
    }
    .logo img {
        width: 5rem !important;
    }
    #main-section p {
        font-size: 0.9rem !important;
    }
    #main-section .btn {
        font-size: 0.9rem !important;
        padding: 0.6rem 2.2rem !important;
    }
    #main-section img {
        margin-top: 4rem;
    }
    .navbar {
        padding-top: 0rem !important;
    }
    .navbar .logo {
        padding-top: 0.6rem !important;
    }
    #books .title {
        font-size: 2rem !important;
    }
    #books .description {
        width: 100% !important;
        font-size: 0.9rem !important;
    }
    #categories {
        height: 4rem;
        overflow-x: scroll;
        flex-direction: column;
    }
    .category {
        min-width: 6rem;
        padding: 0.2rem 0.8rem !important;
        margin-bottom: none !important;
        height: 2.5rem;
    }
    #categories {
        margin-bottom: 1.2rem !important;
    }
    #books {
        margin-bottom: 2rem !important;
    }
    #download-app {
        margin-top: 5rem !important;
        padding-top: 4rem !important;
        padding-bottom: 6rem;
    }
    #download-app img {
        max-width: 100%;
    }
    #download-app h3 {
        font-size: 1.2rem !important;
        font-weight: 400;
        width: 90% !important;
        margin-top: 0 !important;
        margin-bottom: 1rem;
    }
    #authors h2,
    #contact-us h2 {
        font-size: 2rem !important;
        font-weight: 400;
    }

    #authors p,
    #contact-us p {
        width: 100% !important;
        font-size: 1.1rem;
    }
    #download-app .stores {
        width: 8rem !important;
        height: 2.5rem !important;
    }
    #download-app img {
        margin-top: 3rem;
    }
    #download-app {
        padding-bottom: 4rem;
    }
    #contact-us .col-md-8 .col-md-6,
    #contact-us .col-md-8 {
        width: 100% !important;
    }
    #contact-us .btn {
        width: 100% !important;
        padding: 0.4rem 1.7rem !important;
        font-size: 1rem !important;
    }
    footer {
        margin-top: 4rem !important;
        padding: 0 !important;
    }

    footer .col-md-4:nth-of-type(1) {
        margin-top: 3rem;
        margin-bottom: 2.5rem;
    }
    footer .col-md-4:nth-of-type(3) {
        margin-top: 3rem;
    }
    footer .col-md-4:nth-of-type(3) h4 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .social-media li {
        margin: 0 0.6rem !important;
    }
    .social-media li:first-of-type {
        margin-right: 0 !important;
    }
    #copyrights {
        padding-bottom: 1.5rem;
        margin-top: 2rem !important;
    }
    #copyrights .col-md-2:first-of-type {
        margin-bottom: 1rem;
    }
    .mobile-hidden {
        display: none !important;
    }
    .privacy,
    .terms {
        padding-top: 8rem !important;
    }
}
.load-more-btn {
    color: #888888;
    background-color: #f7f7f7;
    border-radius: 2rem;
    margin-top: 2rem;
    text-decoration: none;
    padding: 0.2rem 1rem;
}
.mt-4 {
    margin-top: 2rem;
}
.btn {
    padding: 0.8rem 1.7rem;
    border-radius: 0.6rem;
    text-decoration: none;
    font-size: 1.2rem;
    border: none;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}
.btn-primary:hover {
    background-color: #fa7f7f;
}
.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color) !important;
}
.btn-secondary:hover {
    background-color: #f0f0f0;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
.text-primary {
    color: var(--primary-color);
}
.text-gray {
    color: var(--gray-color);
}
.text-secondary {
    color: var(--secondary-color);
}
.container {
    width: 90%;
}
.logo img {
    width: 4rem;
}

#main-section {
    background: linear-gradient(
        90deg,
        #627536,
        #b79851,
        #627536,
        #627536,
        #627536,
        #b79851
    );
    padding-top: 13rem;
    padding-bottom: 4rem;
    height: 100vh;
}

#main-section .title {
    font-size: 4rem;
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 2.5rem;
}
#main-section img {
    max-width: 100%;
}

#main-section p {
    margin-bottom: 2.5rem;
    font-size: 1.5rem;
}

#books {
    padding-top: 4rem;
    margin-bottom: 8rem;
}

#books .title {
    font-size: 3rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}
#categories {
    margin-bottom: 6rem;
}
#books .description {
    font-size: 1.2rem;
    margin: 0 auto;
    margin-bottom: 2.5rem;
    width: 60%;
}
.category {
    border: 1px solid var(--border-color);
    color: var(--second-gray-color);
    border-radius: 1.8rem;
    padding: 0.4rem 1.4rem;
    margin: 0 0.3rem;
    margin-bottom: 0.8rem;
}
.category:hover {
    cursor: pointer;
}
.active-category {
    color: var(--secondary-color);
    background-color: var(--primary-color);
    border: none;
}
#books-container .col-2 {
    margin-bottom: 2.5rem;
}
#books-container .book_cover {
    margin: 0 auto;
    margin-bottom: 1rem;
    max-width: 100%;
    width: 10rem;
    height: 15rem;
    border-radius: 10px;
    overflow: hidden;
}

#books-container .book_cover div {
    height: 100%;
    width: 100%;
    border-radius: 10px;
    transition: 0.5s all ease-in-out;
}
#books-container .book_cover div:hover {
    transform: scale(1.3);
    cursor: pointer;
}
#books-container .book-author {
    margin-bottom: 0.5rem;
}

#books-container .book-rating img {
    margin: 0;
    width: 1.1rem;
    height: 1.1rem;
}

#books-container .rating {
    line-height: 1.5;
}

#authors {
    margin-top: 10rem;
}

#authors h2,
#contact-us h2 {
    font-size: 3rem;
    font-weight: 400;
}

#authors p,
#contact-us p {
    width: 50%;
    margin: 0 auto;
    font-size: 1rem;
    color: var(--third-gray-color);
    margin-top: 1.2rem;
    margin-bottom: 4rem;
}
#contact-us .col-md-8 .col-md-6 {
    width: 49%;
}
#authors p {
    width: 45%;
}
.slide img {
    border-radius: 50%;
    width: 10rem;
    height: 10rem;
}

.slide span {
    margin-top: 0.7rem;
    width: 75%;
}
/* .splide__pagination {
    counter-reset: pagination-num;
}

.splide__pagination__page:before {
    counter-increment: pagination-num;
    content: counter(pagination-num);
} */

#slider {
    height: 20rem;
}

.splide__pagination__page {
    background-color: #fdd7d7 !important;
}
.splide__pagination__page.is-active {
    background-color: #627534 !important;
    opacity: 1;
    width: 1rem;
    border-radius: 1rem;
}

#download-app {
    background-color: #f6f6f6;
    margin-top: 5rem;
    padding-top: 8rem;
    padding-bottom: 6rem;
}
#download-app img {
    max-width: 100%;
}
#download-app h3 {
    font-size: 1.7rem;
    font-weight: 400;
    width: 65%;
    margin-top: 6rem;
}

#download-app .stores {
    width: 10rem;
    height: 3rem;
    margin-top: 2rem;
}
#download-app .stores:hover {
    transform: scale(1.1);
}
#contact-us {
    padding-top: 5rem;
}

.form-control {
    padding: 0.8rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #d9d9d9;
    width: 100%;
    margin: 0.6rem 0rem;
    background-color: #fff;
}
.form-control::placeholder {
    color: #7f7f7f;
    font-family: "Noto Kufi Arabic", sans-serif;
}
.form-control-container {
    display: flex;
    box-sizing: content-box;
    flex-flow: column;
    text-align: right;
}
input[type="radio"] {
    width: auto !important;
    margin-left: 0.4rem;
}
input[type="radio"] {
    accent-color: #2a2a2a;
}
textarea {
    resize: none;
}
.is-invalid {
    border-color: #ff0000;
}
.invalid-feedback {
    color: #ff0000;
    display: block;
    font-weight: 300;
    font-size: 0.8rem;
    padding-right: 0.6rem;
}
.form-control:focus,
.form-control::selection,
.form-control:active,
.form-control:focus-visible,
input[type="radio"]:checked {
    outline: none !important;
    border: 1px solid #2a2a2a !important;
}

footer {
    margin-top: 8rem;
    background-color: #f6f6f6;
    padding: 4rem 0;
}

footer img {
    width: 10rem;
}

footer ul {
    list-style: none;
}

footer a {
    text-decoration: none;
    color: #2a2a2a;
}

footer ul li {
    padding: 0.2rem 0;
}

#copyrights {
    margin-top: 5rem;
    /* text-align: center; */
    border-top: 1px solid #e7e7e7;
    color: #696868 !important;
    padding-top: 1.5rem;
}
#copyrights a {
    color: #696868 !important;
}
#copyrights div {
    padding: 0 0.7rem;
    line-height: 1.2;
}

.border-between {
    border-left: 1px solid #696868;
    border-right: 1px solid #696868;
}

#copyrights a.page-hover:hover {
    color: #2a2a2a !important;
}
.social-media li {
    margin: 0 0.4rem;
}
.social-media img {
    width: 2rem;
}

footer h4 {
    font-weight: 400;
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
}

.card {
    background-color: #ffffff8c;
    border-radius: 10px;
    margin-top: 4rem;
    padding: 2rem 4rem;
    box-shadow: 0px 0px 24px 0px #8888881f;
    height: 100vh;
    overflow: scroll;
    margin-bottom: 3rem;
    padding-bottom: 4rem;
}

#join-us h2 {
    font-weight: 400;
    font-size: 2rem;
    padding: 2.5rem 0;
    border-bottom: 2px solid #f2f2f2;
}

#join-us h3 {
    margin-top: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
    font-size: 1.5rem;
}

#join-us ul {
    margin-bottom: 2.5rem;
}
#join-us ul li {
    margin: 0.5rem 0;
}
#join-us .form-control-container {
    margin-bottom: 1rem;
}
#join-us button {
    margin-top: 2rem;
}

#join-us .col-md-4 {
    width: 32%;
    /* margin: 0 5px; */
}
#join-us .col-md-9 {
    width: 74%;
}
#join-us #birthday,
#join-us #phone_number {
    justify-content: space-between;
}
.upload-container {
    border: 1px solid #d9d9d9;
    background-color: #f7f7f7;
    border-radius: 10px;
    padding: 1rem;
}

.icon-upload {
    margin: 0 auto;
    margin-top: 4rem;
    padding-bottom: 4rem;
}

.icon-upload img {
    width: 2rem;
    margin: 0 auto;
}
#join_result {
    margin: 0 auto;
    width: 70%;
    padding-top: 40vh;
}

#join_result h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

#join_result p {
    margin-bottom: 2rem;
}

.upload-container:hover {
    cursor: pointer;
}

.lds-ring {
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#loadingBtn {
    padding: 1rem 3rem;
    display: flex;
    justify-content: center;
}

.privacy,
.terms {
    padding-top: 15rem;
    padding-bottom: 10rem;
}

a.whatsapp-float {
    background: #f2f2f2;
    width: 150px;
    height: 50px;
    line-height: 50px;
    display: none;
    text-decoration: none;
    text-align: center;
    color: #39ba4b;
    position: fixed;
    left: 25px;
    bottom: 25px;
    z-index: 999;
    border-radius: 50px;
    -webkit-box-shadow: 0 1px 6px 0 rgba(0, 0, 0, .5);
    -moz-box-shadow: 0 1px 6px 0 rgba(0, 0, 0, .5);
    box-shadow: 0 1px 6px 0 rgba(0, 0, 0, .5);
}
