:root {
    --primary-color: #5d2d79;
    --primary-light: #7b4498;
    --primary-dark: #4a2361;
    --secondary-color: #48a652;
    --secondary-light: #5ab964;
    --secondary-dark: #3b8a44;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
}

@font-face {
    font-family: 'vazir';
    src: url('/Assets/SiteTheme/font/vazirmatn/Vazirmatn-Regular.woff2') format('woff2');
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: Vazir, Arial, sans-serif;
    background-color: #f8f9fa;
    font-size: 16px;
}

/* بنر صفحه داخلی */
.page-banner {
    background: linear-gradient(180deg, var(--primary-color) 15%, var(--primary-dark) 100%);
    color: white;
    padding: 35px 0;
    position: relative;
    overflow: hidden;
    border-top: 2px solid #48a652;
}

    .page-banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
     

    }

    .page-banner .container {
        position: relative;
        z-index: 2;
    }

.banner-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.banner-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* نوار مسیر - جداگانه */
.breadcrumb-wrapper {
    background: var(--secondary-color);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.breadcrumb {
    background: none;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.breadcrumb-item {
    color: white;
}

    .breadcrumb-item.active {
        color: white;
        font-weight: 500;
    }

    .breadcrumb-item + .breadcrumb-item::before {
        content: "/";
        color: rgba(255, 255, 255, 0.6);
        margin: 0 8px;
    }

    .breadcrumb-item a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .breadcrumb-item a:hover {
            color: white;
        }

    .breadcrumb-item i {
        font-size: 0.8rem;
        margin-left: 4px;
    }

/* ریسپانسیو برای بنر */
@media (max-width: 768px) {
    .page-banner {
        padding: 25px 0;
    }

    .banner-title {
        font-size: 1.5rem;
    }

    .banner-subtitle {
        font-size: 0.9rem;
    }

    .breadcrumb-wrapper {
        padding: 10px 0;
        margin-bottom: 20px;
    }

    .breadcrumb {
        font-size: 0.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
/*  */

/* تاپ بار */
.topbar_wrapper {
    background-color: #f5f5f5;
    padding: 0.4rem 0;
    color: #333;
    font-size: 0.75rem;
    border-bottom: 1px solid #eee;
}

.topbar_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar_info {
    display: flex;
    align-items: center;
}

.topbar_info_item {
    display: flex;
    align-items: center;
    margin-left: 1.2rem;
    transition: all 0.3s ease;
}

    .topbar_info_item i {
        color: var(--primary-color);
        margin-left: 0.4rem;
        width: 14px;
        text-align: center;
        font-size: 0.8rem;
    }

.topbar_action {
    display: flex;
    align-items: center;
}

.topbar_action_item {
    display: flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    padding: 0 0.6rem;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-size: 0.75rem;
}

    .topbar_action_item:hover {
        color: var(--primary-color);
    }

    .topbar_action_item i {
        margin-left: 0.3rem;
        font-size: 0.8rem;
    }

/* انتخاب زبان در تاپ بار دسکتاپ */
.topbar_language {
    position: relative;
    margin-right: 0.6rem;
    z-index: 200;
}

.topbar_language_toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

    .topbar_language_toggle:hover {
        background-color: rgba(0, 0, 0, 0.06);
    }

    .topbar_language_toggle i.fa-globe {
        color: var(--primary-color);
        margin-left: 0.3rem;
        font-size: 0.8rem;
    }

    .topbar_language_toggle .topbar_current_lang {
        margin: 0 0.2rem;
        font-weight: 500;
    }

    .topbar_language_toggle i.fa-chevron-down {
        font-size: 0.7rem;
        margin-right: 0.1rem;
        transition: transform 0.3s ease;
    }

.topbar_language.active .topbar_language_toggle {
    background-color: rgba(0, 0, 0, 0.06);
    border-radius: 4px 4px 0 0;
}

    .topbar_language.active .topbar_language_toggle i.fa-chevron-down {
        transform: rotate(180deg);
    }

.topbar_language_dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 120px;
    background-color: #fff;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 101;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-top: none;
}

.topbar_language.active .topbar_language_dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.topbar_language_item {
    display: flex;
    align-items: center;
    padding: 0.6rem;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

    .topbar_language_item:last-child {
        border-bottom: none;
    }

    .topbar_language_item:hover {
        background-color: rgba(0, 0, 0, 0.03);
        color: var(--primary-color);
    }

    .topbar_language_item.active {
        background-color: rgba(var(--primary-rgb), 0.05);
        color: var(--primary-color);
        font-weight: 500;
    }

.topbar_lang_flag {
    margin-left: 0.5rem;
    font-size: 1rem;
}

.topbar_lang_name {
    font-size: 0.75rem;
}




/* تاپ بار موبایل */
.mobile_topbar {
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
    position: relative;
    z-index: 5;
}

.mobile_topbar_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* شماره تماس */
.mobile_topbar_phone a {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: white;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.mobile_topbar_phone i {
    background-color: var(--secondary-color);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    font-size: 12px;
}

.mobile_topbar_phone span {
    font-family: 'IRANSans', sans-serif;
    font-weight: 500;
}

/* انتخاب زبان */
.mobile_topbar_language {
    display: flex;
    align-items: center;
}

.mobile_topbar_lang_item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile_topbar_lang_flag {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ریسپانسیو */
@media (max-width: 576px) {
    .mobile_topbar_phone span {
        font-size: 12px;
    }
}

/* دکمه منوی همبرگری */
.mobile_topbar_menu_toggle {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0;
}

    .mobile_topbar_menu_toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background-color: #333;
        margin: 2px 0;
        transition: all 0.3s ease;
    }

    /* حالت فعال منوی همبرگری */
    .mobile_topbar_menu_toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile_topbar_menu_toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile_topbar_menu_toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

/* ریسپانسیو */
@media (max-width: 991px) {
    .topbar_info_item:nth-child(2),
    .topbar_info_item:nth-child(3) {
        display: none;
    }
}

@media (max-width: 767px) {
    .mobile_topbar {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }
}

/* هدر اصلی - سه ستونی */
.header_wrapper {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 20px 0;
    position: relative;
    z-index: 100;
}

.header_container {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    align-items: center;
    gap: 20px;
}

/* ستون اول: لوگو و متن */
.header_logo_section {
    display: flex;
    align-items: center;
}

.header_logo_link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header_logo_img {
    width: 60px;
    height: auto;
    margin-left: 15px;
}

.header_logo_text {
    display: flex;
    flex-direction: column;
}

.header_logo_title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.header_logo_subtitle {
    color: #777;
    font-size: 0.8rem;
    margin: 0;
}

/* ستون دوم: جستجو */
.header_search_section {
    display: flex;
    justify-content: center;
}

.header_search_form {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.header_search_input {
    width: 100%;
    height: 45px;
    border: 1px solid var(--gray-300);
    border-bottom-right-radius: 15px;
    border-top-left-radius: 15px;
    padding: 0 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background-color: var(--gray-100);
}

    .header_search_input:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(93, 45, 121, 0.1);
        background-color: white;
        outline: none;
    }

.header_search_button {
    position: absolute;
    left: 5px;
    top: 5px;
    width: 35px;
    height: 35px;
    border: none;
    background-color: var(--secondary-color);
    color: white;
    border-bottom-right-radius: 5px;
    border-top-left-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .header_search_button:hover {
        background-color: var(--primary-dark);
    }

/* ستون سوم: اطلاعات تماس و ارسال */
.header_contact_section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.header_contact_item {
    display: flex;
    align-items: center;
    padding: 5px 13px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-300);
    cursor: pointer;
    background-color: white;
}

    .header_contact_item:hover {
        border-color: var(--secondary-color);
        background-color: rgba(72, 166, 82, 0.05);
    }

        .header_contact_item:hover .header_contact_icon {
            background-color: var(--secondary-color);
            color: white;
        }

        .header_contact_item:hover .header_contact_value {
            color: var(--secondary-color);
        }

.header_contact_icon {
    width: 40px;
    height: 40px;
    background-color: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.header_contact_text {
    display: flex;
    flex-direction: column;
}

.header_contact_title {
    font-size: 0.7rem;
    color: #777;
    margin: 0;
    line-height: 1;
}

.header_contact_value {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
    color: var(--dark-color);
    transition: all 0.3s ease;
    line-height: 1.3;
}

/* منوی همبرگر موبایل */
.mobile_menu_toggle {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray-300);
    border-radius: 5px;
    background-color: white;
    color: var(--primary-color);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .mobile_menu_toggle:hover {
        border-color: var(--primary-color);
        background-color: rgba(93, 45, 121, 0.05);
    }

    .mobile_menu_toggle i {
        font-size: 1.2rem;
    }

/* نوار منو */
.main_nav_wrapper {
    background-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 99;
}

.main_nav_container {
    display: flex;
    justify-content: start;
    align-items: center;
    height: 50px;
}

/* دکمه همبرگر منوی دسکتاپ */
.desktop_menu_toggle {
    display: flex;
    align-items: center;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    height: 100%;
    padding: 0 15px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 5px; /* کاهش فاصله به 5 پیکسل */
}

    .desktop_menu_toggle:hover {
        background-color: var(--secondary-dark);
    }

    .desktop_menu_toggle i {
        margin-left: 10px;
        font-size: 1.1rem;
    }

/* منوی اصلی */
.main_nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

.main_nav_item {
    height: 100%;
    display: flex;
    align-items: center;
}

.main_nav_link {
    color: white;
    text-decoration: none;
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

    .main_nav_link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 3px;
        background-color: var(--secondary-color);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .main_nav_link:hover {
        background-color: var(--primary-light);
    }

        .main_nav_link:hover::after {
            transform: scaleX(1);
        }

    .main_nav_link.active {
        background-color: var(--primary-dark);
    }

        .main_nav_link.active::after {
            transform: scaleX(1);
        }

/* منوی ثانویه */
.secondary_nav {
    display: flex;
    align-items: center;
    margin-right: auto;
}

.secondary_nav_item {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0 15px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

    .secondary_nav_item:first-child {
        border-right: none;
    }

    .secondary_nav_item:hover {
        color: white;
    }

    .secondary_nav_item i {
        margin-left: 8px;
    }

/* منوی کشویی کناری */
.sidebar_menu_overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .sidebar_menu_overlay.active {
        opacity: 1;
        visibility: visible;
    }

.sidebar_menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh;
    background-color: white;
    z-index: 1001;
    transform: translateX(100%);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

    .sidebar_menu.active {
        transform: translateX(0);
    }

.sidebar_menu_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid var(--gray-200);
}

.sidebar_menu_logo {
    display: flex;
    align-items: center;
}

.sidebar_menu_logo_img {
    width: 40px;
    height: 40px;
    margin-left: 10px;
}

.sidebar_menu_logo_text {
    font-weight: bold;
    font-size: 1.2rem;
}

    .sidebar_menu_logo_text span:first-child {
        color: var(--primary-color);
    }

    .sidebar_menu_logo_text span:last-child {
        color: var(--secondary-color);
    }

.sidebar_menu_close {
    background: none;
    border: none;
    color: #333;
    font-size: 1.5rem;
    cursor: pointer;
}

.sidebar_menu_body {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* تب‌های منو */
.sidebar_menu_tabs {
    display: flex;
    border-bottom: 1px solid var(--gray-200);
}

.sidebar_menu_tab {
    flex: 1;
    padding: 15px 10px;
    text-align: center;
    background: none;
    border: none;
    font-weight: 500;
    color: #777;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

    .sidebar_menu_tab.active {
        color: var(--primary-color);
    }

        .sidebar_menu_tab.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            right: 0;
            height: 2px;
            background-color: var(--primary-color);
        }

/* محتوای منو */
.sidebar_menu_content {
    display: none;
    padding: 15px 0;
    flex: 1;
    overflow-y: auto;
}

    .sidebar_menu_content.active {
        display: block;
    }

/* دسته‌بندی‌ها */
.sidebar_categories {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar_category_item {
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.sidebar_category_link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    flex: 1;
}

.sidebar_category_icon {
    width: 40px;
    height: 40px;
    background-color: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    color: var(--primary-color);
}

.sidebar_category_toggle {
    background: none;
    border: none;
    color: #777;
    padding: 0 15px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .sidebar_category_toggle.active i {
        transform: rotate(180deg);
    }

.sidebar_subcategories {
    display: none;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: var(--gray-100);
}

    .sidebar_subcategories.active {
        display: block;
    }

    .sidebar_subcategories li {
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

        .sidebar_subcategories li a {
            display: block;
            padding: 10px 25px 10px 15px;
            color: #555;
            text-decoration: none;
            position: relative;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }

            .sidebar_subcategories li a::before {
                content: '';
                position: absolute;
                right: 15px;
                top: 50%;
                transform: translateY(-50%);
                width: 4px;
                height: 4px;
                border-radius: 50%;
                background-color: var(--primary-color);
            }

            .sidebar_subcategories li a:hover {
                color: var(--primary-color);
                background-color: rgba(0, 0, 0, 0.02);
            }

/* منوی سایدبار */
.sidebar_menu_nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar_menu_nav_item {
    border-bottom: 1px solid var(--gray-200);
}

.sidebar_menu_nav_link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .sidebar_menu_nav_link:hover {
        background-color: var(--gray-100);
        color: var(--primary-color);
    }

    .sidebar_menu_nav_link.active {
        color: var(--primary-color);
        border-right: 3px solid var(--primary-color);
        background-color: rgba(93, 45, 121, 0.05);
    }

    .sidebar_menu_nav_link i {
        margin-left: 15px;
        width: 20px;
        text-align: center;
        color: var(--primary-color);
    }

/* تماس سایدبار */
.sidebar_menu_contact {
    padding: 15px;
    background-color: var(--gray-100);
    margin-top: 15px;
}

.sidebar_menu_contact_item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #333;
    text-decoration: none;
}

    .sidebar_menu_contact_item i {
        width: 30px;
        height: 30px;
        background-color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 10px;
        color: var(--primary-color);
    }

/* فوتر سایدبار */
.sidebar_menu_footer {
    padding: 15px;
    border-top: 1px solid var(--gray-200);
}

.sidebar_menu_cta {
    display: block;
    width: 100%;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px;
    text-align: center;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .sidebar_menu_cta:hover {
        background-color: var(--secondary-dark);
        color: white;
    }

/* بخش اسلایدر */
.slider_section {
    padding: 30px 0;
}

/* اسلایدر اصلی */
.main_slider_item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 400px;
}

    .main_slider_item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.main_slider_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to left, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
    display: flex;
    align-items: center;
    padding: 30px;
}

.main_slider_content {
    max-width: 500px;
    color: white;
}

.main_slider_title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.main_slider_text {
    font-size: 1rem;
    margin-bottom: 20px;
}

.main_slider_timer {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 15px;
}

.timer_container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.timer_item {
    text-align: center;
    background-color: white;
    border-radius: 5px;
    padding: 8px 15px;
    min-width: 60px;
}

.timer_value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.timer_label {
    display: block;
    font-size: 0.8rem;
    color: #777;
}

.timer_cta {
    display: block;
    width: 100%;
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

    .timer_cta:hover {
        background-color: var(--secondary-dark);
        color: white;
    }

/* بنرهای کناری */
.side_banner {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 190px;
}

.side_banner_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side_banner_content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to left, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: white;
    text-align: center;
}

.side_banner_title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.side_banner_subtitle {
    font-size: 1rem;
    margin-bottom: 15px;
}

.side_banner_logo {
    max-width: 100px;
    height: auto;
}

.side_banner_btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

    .side_banner_btn:hover {
        background-color: var(--secondary-dark);
        color: white;
    }

/* بخش محصولات شرکت */
.featured_products_section {
    padding: 50px 0;
}

.section_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section_title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    padding-right: 15px;
}

    .section_title::before {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 5px;
        height: 25px;
        background-color: var(--primary-color);
        border-radius: 3px;
    }



/* کارت محصول */
/* کارت محصول - اصلاح شده */
.product_card {
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .product_card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

.product_image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1; /* نسبت مربعی برای تصویر */
}

    .product_image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: all 0.3s ease;
    }

.product_card:hover .product_image img {
    transform: scale(1.05);
}

.product_actions {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product_action_btn {
    width: 35px;
    height: 35px;
    background-color: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

    .product_action_btn:hover {
        background-color: var(--primary-color);
        color: white;
    }

.product_info {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* پر کردن فضای باقیمانده */
}

.product_title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
}

.product_specs {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
    flex-grow: 1; /* پر کردن فضای باقیمانده */
}

.product_spec {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 4px;
}

.inquiry_btn {
    display: block;
    width: 100%;
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 8px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: auto; /* چسباندن به پایین */
}

    .inquiry_btn:hover {
        background-color: var(--secondary-dark);
    }

/* ریسپانسیو برای محصولات */
@media (max-width: 767px) {
    .product_image {
        aspect-ratio: 1/0.9; /* کمی مربعی‌تر در موبایل */
    }

    .product_info {
        padding: 10px;
    }

    .product_title {
        font-size: 0.9rem;
        -webkit-line-clamp: 1; /* فقط یک خط در موبایل */
        margin-bottom: 6px;
    }

    .product_specs {
        margin-bottom: 8px;
    }

    .product_spec {
        font-size: 0.75rem;
        margin-bottom: 2px;
    }

    .inquiry_btn {
        padding: 6px;
        font-size: 0.85rem;
    }

    .product_action_btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

@media (max-width: 575px) {
    .product_title {
        -webkit-line-clamp: 1; /* فقط یک خط در موبایل کوچک */
    }

    .product_specs {
        display: none; /* پنهان کردن مشخصات در موبایل‌های خیلی کوچک */
    }
}

/* مودال استعلام قیمت */
/* مودال استعلام قیمت - بازطراحی شده */
.modal-content {
    border-radius: 15px;
    overflow: hidden;
    border: none;
}

.modal-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 20px;
    border-bottom: none;
}

.modal-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.btn-close {
    filter: brightness(0) invert(1);
    opacity: 1;
}

/* بخش اطلاعات تماس */
.inquiry_contact_section {
    background-color: #f8f9fa;
    padding: 20px;
}

.inquiry_contact_header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.inquiry_contact_icon {
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    font-size: 1.2rem;
}

.inquiry_contact_title h6 {
    font-weight: 600;
    margin: 0 0 5px 0;
    color: var(--dark-color);
    font-size: 1rem;
}

.inquiry_contact_title p {
    margin: 0;
    color: #777;
    font-size: 0.8rem;
}

.inquiry_contact_items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.inquiry_contact_item {
    display: flex;
    align-items: center;
    text-decoration: none;
    background-color: white;
    border-radius: 10px;
    padding: 10px 15px;
    flex: 1;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

    .inquiry_contact_item:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

.inquiry_contact_item_icon {
    width: 40px;
    height: 40px;
    background-color: rgba(93, 45, 121, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    font-size: 1rem;
}

    .inquiry_contact_item_icon.whatsapp {
        background-color: rgba(37, 211, 102, 0.1);
        color: #25d366;
    }

.inquiry_contact_item_text {
    display: flex;
    flex-direction: column;
}

.inquiry_contact_item_label {
    font-size: 0.75rem;
    color: #777;
}

.inquiry_contact_item_value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-color);
}

/* خط جداکننده */
.inquiry_divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 0;
    padding: 0 20px;
    height: 40px;
    background-color: white;
}

    .inquiry_divider::before,
    .inquiry_divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid var(--gray-300);
    }

    .inquiry_divider span {
        padding: 0 10px;
        color: #777;
        font-size: 0.85rem;
    }

/* بخش فرم */
.inquiry_form_section {
    padding: 20px;
    background-color: white;
}

.inquiry_form_header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.inquiry_form_icon {
    width: 45px;
    height: 45px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    font-size: 1.2rem;
}

.inquiry_form_title h6 {
    font-weight: 600;
    margin: 0 0 5px 0;
    color: var(--dark-color);
    font-size: 1rem;
}

.inquiry_form_title p {
    margin: 0;
    color: #777;
    font-size: 0.8rem;
}

.inquiry_form {
    margin-top: 15px;
}

.form-floating > .form-control {
    height: 50px;
    padding: 1rem 0.75rem;
}

.form-floating > label {
    padding: 0.75rem 0.75rem;
}

.form-floating > textarea.form-control {
    height: 80px;
}

.inquiry_form_footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 8px 20px;
    font-weight: 500;
}

    .btn-primary:hover {
        background-color: var(--secondary-dark);
        border-color: var(--secondary-dark);
    }

.btn-secondary {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
    color: #333;
    padding: 8px 20px;
    font-weight: 500;
}

    .btn-secondary:hover {
        background-color: #e0e0e0;
        border-color: #e0e0e0;
        color: #333;
    }

/* ریسپانسیو مودال */
@media (max-width: 576px) {
    .inquiry_contact_item {
        flex: 100%;
    }

    .inquiry_form_footer {
        flex-direction: column;
    }

        .inquiry_form_footer .btn {
            width: 100%;
            margin-bottom: 10px;
        }

    .form-floating > .form-control {
        height: 45px;
    }
}
/* ریسپانسیو */
@media (max-width: 1199px) {
    .header_container {
        grid-template-columns: 1fr 1.2fr 1fr;
    }

    .secondary_nav_item {
        padding: 0 10px;
    }

    .main_slider_item {
        height: 350px;
    }

    .side_banner {
        height: 165px;
    }
}

@media (max-width: 991px) {
    .header_container {
        grid-template-columns: auto 1fr auto;
    }

    .header_search_section {
        display: none;
    }

    .header_contact_item:not(:last-child) {
        display: none;
    }

    .secondary_nav {
        display: none;
    }

    .mobile_menu_toggle {
        display: flex;
    }

    .desktop_menu_toggle {
        display: none;
    }

    .main_slider_item {
        height: 300px;
    }

    .main_slider_title {
        font-size: 1.5rem;
    }

    .side_banner {
        height: 200px;
    }
}

/* ریسپانسیو */
@media (max-width: 767px) {
    .topbar_wrapper {
        display: none;
    }

    .header_container {
        grid-template-columns: auto 1fr;
    }

    .header_logo_section {
        order: 1; /* لوگو در سمت راست */
    }

    .header_contact_section {
        order: 1; /* منوی همبرگر در سمت چپ */
    }

    .header_logo_img {
        width: 50px;
    }

    .header_logo_title {
        font-size: 1.2rem;
    }

    .header_logo_subtitle {
        font-size: 0.7rem;
    }

    .main_nav_wrapper {
        display: none;
    }

    .main_slider_item {
        height: 250px;
    }

    .main_slider_title {
        font-size: 1.3rem;
    }

    .main_slider_text {
        font-size: 0.9rem;
    }
}

.timer_item {
    min-width: 50px;
    padding: 5px 10px;
}

.timer_value {
    font-size: 1rem;
}

.timer_label {
    font-size: 0.7rem;
}


@media (max-width: 575px) {
    .main_slider_item {
        height: 200px;
    }

    .main_slider_content {
        max-width: 100%;
    }

    .main_slider_title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .main_slider_text {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .timer_container {
        margin-bottom: 10px;
    }

    .timer_item {
        min-width: 40px;
        padding: 3px 5px;
    }

    .timer_value {
        font-size: 0.9rem;
    }

    .timer_label {
        font-size: 0.6rem;
    }

    .timer_cta {
        padding: 8px;
        font-size: 0.9rem;
    }

    .side_banner {
        height: 150px;
    }

    .side_banner_title {
        font-size: 1.2rem;
    }

    .side_banner_subtitle {
        font-size: 0.9rem;
    }
}

/* بخش خدمات ویژه */
.special_services_section {
    padding: 11px 0;
    background-color: #ffffff;
    position: relative;
}

/* هدر بخش */
.section_header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section_title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

    .section_title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background-color: var(--secondary-color);
        border-radius: 3px;
    }

.section_subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    display: block;
    margin-top: 20px;
}

/* کارت خدمات */
.services_container {
    margin-bottom: 30px;
}

/* استایل اصلی کارت‌های خدمات */
.service_card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    z-index: 1;
}


    .service_card::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
        z-index: -1;
        transition: all 0.3s ease;
    }

    .service_card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(93, 45, 121, 0.1);
    }

        .service_card:hover::before {
            height: 6px;
        }

.service_icon_wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 25px;
}

    .service_icon_wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: conic-gradient(from 0deg, var(--primary-color) 0%, var(--secondary-color) 35%, transparent 60%);
        animation: rotate 8s linear infinite;
    }

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.service_icon {
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    z-index: 2;
}

