
@font-face {
    font-family: 'base';
    src: url('font/Shabnam-Light-FD.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
  }
  body {
    font-family: 'base', sans-serif;
    background-image: url('ax/27222b.jpg'); /* مسیر عکس */
    background-size: cover; /* کشیدن عکس در کل صفحه */
    background-position: center; /* قرارگیری در مرکز */
    background-repeat: no-repeat; /* جلوگیری از تکرار */
    background-attachment: fixed; /* ثابت نگه داشتن تصویر هنگام اسکرول */
  }
  @font-face {
    font-family: 'DigiAlmas';
    src: url('font/DigiAlmasBold.woff2') format('woff2');
    font-weight: bold; /* چون فونت Bold است */
    font-style: normal;
  }
  .digi-font {
    font-family: 'DigiAlmas', sans-serif;
    font-weight: bold; /* اگر فونت Bold است، این خط ضروری است */
  }
  /* دکمه همبرگری */
.nav_bar {
    background-color: rgb(194, 192, 192);
    position: fixed;
    top: 20px;
    left: 20px;
    transition: 0.4s;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 15px 15px;
    border-radius: 55px;
    z-index: 1000;
    cursor: pointer;
  }
  
  /* خطوط همبرگری */
  .bar1, .bar2, .bar3_h, .bar4 {
    background-color: rgb(0, 0, 0);
    width: 10px;
    height: 3px;
    transition: 0.4s;
  }
  
  .bar1 {
    margin-bottom: 15px;
  }
  .bar2 {
    position: absolute;
  }
  .bar4 {
    margin-top: 15px;
  }
  
  /* تغییر شکل هنگام هاور */
  .nav_bar:hover {
    border-radius: 50px;
  }
  .nav_bar:hover .bar3_h {
    transform: rotate(-45deg);
  }
  .nav_bar:hover .bar2 {
    transform: rotate(45deg);
  }
  .nav_bar:hover .bar1, 
  .nav_bar:hover .bar4 {
    opacity: 0;
    width: 30px;
  }
  
  /* تغییر شکل هنگام فعال شدن */
  .nav_bar.active .bar1 {
    opacity: 0;
  }
  .nav_bar.active .bar2 {
    transform: rotate(45deg);
  }
  .nav_bar.active .bar3_h {
    transform: rotate(-45deg);
  }
  .nav_bar.active .bar4 {
    opacity: 0;
  }
  .nav_bar {
    display: none;
  }
  /* نمایش دکمه در رزولوشن کمتر از 1022px */
  @media (max-width: 1022px) {
    .nav_bar {
        display: flex;
    }
  }
  /* مخفی کردن دکمه همبرگری */
  .nav_bar.hidden {
    display: none;
  }
  /* منوی کناری */
.side-menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3); /* شفافیت بیشتر */
    color: rgb(0, 0, 0);
    padding: 20px;
    transition: 0.3s;
    z-index: 999;
    backdrop-filter: blur(15px) saturate(180%); /* تاری و شفافیت بیشتر */
    -webkit-backdrop-filter: blur(15px) saturate(180%); /* برای پشتیبانی در مرورگرهای Webkit */
    border-right: 1px solid rgba(255, 255, 255, 0.3); /* حاشیه شفاف برای زیبایی */
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.2); /* سایه زیباتر */
    overflow-y: auto; /* فعال‌سازی اسکرول فقط برای منو */
  }
  /* منو در حالت فعال */
  .side-menu.active {
    left: 0;
  }
