:root {
    --primary-color: #4ECDC4;
    --secondary-color: #003b7e;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --primary-hover: #17a29b;
    --menu-bg: #f8f9fa;
    --menu-hover: #000000;
    --overlay-color: rgba(0, 59, 126, 0.6);
    --content-bg: rgba(0, 59, 126, 0.8);
    --card-gray: #f5f5f5;
    --accent-color: #FF6B6B;
    --footer-bg: #FFFFFF;
    --footer-bg-alt: #F1F5F9;
    --footer-title-color: #2D3748;
    --text-color: #718096;
    --border-color: #E2E8F0;
    --shadow-color: rgba(0, 59, 126, 0.1);
    --gradient-start: #4ECDC4;
    --gradient-end: #003b7e;
    --light-gray: #f9fafb;
    --main-color: #003b7e;
}

@font-face {
    font-family: 'vazir';
    src: url('/assets/font/vazirmatn/Vazirmatn-Regular.woff2') format('woff2');
}

body,
html {
    margin: 0;
font-family: vazir;
}


.offcanvas-menu{
    display: none;
}

.topbar {
    background-color: var(--light-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 5px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    border-top: 6px solid var(--primary-color);
}
    
    
    /* ===== لوگو ===== */
    .logo-container {
        display: flex;
        align-items: center;
       
    }
    
    .logo-wrapper {
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        margin-left: 12px;
    }

.logo-img {
    max-width: 55px;
    transition: transform 0.3s ease;
}
    
    .logo-container:hover .logo-img {
        transform: scale(1.05);
    }
    
    .logo-text {
        font-weight: bold;
        color: var(--dark-color);
        font-size: 1.2rem;
        line-height: 1.2;
    }
    
    .logo-subtext {
        font-size: 0.8rem;
        color: var(--secondary-color);
        display: block;
    }
    
    /* ===== جستجو ===== */
    .search-box {
        position: relative;
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .search-box input {
        width: 100%;
        border-radius: 8px;
        border: 1px solid #e0e0e0;
        padding: 10px 40px 10px 50px;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        background-color: #fff;
    }
    
    .search-box input:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.15);
        outline: none;
    }
    
    .search-icon {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #aaa;
        font-size: 0.9rem;
    }
    
    .search-btn {
        position: absolute;
        left: 5px;
        top: 50%;
        transform: translateY(-50%);
        height: 34px;
        width: 34px;
        background-color: var(--primary-color);
        border: none;
        border-radius: 6px;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        transition: all 0.3s ease;
    }
    
    .search-btn:hover {
        background-color: var(--primary-hover);
    }
    
    /* ===== پشتیبانی ===== */
    .support-info {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .support-icon {
        background-color: var(--primary-color);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 10px;
        animation: pulse 2s infinite;
    }
    
    .support-icon i {
        color: white;
        font-size: 1.1rem;
    }
    
    .support-content {
        text-align: right;
    }
    

    
    /* ===== موبایل ===== */
    .mobile-menu-btn {
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
        display: none;
    }
    
    .hamburger-icon {
        width: 24px;
        height: 18px;
        position: relative;
        display: inline-block;
    }
    
    .hamburger-line {
        position: absolute;
        height: 2px;
        width: 100%;
        background: var(--secondary-color);
        border-radius: 2px;
        transition: all 0.3s ease;
        left: 0;
    }
    
    .hamburger-line:nth-child(1) {
        top: 0;
    }
    
    .hamburger-line:nth-child(2) {
        top: 8px;
    }
    
    .hamburger-line:nth-child(3) {
        top: 16px;
    }
    
    /* ===== پشتیبانی موبایل جدید ===== */
    .mobile-support-container {
        display: none;
    }
    
    .mobile-support-link {
        display: flex;
        align-items: center;
        background-color: var(--primary-color);
        padding: 6px 12px;
        border-radius: 30px;
        text-decoration: none;
        box-shadow: 0 3px 8px rgba(78, 205, 196, 0.25);
        transition: all 0.3s ease;
    }
    
    .mobile-support-link:hover, .mobile-support-link:active {
        background-color: var(--primary-hover);
        box-shadow: 0 4px 10px rgba(78, 205, 196, 0.35);
        transform: translateY(-1px);
    }
    
    .mobile-phone-icon {
        color: white;
        font-size: 0.9rem;
        margin-left: 6px;
        animation: shake 3s infinite;
        display: inline-block;
    }
    
    .mobile-phone-number {
        color: white;
        font-size: 0.85rem;
        font-weight: bold;
        direction: ltr;
    }
    
    /* ===== انیمیشن‌ها ===== */
    @keyframes pulse {
        0% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(0, 59, 126, 0.4);
        }
        70% {
            transform: scale(1.05);
            box-shadow: 0 0 0 10px rgba(0, 59, 126, 0);
        }
        100% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(0, 59, 126, 0);
        }
    }
    
    @keyframes shake {
        0%, 100% {
            transform: rotate(0deg);
        }
        2%, 6% {
            transform: rotate(-10deg);
        }
        4%, 8% {
            transform: rotate(10deg);
        }
        10%, 100% {
            transform: rotate(0deg);
        }
    }
    
    /* ===== ریسپانسیو ===== */
    @media (max-width: 768px) {
        .topbar .container {
            max-width: 100%;
            padding: 0;
        }
        
       /* استایل برای منوی موبایل */
.mobile-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.mobile-menu-btn {
    background: transparent;
    border: none;
    padding: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger-icon {
    width: 24px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 35px;
    width: auto;
    margin-left: 8px;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

        .mobile-support-wrapper {
            display: flex;
            align-items: center;
        }

        .mobile-support-btn {
            display: flex;
            align-items: center;
            color: #4ECDC4;
            text-decoration: none;
        }

        .mobile-phone-ico {
            font-size: 1rem;
            margin-left: 5px;
        }

        .mobile-phone-num {
            font-size: 0.9rem;
            font-weight: 600;
        }

/* استایل برای منوی Offcanvas */
.offcanvas-menu {
    position: fixed;
    top: 0;
    right: -280px; /* شروع از خارج صفحه */
    width: 280px;
    height: 100%;
    background-color: #fff;
    z-index: 1050;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.offcanvas-menu.active {
    right: 0; /* نمایش در صفحه */
}

.offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.offcanvas-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.offcanvas-close {
    background: transparent;
    border: none;
    color: #999;
    font-size: 1.2rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.offcanvas-close:hover {
    color: #4ECDC4;
}

.offcanvas-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

/* تب‌های منو */
.offcanvas-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
}

.offcanvas-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 5px;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.offcanvas-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #4ECDC4;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.offcanvas-tab.active {
    color: #4ECDC4;
    font-weight: 600;
}

.offcanvas-tab.active::after {
    transform: scaleX(1);
}

/* محتوای تب‌ها */
.offcanvas-tab-content {
    display: none;
    padding: 15px 0;
}

.offcanvas-tab-content.active {
    display: block;
}

/* جستجو */
.offcanvas-search {
    display: flex;
    margin: 0 15px 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}

.offcanvas-search-input {
    flex: 1;
    border: none;
    padding: 10px 15px;
    font-size: 0.9rem;
}

.offcanvas-search-input:focus {
    outline: none;
}

.offcanvas-search-btn {
    background-color: #4ECDC4;
    border: none;
    color: white;
    width: 40px;
    cursor: pointer;
}

/* لیست دسته‌بندی‌ها */
.offcanvas-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.offcanvas-category-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.offcanvas-category-link {
    flex: 1;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.offcanvas-category-toggle {
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.offcanvas-category-toggle:hover {
    color: #4ECDC4;
}

/* لیست لینک‌های مفید */
.offcanvas-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.offcanvas-links-list li {
    border-bottom: 1px solid #f0f0f0;
}

.offcanvas-links-list a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.offcanvas-links-list a:hover {
    color: #4ECDC4;
    background-color: rgba(78, 205, 196, 0.05);
}

/* پس‌زمینه تیره */
.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.offcanvas-overlay.active {
    opacity: 1;
    visibility: visible;
}
    }

    /* ===== منوی اصلی ===== */
  
    .main-header {
        background-color: var(--light-color);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        position: relative;
        z-index: 990;
       
    }
    
    /* ===== منوی دسته‌بندی ===== */
    .main-menu-container {
        position: relative;
        height: 60px;
        font-size: 0.8rem;
    }
    
    .category-menu-btn {
        background: linear-gradient(to right, var(--primary-color), #3ab4ad);
        color: white;
        border: none;
        height: 60px;
        width: 100%;
        padding: 0 15px;
        font-weight: 600;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(78, 205, 196, 0.2);
    }
    
    .category-menu-btn:hover {
        background: linear-gradient(to right, #3ab4ad, var(--primary-color));
        transform: translateY(-2px);
    }
    
    .menu-icon {
        margin-left: 10px;
        font-size: 1rem;
    }
    
    .arrow-icon {
        font-size: 0.9rem;
        transition: transform 0.3s ease;
    }
    
    .category-menu-btn:hover .arrow-icon {
        transform: rotate(180deg);
    }
    
    /* منوی کشویی دسته‌بندی‌ها - ساختار جدید */
    .category-dropdown {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background-color: white;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        z-index: 995;
        border-top: 3px solid var(--primary-color);
    }
    
    .main-menu-container:hover .category-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .category-menu {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .category-item {
        position: relative;
        z-index: 996; /* بالاتر از منوی اصلی */
    }
    
/* افزایش عرض برای آیتم‌های منو تا فضای بیشتری برای هاور داشته باشند */
.category-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--dark-color);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%; /* اضافه شده */
    font-size: 1rem;
}
    
    .category-icon {
        width: 20px;
        margin-left: 10px;
        color: var(--primary-color);
        transition: all 0.3s ease;
    }
    
    .submenu-arrow {
        margin-right: auto;
        font-size: 0.8rem;
        color: #aaa;
        transition: transform 0.3s ease;
    }
    
    .category-link:before {
        content: '';
        position: absolute;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(to left, rgba(78, 205, 196, 0.1), transparent);
        transition: all 0.5s ease;
        z-index: -1;
    }
    
    .category-link:hover {
        color: var(--primary-color);
        background-color: rgba(78, 205, 196, 0.05);
        padding-right: 20px;
    }
    
    .category-link:hover:before {
        right: 0;
    }
    
    .category-link:hover .category-icon {
        transform: scale(1.2);
    }
    
    .category-link:hover .submenu-arrow {
        transform: translateX(-5px);
        color: var(--primary-color);
    }
/* زیرمنوی دسته‌بندی‌ها - بازنویسی کامل */
.subcategory-menu {
    position: absolute;
    top: 0;
    left: -250px; /* حفظ موقعیت فعلی */
    width: 250px;
    background-color: white;
    border-radius: 8px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    z-index: 996;
    list-style: none;
    margin: 0;
    padding: 0;
    border-right: 3px solid var(--primary-color);
    /* اضافه کردن */
    pointer-events: none; /* مهم: اجازه می‌دهد هاور روی آیتم اصلی باقی بماند */
    z-index: 997; /* بالاتر از آیتم منو */
}
/* فعال کردن pointer-events هنگام هاور */
.category-item:hover > .subcategory-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: all; /* اجازه تعامل با زیرمنو */
}  
.main-menu-container:hover .category-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* اضافه کردن استایل برای حالت فعال */
.category-item.active > .subcategory-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: all;
}

/* اصلاح موقعیت منوی کشویی اصلی */
.category-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background-color: white;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 995;
    border-top: 3px solid var(--primary-color);
    /* اضافه کردن حداکثر ارتفاع و اسکرول */
    max-height: 450px;

}
    .subcategory-header {
        background-color: var(--primary-color);
        color: white;
        padding: 12px 15px;
        font-weight: 600;
        font-size: 0.95rem;
        border-radius: 8px 8px 0 0;
    }
    
    .subcategory-link {
        display: flex;
        align-items: center;
        padding: 10px 15px;
        color: var(--dark-color);
        text-decoration: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        font-size: 1rem;
    }
    
    .subcategory-link i {
        margin-left: 8px;
        font-size: 0.8rem;
        color: var(--primary-color);
        opacity: 0;
        transform: translateX(5px);
        transition: all 0.3s ease;
    }
    
    .subcategory-link:hover {
        background-color: rgba(78, 205, 196, 0.05);
        color: var(--primary-color);
        padding-right: 20px;
    }
    
    .subcategory-link:hover i {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* ===== منوی افقی ===== */
    .horizontal-nav {
        height: 60px;
        padding-right: 20px;
    }
    
    .horizontal-menu {
        display: flex;
        align-items: center;
        height: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    
    .horizontal-menu-item {
        height: 100%;
        position: relative;
        margin: 0 5px;
    }
    
    .horizontal-menu-link {
        display: flex;
        align-items: center;
        height: 100%;
        padding: 0 12px;
        color: var(--dark-color);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        font-size: 1rem;
    }
    
    .horizontal-menu-link i {
        margin-left: 6px;
        font-size: 0.9rem;
        color: var(--primary-color);
        transition: all 0.3s ease;
    }
    
    .horizontal-menu-link:before {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 3px;
        background-color: var(--primary-color);
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.3s ease;
    }
    
    .horizontal-menu-link:hover {
        color: var(--primary-color);
    }
    
    .horizontal-menu-link:hover:before {
        transform: scaleX(1);
    }
    
    .horizontal-menu-link:hover i {
        transform: translateY(-3px);
    }
    
    .horizontal-menu-link.active {
        color: var(--primary-color);
    }
    
    .horizontal-menu-link.active:before {
        transform: scaleX(1);
    }
    
    /* نمایش در موبایل */
    @media (max-width: 768px) {
        .main-header {
            display: none !important;
        }
    }
        /* نمایش در موبایل */
        @media (min-width: 768px) {
            .mobile-menu-wrapper {
                display: none !important;
            }
        }
/* ---اسلایدر--- */
.slider-section {
    width: 100%;
    overflow: hidden;
    height: 79vh; /* ارتفاع کمتر اسلایدر */
    display: flex;
}

.slider-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.slider {
    width: 100%;
    height: 100%;
    display: flex;
    flex: 1;
    position: relative; /* این position ضروری است */
}

.slide {
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: none; /* اسلایدهای غیرفعال نمایش داده نمی‌شوند */
}

.slide.active {
    opacity: 1;
    display: flex; /* فقط اسلاید فعال نمایش داده می‌شود */
    width: 100%;
}

.slide-bg1 {
    position: absolute; /* این position برای پوشش کامل ضروری است */
    width: 100%;
    height: auto;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7); /* تیره کردن تصویر پس‌زمینه برای خوانایی متن */
    z-index: 0;
  
}
.slide-bg2 {
    position: absolute; /* این position برای پوشش کامل ضروری است */
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7); /* تیره کردن تصویر پس‌زمینه برای خوانایی متن */
    z-index: 0;
   
}

.slide-content {
    width: 100%;
    height: 100%;
    padding: 0 10%;
    color: var(--light-color);
    text-align: right;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative; /* برای z-index */
}

.content-inner {
    max-width: 600px;
    background-color: rgb(66 136 134 / 60%);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.slider-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slider-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slider-text {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* دکمه‌های قبلی و بعدی */
.slider-nav {
    position: absolute; /* این position ضروری است */
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none; /* اجازه کلیک روی عناصر زیرین */
}

.slider-btn {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    pointer-events: auto; /* اجازه کلیک روی دکمه‌ها */
}

.slider-btn:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: scale(1.1);
}

/* نشانگرهای اسلاید */
.slider-indicators {
    position: absolute; /* این position ضروری است */
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    gap: 12px;
    justify-content: center;
    z-index: 10;
}

.slider-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-indicator.active {
    background-color: var(--light-color);
    transform: scale(1.2);
}

/* واکنش‌گرایی */
@media (max-width: 992px) {
    .slider-section {
        height: 400px; /* ارتفاع کمتر در تبلت */
    }
    
    .slider-title {
        font-size: 2rem;
    }
    
    .slider-subtitle {
        font-size: 1.3rem;
    }
    
    .content-inner {
        max-width: 500px;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .slider-section {
        height: 350px; /* ارتفاع کمتر در موبایل */
    }
    
    .slider-title {
        font-size: 1.5rem;
    }
    
    .slider-subtitle {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .slider-text {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .content-inner {
        max-width: 100%;
        padding: 15px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .slider-section {
        height: 300px; /* ارتفاع کمتر در موبایل‌های کوچک */
    }
    
    .slider-title {
        font-size: 1.3rem;
    }
    
    .slider-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

/*  */
/*  */



/* بخش کارت بالایی - تمام عرض */
/* بخش کارت بالایی - تمام عرض */
.intro-top-section {
    padding: 0;
    background: linear-gradient(135deg, rgba(248, 249, 250, 1) 0%, rgba(240, 242, 245, 1) 100%);
    position: relative;
}

.intro-top-card {
    background-color: var(--card-bg);
    padding: 34px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

    .intro-top-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(to right, var(--primary-color), transparent);
    }

/* استایل بخش توضیحات */
.intro-description-container {
    position: relative;
    margin-top: 20px;
}

.intro-description {
    position: relative;
    overflow: hidden;
    transition: height 1.5s cubic-bezier(0.19, 1, 0.22, 1); /* انیمیشن نرم‌تر */
}

    .intro-description.collapsed {
        height: 160px; /* ارتفاع تقریبی برای نمایش دو پاراگراف و کمی از پاراگراف سوم */
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0.6) 85%, rgba(0, 0, 0, 0.1) 95%, rgba(0, 0, 0, 0) 100%);
        -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0.6) 85%, rgba(0, 0, 0, 0.1) 95%, rgba(0, 0, 0, 0) 100%);
    }

        .intro-description.collapsed::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 60px;
            background: transparent;
            backdrop-filter: blur(2px);
            -webkit-backdrop-filter: blur(2px);
            pointer-events: none;
            opacity: 0.7;
            z-index: 4;
        }

    .intro-description.expanded {
        height: auto;
        mask-image: none;
        -webkit-mask-image: none;
    }

        .intro-description.expanded::after {
            display: none;
        }

.intro-text {
    text-align: justify;
    line-height: 1.8;
    direction: rtl;
}

    .intro-text p {
        margin-bottom: 15px;
        text-align: justify;
    }

.intro-read-more-wrapper {
    text-align: center;
    margin-top: 10px;
    position: relative;
    z-index: 10;
}

.intro-read-more {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 6px 18px;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .intro-read-more:hover {
        transform: translateY(-5px);
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white;
        box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
    }

    .intro-read-more i {
        transition: transform 0.5s ease;
        font-size: 12px;
    }

.intro-description.expanded + .intro-read-more-wrapper .intro-read-more i {
    transform: rotate(180deg);
}
/* بخش کارت پایانی - تمام عرض */
.intro-bottom-section {
    padding: 0;
    background: transparent;
}

.intro-bottom-card {
    border-radius: 0;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 59, 126, 0.95) 0%, rgba(0, 41, 88, 0.95) 100%);
}

/* عنوان بخش خدمات */
.services-header {
    text-align: center;
    margin-bottom: 30px;
}

/* کارت‌های سفید و طوسی */
.service-card.card-white {
    background-color: #fff;
}

.service-card.card-gray {
    background-color: var(--card-gray);
}

/* تنظیم حاشیه برای container-fluid */
.container-fluid.px-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* اصلاح استایل بخش خدمات */
.services-section {
    padding-top: 40px;
    padding-bottom:7px;
}



/* ریسپانسیو */
@media (max-width: 768px) {
    .intro-top-card,
    .intro-bottom-card {
        padding: 30px 20px;
    }
    
    .services-header {
        margin-bottom: 20px;
    }
}

/*  */
/*  */
/* بخش کار ت ها */
/* تعریف کلاس برای 5 آیتم در هر سطر */
@media (min-width: 1200px) {
    .col-xl-2-4 {
      flex: 0 0 auto;
      width: 20%;
    }
  }
  
  /* استایل کارت‌ها */
 /* تعریف کلاس برای 5 آیتم در هر سطر */
@media (min-width: 1200px) {
    .col-xl-2-4 {
      flex: 0 0 auto;
      width: 20%;
    }
  }
  
  /* استایل کارت‌ها */
/* تعریف کلاس برای 5 آیتم در هر سطر */
@media (min-width: 1200px) {
    .col-xl-2-4 {
      flex: 0 0 auto;
      width: 20%;
    }
  }
  
  /* استایل کارت‌ها */
  .service-card {
    position: relative;
    height: 180px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background-color: #fff;
    z-index: 1;
  }
  
  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(28, 187, 180, 0.25);
  }
  
  .service-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    z-index: 1;
  }
  
  .service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60%;
    margin-bottom: 5px;
  }
  
  .service-icon i {
    font-size: 2.5rem;
    color: #1cbbb4;
    transition: transform 0.3s ease;
  }
  
  .service-title {
    height: 40%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    font-weight: bold;
    color: #333;
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
  }
  
  /* افکت هاور و اورلی */
  .service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1cbbb4;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.35s ease;
    z-index: 2;
  }
  
  .service-card:hover .service-overlay {
    opacity: 1;
  }
  
  .overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 15px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
  }
  
  .service-card:hover .overlay-content {
    transform: translateY(0);
    opacity: 1;
  }
  
  .service-description {
    color: #fff;
    font-size: 0.85rem;
    line-height: 1.7;
    text-align: center;
    font-weight: 400;
    margin-bottom: 18px;
  }
  
  /* دکمه مشاهده */
  .btn-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.9);
    color: #1cbbb4;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  
  .btn-view:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s ease;
  }
  
  .btn-view:hover {
    background: #fff;
    color: #1cbbb4;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
  }
  
  .btn-view:hover:before {
    left: 100%;
  }
  
  /* ریسپانسیو */
  @media (max-width: 992px) {
    .service-title {
      font-size: 0.85rem;
    }
    
    .service-icon i {
      font-size: 2rem;
    }
  }
  
  /* اصلاح استایل‌های موبایل - حفظ اندازه‌های مشابه دسکتاپ */
  @media (max-width: 768px) {
    .service-icon i {
      font-size: 2rem; /* همان اندازه دسکتاپ */
    }
  }
  
  @media (max-width: 576px) {
    /* حفظ ارتفاع کارت مشابه دسکتاپ */
    .service-card {
      height: 100px;
    }
    
    /* حفظ اندازه فونت مشابه دسکتاپ */
    .service-icon i {
      font-size: 2rem;
    }
    
    .service-title {
      font-size: 0.9rem;
    }
    
    .service-description {
      font-size: 0.85rem;
      margin-bottom: 18px;
      line-height: 1.7;
    }
    
    .btn-view {
      padding: 8px 24px;
      font-size: 0.85rem;
    }
    
    /* افزایش فاصله بین ردیف‌ها در موبایل */
    .row > [class*="col-"] {
      margin-bottom: 20px;
    }
  }
        /* ---کارت سرویس ---*/
        .service-cards-section {
            padding: 40px 0;
        }

        .service-card {
            border-radius: 15px;
            overflow: hidden;
            position: relative;
            height: 180px;
            margin-bottom: 30px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        }

        /* کارت آبی */
        .service-card.blue {
            background: linear-gradient(135deg, #4e8cff 0%, #3b6fe9 100%);
        }

        /* کارت نارنجی */
        .service-card.orange {
            background: linear-gradient(135deg, #ff8f2b 0%, #ff6a00 100%);
        }

        .service-card-inner {
            display: flex;
            flex-direction: column;
            height: 100%;
            padding: 30px;
            position: relative;
            z-index: 1;
        }

        .service-card-content {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .service-card-title {
            font-size: 1.8rem;
            font-weight: bold;
            color: #fff;
            margin-bottom: 10px;
            text-align: right;
        }

        .service-card-subtitle {
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 20px;
            text-align: right;
        }

        .service-card-btn {
            display: inline-block;
            background-color: rgba(255, 255, 255, 0.2);
            color: #fff;
            border-radius: 30px;
            padding: 8px 25px;
            text-decoration: none;
            transition: background-color 0.3s ease;
            align-self: flex-start;
            margin-top: auto;
        }

        .service-card-btn:hover {
            background-color: rgba(255, 255, 255, 0.3);
            color: #fff;
        }

        .service-card-image {
            position: absolute;
            bottom: 30px;
            left: 30px;
            max-width: 150px;
            height: auto;
            z-index: 0;
        }

        /* افکت های اضافی */
        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background-image: radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
        }

        /* ریسپانسیو */
        @media (max-width: 768px) {
            .service-card {
                height: 240px;
            }
            
            .service-card-title {
                font-size: 1.5rem;
            }
            
            .service-card-subtitle {
                font-size: 0.9rem;
            }
            
            .service-card-image {
                max-width: 120px;
            }
        }

        @media (max-width: 576px) {
            .service-card {
                height: 200px;
            }
            
            .service-card-inner {
                padding: 20px;
            }
            
            .service-card-title {
                font-size: 1.3rem;
            }
            
            .service-card-image {
                max-width: 100px;
                bottom: 20px;
                left: 20px;
            }
        }
        /* استایل بلاگ */
           /* استایل بخش وبلاگ */
           .blog-section {
            padding: 50px 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 40px;
        }

        .section-title h2 {
            font-weight: bold;
            color: var(--dark-color);
            margin-bottom: 15px;
            font-size: 1.8rem;
            position: relative;
            display: inline-block;
        }

        .section-title h2:after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background-color: var(--primary-color);
            border-radius: 2px;
        }

       
/* بخش معرفی خدمات */
.intro-section {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, rgba(248, 249, 250, 1) 0%, rgba(240, 242, 245, 1) 100%);
    position: relative;
    overflow: hidden;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234ecdc4' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

/* استایل کانتینر اصلی */
.intro-header-wrapper {
    max-width: 900px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 2;
}

/* آیکون اصلی بالای صفحه */
.intro-icon-box {
    text-align: center;
    margin-bottom: 25px;
}

.intro-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #3ab4ad);
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(78, 205, 196, 0.3);
    position: relative;
    animation: pulse-intro 2s infinite;
}

