@font-face {
  font-family: 'IRANYekan-var';
  src: url('../fonts/IRANYekanXVFaNumVF.ttf') format('truetype-variations');
  font-display: swap;
  font-variation-settings: "wght" 400, "dots" 1;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box !important;
}

input,
button {
  outline: none;
  border: none;
}

a {
  text-decoration: none;
  outline: none !important;
  color: unset;
}

p,
figure {
  margin-bottom: 0;
}

:root {
  --IRANYekan-font-family: 'IRANYekan';
  --IRANYekanXV-font-family: 'IRANYekan-var';
  --primary-black: #121111;
  --primary-black-800: #191818;
  --primary-black-700: #1e1d1d;
  --white-100: #d1d0d0;
  --white-50: '#FFFFFF1A';
  --gray-300: #929292;
  --gray-400: #eeeeee;
  --purple-400: #ccc8f8;
  --gray-200: #b7b8ba;
  --tw-bg-opacity: 1;
  
  /* Enhanced Color Palette */
  --primary-color: #3b82f6;
  --primary-color-dark: #2563eb;
  --secondary-color: #8b5cf6;
  --accent-color: #06b6d4;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;
  --text-light: rgba(255, 255, 255, 0.7);
  
  /* Background Colors */
  --bg-primary: #0d1019;
  --bg-secondary: #1f2937;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-overlay: rgba(0, 0, 0, 0.6);
  
  /* Border Colors */
  --border-light: rgba(255, 255, 255, 0.1);
  --border-medium: rgba(255, 255, 255, 0.2);
  --border-primary: var(--primary-color);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
}


body {
    font-family: var(--IRANYekanXV-font-family);
    font-variation-settings: 'DOTS' 3.29 !important;
    background: linear-gradient(135deg, #0d1019 0%, #1a1a2e 50%, #16213e 100%);
}
.cursor-pointer {
  cursor: pointer;
}

.main-hero-section {
  position: relative;
  min-height: 70vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
  overflow: hidden;
  padding: 40px 20px;
}

.main-hero-section.heading {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  z-index: 10;
}

.stats {
  display: grid;
  gap: 20px;
  text-align: center;
  font-size: 2rem;
  z-index: 10;
}

.stat {
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.8s ease-out;
}

.stat.visible {
  opacity: 1;
  transform: translateY(0);
}

.logo-wrapper {
  position: absolute;
  width: 60px;
  height: 60px;
  will-change: transform;
  z-index: 1;
}

.logo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
  background-color: #1c1f2b;
  box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.05),
    0 4px 12px rgba(0, 0, 0, 0.5);
}

.typing-container {
  max-width: 35rem;
  text-align: center;
}

.typing-text {
  overflow: hidden;
  white-space: normal;
  animation: blink 0.7s infinite;
}

/* background color */

.bg-primary-black {
  background-color: rgb(13 16 25 / var(--tw-bg-opacity));
  position: relative;
}

.glass-background {
  border: 3px solid hsl(0, 0%, 100%, 0.001);
  background: hsl(0, 0%, 100%, 0.1);
  backdrop-filter: blur(2px);
  box-shadow: inset 0 0 8px 1px hsl(0, 0%, 100%, 0.01);
}

.glass-background-inner:hover {
  transform: translateZ(20px) scale(1.02);
  background: hsla(0, 0%, 100%, 0.05);
  box-shadow: inset 0 2px 2px hsla(0, 0%, 90%, 0.01);
  scale: 1.01;
}

.glass-background-inner:active {
  transform: translateZ(10px) scale(0.98);
  backdrop-filter: blur(12px);
  scale: 1.01;
}

.glass-background-inner > * {
  text-shadow: 0 1px 2px hsla(0, 0%, 0%, 0.2);
}

/* flip-card */

/* Mobile First Styles (default) */
.flip-card {
  background-color: transparent;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 180px;
  aspect-ratio: 16/9;
  perspective: 1000px;
  margin: 0 auto;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 15px;
  box-sizing: border-box;
}

.flip-card-front {
  border: 2px solid hsl(0, 0%, 100%, 0.01);
  background: hsl(0, 0%, 100%, 0.1);
  backdrop-filter: blur(2px);
  box-shadow: inset 0 0 6px 1px hsl(0, 0%, 100%, 0.01);
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.touch-id {
  width: 60px;
  height: 60px;
  position: absolute;
  filter: brightness(0.5);
  bottom: -20px;
  right: 10px;
}

.flip-card-back {
  border: 2px solid hsl(0, 0%, 100%, 0.001);
  background: hsl(0, 0%, 100%, 0.1);
  backdrop-filter: blur(2px);
  box-shadow: inset 0 0 6px 1px hsl(0, 0%, 100%, 0.01);
  color: #ffffff;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
}

.flip-card svg {
  margin-top: 10px;
  width: 24px;
  height: 24px;
}

@keyframes flipOnce {
  0% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(0deg);
  }
}

