/*styling for the whole website*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    direction: rtl;
    font-family: "noto sans arabic - text", sans-serif;
}

body {
    background-color: var(--main-page-color);
}

#services-services,
#news-news,
#ads-ads {
    padding-top: 100px;
    margin-top: -100px;
}

main {
    margin: 0 0;
    padding: 110px 30px 20px;
}

.services-section,
.news-section,
.ads,
.cards-section {
    padding: 50px 0;
}

.see-more {
    color: black;
    font-family: "noto sans arabic - text";
    margin-left: 60px;
    font-size: 16px;
}

.user-info,
#menu-open-button,
#menu-close-button,
#search-open-button,
.description2 {
    display: none;
}

:root {
    --white-color: #eeeeee;
    --main-page-color: white;
    --main-page-color: #F8f9fb;
    --main-color: #3e4e65;
    --secondary-color: #8a8a8a;
}
ul {
    list-style: none;
}

a {
    text-decoration: none;
}

.heading2-container {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    flex-direction: column;
}

.h2-heading {
    padding: 0 20px;
    font-size: 40px;
}

.news-section,
.services-section,
.upper-gap {
    padding-top: 115px;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

.go-to-other {
    cursor: pointer;
}

.section-content {
    margin: 0 auto;
    padding: 0 20px;
    max-width: var(--site-max-width);
}

header {
    background-color: var(--main-color);
    position: fixed;
    z-index: 9999;
    width: 100%;
}

#search-close-button {
    display: none;
}

header .nav-bar {
    display: flex;
    padding: 12px 30px;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    flex-wrap: wrap;
}
.nav-bar .nav-menu .nav-link {
    font-family: "noto sans arabic - text";
    color: var(--main-page-color);
    padding: 4px 15px;
    border-radius: 30px;
    transition: 0.3s ease;
    display: inline-block;
    text-decoration: none;
    border: none;
    background: none;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
}

.navi-button {
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
}

.nav-bar .nav-menu .nav-link:hover,
.nav-bar .nav-menu .nav-link:focus {
    background-color: var(--white-color);
    color: var(--main-color);
    outline: none;
}

.nav-bar .nav-logo .logo-text {
    color: var(--main-page-color);
}

.nav-bar .nav-menu {
    display: flex;
    gap: 15px;
}
/* .image-sizing {
       width: 100%;
       height: 100%;
   } */

.image-sizing, .image-sizing-left {
    display: flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 10px;
}
.nav-bar .nav-button {
    background: var(--main-page-color);
    color: var(--main-color);
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 14px;
    white-space: nowrap;
    font-size: 14px;
}


.intro-section {
    background-color: var(--main-page-color);
    position: relative;
    overflow: hidden;
}

.intro-section .section-content {
    display: flex;
    align-items: center;
    min-height: 90vh;
    color: black;
    justify-content: space-between;
    padding: 0 100px;
}

.intro-section .section-content .section-details {
    width: 45%;
}
.intro-section .section-content .intro-image-wrapper {
    width: 55%;
    display: flex;
}

.intro-image {
    width: 35vw;
    height: auto;
    margin: 40px auto;
    z-index: 8;
}

.section-details {
    margin-top: -30px;
    z-index: 9;
    padding-right: 45px;
}

.intro-section .section-content .section-details h1 {
    font-size: 5.3vw;
    font-family: "noto sans arabic - heading", sans-serif;
    line-height: 1.2;
    word-spacing: -1px;
    color: var(--secondary-color);
    margin-top: 35px;
}

.intro-section .section-content .section-details h1 .guide-word {
    color: #6b7c94;
    font-family: "noto sans arabic - heading", sans-serif;
}

.intro-section .section-content .section-details h1 .aden-word {
    color: var(--main-color);
    font-family: "noto sans arabic - heading", sans-serif;
}

.intro-section .section-content .section-details .description1,
.description2 {
    font-family: "lateef - p", sans-serif;
    font-size: 1.7vw;
    line-height: 1.2;
    margin-top: 20px;
    color: #4f4f4f;
}

.intro-section .circle-big1 {
    background-color: #dfdfdf;
    position: absolute;
    top: -9%;
    left: -5%;
    width: 46vw;
    height: 43vw;
    border-radius: 50%;
}

.intro-section .circle-big2 {
    background-color: #e7e7e7;
    position: absolute;
    top: -37%;
    right: -21%;
    width: 50vw;
    height: 45vw;
    border-radius: 50%;
}

.intro-section .circle-small {
    background-color: #c6c6c6;
    position: absolute;
    bottom: 6%;
    left: 40%;
    width: 8.5vw;
    height: 8.5vw;
    border-radius: 50%;
}

.no-content {
    height: 90%;
    display: flex;
    align-items: center;
    font-size: 20px;
    justify-content: center;
    color: #7d7d7d;
}
footer {
    background-color: var(--main-color);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    color: var(--main-page-color);
}

