﻿@font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/Pro/Yekan\ Bakh\ Variable/webfonts/YekanBakhFaNum-VF.woff') format('woff-variations');
    font-weight: 100 1000;
    font-display: fallback;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'YekanBakh', 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    direction: rtl;
}

.container {
    width: 100%;
    margin: auto;
    padding: 0 1rem;
}

button {
    border: none;
    cursor: pointer;
    background: none;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #F5FCFB;
    background-image: url(../img/Mask\ group-1.svg);
}

body.no-scroll {
    overflow: hidden;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(1px);
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 3;
    display: none;
}

.overlay.active {
    display: block;
}

a {
    text-decoration: none;
    cursor: pointer;
}

/* Nav */
/*
.nav {
    position: sticky;
    top: 0;
    z-index: 2;
}

.nav.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid #DAE1DD80;
}

.nav .content {
    display: flex;
    justify-content: space-between;
    height: 5.5rem;
    align-items: center;
    padding: 0.5rem;
    width: 100%;
}

.nav-menu {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    width: 13.1rem;
    height: 100vh;
    background-color: #FFFFFF;
    border-radius: 1rem 0 0 1rem;
    gap: 3.25rem;
    padding: 1rem;
    z-index: 5;
    transform: translateX(100%);
    transition: transform 0.5s ease-out;
}

.nav-menu-active {
    transform: translateX(0);
}

.nav-menu-back-button {
    display: flex;
    justify-content: center;
    padding: 0.75rem 1rem;
    width: 100%;
    gap: 5rem;
    background-color: #f6fffd;
    border-radius: 1rem;
}

.back-button {
    display: flex;
    align-items: center;
}

.nav-menu>ul {
    list-style-type: none;
}

.background {
    padding: 1px;
    background: linear-gradient(165deg, #48cfad8a 10% 10%, #FFFFFF 30%, #FFFFFF 70%, #FFFFFF 70%, #48cfad8a 90%);
    border-radius: 1rem;
}

.nav-menu-option {
    display: flex;
    align-items: center;
    height: 3rem;
    padding: 1rem;
    gap: 0.5rem;
    border-radius: 1rem;
    cursor: pointer;
}

.nav-menu-option p {
    color: #474747;
    font-weight: 600;
    font-size: 0.9rem;
}

.home {
    background-color: #f6fffd;
}

.nav-menu-option:nth-child(2) {
    flex-direction: column !important;
    align-items: unset;
}

.nav-menu-exams-button {
    display: flex;
    align-items: center;
    height: 3rem;
    gap: 0.75rem;
    border-radius: 1rem;
    cursor: pointer;
}

.nav-options-home-txt {
    color: #48CFAD !important;
}

.home p {
    color: #48CFAD;
}

.nav-exams-dropdown-button {
    margin-right: auto;
    transition: all .2s ease;
    width: 1rem;
    height: 1rem;
}

.nav-exams-dropdown-button img {
    width: 1rem;
    height: 1rem;
}

.nav-exams-dropdown-button-active {
    transform: rotate(180deg);
}

.nav-exams-dropdown {
    margin-right: 2rem;
    list-style-image: url(../img/list-style-image.svg);
    transform: translateY(-72%);
    opacity: 0;
    transition: transform .2s ease,
        opacity .1s ease-in;
    pointer-events: none;
}

.nav-exams-dropdown-active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.nav-exams-dropdown li a {
    font-size: 0.75rem;
    color: #767676;
    font-weight: 600;
}

.log-out {
    display: flex;
    margin-top: auto;
    width: 100%;
    justify-content: start;
    background-color: #FA3D6D14;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    gap: 0.5rem;
}

.log-out-txt {
    color: #FA3D6D;
}*/
/*
.nav-options {
    display: none;
}

.nav-hamburger-button {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
}

.nav-logo-container {
    display: inline-block;
    width: 6.7rem;
    height: 3.4rem;
}

.nav-logo-img {
    width: 6.7rem;
    height: 3.4rem;
}

.nav-profile-button {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
}

.profile-img {
    width: 2.5rem;
}*/

