/*ناوبار*/
/*موبایل*/
/* =========================
   Mobile only visibility
========================= */
.mobile-only {
  display: none;
}

/* =========================
   Mobile Navbar Styles
========================= */
.mnav {
  position: sticky;
  top: 0;
  z-index: 2000;
}

.mnav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 200px;
  padding: 12px 16px;
}

.mnav__logo img {
  height: 50px;
  display: block;
}
.mnav2__logo img {
  height: 50px;
  display: block;
}

.mnav__login {
  font-size: 14px;
  padding: 8px 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  color: #111;
  background: #fff;
  text-decoration: none;
}

.mnav__toggle {
  width: 38px;
  height: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7px 6px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.mnav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #111;
  border-radius: 2px;
}

.mnav__overlay {
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2200;
}

.mnav__sidebar {
  position: fixed;
  top: 0;
  right: -320px;
  width: min(320px, 86vw);
  height: 100vh;
  background: #fff;
  z-index: 2300;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.16);
  transition: right 0.25s ease;
  padding: 14px;
  overflow-y: auto;
}

.mnav__sidebar.is-open {
  right: 0;
}

.mnav__sidebarHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 12px;
}

.mnav__sidebarLogo {
  font-weight: 600;
  color: #111;
  text-decoration: none;
  font-size: 18px;
}

.mnav__close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.mnav__menu {
  display: grid;
  gap: 8px;
}

.mnav__linkk,
.mnav__link,
.mnav__sublink {
  display: block;
  padding: 10px 10px;
  border-radius: 10px;
  color: #111;
  text-decoration: none;
  font-size: 15px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.mnav__link {
  background: rgba(0, 0, 0, 0.03);
}
.mnav__linkk {
  background: #1a4d7c;
  color: #fdef11;
}

.mnav__sublink {
  font-size: 14px;
}

.mnav__accBtn {
  width: 100%;
  text-align: right;
  padding: 10px 10px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.03);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 15px;
  color: #111;
}

.mnav__chev {
  transform: rotate(0deg);
  transition: transform 0.2s ease;
}

.mnav__accBtn[aria-expanded="true"] .mnav__chev {
  transform: rotate(-90deg);
}

.mnav__accPanel {
  padding-right: 6px;
  display: grid;
  gap: 6px;
}

.mnav__accBtn--nested {
  background: rgba(0, 0, 0, 0.02);
}

.mnav__accPanel--nested {
  padding-right: 10px;
}

/* =========================
   Responsive
========================= */
@media (max-width: 992px) {
  .mobile-only {
    display: block !important;
  }

  .main-header {
    display: none !important;
  }
}

@media (min-width: 993px) {
  .mobile-only {
    display: none !important;
  }
}

/*دسکتاپ*/
#sb-site {
  display: flex;

  justify-content: center;

  font-family: "IranSans", "sans-serif";

  font-style: normal;

  min-height: 7rem !important;
}
#header {
  display: flex;

  background-color: #f8fbfc;


  top: 0px;

  left: 0px;

  height: 7rem;

  min-height: 7rem;

  max-height: 7rem;

  width: 100%;

  box-sizing: border-box;
}
.nav-items dropdown ul li {
  border-bottom: 1px solid #e7e2e2;

  padding-bottom: 1rem;
}
.desktop-menu {
  display: flex;
}
.navbar-nav {
  display: flex;

  direction: rtl;

  gap: 5px !important;

  align-items: center;

  font-family: "IranSans";
}
.nav-container {
  padding: 0;

  display: flex;

  align-items: center;

  justify-content: space-between;
}
.nav-items {
  display: flex !important;

  justify-content: left;

  align-items: center;

  font-weight: 1000;

  font-size: 14px;
}
.navbar-nav > li:hover {
  transform: scale(1.05);

  transition: transform 0.2s ease;
}
.dropdown-item {
  font-family: "IRANSans";
  font-size: 1.25rem;
  font-weight: 100;
  margin-bottom: 7px;
  border-bottom: 1px solid #e7e2e2;
  padding-bottom: 1rem;
}
.dropdown-menu > .dropdown-item a:hover {
  background-color: #ffffff !important;
  color: #000 !important;
  transition: background-color 0.5s ease;
}
.dropdown-toggle::after {
  display: inline-block;
  content: " ";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-left: 0.3em solid transparent;
}
.nav > li > p {
  color: #000000;
  font-size: 15px;
  font-weight: 1000;
  font-family: "IranSans";
  margin-bottom: 0%;
  margin-top: 0;
  width: 10rem;
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  width: 12rem;
  z-index: 10000;
  padding: 1rem;
  box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.1);
  text-align: right;
  top: 0;
  border-right: 3px solid #1a4d7c;
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border-radius: 10px;
  background-color: #fff;
}