.service_card:hover .service_icon {
    color: var(--secondary-color);
}

.service_title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service_text {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service_link {
    display: inline-flex;
    align-items: center;
    color: var(--secondary-color);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

    .service_link i {
        margin-right: 5px;
        transition: all 0.3s ease;
    }

    .service_link:hover {
        color: var(--secondary-dark);
    }

        .service_link:hover i {
            transform: translateX(-5px);
        }

/* تغییر رنگ آیکون‌ها برای تنوع بیشتر */
.service_card:nth-child(2n) .service_icon {
    color: var(--secondary-color);
}

.service_card:nth-child(2n):hover .service_icon {
    color: var(--primary-color);
}

.service_card:nth-child(2n) .service_icon_wrapper::before {
    background: conic-gradient(from 0deg, var(--secondary-color) 0%, var(--primary-color) 35%, transparent 60%);
}

/* بنر خدمات ویژه */
.service_banner {
    margin-top: 60px;
    background: linear-gradient(135deg, rgba(93, 45, 121, 0.03) 0%, rgba(255, 122, 0, 0.03) 100%);
    border-radius: 20px;
    overflow: hidden;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    position: relative;
}

    .service_banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;

        background-size: 70px;
        opacity: 0.05;
        pointer-events: none;
    }

.service_banner_content {
    padding: 20px 0;
}

.service_banner_title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

    .service_banner_title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        right: 0;
        width: 60px;
        height: 3px;
        background-color: var(--secondary-color);
        border-radius: 3px;
    }