.intro-icon-circle::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid rgba(78, 205, 196, 0.3);
    animation: ripple-intro 2s infinite;
}

.intro-main-icon {
    color: white;
    font-size: 2.5rem;
}

/* استایل هدر */
.intro-title {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.intro-badge {
    display: inline-block;
    background-color: rgba(78, 205, 196, 0.15);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.intro-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer-intro 2s infinite;
}

.intro-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0;
    line-height: 1.4;
    background: linear-gradient(to right, var(--dark-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* استایل متن معرفی */
.intro-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-color);
    font-size: 1.15rem;
    line-height: 1.8;
    position: relative;
}

/* استایل خط جداکننده انیمیشنی */
.intro-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto;
}

.separator-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin: 0 5px;
    opacity: 0.7;
}

.separator-dot:nth-child(1) {
    animation: bounce-intro 1.2s infinite 0.2s;
}

.separator-dot:nth-child(2) {
    animation: bounce-intro 1.2s infinite 0.4s;
}

.separator-dot:nth-child(3) {
    animation: bounce-intro 1.2s infinite 0.6s;
}

/* استایل کارت‌های معرفی */
/* استایل‌های مشترک برای تمام بخش‌ها */
/* استایل هایلایت */
.intro-highlight {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    padding: 0 2px;
}