.dropdown {
  position: relative;
  display: flex !important;
  justify-content: center;
  align-items: center;
}
.dropdown:hover .dropdown-menu {
  display: block;
}
/*دکمه ورود*/
.btn-login button {
  display: flex !important;

  margin-top: -7px;

  width: 160px;

  height: 40px;

  top: 4px;

  display: flex;

  flex-wrap: nowrap;

  justify-content: space-evenly;

  align-items: center;

  margin-top: 12px;

  padding: 16px 30px 15px 30px;

  color: #000000;

  background-color: #f8fbfc;

  border: 3px solid #1a4c7e;

  margin-left: 9px;

  margin-bottom: 18px;

  font-size: 15px;

  border-radius: 4px;

  margin-right: 30px;
}
.btn-login button:hover {
  display: flex !important;

  margin-top: -7px;

  width: 160px;

  height: 40px;

  top: 4px;

  display: flex;

  flex-wrap: nowrap;

  justify-content: space-evenly;

  align-items: center;

  margin-top: 12px;

  padding: 16px 30px 15px 30px;

  color: #fdef11;

  background-color: #1a4c7e;

  border: 0.5px solid #1a4c7e;

  margin-left: 9px;

  margin-bottom: 18px;

  font-size: 15px;

  border-radius: 4px;
}
/*موبایل*/
.mobile-menu {

  top: 0;

  right: -300px;

  width: 300px;

  height: 100%;

  background-color: #fff;

  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);

  transition: right 0.3s ease-in-out;

  z-index: 1000;

  padding: 20px;

  overflow-y: auto;
}
.mobile-menu.open {
  right: 0;
}
.mobile-menu ul {
  list-style: none;

  padding: 0;
}
.mobile-menu ul li {
  margin: 2rem 2rem;

  border-bottom: 1px solid #e7e2e2;

  padding-bottom: 1rem;

  font-family: "IranSans", sans-serif;
}
.mobile-menu ul li a {
  color: #1a4d7c;

  text-decoration: none;

  font-size: 1.7rem;

  display: block;

  transition: color 0.2s ease;
}
.mobile-menu ul li a:hover {
  color: #389cff;
}
.mobile-menu-toggle,
.mobile-menu {
  display: none;
}
/*لوگو دسکتاپ*/
.logo img {
  width: 7rem;

  height: auto;

  display: inline-block;

  margin-right: 0rem;

  background-color: #f8fbfc;
}
.logo {
  text-align: right;

  margin-top: 1rem;

  margin-bottom: 1rem;

  margin-left: 30rem;
}
/*لوگو سایدبار موبایل*/
.mobile-logo {
  padding: 0 0 0 3rem;

  text-align: center;
}
.mobile-logo img {
  width: 15rem;
}
.mobile-logo-pre {
  text-align: center;

  margin-right: 60rem;
}
#mobileLogoPre {
  display: none;

  padding-right: 1rem;
}
#mobileLogoPre img {
  width: 7rem;
}
.sidebar-divider {
  height: 1px;

  width: 100%;

  background-color: #ced2dd;

  margin: 16px 0;
}
.navbar-divider {
  height: 0.25px;

  width: 100%;

  background-color: #ced2dd;

  margin: 1rem;
}
/*دکمه سایدبار*/
.mobile-menu-toggle {
  display: none;

  position: fixed;

  top: 2rem;

  right: 1.5rem;

  z-index: 1001;

  font-size: 16px;

  color: white;

  background-color: #1a4d7c;

  padding: 10px;

  border-radius: 5px;

  cursor: pointer;
}
/*کشویی صندوق ها*/
.mobile-menu .mobile-dropdown-menu {
  display: none;

  padding-left: 2rem;
}
.mobile-menu .mobile-dropdown-menu.show {
  display: block;

  background-color: #cacbcc;

  padding: 1rem;

  margin-top: 2rem;

  border-radius: 1rem;

  display: flex;
}
/*دکمه ورود*/
.mobile-btn-login button {
  display: flex !important;

  margin-top: -7px;

  width: 160px;

  height: 40px;

  top: 4px;

  display: flex;

  flex-wrap: nowrap;

  justify-content: space-evenly;

  align-items: center;

  margin-top: 12px;

  padding: 16px 30px 15px 30px;

  color: #ffffff;

  background-color: #1a4d7c;

  border: 3px solid #fdef11;

  margin-left: 9px;

  margin-bottom: 18px;

  font-size: 15px;

  border-radius: 4px;

  margin-right: px;
}
.mobile-btn-login button:hover {
  display: flex !important;

  margin-top: -7px;

  width: 160px;

  height: 40px;

  top: 4px;

  display: flex;

  flex-wrap: nowrap;

  justify-content: space-evenly;

  align-items: center;

  margin-top: 12px;

  padding: 16px 30px 15px 30px;

  color: #000000;

  background-color: #ffffff;

  border: 1px solid #000000;

  margin-left: 9px;

  margin-bottom: 18px;

  font-size: 15px;

  border-radius: 4px;
}
/*ریسپانسیو ناوبار*/
@media (max-width: 1000px) {
  .mobile-menu-toggle {
    display: block !important;
  }
  .mobile-menu {
    display: block;
  }
  #mobileLogoPre {
    display: block !important;

    visibility: visible !important;

    opacity: 1 !important;


    z-index: 9999;
  }
  #mobileLogoPre img {
    max-width: 100px;

    height: auto;
  }
}
@media (max-width: 1100px) and (min-width: 769px) {
  .logo img {
    width: 8rem;

    height: auto;

    display: inline-block;

    margin-right: 0rem;

    margin-left: 10rem;
  }
}
/* کوچک و موبایل*/
@media (max-width: 768px) {
  .mobile-logo-pre {
    text-align: center;

    margin-right: 30rem;
  }
  #mobileLogoPre {
    display: none;

    padding-right: 1rem;
  }
  #mobileLogoPre img {
    width: 6rem;
  }
}
/*پس زمینه*/
.overlay {
  top: 0;

  right: 0;

  bottom: 0;

  left: 0;

  background-color: rgba(0, 0, 0, 0.5);
  /* خاکستری نیمه‌شفاف */
  z-index: 998;

  display: none;
}
#mobileMenu.open + #mobileOverlay,
.overlay.active {
  display: block;
}
/*footer in style blue file Ln 3533*/
/*footer*/
#footer-widgets {
  display: flex;

  background-color: #1a4d7c;
  color: #f8fbfc;
  margin-top: 30px;

  margin-bottom: 0;

  border-top: solid 1px #ccc;

  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.3);

  color: #ffffff;

  font-size: 1rem;

  font-weight: 100;

  font-family: "IRANSans";

  padding: 40px 0 20px;

  direction: rtl;
}
.footer-widget-title {
  font-family: "IRANsans";
}
.footer-site-map-title {
  font-size: 15px;

  margin-bottom: 10px;
}
footer {
  font-family: "IRANSans";

  width: 100%;

  background-color: #1e1e1e;

  padding-top: 30px;
}
.footer {
  background-color: #1a1f2b;

  color: white;

  padding: 40px 0 0;

  font-family: IRANSans;

  direction: rtl;
}
.footer-widgets .row {
  display: flex;

  flex-wrap: wrap;

  justify-content: space-between;

  gap: 20px;
}
.footer-widgets .col {
  flex: 1;

  min-width: 150px;
}
.footer-widgets h5 {
  margin-bottom: 10px;

  font-size: 20px;

  color: #fff;
}
.footer-widgets li {
  margin-bottom: 6px;

  font-size: 14px;
}
.footer-widgets a {
  color: #ccc;

  text-decoration: none;
}
.footer-widgets a:hover {
  text-decoration: underline;
}
.footer {
  background-color: #1c2431;

  color: white;

  padding: 40px 0 0;

  direction: rtl;

  text-align: right;
}
.footer-widgets .col h5 {
  font-size: 16px;

  font-weight: bold;

  margin-bottom: 15px;
}
.footer-widgets ul {
  list-style: none;

  padding: 0;

  list-style: none;

  padding: 0;

  margin: 0;
}
.footer-widgets ul li {
  margin-bottom: 8px;

  font-size: 14px;

  line-height: 1.8;
}
.footer-widgets ul li a {
  color: white;

  text-decoration: none;

  transition: 0.3s;
}
.footer-widgets ul li a:hover {
  color: #000;

  text-decoration: underline;

  background-color: #1a4d7c;
}
.footer-bottom {
  text-align: center;

  color: #fff;

  font-family: IRANSans;

  padding: 15px 0 10px;

  font-size: 13px;

  background-color: inherit;

  margin-top: 40px;
}
.footer-line {
  background-color: #fdef11;

  height: 2px;

  width: 85%;

  margin: 20px auto 10px;

  border: none;

  text-align: center;

  font-size: 0.9rem;
}
.row {
  padding: 3rem 4rem 2rem 1rem;
}
/*endfooter*/
/*a*/
a {
  text-decoration: none;

  width: auto;
}
/* ==================== General & Variables ==================== */
:root {
  --primary-color: #1a4d7c;

  --text-color: #fdef11;

  --background-color: #f9f9f9;

  --white-color: #fff;

  --white-color-alpha: rgba(255, 255, 255, 0.85);

  --footer-bg: #153757;

  --font-family: "Vazirmatn", sans-serif;

  --header-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-family);
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.7;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
}

