@font-face {
  font-family: "Peyda";
  src: url("../public/fonts/peyda/PeydaFaNumWeb-Thin.woff2") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Peyda";
  src: url("../public/fonts/peyda/PeydaFaNumWeb-ExtraLight.woff2") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Peyda";
  src: url("../public/fonts/peyda/PeydaFaNumWeb-Light.woff2") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Peyda";
  src: url("../public/fonts/peyda/PeydaFaNumWeb-Regular.woff2") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Peyda";
  src: url("../public/fonts/peyda/PeydaFaNumWeb-Medium.woff2") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Peyda";
  src: url("../public/fonts/peyda/PeydaFaNumWeb-SemiBold.woff2") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Peyda";
  src: url("../public/fonts/peyda/PeydaFaNumWeb-Bold.woff2") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Peyda";
  src: url("../public/fonts/peyda/PeydaFaNumWeb-ExtraBold.woff2") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Peyda";
  src: url("../public/fonts/peyda/PeydaFaNumWeb-Black.woff2") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Peyda";
  src: url("../public/fonts/peyda/PeydaFaNumWeb-ExtraBlack.woff2") format("truetype");
  font-weight: 950;
  font-style: normal;
  font-display: swap;
}

html {
  font-family: "Peyda", Arial, sans-serif;
  overflow-x: hidden;
  max-width: 100vw;
}

