@import url('https://fonts.googleapis.com/css2?family=Funnel+Sans:ital,wght@0,300..800;1,300..800&family=Jost:ital,wght@0,100..900;1,100..900&family=Noto+Kufi+Arabic:wght@100..900&family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap');

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

:root {
    --header-ar-font: "Noto Kufi Arabic", sans-serif;
    --header-fr-font: "Funnel Sans", sans-serif;
    --fr-font: "Jost", sans-serif;
    --ar-font-Two: "Zain", sans-serif;
    --header-background: #f4d081;
    --navbar-color: #000;
    --button-color: #f4d081;
}

header {
    height: 65px;
    width: 100%;
    display: flex;
    background: var(--header-background);
    box-shadow: 0px 0px 4px 0px black;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo-box {
    height: 65px;
    width: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: hidden;
}

.logo-box>img {
    height: 120px;
}

.navbar {
    height: 65px;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-link {
    height: 65px;
    width: 17%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: #000;
    font-family: var(--header-fr-font);
    position: relative;
}

.navbar-link:hover {
    color: #ffffff;
    background-color: #0000007c;
}

.navbar-link>i {
    height: 100%;
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.side-bar {
    display: none;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 60px;
    position: relative;
}

.side-bar>i {
    position: absolute;
    inset: 0;
    margin: auto;
    height: max-content;
    width: max-content;
    font-size: 30px;
    display: none;
}

.home-section {
    height: 95vh;
    width: 100%;
    display: grid;
    background-color: #e3e3e3;
    justify-content: center;
    align-content: center;
    border-bottom: 1px solid #00a2ff84;
}
.text {
    height: 20vh;
    width: 100%;
    display: grid;
    align-items: center;
}
.home-section>h1 {
    font-size: 40px;
    color: #00a2ff;
    font-family: var(--fr-font);
    height: 60px;
    width: 100%;
}

.home-section>h5 {
    font-size: 25px;
    color: #000000;
    font-family: var(--header-fr-font);
    height: 50px;
    width: 100%;
}

.languages {
    height: 20vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.languages>img {
    height: 80px;
}

/* couses section */

.Cours {
    height: 80vh;
    width: 100%;
    background-color: #e3e3e3;
    border-bottom: 1px solid #00a2ff84;
    display: flex;
    flex-direction: column;
}

.Cours>h1 {
    height: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--header-fr-font);
    color: #0072ff;
    column-gap: 5px;
}

.Cours>h1>p {
    display: flex;
    color: #007b00;
}

.cours-part {
    height: 90%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    column-gap: 40px;
}

.cours-cart {
    height: 85%;
    width: 20%;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.142);
    border-radius: 10px;
    transition: 0.5s;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 10px;
    row-gap: 5px;
    position: relative;
}

.cours-cart:hover {
    transform: scale(1.08);
}

.cours-cart .cart-image {
    height: 200px;
}

.cours-cart>h1 {
    height: 50px;
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 18px;
    font-family: var(--header-fr-font);
}

.cours-cart>span {
    height: 30px;
    width: 100%;
    display: flex;
    align-items: center;
    font-family: var(--header-fr-font);
    column-gap: 5px;
}

.cours-cart>span .fa-clock {
    color: var(--button-color);
}
.cours-cart>span .fa-wallet {
    color: #007b00;
}
.cours-cart .checkout {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    line-height: 40px;
    border-radius: 50%;
}

.checkout>i {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    line-height: 40px;
    border-radius: 50%;
    background: var(--button-color);
    color: #fff;
    position: absolute;
    right: 10px;
    bottom: 13%;
    transition: 0.4s;
}

.checkout>i:hover {
    box-shadow: 0px 0px 0px 5px #0072ff;
    background: transparent;
    color: #0072ff;
}
/* contact-sect */

.contact {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #e3e3e3;
}

.contact-right {
    height: 90%;
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 10%;
    border-top-left-radius: 10%;
    background-color: #fff;
}

.contact-left {
    height: 90%;
    width: 45%;
    display: grid;
    align-items: center;
    align-content: center;
    border-bottom-right-radius: 10%;
    border-top-right-radius: 10%;
    background-color: #fff;
    box-sizing: border-box;
    padding-inline: 50px;
    row-gap: 10px;
    position: relative;
}

.contact-right>img {
    height: 40vh;
}

.contact-left>h3 {
    font-size: 25px;
    font-family: var(--header-fr-font);
}

.contact-left>input {
    height: 40px;
    width: 100%;
    text-indent: 10px;
    border-radius: 20px;
    border: 0;
    outline: 0;
    background-color: rgb(223, 223, 223);
}

::placeholder {
    color: gray;
    font-family: var(--header-fr-font);
    font-weight: 700;
}

.contact-left>textarea {
    height: 180px;
    width: 100%;
    border-radius: 25px;
    text-indent: 13px;
    background-color: rgb(223, 223, 223);
    outline: 0;
    border: 0;
}

.contact-left>button {
    height: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #00a2ff;
    border-radius: 20px;
    border: 0;
    color: #fff;
    cursor: pointer;
}

.return-up {
    position: fixed;
    height: 40px;
    width: 40px;
    background-color: #00a2ff;
    color: #fff;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 10px;
    right: 10px;
    border-radius: 5px;
    box-shadow: 0px 0px 5px black;
    text-decoration: none;
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 90vh;
    width: 100%;
    background: #f4d081;
}

.row-part {
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    padding-inline: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pages-part {
    height: 85%;
    width: 30%;
    display: flex;
    flex-direction: column;
    font-family: var(--header-fr-font);
    box-sizing: border-box;
    padding: 30px;
}

.pages-part>label {
    height: 40px;
    color: #005eff;
    font-weight: 700;
    font-size: 19px;
}

.pages-part>a {
    height: 45px;
    color: #00000081;
    border-bottom: 1px solid black;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.pages-part>a:hover {
    color: #000;
}

/* second-part */

.faqs-part {
    height: 85%;
    width: 30%;
    display: flex;
    flex-direction: column;
    font-family: var(--header-fr-font);
    box-sizing: border-box;
    padding: 30px;
}

.faqs-part>label {
    height: 40px;
    color: #005eff;
    font-weight: 700;
    font-size: 19px;
}

.faqs-part>a {
    height: 45px;
    color: #00000081;
    border-bottom: 1px solid black;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.faqs-part>a:hover {
    color: #000;
}

.social-part {
    height: 80px;
    width: 100%;
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.social-part>a {
    height: 37px;
    width: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
    transition: 0.4s;
    line-height: 37px;
}

.social-part>a:hover {
    transform: scale(1.19);
}

.social-part>a:nth-child(1) {
    background-color: rgb(160, 160, 160);
}

.social-part>a:nth-child(2) {
  background: linear-gradient(0deg,#00c6ff,#0072ff);
}

.social-part>a:nth-child(3) {
  background: linear-gradient(45deg,#833ab4,#fd1d1d,#fcb045);
}

.social-part>a:nth-child(4) {
    background-color: #00a2ff;
}

.social-part>a:nth-child(5) {
    background-color: #ff0000;
}

.social-part>a>i {
    color: #fff;
    font-size: 18px;
    height: 37px;
    width: 37px;
    display: flex;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
    line-height: 38px;
}

.contactes-parts {
    height: 85%;
    width: 30%;
    display: flex;
    flex-direction: column;
    font-family: var(--header-fr-font);
    box-sizing: border-box;
    padding: 30px;
}

.contactes-parts>label {
    height: 40px;
    color: #005eff;
    font-weight: 700;
    font-size: 19px;
}

.contactes-parts>span {
    cursor: pointer;
    height: 45px;
    color: #00000081;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.copyright {
    height: 50px ;
    width: 100%;
    background-color: var(--header-background);
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    text-align: center;
    font-family: var(--header-fr-font);
    font-weight: 500;
    font-size: 18px;
}
@media (max-width:950px) {
    header {
        box-sizing: border-box;
        padding-inline: 50px;
    }
    .logo-box>img {
        height: 110px;
        overflow: auto;
    }
    .side-bar {
        display: flex;
    }
    .logo-box {
        width: 40%;
        overflow: hidden;
    }
    .side-bar {
        display: flex;
    }
    .side-bar>i.active {
        display: flex;
    }
    .navbar {
        position: absolute;
        display: none;
        flex-direction: column;
        top: 65px;
        right: 0;
        height: 40vh;
        width: 100%;
        background: rgb(0, 119, 255);
        justify-content: start;
    }
    .navbar.active {
        display: flex;
    }
    .navbar-link {
        height: 50px;
        width: 100%;
        align-items: center;
        justify-content: left;
        box-sizing: border-box;
        padding-inline: 30px;
        color: #fff;
    }
    .navbar-link:hover {
        color: #000000;
    }
    .navbar-link:hover {
        color: #ffffff;
        background-color: #00000073;
    }
    .navbar-link>i {
        height: 100%;
        width: 15%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .home-section {
        height: 60vh;
        width: 100%;
        display: grid;
        background-color: #e3e3e3;
        justify-content: center;
        align-content: center;
    }

    .Cours {
        height: 130vh;
        width: 100%;
        background-color: #e3e3e3;
        border-bottom: 1px solid #00a2ff84;
        display: flex;
        flex-direction: column;
    }

    .Cours>h1 {
        font-size: 20px;
    }
    .cours-part {
        height: 90%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        column-gap: 40px;
        row-gap: 20px;
    }
    
    .cours-cart {
        height: 23%;
        width: 70%;
    }

    .cours-cart .cart-image {
        height: 100px;
    }

    .cours-cart>h1 {
        font-size: 13px;
    }

    .cours-cart:hover {
        transform: scale(1.03);
    }

    .cours-cart>span {
        height: 20px;
        width: 100%;
        display: flex;
        align-items: center;
        font-family: var(--header-fr-font);
        column-gap: 5px;
        font-size: 10px;
    }

    .cours-cart>span .fa-clock {
        color: var(--button-color);
    }
    .cours-cart>span .fa-wallet {
        color: #007b00;
    }
    .cours-cart .checkout {
        height: 30px;
        width: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        text-decoration: none;
        line-height: 30px;
        border-radius: 50%;
    }
    
    .checkout>i {
        height: 30px;
        width: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        text-decoration: none;
        line-height: 30px;
        border-radius: 50%;
        background: var(--button-color);
        color: #fff;
        position: absolute;
        right: 10px;
        bottom: 10%;
        font-size: 10px;
        transition: 0.4s;
    }
    
    .checkout>i:hover {
        box-shadow: 0px 0px 0px 5px #0072ff;
        background: transparent;
        color: #0072ff;
    }

    .text {
        height: 15vh;
        width: 100%;
    }
    .home-section>h1 {
        font-size: 30px;
        color: #00a2ff;
        font-family: var(--fr-font);
        height: 20px;
        width: 100%;
    }
    
    .home-section>h5 {
        font-size: 20px;
        height: 30px;
        width: 100%;
    }
    
    .languages {
        height: 5vh;
        width: 90%;
    }
    .languages>img {
        height: 40px;
    }
    .contact-right {
        display: none;
    }
    .contact-left {
        border-radius: 1px;
        width: 100%;
        height: 100%;
    }
    .contact {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 70vh;
        background-color: #dcdcdc;
    }
    footer {
        height: 120vh;
    }
    .row-part {
        display: flex;
        flex-direction: column;
        height: 94%;
        width: 100%;
    }
    .pages-part {
        height: 40%;
        width: 100%;
    }
    .faqs-part {
        height: 24%;
        width: 100%;
    }
    .contactes-parts {
        height: 24%;
        width: 100%;
    }
    .copyright {
        height: 6%;
        width: 100%;
        font-size: 11px;
    }

}