@charset "UTF-8";@font-face { font-family: IRANYekanX; font-style: normal; font-weight: 500; src: url('../fonts/IRANSansWeb.woff') format('woff') ;}@font-face { font-family: IRANYekanX; font-style: normal; font-weight: 800; src: url('../fonts/IRANSansWeb_Bold.woff') format('woff') ;}body { direction: rtl; font-family: IRANYekanX, sans-serif; margin: 0; padding: 0;}.main-header { background: linear-gradient(to bottom, #4b246b, #381f4b); padding-top: 90px; position: fixed; top: 0; right: 0; left: 0; z-index: 1000;}.header-logo-wrapper { position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 10; background: linear-gradient(135deg, #8e44ad, #e0c5fb); padding: 4px; border-radius: 0 0 100px 100px; display: flex; justify-content: center; align-items: center;}.header-logo-wrapper > .header-logo { background: linear-gradient(to bottom, #f9f3ff, #e6abff); border-radius: 0 0 90px 90px; padding: 20px 60px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);}.header-logo { display: flex; justify-content: center; align-items: center;}.header-logo img { height: 80px; object-fit: contain; display: block;}.header-nav .nav-link { color: white; text-decoration: none; font-weight: 500; transition: color 0.3s;}.header-nav .nav-link:hover { color: #f5d8fb;}.header-contact { color: white;}/* ریسپانسیو */@media (max-width: 992px) { .header-nav, .header-contact { display: none !important; } .main-header { padding-top: 130px; text-align: center; }}.btn-custom { border: none; border-radius: 8px; padding: 8px 18px; font-weight: bold; display: flex; align-items: center; gap: 8px; transition: background-color 0.3s ease; background-color: #1e1532; color: #fff; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);}.btn-custom:hover { background-color: #3a2d64; /* کمی روشن‌تر */ color: #fff;}.align-icon { font-size: 0.8em; position: relative; top: 2px; /* یا بیشتر اگه خواستی پایین‌تر بره */}.nav-link { position: relative;}.nav-link::after { content: ""; position: absolute; width: 0%; height: 2px; bottom: -5px; right: 0; background-color: #fff; transition: width 0.3s ease;}.nav-link:hover::after { width: 100%;}.nav-link i { transition: transform 0.3s ease;}.nav-link:hover i { transform: rotate(180deg);}.dropdown-item { font-weight: 500; font-size: 15px;}.dropdown-menu { border-radius: 10px; box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); min-width: 220px;}.mega-menu-container { position: absolute; top: 100%; right: 0; width: 80vw; /* ⬅️ از 100% به 70% تغییر دادیم */ background-color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); display: none; z-index: 999; font-family: IRANYekanX, sans-serif;}.mega-menu-inner { display: flex; direction: rtl;}/* دسته‌های اصلی سمت راست */.mega-menu-categories { width: 250px; border-left: 1px solid #eee; background-color: #7c7c7c;}.mega-menu-categories li { padding: 16px 20px; /* افزایش padding عمودی */ gap: 30px; font-size: 14px; font-weight: 500; color: #444; cursor: pointer; border-bottom: 1px solid #eee; display: flex; align-items: center; transition: background 0.2s; text-align: right; /* اطمینان از راست‌چین بودن */ direction: rtl; justify-content: space-between; /* متن چپ، آیکون راست */ flex-direction: row; /* ✅ آیکون بعد از متن */}.mega-menu-categories li:hover,.mega-menu-categories li.active { background-color: #f2e6ff; color: #4b246b; font-weight: bold; border-right: 3px solid #4b246b;}.mega-menu-categories li a { color: white; text-decoration: none; font-weight: 600; margin: 5px;}.mega-menu-categories li:hover,.mega-menu-categories li.active a { color: black;}.mega-menu-categories li i { font-size: 13px; opacity: 0.6; margin-left: 8px; /* فاصله بین آیکون و متن */ margin-right: 0; color: white;}.mega-menu-categories li:hover,.mega-menu-categories li.active i { color: black;}/* محتوای وسط تب‌ها */.mega-menu-content { flex: 1; padding: 20px 40px; display: none; background: #fff;}.mega-menu-content.active { display: block;}.mega-menu-content ul { margin: 0; padding: 0; list-style: none;}.mega-menu-content ul li { font-size: 13.5px; color: #444; position: relative; padding: 3px 20px 3px 10px;}.mega-menu-content ul li::before { content: none; width: 6px; height: 6px; background: #bbb; border-radius: 50%; position: absolute; right: 5px; top: 10px;}/* نمایش منو با هاور روی آیتم مادر */.nav-item.dropdown-mega:hover .mega-menu-container { display: block;}.mega-menu-content.auto-columns .column-wrapper { display: flex; flex-direction: row-reverse; gap: 10px;}.column-wrapper { display: flex; flex-direction: row-reverse; gap: 16px; /* ✅ مقدار کم‌شده */}.mega-menu-content.auto-columns .column { flex: 1; min-width: 200px;}.mega-menu-content ul li a { display: block; color: #2b2b2b; font-size: 14px; font-weight: 550; padding: 0 0 10px 10px; text-decoration: none; position: relative; transition: color 0.3s;}.mega-menu-content ul li a::before { content: none; position: absolute; right: 5px; top: 10px; width: 6px; height: 6px; background: #bbb; border-radius: 50%;}.mega-menu-content ul li a:hover { color: #6f42c1;}.category-title { display: block; font-size: 15px; font-weight: bold; color: #4b246b; border-right: 2px solid #4b246b; padding: 10px 10px 5px 0; margin: 5px; text-decoration: none; transition: color 0.3s ease;}.category-title:hover { color: #6f42c1;}.mobile-menu { position: fixed; right: -100%; top: 0; width: 80vw; /* بیشتر از قبل */ max-width: 360px; height: 100%; background: #fff; color: #222; padding: 20px 0; z-index: 1001; transition: right 0.3s ease; overflow-y: auto; box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);}.mobile-menu ul { list-style: none; padding: 0; margin: 16px 0 0 0;}.mobile-menu ul li { background-color: #f9f9f9; margin: 6px 12px; padding: 12px 16px; border-radius: 8px; position: relative; font-size: 16px; font-weight: 500; text-align: right; cursor: pointer; transition: background 0.2s;}.mobile-menu ul li:hover { background-color: #f1f1f1;}.mobile-menu ul li a { text-decoration: none; color: #222; display: block; width: 100%;}/* آیکون + */.mobile-menu ul li.has-submenu > a::after { content: "+"; position: absolute; left: 20px; top: 50%; transform: translateY(-50%); font-size: 20px; color: #666; font-weight: bold;}.mobile-menu ul li.open > a::after { content: "−";}/* زیرمنوها */.mobile-menu ul ul.submenu { display: none; background-color: #fff; padding-right: 12px; margin-top: 6px;}.mobile-menu ul li.open > ul.submenu { display: block;}.mobile-menu ul ul.submenu li { background-color: #ffffff; margin: 4px 0; border: 1px solid #eee; border-radius: 6px; padding: 10px 14px; font-size: 15px;}.mobile-menu-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid #eee; margin-bottom: 8px;}.menu-title { font-size: 17px; font-weight: bold; color: #333;}.mobile-menu-close { background: none; border: none; color: #444; font-size: 22px; cursor: pointer;}.mobile-menu-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: 1000; display: none;}.mobile-menu.show { right: 0;}.mobile-menu-overlay.show { display: block;}.mobile-phone-btn { position: absolute; top: 50%; left: 16px; transform: translateY(-50%); background-color: white; color: #4b246b; border: none; width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); display: flex; align-items: center; justify-content: center; font-size: 18px; z-index: 1001; transition: all 0.3s ease;}.mobile-phone-btn:hover { background-color: #f1e6fc; transform: translateY(-50%) scale(1.05);}.modern-menu-btn { position: absolute; top: 50%; right: 16px; transform: translateY(-50%); background-color: white; color: #4b246b; border: none; width: 42px; height: 42px; border-radius: 50%; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); display: flex; align-items: center; justify-content: center; font-size: 20px; z-index: 1001; transition: all 0.3s ease;}.modern-menu-btn:hover { background-color: #f1e6fc; transform: translateY(-50%) scale(1.05);}.mobile-menu-search { padding: 8px 16px 0 16px; margin-bottom: 2px;}.search-wrapper { position: relative; display: flex; align-items: center;}.search-wrapper input { width: 100%; padding: 10px 40px 10px 12px; /* فضای آیکون سمت راست */ border-radius: 8px; border: 1px solid #ccc; font-size: 14px; font-family: inherit;}.search-wrapper .search-btn { position: absolute; right: 10px; background: none; border: none; color: #4b246b; font-size: 16px; cursor: pointer; padding: 0; display: flex; align-items: center;}.mobile-social-share { margin: 24px 16px 8px 16px; padding-top: 16px; border-top: 1px solid #eee; text-align: center;}.mobile-social-share span { display: block; font-size: 18px; font-weight: bold; color: #444; margin-bottom: 12px;}.social-icons { display: flex; justify-content: center; gap: 16px;}.social-icons a { color: #4b246b; font-size: 25px; transition: color 0.2s ease;}.social-icons a:hover { color: #6f42c1;}.submenu-header { display: flex; justify-content: space-between; align-items: center;}.submenu-header a { color: #222; text-decoration: none; font-size: 16px; font-weight: 500; flex: 1;}.submenu-toggle { background: none; border: none; font-size: 16px; color: #666; cursor: pointer; padding: 4px; margin-right: 8px; display: flex; align-items: center;}.header-social-inline { display: flex; align-items: center; gap: 12px; margin: 0 12px;}.header-social-inline a { color: #fff; font-size: 16px; background: #1e1532; /* مثل btn-custom */ width: 34px; height: 34px; border-radius: 50%; /* مشابه دکمه‌ها */ display: flex; align-items: center; justify-content: center; transition: background 0.2s ease, color 0.2s ease; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* مثل دکمه‌ها */ text-decoration: none;}.header-social-inline a:hover { background: #3a2d64; /* مثل hover دکمه‌ها */ color: #fff;}::-webkit-scrollbar { width: 10px;}::-webkit-scrollbar-track { background: #f4f0fa; border-radius: 10px;}::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #b388ff, #7c4dff); border-radius: 10px; border: 2px solid #f4f0fa;}::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #a266ff, #6200ea);}/* main */main { padding-top: 48px; /* بسته به ارتفاع هدرت تنظیم کن */}@media (max-width: 992px) { main { padding-top: 48px; }}.carousel-item { height: 600px; overflow: hidden;}.carousel-item img { height: 100%; width: auto;}@media (max-width: 992px) { .carousel-item { height: auto; overflow: hidden; }}.carousel-control-prev,.carousel-control-next { position: absolute; bottom: 16px; top: auto; width: auto; height: auto; background: #1e1532; color: #fff; border: none; padding: 8px 14px; font-size: 18px; border-radius: 8px; opacity: 0.9; transition: all 0.2s ease; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);}.carousel-control-prev:hover,.carousel-control-next:hover { background: #3a2d64; opacity: 1;}.carousel-control-prev { right: 60px; left: auto;}.carousel-control-next { right: 16px; left: auto;}.category-card { width: 200px; height: 160px; display: flex; flex-direction: column; justify-content: center; align-items: center; border-radius: 18px; background: linear-gradient(145deg, #feecff, #c5b3cf); /* طیف بنفش خیلی ملایم */ box-shadow: 0 4px 10px rgba(128, 90, 213, 0.15); transition: all 0.3s ease; cursor: pointer; margin-left: 20px; margin-top: 10px;}.category-card:hover { background: linear-gradient(145deg, #fad8fb, #bd9ccf); /* کمی تیره‌تر در حالت hover */ transform: translateY(-5px); box-shadow: 0 10px 20px rgba(128, 90, 213, 0.25);}.category-card img { height: 48px; margin-bottom: 10px; margin-top: 20px;}.category-card a { color: #3a2d64; font-size: 18px; font-weight: 800; text-decoration: none; margin: 30px 15px 15px;}.category-card:hover { transform: translateY(-4px); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);}.flex-row { flex-direction: row-reverse;}.category-divider { border: none; height: 2px; background: linear-gradient(145deg, #f300ff, #26003a); margin-top: 0.5rem; margin-bottom: 2rem;}.section-title { display: inline-block; padding-bottom: 6px; margin-bottom: 1rem; font-weight: 700; font-size: 22px; border-bottom: 1px solid #eee;}.modern-table { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(123, 76, 187, 0.08); font-size: 14px;}.thead-purple th { background: linear-gradient(to left, #9d6ddf, #7b4cbb); color: white; font-weight: 600; border: none;}.modern-table tbody tr:hover { background-color: #f3eaff; transition: background-color 0.3s ease;}.modern-table td { vertical-align: middle; padding: 0.75rem; color: #333;}.nav-tabs .nav-link.active { background-color: #7b4cbb; color: #fff; border-color: #7b4cbb #7b4cbb #fff;}.nav-tabs .nav-link { color: #555; border-radius: 8px 8px 0 0;}table td a { text-decoration: none; font-size: 15px; font-weight: 800; color: #1e1532;}.table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;}.table-responsive table { min-width: 600px; border-collapse: collapse;}.text-purple { color: #7b4cbb;}.about-section { background: linear-gradient(to left, #f9f2ff, #ffffff); border-radius: 20px; padding: 3rem;}.about-section h2 { font-size: 1.75rem; line-height: 1.6;}.about-text { font-size: 16px; text-align: justify; font-weight: 500; line-height: 2; padding: 2rem; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);}.about-img { border-radius: 12px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07); transition: transform 0.3s ease;}.about-img:hover { transform: scale(1.015);}.blog-card { background: #fff; border-radius: 12px; transition: 0.3s ease; overflow: hidden; border: 1px solid #eee;}.blog-card:hover { box-shadow: 0 10px 30px rgba(123, 76, 187, 0.15); transform: translateY(-4px);}.blog-img { overflow: hidden;}.modal-content { transition: all 0.3s ease-in-out; border-radius: 1.5rem;}.modal-header { border-bottom: none; padding: 1rem 1.5rem;}.modal-body { padding: 1.5rem;}.modal-footer { border-top: none; padding: 1rem 1.5rem;}.form-control:focus { box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);}@media (max-width: 576px) { .modal-dialog { margin: 1rem; }}.blog-img img { transition: transform 0.3s ease; border-radius: 12px 12px 0 0; width: 100%; height: auto;}.blog-card:hover img { transform: scale(1.05);}.date-badge { position: absolute; top: 12px; right: 12px; background: #7b4cbb; color: #fff; font-size: 13px; padding: 4px 10px; border-radius: 8px;}.text-purple { color: #7b4cbb;}.text-purple:hover { text-decoration: underline;}/* footer */.bg-purple { background-color: #7b4cbb; color: #fff;}.btn-purple { background-color: #7b4cbb; color: white;}.btn-purple:hover { background-color: #e9d8fd;}.text-a-footer { text-decoration: none; font-size: 19px; font-weight: 900; color: #ffffff;}.footer-social-inline { display: flex; align-items: center; gap: 12px; margin: 0 12px; text-align: center;}.footer-social-inline a { color: #fff; font-size: 16px; background: #5f3eaa; /* مثل btn-custom */ width: 34px; height: 34px; border-radius: 50%; /* مشابه دکمه‌ها */ display: flex; align-items: center; justify-content: center; transition: background 0.2s ease, color 0.2s ease; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); text-decoration: none;}.footer-social-inline i { color: #fff; font-size: 16px; background: #5f3eaa; /* مثل btn-custom */ width: 34px; height: 34px; border-radius: 50%; /* مشابه دکمه‌ها */ display: flex; align-items: center; justify-content: center; transition: background 0.2s ease, color 0.2s ease; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); text-decoration: none;}.text-m-footer { font-size: 18px; font-weight: 550; text-align: justify !important; line-height: 2;}.whatsapp-fab { position: fixed; bottom: 30px; right: 30px; z-index: 999;}.fab-toggle { background-color: #25d366; color: white; border: none; border-radius: 50%; width: 56px; height: 56px; font-size: 24px; cursor: pointer; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); transition: background-color 0.3s ease;}.fab-menu { position: absolute; bottom: 70px; right: 0; /* ✅ اصلاح شده */ background: #fff; border-radius: 12px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); padding: 10px 0; width: 220px; display: none; flex-direction: column; gap: 10px;}.fab-menu a { text-decoration: none; color: #333; font-size: 14px; padding: 8px 16px; display: flex; align-items: center; transition: background 0.2s;}.fab-menu a:hover { background-color: #f5f5f5;}.fab-menu i { margin-left: 10px; font-size: 16px;}.fab-toggle.open { background-color: #e53935;}.category-divider { border: none; height: 2px; background: linear-gradient(145deg, #f300ff, #26003a); margin-top: 0.5rem; margin-bottom: 2rem;}.bg-light{ background: linear-gradient(to bottom, #4b246b, #381f4b)!important;}
