﻿@font-face {
    font-family: "Vazir";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/vazir/Farsi-Digits/Vazir-FD.eot");
    src: url("../fonts/vazir/Farsi-Digits/Vazir-FD.eot?#iefix") format("embedded-opentype"), url("../fonts/vazir/Farsi-Digits/Vazir-FD.woff2") format("woff2"), url("../fonts/vazir//Farsi-Digits/Vazir-FD.woff") format("woff"), url("../fonts/vazir/Farsi-Digits/Vazir-FD.ttf") format("truetype");
    /*    src: url("../fonts/vazir/Vazir.eot");
    src: url("../fonts/vazir/Vazir.eot?#iefix") format("embedded-opentype"), url("../fonts/vazir/Vazir.woff2") format("woff2"), url("../fonts/vazir/Vazir.woff") format("woff"), url("../fonts/vazir/Vazir.ttf") format("truetype");
*/
}


html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}
body {
    margin-bottom: 60px;
    font-family: Vazir !important;
}

p{
    line-height:30px;
}
.font12{
    font-size:12px;
}
.font13{
    font-size:13px;
}
.font14 {
    font-size: 14px;
}
.font15 {
    font-size: 15px;
}
.font16 {
    font-size: 16px;
}
.font17 {
    font-size: 17px;
}
.font18 {
    font-size: 18px;
}
.font20{
    font-size:20px;
}
 .li {
    padding-bottom: 60px;
    padding-left:25px;
    margin-top:50px;
    display: inline;
}

.CursorNotAllowed {
    cursor:not-allowed
}

.Cursor
{
    cursor:pointer;
}

.CursorNo-drop {
    cursor: no-drop;
}
.SVG {
    width: 120px;
    height: 120px;
}

.button {
    margin-left: 8px;
    background: none;
    border: none;
    font-size: 12px !important;
}

/* CSS */
.button-61 {
    align-items: center;
    appearance: none;
    border-radius: 4px;
    border-style: none;
    box-shadow: rgba(0, 0, 0, .2) 0 3px 1px -2px,rgba(0, 0, 0, .14) 0 2px 2px 0,rgba(0, 0, 0, .12) 0 1px 5px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    font-weight: 500;
    height: 36px;
    justify-content: center;
    letter-spacing: .0892857em;
    line-height: normal;
    min-width: 64px;
    outline: none;
    overflow: visible;
    padding: 0 16px;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: box-shadow 280ms cubic-bezier(.4, 0, .2, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
    will-change: transform,opacity;
}

    .button-61:hover {
        box-shadow: rgba(0, 0, 0, .2) 0 2px 4px -1px, rgba(0, 0, 0, .14) 0 4px 5px 0, rgba(0, 0, 0, .12) 0 1px 10px 0;
    }

    .button-61:disabled {
        background-color: rgba(0, 0, 0, .12);
        box-shadow: rgba(0, 0, 0, .2) 0 0 0 0, rgba(0, 0, 0, .14) 0 0 0 0, rgba(0, 0, 0, .12) 0 0 0 0;
        color: rgba(0, 0, 0, .37);
        cursor: default;
        pointer-events: none;
    }

    .button-61:not(:disabled) {
        background-color: #6200ee;
    }

    .button-61:focus {
        box-shadow: rgba(0, 0, 0, .2) 0 2px 4px -1px, rgba(0, 0, 0, .14) 0 4px 5px 0, rgba(0, 0, 0, .12) 0 1px 10px 0;
    }

    .button-61:active {
        box-shadow: rgba(0, 0, 0, .2) 0 5px 5px -3px, rgba(0, 0, 0, .14) 0 8px 10px 1px, rgba(0, 0, 0, .12) 0 3px 14px 2px;
        background: #A46BF5;
    }


.inline-image {
    display: inline-block;
    margin-top: 30px;
    margin-bottom: 30px;
    margin-left: 30px;
    margin-right: 30px;
    max-width: 100%;
    height: auto;
    border: 1px solid #d5d0d0;
}


@media (max-width: 1024px) {
    .inline-image {
        display: block !important;
        justify-content: center !important;
        width: 100% !important;
        align-items: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        height: 250px !important;
    }
}

/* CSS */
.button-82-pushable {
    position: relative;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    outline-offset: 4px;
    transition: filter 250ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button-82-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: hsl(0deg 0% 0% / 0.25);
    will-change: transform;
    transform: translateY(2px);
    transition: transform 600ms cubic-bezier(.3, .7, .4, 1);
}

.button-82-edge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: linear-gradient( to left, hsl(340deg 100% 16%) 0%, hsl(340deg 100% 32%) 8%, hsl(340deg 100% 32%) 92%, hsl(340deg 100% 16%) 100% );
}

