:root {
    --black: #313131;
    --accent: #0cb6cb;
    --darkBlue: #283371;
    --blue: #28337133;
    --lightBlue: #2833711a;
    --purple: #7a70be;
    --lightGrey: #f8f8f8;
    --footerFg: #f2f2f2;
    --btnRadius: 10px;
    --transition: 0.4s all ease-in-out;
    --font: "Anjoman";
    --btnLoginWidth: 0;
    --btnLoginHeight: 0;
}

@font-face {
    font-family: "Anjoman";
    src: url("../Fonts/Anjoman/ANJOMAN-BOLD.TTF") format("truetype");
    font-weight: bold;
}

@font-face {
    font-family: "Anjoman";
    src: url("../Fonts/Anjoman/ANJOMAN-LIGHT.TTF") format("truetype");
    font-weight: 300;
}

@font-face {
    font-family: "Anjoman";
    src: url("../Fonts/Anjoman/ANJOMAN-REGULAR.TTF") format("truetype");
    font-weight: 400;
}

a {
    text-decoration: none
}
/*#region Buttons*/

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 36px;
    height: fit-content;
    float: left;
    background-color: var(--accent);
    padding: 8px 14px;
    border-radius: var(--btnRadius);
    color: white;
    cursor: pointer;
    font-size: 15pt;
    text-align: center;
    position: relative;
    border: 0;
    text-decoration: none;
    margin: auto;
    transition: var(--transition);
    &:hover

{
    transition: var(--transition);
    position: relative;
    &::after

{
    content: "";
    position: absolute;
    width: var(--btnLoginWidth);
    height: var(--btnLoginHeight);
    top: 5px;
    right: -5px;
    border: 3px solid black;
    border-radius: var(--btnRadius);
}

}
}

.btn.icon {
    padding: 10px 10px 10px 20px;
    position: relative;
}

    .btn.icon.right {
        padding: 15px 50px 15px 15px !important;
    }

    .btn.icon:before {
        content: "";
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-size: 20px;
        -webkit-mask-position: center;
        width: 24px;
        height: 24px;
        display: block;
        position: absolute;
        top: 50%;
        transform: translate(0, -50%);
        left: 20px;
    }

    .btn.icon.right:before {
        left: unset;
        right: 20px;
    }

.icoLogin:not(.icon),
.icoLogin:before {
    /* -webkit-mask-image: url("../Icons/Login.png"); */
    background-image: url("../Icons/Login.png");
}

/*#endregion Buttons*/

/*#region Grid*/

.w15 {
    width: calc(15% - 15px);
}

.w18 {
    width: calc(18% - 15px);
}

.w30 {
    width: calc(30% - 15px);
}

.w40 {
    width: calc(40% - 15px);
}

.w50 {
    width: calc(50% - 15px);
}

.full {
    display: block !important;
    width: 100% !important;
}

.center {
    text-align: center;
}

.left {
    text-align: left;
    float: left;
    justify-content: flex-end;
}

.ViewHide {
    display: none !important;
}

.container {
    margin: 0 auto;
    max-width: 1280px;
    width: 100%;
}

button,
a {
    font-family: var(--font);
    background-color: transparent;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
    outline: none;
}

/* #endregion Grid*/

/*#region General*/

* {
    margin: 0;
    padding: 0;
    font-family: var(--font);
    outline: none;
    box-sizing: border-box;
}

body {
    background-color: white;
    direction: rtl;
    color: var(--black);
}

ul {
    list-style: none;
}

/*#region Header*/

header {
    display: flex;
    justify-content: space-between;
    margin: 20px auto 60px !important;
    & a.btn

{
    margin-left: 0;
}

}

header a.menu {
    height: fit-content;
    margin: 23px 24px 0 15px;
    & img

{
    width: 45px;
}

}

header a.logo {
    margin-left: 10px;
    & img

{
    vertical-align: middle;
}

}

header ul {
    display: flex;
    justify-content: flex-start;
    margin: auto 0;
}

    header ul li {
        margin: 0 10px;
        font-size: 15pt;
    }

