.elementor-400226 .elementor-element.elementor-element-1f686c5{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-400226 .elementor-element.elementor-element-1f686c5 > .elementor-shape-bottom svg, .elementor-400226 .elementor-element.elementor-element-1f686c5 > .e-con-inner > .elementor-shape-bottom svg{width:calc(300% + 1.3px);}.elementor-400226 .elementor-element.elementor-element-1f686c5 > .elementor-shape-bottom, .elementor-400226 .elementor-element.elementor-element-1f686c5 > .e-con-inner > .elementor-shape-bottom{z-index:2;pointer-events:none;}.elementor-400226 .elementor-element.elementor-element-dc240c3{--display:flex;--margin-top:45px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-400226 .elementor-element.elementor-element-844dfe5{text-align:center;}.elementor-400226 .elementor-element.elementor-element-844dfe5 .elementor-heading-title{font-family:"DanaRegular", Sans-serif;font-size:36px;font-weight:700;letter-spacing:-0.3px;word-spacing:0px;color:#333333;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-400226 .elementor-element.elementor-element-93c705b{text-align:center;font-family:"DanaRegular", Sans-serif;font-size:22px;font-weight:normal;color:#333333;}@media(max-width:1024px){.elementor-400226 .elementor-element.elementor-element-844dfe5 .elementor-heading-title{font-size:32px;}}@media(max-width:767px){.elementor-400226 .elementor-element.elementor-element-844dfe5{text-align:center;}.elementor-400226 .elementor-element.elementor-element-844dfe5 .elementor-heading-title{font-size:28px;line-height:1.2em;}.elementor-400226 .elementor-element.elementor-element-93c705b{font-size:18px;}}/* Start custom CSS for html, class: .elementor-element-f9352ce *//* ========================================
   متغیرهای سفارشی
======================================== */
:root {
  --hero-bg-spacing: 20px;
  --hero-rotation: -15deg;
  --animation-speed: 60s; /* کاهش از 100s به 60s = سرعت بیشتر */
  --column-width: 35%;
  --hero-height: 650px;
  --gradient-dark: rgba(26, 15, 46, 1);
  --gradient-medium: rgba(26, 15, 46, 0.75);
  --gradient-light: rgba(26, 15, 46, 0.3);
}

/* ========================================
   ریست و تنظیمات پایه
======================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========================================
   بخش اصلی هیرو
======================================== */
.hero-section {
  position: relative;
  width: 100%;
  height: var(--hero-height);
  overflow: hidden;
  background: linear-gradient(135deg, #1a0b3e 0%, #2d1b5e 100%);
}

/* ========================================
   بخش پس‌زمینه تصاویر
======================================== */
.hero-bg_wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  background: #211d26;
}

.hero-bg_wrap-cols {
  display: flex;
  gap: var(--hero-bg-spacing);
  position: absolute;
  top: -50%;
  right: -15%;
  width: 140%;
  height: 200%;
  transform: rotate(var(--hero-rotation)) translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

/* ========================================
   ستون‌های تصاویر
======================================== */
.hero-bg_wrap-col {
  display: flex;
  flex-direction: column;
  gap: var(--hero-bg-spacing);
  flex: 0 0 var(--column-width);
  min-width: 0;
  contain: layout style paint;
}

/* کانتینر اسلایدها */
.hero-bg_wrap-slides {
  display: flex;
  flex-direction: column;
  gap: var(--hero-bg-spacing);
  animation: slideUp var(--animation-speed) linear infinite;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* جهت حرکت معکوس برای ستون دوم */
.hero-bg_wrap-col--reverse .hero-bg_wrap-slides {
  animation-name: slideDown;
  animation-duration: calc(var(--animation-speed) * 1.15);
}

/* ستون سوم با سرعت متفاوت */
.hero-bg_wrap-col:nth-child(3) .hero-bg_wrap-slides {
  animation-duration: calc(var(--animation-speed) * 0.9);
}

/* توقف انیمیشن هنگام هاور */
.hero-bg_wrap-col:hover .hero-bg_wrap-slides {
  animation-play-state: paused;
}

/* ========================================
   اسلایدهای تصویر
======================================== */
.hero-bg_wrap_slide {
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, #2a1a4e 0%, #1a0b3e 100%);
  contain: layout style paint;
}

.hero-bg_wrap_slide:hover {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  z-index: 10;
}

.hero-bg_wrap_slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* ========================================
   انیمیشن‌ها - بهینه‌شده با GPU
======================================== */
@keyframes slideUp {
  from {
    transform: translateY(0) translateZ(0);
  }
  to {
    transform: translateY(-50%) translateZ(0);
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-50%) translateZ(0);
  }
  to {
    transform: translateY(0) translateZ(0);
  }
}

/* ========================================
   گرادیانت
======================================== */
.hero-bg-gradient_overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg, 
    rgba(21, 20, 56, 0) -30%, 
    rgba(21, 20, 56, 0.7) 40%,
    rgba(21, 20, 56, 0.95) 70%,
    rgb(21, 20, 56) 100%
  );
  z-index: 2;
}

/* ========================================
   محتوای متنی - وسط‌چین کامل
======================================== */
.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--hero-height);
  padding: clamp(30px, 5vw, 60px);
  color: white;
}

.container {
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 clamp(20px, 3vw, 30px);
  text-shadow: 3px 6px 30px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 30px);
  margin: 0 0 clamp(30px, 5vw, 50px);
  opacity: 0.95;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
}