.flip-card-inner.flip-animate {
  animation: flipOnce 2s ease-in-out forwards;
}

.arrow-left,
.more-blog span,
.support-btn {
  transition: all 0.5s ease;
}

.support-btn:hover {
  scale: 1.1;
}

.more-blog:hover span {
  background-image: linear-gradient(
    45deg,
    #fff 0%,
    #d2d6dc 25%,
    #838aa2 50%,
    #838aa2 75%,
    #fff 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.more-blog:hover .arrow-left {
  transform: translateX(-8px);
}

.price-container {
  bottom: 20px;
  left: 20px;
}

.size-30px {
  width: 30px;
  height: 30px;
}

.size-40px {
  width: 40px;
  height: 40px;
}

.bottom-left {
  bottom: 20px;
  left: 20px;
}

.lh-32px {
  line-height: 32px;
}

.p-16px {
  padding: 16px;
}

.bg-blue {
  background-color: rgb(39 110 246 / var(--tw-bg-opacity));
}

.bg-black-gradient {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.6));
}

.buy-appleID-btn {
  transition: all ease 0.4s;
}

.buy-appleID-btn:hover {
  scale: 1.05;
}

.bg-white-light {
  background-color: rgb(255 255 255/0.05);
}

.bg-gray-22 {
  background-color: rgb(34 36 47 / var(--tw-bg-opacity));
}

.border-light-white {
  border-color: rgb(156 163 175/0.1);
}

.text-light-white {
  color: rgb(255 255 255 / 0.5);
}

.text-dark-blue {
  color: rgb(18, 52, 86);
}

.justify-items-start {
  justify-items: start;
}

.glass-background ul.navbar-nav li.nav-item {
  position: relative; /* برای موقعیت دهی دایو افکت */
}

/* استایل‌های مورد نیاز برای نوار ناوبری و انیمیشن */
.mobile-nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 20px;
  right: 24px;
  width: calc(100vw - 48px);
  /* background: rgba(255, 255, 255, 0.72); */
  backdrop-filter: blur(12px);
  border-radius: 28px;
  z-index: 10;
  height: 52px;
  overflow: hidden;
  transition: height 0.3s ease-in-out;
}

.mobile-nav.open {
  height: 300px; /* ارتفاع کافی برای نمایش منو */
}

.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 20px 20px;
  height: 55px;
}

.mobile-navbar-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0px 20px 20px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  pointer-events: none;
}