.service_banner_text {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.service_banner_features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

    .service_banner_features li {
        position: relative;
        padding-right: 25px;
        margin-bottom: 12px;
        font-size: 1rem;
        color: var(--gray-700);
    }

        .service_banner_features li::before {
            content: '\f058';
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            position: absolute;
            right: 0;
            top: 2px;
            color: var(--secondary-color);
        }

.service_banner_btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(93, 45, 121, 0.3);
}

    .service_banner_btn:hover {
        background-color: var(--secondary-color);
        color: white;
        box-shadow: 0 8px 20px rgba(255, 122, 0, 0.3);
        transform: translateY(-3px);
    }

.service_banner_image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

    .service_banner_image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: all 0.5s ease;
    }

    .service_banner_image:hover img {
        transform: scale(1.05);
    }

.service_banner_badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* ریسپانسیو */

/* استایل‌های ریسپانسیو برای مربعی کردن در موبایل */
@media (max-width: 767px) {
    .services_container .row {
        margin: 0 -8px;
    }

    .services_container .col {
        padding: 0 8px;
        margin-bottom: 16px;
    }

    .service_icon_wrapper::before {
        display: none;
    }

    .service_card {
        padding: 15px 10px;
        aspect-ratio: 1/1; /* نسبت مربعی */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .service_icon_wrapper {
        width: 50px;
        height: 50px;
        margin: 0 auto 10px;
    }

    .service_icon {
        font-size: 1.2rem;
    }

    .service_title {
        font-size: 0.9rem;
        margin-bottom: 5px;
        height: auto;
        line-height: 1.3;
    }

    .service_text {
        font-size: 0.75rem;
        margin-bottom: 10px;
        line-height: 1.4;
        /* محدود کردن متن به دو خط */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        flex-grow: 0;
    }

    .service_link {
        font-size: 0.8rem;
        padding: 5px 0;
    }

        .service_link i {
            font-size: 0.7rem;
        }
}

/* تنظیمات بیشتر برای موبایل‌های کوچک */
@media (max-width: 374px) {

    .service_icon_wrapper::before {
        display: none;
    }

    .service_title {
        font-size: 0.85rem;
    }

    .service_text {
        font-size: 0.7rem;
        -webkit-line-clamp: 2;
    }

    .service_link {
        font-size: 0.75rem;
    }
}

@media (max-width: 991px) {
    .special_services_section {
        padding: 60px 0;
    }

    .section_title {
        font-size: 1.8rem;
    }

    .service_banner_title {
        font-size: 1.6rem;
    }

    .service_banner_image {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .special_services_section {
        padding: 50px 0;
    }

    .section_title {
        font-size: 1.6rem;
    }

    .section_subtitle {
        font-size: 1rem;
    }

    .service_icon_wrapper {
        width: 90px;
        height: 90px;
        margin-bottom: 20px;
    }

    .service_icon {
        font-size: 1.8rem;
    }

    .service_title {
        font-size: 1.2rem;
    }

    .service_text {
        font-size: 0.9rem;
    }

    .service_banner {
        padding: 20px;
        margin-top: 40px;
    }

    .service_banner_title {
        font-size: 1.4rem;
    }

    .service_banner_text {
        font-size: 0.95rem;
    }

    .service_banner_features li {
        font-size: 0.95rem;
    }
}

@media (max-width: 575px) {
    .service_banner_btn {
        width: 100%;
        text-align: center;
        padding: 10px 20px;
    }
}

/* بخش مقالات و اخبار */
.blog_section {
    padding: 80px 0;
    background-color: var(--gray-100);
    position: relative;
}

/* هدر بخش */
.section_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.section_title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    margin: 0;
}

    .section_title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        right: 0;
        width: 60px;
        height: 3px;
        background-color: var(--secondary-color);
        border-radius: 3px;
    }