.intro-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(78, 205, 196, 0.2);
    border-radius: 2px;
    z-index: -1;
}

/* انیمیشن‌ها */
@keyframes pulse-intro {
    0% {
        box-shadow: 0 0 0 0 rgba(78, 205, 196, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(78, 205, 196, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(78, 205, 196, 0);
    }
}

@keyframes ripple-intro {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

@keyframes shimmer-intro {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}
/* بخش کارت بالایی */
.intro-top-section {
  
    background: linear-gradient(135deg, rgba(248, 249, 250, 1) 0%, rgba(240, 242, 245, 1) 100%);
}



/* آیکون اصلی بالای صفحه */
.intro-icon-box {
    text-align: center;
    margin-bottom: 25px;
}

.intro-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #3ab4ad);
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(78, 205, 196, 0.3);
    position: relative;
    animation: pulse-intro 2s infinite;
}

.intro-icon-circle::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid rgba(78, 205, 196, 0.3);
    animation: ripple-intro 2s infinite;
}

.intro-main-icon {
    color: white;
    font-size: 2.5rem;
}

/* استایل هدر */
.intro-title {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.intro-badge {
    display: inline-block;
    background-color: rgba(78, 205, 196, 0.15);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.intro-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer-intro 2s infinite;
}

.intro-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0;
    line-height: 1.4;
    background: linear-gradient(to right, var(--dark-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* استایل متن معرفی */
.intro-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-color);
    font-size: 1.15rem;
    line-height: 1.8;
    position: relative;
}
/* بخش متن گسترده معرفی */
.intro-extended-section {
    padding: 20px 0;
    background-color: var(--light-color);
}

.intro-extended-text {
    padding: 10px 0 20px;
    position: relative;
    z-index: 2;
}

.intro-paragraph {
    margin-bottom: 30px;
    position: relative;
    padding-right: 15px;
}

.intro-paragraph h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.intro-check-icon {
    color: var(--primary-color);
    margin-left: 10px;
    font-size: 1.2rem;
}

.intro-paragraph p {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 2;
    margin-bottom: 15px;
    text-align: justify;
}
/* بخش کارت‌های معرفی خدمات */
/* استایل کارت‌های معرفی */
.intro-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.intro-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.intro-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #3ab4ad);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.intro-card-icon i {
    color: white;
    font-size: 1.8rem;
    position: relative;
    z-index: 2;
}

.intro-card-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    top: -50%;
    left: -50%;
    transform: rotate(35deg);
}