.button-82-front {
    display: block;
    position: relative;
    padding: 5px;
    border-radius: 12px;
    font-size: 15px;
    color: white;
    background: hsl(345deg 100% 47%);
    will-change: transform;
    transform: translateY(-4px);
    transition: transform 600ms cubic-bezier(.3, .7, .4, 1);
}

@media (min-width: 768px) {
    .button-82-front {
        font-size: 15px;
        padding: 5px;
    }
}

.button-82-pushable:hover {
    filter: brightness(110%);
    -webkit-filter: brightness(110%);
}

    .button-82-pushable:hover .button-82-front {
        transform: translateY(-6px);
        transition: transform 250ms cubic-bezier(.3, .7, .4, 1.5);
    }

.button-82-pushable:active .button-82-front {
    transform: translateY(-2px);
    transition: transform 34ms;
}

.button-82-pushable:hover .button-82-shadow {
    transform: translateY(4px);
    transition: transform 250ms cubic-bezier(.3, .7, .4, 1.5);
}

.button-82-pushable:active .button-82-shadow {
    transform: translateY(1px);
    transition: transform 34ms;
}

.button-82-pushable:focus:not(:focus-visible) {
    outline: none;
}


.gallery img {
    width: 60px;
    height: 60px;
    padding: 0px;
    margin-left: 2px;
    border: 1px solid #5d6b99;
    margin-top: 2px;
}

.galleryContainer {
    height: 185px;
    text-align: center;
}

.gallery img:hover {
    opacity: 0.5;
}

.imagePreView {
    width: 60px;
    height: 60px;
}

