@import url("dj.css");
@import url("dj_search.css");

@font-face {
    font-family: "Vazirmatn";
    src: url("../fonts/vazirmatn/Vazirmatn-Variable.woff2") format("woff2-variations");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --bs-font-sans-serif: "Vazirmatn", Tahoma, Arial, sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
}

body,
button,
input,
select,
textarea {
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: inherit;
}

body.rtl .sp-megamenu-parent>li.sp-has-child>a:before, body.rtl .sp-megamenu-parent>li.sp-has-child>span:before {
    font-weight: bold;
}

#sp-footer ul.menu, #sp-footer ul.menu ul {
    display: flex !important;
    flex-direction: column;
    margin: 0 2px;
    padding: 10px 2px;
}

#sp-main-body {
    padding: 0 0;
}

#sp-header {
    background-color: #0b131d;

    background-image:
        radial-gradient(
            circle at 15% 0%,
            rgba(35, 74, 103, 0.35) 0%,
            rgba(35, 74, 103, 0) 38%
        ),
        radial-gradient(
            circle at 85% 100%,
            rgba(24, 95, 54, 0.12) 0%,
            rgba(24, 95, 54, 0) 35%
        ),
        linear-gradient(
            110deg,
            #101d2a 0%,
            #0c1621 45%,
            #080f17 100%
        );

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.18);
}
.sp-sign-in{
    color:#fff;
    background-color: #037302;
    border: 1px solid transparent;
    padding: 6px 12px;
    border-radius: 4px;
    line-height: 1.25;
}
.sp-sign-in:hover{
    color:#fff;
}
.header-modules {
    margin-left: 0;
}
#sp-header .sp-module {
    margin-left: 0;
}
.sp-sign-in .signin-text{
    margin-right: 5px;
}
/* Site breadcrumbs */

section#sp-breadcrumbs {
    padding-block: 18px 8px;
    background: transparent;
}

section#sp-breadcrumbs .container-inner,
section#sp-breadcrumbs .sp-column,
section#sp-breadcrumbs .sp-module,
section#sp-breadcrumbs .sp-module-content {
    width: 100%;
}

section#sp-breadcrumbs .mod-breadcrumbs__wrapper {
    display: block;
    justify-content: flex-start;
    width: 100%;
    direction: rtl;
}

section#sp-breadcrumbs .mod-breadcrumbs {
    display: block;
    flex-wrap: nowrap;
    gap: 0;
    align-items: center;
    overflow-x: auto;
    max-width: 100%;
    margin: 0;
    padding: 8px 10px !important;
    border: 1px solid #e4e9e5;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(24, 45, 30, 0.06);
    color: #707872;
    scrollbar-width: none;
    white-space: nowrap;
}

section#sp-breadcrumbs .mod-breadcrumbs::-webkit-scrollbar {
    display: none;
}

section#sp-breadcrumbs .mod-breadcrumbs__here,
section#sp-breadcrumbs .mod-breadcrumbs__divider {
    display: none;
}

section#sp-breadcrumbs .mod-breadcrumbs__item {
    display: inline-flex;
    float: none;
    align-items: center;
    padding: 0;
    color: #7a837c;
    font-size: 0.82rem;
    line-height: 1.5;
}

section#sp-breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
    float: none;
    padding-inline: 9px;
    color: #b1b9b3;
    content: "‹";
    font-family: Arial, sans-serif;
    font-size: 1.05rem;
    line-height: 1;
}

section#sp-breadcrumbs .mod-breadcrumbs__item a,
section#sp-breadcrumbs .mod-breadcrumbs__item > span {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 6px 7px;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease;
}

section#sp-breadcrumbs .mod-breadcrumbs__item a:hover,
section#sp-breadcrumbs .mod-breadcrumbs__item a:focus-visible {
    background: #f0f8f1;
    color: #16762a;
    outline: none;
}

section#sp-breadcrumbs .mod-breadcrumbs__here + .mod-breadcrumbs__item a::before,
section#sp-breadcrumbs .mod-breadcrumbs__divider + .mod-breadcrumbs__item a::before {
    display: inline-block;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d8f32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 9-8 9 8'/%3E%3Cpath d='M5 10v10h14V10M9 20v-6h6v6'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
}

section#sp-breadcrumbs .mod-breadcrumbs__item.active {
    color: #185f26;
    font-weight: 750;
}

section#sp-breadcrumbs .mod-breadcrumbs__item.active > span {
    max-width: min(300px, 32vw);
    overflow: hidden;
    background: #edf7ef;
    text-overflow: ellipsis;
}