/* ==================== Header & Navbar (با هاور جدید) ==================== */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
}
.nav-logo img {
  height: 50px;
}
.nav-menu {
  display: flex;
  gap: 25px;
}

.nav-link {
  font-weight: 600;
  font-size: 16px;
  color: var(--primary-color);
  padding: 10px 8px;
  position: relative;
  background-color: transparent;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--secondary-color);
  transition: width 0.3s ease-in-out;
  text-decoration: none;
}
.nav-link:hover::after {
  width: 100%;
  color: #1a4d7c;
  text-decoration: none;
}
.btn-login {
  background-color: #1a4d7c;
  color: var(--white-color);
  padding: 10px 25px;
  border-radius: 15px;
  font-weight: 400;
  font-size: 15px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-bottom: 1rem;
}
.btn-login:hover {
  background-color: #f1f1f1;
  transform: translateY(-2px);
  border: 0.1px solid #1a4d7c;
  font-weight: 700;
}

/*====== Responsive Styles (Mobile & Tablet) ======*/
@media (max-width: 992px) {
  .nav-menu {
    right: -100%;
    top: var(--header-height);
    flex-direction: column;
    background-color: var(--white-color);
    width: 60%;
    height: 100vh;
    text-align: center;
    transition: 0.3s;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    gap: 0;
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-item {
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
  }
  .nav-item > a {
    padding: 20px 0;
  }
  .dropdown-menu,
  .dropdown-menu-level2 {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    min-width: 100%;
    padding: 10px 30px;
    background-color: #fff;
    display: none;
  }
  .hamburger {
    display: block;
  }
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  .btn-login {
    display: none;
  }
  .nav-item.submenu-open > .dropdown-menu,
  .dropdown-submenu.submenu-open > .dropdown-menu-level2 {
    display: block;
  }
  .dropdown.submenu-open > a > .dropdown-arrow {
    transform: rotate(180deg);
  }
  .dropdown-submenu.submenu-open > a > .dropdown-arrow {
    transform: rotate(90deg);
  }
  .nav-link::after {
    display: none;
    text-decoration: none;
  }
}

@media (max-width: 768px) {
  .banner-content h1 {
    font-size: 36px;
  }
  .banner-content p {
    font-size: 18px;
  }
  .funds-section h2 {
    font-size: 28px;
  }
  .page-title h1 {
    font-size: 28px;
  }
  .form-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 160px;
  padding: 5px 0;
  margin: 2px 0 0;
  font-size: 14px;
  list-style: none;
  background-color: #fff;
  /*backdrop-filter: blur(25px);*/
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border-radius: 10px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}
.nav-item.dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #fff;
  min-width: 220px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-right: 3px solid #1a4d7c;
  padding: 10px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border-radius: 10px;
}