.section_link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .section_link i {
        margin-right: 5px;
        transition: all 0.3s ease;
    }

    .section_link:hover {
        color: var(--secondary-color);
    }

        .section_link:hover i {
            transform: translateX(-5px);
        }

/* کارت مقاله */
.blog_card {
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .blog_card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(93, 45, 121, 0.1);
    }

.blog_image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

    .blog_image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: all 0.5s ease;
    }

.blog_card:hover .blog_image img {
    transform: scale(1.1);
}

.blog_date {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(93, 45, 121, 0.3);
    z-index: 2;
}

.blog_date_day {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
}

.blog_date_month {
    display: block;
    font-size: 0.8rem;
    margin-top: 3px;
}

.blog_category {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: var(--secondary-color);
    color: #ffffff;
    border-radius: 50px;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(255, 122, 0, 0.3);
    z-index: 2;
}

.blog_content {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}


.blog_excerpt {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
    height: 75px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.blog_meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
}

.blog_author, .blog_views {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--gray-600);
}

    .blog_author i, .blog_views i {
        margin-left: 5px;
        color: var(--secondary-color);
        font-size: 0.9rem;
    }

.blog_link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: auto;
}


    .blog_link i {
        margin-right: 5px;
        transition: all 0.3s ease;
    }

    .blog_link:hover {
        color: var(--secondary-color);
    }

        .blog_link:hover i {
            transform: translateX(-5px);
        }