.view-item #sp-left {
    display: none;
}
.view-item #sp-component{
    width: 100%;
}

@media (max-width: 767px) {
    section#sp-breadcrumbs {
        padding-block: 10px 4px;
    }

    section#sp-breadcrumbs .mod-breadcrumbs {
        width: 100%;
        padding: 6px 7px !important;
        border-radius: 11px;
    }

    section#sp-breadcrumbs .mod-breadcrumbs__item {
        font-size: 0.76rem;
    }

    section#sp-breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
        padding-inline: 5px;
    }

    section#sp-breadcrumbs .mod-breadcrumbs__item.active > span {
        max-width: 180px;
    }
}

/* Homepage hero — scoped by the Page Builder hero content class. */
.sp-page-builder .page-content .sppb-section:has(.hero-content) {
    position: relative;
    isolation: isolate;
    overflow: visible;
    min-height: 590px;
    background-position: center 42% !important;
}

.sp-page-builder .page-content .sppb-section:has(.hero-content)::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 10, 7, 0.22) 0%, rgba(3, 10, 7, 0.48) 45%, rgba(3, 10, 7, 0.88) 100%),
        linear-gradient(0deg, rgba(3, 9, 6, 0.72) 0%, transparent 42%);
    content: "";
    pointer-events: none;
}

.sp-page-builder .page-content .sppb-section:has(.hero-content) > .sppb-row-container {
    position: relative;
    z-index: 1;
}

.hero-content {
    width: min(640px, 58vw);
    margin-inline-end: auto;
    color: #fff;
    text-align: right;
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.3);
}

.hero-content .hero-title {
    position: relative;
    margin: 0;
    padding-block-start: 18px;
    color: #fff;
    font-size: clamp(2.5rem, 4.4vw, 4.25rem);
    font-weight: 950;
    letter-spacing: -0.045em;
    line-height: 1.32;
}

.hero-content .hero-title::before {
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    width: 58px;
    height: 3px;
    border-radius: 20px;
    background: #28aa42;
    box-shadow: 0 0 20px rgba(40, 170, 66, 0.48);
    content: "";
}

.hero-content .hero-title span,
.hero-content .hero-description strong {
    color: #35b74e;
}

.hero-content .hero-description {
    max-width: 610px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(0.9rem, 1.2vw, 1.06rem);
    font-weight: 450;
    line-height: 2.05;
}

@media (max-width: 991px) {
    .sp-page-builder .page-content .sppb-section:has(.hero-content) {
        min-height: 660px;
        background-attachment: scroll !important;
    }

    .sp-page-builder .page-content .sppb-section:has(.hero-content)::before {
        background: linear-gradient(90deg, rgba(3, 10, 7, 0.52), rgba(3, 10, 7, 0.88));
    }

    .hero-content {
        width: min(680px, 92%);
    }
}

@media (max-width: 575px) {

	.menu-with-offcanvas{
		display: none !important;
	}
	#sp-header .align-items-center {
		display: flex;
		flex-wrap: nowrap;
		justify-content: flex-end !important;
	}
	#sp-header .align-items-center > * {
		padding: 0px;
	}
    .sp-page-builder .page-content .sppb-section:has(.hero-content) {
        width: 100vw;
        max-width: 100vw;
        min-height: 760px;
        padding-block: 48px 62px !important;
        background-position: 35% center !important;
    }

	.burger-icon>span {
		background-color: #fff;
	}

    .sp-page-builder .page-content .sppb-section:has(.hero-content) .sppb-row-container {
        width: 100vw;
        max-width: 100vw;
        padding-inline: 0;
    }

    .sp-page-builder .page-content .sppb-section:has(.hero-content) .sppb-row {
        margin-inline: 0;
    }

    .sp-page-builder .page-content .sppb-section:has(.hero-content) .sppb-row-column,
    .sp-page-builder .page-content .sppb-section:has(.hero-content) .sppb-column,
    .sp-page-builder .page-content .sppb-section:has(.hero-content) .sppb-column-addons {
        width: 100%;
        min-width: 0;
        padding-inline: 0;
    }

    .hero-content {
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        margin-right: auto;
        margin-left: auto;
        padding-inline: 0;
    }

    .hero-content .hero-title {
        font-size: clamp(2rem, 10vw, 2.8rem);
        line-height: 1.42;
    }

    .hero-content .hero-description {
        margin-block-start: 14px;
        font-size: 0.86rem;
        line-height: 1.95;
    }

    .hero-content .hero-description br {
        display: none;
    }
}