.method1 {
    background: -webkit-linear-gradient(top, #8f6B29, #FDE08D, #DF9F28);
    background: linear-gradient(top, #8f6B29, #FDE08D, #DF9F28);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.line-only {
    /* ????? ?????? ???? ????? ??? ?? ?? */
    height: 1.9em; /* ?????? ?????? ?? ?? */
    overflow: hidden; /* ???? ???? ??? ????? */
    display: -webkit-box; /* ???? ????? ???? ?????? */
    -webkit-line-clamp: 1; /* ????? ???? ????? ???? ??? */
    -webkit-box-orient: vertical; /* ??? ???? */
}

.bould{
    font-weight:bold;
}

.smalMenu {
    display: none;
}

/* استایل تصویر */
.hedImage {
    width: 100%;
    height: auto;
    opacity: 0;
    transform: scale(0.8); /* شروع از اندازه کوچک‌تر */
    animation: fadeInhedImage 1.5s ease-in-out forwards; /* تعریف انیمیشن */
}

/* تعریف انیمیشن */
@keyframes fadeInhedImage {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 1024px) {
    .smalMenu {
        display: block;
    }
    .loginImg{
        display:none
    }
    .hedImage{
        height:400px;
        margin-top:60px;
    }
}

.hover1:after {
    content: "";
    display: block;
    margin: auto;
    padding-right: 35px;
    height: 2px;
    width: 0px;
    background: transparent;
    transition: width 0.3s ease, background 0.5s ease;
}

.hover1:hover:after {
    width: 100%;
    background: #5ead66;
}

.logo {
    width: 200px;
    height: 110px;
}

.dirRTL{
    direction:rtl !important;
}


.modal1 {
    display: none; /* ????? ???? ????? ?? ??? ??????? */
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4); /* ???????? ??? */
    margin-bottom:200px;
}

.modal1-content {
    background-color: #fefefe;
    margin: auto;
    margin-bottom:50px;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: red;
        text-decoration: none;
        cursor: pointer;
    }

    .slider{
        width:100%;
        height:300px;
    }

.myInput {
    border-top-style: groove;
    border-right-style: groove;
    border-left-style: groove;
    border-bottom-style: groove;
    width: 100%;
    height: 40px;
    padding: 5px;
    transition: box-shadow 0.3s;
}

textarea {
    resize: none;
    border-top-style: groove;
    border-right-style: groove;
    border-left-style: groove;
    border-bottom-style: groove;
    width: 100%;
    padding: 5px;
    transition: box-shadow 0.3s;
}


.blinking-dot {
    width: 10px; /* عرض نقطه */
    height: 10px; /* ارتفاع نقطه */
    margin-left:8px;
    margin-right:8px;
    display:inline-block;
    border-radius: 50%; /* شکل دایره */
    background-color: #b432a9; /* رنگ نقطه */
    animation: blink 1.5s infinite; /* انیمیشن چشمک زدن */
}

@keyframes blink {
    0%, 100% {
        opacity: 1; /* نمایان */
    }

    50% {
        opacity: 0; /* مخفی */
    }
}


.border-animation {
    padding: 20px;
    font-size: 14px;
    text-align: center;
    animation: borderAnimation 2s infinite;
}

@keyframes borderAnimation {
    0% {
        border-color: #3498db;
        transform: scale(1);
    }

    50% {
        border-color: #e74c3c;
        transform: scale(1.05);
    }

    100% {
        border-color: #3498db;
        transform: scale(1);
    }
}

* {
    box-sizing: border-box;
}

/* Style the search field */
form.Search input[type=text] {
    padding: 5px;
    font-size: 13px;
    border: 1px solid grey;
    float: left;
    width: 80%;
    background: #f1f1f1;
}

/* Style the submit button */
form.Search button {
    float: left;
    width: 20%;
    padding: 5px;
    background: #2196F3;
    color: white;
    font-size: 13px;
    border: 1px solid grey;
    border-left: none; /* Prevent double borders */
    cursor: pointer;
}

    form.Search button:hover {
        background: #0b7dda;
    }

/* Clear floats */
form.Search::after {
    content: "";
    clear: both;
    display: table;
}



/* Style the input container */
.input-container {
    display: flex;
    width: 100%;
    margin-bottom: 15px;
}

/* Style the form icons */
.icon {
    padding: 10px;
    background: dodgerblue;
    color: white;
    min-width: 50px;
    text-align: center;
}

/* Style the input fields */
.input-field {
    width: 100%;
    padding: 10px;
    outline: none;
}

    .input-field:focus {
        border: 2px solid dodgerblue;
    }

/* Set a style for the submit button */
.LoginBtn {
    background-color: dodgerblue;
    color: white;
    padding: 15px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
    opacity: 0.9;
}

    .LoginBtn:hover {
        opacity: 1;
    }


@keyframes moveUpDown {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(20px);
    }

    100% {
        transform: translateY(0);
    }
}

/* استایل تصویر */
.imgAnimate {
    animation: moveUpDown 4s infinite;
}