.intro-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
}

.intro-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.intro-card:hover h3::after {
    width: 70px;
}

.intro-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.intro-card-border {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.intro-card:hover .intro-card-border {
    transform: scaleX(1);
}

/* بخش کارت‌های معرفی خدمات */
.intro-cards-section {
    padding-top: 40px;
    padding-bottom: 40px;
    background-color:var(--card-gray);
    position: relative;
    overflow: hidden;
}



.intro-cards-row {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

/* استایل کارت‌های معرفی - دقیقاً مطابق با کد اصلی */
.intro-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.intro-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.intro-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #3ab4ad);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.intro-card-icon i {
    color: white;
    font-size: 1.8rem;
    position: relative;
    z-index: 2;
}

.intro-card-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    top: -50%;
    left: -50%;
    transform: rotate(35deg);
}

.intro-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
}

.intro-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.intro-card:hover h3::after {
    width: 70px;
}

.intro-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.intro-card-border {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.intro-card:hover .intro-card-border {
    transform: scaleX(1);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .intro-cards-section {
        padding: 30px 0;
    }
    
    .intro-card {
        padding: 25px 20px;
    }
}
/* بخش کارت پایانی */
.intro-bottom-section {
   
    background: linear-gradient(135deg, rgba(248, 249, 250, 1) 0%, rgba(240, 242, 245, 1) 100%);
}

.intro-bottom-card {
    background-color: var(--card-bg);
    
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
    overflow: hidden;
    
}

.intro-bottom-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
}