.blog_title {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-top: auto;
}
    .blog_title:hover {
        color: var(--secondary-color);
    }
/* بخش خبرنامه */
.newsletter_container {
    margin-top: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(93, 45, 121, 0.2);
    position: relative;
    overflow: hidden;
}

    .newsletter_container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    
        background-size: 200px;
        opacity: 0.1;
        pointer-events: none;
    }

.newsletter_title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.newsletter_text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 0;
}

.newsletter_form {
    margin-top: 15px;
}

.newsletter_input_group {
    display: flex;
    position: relative;
}

.newsletter_input {
    width: 100%;
    height: 55px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 0 150px 0 20px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .newsletter_input::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }

    .newsletter_input:focus {
        background-color: rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.5);
        outline: none;
    }

.newsletter_submit {
    position: absolute;
    top: 5px;
    left: 5px;
    height: calc(100% - 10px);
    background-color: #ffffff;
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    padding: 0 25px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

    .newsletter_submit i {
        margin-right: 8px;
        transition: all 0.3s ease;
    }

    .newsletter_submit:hover {
        background-color: var(--gray-100);
        color: var(--secondary-color);
    }

        .newsletter_submit:hover i {
            transform: translateX(3px);
        }

/* ریسپانسیو */
@media (max-width: 991px) {
    .blog_section {
        padding: 60px 0;
    }

    .section_title {
        font-size: 1.8rem;
    }

    .newsletter_container {
        padding: 30px;
    }

    .newsletter_title {
        font-size: 1.3rem;
    }

    .newsletter_form {
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .blog_section {
        padding: 50px 0;
    }

    .section_title {
        font-size: 1.6rem;
    }

    .blog_image {
        height: 180px;
    }

    .blog_title {
        font-size: 1rem;
    }

    .blog_excerpt {
        font-size: 0.85rem;
    }

    .newsletter_container {
        padding: 25px;
        margin-top: 40px;
    }

    .newsletter_title {
        font-size: 1.2rem;
    }

    .newsletter_text {
        font-size: 0.9rem;
    }

    .newsletter_input {
        height: 50px;
        padding-right: 130px;
    }

    .newsletter_submit {
        padding: 0 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 575px) {
    .section_header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .newsletter_input {
        padding-right: 20px;
        padding-left: 110px;
    }

    .newsletter_submit {
        padding: 0 15px;
        font-size: 0.85rem;
    }
}
/* درباره کارخانه */
/* بخش درباره کارخانه */
.factory_section {
    padding: 90px 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

    .factory_section::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 300px;
        height: 300px;
        background-color: rgba(93, 45, 121, 0.03);
        border-radius: 50%;
        transform: translate(150px, -150px);
        z-index: 0;
    }

    .factory_section::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 400px;
        height: 400px;
        background-color: rgba(72, 166, 82, 0.03);
        border-radius: 50%;
        transform: translate(-200px, 200px);
        z-index: 0;
    }

/* محتوای متنی */
.factory_content {
    position: relative;
    z-index: 1;
    padding-right: 20px;
}

.factory_subtitle {
    display: inline-block;
    background-color: rgba(93, 45, 121, 0.1);
    color: var(--primary-color);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.factory_title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
}

    .factory_title::before {
        content: '';
        position: absolute;
        right: -12px;
        top: 50%;
        transform: translateY(-50%);
        width: 5px;
        height: 25px;
        background-color: var(--primary-color);
        border-radius: 3px;
    }

    .factory_title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        right: 0;
        width: 70px;
        height: 3px;
        background-color: var(--secondary-color);
        border-radius: 3px;
    }

.factory_text {
    font-size: 1rem;
    color: var(--dark-color);
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
}

/* ویژگی‌های کارخانه */
.factory_features {
    margin-bottom: 40px;
}

.factory_feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.factory_feature_icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-left: 15px;
    box-shadow: 0 5px 15px rgba(93, 45, 121, 0.2);
    transition: all 0.3s ease;
}