/* سبک اولیه دکمه */
.button2 {
    background: linear-gradient(45deg, #2c3e50, #34495e, #4a69bd, #2e86de, #1e3799, #273c75, #192a56, #0c2461);
    background-size: 300% 300%;
    color: white;
    border: none;
    padding: 7px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 50px;
    transition: all 1.5s ease-in-out;
    animation: gradient-shift 8s infinite;
}

/* انیمیشن تغییر رنگ گرادیان */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* انیمیشن چرخش ملایم */
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* تغییر حالت هنگام هاور */
.button2:hover {
    filter: brightness(1.2);
}


.image-container {
    width: 100%;
    height: 100%;
    opacity: 0; /* تصویر در ابتدا مخفی است */
    animation: showImage 1.5s ease-in forwards; /* انیمیشن برای نمایان شدن تصویر */
}

@keyframes showImage {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.call-button {
    right: 15px; /* یا right: 15px; بسته به محل دلخواه */
    z-index: 1050;
    background: linear-gradient(135deg, #00c853, #009688); /* گرادیانت سبز زیبا */
    color: #fff;
    padding: 12px 18px;
    border-radius: 50px;
    font-size: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s;
}

    .call-button:hover {
        background-color: #218838;
    }

/* موبایل: اسکرول افقی */
.mobile-scroll {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 15px;
    -webkit-overflow-scrolling: touch;
}

    .mobile-scroll::-webkit-scrollbar {
        height: 8px;
    }

    .mobile-scroll::-webkit-scrollbar-thumb {
        background-color: #6c757d;
        border-radius: 4px;
    }


.article-scroll-container::-webkit-scrollbar {
    display: none;
}

.article-scroll-container.dragging {
    cursor: grabbing;
    user-select: none;
}

.article-scroll-container {
    cursor: grab;
}
.scroll-draggable {
    cursor: grab;
}

    .scroll-draggable.dragging {
        cursor: grabbing;
        user-select: none;
    }

    .scroll-draggable::-webkit-scrollbar {
        display: none;
    }


@keyframes borderPulse {
    0% {
        box-shadow: 0 0 10px rgba(0, 123, 255, 0.5), 0 0 20px rgba(0, 123, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 25px rgba(0, 123, 255, 0.8), 0 0 20px rgba(0, 123, 255, 0.5);
    }

    100% {
        box-shadow: 0 0 10px rgba(0, 123, 255, 0.5), 0 0 20px rgba(0, 123, 255, 0.3);
    }
}

.animated-border {
    border: 3px solid #007bff;
    border-radius: 12px;
    padding: 10px 10px;
    display: inline-block;
    animation: borderPulse 4s infinite;
}







/* ============================
   Categories Section - Compact Modern
============================ */

.category-scroll-wrapper {
    width: 100%;
    padding: 12px 6px;
    margin-top: 8px;
    background: linear-gradient(135deg, #eef7ff 0%, #f4f0ff 45%, #fff5e8 100%);
    border: 1px solid rgba(13, 110, 253, 0.10);
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.055);
    overflow: hidden;
}

#main-categories.category-scroll {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    justify-content: center;
    align-items: center;
    padding: 4px;
}

/* هر آیتمی که اسکریپت داخل main-categories می‌سازد */
#main-categories > * {
    min-width: 105px;
    min-height: 72px;
    padding: 10px 9px;
    border-radius: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(13, 110, 253, 0.10);
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.05);
    color: #1f2937;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.22s ease;
}

    /* آیکون‌ها */
    #main-categories > * i,
    #main-categories > * svg {
        font-size: 22px;
        color: #0d6efd;
        margin-bottom: 5px;
        transition: all 0.22s ease;
    }

    /* متن آیتم‌ها */
    #main-categories > * span,
    #main-categories > * p,
    #main-categories > * div {
        font-size: 12.5px;
        font-weight: 600;
        line-height: 1.7;
    }

    /* هاور */
    #main-categories > *:hover {
        transform: translateY(-3px);
        border-color: rgba(13, 110, 253, 0.25);
        box-shadow: 0 10px 24px rgba(13, 110, 253, 0.11);
        background: linear-gradient(135deg, #ffffff 0%, #e9f4ff 45%, #fff1dc 100%);
    }

        #main-categories > *:hover i,
        #main-categories > *:hover svg {
            transform: scale(1.08);
            color: #6610f2;
        }

/* عنوان دسته‌بندی‌ها */
.font18.border-bottom {
    display: inline-block;
    min-width: 165px;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 800;
    color: #1f2937;
    border-bottom: 2px solid #0d6efd !important;
}


/* ============================
   Custom Modal - Compact
============================ */

