@font-face {
  font-family: IranNastaliq;
  src: url('../../ln_files/font/IranNastaliq.v2.ttf');
}

@font-face {
  font-family: Vazir;
  src: url('../../ln_files/font/Vazirmatn-Bold.woff2');
}

* {
  font-family: Vazir;
}

body {
  font-family: Vazir, sans-serif !important;
  background-color: #f7f9fc;
  direction: rtl;
}

.preloader-main {
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 99999;
  background-color: #fff;
  /* اضافه کردن پس‌زمینه */
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.preloader-main.loaded {
  opacity: 0;
  visibility: hidden;
}

.preloader-main .preloader-wapper {
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.preloader-main .loader-section {
  position: fixed;
  top: 0;
  height: 100%;
  width: calc(50% + 1px);
  background-color: #fff;
}

.preloader-main .loaded .section-right {
  transform: translateX(101%);
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1) 0.2s;
}

.preloader-main .loaded .section-left {
  transform: translateX(-101%);
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1) 0.2s;
}

.preloader-main .preloader {
  position: relative;
  display: block;
  height: 80px;
  width: 170px;
  top: -40px;
  z-index: 99;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 100;
}

.preloader-text {
  color: #002f71ff;
  font-family: IranNastaliq, sans-serif;
  font-size: 1.2rem;
  margin-top: -14px;
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.preloader-main .loaded .preloader-text {
  opacity: 0;
}

.preloader-main .loaded .section-right {
  -webkit-transform: translateX(101%);
  transform: translateX(101%);
  -webkit-transition: 0.7s 0.3s all cubic-bezier(0.1, 0.1, 0.1, 1);
  transition: 0.7s 0.3s all cubic-bezier(0.1, 0.1, 0.1, 1);
}

.preloader-main .loaded .section-left {
  -webkit-transform: translateX(-101%);
  transform: translateX(-101%);
  -webkit-transition: 0.7s 0.3s all cubic-bezier(0.1, 0.1, 0.1, 1);
  transition: 0.7s 0.3s all cubic-bezier(0.1, 0.1, 0.1, 1);
}

.preloader-main .loaded .preloader {
  -webkit-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
  visibility: hidden;
  opacity: 0;
}

.preloader-main circle.dot:nth-of-type(1) {
  -webkit-animation: slide 2s ease infinite;
  animation: slide 2s ease infinite;
}

.preloader-main circle.dot:nth-of-type(2) {
  -webkit-transform: translateX(55px);
  transform: translateX(55px);
  -webkit-animation: slide 2s ease infinite;
  animation: slide 2s ease infinite;
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}

@-webkit-keyframes slide {
  0%,
  100% {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }

  50% {
    -webkit-transform: translateX(70px);
    transform: translateX(70px);
  }
}

@keyframes slide {
  0%,
  100% {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }

  50% {
    -webkit-transform: translateX(70px);
    transform: translateX(70px);
  }
}

.hero-section {
  overflow-y: auto;
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: url('../../ln_files/img/bg-2.png');
  background-size: cover;
  background-position: center;
}

.navbar-custom {
  background: rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(4px);
  height: 80px;
  box-shadow: 0px 12px 48px -8px rgba(0, 0, 0, 0.36);
}
.logo-hover:hover {
  animation: shake 0.5s ease;
}

@keyframes shake {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(2deg);
  }
  75% {
    transform: rotate(-2deg);
  }
}

.logo-hover:hover {
  border-radius: 20px;
}
.info-badge {
  background: rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(4px);
  border-radius: 48px;
  padding: 10px 24px;
  color: #fff !important;
}

.logo-wrapper:hover .logo-caption {
  right: 0;
  opacity: 1;
}
.card-highlight {
  background-color: #ff9505;
}

.icon-frame {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copyright-footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 16px 60px;

  position: fixed;
  width: 100%;
  bottom: 0;
  height: 54px;

  font-family: Vazir, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
  color: #525354;

  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.05);
}

.footer-content {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

/*.text-center {*/
/*  width: 500px;*/
/*}*/

.hero-title {
  font-family: IranNastaliq;
  font-size: 56px;
  color: white;
  text-align: center;
  margin-bottom: 14px;
}

.hero-subtitle {
  color: white;
  text-align: center;
  font-size: 16px;
  line-height: 28px;
}

.card-title {
  font-weight: 700;
  font-size: 18px;
  color: #282829;
}

.card-text {
  color: #525354;
  font-size: 14px;
}

.card-custom {
  position: relative;
  overflow: visible;
  transition: all 0.3s ease;
  z-index: 0;
  border: none !important;
  box-shadow: 0px 12px 48px -8px rgba(0, 0, 0, 0.36);
  background-color: #ffffff;
  border-radius: 20px;
}
.card-custom svg {
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: bottom center;
}
.card-custom:hover svg {
  transform: scale(1.3) translateY(-10px);
  filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.2));
}
.card-body {
  position: relative;
  z-index: 2;
}

.card-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 101%;
  background-color: #ff9505;
  z-index: 0;
  transition: transform 0.5s ease;
  transform-origin: center;
  border-radius: 20px;
}

.card-custom::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../../ln_files/img/rectangle.png') center center / cover no-repeat;
  z-index: 1;
  border-radius: 20px;
}

.card-custom:hover {
  transform: scale(1.02);
  box-shadow: 0px 16px 56px -8px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.card-custom:hover::before {
  transform: translateX(-50%) scaleX(1);
}

/* Animation Classes */
.slide-in {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Directions */
.slide-in.from-left {
  transform: translateX(-200px);
}
.slide-in.from-right {
  transform: translateX(200px);
}
.slide-in.from-top {
  transform: translateY(-200px);
}
.slide-in.from-bottom {
  transform: translateY(200px);
}

/* Active State */
.slide-in.active {
  opacity: 1;
  transform: translate(0, 0);
}

/* Delays */
.slide-in.delay-1 {
  transition-delay: 0.2s;
}
.slide-in.delay-2 {
  transition-delay: 0.4s;
}
.slide-in.delay-3 {
  transition-delay: 0.6s;
}
.slide-in.delay-4 {
  transition-delay: 0.8s;
}

/* Header and Footer (no animation) */
.navbar-custom,
.copyright-footer {
  opacity: 1 !important;
  transform: none !important;
}
.text-start {
  margin-top: 24px !important;
}
