@font-face {
    font-family: "IRANYekanXFaNum";
    font-style: normal;
    font-weight: 200;
    src: url("../font/Woff/IRANYekanXFaNum-Thin.woff") format("woff"),
        url("../font/Woff2/IRANYekanXFaNum-Thin.woff2") format("woff2");
}

@font-face {
    font-family: "IRANYekanXFaNum";
    font-style: normal;
    font-weight: 300;
    src: url("../font/Woff/IRANYekanXFaNum-Light.woff") format("woff"),
        url("../font/Woff2/IRANYekanXFaNum-Light.woff2") format("woff2");
}

@font-face {
    font-family: "IRANYekanXFaNum";
    font-style: normal;
    font-weight: 400;
    src: url("../font/Woff/IRANYekanXFaNum-Regular.woff") format("woff"),
        url("../font/Woff2/IRANYekanXFaNum-Regular.woff2") format("woff2");
}

@font-face {
    font-family: "IRANYekanXFaNum";
    font-style: normal;
    font-weight: 500;
    src: url("../font/Woff/IRANYekanXFaNum-Medium.woff") format("woff"),
        url("../font/Woff2/IRANYekanXFaNum-Medium.woff2") format("woff2");
}

@font-face {
    font-family: "IRANYekanXFaNum";
    font-style: normal;
    font-weight: 600;
    src: url("../font/Woff/IRANYekanXFaNum-DemiBold.woff") format("woff"),
        url("../font/Woff2/IRANYekanXFaNum-DemiBold.woff2") format("woff2");
}

@font-face {
    font-family: "IRANYekanXFaNum";
    font-style: normal;
    font-weight: 700;
    src: url("../font/Woff/IRANYekanXFaNum-Bold.woff") format("woff"),
        url("../font/Woff2/IRANYekanXFaNum-Bold.woff2") format("woff2");
}

:root {
    --color-nil-0: #8d4bf6;
    --color-nil-1: #404040;
    --color-nil-2: #808080;
    --color-nil-3: #525252;
    --color-nil-4: #a1a1a1;
    --color-nil-5: #737373;
    --color-nil-6: #f5f5f5;
    --color-nil-7: #417cd3;
    --color-nil-8: #ef6c9b;
    --color-nil-9: #ee4880;
    --color-nil-10: #f44b4e;
    --color-nil-11: #e07e7e;
    --color-nil-12: #ffae18;
    --color-nil-13: #eb7430;
    --color-nil-14: #cfb1ff;
    --color-nil-15: #181b3f;
    --color-nil-16: #d4d4d4;
    --color-nil-17: #532c90;
    --color-nil-18: #E5E5E5;
    --color-nil-19: #FAFAFA;
    --color-nil-20: #EFE9FE;
    --color-nil-21: #F6F3FF;
    --color-nil-22: #1e2947;
}