/* Heade r*/

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header .container {
    background-image: url(../img/Group\ 6.svg);
    background-repeat: no-repeat;
    background-size: 11.5rem;
    background-position: 0% 0%;
}

.header-contxt {
    margin-top: 4.4rem;

}


.header-contxt-txt-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.header-contxt-txt-main {
    font-size: 0.87rem;
    color: #838383;
    margin-top: 0.5rem;
}

.header-contxt-txt-title .blue2 {
    color: #48CFAD;
}

.header-contxt-txt-title .normal {
    font-size: 1.2rem;
    color: #315549;
}

.header-contxt-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    width: 9.3rem;
    height: 3rem;
    background-color: #48CFAD1F;
    border-radius: 6.25rem;
    color: #48CFAD;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.75rem;
    backdrop-filter: blur(6px);
}

.header-contxt-button .header-arrow {
    width: 1.5rem;
}

.header-img {
    display: none;
}

/* Main */

.main {
    display: flex;
    flex-direction: column;
    gap: 6.3rem;
}

.main .container {
    flex-direction: column;
    padding: 0 1rem;
}

.exams-section .container {
    margin-top: 6.3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

h2 {
    color: #48CFAD;
    font-size: 2rem;
    font-weight: bold;
    background-image: url(../img/Vector\ 1.svg);
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.exams-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 0 1rem;
}

.exams-container>[class^="exam"] {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0.5rem;
    border-radius: 1.5rem;
    background-color: #FFFFFF;
    box-shadow: 0px 0px 8px 0px #0000000D, 0px 2px 2px 0px #0000000D;
    width: 19.4rem;
    cursor: pointer;
}

.exam-img {
    margin: 0.5rem 0;
    border: 1px solid #48CFAD1F;
    border-radius: 1rem 1rem 0.25rem 0.25rem;
}

.exam-contxt {
    padding: 0.5rem 0.25rem 1rem;
}

.exam-title {
    font-size: 0.9rem;
    color: #363838;
    font-weight: 600;
}

.exam-sum {
    margin: 0.25rem 0;
    font-size: 0.75rem;
    color: #838383;
}

.opinions-section {
    background-color: #363838;
    padding-top: 2rem;
}

.opinions-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 1170px !important;
}

.opinions-container {
    margin: 0 auto;
    width: 100%;
    margin-bottom: 3.25rem;
}

.opinions-container .dot {
    background: #46BC9E40 !important;
    width: 0.4rem !important;
    height: 0.4rem !important;
    margin: 0 0.25rem !important;
    opacity: 1 !important;
}

.opinions-container .dot.is-selected {
    background: #46BC9E !important;
    width: 0.75rem !important;
    border-radius: 6.25rem;
    transition: all 0.2s ease;
}

.slide-background {
    padding: 0 0.75rem;
}

.opinion-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    gap: 0.5rem;
    border-radius: 1.5rem;
    background-color: #FFFFFF;
    width: 19.4rem;
}

.opinion-card.is-selected {
    z-index: 2;
    box-shadow: rgb(49, 44, 44) 0px 0px 4px 2px;
}

.opinion-contxt {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
}

.opinion-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #363838;
}

.opinion-txt {
    font-size: 0.75rem;
    color: #838383;
    text-align: center;
}

.common-q-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3.75rem;
}

.common-q-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
}

.common-q-container>[class^="common-q"] {
    display: flex;
    width: 100%;
    justify-content: space-between;
    border-radius: 1rem;
    align-items: center;
    background-color: #FFFFFF;
    padding: 1rem;
    box-shadow: 0px 0px 8px 0px #0000000D, 0px 2px 2px 0px #0000000D;
    flex-wrap: wrap;
    cursor: pointer;
    overflow: hidden;
    max-height: 53px;
    transition: max-height 0.2s ease;
}

.common-q-txt {
    font-size: 1rem;
    color: #4A4D4B;
}

.common-q-button {
    display: flex;
    align-items: center;
    margin-right: auto;
    transition: transform 0.25s ease;
}