.factory_feature:hover .factory_feature_icon {
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 8px 20px rgba(93, 45, 121, 0.3);
}

.factory_feature:nth-child(2) .factory_feature_icon {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    box-shadow: 0 5px 15px rgba(72, 166, 82, 0.2);
}

.factory_feature:nth-child(2):hover .factory_feature_icon {
    box-shadow: 0 8px 20px rgba(72, 166, 82, 0.3);
}

.factory_feature:nth-child(3) .factory_feature_icon {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
    box-shadow: 0 5px 15px rgba(123, 68, 152, 0.2);
}

.factory_feature:nth-child(3):hover .factory_feature_icon {
    box-shadow: 0 8px 20px rgba(123, 68, 152, 0.3);
}

.factory_feature_content {
    flex-grow: 1;
}

.factory_feature_title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.factory_feature_text {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 0;
}

/* آمار کارخانه */
.factory_stats {
    display: flex;
    margin-bottom: 30px;
    border-top: 1px solid var(--gray-200);
    padding-top: 30px;
}

.factory_stat_item {
    flex: 1;
    text-align: center;
    position: relative;
}

    .factory_stat_item:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        height: 40px;
        width: 1px;
        background-color: var(--gray-300);
    }

.factory_stat_value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    line-height: 1;
}

.factory_stat_label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* لینک گالری */
.factory_link {
    display: inline-flex;
    align-items: center;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(72, 166, 82, 0.3);
}

    .factory_link i {
        margin-right: 8px;
        transition: all 0.3s ease;
    }

    .factory_link:hover {
        background-color: var(--primary-color);
        color: white;
        box-shadow: 0 8px 20px rgba(93, 45, 121, 0.3);
    }

        .factory_link:hover i {
            transform: translateX(-5px);
        }

/* بخش رسانه‌ای */
.factory_media {
    position: relative;
    z-index: 1;
}

.factory_video {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.factory_thumbnail {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: all 0.5s ease;
}

.factory_video:hover .factory_thumbnail {
    transform: scale(1.05);
}

.factory_video_play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(93, 45, 121, 0.3);
    transition: all 0.3s ease;
    z-index: 2;
}

    .factory_video_play::before {
        content: '';
        position: absolute;
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        animation: pulse 2s infinite;
        z-index: -1;
    }

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }

    70% {
        transform: scale(1.1);
        opacity: 0;
    }

    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}

.factory_video_play:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 15px 30px rgba(93, 45, 121, 0.4);
}

.factory_images {
    display: flex;
    gap: 20px;
}

.factory_image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

    .factory_image:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

    .factory_image img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        display: block;
        transition: all 0.5s ease;
    }

    .factory_image:hover img {
        transform: scale(1.1);
    }

.factory_image_1 {
    width: 60%;
}

.factory_image_2 {
    width: 40%;
}

/* مودال ویدیو */
.modal-content {
    border-radius: 15px;
    overflow: hidden;
    border: none;
}

.modal-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 20px;
    border-bottom: none;
}

.modal-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.btn-close {
    filter: brightness(0) invert(1);
    opacity: 1;
}

/* ریسپانسیو */
@media (max-width: 991px) {
    .factory_section {
        padding: 70px 0;
    }

    .factory_title {
        font-size: 1.8rem;
    }

    .factory_content {
        margin-bottom: 40px;
        padding-right: 0;
    }

    .factory_thumbnail {
        height: 300px;
    }

    .factory_video_play {
        width: 70px;
        height: 70px;
        font-size: 1.3rem;
    }

    .factory_image img {
        height: 120px;
    }
}

@media (max-width: 767px) {
    .factory_section {
        padding: 50px 0;
    }

    .factory_title {
        font-size: 1.6rem;
    }

    .factory_text {
        font-size: 0.95rem;
    }

    .factory_feature_icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .factory_feature_title {
        font-size: 1rem;
    }

    .factory_feature_text {
        font-size: 0.85rem;
    }

    .factory_stat_value {
        font-size: 1.7rem;
    }

    .factory_stat_label {
        font-size: 0.8rem;
    }

    .factory_thumbnail {
        height: 250px;
    }

    .factory_video_play {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    .factory_image img {
        height: 100px;
    }
}

@media (max-width: 575px) {
    .factory_stats {
        gap: 20px;
    }

    .factory_stat_item:not(:last-child)::after {
        display: none;
    }

    .factory_link {
        width: 100%;
        justify-content: center;
    }

    .factory_images {
        flex-direction: column;
    }

    .factory_image_1,
    .factory_image_2 {
        width: 100%;
    }

    .factory_image img {
        height: 180px;
    }
}
/* فوتر */
/* فوتر سایت */
.site-footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
}