#nav {
    position: fixed;
    width: 250px;
    height: 100%;
    top: 0;
    right: 0;
    z-index: 100;
    background-color: white;
    display: none;
    box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.952);
}

.nav {
    position: fixed;
    z-index: 105;
}

ul.nav {
    display: flex !important;
    top: 100px;
    right: 10px;
    flex-direction: column;
    padding: 15px;
    & li

{
    padding: 10px;
}

}

a.nav {
    top: 10px;
    right: 40px;
}

/*#endregion Header*/

/*#region Main content*/

section.container {
    margin-bottom: 100px;
}

section-title {
    text-align: center;
    position: relative;
    & h2

{
    width: fit-content;
    display: flex;
    margin: 0 auto;
    font-size: 23pt;
    margin-bottom: 10px;
    & span

{
    color: var(--darkBlue);
}

}

& h1 {
    width: fit-content;
    display: flex;
    margin: 0 auto;
    font-size: 23pt;
    margin-bottom: 10px;
    & span

{
    color: var(--darkBlue);
}

}
}

section content {
    margin-top: 40px;
}

/*#region Insurance type*/ /*subregion*/

section.insuranceType section-title h2 span.pseudo, section.insuranceType section-title h1 span.pseudo {
    position: relative;
    &::before, &::after

{
    content: "";
    width: 40px;
    height: 20px;
    top: -8px;
    right: -577px;
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../Icons/Sparkle\ right.png);
}

&::after {
    left: -13px;
    right: unset;
    background-image: url(../Icons/Sparkle\ left.png);
}

}

section.insuranceType section-title span.hami {
    position: relative;
    &::after

{
    content: "";
    width: 133px;
    height: 48px;
    top: 2px;
    right: 1px;
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../Icons/حامی\ آفاق.png);
}

}

section.insuranceType content {
    display: flex;
    justify-content: space-between;
    color: white;
    text-align: center;
    flex-wrap: wrap;
    gap: 17px;
    box-sizing: border-box;
}

    section.insuranceType content a {
        background-color: var(--darkBlue);
        border: 3.52px solid var(--purple);
        position: relative;
        font-size: 13pt;
        font-weight: 300;
        display: flex;
        flex-direction: column;
        padding: 10px;
        border-radius: 30px;
        width: 145px;
        height: 145px;
        & span

{
    position: absolute;
    bottom: 7px;
    right: 0;
    left: 0;
}

}

section.insuranceType content a img {
    width: 76px;
    margin: 5px auto;
}

/*#endregion Insurance type*/ /*subregion*/

/*#region Steps*/ /*subregion*/

section.steps content {
    display: flex;
    justify-content: space-between;
}

section.steps div > img {
    width: 100%;
}

section.steps a.step {
    width: 65%;
    display: grid;
    gap: 10px;
    grid-template-columns: 68% 32%;
    margin-bottom: 40px;
    transition: var(--transition);
    &:hover

{
    & p:first-of-type:before

{
    opacity: 1;
}

}
}

section.steps a.step p {
    font-weight: 700;
    font-size: 15pt;
    &:first-of-type

{
    font-size: 18pt;
    color: var(--accent);
    position: relative;
    &::before

{
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    right: -25px;
    top: 13px;
    background-color: var(--accent);
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
}

}
}

section.steps a.step p.description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

section.steps a.step img {
    border: 3.5px solid var(--black);
    padding: 20px;
    border-radius: 20px;
}

section.steps a.step:nth-of-type(2),
section.steps a.step:nth-of-type(3) {
    float: left;
}

/*#endregion Steps*/ /*subregion*/

/*#region Collaborator*/ /*subregion*/

section.collaborator content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 17px;
    & img

{
    filter: grayscale(1);
    opacity: 0.2;
    transition: var(--transition);
    &:hover

{
    filter: grayscale(0);
    opacity: 1;
}

}
}

/*#endregion Collaborator*/ /*subregion*/

/*#region Journals*/ /*subregion*/

/* section.journals {
  display: none;
} */

/* section.journals */

.owlCarausel {
    display: block;
    & .owl-nav, & .owl-dots

{
    display: none;
}

}