/* استایل دکمه معرفی */
.intro-action-box {
    text-align: center;
    position: relative;
    z-index: 3;
    padding-top: 20px;
    padding-bottom: 20px;
}

.intro-cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.intro-cta-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 25px;
    line-height: 1.8;
}

.intro-button {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), #3ab4ad);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 15px 30px;
    border-radius: 15px;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(78, 205, 196, 0.3);
    transition: all 0.3s ease;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.intro-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.intro-button:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}


.intro-button:hover::before {
    left: 100%;
}

.intro-button-icon {
    margin-left: 10px;
    font-size: 1.2rem;
}

/* ویژگی‌های معرفی */
.intro-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.intro-feature-item {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius:15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: white;
}

.intro-feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.2);
}

.intro-feature-icon {
    color: var(--primary-color);
    margin-left: 8px;
    font-size: 0.9rem;
}
/* ریسپانسیو */
@media (max-width: 768px) {
    /* استایل‌های مشترک برای موبایل */
    section {
        padding: 30px 0;
    }
    
    /* کارت بالایی */
    .intro-top-card {
        padding: 30px 20px;
    }
    
    .intro-title h2 {
        font-size: 1.7rem;
    }
    
    .intro-description {
        font-size: 1rem;
    }

    
    /* کارت‌های خدمات */
    .intro-card {
        padding: 25px 20px;
    }
    
    /* کارت پایانی */
    .intro-bottom-card {
        padding: 30px 20px;
    }
    
    .intro-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .intro-features {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .intro-cta-title {
        font-size: 1.5rem;
    }
    
    .intro-cta-text {
        font-size: 1rem;
    }
}


 /* کارت وبلاگ */
 .blog-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.blog-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-title {
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
    line-height: 1.4;
}

.blog-text {
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.blog-author {
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-size: 0.9rem;
}

.blog-author i {
    margin-left: 5px;
    color: var(--primary-color);
}

.blog-stats {
    display: flex;
    align-items: center;
    gap: 15px;
}

.blog-views, .blog-comments, .blog-likes {
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-size: 0.9rem;
}

.blog-views i, .blog-comments i, .blog-likes i {
    margin-left: 5px;
    color: var(--primary-color);
}

.blog-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.blog-more:hover {
    color: var(--primary-color);
}

.blog-more i {
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.blog-more:hover i {
    transform: translateX(-3px);
}

/* دکمه مشاهده همه مقالات */
.view-all-btn {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.btn-view-all {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    padding: 10px 25px;
    border-radius: 15px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-view-all:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}

.btn-view-all i {
    font-size: 1.2rem;
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .blog-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .blog-card {
        margin-bottom: 20px;
    }
}



/* استایل اصلی فوتر */
.footer {
    position: relative;
    background-color: var(--footer-bg);
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* بخش بالای فوتر */
.footer-top {
    padding: 70px 0 40px;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.footer-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: translateY(-50%);
    border-radius: 2px;
}

/* ستون‌های فوتر */
.footer-column {
    margin-bottom: 30px;
}

/* بخش لوگو و توضیحات */
.footer-info {
    padding-right: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    text-decoration: none;
}

.footer-logo img {
    max-width: 55px;
    height: auto;
    margin-left: 12px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
}

.footer-description {
    color: var(--text-color);
    margin-bottom: 25px;
    text-align: justify;
    padding-left: 15px;
}

/* شبکه‌های اجتماعی */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1), rgba(26, 61, 124, 0.1));
    color: var(--secondary-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.social-link:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}

/* عنوان بخش‌های فوتر */
.footer-widget {
    padding: 0 10px;
    height: 100%;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--footer-title-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    display: flex;
    align-content: center;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 45px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    display: flex;
    align-content: center;
}

/* لینک‌های فوتر */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    padding-right: 5px;
}

.footer-links a i {
    margin-left: 8px;
    color: var(--primary-color);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(-5px);
}

.footer-links a:hover i {
    transform: translateX(-3px);
    color: var(--secondary-color);
}

/* اطلاعات تماس */
.footer-contact-info {
    margin-bottom: 25px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
}

.footer-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1), rgba(26, 61, 124, 0.1));
    color: var(--secondary-color);
    font-size: 1rem;
    margin-left: 15px;
    flex-shrink: 0;
}

.footer-contact-text {
    flex-grow: 1;
    line-height: 1.7;
}

.footer-contact-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-contact-link:hover {
        color: var(--primary-color);
    }

