* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    box-sizing: border-box;
    text-decoration: none !important;
    list-style: none;
}

@font-face {
    font-family: 'Work Sans', sans-serif;
    src: url("../fonts/WorkSans-Medium.ttf");
}

body {
    font-family: 'Work Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

:root {
    --colory-primary: #00A859;
    --colory-black:#212124;
    --colory-light:#F4F4F4;
    --colory-white:#FFFFFF;
    --color-black2: #5D5F6D;
    --color-bg: #F2FBF7;
    --transition: all 400ms ease;

    --container-width-lg: 1200px;
    --container-width-md: 84%;
    --container-width-sm: 92%;
}
h1{
    font-weight: 700;
    font-size: 48px;
    line-height: 52px;
}
h2{
    font-weight: 600;
    font-size: 32px;
    line-height: 48px;
}
h3{
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
}
h4{
    font-weight: 500;
    font-size: 20px;
    line-height: 32px;
}
h5 {
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
}
h6{
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
}

nav{
    width: 100%;
    position: sticky;
    top:0px;
    left:0px;
    z-index: 9999;
    transition: all ease 0.2s;
    background: var(--colory-white);
    box-shadow: rgba(0, 0, 0, 0.05) 0px 3px 3px 0px;
    border-top: 5px solid var(--colory-primary);
}
.containers{
    max-width: var(--container-width-lg);
    width: 100%;
    margin:0px auto;
}
/* nav .nav__top{
    width: 100%;
    background: var(--colory-primary);
}
.nav__top .nav__time .item{
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    gap:4rem;
}
.nav__top .nav__time .item p{
    color: var(--colory-white);
    font-size: 0.9rem;
}
.nav__top .nav__time .item p b{
    margin:0px 8px;
} */

/*info messages*/
/* ----form success/error */
.error-message{
    margin-top: 5px;
    color: #721c24;
    background-color: #f8d7da;
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 3px;
}

.success-message{
    margin-top: 5px;
    color: #155724;
    background-color: #d4edda;
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 3px;
}


/* ---end of nav__top---  */
nav .nav__search{
    height: 88px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav__search .right_search{
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2.8rem;
}
.nav__form {
    width: 80%;
    height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #E4E8EE;
    border-radius: 4px;
    position: relative;
}
.nav__form button {
    width: 56px;
    font-size: 20px;
    background: var(--colory-primary);
    color:#fff;
    height: 100%;
    cursor: pointer;
}
.nav__form button {
    border-radius: 0px 4px 4px 0px;
}
.nav__form button i {
    color: var(--color-black);
}
.nav__form input {
    flex-basis: 90%;
    height: 100%;
    margin-left: 20px;
}
.nav__form input::placeholder {
    color: #BDC3C7;
    font-size: 18px;
}
.nav__search .right_language {
    position: relative;
}
.nav__search .right_language a{
    color: var(--color-black2);
    font-size: 0.9rem;
    cursor: pointer;
}
.lang {
    border: 1px solid var(--color-black2);
    border-radius: 3px;
    padding: 13px 6px ;
}
.lang span {
    padding: 0px 3px;
}
.right_language .dropdown-language {
    position: absolute;
    top: 50px;
    right: 0px;
    z-index: 999;
    padding: 10px 12px;
    border-radius: 3px;
    box-shadow: 0px 3px 5px 0px #0000000D;
    background: var(--colory-white);
    display: none;
    flex-direction: column;
}
.right_language .dropdown-language a {
    padding: 12px 8px;
    border: none;
}
.right_language .dropdown-language a:hover {
    background: var(--colory-primary);
    padding: 12px 8px;
    color: #fff ;
    border-radius: 3px;
}
nav .logo img{
    width: 148px;
    object-fit: cover;
}
.bar{
    display: none;
}
.bar button{
    background:transparent;
    cursor: pointer;
}
.bar button i{
   font-size: 20px;
}
.bar #open_search{
    margin-right:29px;
}
.bar #close_menu i{
    font-size: 24px;
}
#close_menu{
    display: none;
}
#close_form{
   display: none;
}
.open-searchMenu{
    position: absolute;
    top: 50px;
    width: 100%;
    background: var(--colory-white);
    box-shadow: rgba(0, 0, 0, 0.05) 0px 3px 3px 0px;
    height: 240px;
    overflow: auto;
    border-radius:0px 0px 4px 4px;
    z-index: 99999;
    display: none;
}
.open-searchMenu li a{
    display: flex;
    align-items: center;
    width: 100%;
    height: 48px;
    border-bottom: 1px solid #E4E8EE;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color:var(--colory-black);
}
.open-searchMenu li a:hover{
    transition: var(--transition);
    background: var(--colory-light);
}
.open-searchMenu li a span{
    padding: 0px 20px;
}
/* ---end of nav__search--- */
.navbar {
    width: 100%;
}
.nav__container{
    height: 80px;
    display: flex;
    align-items: center;
    gap:2rem;
}
.nav__container li a{
    padding: 12px 16px;
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--colory-black);
    border-radius: 4px;
}
.nav__container li a:hover{
    background: var(--colory-primary);
    color: #FFFFFF;
    transition: var(--transition);
}
.active{
    background: var(--colory-primary);
    color: #FFFFFF !important;
}
.mobil-lang{
    display: none;
}
/* styles for navbar when window is scrolled using JavaScript */
/* .window-scroll {
    position: fixed;
    top:0px;
    left:0px;
    z-index: 9999;
    transition: all ease 0.2s;
    background: var(--colory-white);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px;
} */