/* دکمه بستن منو */
.close-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgb(255, 253, 253);
    color: rgb(255, 0, 0)!important;
    border: black;
    width: 50px;
    height: 50px;
    font-size: 18px;
    border-radius: 50%;
    cursor: pointer;
   margin: 10px;
   font-size: 20px;
  }
  .text-menu {
    display: flex;
    flex-direction: column; /* لینک‌ها را به صورت عمودی (زیر هم) قرار می‌دهد */
    margin-top: 80px;
    gap: 30px; /* فاصله بین لینک‌ها */
    text-align: center;
  }
  .text-menu a {
    text-decoration: none; /* حذف زیرخط لینک‌ها */
    color: rgb(0, 0, 0) !important; /* رنگ متن لینک‌ها */
    font-size: 22px; /* اندازه فونت */
    padding: 10px 15px; /* فاصله داخلی */
    display: block; /* کل ناحیه کلیک شود */
    transition: all 0.1s ease-in-out; /* انیمیشن تغییر رنگ */
    background-color: transparent; /* پس‌زمینه شفاف */
  }
  /* تغییر رنگ هنگام هاور (موس روی لینک برود) */
  .text-menu a:hover,
  .text-menu a:focus {
    color: rgb(0, 0, 0) !important; /* تغییر به زرد */
    background-color: rgba(255, 255, 255,1); /* تغییر پس‌زمینه */
    border-radius: 20px;
  }
  /* تغییر رنگ هنگام کلیک */
  .text-menu a:active {
    color: rgb(0, 0, 0) !important; /* نارنجی */
    background-color: rgba(255, 255, 255,);
    border-radius: 5px;
  }
  .help-text h1 {
    /* اندازه دلخواه فونت */
     font-weight: bold; /* ضخامت دلخواه فونت */
     background-image: url('ax/bg.jpg'); /* مسیر به عکس */
     background-size: cover; /* پوشش کامل پس‌زمینه */
     background-position: center; /* تنظیم موقعیت پس‌زمینه */
     -webkit-background-clip: text; /* برای مرورگرهای Webkit (Chrome, Safari) */
     background-clip: text; /* برای مرورگرهای دیگر */
     color: transparent;
 }
 .fixed-box {
    background-image: url('ax/18183-min.jpg');
    background-size: 180%; /* باعث می‌شود تصویر تمام بخش را بپوشاند */
background-position: center; /* تصویر را وسط قرار می‌دهد */
background-repeat: no-repeat; /* از تکرار تصویر جلوگیری می‌کند */
    position: fixed;
    top: -200px; /* کادر خارج از صفحه قرار می‌گیرد */
    left: 0;
    width: 70%;
    z-index: 50;
    transition: top 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 29px;
    display: -ms-flexbox;
    justify-content: space-evenly;
    align-items: center;
    opacity: 1;
    margin-top: 12px;
    color: rgb(255, 255, 255);
    left: 50%; /* فاصله از سمت چپ صفحه */
    transform: translateX(-50%);
    font-size: 1.2rem;
}
/* پس از رسیدن به سکشن دوم کادر ثابت می‌شود */
.show-fixed {
    top: 0; /* کادر به بالای صفحه می‌چسبد */
}
section {
    padding-top: 50px; /* فاصله برای سکشن‌ها */
}
.btn {
    font-size: 1.3vw;
    background: transparent;
    border: none;
    padding: 0em 2em;
    color: #ffffff;
    text-transform: uppercase;
    position: relative;
    transition: 0.9s ease;
    cursor: pointer;
}
.btn:hover {
    color: #ffffff;
    transition-delay: 0.9s;
}
.btn:hover::before {
    width: 100%;
}
.btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 0;
    width: 100%;
    background-color: #ffffff;
    transition: 0.3s ease;
    z-index: -1;
}
.btn:hover::after {
    height: 130%;
    transition-delay: 0.2s;
    color: rgb(0, 0, 0);
    border-radius: 29px;
    margin-bottom: -5px;
}
.btn a {
    text-decoration: none;
    color: inherit;
}
@media (max-width:639px) {
    .footer2 {
      margin-bottom: 30px;
      margin-top: 30px;
      font-size: 0.8rem;
    }
  }
  @media (max-height:376px) {
    .footer2 {
      padding-top: 50px;
      margin-bottom: 10px;
      margin-top: -50px;
      font-size: 1rem;
   
    }
  }
  