.text-nil-2 {
    color: var(--color-nil-2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-bottom: 0;
}


a {
    text-decoration: none;
    color: black;
}

button {
    background: none;
    border: 0;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}


body {
    font-family: "IRANYekanXFaNum", sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
}

.logo {
    width: 85px;

}

header {
    z-index: 900;
}

.container-header {
    max-width: 1300px;
    width: 100%;
    margin-inline: auto;
    padding-inline: 1rem;
}

.btn-primary {
    padding-inline: 1rem;
    padding-block: 8px;
    font-size: 14px;
    border-radius: calc(infinity * 1px);
    background-color: white;
    border: 1px solid var(--color-nil-0);
    color: var(--color-nil-0);
    transition: all 0.3s;
    transition-timing-function: linear;
    width: fit-content;
}

.btn-primary:hover {
    color: white;
    background-color: var(--color-nil-0);
}


.nav-a {
    color: var(--color-nil-1);
    padding-bottom: 16px;
    font-size: 14px;
    transition: all 0.3s ease-in-out;
    transition-timing-function: linear
}

.nav-a:hover {
    color: var(--color-nil-0);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
}

.nav-item {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    width: 100%;
    min-width: 140px;
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 999;
}

.mega-menu .mega-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mega-menu a {
    font-size: 14px;
    color: var(--color-nil-1);
    transition: color 0.2s linear;
}

.mega-menu a:hover {
    color: var(--color-nil-0);
}

.nav-item:hover .mega-menu {
    display: block;
}

.mega-item {
    position: relative;
}

.sub-menu {
    position: absolute;
    top: 0;
    right: 100%;
    min-width: 140px;
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
}

.sub-menu a {
    display: block;
    font-size: 13px;
    color: var(--color-nil-1);
    padding: 4px 8px;
    transition: color 0.2s linear;
}

.sub-menu a:hover {
    color: var(--color-nil-0);
}

.mega-item:hover .sub-menu {
    display: block;
}



main {
    padding-top: 98px;
    max-width: 1300px;
    padding-inline: 1rem;
    width: 100%;
    margin-inline: auto;
}

footer {
    margin-top: 20px;
    width: 100%;
    margin-inline: auto;
    max-width: 1300px;
    padding-inline: 1rem;
    padding-bottom: 48px;
    padding-top: 20px;
    border-top: 1px solid var(--color-nil-18);
}

.footer-main-div {
    gap: 24px;
}

.text-sm {
    font-size: 14px;
}

.text-nil-2 {
    color: var(--color-nil-2);
}

.hover-nil:hover {
    color: var(--color-nil-0);
}

.text-nil-22 {
    color: var(--color-nil-22);
}

.logo-img {
    width: 150px;
}

.enamad-img {
    width: 120px;
    height: 120px;
}

.description-footer {
    width: 25%;
}

.menu-footer {
    width: 50%;
}

.section-list-blogs {
    padding-top: 30px;
    display: flex;
}

.side-bar {
    width: 23%;
    height: calc(100vh - 98px);
    position: sticky;
    top: 100px;
    padding-inline-start: 20px;
    display: grid;
    align-content: start;
    gap: 20px;
}

.list-blog {
    width: 77%;
    padding-inline-end: 20px;
}

.img-card-bolg img {
    width: 100%;
    height: 301px;
    object-fit: cover;
    border-radius: 40px;
    border: 1px solid var(--color-nil-18);
    box-shadow: 0px 20px 40px -10px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease-in-out;
}

.title-card-blog {
    width: 220px;
    margin-inline: auto;
    font-size: 18px;
    font-weight: 500;
    color: var(--color-nil-1);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.2s ease-in-out;
}

.description-card {
    font-size: 12px;
    color: var(--color-nil-4);
    padding-inline: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


.card-blog:hover .title-card-blog {
    color: var(--color-nil-0);
}

.card-blog:hover .img-card-bolg img {
    border: 1px solid var(--color-nil-0);
    transform: scale(101%);
}

.box-links {
    border: 1px solid var(--color-nil-18);
    border-radius: 30px;
    overflow: hidden;
}

.header-box-link h2 {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-nil-5);
    padding-inline: 30px;
    padding-block: 12px;
    text-align: center;
    border-bottom: 1px solid var(--color-nil-18);
}

.body-box-link a {
    font-size: 14px;
    font-weight: 300;
    color: var(--color-nil-5);
    transition: all 0.3 ease-in-out;
}

.body-box-link a:hover {
    color: var(--color-nil-0);
}

.btn-menu {
    background-color: #F6F3FF;
    color: #6720B7 !important;
    border-radius: 10px;
    padding: 2px;
    width: 32px;
    height: 32px;
}

.search-input {
    width: 100%;
    padding-block: 11px;
    padding-inline: 24px;
    font-size: 14px;
    border-radius: 20px;
    color: var(--color-nil-1);
    border: 1px solid var(--color-nil-18);
}

.search-input:focus {
    outline: none;
}

.search-input::placeholder {
    color: var(--color-nil-16) !important;
}

.search-input:placeholder-shown {
    color: var(--color-nil-0);
    font-size: 13px;
}

.search-icon {
    position: absolute;
    top: 8px;
    left: 12px;
}


/* mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.menu-content {
    position: absolute;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    padding: 20px;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.h-100.d-grid.align-content-between>.d-grid.align-content-start {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.h-100.d-grid.align-content-between>.d-grid.align-content-start::-webkit-scrollbar {
    display: none;
}

.menu-content.active {
    right: 0;
}

.mobile-nav a {
    display: block;
    padding: 12px 10px;
    color: #333;
    text-decoration: none;
}

.mobile-nav a:hover {
    background: #f5f5f5;
}

.close-menu {
    border: none;
    background-color: white;
    color: var(--color-nil-0);
    border-radius: calc(infinity * 1px);
    position: absolute;
    left: -42px;
    top: 50px;
    cursor: pointer;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.accordion-header {
    display: block;
    padding: 10px 15px;
    cursor: pointer;
    color: #333;
    text-decoration: none;
    background: #ffff;
    transition: background 0.3s;
    border-bottom: 1px solid #eee;
}

.accordion-header:hover {
    background: #e0e0e0;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    padding-inline-start: 20px;
    transition: max-height 0.3s ease;
}

.accordion-item.active>.accordion-body {
    max-height: 500px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.accordion-item.active>.accordion-body::-webkit-scrollbar {
    display: none;
}

.h3 {
    font-weight: 600;
    color: var(--color-nil-3);
    font-size: 24px;
}

.img-cover-blog {
    height: 520px !important;
    width: 100%;
    border-radius: 20px !important;
    margin-bottom: 32px !important;
}

.content-details h1 {
    font-size: 24px;
    font-weight: 500;
    color: var(--color-nil-1);
}

.content-details h2 {
    font-size: 20px;
    font-weight: 500;
    color: var(--color-nil-1);
    margin-bottom: 10px;
}

.content-details h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-nil-1);
    margin-bottom: 10px;
}

.content-details h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-nil-1);
    margin-bottom: 10px;
}

.content-details h5 {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-nil-1);
    margin-bottom: 10px;
}

.content-details h6 {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-nil-1);
    margin-bottom: 10px;
}

.line-custom {
    height: 28px;
    width: 2px;
    background-color: #E5E5E5;
}

.category-label {
    color: var(--color-nil-4);
    font-size: 14px;
}

.score-blog {
    font-size: 16px;
    font-weight: 300;
    color: var(--color-nil-12);
}

.content-details p {
    font-size: 16px;
    font-weight: 300;
    color: var(--color-nil-5);
    line-height: 220%;
    margin-bottom: 1rem;
}

.content-details blockquote p {
    font-size: 16px;
    font-weight: 300;
    color: black !important;
    line-height: 220%;
    margin-bottom: 0rem !important;
}

.content-details blockquote {
    position: relative;
    padding: 50px;
    border-radius: 20px;
    background: rgba(207, 177, 255, 0.25);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    box-shadow: 0 2px 2px rgba(207, 177, 255, 0.044),
        0 4px 12px rgba(0, 0, 0, 0.2);
    margin-bottom: 1.5rem;
}

.content-details img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 16px;
}

.svg-blockquote {
    color: var(--color-nil-0);
    position: absolute;
    top: 0;
    left: 0;
}

.svg-blockquote-rote {
    color: var(--color-nil-0);
    transform: rotate(180deg);
    position: absolute;
    bottom: 0;
    right: 0;
}


.heading-faq {
    font-size: 32px;
    font-weight: 500;
    color: #202020;
    margin-bottom: 64px;
}

.btn-faq {
    padding: 24px;
    gap: 16px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    color: var(--color-nil-1);
    font-weight: 300;
    align-items: center;
}

.faq-items {
    transition: all ease-in-out 0.3s;
    border: 1px solid white;
    border-radius: 18px;
    overflow: hidden;
    background-color: var(--color-nil-20);
}

.faq-items:hover {
    border: 1px solid var(--color-nil-0);
}

.faq-items.active {
    border: 1px solid var(--color-nil-0);
    background-color: white;
    box-shadow: 0px 5px 16px rgba(107, 10, 197, 0.1);
}

.description-faq p {
    font-size: 14px;
    padding-inline: 24px;
    padding-bottom: 24px;
    margin-bottom: 0;
}

.description-faq {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.arrow-faq {
    transition: transform 0.3s ease;
    width: 28px !important;
    height: 28px !important;
    margin-bottom: 0 !important;
}

.social-section {
    box-sizing: border-box;
    background: #FFFFFF;
    border: 1px solid var(--color-nil-18);
    border-radius: 20px;
    padding-block: 28px;
    display: flex;
    justify-content: center;
}

.social-section svg {
    color: var(--color-nil-5);
}

.social-section svg:hover {
    color: var(--color-nil-0);
}

.author-section {
    box-sizing: border-box;
    background: #FFFFFF;
    border: 1px solid var(--color-nil-18);
    border-radius: 20px;
    padding-block: 14px;
    padding-inline-start: 70px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    overflow: hidden;
}

.author-profile {
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: calc(infinity * 1px);
    border: 2px solid var(--color-nil-0);
    padding: 3px;
}

.author-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(infinity * 1px);
}

.name-author {
    font-size: 14px;
    color: var(--color-nil-5);
}

.role-author {
    font-size: 12px;
    color: var(--color-nil-5);
    font-weight: 300;
}

.elipse {
    position: absolute;
    right: -60px;
    width: 108px;
    height: 108px;
    border-radius: calc(infinity * 1px);
    background-color: var(--color-nil-21);
}

.input-primary {
    padding-inline: 1rem;
    padding-block: 8px;
    border: 1px solid var(--color-nil-16);
    border-radius: calc(infinity * 1px);
    font-size: 14px;
    color: var(--color-nil-1);
    direction: rtl !important;
    transition: all 0.2s linear;
}

.input-primary::placeholder {
    color: var(--color-nil-16);
}

.input-primary:focus {
    border: 1px solid var(--color-nil-0);
    outline: none;
}

.comment-section h2 {
    margin-top: 30px;
    font-weight: 500;
    font-size: 22px;
}

.comment-avatar {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid #fff;
    position: absolute;
    top: -38px;
    right: 20px;
}

.reply-circle {
    width: 162px;
    height: 162px;
    border: 2px dashed #ccc;
    border-radius: 50%;
    position: absolute;
    right: 410px;
    top: -10%;
    transform: translateY(-50%);
    z-index: 1;
}

.reply-box {
    position: relative;
    z-index: 2;
    background: #fff;
    border: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-radius: 0 0 20px 0;
    width: 470px;
}

.box-pageintion {
    border-radius: calc(infinity * 1px);
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--color-nil-2);
    font-family: sans-serif;
    background-color: white;
    padding: 4px 20px;
    border: 1px solid var(--color-nil-6);
    /* شادو */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}