/* ----btn---- */
.btn{
    padding:12px 23px;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    transition: var(--transition);
    display: inline-block;
    color:var(--colory-white);
    border-radius: 4px;
    cursor: pointer;
}
.btn__success{
    background: var(--colory-primary);
}
.btn__success:hover {
    background: var(--colory-white);
    color: var(--colory-primary);
}
.btn__gray{
    background: #F3F5F8;
    color: #ACB3B8;
}
.btn__gray:hover{
    background: var(--colory-primary);
    color: #fff;
}
/* ------page-title----- */
.page-title{
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    background:var(--colory-light) ;
}
.page-title .page__link{
    display: flex;
}
.page-title .page__link a{
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: var(--colory-black);
}
.page-title .page__link a span{
   margin: 0px 8px;
}
.page-title .page__link a:nth-last-child(1){
    color: var(--colory-primary);
 }

/* -----CONTAINER TITLE----- */
.containers_title{
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
 .containers_title h2{
    flex-basis: 33%;
    text-align: center;
    color: var(--colory-primary);
 }
 .containers_title p{
    flex-basis: 33%;
    text-align: right;
 }
 .containers_title p a{
    color: #2C2C2C;
 }
 .containers_title p a span{
     margin-left: 5px;
 }
 .containers_title p a:hover{
    color: var(--colory-primary);
    transition: var(--transition);
 }

 /* -------FOOTER------ */
 footer{
     margin-top: 4rem;
     padding:3.5rem 0rem 0rem;
     width: 100%;
     background: #F9FAFB;
 }
 footer .foot-container{
    margin-top: 1rem;
    margin-bottom: 3.5rem;
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 1.2fr 1.2fr;
    gap: 2rem;
}
footer .foot-container .foot_item{
    padding-left: 2rem;
}
footer .foot-container .foot_item:nth-child(1){
    padding-right: 3rem;
    padding-left: 0rem;
}
footer .foot-container .foot_item h4{
    margin-bottom: 1rem;
    color: var(--colory-primary);
}
footer .foot-container .foot_item p {
    margin-bottom: 0.5rem;
}
footer .foot-container .foot_item p a{
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: var(--colory-black);
}
footer .foot-container .foot_item p span{
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
}
footer .foot-container .foot_item p a:hover{
    color: var(--colory-primary);
    transition: var(--transition);
}
footer .foot-container .foot_item p span{
    color: var(--colory-primary);
}
footer .foot-container .foot_item .foot-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--colory-black);
    text-align: justify;
}
.copyright{
    width: 100%;
    background: var(--colory-primary);
}
.copyright-container{
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.copyright-container p{
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
}
.copyright-container .social_icons{
    display: flex;
    gap: 17px;
}
.copyright-container .social_icons a {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
    font-size: 1rem;
    color: #fff;
    transition: var(--transition);
}
.copyright-container .social_icons a:hover{
    background: #4267B2;
}
.backtotop a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: var(--colory-primary);
    border-radius: 40px;
    color: #fff;
    position: fixed;
    bottom: 60px;
    right: 40px;
    z-index: 999;
}
.backtotop a i {
    font-size: 20px;
}
.backtotop a:hover {
    opacity: 0.8;
    transition: var(--transition);
}