.footer-first {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.footer-link {
    color: var(--main-page-color);
    font-size: 14px;
}

.heading-underline {
    height: 7px;
    width: 110px;
    background-color: var(--main-color);
    align-self: center;
    border-radius: 20px;
}

@media screen and (max-width: 1069px) {
    .nav-bar .nav-menu {
        gap: 5px;
        font-size: 15px;
    }

    .see-more {
        margin-left: 40px;
    }

    #services-services:target,
    #news-news:target,
    #ads-ads:target {
        padding-top: 140px;
        margin-top: -140px;
    }

    .button-search-container {
        display: flex;
        justify-content: center;
    }

    #search-container {
        padding: 0;
    }

    .intro-section .section-content .section-details {
        width: 55%;
        margin-top: 0px;
        padding-right: 5px;
    }

    .intro-section .section-content .section-details h1 {
        font-size: 6vw;
        margin-top: 20px;
    }
    .description1 {
        font-size: 2.1vw;
        margin-top: 20px;
    }

    .intro-section .section-content .intro-image-wrapper {
        width: 45%;
    }

    .intro-image {
        width: 42vw;
        height: auto;
        margin: 0px -46px 0 0;
        z-index: 8;
    }

    .nav-link {
        padding: 4px 10px !important;
    }
}

@media screen and (max-width: 768px) {
    .see-more {
        margin-left: 30px;
        font-size: 15px;
    }

    #services-services:target,
    #news-news:target,
    #ads-ads:target {
        padding-top: 100px;
        margin-top: -100px;
    }

    .button-search-container {
        justify-content: center;
    }

    .user-info,
    #menu-open-button,
    #menu-close-button,
    #search-open-button {
        display: block;
    }
    .nav-icon-close,
    .nav-icon-open {
        width: 30px;
        height: auto;
    }

    .side-nav {
        display: block;
        position: fixed;
        right: -300px;
        top: 0;
        height: 100%;
        width: 300px;
        z-index: 101;
        background-color: var(--main-color);
        transition: right 0.2s ease;
        overflow-y: auto;
    }

    .side-nav::-webkit-scrollbar {
        width: 0;
    }

    .body.show-menu .nav-bar .side-nav {
        right: 0;
    }

    .side-nav .user-info {
        margin-top: 70px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .side-nav .user-info .user-full-name {
        color: white;
        margin-top: 31px;
        font-size: 15px;
    }

    .side-nav .user-info .user-name {
        font-size: 12px;
        color: #eeeeee;
        direction: ltr;
        margin-top: -5px;
    }
    .side-nav .user-info .side-user-image {
        width: 90px;
        border-radius: 50px;
    }

    .side-nav .side-image-link {
        width: 90px;
        height: 90px;
        border-radius: 50px;
    }

    .nav-bar .nav-icon-close {
        position: absolute;
        left: 30px;
        top: 30px;
    }

    .nav-bar .nav-icon-open {
        position: absolute;
        right: 30px;
        top: 24px;
    }

    .nav-bar .search-icon-open,
    .search-icon-close {
        position: absolute;
        right: 77px;
        top: 25.5px;
        height: auto;
        width: 27px;
    }
    #search-open-button {
        display: block;
    }
    .nav-bar .nav-menu {
        background-color: var(--main-color);

        z-index: 100;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 30px;
        gap: 0;
    }

    .nav-bar .nav-menu .nav-link {
        display: block;
        margin-top: 17px;
    }

    .intro-section .section-content {
        gap: 50px;
        text-align: center;
        padding: 30px 20px 20px;
        flex-direction: column-reverse;
        justify-content: center;
    }

    .intro-section .section-content .intro-image-wrapper {
        width: 50%;
        height: auto;
        align-items: center;
        margin-left: 0;
    }

    .intro-image {
        width: 42vw;
        height: auto;
        margin: -49px -15px 0 0;
        z-index: 8;
    }

    .intro-section .section-content .section-details {
        width: 80%;
    }

    .intro-section .section-content .section-details h1 {
        font-size: 48px;
        margin-top: 2px;
    }

    .intro-section .section-content .section-details .description1,
    .description2 {
        font-size: 16px;
        margin-top: 20px;
    }

    .intro-section .circle-big1 {
        top: -6%;
        left: -11%;
    }
    .intro-section .circle-big2 {
        top: -23%;
        right: -21%;
    }

    .image-sizing {
        width: 100%;
        height: 100%;
    }

    .image-sizing-left{
        display: none;
    }
}

@media screen and (max-width: 450px) {
    .see-more {
        font-size: 13px;
        margin-left: 20px;
    }

    .description1 {
        display: none;
    }

    .description2 {
        display: block;
    }
}