.mobile-nav.open .mobile-navbar-nav {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav .nav-item {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.mobile-nav.open .nav-item {
  opacity: 1;
  transform: translateY(0);
}

.nav-item:nth-child(1) {
  transition-delay: 0.1s;
}
.nav-item:nth-child(2) {
  transition-delay: 0.15s;
}
.nav-item:nth-child(3) {
  transition-delay: 0.2s;
}
.nav-item:nth-child(4) {
  transition-delay: 0.25s;
}
.nav-item:nth-child(5) {
  transition-delay: 0.3s;
}

.mobile-nav .nav-link {
  display: inline-block;
  color: #000;
  font-size: 0.9rem;
  font-weight: 500;
  transition: opacity 0.2s ease-out;
}

.nav-link:hover {
  opacity: 0.8;
}

.nav-toggle-btn {
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  position: relative;
  cursor: pointer;
  padding: 10px;
  border-radius: 12px;
}

.nav-toggle-btn span,
.nav-toggle-btn span::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: #fff;
  border-radius: 8px;
  left: 0px;
  transition: all 0.3s ease;
}

.nav-toggle-btn span {
  top: 14px;
}

.nav-toggle-btn span::before {
  top: 6px;
}

.nav-toggle-btn.open span {
  transform: rotate(45deg);
  top: 17px;
}

.nav-toggle-btn.open span::before {
  transform: rotate(-90deg);
  top: 0;
  left: -1px;
}

@media (min-width: 720px) {
  .mobile-nav {
    display: none;
  }
}

.bg-primary {
  background-color: rgb(13 16 25 / var(--tw-bg-opacity));
}

.nav-link {
  position: relative;
  padding-bottom: 0.75rem; /* جای کافی برای افکت */
  display: inline-block;
  transition: color 0.3s ease;
}

.nav-link-effect {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  height: 10px;
  top: 20%;
  margin-top: 0.5rem;
  border-radius: 9999px;
  background: rgba(59, 130, 246, 0.3);
  filter: blur(6px);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: -1;
}

/* نمایش افکت روی هاور */
.nav-link:hover + .nav-link-effect,
.nav-link.active + .nav-link-effect {
  opacity: 1;
}

.top-8px {
  top: 8px;
}

.top-20px {
  top: 20px;
}

/* تغییر رنگ لینک فعال */
.nav-link.active {
  color: #3b82f6; /* رنگ آبی */
  font-weight: 600;
}

.bg-black-700 {
  background-color: var(--primary-black-700) !important;
}

.bg-black-50 {
  background-color: rgba(255, 255, 255, 0.03);
}
.iran-XV {
  font-family: var(--IRANYekanXV-font-family) !important;
}

.bg-gray-400 {
  background-color: var(--gray-400);
}

.bg-purple-400 {
  background-color: var(--purple-400);
}

.link-hover {
  transition: all 0.2s ease-in;
}

.shadow-top-soft {
  box-shadow: 0 -15px 15px 0 rgba(0, 0, 0, 0.07);
}

.link-hover:hover,
.link-hover.active {
  color: #fff !important;
}

.buy-apple-id-btn {
  padding: 20px 30px;
}

.buy-apple-id-btn.active {
  font-weight: 500;
  background: hsl(0, 0%, 100%, 0.5);
  backdrop-filter: blur(2px);
  box-shadow: inset 0 0 8px 1px hsl(0, 0%, 100%, 0.1);
  color: #fff;
}

.buy-apple-id-btn:hover,
.buy-apple-id-btn:active {
  background: hsl(0, 0%, 100%, 0.5);
  backdrop-filter: blur(2px);
  box-shadow: inset 0 0 8px 1px hsl(0, 0%, 100%, 0.1);
}

.single-blog-h {
  height: 20rem;
}

.parent {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding-top: 24px;
}

.parent > div {
  border: 1px solid rgba(215, 223, 232, 0.1);
  border-radius: 12px;
  padding-bottom: 24px;
}

.div2,
.div4,
.div6 {
  background-color: rgb(147 201 255/0.05);
}

.div1,
.div3,
.div5 {
  background-color: rgba(18, 52, 86, 0.05);
}

.parent > .div4,
.div5,
.div6 {
  /* margin-top: -30px; */
  /* align-self: flex-end; */
}

.parent > .div1,
.div2,
.div3 {
  /* padding-bottom: 50px; */
}

.img-size-50px {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

/* text color */

.text-white-100 {
  color: #d1d0d0;
}

.text-gray-300 {
  color: var(--gray-300);
}

.text-gray-200 {
  color: rgba(255, 255, 255, 0.7);
}

.text-blue {
  color: #3b58ed;
}

.iran-500 {
  font-family: var(--IRANYekan-font-family);
  font-weight: 500;
}

/* font's */

.fs-10px {
  font-size: 10px;
}

.fs-12px {
  font-size: 12px;
}

.fs-14px {
  font-size: 0.875rem;
}

.fs-16px {
  font-size: 1rem;
}

.fs-xs {
  /* font size 12px - 14px  */
  font-size: 0.75rem;
}

.fs-xxl {
  font-size: 2.5rem;
}

.fs-3xl {
  font-size: 1.125rem;
}

.fs-4xl {
  font-size: 1.5625rem;
}

.fs-7 {
  font-size: 0.875rem;
}

.fs-xl {
  font-size: 2rem;
}

.fs-regular {
  /* font size 16 - 14 */
  font-size: 0.875rem;
}

.fs-lg {
  /* font size 28 - 30 */
  font-size: 1.75rem;
}

.fs-xxs {
  font-size: 0.6rem;
}

.fs-md {
  font-size: 0.75rem;
}

.fs-extra-small {
  /* font size 11.2px - 19px  */
  font-size: 0.7rem;
}

.fs-small {
  font-size: 0.875rem;
}

.fs-8 {
  font-size: 0.875rem;
}

.fs-9 {
  font-size: 0.875rem;
}

.fw-300 {
  font-weight: 300 !important;
}

.fw-500 {
  font-weight: 500 !important;
}

/* width & height */

.max-w-50 {
  max-width: 40rem;
}

.w-90 {
  width: 90%;
}

.h-60vh {
  height: 60vh;
}

.h-about-us {
  height: 50vh;
}

.h-40vh {
  height: 60vh;
}

.rounded-md {
  border-radius: 12px;
}

.px-small {
  padding-inline: 2rem;
}

.fs-heading {
  font-size: 1.875rem;
}

.mt-n3 {
  margin-top: -3rem;
}

.mt-6 {
  margin-top: 20%;
}

.pb-8 {
  padding-bottom: 8rem;
}

.mt-n11 {
  margin-top: -11rem;
}

.border-light-white {
  border-color: var(--white-50) !important;
}

.border-light-gray {
  border-color: #f6f6f6 !important;
}

.dir-ltr {
  direction: ltr;
}

.bg-grid {
  background: url('/assets/images/Mask_group.png');
  /* background-image: linear-gradient(
      to right,
      rgba(203, 213, 225, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(203, 213, 225, 0.04) 1px, transparent 1px);
  background-size: 4rem 4rem;
  background-position: center center;
  height: 65vh; */
}

.copyright-footer {
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px; /* معادل p-3 */
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 -15px 15px 0 rgba(0, 0, 0, 0.07);
}

.bg-grid-gray {
  background-image: linear-gradient(
      to right,
      rgba(203, 213, 220, 0.16) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(203, 213, 220, 0.16) 1px, transparent 1px);
  background-size: 4rem 4rem;
  background-position: center center;
  height: 70vh;
}

/* swiper */

.swiper {
  width: 60%;
  height: 100%;
}

.swiper-slide {
  font-size: 18px;
  background: var(--primary-black);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
}

.swiper-button-next,
.swiper-button-prev {
  color: #fff;
  background-color: #ffffff09;
  border: 2px solid var(--primary-black-800) !important;
  border-radius: 100%;
  width: 2.3rem;
  height: 2.3rem;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.3rem;
  border-radius: 100%;
  font-weight: 500;
}

.small-container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

/* filter */

.mix-blend-mode {
  mix-blend-mode: multiply !important;
}

/* Hero */

.curved {
  border-top-left-radius: 100% 100%;
  border-top-right-radius: 100% 100%;
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #fff;
  height: 2rem;
  z-index: 0;
}

.curved-sm {
  border-top-left-radius: 100% 160%;
  border-top-right-radius: 100% 160%;
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #fff;
  height: 2rem;
  z-index: 0;
}

.curved-down {
  position: relative;
  background: #fff;
  height: 2rem;
  border-bottom-left-radius: 50% 50%;
  border-bottom-right-radius: 50% 50%;
}

/* feature's */

.feature-item {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease, opacity 0.4s ease;
  transform-style: preserve-3d;
  will-change: transform, box-shadow, opacity;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  opacity: 0.92;
  min-width: 15rem;
}

@media (min-width: 678px) {
  /* حالت اولیه: جابه‌جایی و چرخش ظریف */
  /* .feature-item:nth-child(1) {
    transform: translateY(-20px) rotateZ(-2deg);
  }
  .feature-item:nth-child(2) {
    transform: translateY(20px) rotateZ(1.5deg);
  }
  .feature-item:nth-child(3) {
    transform: translateY(-15px) rotateZ(1.2deg);
  }
  .feature-item:nth-child(4) {
    transform: translateY(15px) rotateZ(-1.8deg);
  } */

  /* حالت هاور روی لیست */
  ul:hover .feature-item {
    transform: translateY(0) rotateZ(0) scale(1.05);
    opacity: 1;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  }
}

/* افکت تاخیر در انیمیشن (stagger) */
.feature-item:nth-child(1) {
  transition-delay: 0s;
}
.feature-item:nth-child(2) {
  transition-delay: 0.05s;
}
.feature-item:nth-child(3) {
  transition-delay: 0.1s;
}
.feature-item:nth-child(4) {
  transition-delay: 0.15s;
}

.stat-card {
  background: linear-gradient(
    145deg,
    rgba(18, 52, 86, 0.12),
    rgba(13, 16, 25, 0.6)
  );
  border: 1px solid rgba(18, 52, 86, 0.2); /* خط حاشیه کم‌رنگ با عمق بصری */
  border-radius: 1rem;
  padding: 32px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(13, 16, 25, 0.4),
    0 4px 6px rgba(18, 52, 86, 0.15);

  transition: transform 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
}
.stat-card p:first-child {
  font-size: 2.5rem;
  font-weight: bold;
  color: rgb(18, 52, 86); /* برجسته با رنگ برند */
}
.stat-card p:last-child {
  font-size: 1rem;
  color: #d1d0d0;
  margin-top: 0.5rem;
}

/* achievement's */

.bg-gradient-45 {
  background: rgb(118, 110, 219);
  background: linear-gradient(
    180deg,
    rgba(118, 110, 219, 0.1) 0%,
    rgba(255, 171, 144, 0.2) 100%
  );
}

.bg-glassmorphism {
  background: #d3d1d134;
}

.w-achievement-content {
  width: 11rem;
}

/* apple-id plans */

.plan {
  /* width: 19rem; */
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.plans-description {
  width: 16rem;
}

.palns-options li {
  position: relative;
  padding-right: 20px;
  color: #fff;
}

.plan-btn {
  padding-block: 0.6rem;
  font-size: 0.8rem;
}

.bend-arrow {
  width: 4rem;
}

.palns-options li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  border-radius: 4px;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: #121111;
}

.order-btn-hover {
  transition: background 0.3s ease;
}

.plan:hover {
  transform: translateY(-20px);
}

.plan-wrapper:has(.plan:hover) .plan:not(:hover) {
  transform: scale(0.97);
  filter: grayscale(60%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.plan {
  transition: all 0.3s ease;
}

.gray-white-text-gradient {
  background-image: linear-gradient(
    45deg,
    #fff 0%,
    #d2d6dc 25%,
    #838aa2 50%,
    #838aa2 75%,
    #fff 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* comment */

.comment-line {
  height: 2.5px;
  background: rgba(130, 124, 207, 0.411);
  background: linear-gradient(
    90deg,
    rgb(255, 255, 255, 0.7) 0%,
    rgba(113, 104, 238, 0.6) 20%,
    rgba(255, 171, 144, 0.5) 90%
  );
}

/* blog's */

.blog-w {
  width: 20rem;
}

.blog-card-img {
  width: 18rem;
}

.blog-info {
  padding: 20px 20px 20px;
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  box-shadow: inset -1.8px 27px 84px 0px rgba(183, 218, 255, 0.16);
}

.-mb-25px {
  margin-bottom: -25px;
}

.-mt-65px {
  margin-top: -65px;
}

.blog-w {
  transition: all 0.3s ease;
}

.blog-w:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.blog-w:hover .blog-card-img {
  transform: translateY(-10px);
}

.blog-w:hover .blog-info {
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(183, 218, 255, 0.15);
  border: 1px solid rgba(183, 218, 255, 0.2);
}

.blog-card-img {
  transition: transform 0.4s ease;
}

.blog-info {
  transition: transform 0.4s ease;
}

/* blog page */

.blog-category {
  width: max-content;
}

/* contact-us */

.memoji-6 {
  width: 6rem;
  object-fit: cover;
}

/* .contact-us-forms {
  width: 100%;
  max-width: 23rem;
  transition: none !important;
  transform-origin: center;
  will-change: transform, opacity, filter;
} */

.contact-us-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(
    to top,
    rgba(13, 16, 25, 0) 0%,
    rgba(13, 16, 25, 0.7) 50%,
    rgba(13, 16, 25, 1) 100%
  );
  pointer-events: none;
}

/* single-blog page */

.blog-container {
  width: 100%;
  max-width: 55.3125rem;
}

.single-blog-img {
  object-fit: cover;
}

.social-media-icon {
  width: 2.5rem;
  height: 2.5rem;
  transition: all 0.4s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-media-icon:hover {
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05),
    transparent
  ) !important;
  box-shadow: inset -1.8px 27px 84px 0px rgba(183, 218, 255, 0.16) !important;
}

/* استایل کلی کانتینر */
.single-blog-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.1));
}

/* لایه اورلی برای افکت پس‌زمینه */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.3), transparent);
  opacity: 0;
  transition: opacity 1.5s ease-out;
  z-index: 1;
}