.nav-item.dropdown:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  background-color: #fff;
}

/* استایل لینک‌های داخل دراپ‌داون */
.dropdown-menu li a {
  display: block;
  padding: 3px 15px;
  color: #000;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}

.dropdown-menu li a:hover {
  background-color: #fff;
  color: #000 !important;
  padding-right: 25px;
}
.dropdown-submenu {
  position: relative;
}
.dropdown-menu-level2 {
  position: absolute;
  top: 0;
  right: 100%;
  min-width: 220px;
  box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.1);
  border-right: 3px solid #1a4d7c;
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border-radius: 10px;
  background-color: #fff;
}

.dropdown-submenu:hover > .dropdown-menu-level2 {
  opacity: 1;
  visibility: visible;
}

/* آیکون فلش‌ها */
.dropdown-arrow {
  font-size: 10px;
  margin-right: 5px;
  display: inline-block;
  transition: transform 0.3s;
}

.nav-item.dropdown:hover > .nav-link .dropdown-arrow {
  transform: rotate(180deg);
  text-decoration: none;
}

/* تنظیمات موبایل برای دراپ‌داون‌ها */
@media (max-width: 767px) {
  .dropdown-menu,
  .dropdown-menu-level2 {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background-color: #f9f9f9;
    display: none; /* در موبایل با کلیک یا طبق منطق JS باز شود */
  }

  .nav-item.dropdown.active > .dropdown-menu {
    display: block;
  }
}
/* ==================== Footer ==================== */
.main-footer-section {
  background-color: #1a4d7c;
  color: rgba(255, 255, 255, 0.8);
  padding-top: 60px;
  border-top-right-radius: 25px;
  border-top-left-radius: 25px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}