.owl-stage-outer {
    overflow: hidden;
    & .owl-stage

{
    display: flex;
    padding: 0 !important;
}

& .owl-item {
    width: 305px !important;
    margin-right: 23px;
    box-sizing: border-box;
    float: right !important;
}

}

section.journals .journal {
    display: block;
    height: 330px;
    border: 3px solid var(--black);
    border-radius: 25px;
    position: relative;
    &:hover

{
    & span img

{
    margin-right: 5px;
    margin-left: -5px;
}

}
}

section.journals img-container {
    overflow: hidden;
    width: 100%;
    display: block;
}

    section.journals img-container img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 22px;
    }

section.journals h3 {
    margin: 10px 10px 10px 20px;
    font-size: 15pt;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--black);
}

section.journals .journal span {
    position: absolute;
    left: 10px;
    bottom: 15px;
    text-align: left;
    font-size: 11pt;
    font-weight: 400;
    color: var(--accent);
    margin-bottom: 0 !important;
    background-color: white;
    padding-right: 15px;
    & img

{
    vertical-align: middle;
    padding-right: 2px;
}

}

/*#endregion Journals*/ /*subregion*/

/*#region Q&A*/ /*subregion*/

section.questionAndAnswer content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

section.questionAndAnswer question-box {
    display: block;
    border: 3px solid var(--black);
    border-radius: 25px;
    height: 100px;
    padding: 20px;
    position: relative;
    background-color: var(--lightGrey);
}

    section.questionAndAnswer question-box .question {
        margin: 5px 0;
        font-size: 15pt;
        font-weight: 700;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        padding: 5px 5px 5px 50px;
        & img

{
    position: absolute;
    left: 20px;
    top: 25%;
}

&:hover {
    background-color: var(--lightBlue);
    margin: -3px -5px 0 0 !important;
    color: var(--darkBlue);
    padding: 13px 10px 15px 55px !important;
    border-radius: 16px;
    width: 100.75%;
    & img

{
    left: 25px !important;
}

}
}

.rotate {
    rotate: 180deg;
}

.extended {
    height: fit-content !important;
    & p

{
    background-color: var(--blue);
    height: 65px;
    margin: auto !important;
    color: var(--darkBlue);
    padding: 15px 15px 15px 55px !important;
    border-radius: 16px;
    pointer-events: none;
}

& img {
    top: 15% !important;
    left: 30px !important;
}

}

.answer {
    list-style: disc;
    margin: 20px 25px 0;
}
/*#endregion Q&A*/ /*subregion*/

backward {
    width: 103%;
    height: 100%;
    position: fixed;
    background-color: #000000b3;
    text-align: center;
    top: 0;
    left: 0;
    z-index: 10;
    & img

{
    width: 80%;
    border-radius: 50px;
    position: absolute;
    top: 8%;
    right: 10%;
}

& h2 {
    z-index: 11;
    position: absolute;
    top: 36%;
    right: 43%;
    font-size: 20pt;
    text-align: left;
}

& span {
    color: var(--darkBlue);
}

}

backward.simple {
    & img, & h2

{
    display: none;
}

}

/*#endregion Main content*/

/*#region Footer*/

footer {
    position: relative;
}

/*#region footer-box*/ /*subregion*/

footer-fg {
    display: block;
    color: var(--black);
    padding-top: 60px;
    z-index: 9;
    height: fit-content;
    padding-bottom: 50px;
    background-color: var(--footerFg);
    border-radius: 60px;
    & > div

{
    position: relative;
}

& > div.container div {
    display: grid;
    grid-template-columns: 32% 16% 18% 30%;
    gap: 18px;
}

& .enamad {
    position: absolute;
    width: 70px;
    top: 80%;
    left: 0;
}

}

footer-box {
    display: flex;
    flex-direction: column;
    justify-content: right;
    & h2

{
    margin-bottom: 10px;
}

& p {
    font-size: 15pt;
}

& ul li {
    font-size: 15pt;
    padding-bottom: 10px;
}

}

.map {
    margin-bottom: 20px;
    width: 100%;
}