/* بخش بالای فوتر */
.footer-top {
    padding: 79px 0 13px;
  
    background-size: 300px;
    background-color: transparent;
    background-blend-mode: overlay;
    opacity: 0.95;
}

/* لوگو و توضیحات */
.footer-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.footer-logo {
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0;
    padding-bottom: 10px;
    display: inline-flex;
    align-items: center;
}

    .footer-logo img {
        height: 45px;
        width: auto;
    }

.footer-about {
    margin-bottom: 0;
    text-align: justify;
}

/* لینک‌های فوتر */
.footer-links {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* عناوین فوتر */
.footer-title-wrapper {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0;
    padding-bottom: 10px;
    display: inline-flex;
    align-items: center;
}


/* منوی فوتر */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

    .footer-menu li {
        margin-bottom: 12px;
        display: flex;
        align-items: flex-start;
        padding-right: 15px;
    }

        .footer-menu li::before {
            content: '\f054';
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            font-size: 0.7rem;
            color: var(--secondary-color);
            margin-right: -15px;
            margin-top: 6px;
        }

    .footer-menu a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: all 0.3s ease;
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
    }

        .footer-menu a:hover {
            color: #fff;
            padding-right: 5px;
        }

/* بخش تماس */
.footer-contact {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* اطلاعات تماس */
.contact-info {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

    .contact-item i {
        color: var(--secondary-color);
        font-size: 1rem;
        margin-left: 10px;
        margin-top: 3px;
        min-width: 16px;
        text-align: center;
        flex-shrink: 0;
    }

    .contact-item span,
    .contact-link {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: all 0.3s ease;
        flex: 1;
    }

        .contact-link:hover {
            color: #fff;
        }

/* بخش پایین فوتر */
.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-basis: auto;
    flex-shrink: 0;
}

    .copyright p {
        margin: 0;
    }

/* اطلاعات طراح */
.footer-designer {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    flex-basis: auto;
    flex-shrink: 0;
}

    .footer-designer p {
        margin: 0;
    }

    .footer-designer a {
        color: var(--secondary-color);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        margin-right: 5px;
    }

        .footer-designer a:hover {
            color: #fff;
        }

/* دکمه بازگشت به بالا */
.back-to-top-wrapper {
    display: flex;
    justify-content: flex-start;
}

.back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

    .back-to-top.active {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top:hover {
        background-color: var(--primary-color);
        color: #fff;
        transform: translateY(-5px);
    }

/* ریسپانسیو */
@media (max-width: 991px) {
    .footer-top {
        padding: 50px 0 30px;
    }

    .footer-logo img {
        height: 40px;
    }

    .footer-title {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .footer-top {
        padding: 40px 0 20px;
    }

    .footer-bottom {
        padding: 15px 0;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .copyright, .footer-designer {
        justify-content: center;
        font-size: 0.85rem;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        position: relative;
        bottom: 56px;
    }
}

@media (max-width: 575px) {
    .footer-top {
        padding: 30px 0 15px;
    }

    /* طراحی کارت‌مانند برای موبایل */
    .footer-info,
    .footer-links,
    .footer-contact {
        background-color: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        padding: 15px;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .footer-about {
        font-size: 0.85rem;
    }

    .footer-menu li {
        margin-bottom: 8px;
    }

    .footer-menu a {
        font-size: 0.85rem;
    }

    .contact-item {
        font-size: 0.85rem;
    }

    .footer-links .footer-title {
        font-size: 0.9rem;
    }

    .footer-links .footer-menu li {
        margin-bottom: 6px;
    }

    .footer-links .footer-menu a {
        font-size: 0.8rem;
    }

    .footer-designer, .copyright {
        font-size: 0.8rem;
    }
}

/* طرح ویژه موبایل - گرید بهینه شده */
@media (max-width: 575px) {
    .footer-top .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/**/
/* منوی پایین برای موبایل */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary-color);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 10px 0 8px;
    border-radius: 5px;
}

    .bottom-nav .container {
        max-width: 100%;
        padding: 0 10px;
    }

    .bottom-nav .row {
        margin: 0 -5px;
    }

    .bottom-nav .col {
        padding: 0 5px;
        display: flex;
        justify-content: center;
    }

    .bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        padding: 5px;
        border-radius: 12px;
        transition: all 0.3s ease;
        position: relative;
        width: 100%;
    }

        .bottom-nav a svg {
            margin-bottom: 4px;
            transition: all 0.3s ease;
        }

        .bottom-nav a div {
            font-size: 0.75rem;
            font-weight: 500;
            white-space: nowrap;
            transition: all 0.3s ease;
        }

        /* آیتم فعال */
        .bottom-nav a.active {
            color: var(--primary-color);
        }

            .bottom-nav a.active::before {
                content: '';
                position: absolute;
                top: -10px;
                left: 50%;
                transform: translateX(-50%);
                width: 30px;
                height: 3px;
                background-color: var(--secondary-color);
                border-radius: 10px;
            }

        .bottom-nav a:hover {
            color: #fff;
        }

        /* افکت‌های هاور و کلیک */
        .bottom-nav a:active svg {
            transform: scale(0.9);
        }

    /* انیمیشن ریپل برای کلیک */
    .bottom-nav a {
        overflow: hidden;
    }

        .bottom-nav a::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 5px;
            height: 5px;
            background: rgba(255, 255, 255, 0.3);
            opacity: 0;
            border-radius: 100%;
            transform: scale(1, 1) translate(-50%, -50%);
            transform-origin: 50% 50%;
        }

        .bottom-nav a:active::after {
            animation: ripple 0.6s ease-out;
        }

@keyframes ripple {
    0% {
        opacity: 1;
        transform: scale(0, 0) translate(-50%, -50%);
    }

    100% {
        opacity: 0;
        transform: scale(20, 20) translate(-50%, -50%);
    }
}

/* سازگاری با صفحات با ارتفاع کم */
@media screen and (max-height: 600px) {
    .bottom-nav {
        padding: 6px 0 5px;
    }

        .bottom-nav a svg {
            margin-bottom: 2px;
        }

        .bottom-nav a div {
            font-size: 0.7rem;
        }
}

/* سازگاری با موبایل‌های کوچک */
@media screen and (max-width: 350px) {
    .bottom-nav a div {
        font-size: 0.65rem;
    }

    .bottom-nav a svg {
        width: 18px;
        height: 18px;
    }
}

/* تنظیم فاصله پایین برای محتوای صفحه */
body {
    padding-bottom: 65px;
}

@media screen and (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}
/* قوانین و مقررات */
/* استایل مدال قوانین و مقررات */
.terms_modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

    .terms_modal.active {
        display: flex;
    }

.terms_modal_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

.terms_modal_container {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    z-index: 1;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
}

.terms_modal.active .terms_modal_container {
    transform: scale(1);
    opacity: 1;
}

.terms_modal_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.terms_modal_title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.terms_modal_close {
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #777;
    font-size: 16px;
    transition: all 0.2s ease;
}

    .terms_modal_close:hover {
        background-color: rgba(0, 0, 0, 0.05);
        color: #333;
    }

.terms_modal_body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.terms_modal_content {
    line-height: 1.6;
}

    .terms_modal_content h4 {
        font-size: 18px;
        color: #333;
        margin-top: 0;
        margin-bottom: 15px;
    }

    .terms_modal_content h5 {
        font-size: 16px;
        color: #444;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .terms_modal_content p {
        margin-bottom: 15px;
        color: #555;
        text-align: justify;
    }

.terms_modal_footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
}

.terms_modal_accept {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .terms_modal_accept:hover {
        background-color: var(--secondary-color);
    }

/* استایل اسکرول‌بار مدال */
.terms_modal_body::-webkit-scrollbar {
    width: 6px;
}

.terms_modal_body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.terms_modal_body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

    .terms_modal_body::-webkit-scrollbar-thumb:hover {
        background: #aaa;
    }

/* انیمیشن فید-این */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ریسپانسیو */
@media (max-width: 576px) {
    .terms_modal_title {
        font-size: 16px;
    }

    .terms_modal_content h4 {
        font-size: 16px;
    }

    .terms_modal_content h5 {
        font-size: 15px;
    }

    .terms_modal_content p {
        font-size: 14px;
    }
}
/* سوالات متداول */

.faq_modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

    .faq_modal.active {
        display: flex;
    }

.faq_modal_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

.faq_modal_container {
    position: relative;
    width: 95%;
    max-width: 850px;
    max-height: 90vh;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    z-index: 1;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
}

.faq_modal.active .faq_modal_container {
    transform: scale(1);
    opacity: 1;
}

.faq_modal_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    background-color: #f8f9fa;
    border-radius: 10px 10px 0 0;
}

.faq_modal_title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.faq_modal_close {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #777;
    font-size: 16px;
    transition: all 0.2s ease;
}

    .faq_modal_close:hover {
        background-color: rgba(0, 0, 0, 0.05);
        color: #333;
    }

.faq_modal_body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* جستجو */
.faq_search {
    margin-bottom: 20px;
}

.faq_search_container {
    position: relative;
    display: flex;
    align-items: center;
}

.faq_search_icon {
    position: absolute;
    right: 12px;
    color: #aaa;
    font-size: 14px;
}

.faq_search_input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
}

    .faq_search_input:focus {
        border-color: var(--primary-color, #ff7800);
        box-shadow: 0 0 0 2px rgba(var(--primary-rgb, 255, 120, 0), 0.1);
        outline: none;
    }

/* آکاردئون سوالات */
.faq_accordion {
    margin-top: 10px;
}

.faq_item {
    margin-bottom: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

    .faq_item:hover {
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    }

.faq_question {
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8f9fa;
    transition: background-color 0.2s ease;
}

.faq_item.active .faq_question {
    background-color: rgba(var(--primary-rgb, 255, 120, 0), 0.05);
}

.faq_question h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    transition: color 0.2s ease;
}

.faq_item.active .faq_question h4 {
    color: var(--primary-color, #ff7800);
}

.faq_icon {
    font-size: 12px;
    color: #888;
    transition: transform 0.3s ease, color 0.2s ease;
}

.faq_item.active .faq_icon {
    transform: rotate(180deg);
    color: var(--primary-color, #ff7800);
}

.faq_answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #fff;
}

.faq_item.active .faq_answer {
    padding: 15px 20px;
    max-height: 300px;
    overflow-y: auto;
}

.faq_answer p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 14px;
    text-align: justify;
}

/* نتیجه جستجو نیافت */
.faq_no_results {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    text-align: center;
    color: #777;
}

    .faq_no_results i {
        font-size: 40px;
        color: #ccc;
        margin-bottom: 15px;
    }

    .faq_no_results p {
        font-size: 16px;
        font-weight: 500;
        margin: 0 0 5px;
    }

    .faq_no_results span {
        font-size: 14px;
        color: #888;
    }

.faq_modal_footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
}