/* نمادهای اعتماد */
.enamad-container {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.enamad-link {
    display: block;
    padding: 5px;
    background-color: var(--light-color);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.enamad-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.enamad-logo {
    display: block;
    max-width: 80px;
    height: auto;
}

/* نوار خبرنامه */
.newsletter-bar {
    background-color: var(--footer-bg-alt);
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.newsletter-inner {
    padding: 0 15px;
}

.newsletter-content {
    margin-bottom: 20px;
}

.newsletter-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.newsletter-text {
    color: var(--text-color);
    margin-bottom: 0;
}

.newsletter-form .input-group {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.newsletter-form .form-control {
    border: none;
    padding: 15px 20px;
    height: auto;
    font-size: 0.95rem;
}

.newsletter-form .form-control:focus {
    box-shadow: none;
}

.newsletter-form .btn {
    padding: 0 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-form .btn:hover {
    transform: translateX(-3px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}

/* فوتر پایین */
.footer-bottom {
    background-color: var(--footer-bg);
    padding: 20px 0;
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0;
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

.designer-credit {
    color: var(--text-color);
    font-size: 0.9rem;
}

.designer-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.designer-link:hover {
    color: var(--secondary-color);
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .footer-top {
        padding: 50px 0 30px;
    }
    
    .footer-info {
        padding-right: 0;
    }
    
    .newsletter-inner {
        text-align: center;
    }
    
    .newsletter-form {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .footer-title {
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
    }
    
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 150px;
    width: 45px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    display: flex;
    align-content: center;
}
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }
    
    .enamad-container {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-top {
        padding: 40px 0 20px;
    }
    
    .footer-title {
        font-size: 1.1rem;
        display: flex;
        justify-content: center;
    }
    
    
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 150px;
    width: 45px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
 
}
    .footer-bottom-links {
        gap: 15px;
    }
    
    .newsletter-title {
        font-size: 1.2rem;
    }
    
    .newsletter-text {
        font-size: 0.9rem;
    }
   /*===منوی موبایل سیار===*/

    /* استایل کلی منوی سیار */
    .mobile-menu-wrapper {
        position: fixed;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 92%;
        max-width: 360px;
        background: linear-gradient(135deg, #ffffff, #f8f9fa);
        border-radius: 16px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
        padding: 8px 5px;
        z-index: 1000;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    /* گرید منو */
    .mobile-menu-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2px;
    }

    /* آیتم‌های منو */
    .mobile-menu-item {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 6px 2px;
        width: 100%;
        transition: all 0.25s ease;
        border-radius: 10px;
        text-decoration: none;
    }

        .mobile-menu-link:hover, .mobile-menu-link.active {
            background-color: rgba(78, 205, 196, 0.1);
        }

    /* کانتینر آیکون‌ها */
    .menu-icon-container {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 3px;
        border-radius: 10px;
        background: linear-gradient(135deg, #f8f9fa, #ffffff);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        transition: all 0.25s ease;
    }

    .mobile-menu-link:hover .menu-icon-container,
    .mobile-menu-link.active .menu-icon-container {
        background: linear-gradient(135deg, #4ECDC4, #2ab7ae);
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(78, 205, 196, 0.3);
    }

    /* آیکون‌ها */
    .menu-icon-container i {
        font-size: 1rem;
        color: #444;
        transition: all 0.25s ease;
    }

    .mobile-menu-link:hover .menu-icon-container i,
    .mobile-menu-link.active .menu-icon-container i {
        color: #fff;
    }

    /* متن‌ها */
    .menu-text {
        font-size: 0.7rem;
        color: #555;
        font-weight: 500;
        text-align: center;
        transition: all 0.25s ease;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        padding: 0 2px;
        line-height: 1.2;
    }

    .mobile-menu-link:hover .menu-text,
    .mobile-menu-link.active .menu-text {
        color: #4ECDC4;
        font-weight: 600;
    }

    /* فاصله از پایین صفحه برای محتوای اصلی */
    body {
        margin-bottom: 100px;
        padding-bottom: env(safe-area-inset-bottom); /* برای دستگاه‌های iOS با notch */
    }

    /* انیمیشن برای آیتم فعال */
    @keyframes pulse {
        0% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.05);
        }

        100% {
            transform: scale(1);
        }
    }

    .mobile-menu-link.active .menu-icon-container {
        animation: pulse 1.5s infinite;
    }

    /* ریسپانسیو برای دستگاه‌های خیلی کوچک */
    @media (max-width: 320px) {
        .menu-text {
            font-size: 0.65rem;
        }

        .menu-icon-container {
            width: 32px;
            height: 32px;
        }

            .menu-icon-container i {
                font-size: 0.9rem;
            }

        .mobile-menu-wrapper {
            padding: 6px 4px;
        }
    }


/*====صفحه پست====*/

/**/
/**/

/**/
/*بخش صفحه پست*/
/**/
/* Main container for spacing */
/* Main container for spacing */
.main-container {
    margin-top: 50px;
    margin-bottom: 30px;
    padding: 30px;
    border-radius: 16px;
    background-color: white;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .main-container:hover {
        transform: translateY(-5px);
    }

    .main-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    }

/* --- Post Header --- */
.post-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    gap: 15px;
    position: relative;
    padding-bottom: 20px;
}

    .post-header::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
        border-radius: 3px;
    }

.post-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--main-color);
    margin-bottom: 0;
    text-align: center;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInDown 0.8s ease-out;
}

.post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    color: var(--text-color);
    font-size: 0.95rem;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out;
}

.post-author, .post-date, .post-category {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

    .post-author:hover, .post-date:hover, .post-category:hover {
        transform: translateY(-3px);
    }

    .post-author a, .post-category a {
        color: var(--accent-color);
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s;
    }

        .post-author a:hover, .post-category a:hover {
            color: var(--gradient-start);
            text-decoration: underline;
        }

/* --- Post Image --- */
.post-image-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px var(--shadow-color);
    margin-bottom: 40px;
    position: relative;
    transform: perspective(1000px);
    transition: transform 0.5s ease;
    animation: fadeIn 1.2s ease-out;
}

    .post-image-container:hover {
        transform: perspective(1000px) rotateX(5deg);
    }

.post-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.post-image-container:hover .post-image {
    transform: scale(1.05);
}

.post-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 90%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.post-image-container:hover .post-image-overlay {
    opacity: 1;
}

.post-image-caption {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s ease 0.1s, opacity 0.4s ease 0.1s;
}

.post-image-container:hover .post-image-caption {
    transform: translateY(0);
    opacity: 1;
}

/* --- Post Content --- */
.post-content {
    line-height: 1.9;
    font-size: 1.1rem;
    margin-bottom: 40px;
    animation: fadeIn 1.4s ease-out;
}

    .post-content p {
        margin-bottom: 25px;
    }

    .post-content h2, .post-content h3, .post-content h4 {
        color: var(--main-color);
        margin-top: 40px;
        margin-bottom: 20px;
        font-weight: 600;
        background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        position: relative;
        padding-right: 15px;
    }

        .post-content h2::before, .post-content h3::before {
            content: '';
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 5px;
            height: 70%;
            background: linear-gradient(to bottom, var(--gradient-start), var(--gradient-end));
            border-radius: 3px;
        }

    .post-content h2 {
        font-size: 2rem;
    }

    .post-content h3 {
        font-size: 1.6rem;
    }

    .post-content ul, .post-content ol {
        margin-bottom: 25px;
        padding-right: 25px;
    }

        .post-content ul li, .post-content ol li {
            margin-bottom: 12px;
            position: relative;
        }

            .post-content ul li::before {
                content: '•';
                color: var(--accent-color);
                font-weight: bold;
                display: inline-block;
                width: 1em;
                margin-right: -1em;
            }

    .post-content blockquote {
        border-right: 4px solid;
        border-image: linear-gradient(to bottom, var(--gradient-start), var(--gradient-end)) 1;
        padding: 20px 25px;
        margin: 30px 0;
        font-style: italic;
        color: var(--text-color);
        background-color: var(--light-gray);
        border-radius: 8px;
        box-shadow: 0 5px 15px var(--shadow-color);
        position: relative;
    }

        .post-content blockquote::before {
            content: '"';
            font-size: 4rem;
            position: absolute;
            top: -10px;
            right: 10px;
            color: rgba(78, 205, 196, 0.2);
            font-family: serif;
        }

/* --- Sidebar --- */
.sidebar {
    margin-top: 50px;
    padding: 25px;
    background-color: var(--light-gray);
    border-radius: 16px;
    box-shadow: 0 10px 30px var(--shadow-color);
    height: fit-content;
    position: relative;
    overflow: hidden;
    animation: fadeInRight 1s ease-out;
}

    .sidebar::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 5px;
        height: 100%;
        background: linear-gradient(to bottom, var(--gradient-start), var(--gradient-end));
    }

.sidebar-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 25px;
    border-bottom: 2px solid;
    border-image: linear-gradient(to right, var(--gradient-start), var(--gradient-end)) 1;
    padding-bottom: 10px;
    display: inline-block;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.recent-posts ul, .categories ul {
    list-style: none;
    padding: 0;
}

    .recent-posts ul li, .categories ul li {
        margin-bottom: 15px;
    }

        .recent-posts ul li a, .categories ul li a {
            color: var(--text-color);
            text-decoration: none;
            transition: color 0.3s ease, padding-right 0.3s ease, transform 0.3s ease;
            display: block;
            padding: 8px 0;
        }

            .recent-posts ul li a:hover, .categories ul li a:hover {
                color: var(--accent-color);
                padding-right: 10px;
                transform: translateY(-2px);
            }

        .categories ul li a {
            display: flex;
            align-items: center;
            gap: 8px;
        }

            .categories ul li a i {
                transition: transform 0.3s ease;
            }

            .categories ul li a:hover i {
                transform: rotate(15deg);
            }

/* --- Recent Posts Widget --- */
.recent-posts-widget {
    margin-bottom: 30px;
}

    .recent-posts-widget ul {
        list-style: none;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }

    .recent-posts-widget li {
        flex: 0 0 calc(50% - 8px);
        margin-bottom: 0;
    }

        .recent-posts-widget li a {
            padding: 0;
        }

.recent-post-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
    width: 100%;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

    .recent-post-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 0;
        background: linear-gradient(to bottom, var(--gradient-start), var(--gradient-end));
        transition: height 0.3s ease;
    }

    .recent-post-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px var(--shadow-color);
    }

        .recent-post-item:hover::before {
            height: 100%;
        }