body,
body * {
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

body {
  overflow: hidden;
}

.container {
  max-width: 1295px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

.transition-medium {
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}

/* animations  */

.fade-in {
  opacity: 0;
  transform: translateY(80px);
  -webkit-transform: translateY(80px);
  -moz-transform: translateY(80px);
  -ms-transform: translateY(80px);
  -o-transform: translateY(80px);
}

.fade-in[data-animation="active"] {
  animation: bottom-top-animation 1s ease-in-out forwards;
  -webkit-animation: bottom-top-animation 1s ease-in-out forwards;
}

.fade-in.delay[data-animation="active"] {
  animation: bottom-top-animation 0.5s ease-in-out forwards;
  animation-delay: var(--delay, 0s);
  -webkit-animation: bottom-top-animation 0.5s ease-in-out forwards;
  -webkit-animation-delay: var(--delay, 0s);
}

@keyframes bottom-top-animation {
  to {
    transform: translateY(0px);
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -o-transform: translateY(0px);
    opacity: 1;
  }
}

/* .fade-in[data-animation="active"] {
  animation: bottom-top-animation 1s ease-in-out forwards;
  -webkit-animation: bottom-top-animation 1s ease-in-out forwards;
} */

@media (max-width: 560px) {
  .container {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 382px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.letter-one {
  letter-spacing: -1px;
}

.glass-hover,
.glass-hover-child {
  overflow: hidden;
  position: relative;
}

.glass-hover::before,
.glass-hover-child::before {
  content: "";
  position: absolute;
  top: 0;
  right: 120%;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, 0.3) 120%
  );
  transition: all 0.8s ease-in-out;
  -webkit-transition: all 0.8s ease-in-out;
  -moz-transition: all 0.8s ease-in-out;
  -ms-transition: all 0.8s ease-in-out;
  -o-transition: all 0.8s ease-in-out;
  transform: skewX(25deg);
  -webkit-transform: skewX(25deg);
  -moz-transform: skewX(25deg);
  -ms-transform: skewX(25deg);
  -o-transform: skewX(25deg);
}

.glass-parent:hover .glass-hover::before {
  right: -100%;
}

.glass-hover-parent:hover .glass-hover-child::before {
  right: -100%;
}

.glass-hover:hover::before {
  right: -100%;
}

@keyframes rotatingShadow {
  0% {
    box-shadow: 0 0 6px 1px #8a84feaf, 0 0 10px 2px #cbc8ff;
  }

  25% {
    box-shadow: 0.5px 0 6px 1px #8a84feaf, 5px 0 10px 2px #cbc8ff;
  }

  50% {
    box-shadow: 0 0.5px 6px 1px #8a84feaf, 0 5px 10px 2px #cbc8ff;
  }

  75% {
    box-shadow: -0.5px 0 6px 1px #8a84feaf, -5px 0 10px 2px #cbc8ff;
  }

  100% {
    box-shadow: 0 0 6px 1px #8a84feaf, 0 0 10px 2px #cbc8ff;
  }
}

.rotating-shadow {
  animation: rotatingShadow 2s infinite linear;
  -webkit-animation: rotatingShadow 2s infinite linear;
}

body.dark .rotating-shadow {
  animation: none;
  -webkit-animation: none;
}

@keyframes handInRight {
  0% {
    transform: translate(150%, -28%);
    opacity: 0;
    -webkit-transform: translate(150%, -28%);
    -moz-transform: translate(150%, -28%);
    -ms-transform: translate(150%, -28%);
    -o-transform: translate(150%, -28%);
  }

  60% {
    opacity: 0.8;
  }

  100% {
    transform: translate(0%, -28%);
    opacity: 1;
    -webkit-transform: translate(0%, -28%);
    -moz-transform: translate(0%, -28%);
    -ms-transform: translate(0%, -28%);
    -o-transform: translate(0%, -28%);
  }
}

/* ===== انیمیشن ورود shape سرور ===== */
@keyframes serverIn {
  0% {
    transform: translateY(-80px) scale(0.9);
    opacity: 0;
    -webkit-transform: translateY(-80px) scale(0.9);
    -moz-transform: translateY(-80px) scale(0.9);
    -ms-transform: translateY(-80px) scale(0.9);
    -o-transform: translateY(-80px) scale(0.9);
  }

  70% {
    opacity: 0.8;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
    -webkit-transform: translateY(0) scale(1);
    -moz-transform: translateY(0) scale(1);
    -ms-transform: translateY(0) scale(1);
    -o-transform: translateY(0) scale(1);
  }
}

/* ===== انیمیشن ورود دست چپ ===== */
@keyframes handInLeft {
  0% {
    transform: translate(-150%, -45%);
    opacity: 0;
    -webkit-transform: translate(-150%, -45%);
    -moz-transform: translate(-150%, -45%);
    -ms-transform: translate(-150%, -45%);
    -o-transform: translate(-150%, -45%);
  }

  60% {
    opacity: 1;
  }

  100% {
    transform: translate(0%, -45%);
    opacity: 1;
    -webkit-transform: translate(0%, -45%);
    -moz-transform: translate(0%, -45%);
    -ms-transform: translate(0%, -45%);
    -o-transform: translate(0%, -45%);
  }
}

/* ===== انیمیشن ورود shape گلوب ===== */
@keyframes globeIn {
  0% {
    transform: translateY(80px) scale(0.9);
    opacity: 0;
    -webkit-transform: translateY(80px) scale(0.9);
    -moz-transform: translateY(80px) scale(0.9);
    -ms-transform: translateY(80px) scale(0.9);
    -o-transform: translateY(80px) scale(0.9);
  }

  70% {
    opacity: 1;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
    -webkit-transform: translateY(0) scale(1);
    -moz-transform: translateY(0) scale(1);
    -ms-transform: translateY(0) scale(1);
    -o-transform: translateY(0) scale(1);
  }
}

/* ===== کلاس‌های انیمیشن ===== */
.animate-hand-right {
  animation: handInRight 1.4s ease-out forwards;
}

.animate-server {
  animation: serverIn 1.2s ease-out forwards;
  animation-delay: 1.2s;
  opacity: 0;
}

.animate-hand-left {
  animation: handInLeft 1.4s ease-out forwards;
}

.animate-globe {
  animation: globeIn 1.2s ease-out forwards;
  animation-delay: 1.2s;
  opacity: 0;
}

.faq-item.active {
  border: 2px solid #6156ffb9;
}

.faq-answer {
  overflow: hidden;
  max-height: 0px;
}

.faq-answer.active {
  max-height: 100vh;
  margin-top: 8px;
}

.faq-arrows.active {
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
}

.faq-item.active .box-icon-faq {
  background-color: #877efe21;
}

.navbar.active {
  background-color: #ffffffb4 !important;
  box-shadow: 0px 6px 37px 0px #0000000d;
  border-bottom: 1px solid #ebebeb;
  transition: all 0.3s ease;
  backdrop-filter: blur(7px);
}

body.dark .navbar.active {
  background-color: #05014273 !important;
  border-bottom: 1px solid #0a027573;
}

@keyframes rotate-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.animate-rotate-slow {
  animation: rotate-slow 20s linear infinite;
  -webkit-animation: rotate-slow 20s linear infinite;
}

.animate-rotate-slow-fast {
  animation: rotate-slow 10s linear infinite;
  -webkit-animation: rotate-slow 10s linear infinite;
}

.animate-rotate-slow-reverse {
  animation: rotate-slow 20s linear infinite reverse;
  -webkit-animation: rotate-slow 20s linear infinite reverse;
}

/* عکس‌ها ثابت بمونن */
.flag img {
  animation: reverse-rotate 20s linear infinite;
  -webkit-animation: reverse-rotate 20s linear infinite;
}

/* عکس‌ها ثابت بمونن */
.flag-reverse img {
  animation: reverse-rotate 20s linear infinite reverse;
  -webkit-animation: reverse-rotate 20s linear infinite reverse;
}

@keyframes reverse-rotate {
  from {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

body.dark {
  background-color: #01000a;
}

.box-content-main {
  overflow: hidden;
  max-height: 500px;
}

.box-content-main.active {
  max-height: none;
}

.btn-tabs-about-us.active {
  box-shadow: 0px 1.66px 3.31px 1.66px #1515140d;
  background-color: #fff;
  color: #1c2120;
}

.dark .btn-tabs-about-us.active {
  box-shadow: 0px 1.66px 3.31px 1.66px #1515140d;
  background-color: #433f72;
  color: #fff;
}

.section-tab-content {
  display: none;
}

.section-tab-content.active {
  display: flex;
}

/* width */
.none-scroll::-webkit-scrollbar {
  width: 0px !important;
  height: 0px !important;
}

/* Track */
.none-scroll::-webkit-scrollbar-track {
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

/* Handle */
.none-scroll::-webkit-scrollbar-thumb {
  background: #b9bec500;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

/* Handle on hover */
.none-scroll::-webkit-scrollbar-thumb:hover {
  background: #767d8500;
}

.hero-pagination .swiper-pagination-bullet {
  width: 36px !important;
  height: 9px !important;
  border-radius: 16px !important;
  background: #b2b2b2 !important;
  opacity: 1 !important;
  margin: 0px !important;
}

.hero-pagination .swiper-pagination-bullet-active {
  width: 78px !important;
  background: #1d1e29 !important;
}
li.active .accordion-content {
  max-height: 500px; /* مقدار کافی بزرگ برای همه محتوا */
}

/* انیمیشن نرم‌تر برای باز و بسته شدن */
.accordion-content > div {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

li.active .accordion-content > div {
  opacity: 1;
  transform: translateY(0);
}
.dark .bg-theme-light {
  background-color: transparent;
  border: 1px solid #0000;
  color: #fafafa;
}

.light .bg-theme-dark {
  background-color: transparent;
  border: 1px solid #0000;
  color: #1c2120;
}

.ul-list:has(li.active) {
  border: 1px solid #6056ff !important;
  border-radius: 16px;
}

.ul-list {
  transition: border 0.3s ease;
}
.ul-list:has(.active) {
  border: 1px solid #6056ff !important;
  border-radius: 16px;
  transition: border 0.3s ease;
}
.active .accordion-content li:last-child a {
  border-bottom: none !important;
  padding-bottom: 0;
}

.active .accordion-content li:last-child a {
  border-bottom: none !important;
  padding-bottom: 0;
}
.accordion-content li:last-child a {
  border-bottom: none !important;
  padding-bottom: 0;
}
.blog-title-2lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
article p{
    font-size: 1rem;
    line-height: 1.8rem;
    letter-spacing: -1px;
    padding: 5px 10px 5px 0;
}

article a{
    font-weight: 700;
    color: #2519f7;
}

article h2 {
  font-size: 1.5rem;
  font-weight: 800;   
  line-height: 1.3;
  padding: 15px 0 10px 0;
}

article h3 {
  font-size: 1.4rem;
  font-weight: 800; 
  line-height: 1.3;
  padding: 15px 0 10px 0;
}

article h4 {
  font-size: 1.3rem;
  font-weight: 800;  
  line-height: 1.3;
  padding: 15px 0 10px 0;
}

article h5 {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
  padding: 15px 0 10px 0;
}

article h6 {
  font-size: 1.1rem;    
  font-weight: 800;  
  line-height: 1.3;
  padding: 15px 0 10px 0;
}

article ol {
    list-style: persian;
    padding: 5px 35px 5px 0;
}
article ul {
    list-style: inside;
    padding: 5px 20px 5px 0;
}
article img {
    border-radius: 15px;
    margin: 10px 0;
}

/* Blog/Page content tables (no extra classes needed) */
table {
  width: 100% !important;
  max-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #E6E6E6;
  margin: 18px 0;
  direction: rtl;
}

/* Header */
table thead th {
  position: sticky; /* اگر نخواستی، حذفش کن */
  top: 0;
  background: linear-gradient(180deg, rgba(96,86,255,0.14) 0%, rgba(134,126,254,0.10) 100%);
  color: #1D1E29;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 16px;
  text-align: right;
  border-bottom: 1px solid #E6E6E6;
  white-space: nowrap;
}

/* Cells */
table td {
  color: #2F303A;
  font-size: 14px;
  padding: 14px 16px;
  text-align: right;
  border-bottom: 1px solid #F0F0F0;
  vertical-align: top;
  line-height: 1.9;
}

/* Zebra rows */
table tbody tr:nth-child(odd) td {
  background: #FFFFFF;
}
table tbody tr:nth-child(even) td {
  background: #FAFAFF;
}

/* Hover row */
table tbody tr:hover td {
  background: rgba(96,86,255,0.08);
}

/* Rounded corners */
table thead th:first-child { border-top-right-radius: 14px; }
table thead th:last-child  { border-top-left-radius: 14px; }
table tbody tr:last-child td:first-child { border-bottom-right-radius: 14px; }
table tbody tr:last-child td:last-child  { border-bottom-left-radius: 14px; }

/* Better on mobile */
@media (max-width: 768px) {
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
  }
  table thead th, table td {
    font-size: 13px;
    padding: 12px 14px;
    white-space: nowrap;
  }
}

/* Dark mode support (if your site uses .dark on body/html) */
.dark table {
  background: #0C0837;
  border-color: #26215C;
  box-shadow: none;
}
.dark table thead th {
  color: #FAFAFA;
  background: linear-gradient(180deg, rgba(96,86,255,0.20) 0%, rgba(134,126,254,0.10) 100%);
  border-bottom-color: #26215C;
}
.dark table td {
  color: #EDEDF3;
  border-bottom-color: #26215C;
}
.dark table tbody tr:nth-child(even) td {
  background: rgba(255,255,255,0.03);
}
.dark table tbody tr:hover td {
  background: rgba(96,86,255,0.14);
}

c-main{
        cursor: inherit;
}