.box-pageintion a {
    color: var(--color-nil-2);
}

.box-pageintion a:hover {
    color: var(--color-nil-0);
}

.box-pageintion .select {
    background: var(--color-nil-17);
    color: white;
    font-weight: 500;
    padding-inline: 8px;
    border-radius: calc(infinity * 1px);
}

.banner-section {
    width: 100%;
    height: 200px;
    padding: 24px;
    padding-bottom: 50px;
    background: #8D4BF6;
    background: radial-gradient(circle, rgba(141, 75, 246, 1) 0%, rgba(207, 177, 255, 1) 100%);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: end;
}

.custom-shape-divider-top-1758536591 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    fill: #cfb1ff !important;
}

.text-banner {
    font-size: 20px;
    font-weight: 500;
}

.text-banner {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(90deg, #ffffff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}


.btn-banner {
    background-color: #151d75;
    border: 1px solid var(--color-nil-15);
    color: white;
    padding-block: 10px;
    padding-inline: 20px;
    border-radius: calc(infinity * 1px);
    transition: all 0.3s linear;
    width: fit-content;
}

.btn-banner:hover {
    background-color: transparent;
    color: var(--color-nil-15);
    transition: all 0.3s linear;
}

.btn-banner svg {
    transition: all 0.2s linear;
}

.btn-banner:hover svg {
    transform: translateX(-6px);
}