@font-face {
    src: url(./fonts/IRANSans/IRANSans\(FaNum\)_Medium.ttf);
    font-family: IRANSans;
}

@font-face {
    src: url(./fonts/IRANSans/IRANSans\(FaNum\)_Light.ttf);
    font-family: IRANSansLight;
}

@font-face {
    src: url(./fonts/IRANSans/IRANSans\(FaNum\)_Black.ttf);
    font-family: Fedra;
}

* {
    direction: rtl;
    /* font-family: Fedra; */
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    border: 0px;
    text-align: right;
    text-decoration: none;
    list-style: none;
}

body {
    font-family: IRANSans;
}

a {
    color: #0b2c6e;
}

.container {
    padding: 0px 2rem;
}

.flex {
    display: flex;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.justify-between {
    justify-content: space-between;
}

.item-center {
    align-items: center;
}

.w-full {
    width: 100%;
}

.flex-grow {
    flex-grow: 1;
}

.width-half {
    width: 50%;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 64px;
    height: 48px;
    padding: 1rem 1.5rem;
    border-radius: 0.8rem;
    font-family: IRANSans;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-default {
    border: 1px solid;
    border-color: #0b2c6e;
    color: #0b2c6e;
}

.btn-default:hover {
    background: #0b2c6e;
    color: #fff;
}

.btn-primary {
    box-shadow: 0px 1px 5px rgba(100, 116, 139, 0.12);
    box-sizing: content-box;
    /* width: 238px; */
    height: 32px;
    padding: 0.5rem 1.5rem;
    background-color: #0ac974;
    font-size: 1.25rem;
    color: #fff;
    text-decoration: none;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
    box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
    border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
    color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}

.btn-primary:hover {
    text-decoration: none;
    background-color: #08a15d;
    box-shadow: 0px 1px 5px rgba(100, 116, 139, 0.12);
}

.btn-secondary {
    min-width: 212px;
    background: #13274f;
    height: 42px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    border-radius: 52px;
}

header {
    box-shadow: 0px 1px 5px rgba(100, 116, 139, 0.12);
    position: sticky;
    top: 0px;
    height: 80px;
    background: #fff;
    z-index: 9999999999;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-nav {
    display: flex;
    align-items: center;
}

.logo {
    margin-left: 4rem;
}

nav {
    position: absolute;
    top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: #f3f3f3;
    width: 100%;
    right: -100%;
    padding-bottom: 1rem;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-active {
    right: 0%;
}

.navlink {
    padding: 1rem 1.5rem;
}

.slider {
    width: 100%;
    /* padding: 4rem; */
    padding: 2rem;
    background: linear-gradient(275.17deg, #12563d 0%, #0c9e5d 100%);
    font-family: Fedra;
}

.slider-flex {
    display: flex;
    flex-direction: column-reverse;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.slider-text {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.89;
    color: #fff;
    text-align: center;
    margin-bottom: 1rem;
}

.slider-img {
    /* width: 780px; */
    width: 100%;
}

.upv {
    width: 100%;
    /* height: 120px; */
    /* margin-top: 6rem; */
    margin-top: 2rem;
    background-color: #2f805f;
    border-radius: 1.5rem;
    font-weight: 900;
    color: #fff;
    padding: 1rem 0px;
}

.upv > .container {
    height: 100%;
    flex-direction: column;
    gap: 1rem;
}

.get-loan {
    padding: 5rem 0px;
    color: #23417d;
}

.loan-title {
    line-height: 1.14;
    font-size: 1.75rem;
    font-family: Fedra;
}

.loan-subtitle {
    font-family: Fedra;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: 700;
}

.get-loan .content {
    font-size: 0.875rem;
    line-height: 2.3;
    color: #23417d;
    font-family: IRANSansLight;
}

.get-loan-flex {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.get-loan img {
    width: 100%;
    margin-top: 2rem;
}

.loan-step-wrap {
    position: relative;
    width: 100%;
    overflow-x: scroll;
    scroll-behavior: smooth;
}

.loan-step-wrap::-webkit-scrollbar {
    display: none;
}

.loan-steps {
    display: flex;
}

.loan-step {
    flex-shrink: 0;
    width: 100%;
}

.tabs {
    background: #f5f6f9;
    padding: 0.5rem;
    flex-wrap: wrap;
    border-radius: 0.8rem;
    gap: 0.5rem;
    margin: 2.5rem 0px;
    justify-content: start;
}

.tab {
    cursor: pointer;
    font-family: IRANSansLight;
    padding: 1px 0.8rem;
    font-size: 0.875rem;
    color: #6d80a8;
}

.tab-active {
    background-color: #ffffff;
    color: #23417d;
    font-weight: 700;
    border-radius: 0.5rem;
    font-family: IRANSans;
}

.provider {
    margin-bottom: 8rem;
    margin-top: 2rem;
    color: #0b2c6e;
}

.provider-title {
    line-height: 1.14;
    font-size: 1.75rem;
    font-family: Fedra;
    margin-bottom: 2rem;
}

.line-circle {
    position: relative;
    display: flex;
    flex-direction: column;
    /* padding: 0px 4rem; */
    gap: 1.5rem;
}

.line {
    display: none;
}

.markLabel {
    cursor: pointer;
    /* position: absolute; */
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    bottom: -37px;
    z-index: 99;
    align-items: center;
}

.mark {
    width: 2.5rem;
    height: 2.5rem;
    /* background: #d4f4e1; */
    background: #b9b9b9;
    border-radius: 2.5rem;
    transition: all 0.3s;
}

.label {
    font-size: 1.25rem;
    transition: all 0.3s;
}

.markLabel-active .mark {
    background: #0ac974;
    transform: scale(1.2);
}

.markLabel-active .label {
    color: #0ac974;
}

#ten {
    right: 0%;
}

#fifteen {
    right: 12.5%;
}

#twenty {
    right: 25%;
}

#thirty {
    right: 50%;
}

#fifty {
    left: 0%;
}

.provider-plans {
    margin: 6rem 0px 8rem 0px;
}

.plans-wrap {
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
}

.plan input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.plan {
    cursor: pointer;
    /* width: 30%; */
    width: 100%;
}

.plan .plan-content {
    display: flex;
    padding: 1rem 3rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    /* border: 2px solid #e1e2e7; */
    border-radius: 10px;
    transition: box-shadow 0.4s, -webkit-box-shadow 0.4s;
    position: relative;
    color: #0b2c6e;
}

.plan .plan-details span {
    margin-bottom: 10px;
    display: block;
    font-size: 1rem;
    line-height: 24px;
    color: #0b2c6e;
}

.plan .plan-details p {
    font-size: 0.8rem;
}

.calculated-loan {
    border-top: 3px dashed rgba(0, 0, 0, 0.12);
    margin-top: 24px;
    padding-top: 24px;
}

.container .title {
    font-size: 20px;
    font-weight: 500;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    color: #252f42;
    margin-bottom: 20px;
}

.plans .plan .plan-details p {
    color: #646a79;
    font-size: 14px;
    line-height: 18px;
}

.plans .plan .plan-content:hover {
    -webkit-box-shadow: 0px 3px 5px 0px #e8e8e8;
    box-shadow: 0px 3px 5px 0px #e8e8e8;
}

.plan input[type="radio"]:checked + .plan-content:after {
    content: "";
    position: absolute;
    height: 8px;
    width: 8px;
    background: #0b2c6e;
    right: 20px;
    top: 20px;
    border-radius: 100%;
    border: 3px solid #fff;
    box-shadow: 0px 0px 0px 2px #0b2c6e;
}

.plan input[type="radio"] + .plan-content:after {
    content: "";
    position: absolute;
    height: 8px;
    width: 8px;
    right: 20px;
    top: 20px;
    border-radius: 100%;
    border: 3px solid #fff;
    box-shadow: 0px 0px 0px 2px #0b2c6e;
}

.plan input[type="radio"]:checked + .plan-content {
    /* border: 2px solid #216ee0; */
    background: #d4f4e1;
    -webkit-transition: ease-in 0.3s;
    -o-transition: ease-in 0.3s;
    transition: ease-in 0.3s;
}

.price-button {
    display: flex;
    flex-direction: column;
}

.price {
    color: #0ac974;
}

.paper-work {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    /* height: 180px; */
    background: #d4f4e1;
    /* padding-right: 64px;
    padding-left: 64px; */
    padding: 1rem 2rem;
    border-radius: 48px;
    /* margin-top: 2rem; */
}

.paper-work .flex {
    /* padding: 0px 4rem; */
    flex-direction: column-reverse;
}

.paper-work img {
    display: none;
}

.paper-work-title {
    font-family: Fedra;
    color: #13274f;
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 89px;
}

.services {
    margin: 4rem 0px;
}

.details-flex {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.services-flex {
    display: flex;
    flex-direction: column;
}

.services-title {
    font-family: Fedra;
    color: #23417d;
    font-size: 1.75rem;
}

.services-content {
    font-size: 0.875rem;
    line-height: 2.3;
    color: #23417d;
    font-family: IRANSansLight;
}

.services img {
    width: 100%;
}

.faq-flex {
    display: flex;
    flex-direction: column;
}

.accordion {
    font-family: IRANSans;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion .accordion-item {
    /* border-bottom: 1px solid #e5e5e5; */
    background: #f5f6f9;

    border-radius: 1rem;
    font-family: IRANSans;
}

.accordion button {
    position: relative;
    width: 100%;
    /* padding: 1em 0; */
    color: #343434;
    font-size: 1.15rem;
    font-weight: 400;
    border: none;
    background: none;
    outline: none;
    font-size: 1rem;
    padding: 1.5rem 1rem;
}

.accordion button:hover,
.accordion button:focus {
    cursor: pointer;
}

.accordion button:hover::after,
.accordion button:focus::after {
    cursor: pointer;
}

.accordion button .accordion-title {
    font-family: IRANSans;
    /* padding: 1rem; */
}

.accordion button .icon {
    display: inline-block;
    position: absolute;
    left: 1rem;
    width: 22px;
    height: 22px;
    border: 1px solid;
    border-radius: 22px;
    top: 50%;
    transform: translateY(-50%);
}

.accordion button .icon::before {
    display: block;
    position: absolute;
    content: "";
    top: 9px;
    left: 5px;
    width: 10px;
    height: 2px;
    background: currentColor;
}

.accordion button .icon::after {
    display: block;
    position: absolute;
    content: "";
    top: 5px;
    left: 9px;
    width: 2px;
    height: 10px;
    background: currentColor;
}

.accordion button[aria-expanded="true"] .icon::after {
    width: 0;
}

.accordion button[aria-expanded="true"] + .accordion-content {
    opacity: 1;
    max-height: fit-content;
    transition: all 200ms linear;
    will-change: opacity, max-height;
}

.accordion .accordion-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 200ms linear, max-height 200ms linear;
    will-change: opacity, max-height;
}

.accordion .accordion-content p {
    /* font-size: 0.8rem; */
    font-weight: 300;
    line-height: 2rem;
    color: #23417d;
    padding: 1rem;
    padding-top: 0px;
    font-size: 0.9rem;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
/* Style the accordion panel. Note: hidden by default */
.panel {
    padding: 0 18px;
    background-color: white;
    display: none;
    overflow: hidden;
}

.faq-img {
    width: 100%;
}

footer {
    background: #22222222;
    padding: 2rem 0px;
}

.footer-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-title {
    font-family: Fedra;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: 700;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-right: 1rem;
    color: #23417d;
}

.each-col {
    flex-grow: 1;
}

.footer-social {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: #0b2c6e;
    /* padding: 0px 6rem; */
    padding: 1rem 2rem;

    border-radius: 16px;
    color: #fff;
}

.social-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 1536px) {
    .btn-primary {
        width: 238px;
    }

    .container {
        width: 1280px;
        padding: 0px 0px;
        margin: 0px auto;
    }

    nav {
        position: relative;
        top: initial;
        display: flex;
        flex-direction: row;
        padding-bottom: 0px;
        background: none;
        right: initial;
    }

    .logo-nav {
        width: 100%;
    }

    .bt-menu {
        display: none;
    }

    .login-sign {
        margin-right: auto;
    }

    .slider {
        padding: 4rem;
    }

    .slider-flex {
        display: flex;
        flex-direction: row;
        gap: 0px;
    }

    .slider-text {
        width: 450px;
        margin-bottom: 4rem;
        font-size: 3rem;
        font-weight: 900;
        line-height: 1.89;
        color: #fff;
        text-align: right;
    }

    .slider-img {
        width: 780px;
    }

    .right-side {
        width: 486px;
    }

    .get-loan-flex {
        flex-direction: row;
    }

    .get-loan img {
        width: 438px;
    }

    .upv {
        margin-top: 6rem;
        height: 120px;
    }

    .upv > .container {
        flex-direction: row;
        gap: 0px;
    }

    .tabs {
        height: 40px;
        background: #f5f6f9;
        padding: 0.5rem;
        flex-wrap: wrap;
        border-radius: 0.8rem;
        gap: 0.5rem;
        margin: 2.5rem 0px;
    }

    .provider-title {
        margin-bottom: 4rem;
    }

    .line-circle {
        flex-direction: column;
    }

    .markLabel {
        position: absolute;
        flex-direction: column;
        gap: 0.5rem;
    }

    .mark {
        width: 2rem;
        height: 2rem;
    }

    .label {
        font-size: 0.8rem;
    }

    .line {
        display: block;
        top: 50%;
        transform: translateY(-50%);
        width: 96%;
        height: 0.25rem;
        background-color: #e4e4e4;
        margin: 0 auto;
    }

    .plan {
        width: 30%;
    }

    .price-button {
        flex-direction: row;
        justify-content: space-between;
    }

    .paper-work {
        height: 180px;
        padding-right: 64px;
        padding-left: 64px;
        margin-top: 2rem;
    }

    .paper-work .flex {
        flex-direction: row;
    }

    .paper-work img {
        display: initial;
    }

    .services-flex {
        flex-direction: row;
        justify-content: space-between;
    }

    .services .details-flex {
        justify-content: center;
    }

    .services img {
        width: 600px;
    }

    .faq-flex {
        flex-direction: row;
        align-items: center;
        gap: 10rem;
    }

    .faq-wrap {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .faq-img {
        width: 460px;
        height: 312px;
    }

    .accordion {
        margin-top: 0rem;
    }

    .footer-flex {
        flex-direction: row;
        align-items: center;
    }

    .footer-list {
        padding-right: 0rem;
    }


}

.faq {
    margin-bottom: 3rem;
}