.modal-custom {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(6px);
}

    /* برای زمانی که اسکریپت display:block می‌دهد */
    .modal-custom[style*="block"],
    .modal-custom.show,
    .modal-custom.active {
        display: flex !important;
    }

#subgroup-modal .modal-content {
    position: relative;
    width: 100%;
    max-width: 460px;
    max-height: 80vh;
    overflow: hidden;
    border: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f7fbff 60%, #fff7ec 100%);
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.24);
    animation: modalSoftShow 0.22s ease;
}

@keyframes modalSoftShow {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* دکمه بستن */
#subgroup-modal .close {
    position: absolute;
    top: 11px;
    left: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eef2ff;
    color: #334155;
    font-size: 24px;
    line-height: 29px;
    text-align: center;
    cursor: pointer;
    transition: all 0.18s ease;
    z-index: 2;
}

    #subgroup-modal .close:hover {
        background: #ffe4e6;
        color: #dc3545;
        transform: rotate(90deg);
    }

/* سرچ زیر دسته‌ها */
#search-input.sub-search {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    margin-bottom: 12px;
    border: 1px solid #cfe4ff;
    border-radius: 14px;
    background: #ffffff;
    color: #111827;
    font-size: 13.5px;
    outline: none;
    transition: all 0.22s ease;
}

    #search-input.sub-search:focus {
        background: #ffffff;
        border-color: #0d6efd;
        box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.12);
    }

    #search-input.sub-search::placeholder {
        color: #94a3b8;
    }

/* لیست زیر دسته‌ها */
#subgroup-list.subcategories {
    max-height: 50vh;
    overflow-y: auto;
    list-style: none;
    padding: 0;
    margin: 0;
}

    /* آیتم‌های زیر دسته */
    #subgroup-list.subcategories li,
    #subgroup-list.subcategories a,
    #subgroup-list.subcategories button {
        width: 100%;
        display: block;
        margin-bottom: 8px;
        padding: 11px 13px;
        border: 1px solid #e2e8f0;
        border-radius: 13px;
        background: #ffffff;
        color: #1f2937;
        text-align: right;
        text-decoration: none;
        font-size: 13.5px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.18s ease;
    }

        #subgroup-list.subcategories li:hover,
        #subgroup-list.subcategories a:hover,
        #subgroup-list.subcategories button:hover {
            background: linear-gradient(135deg, #eef7ff 0%, #f5f0ff 55%, #fff4df 100%);
            border-color: rgba(13, 110, 253, 0.24);
            color: #0d6efd;
            transform: translateX(-3px);
        }


/* ============================
   Responsive
============================ */

@media (max-width: 768px) {
    .category-scroll-wrapper {
        padding: 10px 5px;
        border-radius: 16px;
    }

    #main-categories.category-scroll {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 6px 3px 10px;
    }

    #main-categories > * {
        min-width: 92px;
        min-height: 68px;
        padding: 9px 8px;
        border-radius: 14px;
        scroll-snap-align: start;
    }

        #main-categories > * i,
        #main-categories > * svg {
            font-size: 20px;
            margin-bottom: 4px;
        }

        #main-categories > * span,
        #main-categories > * p,
        #main-categories > * div {
            font-size: 12px;
        }

    .font18.border-bottom {
        font-size: 17px;
        min-width: 145px;
    }

    #subgroup-modal .modal-content {
        max-width: 94%;
        border-radius: 18px;
    }

    #search-input.sub-search {
        height: 42px;
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    #main-categories > * {
        min-width: 86px;
        min-height: 64px;
        padding: 8px 7px;
    }

    #subgroup-list.subcategories li,
    #subgroup-list.subcategories a,
    #subgroup-list.subcategories button {
        padding: 10px 12px;
        font-size: 13px;
    }
}


.responsive-slider-img {
    width: 70%;
    height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
}

/* تبلت */
@media (max-width: 992px) {
    .responsive-slider-img {
        width: 85%;
        height: 380px;
    }
}

/* موبایل */
@media (max-width: 576px) {
    .responsive-slider-img {
        width: 100%;
        height: 240px;
        border-radius: 8px;
    }
}