.location,
.call {
    padding-bottom: 15px;
    padding-right: 28px;
    position: relative;
    &::before

{
    content: "";
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    top: 2px;
    right: -5px;
}

}

.location::before {
    background-image: url(../Icons/Location.png);
    width: 24px;
    height: 24px;
}

.call::before {
    background-image: url(../Icons/Call.png);
    width: 21px;
    height: 21px;
}

/*#endregion footer-box*/ /*subregion*/

footer-bg {
    display: block;
    width: 100%;
    height: 125px;
    background-color: var(--darkBlue);
    position: absolute;
    bottom: -80px;
    z-index: -1;
}

    footer-bg p {
        margin-top: 75px;
        font-size: 12pt;
        text-align: center;
        color: white;
    }

/*#endregion Footer*/

/*#region Media*/
@media screen and (min-width: 0) and (max-width: 1340px) {
    footer-fg {
        & > div.container div

{
    grid-template-columns: 50% 45%;
    padding: 0 20px;
}

& .enamad {
    top: 90%;
    left: 65px;
}

}
/* media 1024 - 1340 */

footer-fg {
    & > div.container div

{
    grid-template-columns: 50% 45%;
    padding: 0 35px; /*...changed...*/
}

& .enamad {
    top: 90%;
    left: 65px;
}

}
}

@media screen and (min-width: 600px) and (max-width: 1024px) {
    .container {
        width: 95%;
    }

    header a.menu {
        display: block !important;
    }

    header ul {
        display: none;
    }

    section.steps content {
        flex-direction: column;
        & > div

{
    margin: 0 auto;
    &:first-of-type

{
    margin-bottom: 30px;
}

}
}

section.steps content > div {
    width: calc(80% - 15px);
}

section.steps a.step:nth-child(1),
section.steps a.step:nth-child(4) {
    float: right;
}

backward h2 {
    right: 38%;
    font-size: 18pt;
}

footer-fg {
    & > div.container div

{
    
    padding: 0 20px;
    & footer-box

{
    margin: 0 auto;
    padding-top: 30px;
    flex: 1;
    &:not(:nth-child(1))

{
    display: inline-block;
}

}
}

& .enamad {
    top: 90%;
    left: 65px;
}

}

/* media 600 - 1024 */

footer-fg {
    & > div.container div

{
   
    padding: 0 20px;
    & footer-box

{
    margin: 0 auto;
    padding-top: 30px;
    &:not(:nth-child(1))

{
    display: inline-block;
}

}
}

& .enamad {
    top: 90%;
    left: 65px;
}

}
}

@media screen and (min-width: 0) and (max-width: 600px) {
    .container {
        width: 85%;
    }

    header a.menu {
        display: block !important;
    }

    header ul {
        display: none;
    }

    section:not(.questionAndAnswer, .journals) section-title h2, section:not(.questionAndAnswer, .journals) section-title h1 {
        flex-direction: column;
        & span.hami

{
    width: fit-content;
    margin: 0 auto;
}

& span.pseudo {
    display: none;
}

}

section.insuranceType content a {
    width: 130px;
}

section.steps content {
    flex-direction: column;
    & > div

{
    margin: 0 auto;
    width: calc(75% - 15px);
    &:first-of-type

{
    margin-bottom: 30px;
}

}
}

section.steps a.step:nth-of-type(2),
section.steps a.step:nth-of-type(3) {
    float: unset;
}

section.steps a.step {
    width: 100%;
}

backward h2 {
    right: 38%;
    font-size: 12pt;
}

}

@media screen and (min-width: 0) and (max-width: 600px) {
    section.insuranceType content a {
        width: 145px;
    }

    section.steps div.w50:first-of-type {
        display: none;
    }

    /* media 0 - 600 */

    footer-fg > div.container div {
        display: flex;
        padding: 0 10px;
        flex-wrap:wrap;
    }

    footer-fg footer-box:not(:last-of-type) {
        text-align: right !important;
        margin-bottom: 20px;
        flex:auto!important;
    }
}







.enamad {
    position: unset !important;
    display: block;
    margin: 0 auto;
}

footer-bg p {
    font-size: 10pt;
}

.owl-nav {
    display: none
}