@media only screen and (max-width: 1550px) {
.containers {
    max-width: var(--container-width-md);
}
.nav__container {
    gap: 1.5rem;
}
}

@media only screen and (max-width: 1350px) {
    h5 {
        font-size: 18px;
    }
    .nav__container {
        gap: 1rem;
    }
    .nav__container li a {
        font-size: 1rem;
    }
    h1{
        font-size: 45px;
    }
}

@media only screen and (max-width: 1200px) {
    .containers {
        max-width: var(--container-width-sm);
    }
    h1 {
        font-size: 40px;
    }
    nav .logo img {
        width: 120px;
    }
    .nav__form {
        height: 45px;
    }
    .nav__search .right_language a {
        font-size: 0.8rem;
    }
    .nav__search .right_language a {
        font-size: 0.8rem;
    }
    .nav__container {
        gap: 0.7rem;
    }
}

@media only screen and (max-width: 1024px) {
    nav .nav__top {
        display: none;
    }
    .nav__form button:nth-child(1) {
        border-radius: 0px 4px 4px 0px;
    }
    .nav__form button:nth-last-child(1) {
        border-radius: 4px 0px 0px 4px;
    }
    .nav__search .right_search {
      display: none;
    }
    .nav__search .right_search .right_language {
        display: none;
    }
    .bar {
        display: flex;
    }
    .nav__container{
        flex-direction: column;
        max-width: 450px;
        width: 100%;
        left: 0px;
        top: 0px;
        position: absolute;
        z-index: 9999;
        height: 100vh;
        background: var(--colory-light);
        padding-top: 70px;
        padding-left: 40px;
        align-items: flex-start;
        display: none;
    }
    .nav__container li a {
        line-height: 50px;
    }
    .mobil-lang{
        margin-top: 15px;
        display: flex;
        margin-left: 16px;
        gap:10px;
    }
    .mobil-lang a{
        display: flex;
        color: var(--colory-black);
        padding:5px ;
    }
    .active-lang{
        color: var(--colory-primary) !important;
        border-bottom:1px solid var(--colory-primary)
    }
    .active {
        margin-left: 16px;
    }
    #close_menu{
        display: block;
        font-size: 25px;
        position: absolute;
        top: 30px;
        right: 40px;
        cursor: pointer;
        background: transparent;
    }
    /* ---FOOTER--- */
    footer .foot-container {
        grid-template-columns: 1.5fr 1fr;
    }
}

@media only screen and (max-width: 820px) {
  /* ----footer--- */
.copyright-container {
    height: auto;
    padding: 1.1rem 0rem;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
}

@media only screen and (max-width: 612px) {
        h2 {
            font-size: 24px;
            line-height: 32px;
        }
        h4 {
            font-size: 15px;
            line-height: 20px;
        }
        h5{
            font-size: 16px;
        }
        nav .nav__search {
            height: 64px;
        }
        .bar #open_search {
            margin-right: 20px;
        }
        .bar button i {
            font-size: 18px;
        }
        .nav__form input::placeholder {
            font-size: 16px;
        }
        .header__menu a {
            justify-content: center;
        }
        .nav__container{
            width: 100% !important;
        }
    /* ---FOOTER--- */
        footer .foot-container {
            grid-template-columns: 1fr;
        }
        footer .foot-container .foot_item {
            padding-left: 0rem;
        }
        footer .foot-container .foot_item:nth-child(1) {
            padding-right: 1rem;
        }
}