/* ========================================
   دکمه CTA - دقیقاً وسط
======================================== */
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: clamp(14px, 1.8vw, 18px) clamp(28px, 3.5vw, 35px);
  background: white;
  color: #18173a;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  border-radius: 15px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
  margin: 0 auto;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
  background: #f5f5f5;
}

.hero-cta:active {
  transform: translateY(-1px);
}

.hero-cta-icon {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: rotate(180deg);
}

.hero-cta:hover .hero-cta-icon {
  transform: translateX(-5px) rotate(180deg);
}

/* ========================================
   ریسپانسیو - بهینه‌شده
======================================== */
@media (max-width: 1200px) {
  .hero-bg_wrap-cols {
    right: -10%;
    width: 130%;
  }
}

@media (max-width: 1024px) {
  :root {
    --hero-rotation: -12deg;
    --hero-height: 550px;
    --column-width: 40%;
    --animation-speed: 50s; /* سرعت بیشتر در تبلت */
  }
  
  .hero-bg_wrap-cols {
    right: -5%;
    width: 120%;
    top: -40%;
    height: 180%;
  }
  
  .hero-title {
    font-size: clamp(32px, 6vw, 60px);
  }
  
  .hero-subtitle {
    font-size: clamp(16px, 2.2vw, 24px);
  }
}

@media (max-width: 768px) {
  :root {
    --hero-rotation: -10deg;
    --hero-bg-spacing: 15px;
    --hero-height: 500px;
    --animation-speed: 45s; /* سرعت بیشتر در موبایل */
  }
  
  .hero-bg_wrap-col:nth-child(3) {
    display: none;
  }
  
  .hero-bg_wrap-cols {
    right: 0;
    width: 110%;
    top: -30%;
    height: 160%;
  }
  
  .hero-bg_wrap-col {
    flex: 0 0 48%;
  }
  
  .hero-bg_wrap_slide {
    border-radius: 12px;
  }
  
  .hero-title {
    font-size: clamp(28px, 5vw, 48px);
  }
  
  .hero-subtitle {
    font-size: clamp(14px, 2vw, 20px);
  }
  
  .hero-cta {
    font-size: clamp(14px, 1.8vw, 18px);
    padding: clamp(12px, 1.5vw, 16px) clamp(24px, 3vw, 30px);
  }
}

@media (max-width: 480px) {
  :root {
    --hero-height: 450px;
    --animation-speed: 40s; /* سریع‌ترین حالت */
  }
  
  .hero-bg_wrap-col:nth-child(2) {
    display: none;
  }
  
  .hero-bg_wrap-cols {
    right: -20%;
    width: 140%;
    top: -20%;
    height: 140%;
  }
  
  .hero-bg_wrap-col {
    flex: 0 0 90%;
  }
  
  .hero-bg_wrap_slide {
    border-radius: 8px;
  }
  
  .hero-title {
    font-size: clamp(24px, 4.5vw, 36px);
  }
  
  .hero-subtitle {
    font-size: clamp(12px, 1.8vw, 16px);
  }
  
  .hero-cta {
    font-size: clamp(12px, 1.6vw, 16px);
    padding: 10px 20px;
  }
}

/* ========================================
   بهینه‌سازی عملکرد
======================================== */

/* غیرفعال کردن انیمیشن برای accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-bg_wrap-slides {
    animation: none;
  }
}

/* بهینه‌سازی برای دستگاه‌های ضعیف */
@media (max-width: 768px) and (max-resolution: 1.5dppx) {
  .hero-bg_wrap-slides {
    animation-duration: calc(var(--animation-speed) * 1.3) !important;
  }
  
  .hero-bg_wrap_slide {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  }
  
  .hero-bg_wrap_slide:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  }
}

/* بهینه‌سازی برای print */
@media print {
  .hero-bg_wrap-slides {
    animation: none !important;
  }
  
  .hero-bg_wrap_slide {
    box-shadow: none;
  }
}

/* بهینه‌سازی برای حالت تاریک */
@media (prefers-color-scheme: dark) {
  .hero-section {
    background: linear-gradient(135deg, #0a0118 0%, #1a0b3e 100%);
  }
}

/* بهینه‌سازی فونت‌ها */
@supports (font-display: swap) {
  * {
    font-display: swap;
  }
}/* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'DanaRegular';
	font-style: normal;
	font-weight: normal;
	font-display: swap;
	src: url('https://modiresabz.com/wp-content/uploads/2022/01/dana-fanum-regular.eot');
	src: url('https://modiresabz.com/wp-content/uploads/2022/01/dana-fanum-regular.eot?#iefix') format('embedded-opentype'),
		url('https://modiresabz.com/wp-content/uploads/2022/01/dana-fanum-regular.woff2') format('woff2'),
		url('https://modiresabz.com/wp-content/uploads/2022/01/dana-fanum-regular.woff') format('woff');
}
@font-face {
	font-family: 'DanaRegular';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('https://modiresabz.com/wp-content/uploads/2022/01/DanaFaNum-fat.woff2') format('woff2'),
		url('https://modiresabz.com/wp-content/uploads/2022/01/DanaFaNum-fat.woff') format('woff');
}
@font-face {
	font-family: 'DanaRegular';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('https://modiresabz.com/wp-content/uploads/2022/01/DanaFaNum-ExtraBlack.woff2') format('woff2'),
		url('https://modiresabz.com/wp-content/uploads/2022/01/DanaFaNum-ExtraBlack.woff') format('woff');
}
/* End Custom Fonts CSS */