.faq_modal_close_btn {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .faq_modal_close_btn:hover {
        background-color: var(--secondary-color);
    }

/* استایل اسکرول‌بار */
.faq_modal_body::-webkit-scrollbar,
.faq_answer::-webkit-scrollbar {
    width: 6px;
}

.faq_modal_body::-webkit-scrollbar-track,
.faq_answer::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.faq_modal_body::-webkit-scrollbar-thumb,
.faq_answer::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

    .faq_modal_body::-webkit-scrollbar-thumb:hover,
    .faq_answer::-webkit-scrollbar-thumb:hover {
        background: #aaa;
    }

/* ریسپانسیو */
@media (max-width: 576px) {
    .faq_modal_container {
        width: 95%;
    }

    .faq_modal_title {
        font-size: 16px;
    }

    .faq_question h4 {
        font-size: 15px;
    }

    .faq_answer p {
        font-size: 13px;
    }

    .faq_search_input {
        padding: 10px 40px 10px 15px;
        font-size: 13px;
    }
}

.inquiry_contact_card {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem; /* 8px */
    background-color: #f8f9fa;
    transition: all 0.2s ease-in-out;
    /* --- اصلاحات کلیدی --- */
    text-decoration: none !important; /* حذف خط زیر لینک در همه حالت‌ها */
    color: inherit; /* باعث می‌شود رنگ آبی پیش‌فرض لینک را نگیرد */
}

    .inquiry_contact_card:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        border-color: var(--bs-primary);
        background-color: #fff;
        text-decoration: none !important; /* اطمینان از حذف خط زیر در حالت هاور */
    }

    .inquiry_contact_card i {
        font-size: 1.75rem; /* 28px */
        color: var(--bs-primary);
        margin-left: 1rem; /* 16px */
        width: 32px;
        text-align: center;
    }

    .inquiry_contact_card .inquiry_contact_text span {
        display: block;
        font-size: 0.8rem; /* 12.8px */
        color: #6c757d; /* text-muted */
        margin-bottom: 2px;
    }

    .inquiry_contact_card .inquiry_contact_text strong {
        font-size: 1rem; /* 16px */
        font-weight: 600;
        color: #212529; /* text-dark */
    }