.recent-post-thumbnail {
    width: 65px;
    height: 65px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.recent-post-item:hover .recent-post-thumbnail {
    transform: scale(1.1);
}

.recent-post-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 12px;
    transition: color 0.3s ease;
}

.recent-post-item:hover .recent-post-title {
    color: var(--accent-color);
}

.recent-post-title-link {
    text-decoration: none;
}

/* --- Comments Section --- */
.comments-section {
    margin-top: 50px;
    position: relative;
    padding-top: 30px;
    animation: fadeIn 1.6s ease-out;
}

    .comments-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(to right, transparent, var(--border-color), transparent);
    }

.comments-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 30px;
    border-bottom: 3px solid;
    border-image: linear-gradient(to right, var(--gradient-start), var(--gradient-end)) 1;
    padding-bottom: 10px;
    display: inline-block;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.comments-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 40px;
}

.comment {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 12px;
    background-color: var(--light-gray);
    box-shadow: 0 8px 20px var(--shadow-color);
    flex: 1 1 calc(50% - 15px);
    min-width: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .comment::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 3px;
        background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
        transition: width 0.3s ease;
    }

    .comment:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px var(--shadow-color);
    }

        .comment:hover::before {
            width: 100%;
        }

.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease;
}

.comment:hover .comment-avatar {
    transform: scale(1.1);
}

.comment-content {
    flex: 1;
}

.comment-author {
    font-weight: 600;
    color: var(--main-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.comment-date {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .comment-date::before {
        content: '\2022'; /* Bullet point */
        font-size: 0.8rem;
    }

.comment-text {
    line-height: 1.7;
}

/* --- Comment Form --- */
.comment-form-container {
    margin-top: 40px;
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 15px 30px var(--shadow-color);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

    .comment-form-container:hover {
        transform: translateY(-5px);
    }

    .comment-form-container::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    }

.comment-form .form-label {
    font-weight: 600;
    color: var(--main-color);
    margin-bottom: 8px;
    display: block;
}

.comment-form .form-control {
    border-radius: 10px;
    border: 2px solid var(--border-color);
    padding: 12px 15px;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1rem;
}

    .comment-form .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.25);
        outline: none;
    }

.comment-form .btn-submit {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: 10px;
}

    .comment-form .btn-submit::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        background: linear-gradient(to right, var(--gradient-end), var(--gradient-start));
        transition: width 0.3s ease;
        z-index: -1;
    }

    .comment-form .btn-submit:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 59, 126, 0.3);
    }

        .comment-form .btn-submit:hover::before {
            width: 100%;
        }

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .post-title {
        font-size: 2rem;
    }

    .post-meta {
        gap: 15px;
        font-size: 0.85rem;
    }

    .comment {
        flex: 1 1 100%;
    }

    .recent-posts-widget li {
        flex: 0 0 100%;
    }

    .main-container {
        padding: 20px;
    }

    .comment-form-container {
        padding: 20px;
    }
}

/**/
/**/


/*===صفحه تماس با ما===*/

/**/
/**/

/* تنظیمات کلی صفحه تماس با ما */
.contact-page-container {
    margin-top: 50px;
    margin-bottom: 50px;
    position: relative;
}

/* --- بخش عنوان صفحه --- */
.contact-title-wrapper {
    position: relative;
    margin-bottom: 60px;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

    .contact-title span {
        color: var(--accent-color);
        position: relative;
    }

        .contact-title span::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
            border-radius: 3px;
        }

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 25px;
}

.contact-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.contact-decoration-line {
    height: 2px;
    width: 80px;
    background: linear-gradient(to right, transparent, var(--primary-color));
}

    .contact-decoration-line:last-child {
        background: linear-gradient(to left, transparent, var(--secondary-color));
    }

.contact-decoration-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    margin: 0 15px;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 59, 126, 0.3);
}

/* --- کارت‌های اطلاعات تماس --- */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
    height: 100%;
}

.contact-info-card {
    background-color: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 59, 126, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    .contact-info-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 5px;
        height: 0;
        background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
        transition: height 0.4s ease;
    }

    .contact-info-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 59, 126, 0.15);
    }

        .contact-info-card:hover::before {
            height: 100%;
        }

.contact-info-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(0, 59, 126, 0.2);
    transition: transform 0.4s ease;
}

.contact-info-card:hover .contact-info-icon-wrapper {
    transform: scale(1.1) rotate(10deg);
}

.contact-info-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.contact-info-card:hover .contact-info-title {
    color: var(--accent-color);
}

.contact-info-text {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.contact-info-data {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 8px;
    direction: ltr;
    text-align: right;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .contact-info-data::before {
        content: '\2022'; /* Bullet point */
        color: var(--accent-color);
        font-size: 1.5rem;
    }

.contact-info-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    margin-top: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    align-self: flex-end;
}

    .contact-info-button:hover {
        color: white;
        border-color: transparent;
        background-color: var(--accent-color);
    }

    .contact-info-button i {
        transition: transform 0.3s ease;
    }

    .contact-info-button:hover i {
        transform: translateX(-5px);
    }

/* --- فرم تماس با ما --- */
.contact-form-wrapper {
    background-color: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 59, 126, 0.1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

    .contact-form-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    }

.contact-form-header {
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

    .contact-form-header::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 80px;
        height: 3px;
        background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
        border-radius: 3px;
    }

.contact-form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.contact-form-subtitle {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* استایل‌های فرم */
.form-label {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 8px;
}

.input-group {
    margin-bottom: 5px;
}

.input-group-text {
    background-color: var(--light-color);
    border-color: var(--border-color);
    color: var(--secondary-color);
}

.form-control, .form-select {
    border: 1px solid var(--border-color);
    border-radius: 0 8px 8px 0;
    padding: 12px;
    transition: all 0.3s ease;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.25);
    }

textarea.form-control {
    min-height: 120px;
}

/* زمان مناسب برای تماس */
.contact-time-preference {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 12px;
    margin-top: 10px;
}

.contact-time-preference-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

    .contact-time-preference-title i {
        color: var(--accent-color);
    }

.contact-time-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin-left: 8px;
    cursor: pointer;
    border: 2px solid var(--border-color);
}

    .form-check-input:checked {
        background-color: var(--accent-color);
        border-color: var(--accent-color);
    }

