body{
    font-family: 'Vazirmatn', sans-serif;
    background-image: url(../images/bg.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
    direction: rtl;
    background-attachment: fixed;
}
body[data-bs-theme="dark"] .time {
  color: #a1a1a1 !important;
}
body[data-bs-theme="dark"] .site-title{
  color: var(--bs-primary);

}
body[data-bs-theme="dark"] .date {
  color: #ffffff !important;
}
  .emoji-flag{
    font-family: 'Noto Color Emoji', sans-serif; /* اینجا هم اضافه کن برای مطمئن شدن */
    font-size: large;
  }
  .clock,.clock-container i{
    color:var(--bs-primary);

  }
  .table-responsive table {
    font-size: 0.7vw !important;
}
a,a:link,a:visited{
  color: var(--bs-primary);
}
a:hover{
  color: var(--bs-primary-dark-rgb);
}
.contact-info a,.contact-info a:link,.contact-info a:visited{
  color: var(--bs-primary-dark-rgb);
}
.contact-info a:hover{
  color: var(--bs-primary);  
}
      /* استایل برای نمایش زمان */
.clock-container {
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}

.clock-container i {
  margin-right: 10px;
  font-size: small;
  margin-left: 5px;
}

.time, .date {
  margin: 0;
}

.time {
  font-weight: bold;
}

.date {
  color: #666;
}
  /* تنظیمات برای کانتینر اصلی */
  #parent-container {
    width: 100%;
    height: 100vh; /* صفحه را پر می‌کند */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .last-updated{
    font-size: 12px;
    padding: 10px;
  }
.logo{

max-width: 150px;
margin: auto;
display: block;
}
  .mobile-navbar {
    display: none;
  }
  @media (max-width: 992px) {
    .desktop-navbar {
      display: none;
    }

    .mobile-navbar {
      display: block;
    }



    .mobile-menu {
      list-style: none;
      padding: 0;
      margin: 0;
      text-align: center;
    }

    .mobile-menu li {
      margin: 20px 0;
    }

    body[data-bs-theme="dark"] .mobile-menu a {
      color: white;
      font-size: 20px;
      text-decoration: none;
    }
    .mobile-menu a {
      color: var(--bs-primary);
      font-size: 20px;
      text-decoration: none;
    }

    .mobile-menu-toggle {
      position: absolute;
      top: 20px;
      right: 20px;
      z-index: 1000;
      background: none;
      border: none;
      font-size: 30px;
      color: var(--bs-primary);
    }
     .mobile-menu-toggle-secondary {
      position: fixed!important;
      z-index: 1100!important;
      background: none;
      border: none;
      font-size: 30px;
      color: var(--bs-primary);
      display: block!important;
    }
  }
   body[data-bs-theme="dark"] .mobile-menu-overlay {
      background-color: rgb(33 44 50 / 94%);
  }
    .mobile-menu-overlay {
      position: fixed;
      top: 0;
      right: -100%;
      width: 100%;
      height: 100%;
      background-color: rgb(255 255 255 / 82%);
      transition: right 0.3s ease-in-out;
      z-index: 1000 !important;
      padding-top: 60px;
      backdrop-filter: blur(10px);
    }

.mobileNavbarToggleContainer{
  position: relative;
  min-width: 45px;
  min-height: 40px;
}
    .mobile-menu-overlay.open {
      right: 0;
    }
     .mobile-menu-toggle-secondary {
display: none;
    }
     .post-card {
      transition: box-shadow 0.3s ease;
    }

    .post-card:hover {
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    .card-title {
      font-family: 'Lalezar', cursive;
      font-size: 1.4rem;
    }
    .post-thumbnail{
      border-radius: 2rem 2rem 0 0;
    padding: 20px;
    }
    .thumbnail {
      max-height: 200px;
      object-fit: cover;
      border-radius: 1rem 1rem 0 0;
    }

    .excerpt {
      line-height: 2;
    }
/* استایل کلی دکمه‌ها */
.mobile-menu-btn {
  cursor: pointer;
  background: none;
  border: none;
  font-size: 24px;
  position: absolute;
  top: 4px;
  right: 0;
  z-index: 1051;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* رنگ و استایل دکمه باز کردن منو */
.mobile-menu-btn.open-btn {
  color: var(--bs-primary);
}

/* رنگ و استایل دکمه بستن منو */
.mobile-menu-btn.close-btn {
  color: var(--bs-primary);
  position: fixed!important;
  top: 12px;
  right: 16px;
}

/* انیمیشن مخفی کردن دکمه */
.mobile-menu-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

    @media (max-width: 576px) {
      .card-title {
        font-size: 1.25rem;
      }

      .card-text {
        font-size: 0.95rem;
      }
      .btn-sm {
        font-size: 0.9rem;
        padding: 0.35rem 0.75rem;
      }
    }
  .container-box {
    position: relative;
    width: 90%;
    height: 90vh; /* 90% از ارتفاع صفحه */
    border-radius: 30px;
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    transition: background-color 0.3s, color 0.3s;
    padding: 30px 50px;
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: 90%;
    box-shadow: 0px 0px 20px 0px #16191d;
  }
  .center-btn {
    display: flex;
    justify-content: center;
    margin-top: 15px;
  }
  .btn-primary {
    background-color: var(--bs-primary) !important;
    border-color: rgba(var(--bs-primary-rgb), 0.5);
    color: #fff !important;
  }
  .blog-footer i{
    color: var(--bs-primary);
  }
  .btn-primary:hover {
    background-color: rgba(var(--bs-primary-dark-rgb), 1)!important;
    border-color: var(--bs-primary) !important;
  }
  .footer-social i {
    padding: 0 10px;
    font-size: 1.5rem;
  }
  .bg-primary {
    background-color: rgba(var(--bs-primary-dark-rgb), 1);
  }
  .contact-info{
    font-size: 12px;
    direction: ltr!important;
  }
  .coin-icon{
    width: 23px;
  }
  body {
    overflow: hidden; /* جلوگیری از اسکرول هنگام لود */
  }

  .container-box {
    opacity: 0;
    transition: opacity 0.6s ease;
  }

  .container-box.visible {
    opacity: 1;
  }

body[data-bs-theme="dark"] .card {
    box-shadow: 0px 5px 20px 0px #16191d;
    color: #fff;
    border-radius: 1rem;
    box-shadow: 0px 0px 30px 0px #99999963;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: #212529f2 !important;
}
 .card {
    box-shadow: 0px 5px 20px 0px #16191d;
    border-radius: 1rem;
    box-shadow: 0px 0px 30px 0px #99999963;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: #ffffffe8 !important;
}
.blog-footer ul{
    padding: 0;
    margin: 0;
}
.blog-footer{
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: #ffffffe8 !important;
}
body[data-bs-theme="dark"] .blog-footer {
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: #212529f2 !important;
}
  .price-list{
    height: 70vh;
    overflow: auto;
    width: 100%;
    position: relative;
    overflow: hidden!important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(20px); /* برای سافاری */
    background-color: #ffffffbd ;
  }
  .post-body{
    padding: 0 40px 40px 40px;
  }
    body[data-bs-theme="dark"] .blog-header-navbar {
     background: linear-gradient(44deg, #212529a8, #303438f5);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
      z-index: 99;
      backdrop-filter: blur(10px);
    }
    .blog-header-navbar {
    background: linear-gradient(44deg, #d5d5d5ba, #ffffffdb);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 99;
    backdrop-filter: blur(10px);
    }
    .blog-header-logo {
      width: 40px;
      height: 40px;
      object-fit: contain;
    }
      .blog-header-brand {
      font-weight: bold;
      color: rgb(var(--bs-primary-dark-rgb));
      margin: 0;
    }
.blog-header-actionbar a{
  color: #fff;
}
    .blog-header-link {
      color: rgb(var(--bs-primary-dark-rgb)) ;
      transition: 0.3s;
      border-bottom: 2px solid transparent;
    }

    .blog-header-link:hover {
      color: #1c1c1c ;
      border-bottom: 2px solid rgba(var(--bs-primary-rgb), 1);
    }
    body[data-bs-theme="dark"] .blog-header-brand {
      font-weight: bold;
      color: var(--bs-primary) !important;
      margin: 0;
      font-size:medium;
    }
    body[data-bs-theme="dark"] .blog-header-actionbar{
    background-color: #212529f7;
    backdrop-filter: blur(10px);
}
.blog-header-actionbar {
    background-color: rgb(var(--bs-primary-dark-rgb));
    backdrop-filter: blur(10px);

}
.blog-header-actionbar-left i {
  font-size: 1rem;
  transition: color 0.3s;
    padding: 0 10px!important;
}
@media (max-width: 768px) {
  .blog-header-actionbar-left {
    display: none !important;
  }

  .blog-header-actionbar-right {
    margin: 0 auto;
    justify-content: center !important;
    text-align: center;
  }

  .blog-header-actionbar .container {
    justify-content: center !important;
  }
}

.blog-footer .linkedin i:hover,  a:hover.linkedin{
  color: #0077B5!important;

}
.blog-footer .youtube i:hover,  a:hover.youtube{
  color: #c60404!important;

}
.blog-footer .whatsapp i:hover,  a:hover.whatsapp{
  color: #00db28!important;

}
.blog-footer .telegram i:hover ,  a:hover.telegram{
  color: #1e79a6!important;

}
.blog-footer .facebook i:hover,  a:hover.facebook {
  color: #1877F2!important;

}
    body[data-bs-theme="dark"] .blog-header-link {
      color: #dcdcdc !important;
      transition: 0.3s;
      border-bottom: 2px solid transparent;
    }

    body[data-bs-theme="dark"] .blog-header-link:hover {
      color: #ffffff !important;
      border-bottom: 2px solid rgba(var(--bs-primary-rgb), 1);
    }

  .ltr{
    direction: ltr!important;
  }
  .rtl{
    direction: rtl!important;
  }
  .site-title{
    font-family: "Noto Nastaliq Urdu", Vazirmatn;
    font-style: normal;
    color: rgb(var(--bs-primary-dark-rgb));

  }
  .site-description{
    font-weight: 300;
    font-size: 15px;
  }  @media (max-width: 992px) {
    .clock-container {
      font-size: 1.5vw;
    }
    .table-responsive table {
      font-size: 1.2vw !important;
  }
    .container-box {
      position: relative;
      width: 90%;
      height: auto;
      background-color: var(--bs-body-bg);
      color: var(--bs-body-color);
      transition: background-color 0.3s, color 0.3s;
      padding: 10px;
      margin: 20px auto;
      background-size: 100%;
      background-position: center 1%;
      background-repeat: no-repeat !important;
    }

  #parent-container {
    width: 100%;
    height: auto;
    position: relative;
    display: block!important;
    margin: auto;
}
.price-list {
  height: inherit;
  overflow: visible;
  margin: 40px;
  } 
  .img-container{
height: 350px;
text-align: center;
  }
 }
 @media (max-width: 768px) {
  .clock-container {
    font-size: 2vw;
  }
  .table-responsive table,.modal-body table {
    font-size: 2vw !important;
}
  .price-list {
    height: inherit;
    overflow: visible;
    margin: 20px;
    }
    .container-box {
      margin: 20px auto;
      background-size: 80%;
      background-position: center 22%;
      background-repeat: no-repeat !important;
  }
 }
  @media (max-width: 550px) {
    .clock-container {
      font-size: 2.3vw;
    }
    .table-responsive table {
      font-size: 1.9vw !important;
  }
  .modal-body table{
    font-size: 2.1vw !important;
  }
    .site-description{
      font-weight: 400;
      font-size: 13px;
    }
    .site-title{
      margin-top: 25px!important;
    }
    .img-container {
      height: 310px;
  }
  .price-list {
    height: inherit;
    overflow: visible;
    margin: 20px;
    }
    .container-box {
      background-size: 80%;
      background-position: center 14%;
  }
 }
/* Generic Scrollbar Styles using CSS custom properties */
:root{
  --scrollbar-thumb-color: rgb(var(--bs-primary-dark-rgb));
  --scrollbar-thumb-hover: var(--bs-primary);
}
[data-bs-theme="dark"] {
  --scrollbar-track-color: #191d21;
  --scrollbar-thumb-color: rgb(var(--bs-primary-dark-rgb));
  --scrollbar-thumb-hover: var(--bs-primary);
}

body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-track {
  background: var(--scrollbar-track-color);
}
body::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-thumb-color);
  border-radius: 6px;
}
body::-webkit-scrollbar-thumb:hover {
  background-color: var(--scrollbar-thumb-hover);
}

/* Firefox support */
body,html {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb-color) var(--scrollbar-track-color);
}