.overlay.visible {
  opacity: 0.7;
}

/* استایل تصویر */
.single-blog-img {
  object-fit: cover;
  width: 288px;
  max-width: 900px;
  height: 190px;
  border-radius: 16px;
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: opacity 1.4s ease-out, transform 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.single-blog-img.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* افکت hover برای تصویر */
.single-blog-img:hover {
  transform: translateY(-10px) scale(1.02);
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* استایل متن عنوان */
.blog-info h1 {
  opacity: 0;
  transform: translateX(40px) rotate(-2deg);
  transition: opacity 1.2s ease-out 0.4s,
    transform 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
  filter: blur(2px);
}

.blog-info h1.visible {
  opacity: 1;
  transform: translateX(0) rotate(0);
  filter: blur(0);
}

/* استایل دسته‌بندی */
.category {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 1.2s ease-out 0.6s,
    transform 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s;
}

.category.visible {
  opacity: 1;
  transform: translateX(0);
}

/* افکت hover برای اطلاعات بلاگ */
.blog-info {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* انیمیشن برای زیرنویس‌ها */
.category span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.category span:hover {
  transform: scale(1.1);
}

/* استایل برای انیمیشن‌های ظریف‌تر */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.single-blog-container.visible {
  animation: pulse 3s infinite ease-in-out;
}

/* استایل تگ‌ها */
.c-tag {
  min-width: fit-content; /* عرض تگ بر اساس محتوا */
  max-width: 15rem; /* حداکثر عرض تگ */
  padding: 0.5rem 1.25rem; /* پدینگ مناسب */
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05),
    transparent
  ) !important;
  box-shadow: inset -1.8px 27px 84px 0px rgba(183, 218, 255, 0.16) !important;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s ease, background-image 0.4s ease,
    box-shadow 0.4s ease, filter 0.3s ease;
}

.c-tag:hover {
  transform: translateX(-4px);
  /* filter: brightness(1.1); */
}

/* change: add tags-container class */

/* استایل کانتینر تگ‌ها */
.tags-container {
  min-width: fit-content; /* عرض حداقل به اندازه محتوا */
  max-width: 90rem; /* حداکثر عرض */
  display: flex;
  gap: 0.75rem; /* فاصله بین تگ‌ها */
  overflow-x: auto; /* اسکرول افقی */
  white-space: nowrap; /* جلوگیری از شکستن خط */
  padding-bottom: 0.5rem; /* فضای اضافی برای اسکرول */
  scrollbar-width: thin; /* عرض اسکرول‌بار در فایرفاکس */
}

/* change: add tags-size class */

.tag-size {
  /* change tag size to 12rem */
  width: 12rem;
}

/* about-us */

.our-guarantee {
  background-color: #f8f8f8;
}

.left-n5 {
  left: -5rem;
}

.py-sm {
  padding-block: 0.7rem !important;
}

@media (min-width: 768px) {
  .fs-xs {
    /* font size 12px - 14px  */
    font-size: 0.875rem;
  }

  .fs-xxl {
    font-size: 3.75rem;
  }

  .fs-8 {
    font-size: 1rem;
  }

  .fs-9 {
    font-size: 1.125rem;
  }

  .fs-md-21px {
    font-size: 21px;
  }

  .fs-3xl {
    /* font size 18px - 30px */
    font-size: 1.875rem;
  }

  .fs-7 {
    font-size: 1.16rem;
  }

  .fs-xl {
    font-size: 2.5rem;
  }

  .fs-regular {
    /* font size 16 - 14 */
    font-size: 1rem;
  }

  .fs-lg {
    /* font size 28 - 30 */
    font-size: 1.875rem;
  }

  .fs-extra-small {
    /* font size 11.2px - 19px  */
    font-size: 1.2rem;
  }

  /* .h-full {
    height: 90vh;
  } */

  .h-about-us {
    height: 45vh;
  }

  .h-40vh {
    height: 40vh;
  }

  .w-md-0 {
    width: unset !important;
  }

  .w-md-full {
    width: 100%;
  }

  .w-md-60 {
    width: 60% !important;
  }

  .w-md-75 {
    width: 75% !important;
  }

  .w-md-90 {
    width: 90% !important;
  }

  .w-md-35 {
    width: 35%;
  }

  .size-md-5 {
    width: 5.625rem;
    height: 5.625rem;
  }

  .ms-md-6 {
    margin-right: 5rem !important;
  }

  .ms-md-7 {
    margin-right: 7rem !important;
  }

  .mt-md-n5 {
    margin-top: -5rem;
  }

  .mt-md-n11 {
    margin-top: -13rem;
  }

  .mt-md-8 {
    margin-block: 3.37rem 4rem !important;
  }

  .mt-md-6 {
    margin-top: 4rem;
  }

  .gap-md-6 {
    gap: 4rem !important;
  }

  .py-small {
    padding-block: 0.7rem;
  }

  .fs-md-16px {
    font-size: 1rem;
  }

  /* achievement's */

  .bg-gradient-45-md {
    background: rgba(117, 110, 219, 0.404);
    background: linear-gradient(
      90deg,
      rgba(118, 110, 219, 0.4) 0%,
      rgba(147, 253, 253, 0.3) 65%,
      rgba(255, 171, 144, 0.1) 80%
    );
  }

  /* blog's */

  .blog-w {
    width: 20.1875rem;
  }

  /* contact-us */

  .memoji-6 {
    width: 7rem;
    object-fit: cover;
  }

  .achievement-container {
    height: 11.8rem;
  }

  .single-blog-img {
    object-fit: cover;
    width: 800px;
    height: 450px;
  }

  .single-blog-h {
    height: 25rem;
  }

  .parent {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding-top: 32px;
  }

  .div1 {
    padding-bottom: 32px !important;
  }
  .div2 {
    padding-bottom: 28px;
  }

  /* Reset mobile-specific margins */
  .div4,
  .div5,
  .div6 {
    margin-top: 0;
  }

  .flip-card {
    width: 90%;
    max-width: 350px;
    min-height: 220px;
  }

  .flip-card-front,
  .flip-card-back {
    padding: 18px;
    border-radius: 10px;
  }

  .touch-id {
    width: 80px;
    height: 80px;
    bottom: -25px;
  }

  .flip-card svg {
    margin-top: 15px;
    width: 28px;
    height: 28px;
  }
}

/* xl */
@media (min-width: 1280px) {
  .container-xl-1200px {
    width: 1000px;
  }

  .container-xl-1300px {
    width: 1300px;
  }

  .parent {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 22px;
    align-items: start;
    padding-top: 40px;
  }

  .parent > div {
    border: 1px solid rgba(215, 223, 232, 0.1);
    border-radius: 12px;
  }

  .div1 {
    padding-bottom: 50px !important;
  }

  .div2 {
    padding-bottom: 40px;
  }

  .div4 {
    margin-top: -100px;
  }

  .div6 {
    margin-top: -5px;
  }

  .div5 {
    margin-top: -20px;
  }

  .flip-card {
    width: 400px;
    height: 250px;
    max-width: none;
    min-height: auto;
    aspect-ratio: auto;
  }

  .flip-card-front,
  .flip-card-back {
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  }

  .flip-card-front {
    border: 3px solid hsl(0, 0%, 100%, 0.01);
    box-shadow: inset 0 0 8px 1px hsl(0, 0%, 100%, 0.01);
  }

  .flip-card-back {
    border: 3px solid hsl(0, 0%, 100%, 0.001);
    box-shadow: inset 0 0 8px 1px hsl(0, 0%, 100%, 0.01);
  }

  .touch-id {
    width: 100px;
    height: 100px;
    bottom: -30px;
  }

  .flip-card svg {
    margin-top: 20px;
    width: auto;
    height: auto;
  }

  .main-hero-section {
    min-height: 100vh;
  }

  .p-xl-24 {
    padding: 24px;
  }
}

/* 2xl */
@media (min-width: 1536px) {
  /* .h-full {
    height: 50vh;
  } */
  .h-40vh {
    height: 30vh;
  }
  .h-about-us {
    height: 30vh;
  }

  .h-50vh {
    /* height: 35vh; */
  }
}

/* Blog Archive Enhancements */

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-slide-up.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Blog Archive Specific Styles */
.blog-archive-main {
  min-height: 100vh;
}

.blog-header {
  position: relative;
}

.blog-header::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

/* Breadcrumb Styles */
.breadcrumb {
  background: none;
  padding: 0;
}

.breadcrumb-item {
  font-size: 0.875rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: none;
}

/* Search and Filter Bar */
.search-filter-bar {
  max-width: 600px;
  margin: 0 auto;
}

.search-box {
  width: 100%;
  max-width: 350px;
}

.search-input {
  padding-right: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.search-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
  color: white;
}

.search-btn {
  border: none;
  background: var(--primary-color);
  width: 40px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.search-btn:hover {
  background: var(--primary-color-dark);
  transform: scale(1.05);
}

.category-filter select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  min-width: 180px;
  transition: all 0.3s ease;
}

.category-filter select:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.category-filter select option {
  background: var(--primary-black-700);
  color: white;
}

/* Blog Card Enhancements */
.blog-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  overflow: hidden;
  position: relative;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(59, 130, 246, 0.3);
}