.form-check-label {
    cursor: pointer;
    font-size: 0.95rem;
}

/* دکمه ارسال */
.contact-submit-btn {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 59, 126, 0.3);
}

    .contact-submit-btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 59, 126, 0.4);
        color: white;
    }

.contact-btn-icon {
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.contact-submit-btn:hover .contact-btn-icon {
    transform: rotate(15deg);
}

/* --- نقشه --- */
.contact-map-wrapper {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 59, 126, 0.1);
    margin-top: 40px;
}

.contact-map-header {
    padding: 20px 30px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.contact-map-title {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-map-container {
    height: 450px;
    width: 100%;
}

    .contact-map-container iframe {
        width: 100%;
        height: 100%;
        border: none;
        display: block;
    }

/* Responsive adjustments */
@media (max-width: 992px) {
    .contact-form-wrapper {
        padding: 30px;
        margin-top: 25px;
    }

    .contact-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 25px;
    }

    .contact-time-options {
        flex-direction: column;
        gap: 10px;
    }

    .contact-title {
        font-size: 2rem;
    }

    .contact-decoration-line {
        width: 50px;
    }
}

/*===صفحه سوالات متداول===*/
/**/
/**/

.faq-header {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 80px 0 120px;
    position: relative;
    overflow: hidden;
    margin-bottom: -60px;
}

    .faq-header::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="white" fill-opacity="0.05" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom center;
        background-size: cover;
    }

    .faq-header h1 {
        color: white;
        font-weight: 700;
        position: relative;
        z-index: 2;
    }

    .faq-header p {
        color: rgba(255, 255, 255, 0.9);
        position: relative;
        z-index: 2;
    }

.faq-container {
    position: relative;
    z-index: 5;
}

.faq-tabs {
    margin-bottom: 30px;
    border-radius: 12px;
    background-color: white;
    box-shadow: 0 5px 20px var(--shadow-color);
    overflow: hidden;
}

    .faq-tabs .nav-link {
        color: var(--text-color);
        border: none;
        padding: 20px 25px;
        border-radius: 0;
        font-weight: 600;
        position: relative;
        transition: all 0.3s ease;
    }

        .faq-tabs .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 3px;
            background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .faq-tabs .nav-link:hover {
            color: var(--secondary-color);
        }

        .faq-tabs .nav-link.active {
            background-color: transparent;
            color: var(--secondary-color);
        }

            .faq-tabs .nav-link.active::after {
                width: 80%;
            }

        .faq-tabs .nav-link .icon {
            margin-left: 10px;
            font-size: 18px;
            opacity: 0.7;
            transition: all 0.3s ease;
        }

        .faq-tabs .nav-link:hover .icon,
        .faq-tabs .nav-link.active .icon {
            opacity: 1;
            transform: translateY(-2px);
        }

.accordion-item {
    border: none;
    background-color: white;
    margin-bottom: 15px;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
}

    .accordion-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px var(--shadow-color);
    }

.accordion-header {
    border-radius: 12px;
}

.accordion-button {
    padding: 20px 25px;
    font-weight: 600;
    color: var(--secondary-color);
    background-color: white;
    border-radius: 12px !important;
    transition: all 0.3s ease;
}

    .accordion-button:not(.collapsed) {
        color: var(--primary-color);
        background-color: white;
        box-shadow: none;
    }

    .accordion-button:focus {
        box-shadow: none;
        border-color: transparent;
    }

    .accordion-button::after {
        background-image: none;
        content: '\f107';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        color: var(--primary-color);
        font-size: 20px;
        transition: all 0.3s ease;
    }

    .accordion-button:not(.collapsed)::after {
        transform: rotate(-180deg);
    }

.accordion-body {
    padding: 5px 25px 25px;
    line-height: 1.8;
}

.faq-category {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
}

    .faq-category i {
        margin-left: 8px;
    }

.faq-footer {
    background-color: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-top: 50px;
    box-shadow: 0 5px 20px var(--shadow-color);
}

    .faq-footer h3 {
        color: var(--secondary-color);
        margin-bottom: 20px;
    }

.contact-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.contact-option {
    flex: 1;
    max-width: 200px;
    padding: 25px 15px;
    border-radius: 12px;
    background-color: var(--light-gray);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
}

    .contact-option:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px var(--shadow-color);
        background-color: var(--primary-color);
        color: white;
    }

    .contact-option i {
        font-size: 30px;
        margin-bottom: 15px;
        color: var(--primary-color);
        transition: all 0.3s ease;
    }

    .contact-option:hover i {
        color: white;
    }

    .contact-option h5 {
        margin-bottom: 5px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .contact-option:hover h5 {
        color: white;
    }

.faq-animation {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

    .faq-animation.active {
        opacity: 1;
        transform: translateY(0);
    }

/* چت آنلاین */
.chat-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .chat-button:hover {
        transform: scale(1.1);
    }

.chat-container {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 350px;
    height: 450px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

    .chat-container.active {
        display: flex;
        flex-direction: column;
        opacity: 1;
        transform: translateY(0);
    }

.chat-header {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .chat-header h5 {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
    }

    .chat-header .close-chat {
        cursor: pointer;
        font-size: 18px;
    }

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.chat-message {
    max-width: 80%;
    padding: 12px 15px;
    border-radius: 15px;
    margin-bottom: 15px;
    position: relative;
    font-size: 14px;
    line-height: 1.5;
}

    .chat-message.bot {
        background-color: var(--light-gray);
        color: var(--text-color);
        align-self: flex-start;
        border-bottom-left-radius: 5px;
    }

    .chat-message.user {
        background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
        color: white;
        align-self: flex-end;
        border-bottom-right-radius: 5px;
    }

.chat-footer {
    padding: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
}

.chat-input {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 10px 15px;
    font-size: 14px;
    outline: none;
}

.chat-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .chat-send:hover {
        transform: scale(1.1);
    }

@media (max-width: 768px) {
    .faq-header {
        padding: 60px 0 100px;
    }

    .contact-options {
        flex-direction: column;
        align-items: center;
    }

    .contact-option {
        width: 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }

    .faq-tabs .nav-link {
        padding: 15px;
        font-size: 14px;
    }
}

/* ریسپانسیو کردن چت در موبایل */
@media (max-width: 576px) {
    .chat-widget {
        right: 20px;
        bottom: 20px;
        left: auto;
    }

    .chat-container {
        width: 300px;
        right: 0;
        left: auto;
        bottom: 70px;
        height: 400px;
        transform-origin: bottom right;
    }

    .chat-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* ریسپانسیو کردن برای صفحات خیلی کوچک */
@media (max-width: 350px) {
    .chat-container {
        width: 280px;
        height: 350px;
    }
}
/**/
/**/