.common-q-answer {
    border-radius: 1rem;
    background-color: #F7FAF9;
    color: #838383;
    font-size: 0.85rem;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    padding: 0 1rem;
    max-height: none;
}

.common-q-answer.open {
    margin-top: 1.5rem;
    transform: scaleY(1);
    opacity: 1;
    padding: 1rem;
}

/* Footer */

.footer .container {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 2rem;
    text-align: center;
    width: 100%;
    box-shadow: 0px 0px 8px 0px #0000000D, 0px 2px 2px 0px #0000000D;
}

.logo-contact {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem;
    width: 100%;
}

.footer-logo {
    cursor: pointer;
}

.socials {
    display: flex;
    gap: 1rem;
}

.border {
    width: 85%;
    border-bottom: 1px solid #DAE1DD;
    opacity: 0.5;
}

.copyright {
    margin: 1rem;
    color: #5BA794;
    font-size: 0.75rem;
    opacity: 0.4;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }

    .header .container {
        background-size: 14.5rem;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }

    .header .container {
        background-size: 17.5rem;
    }

    .header-contxt-txt-title {
        font-size: 1.7rem;
        line-height: 1.8rem;
    }

    .exams-container>[class^="exam"] {
        width: 15.5rem;
    }

    .exam-img {
        width: 14.5rem;
    }

    .border {
        width: 95%;
    }
}

@media (min-width: 992px) {
    body {
        background-color: #F5FCFB;
        background-image: url(../img/Mask\ group-2.svg);
    }

    .container {
        max-width: 960px;
    }
/*
    .nav .container {
        position: sticky;
        top: 0;
    }

    .nav-button {
        display: none;
    }

    .nav-options {
        display: flex;
        justify-content: space-between;
        align-items: center;
        list-style-type: none;
        gap: 0.25rem;
    }

    .nav-options>li {
        padding: 0.75rem;
        border-radius: 1rem;
        cursor: pointer;
    }

    .nav-options>li:first-child a {
        color: #48CFAD;
    }

    .nav-options p {
        font-size: 1rem;
        color: #737373;
    }

    .nav-menu-exams-button {
        height: unset;
    }

    .dropdown {
        height: 2.8rem;
    }

    .nav-exams-dropdown {
        position: fixed;
        margin-top: 1rem;
        margin-right: unset;
        padding: 0.75rem 1.8rem 0.75rem 1.2rem;
        background-color: #FFFFFF;
        border-radius: 1.5rem;
    }

    .nav-profile-button {
        width: 3rem;
        height: 3rem;
    }

    .profile-img {
        width: 3rem;
    }
*/
    .header .container {
        display: flex;
        gap: 130px;
        margin-top: 30px;
        background-position: 65%;
        background-size: 20.5rem
    }

    .header-contxt-txt-title {
        font-size: 2.1rem;
        line-height: 2.7rem;
    }

    .header-contxt-txt-main {
        line-height: 1.5rem;
    }

    .header-img {
        display: unset;
        width: 333px;
        height: 358px;
    }

    .common-q-container {
        width: 56%;
    }

    .opinions-container {
        width: 85%;
    }

    .border {
        width: 90%;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }

    .header .container {
        gap: 180px;
        background-size: 23.5rem;
    }

    .header-contxt-txt-title {
        font-size: 2rem;
        line-height: 3.25rem;
    }

    .header-contxt-txt-title .blue2 {
        font-size: 3rem;
    }

        .header-contxt-txt-title .normal {
            font-size: 1.8rem;
            color: #315549;
        }

    .header-contxt-txt-main {
        font-size: 0.9rem;
        line-height: 2rem;
    }

    .header-img {
        width: 400px;
        height: 434px;
    }

    .opinion-card {
        width: 20.4rem;
        gap: 0.9rem;
        padding: 0.9rem;
    }

    .opinion-img {
        width: 3.3rem;
    }

    .opinion-title {
        font-size: 1.1rem;
    }

    .opinion-txt {
        font-size: 0.75rem;
    }

    .opinions-container {
        width: 91%;
    }

    .border {
        width: 95%;
    }
}