@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 است، این خط ضروری است */
}



.loader2 {
  height: 150px;
  width: 100px;
  border-radius: 55px 55px 10px 10px;
  position: relative;
  background: #f0744f;

  background-image: linear-gradient(
    0deg,
    #f63a99 25%,
    #30dcf6 20%,
    #30dcf6 20%,
    #668c92 50%,
    #85782a 40%,
    #f2d200 50%,
    #f2d200 75%,
    #70ca5c 75%
  );
  background-position: 0px 0px;
  background-size: auto 175px;
  background-repeat: repeat-y;
  animation: colorShift 2s linear infinite;
}
.loader2:before {
  content: "";
  position: absolute;
  left: 10px;
  bottom: 15px;
  width: 15px;
  height: 100px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.5);
}

.loader2:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, 0);
  box-shadow: 0 15px 2px rgba(0, 0, 0, 0.25) inset;
  width: 32px;
  height: 45px;
  background: #534b44;
  border-radius: 0 0 12px 12px;
}

@keyframes colorShift {
  to {
    background-position: 0 175px;
  }
}

  
  
  
  
 

/* دکمه همبرگری */
.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-box2 {
  background-image: url('ax/18183-min.jpg');
  background-size: 180%;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  width: 70%;
  max-width: 100%;
  margin: 12px auto 0 auto; /* وسط‌چینی افقی */
  background-color: rgba(0, 0, 0, 0.9);
  padding: 1rem;
  border-radius: 29px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  opacity: 1;
  color: rgb(255, 255, 255);
  font-size: 1.2rem;
  margin-top:50px;
}

.btn2 {
  font-size: 1.3vw;
  background: transparent;
  border: none;
  padding: 0em 2em;
  color: #ffffff;
  text-transform: uppercase;
  position: relative;
  transition: 0.9s ease;
  cursor: pointer;
}
.btn2:hover {
  color: #ffffff;
  transition-delay: 0.9s;
}
.btn2:hover::before {
  width: 100%;
}
.btn2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 0;
  width: 100%;
  background-color: #ffffff;
  transition: 0.3s ease;
  z-index: -1;
}
.btn2:hover::after {
  height: 130%;
  transition-delay: 0.2s;
  color: rgb(255, 255, 255);
  border-radius: 29px;
  margin-bottom: -5px;
}
.btn2 a {
  text-decoration: none;
  color: white;
}
@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;
 
  }
}