.blog-card:hover::before {
  opacity: 1;
}

/* Blog Image Container */
.blog-image-container {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.blog-card-img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  object-fit: cover;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.1);
}

.image-overlay {
  background: rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s ease;
}

.blog-card:hover .image-overlay {
  opacity: 1;
}

/* Reading Time Badge */
.reading-time-badge {
  background: rgba(59, 130, 246, 0.9);
  backdrop-filter: blur(10px);
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.blog-card:hover .reading-time-badge {
  background: rgba(59, 130, 246, 1);
  transform: scale(1.05);
}

/* Post Meta Styles */
.post-meta {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}

.post-meta i {
  opacity: 0.7;
}

.post-category a:hover,
.hover-text-primary:hover {
  color: var(--primary-color) !important;
}

/* Post Title */
.post-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.post-title a:hover {
  color: var(--primary-color) !important;
}

/* Read More Button */
.read-more-btn {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.read-more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  transition: left 0.3s ease;
  z-index: -1;
}

.read-more-btn:hover {
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.read-more-btn:hover::before {
  left: 0;
}

.read-more-btn i {
  transition: transform 0.3s ease;
}

.read-more-btn:hover i {
  transform: translateX(-3px);
}

/* Post Stats */
.post-stats span {
  transition: color 0.3s ease;
}

.post-stats span:hover {
  color: var(--primary-color) !important;
}

/* Enhanced Pagination */
.pagination {
  --bs-pagination-bg: rgba(255, 255, 255, 0.05);
  --bs-pagination-border-color: rgba(255, 255, 255, 0.1);
  --bs-pagination-color: #fff;
  --bs-pagination-hover-bg: var(--primary-color);
  --bs-pagination-hover-border-color: var(--primary-color);
  --bs-pagination-hover-color: #fff;
  --bs-pagination-active-bg: var(--primary-color);
  --bs-pagination-active-border-color: var(--primary-color);
  --bs-pagination-disabled-color: rgba(255, 255, 255, 0.3);
  --bs-pagination-disabled-bg: rgba(255, 255, 255, 0.02);
}

.pagination .page-link {
  border-radius: 8px;
  margin: 0 2px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.pagination .page-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Load More Button */
.load-more-btn {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.load-more-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--primary-color);
  border-radius: 50%;
  transition: all 0.4s ease;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.load-more-btn:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.load-more-btn:hover::before {
  width: 300px;
  height: 300px;
}

/* Empty State */
.empty-state {
  max-width: 600px;
  margin: 0 auto;
}

.empty-state-icon {
  opacity: 0.6;
}

.empty-state-actions .btn {
  transition: all 0.3s ease;
}

.empty-state-actions .btn:hover {
  transform: translateY(-2px);
}

/* Suggested Categories */
.suggested-categories .btn {
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.suggested-categories .btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* Utility Classes */
.transition-colors {
  transition: color 0.3s ease;
}

.transition-transform {
  transition: transform 0.3s ease;
}

.transition-all {
  transition: all 0.3s ease;
}

.hover-text-white:hover {
  color: white !important;
}

.object-cover {
  object-fit: cover;
}

.max-w-md {
  max-width: 28rem;
}

/* Responsive Design Improvements */
@media (max-width: 768px) {
  .search-filter-bar {
    flex-direction: column;
    gap: 1rem;
  }
  
  .search-box,
  .category-filter {
    width: 100%;
  }
  
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  .blog-image-container {
    height: 180px;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start !important;
  }
  
  .empty-state-actions {
    flex-direction: column;
  }
  
  .suggested-categories .d-flex {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .blog-header h1 {
    font-size: 1.5rem;
  }
  
  .breadcrumb {
    font-size: 0.75rem;
  }
  
  .blog-image-container {
    height: 160px;
  }
  
  .blog-info {
    padding: 1rem;
  }
  
  .pagination {
    font-size: 0.875rem;
  }
  
  .load-more-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
  .blog-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  }
  
  .search-input,
  .category-filter select {
    background: rgba(255, 255, 255, 0.08);
  }
}

/* High Performance Animations */
@media (prefers-reduced-motion: reduce) {
  .animate-slide-up,
  .animate-fade-in,
  .blog-card,
  .blog-card-img,
  .read-more-btn,
  .load-more-btn {
    animation: none;
    transition: none;
  }
}

/* Print Styles */
@media print {
  .search-filter-bar,
  .pagination-nav,
  .load-more-container {
    display: none;
  }
  
  .blog-card {
    break-inside: avoid;
    background: white;
    color: black;
    border: 1px solid #ddd;
  }
}
