/* Start custom CSS for html, class: .elementor-element-957f7f9 *//* ========== تنظیمات کلی هدر ========== */
.custom-header {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    width: 100%;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ========== لوگو ========== */
.header-logo {
    flex-shrink: 0;
}

.header-logo img {
    height: 45px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.header-logo a:hover img {
    opacity: 0.85;
}

/* ========== منوی اصلی (دسکتاپ) ========== */
.header-menu .menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-menu .menu-item a {
    display: block;
    padding: 10px 18px;
    color: #1a1a2e;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.header-menu .menu-item a:hover {
    background-color: #f0f4ff;
    color: #0d6efd;
}

/* استایل آیتم فعال (دلخواه - می‌توانید با کلاس active کنترل کنید) */
.header-menu .menu-item.active a {
    background-color: #0d6efd;
    color: #ffffff;
}

/* ========== دکمه منوی موبایل ========== */
.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.menu-icon-bar {
    display: block;
    width: 26px;
    height: 3px;
    background-color: #1a1a2e;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* انیمیشن تبدیل به X */
.mobile-menu-btn.active .menu-icon-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active .menu-icon-bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .menu-icon-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ========== منوی موبایل (اسلاید از راست) ========== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background-color: #ffffff;
    z-index: 999;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-list .menu-item {
    border-bottom: 1px solid #eef1f6;
}

.mobile-menu-list .menu-item:last-child {
    border-bottom: none;
}

.mobile-menu-list .menu-item a {
    display: block;
    padding: 15px 0;
    color: #1a1a2e;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-menu-list .menu-item a:hover {
    color: #0d6efd;
}

/* ========== نمایش/مخفی‌سازی واکنش‌گرا ========== */
.d-none {
    display: none !important;
}

@media (min-width: 768px) {
    .d-md-none {
        display: none !important;
    }
    .d-md-block {
        display: block !important;
    }
}

@media (max-width: 767.98px) {
    .d-md-none {
        display: block !important;
    }
    .d-md-block {
        display: none !important;
    }
}/* End custom CSS */