.footer-column h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-column h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 3px;
  background-color: var(--secondary-color);
}
.footer-column p,
.footer-column li {
  font-size: 15px;
  margin-bottom: 10px;
}
.footer-column a:hover {
  color: var(--secondary-color);
}
.footer-bottom {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.login-button {
  display: flex;

  width: 80px;

  height: 40px;

  padding: 4px 24px;

  justify-content: center;

  align-items: center;

  gap: 10px;

  border-radius: 8px;

  background: var(--color-pallet-blue-main, #2196f3);

  color: white;

  text-align: center;

  font-size: 14px;
  font-weight: 500;
  border: none;
  margin-left: 4rem;
}
.login-button a {
  color: aliceblue;
}
.dropdown-toggle {
  font-family: "IranSans";
  color: black;
  display: flex !important;
  align-items: center;
  gap: 8px;
}
.dropdown a {
  font-weight: 400;
  font-size: 16px;
}
.nav-main {
  padding: 16px 56px !important;
}
.nav-item a {
  text-decoration: none;

  color: var(--black-0, #242424);
}

/*......................................*/

.hamburger {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* لوگو سمت راست */
.nav-logo {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* دکمه ورود دسکتاپ وسط بماند (اگر هست) */

/* موبایل */
@media (max-width: 992px) {
  .navbar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 16px !important;
  }

  .hamburger {
    display: block !important;
    position: relative !important;
    z-index: 1001 !important;
  }

  .nav-logo {
    position: relative !important;
    z-index: 1001 !important;
  }

  /* دکمه ورود بیرون منو در موبایل مخفی (طبق قبل) */
  .btn-login {
    display: none !important;
  }
}

/* overlay جدید */
.nav-overlay {
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 998;
}
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* همبرگر: اگر جای دیگری display:none شده باشد، در موبایل نمایش بده */
@media (max-width: 992px) {
  .hamburger {
    display: block !important;
    cursor: pointer;
    z-index: 1001;
  }
  .hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: #1a4d7c;
    margin: 6px 0;
    transition: 0.25s ease;
    border-radius: 2px;
  }
  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* سایدبار موبایل روی همان nav-menu خودت */
@media (max-width: 992px) {
  .nav-menu {
    position: fixed !important;
    top: 0 !important;
    right: -340px !important;
    width: 320px !important;
    max-width: 85% !important;
    height: 100vh !important;
    background: #fff !important;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 90px 0 24px !important;
    margin: 0 !important;
    overflow-y: auto !important;
    transition: right 0.3s ease !important;
    z-index: 999 !important;
    text-align: right !important;
  }

  .nav-menu.active {
    right: 0 !important;
  }

  .nav-item {
    width: 100% !important;
    border-bottom: 1px solid #f0f0f0 !important;
  }

  /* لینک‌های داخل سایدبار */
  .nav-menu li > a,
  .nav-link {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 18px !important;
    color: #1a4d7c !important;
    font-size: 16px !important;
    text-decoration: none !important;
  }

  /* ورود (btn-login) طبق CSS خودت در موبایل مخفی است؛ اگر خواستی نمایش بدهی این دو خط را حذف کن */
  .btn-login {
    display: none !important;
  }

  /* dropdownها در موبایل از حالت absolute دربیایند */
  .dropdown-menu,
  .dropdown-menu-level2 {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    min-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #f8fbfc !important;
    display: none !important; /* با کلاس submenu-open باز می‌شود */
  }

  /* باز شدن سطح 1 */
  .nav-item.dropdown.submenu-open > .dropdown-menu {
    display: block !important;
  }

  /* باز شدن سطح 2 */
  .dropdown-submenu.submenu-open > .dropdown-menu-level2 {
    display: block !important;
  }

  /* استایل آیتم‌های داخل dropdown در موبایل */
  .dropdown-menu li a,
  .dropdown-menu-level2 li a {
    padding: 14px 18px !important;
    font-size: 14px !important;
    color: #1a4d7c !important;
    border-top: 1px solid #e9eef2 !important;
    background: transparent !important;
  }

  /* تو رفتگی سطح‌ها */
  .dropdown-menu > li > a {
    padding-right: 34px !important;
  }
  .dropdown-menu-level2 > li > a {
    padding-right: 50px !important;
  }

  /* هاور دسکتاپ در موبایل اثر نکند */
  .dropdown:hover .dropdown-menu {
    display: none !important;
  }

  /* فلش‌ها در موبایل با باز شدن بچرخند */
  .nav-item.dropdown.submenu-open > a .dropdown-arrow {
    transform: rotate(180deg);
  }
  .dropdown-submenu.submenu-open > a .dropdown-arrow {
    transform: rotate(90deg);
  }

  /* underline افکت لینک‌ها در موبایل حذف شود (چون در CSSت هست) */
  .nav-link::after {
    display: none !important;
  }
}

/* اگر هدر شما fixed است، حواست باشد content زیرش نرود (اختیاری) */
/* body{ padding-top: 7rem; } */
/* =========================================
   FINAL MOBILE SIDEBAR FIX
   این بخش را آخر فایل CSS قرار بده
   ========================================= */

/* هدر */
.main-header {
  position: relative;
  z-index: 1000;
}

.navbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: relative;
  width: 100%;
}

/* لوگو */
.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 50px;
  width: auto;
  display: block;
}

/* منوی اصلی */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 15px;
}

/* دکمه ورود دسکتاپ */

/* همبرگر */
.hamburger {
  display: none;
  margin: 0;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #1a4d7c;
  margin: 6px 0;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* overlay */
.nav-overlay {
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 998;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* آیتم ورود در موبایل، در دسکتاپ مخفی */
.mobile-login-item {
  display: none !important;
}

.has-bullet > a::before {
  content: "•";
  position: absolute;
  right: 0; /* چون متن فارسی و RTL است */
  color: #000; /* رنگ بولت */
  font-size: 18px;
  line-height: 1;
  padding: 0px 10px;
}
.has-bullet {
  position: relative;
}
