/* Toranj GSAP Effects — prepared for Farzad Valizadeh (فرزاد ولیزاده). */
.tg-image-mask .tg-mask-target, .tg-image-hover .tg-mask-target { overflow: hidden; }
.tg-image-mask img, .tg-image-hover img { display: block; }
.tg-split-line { overflow: hidden; }
/* Avoid Elementor transitions fighting GSAP transforms. */
.tg-gsap-motion { transition-property: none !important; }

/* Keep Swiper and Ken Burns transforms independent from scroll parallax. */
.tg-slide-parallax .elementor-slides-wrapper .swiper-slide-bg {
  translate: 0 var(--tg-slide-offset, 0%);
  scale: var(--tg-slide-scale, 1);
  transition-property: transform !important;
}


/* Parallax background layer: keep the container content and overlays stationary. */
.tg-parallax-bg-container { isolation: isolate; }
.tg-parallax-position { position: relative; }
.tg-parallax-bg-host { background-image: none !important; }
.tg-parallax-bg-clip { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; z-index: -1; }
.tg-parallax-bg-image { position: absolute; inset: 0; background-color: transparent; }
.tg-parallax-image-clip { display: inline-block; max-width: 100%; overflow: hidden; line-height: 0; vertical-align: middle; }
.tg-parallax-image-clip > img { display: block; width: 100% !important; }
